/*html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}*/

:root {
    --primary-color: #001737;
    --primary-color-lt: #003175;
    --primary-color-dk: #001129;
    --green-theme: #006d14
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #eaeaea47;
}


.fields-boxed .form-group {
    border: 1px solid #e9e9e9;
    border-radius: 0.25rem;
    transition: all .25s
}

    .fields-boxed .form-group:focus-within {
        border: 1px solid var(--primary-color);
    }

    .fields-boxed .form-group label {
        padding-left: 0.45rem;
        display: block;
        margin-bottom: 0
    }

    .fields-boxed .form-group:focus-within label {
        color: var(--primary-color);
        font-weight: 500
    }

    .fields-boxed .form-group .form-control {
        border: none
    }

/*radioa*/

.checkbox-custom, .radio-custom {
    opacity: 0;
    position: absolute;
}

.checkbox-custom, .checkbox-custom-label, .radio-custom, .radio-custom-label {
    display: inline-block;
    vertical-align: middle;
    margin: 5px;
    cursor: pointer;
}

.checkbox-custom-label, .radio-custom-label {
    position: relative;
}

.checkbox-custom + .checkbox-custom-label:before, .radio-custom + .radio-custom-label:before {
    content: '';
    background: #fff;
    border: 2px solid #ddd;
    display: inline-block;
    vertical-align: middle;
    width: 30px;
    height: 30px;
    padding: 2px;
    margin-right: 10px;
    text-align: center;
}

.checkbox-custom:checked + .checkbox-custom-label:before {
    content: "\f00c";
    font-family: 'Material Design Icons';
    background: rebeccapurple;
    color: #fff;
}

.radio-custom + .radio-custom-label:before {
    border-radius: 50%;
}

.radio-custom:checked + .radio-custom-label:before {
    content: "\F12C";
    font-family: 'Material Design Icons';
    color: white;
    font-size: 1.2rem;
    background: var(--primary-color);
}

.checkbox-custom:focus + .checkbox-custom-label, .radio-custom:focus + .radio-custom-label {
    outline: 1px solid #ddd; /* focus style */
}


/*///////////*/
td.radio {
    padding: 0
}

.radio-c-label {
    display: flex;
    margin: 0;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
    cursor: pointer;
}

    .radio-c-label .radio-c {
        display: none;
        pointer-events: none;
    }

        .radio-c-label .radio-c + i:before {
            content: '';
            background: #fff;
            border: 2px solid #ddd;
            display: flex;
            align-items: center;
            /*justify-content: center;*/
            width: 27px;
            height: 27px;
            padding: 2px;
            /* margin-right: 10px; */
            text-align: center;
            border-radius: 50%;
        }

        .radio-c-label .radio-c:checked + i:before {
            content: "\F12C";
            font-family: 'Material Design Icons';
            color: white;
            font-size: 1rem;
            background: var(--primary-color);
        }


.sketch-placeholder {
    min-height: 500px;
    background: #fbfbfb;
    border-style: dashed;
    border-color: #f0f0f0;
}

    .sketch-placeholder h3 {
        font-family: fantasy;
        font-size: 3rem;
        opacity: 0.1;
    }


.navbar .navbar-menu-wrapper .navbar-nav .nav-item.dropdown .dropdown-menu.flat-dropdown .flat-dropdown-header {
    background: var(--green-theme);
}

.navbar .navbar-menu-wrapper .navbar-nav .nav-item.dropdown .dropdown-menu.flat-dropdown .profile-dropdown-body .list-profile-items .profile-item .profile-dropdown-link .item-title, .sidebar .nav .nav-item .sidebar-menu-title, .sidebar .nav .nav-item .sidebar-menu-title .sidebar-icon-title {
    color: var(--green-theme);
}

.navbar .navbar-brand-wrapper .navbar-toggler {
    color: var(--green-theme);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

    .btn-primary:hover {
        background-color: var(--primary-color-lt);
        border-color: var(--primary-color-lt);
    }

    .btn-primary:focus {
        background-color: var(--primary-color-dk);
        border-color: var(--primary-color-dk);
    }

.navbar .navbar-menu-wrapper .navbar-nav .nav-item.dropdown .dropdown-menu.flat-dropdown .flat-dropdown-header .profile-icon {
    object-fit: cover
}

.navbar .navbar-menu-wrapper .navbar-nav .nav-item.nav-profile img, .preview-list .preview-item .preview-thumbnail img, .preview-list .preview-item .preview-thumbnail .preview-icon {
    object-fit: cover
}


.form-check .form-check-label input[type="checkbox"] + .input-helper:before {
    border: solid var(--primary-color);
}

.form-check .form-check-label input[type="checkbox"]:checked + .input-helper:before {
    background: var(--primary-color);
}

.form-control:focus {
    border-color: var(--primary-color)
}

/*tabs*/
.line-tabs.nav-tabs .nav-link {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-top-left-radius: 0.4rem;
    border-top-right-radius: 0.4rem;
}

.line-tabs.nav-tabs .nav-item:first-child .nav-link, .line-tabs.nav-tabs .nav-item:last-child .nav-link {
    border-top-left-radius: 0.4rem;
    border-top-right-radius: 0.4rem;
}

.line-tabs.nav-tabs .nav-link:hover {
    background: #f6f8fa;
}

.line-tabs.nav-tabs .nav-link.active, .line-tabs.nav-tabs .nav-item.show .nav-link {
    color: var(--primary-color-lt);
    background: #5467ee1a;
    border-color: var(--primary-color-lt);
}


/*tables*/
.table td, .jsgrid .jsgrid-table td {
    font-size: 0.85rem;
}

.pagination .page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .page-item:hover .page-link {
    background: var(--primary-color-lt);
    border-color: var(--primary-color-lt);
}

/*form wizard*/
.stepslist.nav-tabs {
    border-bottom: none
}

    .stepslist.nav-tabs .nav-item {
        flex: 1;
        text-align: center;
        position: relative;
    }

        .stepslist.nav-tabs .nav-item .nav-link {
            display: inline-block;
            border: none;
            background-color: transparent;
            z-index: 1;
            position: relative;
            font-weight: 600
        }

            .stepslist.nav-tabs .nav-item .nav-link.active {
                color: var(--primary-color-lt);
            }

        .stepslist.nav-tabs .nav-item.visited .nav-link:not(.active) {
            color: var(--primary-color-lt);
        }

        .stepslist.nav-tabs .nav-item .nav-link span {
            height: 35px;
            width: 35px;
            display: flex;
            border: 2px solid;
            background-color: white;
            border-radius: 50%;
            margin: 0 auto 5px auto;
            justify-content: center;
            align-items: center;
        }

            .stepslist.nav-tabs .nav-item .nav-link span i {
                font-size: 1.1rem
            }

        .stepslist.nav-tabs .nav-item .nav-link.active span {
            background-color: var(--primary-color-lt);
            color: white
        }

        .stepslist.nav-tabs .nav-item:not(:first-child):not(.visited)::before {
            content: '';
            width: 100%;
            height: 2px;
            background-color: #ededed;
            position: absolute;
            left: -50%;
            top: 1.8rem;
        }

        .stepslist.nav-tabs .nav-item:not(:first-child):not(.visited)::after {
            content: '';
            width: 0%;
            height: 2px;
            background-color: #ededed;
            position: absolute;
            left: -50%;
            top: 1.8rem;
            transition: all 0.25s
        }

        .stepslist.nav-tabs .nav-item:not(:first-child):not(.visited) .nav-link {
            /*pointer-events:none;*/
            color: gray
        }


        .stepslist.nav-tabs .nav-item.visited:not(:first-child)::after {
            content: '';
            width: 100%;
            height: 2px;
            background-color: var(--primary-color-lt);
            position: absolute;
            left: -50%;
            top: 1.8rem;
        }

/*select service*/
.service-options {
    display: grid;
    grid-template-columns: repeat(3, 200px);
    justify-content: center;
    grid-gap: 25px;
}

.service-type {
    height: 130px;
    width: 100%;
    border: 2px solid #f6f6f6;
    border-radius: 0.8rem;
    background: #f8f8f8;
    margin: 0;
    transition: all 0.25s;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative
}

    .service-type input {
        display: none;
        pointer-events: none
    }

        .service-type input:checked ~ h5, .service-type input:checked ~ figure {
            color: var(--primary-color-lt)
        }

    .service-type figure, .service-type span {
        font-size: 2rem
    }

    .service-type svg {
        width: 65px;
        height: auto;
    }

        .service-type svg.door-code line, .service-type svg.door-code path {
            stroke: #6c7293
        }

    .service-type.selected svg.door-code line, .service-type.selected svg.door-code path {
        stroke: var(--primary-color-lt)
    }

    .service-type.selected {
        border-color: var(--primary-color-lt);
        transform: scale(1.1);
    }

    .service-type h5 {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        text-align: center;
    }

    .service-type.selected::after {
        content: "\F5E0";
        font-family: 'Material Design Icons';
        color: var(--primary-color-lt);
        position: absolute;
        right: 10px;
        top: 10px;
        font-size: 1.5rem;
    }

    .service-type:hover {
        background: #0334770f;
        cursor: pointer;
        color: var(--primary-color-lt);
    }


/*read-only*/
.read-only label {
    margin-bottom: 0
}

/*dropdown*/
.dropdown.bootstrap-select button {
    background: white;
    padding: 0.74rem 0.81rem;
}

/*custom radio toggle*/
.radio-custom-toggle label {
    margin: 0;
    cursor: pointer
}

    .radio-custom-toggle label input {
        display: none;
        pointer-events: none
    }

    .radio-custom-toggle label span {
        padding: 0.875rem 0.75rem;
        transition: all 0.25s
    }

.radio-custom-toggle input:checked + span {
    background-color: var(--primary-color-lt);
    color: white
}

.doc .delete-doc {
    top: 35px;
    right: 0;
    opacity: 0;
    pointer-events: none;
    transition: 0.25s
}

.doc:hover .delete-doc {
    opacity: 1;
    right: 30px;
    pointer-events: all
}

.btn-group-toggle .btn-primary:not(.active) {
    background-color: #f6f6f6;
    color: var(--primary-color-lt)
}

.btn-group-toggle .btn-primary:not(:disabled):not(.disabled).active {
    background-color: var(--primary-color-lt);
    color: white;
}

/*toggle switch*/
.toggle-switch {
    padding-left: 50px;
    display: inline-flex;
    align-items: center;
    width: auto
}

    .toggle-switch .toggle-label {
        min-width: 80px
    }

    .toggle-switch input:not(:checked) ~ .toggle-label {
        color: red
    }

    .toggle-switch input:checked ~ .toggle-label {
        color: var(--primary-color-lt)
    }

    .toggle-switch .toggle-slider {
        width: 48px
    }


/*toggle yes no*/
.button-switch.r, .button-switch.r .layer {
    border-radius: 100px;
}

.button-switch {
    position: relative;
    /* top: 50%; */
    width: 50px;
    height: 25px;
    margin: auto;
    overflow: hidden;
}

.checkbox {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
}

.button-switch .knobs, #button-1 .knobs:before, .button-switch .layer {
    transition: 0.3s ease all;
}

.knobs {
    z-index: 2;
}

.button-cover, .knobs, .layer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.button-switch .knobs, .button-switch .knobs:before, .button-switch .layer {
    transition: 0.3s ease all;
}

.button-switch .checkbox:checked ~ .knobs:before {
    content: "YES";
    position: absolute;
    top: 1px;
    left: 25px;
    width: 23px;
    height: 23px;
    color: #464dee;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    /* line-height: 1.2; */
    padding: 7px 2px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s cubic-bezier(0.18, 0.89, 0.35, 1.15) all;
}

.button-switch .knobs, .button-switch .knobs:before, .button-switch .layer {
    transition: 0.3s ease all;
}

.button-switch.r, .button-switch.r .layer {
    border-radius: 100px;
}

.layer {
    width: 100%;
    background-color: #e9ecef;
    transition: 0.3s ease all;
    z-index: 1;
}

.button-switch .checkbox:checked ~ .layer {
    background-color: #464dee;
}

.button-switch .checkbox:not(:checked) ~ .knobs:before {
    content: "NO";
    position: absolute;
    top: 1px;
    left: 2px;
    width: 23px;
    height: 23px;
    background-color: white;
    color: #131313;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    /* line-height: 1.2;*/
    padding: 7px 2px;
    border-radius: 50%;
    transition: 0.3s cubic-bezier(0.18, 0.89, 0.35, 1.15) all;
}


.input-group-sm > .form-control:not(textarea) {
    height: auto
}


/*placeholder*/
input:placeholder-shown::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color: #c8c8c8;
}

input:placeholder-shown:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #c8c8c8;
    opacity: 1;
}

input:placeholder-shown::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #c8c8c8;
    opacity: 1;
}

input:placeholder-shown:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #c8c8c8;
}

input:placeholder-shown::-ms-input-placeholder { /* Microsoft Edge */
    color: #c8c8c8;
}

input:placeholder-shown::placeholder { /* Most modern browsers support this now. */
    color: #c8c8c8;
}

/*input:placeholder-shown{font-style:italic; color:red; }*/

input:placeholder-shown::placeholder {
    font-style: italic;
    color: #c8c8c8;
}


.tab-content {
    text-align: initial;
}

.bg-lighter {
    background-color: #f5f5f7
}

table.table-borderless thead tr {
    border-bottom: 1px solid #e9e9e9 !important;
    background-color: #f5f5f7
}

/*accordion*/
.accordion.accordion-sm .card {
    margin-bottom: 0
}

.accordion.accordion-sm .card-header a[data-toggle="collapse"] {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    display: flex
}

/*hide customer fields by default*/
.cus-field {
    display: none
}


.accordion .card .card-body i.input-helper {
    font-size: 0.75rem;
}

.attributes-table {
    display: none
}

.accordion > .card {
    overflow: initial;
}


#servicesTabList li.nav-item {
    display: none
}

.swal-footer {
    text-align: center;
    padding-top: 13px;
    margin-top: 13px;
    padding: 13px 16px;
    border-radius: inherit;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.document-card-attachment .document-attach-icon {
    left: 0;
    right: 0;
    top: 166px;
    bottom: 0;
    background: rgb(0 0 0 / 58%);
    transition: all ease-in 0.25s;
    opacity: 0;
    transform: none;
    position: absolute;
    /*border-radius: 0.6rem !important;*/
    /* width: 100%; */
    /* height: 200px; */
}

    .document-card-attachment .document-attach-icon:hover {
        opacity: 1;
    }
/*Spinner */

.light.sk-loading:after {
    content: '';
    backdrop-filter:blur(5px);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index:1031;
    
}

.loaderparent.sk-spinner img {
    width: 200px;
}
/*spinner*/
.sk-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
}

.loader-overlay {
    background: #f0f0f0;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

.loader-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    height: 200px;
    z-index:99999;

}

    .loader-container img {
        margin-bottom: 20px;
        height: inherit;

    }

.loader-loadtext {
    position: fixed;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: fadeinout 1.5s ease-in-out infinite;
    font-size: 14px;
    color: #555;
    font-weight: 400;
}
.light.sk-loading {
    background-image: linear-gradient(to right, #434343 0%, black 100%);
}

.sidebar {
    height: 550px;
    overflow: hidden;
    position: fixed;
}

.main-panel {
    margin-left: 255px;
}
.sidebar-icon-only .main-panel {
    margin-left: 70px;
}