/* scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--main-color);
    border-radius: 10px;
    opacity: .8;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--main-color);
        opacity: 1;
    }

.progress-bar {
    background-color: var(--main-color);
}
/*
  Calendar css
*/
.datepicker {
    border-radius: 0;
    padding: 0;
}

.datepicker-days table tbody {
    padding: 5px;
    display: list-item;
}

.datepicker-dropdown:after,
.datepicker-dropdown:before {
    top: -5px;
}

.datepicker-days table thead,
.datepicker-days table tfoot {
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    align-content: center;
}

.datepicker-days table thead,
.datepicker-months table thead,
.datepicker-years table thead,
.datepicker-decades table thead,
.datepicker-centuries table thead {
    background: #3546b3;
    color: var(--white-color);
    border-radius: 0;
}

    .datepicker-days table thead tr:nth-child(2n+0) td,
    .datepicker-days table thead tr:nth-child(2n+0) th {
        border-radius: 3px;
    }

    .datepicker-days table thead tr:nth-child(3n+0) {
        text-transform: uppercase;
        font-weight: 300;
        font-size: 12px;
        color: rgba(255, 255, 255, 0.7);
    }

.table-condensed > tbody > tr > td,
.table-condensed > tbody > tr > th,
.table-condensed > tfoot > tr > td,
.table-condensed > tfoot > tr > th,
.table-condensed > thead > tr > td,
.table-condensed > thead > tr > th {
    padding: 8px 10px;
}

.datepicker-months table thead td,
.datepicker-months table thead th,
.datepicker-years table thead td,
.datepicker-years table thead th,
.datepicker-decades table thead td,
.datepicker-decades table thead th,
.datepicker-centuries table thead td,
.datepicker-centuries table thead th {
    border-radius: 0;
}

.datepicker td {
    border-radius: 50%;
    padding: 0 12px;
}

.datepicker table tr td.active,
.datepicker table tr td.active:hover,
.datepicker table tr td.active.disabled,
.datepicker table tr td.active.disabled:hover {
    background-image: none;
}

.datepicker .prev,
.datepicker .next {
    color: rgba(255, 255, 255, 0.5);
    transition: 0.3s;
    width: 37px;
    height: 37px;
}

    .datepicker .prev:hover,
    .datepicker .next:hover {
        background: transparent;
        color: rgba(255, 255, 255, 0.99);
        font-size: 21px;
    }

.datepicker .datepicker-switch {
    font-size: 24px;
    font-weight: 400;
    transition: 0.3s;
}

    .datepicker .datepicker-switch:hover {
        color: rgba(255, 255, 255, 0.7);
        background: transparent;
    }

.datepicker table tr td span {
    border-radius: 2px;
    margin: 3%;
    width: 27%;
}

    .datepicker table tr td span.active,
    .datepicker table tr td span.active:hover,
    .datepicker table tr td span.active.disabled,
    .datepicker table tr td span.active.disabled:hover {
        background-color: #3546b3;
        background-image: none;
    }

.dropdown-menu {
    border: 1px solid rgba(0, 0, 0, .1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    min-width: auto;
}

.datepicker-dropdown.datepicker-orient-top:before {
    border-top: 7px solid rgba(0, 0, 0, .1);
}

#datepicker {
    width: 180px;
    display: flex;
    align-items: center;
    border-radius: 7px;
}

.datepicker-dropdown {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-family: "Roboto", serif;
    margin-top: 5px;
}

p.datepicker-title {
    font-size: 16px;
}

#datepicker > span:hover {
    cursor: pointer;
}

.input-group-addon i {
    color: #555;
    font-size: 16px;
}

input.form-control.calendar {
    background-color: white;
    border: none;
    font-size: 14px;
    padding: 7px;
    border: 1px solid var(--btn-text-secondary);
}

span.input-group-addon {
    background-color: #f3f3f3;
    padding: 5px 10px;
    border-radius: 0px 5px 5px 0px;
    cursor: pointer;
    border: 1px solid var(--btn-text-secondary);
}
/*
  Time picker css
*/
.flatpickr-time {
    background-color: #3F51B5 !important;
    border-radius: 0 0 10px 10px;
}

    input.numInput.flatpickr-hour,
    .flatpickr-time span.flatpickr-am-pm,
    input.numInput.flatpickr-minute,
    input:focus.numInput.flatpickr-hour,
    .flatpickr-time span.flatpickr-time-separator,
    input.numInput.flatpickr-minute:hover,
    .flatpickr-time span.flatpickr-am-pm:hover {
        background-color: #3F51B5 !important;
        color: white;
        border: none;
        font-size: 16px;
        font-weight: 500;
        padding: 4px 8px;
        border-radius: 6px;
    }

#timepicker {
    width: 180px;
    display: flex;
    align-items: center;
    border-radius: 7px;
}

    #timepicker > span:hover {
        cursor: pointer;
    }

.flatpickr-time .flatpickr-time-separator {
    color: white;
}

.flatpickr-time .arrowUp:after,
.flatpickr-time .arrowDown:after {
    border-bottom: 4px solid white !important;
    border-top: 4px solid white !important;
}

.flatpickr-time input:hover,
.flatpickr-time .flatpickr-am-pm:hover {
    background: #3F51B5;
    color: white;
}

.flatpickr-time input:focus,
.flatpickr-am-pm:focus {
    outline: none;
    box-shadow: none;
    background-color: #3F51B5;
}

.flatpickr-calendar {
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    top: 36px !important;
    right: auto !important;
    left: 0px !important;
    z-index: 9999 !important;
    border-radius: 10px !important;
}
/*
  All buttons css
*/

/* home page navigation menu button */
.primary-button {
    width: 100%;
    background-color: var(--main-color);
    border: 1px solid var(--main-color) !important;
    color: var(--white-color);
    font-size: 14px;
    font-weight: 500;
    border: none;
    padding: 10px 30px;
    border-radius: 8px;
}

    .primary-button:hover {
        color: var(--white-color);
    }

.disable-button {
    width: 100%;
    background-color: var(--text-secondary);
    border: 1px solid var(--text-secondary) !important;
    color: var(--white-color);
    font-size: 14px;
    font-weight: 500;
    border: none;
    padding: 10px 30px;
    border-radius: 8px;
    pointer-events: none;
}

    .disable-button:hover {
        color: var(--white-color);
    }

.cancel-button {
    width: 100%;
    background-color: var(--white-color);
    border: 1px solid var(--text-secondary) !important;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    border: none;
    padding: 10px 30px;
    border-radius: 8px;
}

    .cancel-button:hover {
        color: var(--text-secondary);
    }

.remove-button {
    width: 100%;
    background-color: var(--cancel-status);
    border: 1px solid var(--cancel-status) !important;
    color: var(--white-color);
    font-size: 14px;
    font-weight: 500;
    border: none;
    padding: 10px 30px;
    border-radius: 8px;
}

    .remove-button:hover {
        color: var(--white-color);
    }

.btn:focus {
    outline: none;
    box-shadow: none;
}

.all-notification-btn {
    display: flex;
    padding: 8px 16px;
    justify-content: center;
    border-radius: 4px;
    border: 0.5px solid #EDEDED;
    box-shadow: 1px 1px 2.5px 0px rgba(0, 0, 0, 0.10);
}

.cropit-image-btn {
    width: fit-content;
    background-color: var(--main-color);
    border: 1px solid var(--main-color) !important;
    color: var(--black-color);
    font-size: 14px;
    font-weight: 500;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
}

.cropit-cancel-btn {
    width: fit-content;
    background-color: var(--cancel-status);
    border: 1px solid var(--cancel-status) !important;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
}

.update-button {
    display: flex;
    justify-content: flex-end;
}

    .update-button .primary-button {
        width: fit-content;
    }
/* document audit page detail button */
.doc-detail-right-button button {
    font-weight: 600;
    line-height: 18px;
    font-size: 12px;
    min-width: 30px;
    background: #ededed;
    border: 1px solid var(--text-secondary);
    padding: 8px 10px;
    min-height: auto;
    height: auto;
    border-radius: 4px;
}
/* home page navigation filter button */
.filter-all {
    background-color: var(--white-color);
    border-radius: 8px;
    border: 1px solid #cecece70;
    display: flex;
    gap: 10px;
    align-items: center;
}

.filter-btn {
    border-radius: 9px;
    background: #f5f5f5;
    display: flex;
    padding: 10px 15px;
    align-items: center;
    gap: 7px;
}

.view-all-btn {
    border-radius: 9px;
    background: var(--white-color);
    display: flex;
    padding: 10px 15px;
    align-items: center;
    gap: 7px;
}

.filter-button-group {
    display: flex;
    width: -webkit-fill-available;
    width: -moz-available;
    margin-top: 20px;
    justify-content: space-between;
    gap: 20px;
}

.filter-all:focus,
.filter-all:active {
    outline: none;
    box-shadow: none;
}
/* upload document button */
input.browse-document,
input.change-document {
    border-color: #1849D6 !important;
    background-color: var(--white-color);
    color: #1849D6;
    font-weight: 700;
}

.requiredfield span {
    color: red !important;
}
/* other methods button for login and signup pages */
.btn-google,
.btn-microsoft {
    width: 100%;
    border: none;
    padding: 10px 30px;
    border-radius: 8px;
}

.googleBtnDiv,
.microsoftBtnDiv {
    margin-bottom: 10px;
    border: 1px solid var(--btn-text-secondary);
    border-radius: 7px;
    width: -webkit-fill-available;
    width: -moz-available;
}
/* profile page settings sidebar button */
.button-group {
    display: flex;
    gap: 15px;
    width: max-content;
    margin-top: 15px;
}

.form-switch .form-check-input:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='rgba(0, 0, 0, 0.25)'/%3E%3C/svg%3E");
}

.form-switch .form-check-input:checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}
/* select signer button for wizard 2 */
.select-signer-button {
    border: 1px solid var(--btn-text-secondary);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
/*wizard2 property modal popup button */
.sign-modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    gap: 10px;
    padding: 10px 0;
    border: 0px !important;
}
/*wizard2 placefield button */
.signature-drop-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px;
    background: #f3f3f3;
    z-index: 1;
    position: absolute;
}

.psl-body-btn.placefield-section {
    height: 100%;
    width: 100%;
}

.psl-body-btn .placefieldInnerBtn {
    justify-content: flex-start !important;
    gap: 10% !important;
    padding-right: 10px !important;
}

.psl-body-btn button {
    border: none;
    background: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    height: 100%;
    gap: 5%;
    width: 100%;
}

.fields-btn-svg {
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fbb116;
}

.placefiled-btn:hover .placefield-right-text {
    padding-left: 14px;
    padding-right: 6px;
}

.placefiled-btn:hover .placefield-left {
    visibility: visible;
    opacity: 1;
}

.placefiled-btn {
    position: relative;
    height: 40px;
    padding: 0px;
    width: 100%;
    font-size: 12px;
    text-transform: none;
    font-weight: 600;
    line-height: 1.2;
    transition: all 0.1s ease 0s;
    user-select: none;
    color: var(--black-color);
    background: rgba(118, 118, 118, 0.08);
    border-radius: 2px;
    margin-top: 12px;
}
/* Team members button */
.grid-round-btn {
    border: none;
    color: var(--white-color);
    border-radius: 20px;
    height: 35px;
    width: 35px;
    margin: 0 2px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.lock-btn {
    background-color: #079404;
}

.edit-btn {
    background-color: var(--main-color);
}

.delete-btn {
    background-color: var(--cancel-status);
}
/* Payment Methods button */
.add-newCard button {
    position: relative;
    border: 1px dashed #333;
    background: #fff;
    height: 230px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.savedCards-btns {
    width: 100%;
    height: 100%;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    transition: .5s ease;
    background: #0000005c;
    z-index: 1;
    transition: 1s ease;
    backdrop-filter: blur(3px);
}

.savedCard:hover .savedCards-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 1s ease;
    border-radius: 20px;
}

.savedCards-btnsInner {
    display: flex;
    gap: 15px;
}

    .savedCards-btnsInner button {
        border: 0;
        height: 30px;
        width: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 5px;
        color: #fff;
    }
/*
  Regional dropdown css
*/
.region-form {
    text-align: end;
}

.region-label {
    display: inline-flex;
    -webkit-box-align: center;
    align-items: center;
    position: relative;
    border: 1px solid var(--btn-text-secondary);
    border-radius: 6px;
    padding: 8px;
}

    .region-label select {
        position: absolute;
        top: 0px;
        right: 0px;
        bottom: 0px;
        left: 0px;
        opacity: 0;
        width: 100%;
    }
/*
  password toggle css for all password field
*/
.login-show-pass {
    top: 50%;
    transform: translate(-90%, 30%);
}

.show-pass {
    position: absolute;
    right: 0;
    font-size: 14px;
}
/* Table css */
.table-header {
    display: flex;
    padding: 8px;
    align-items: center;
    border-bottom: 1px solid #dee2e6;
    background-color: var(--light-background);
}

.table-column {
    display: flex;
    padding: 8px;
    align-items: flex-start;
    flex-wrap: wrap;
    border-bottom: 1px solid #dee2e6;
    word-break: break-word;
    flex-direction: column;
    justify-content: center;
    font-size: 14px;
}

.table-center .table-header:first-child {
    justify-content: flex-start;
}

.table-center .table-header {
    justify-content: center;
}

.table-center .table-column:first-child p {
    text-align: left;
}

.table-center .table-column p {
    text-align: center;
    width: -webkit-fill-available;
    width: -moz-available;
}

.doc-text-lg {
    font-size: 14px !important;
    line-height: 1.4;
}

.doc-text-sm {
    font-size: 12px !important;
    line-height: 1.3;
}
