body {
    overflow: hidden;
}


/* Navbar */

body .main-wrapper .navbar {
    left: 0px;
    right: 0px;
    position: fixed;
    height: 4rem;
    padding: 0 8px;
    background-color: #6777ef;
}

.navbar a.nav-link {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer !important;
    color: #f2f2f2 !important;
}

.navbar a.nav-link i {
    font-size: 22px;
}

.navbar a.nav-link.nav-link-lg i {
    font-size: 25px;
}


/* Sidebar */

body .main-sidebar {
    top: 4rem;
    box-shadow: 0 4px 8px rgb(0, 0, 0, .3);
}

body.sidebar-mini .main-sidebar {
    box-shadow: 0 4px 8px rgb(0, 0, 0, .3);
}

body.sidebar-mini .main-sidebar,
body.sidebar-mini .main-sidebar:after {
    top: 4rem;
    position: fixed;
}

body .main-sidebar .sidebar-menu {
    padding-top: 10px;
}

body .main-sidebar .sidebar-menu li,
body.sidebar-mini .main-sidebar .sidebar-menu li {
    padding: 0;
}

body .main-sidebar .sidebar-menu li a,
body.sidebar-mini .main-sidebar .sidebar-menu li a {
    height: 65px;
}

body:not(.sidebar-mini) .main-sidebar .sidebar-menu li a {
    padding: 10px 17px;
}

.main-sidebar .sidebar-menu li a i {
    font-size: 20px;
}

body.sidebar-mini .main-sidebar .sidebar-menu li a i {
    margin: 0;
}

body:not(.sidebar-mini) .main-sidebar .sidebar-menu li a i {
    margin-right: 12px;
    min-width: 32px;
}


/* Footer */

.custom-footer {
    transition: all .5s;
    width: 100%;
    height: 4.7rem;
    position: absolute;
    bottom: 0;
    display: flex;
    align-items: center;
    padding: 25px 30px 2¿10px 30px;
    box-shadow: 1px -1px 2px 2px rgba(0, 0, 0, 0.1);
}


/* Content */

body .main-content {
    top: 4rem;
    padding-top: 20px;
    padding-left: 270px;
    padding-right: 20px;
    padding-bottom: 20px;
    overflow-x: hidden;
}

body.sidebar-mini .main-content,
body.sidebar-mini .custom-footer {
    padding-left: 85px;
}


/* Inputs */

.input-label,
.input.text label,
.input.textarea label,
.input.number label,
.input.email label,
.input.phone label,
.input.tel label,
.input.password label,
.input.date label,
.input.textarea label,
.input.select label {
    font-weight: 600;
    color: #34395e;
    font-size: 12px;
    letter-spacing: .5px;
    margin-bottom: 3px;
    margin-left: 5px;
}

.input.text .error-message,
.input.textarea .error-message,
.input.number .error-message,
.input.email .error-message,
.input.phone .error-message,
.input.tel .error-message,
.input.date .error-message,
.input.password .error-message,
.input.select .error-message {
    color: red;
    margin: 5px 3px 0;
    font-size: 0.8rem;
    line-height: 1.2;
}


/* Submit-btn */

.submit-btn {
    width: 100%;
    display: flex !important;
    align-items: center !important;
    justify-content: right !important;
    margin-bottom: 40px;
}

.submit-btn .btn {
    padding-left: 25px;
    padding-right: 25px;
    box-shadow: 0 0.35rem 0.7rem rgba(0, 0, 0, .3) !important;
}

.submit-btn .btn:hover {
    box-shadow: 0 0.35rem 0.7rem rgba(0, 0, 0, .6) !important;
}


/* Icon Button */

.icon-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    background-color: transparent;
}

.icon-btn i {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 1.2rem;
}

.icon-btn.sm {
    width: 2rem;
    height: 2rem;
}

.icon-btn.sm i {
    font-size: 1rem;
}

.icon-btn.lg {
    width: 3rem;
    height: 3rem;
}

.icon-btn.lg i {
    font-size: 1.4rem;
}

.icon-btn:hover {
    background-color: rgba(1, 16, 49, 0.1) !important;
}


/* Rounded */

.rounded-xl {
    border-radius: .4rem!important;
}

.rounded-top-xl {
    border-top-left-radius: .4rem!important;
    border-top-right-radius: .4rem!important
}

.rounded-right-xl {
    border-top-right-radius: .4rem!important;
    border-bottom-right-radius: .4rem!important
}

.rounded-bottom-xl {
    border-bottom-right-radius: .4rem!important;
    border-bottom-left-radius: .4rem!important
}

.rounded-left-xl {
    border-top-left-radius: .4rem!important;
    border-bottom-left-radius: .4rem!important
}


/* Shadows */

.shadow-1 {
    box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, .2) !important;
}

.shadow-1.hover:hover {
    box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, .45) !important;
}

.shadow-2 {
    box-shadow: 0 0.35rem 0.7rem rgba(0, 0, 0, .2) !important;
}

.shadow-2.hover:hover {
    box-shadow: 0 0.35rem 0.7rem rgba(0, 0, 0, .5) !important;
}

.shadow-3 {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .25) !important;
}

.shadow-3.hover:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .6) !important;
}


/* Button-Responsive */

.button-responsive {
    display: flex;
    align-items: center;
}

.button-responsive>*:not(:last-child) {
    margin-right: 4px;
}

.button-responsive .btn i {
    font-size: 1rem;
    display: none;
}


/* Text */

table.table thead a {
    font-weight: 600;
    font-size: 15px;
}

.header-text {
    color: #222222;
    font-weight: 600;
    font-size: 15px;
}


/* Back Arrow title */

.back-arrow {
    -ms-grid-row-align: center;
    align-self: center;
    display: flex;
    align-items: center;
    margin-top: 1rem !important;
    margin-bottom: 1.5rem;
}

.back-arrow h5 {
    color: black;
    margin: 0;
    padding-left: 10px;
}

.back-arrow h4 {
    color: black;
    margin: 0;
    padding-left: 11px;
}

.back-arrow h3 {
    margin: 0;
    padding-left: 12px;
}

.back-arrow .btn {
    font-size: 2.5rem;
    background-color: transparent !important;
}


/* Index Buttons */

.actions {
    padding: 6px 15px !important;
    width: 1% !important;
    text-align: right;
    white-space: nowrap;
    vertical-align: middle !important;
}

.actions > * {
    width: 38px;
    height: 35px;
    padding: 10px;
    line-height: 1;
    font-size: 0.9rem;
}


/* Dropdown buttons */

button.dropdown-item {
    padding: 10px 20px;
    font-weight: 500;
    line-height: 1.2;
    font-size: 13px;
}

.dropdown-title {
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: #191d21 !important;
    padding: 16px 20px 10px 20px !important;
    line-height: 20px;
}

/* Close Buttons */

.close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    border-radius: 50%;
    height: 32px;
    width: 32px;
    background-color: transparent !important;
    cursor: pointer;
}

.close-btn  i {
    font-size: 1.2rem;
    color:#000000;
}

.close-btn:hover {
    background-color: rgba(1, 16, 49, 0.1) !important;
}


/* Spinner */

.spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
}

.spinner.xsm {
    padding: 0.5rem;
}
.spinner.xsm > .spinner-border {
    width: 1rem;
    height: 1rem;
    font-size: 8px;
}

.spinner.sm {
    padding: 1rem;
}
.spinner.sm > .spinner-border {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 10px;
}

.spinner.lg {
    padding: 1.75rem;
}
.spinner.lg > .spinner-border {
    width: 2.7rem;
    height: 2.7rem;
    font-size: 15px;
}

.spinner.xl {
    padding: 2rem;
}
.spinner.xl > .spinner-border {
    width: 3.6rem;
    height: 3.6rem;
    font-size: 18px;
}

.spinner.xxl {
    padding: 2.5rem;
}
.spinner.xxl > .spinner-border {
    width: 4.5rem;
    height: 4.5rem;
    font-size: 22px;
}


/* Fix Select2 */

.select2-selection__clear {
    font-size: 1rem;
    padding-right: 20px;
    padding-left: 20px;
}

@media (max-width: 1024px) {
    body .main-content,
    body .custom-footer {
        padding-left: 20px;
    }
    body .main-sidebar {
        top: 0;
    }
    .button-responsive .btn {
        padding: 9px 10px;
    }
    .button-responsive .btn span {
        display: none;
    }
    .button-responsive .btn i {
        display: block;
    }
}