body {
    font-family: 'Gilroy', sans-serif;
}

#wrapper {
    background-color: #f8f9fc;
}


/* Log In */
.login-wrapper {
    /* position: absolute;
    top: 0;
    left: 0; */
    display: flex;
    width: 100%;
    height: 100vh;
    min-height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0) 4%,
        rgba(255, 255, 255, 0) 90%,
        rgba(133, 135, 150, 0.2) 98%,
        rgba(133, 135, 150, 0.4) 100%
    );
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    /* background-blend-mode: overlay; */
}

.container {
    width: 100%;
    max-width: 1824px;
}

@media (min-width: 576px) {
    .container {
        width: 90%;
    }
}

/* Login Topbar */
.login-navbar {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
    border-bottom: .1rem solid rgba(248,249,252,0.2);
}

.login-navbar .topbar {
    height: 3.375rem;
}

.login-navbar .topbar .nav-item .nav-link {
    height: 3.375rem;
}
/* End of Login Topbar */

.login-content {
    display: flex;
    flex: 1 1 auto;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 90%,
        rgba(133, 135, 150, 0.4) 96%,
        rgba(133, 135, 150, 0.8) 100%
    );
}

.login-card {
    max-width: 440px;
}

.login-card a {
    text-decoration: none;
}

.login-card a:hover {
    color: #ed7d31;
    font-weight: 600;
}
/* End of Log In */


/* Topbar */
.nav-fixed .topbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1038;
    margin-left: 14rem;
}

.topbar-brand {
    max-width: 140px;
    display: flex;
}

.topbar-brand .topbar-brand-icon {
    display: flex;
    align-items: center;
}

.topbar-brand .topbar-brand-icon img {
    width: auto !important;
    max-width: 140px !important;
    max-height: 50% !important;
}

.topbar.navbar-dark .navbar-nav .nav-item.active .nav-link {
    color: #fff;
    font-weight: 700;
}

.topbar.navbar-light .navbar-nav .nav-item .nav-link {
    color: #858796;
}

.topbar.navbar-light .navbar-nav .nav-item.active .nav-link {
    color: #5a5c69;
    font-weight: 700;
}

.topbar #sidebarToggleTop:hover,
.topbar #sidebarToggleTop:active {
    background-color: transparent;
}

.topbar.navbar-light #sidebarToggleTop {
    color: #858796 !important;
}
/* End of Topbar */


/* Sidebar */
.nav-fixed .sidebar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 100vh;
    z-index: 1039;
    overflow-x: hidden;
    overflow-y: auto;
    transition: 0.15s ease-out;
}

.sidebar .nav-item .collapse {
    position: fixed;
}

.sidebar .nav-item .collapse .collapse-inner .collapse-header, 
.sidebar .nav-item .collapsing .collapse-inner .collapse-header {
    padding: .5rem 1rem;
}

.sidebar .nav-item .collapse .collapse-inner .collapse-item, 
.sidebar .nav-item .collapsing .collapse-inner .collapse-item {
    padding: .5rem .5rem;
    white-space: normal;
}

@media (min-width: 768px) {
    .sidebar.toggled .nav-item .collapse {
        position: fixed;
    }

    .sidebar .nav-item .collapse {
        position: relative;
    }
}

.sidebar-brand-icon {
    width: 60%;
}

.sidebar-dark .nav-item .nav-link {
    color: #fff;
}

.sidebar-dark .nav-item .nav-link i {
    color: rgba(255,255,255,.6);
}

.sidebar .nav-item .collapse .collapse-inner .collapse-header, 
.sidebar .nav-item .collapsing .collapse-inner .collapse-header {
    color: #858796;
}

.sidebar .nav-item .collapse .collapse-inner {
    background-color: #f8f9fc !important;
}

.sidebar .nav-item .collapse .collapse-inner .collapse-item, 
.sidebar .nav-item .collapsing .collapse-inner .collapse-item {
    color: rgba(58,59,69,.8);
}

.sidebar .nav-item .collapse .collapse-inner .collapse-item:hover, 
.sidebar .nav-item .collapsing .collapse-inner .collapse-item:hover {
    background-color: rgba(90,92,105,.2);
}

.sidebar .nav-item .collapse .collapse-inner .collapse-item:active, 
.sidebar .nav-item .collapsing .collapse-inner .collapse-item:active {
    background-color: rgba(90,92,105,.2);
}
/* End of Sidebar */


/* Footer */
.footer-brand {
    /* max-width: 260px; */
    display: flex;
}

.footer-brand .footer-brand-icon {
    display: flex;
    align-items: center;
    width: 100%;
}

.footer-brand .footer-brand-icon img {
    width: 50% !important;
    max-width: 200px !important;
}

.footer-icon {
    max-height: 20px;
}

.footer-dark .copyright,
.footer-dark .copyright span,  
.footer-dark .copyright a {
    color: #f8f9fc !important;
    text-decoration: none;
}

.footer-light .copyright,
.footer-light .copyright span,  
.footer-light .copyright a {
    color: #5a5c69 !important;
    text-decoration: none;
}

.copyright a::before, 
.copyright .list-group-item span::before {
    display: block;
    content: attr(data-title);
    font-weight: bold;
    height: 0;
    overflow: hidden;
    visibility: hidden;
}

.copyright a:hover,
.copyright a.list-group-item:hover span {
    font-weight: 600;
}

.copyright.socials a i {
    transition: 0.15s ease-out;
}

.copyright.socials a:hover i {
    transform: scale(1.125);
}
/* End of Footer */


/* Content Wrapper */
.nav-fixed #content-wrapper {
    margin-top: 5.875rem;
    margin-left: 14rem;
    min-height: 100vh;
}

.loader-container {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(0,0,0,0.2);
    z-index: 10;
}

.loader {
    position: fixed;
    top: 50%;
    left: 50%;
    border: 12px solid #f3f3f3;
    border-radius: 50%;
    border-top: 12px solid #ed7d31;
    width: 100px;
    height: 100px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
    z-index: 12;
}

/* Safari */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* End of Content Wrapper */


/* Container */
.slide-in {
    animation: slideIn 0.25s;
}
/* End of Container */

/* Scroll to top */
.scroll-to-top {
    z-index: 100;
}
/* End of Scroll to top */


/* Inputs */
.custom-control {
    border: 0;
}

/* Password */
.show-password input[type="password"] {
    border-right: 0;
}

.show-password .password-eye {
    color: #858796;
    background-color: transparent;
    border-left: 0;
}

/* Image */
.img-profile {
    object-fit: cover;
}

.img-preview-container {
    position: relative;
    width: 120px;
    height: 120px;
    min-width: 100px;
    min-height: 100px;
    max-width: 120px;
    max-height: 120px;
}

.img-preview-container:hover .img-overlay {
    opacity: 1;
    transition: 0.5s;
}

.img-overlay {
    position: absolute;
    background: rgba(90,92,105,0.3);
    border-radius: .35rem;
    opacity: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 38%;
    border: 1px solid transparent;
    z-index: 1;
    transition: 0.5s;
}

.img-remove-overlay {
    background: none !important;
    top: 0 !important;
    left: auto !important;
    right: 0 !important;
    width: 24%;
    height: 24%;
    padding: 0 !important;
    z-index: 2;
}

.img-preview-overlay img {
    width: 100%;
    height: 100%;
    vertical-align: baseline;
}

.img-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 38%;
}

/* Select2 */
.select2-container--bootstrap4 .select2-selection {
    border-radius: .25rem !important;
}

/* focus */
.select2-container--bootstrap4.select2-container--focus .select2-selection {
    color: #6e707e !important;
    background-color: #fff !important;
    border-color: #f7c7a6 !important;
    outline: 0 !important;
    -webkit-box-shadow: 0 0 0 .2rem rgba(237,125,49,.25) !important;
    box-shadow: 0 0 0 .2rem rgba(237,125,49,.25) !important;
}

/* selected pills */
.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice {
    background-color: #eaecf4 !important;
}

/* selection clear */
.select2-selection__clear {
    padding: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* dropdown */
.select2-dropdown {
    color: #5a5c69 !important;
    border: 1px solid #5a5c69 !important;
    border-radius: 0.25rem !important;
}

/* hover options */
.select2-container--bootstrap4 .select2-results__option--highlighted, 
.select2-container--bootstrap4 .select2-results__option--highlighted.select2-results__option[aria-selected="true"] {
    background-color: #5a5c69 !important;
}

/* selected options */
.select2-container--bootstrap4 .select2-dropdown .select2-results__option[aria-selected="true"] {
    color: #5a5c69 !important;
    background-color: #eaecf4 !important;
    display: none;
}
/* End of Select2 */

/* Dropzone */
.dropzone {
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #6e707e;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #d1d3e2;
    border-radius: .35rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.dropzone .dz-preview {
    margin: 8px;
}

.dropzone .dz-preview .dz-image {
    border-radius: .35rem;
}

.dropzone .dz-preview .dz-image img {
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.dropzone .dz-preview:hover .dz-image img {
    filter: none !important;
}

.dropzone .dz-preview .dz-details, 
.dropzone .dz-preview .dz-progress {
    opacity: 0 !important;
}

.dropzone .dz-preview .dz-error-message {
    top: 150px !important;
    background: #e74a3b;
}

.dropzone .dz-preview .dz-error-message::after {
    border-bottom: 6px solid #e74a3b;
}

.dz-success-mark svg g path {
    fill: #1cc88a;
}

.dz-error-mark svg g g {
    fill: #e74a3b;
}
/* End of Dropzone */
/* End of Inputs */


/* Buttons */
.btn-bold {
    font-weight: bold;
}

.btn-group-xs > .btn, 
.btn-xs {
    padding: .5rem 2rem;
    font-size: .875rem;
    line-height: 1.5;
    border-radius: .2rem;
}

/* End of Buttons */


/* Badges */
.badge {
    font-size: 80%;
}

.badge-pill {
    padding: .5em .8em;
}

@media (max-width: 575px) {
    h4 .badge {
        font-size: 70%;
    }
}
/* End of Badges */


/* Tables */
/* DataTable Button */
.dataTables_wrapper .fit-content {
    max-width: fit-content;
}

.dataTables_wrapper > .row > div[class^="col-"] > .row > div[class^="col"]:first-child, 
.dataTables_wrapper > .row > div[class^="col-"]:first-child > .row > div[class^="col"]:not(:first-child) {
    padding-left: 0;
}

.dataTables_wrapper > .row > div[class^="col-"] > .row > div[class^="col"]:last-child, 
.dataTables_wrapper > .row > div[class^="col-"]:last-child > .row > div[class^="col"]:not(:last-child) {
    padding-right: 0;
}

.dt-buttons button {
    color: #6e707e;
    background-color: #fff;
    border: 1px solid #d1d3e2;
    border-radius: .35rem;
    transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    padding: .25rem .5rem;
    font-size: .875rem;
}

.btn-export.focus, .btn-export:focus, 
.btn-export.hover, .btn-export:hover, 
.btn-export.active, .btn-export:active {
    color: #fff !important;
    background-color: #5a5c69 !important;
    border: 1px solid #5a5c69 !important;
}

.buttons-colvis.focus, .buttons-colvis:focus, 
.buttons-colvis.hover, .buttons-colvis:hover, 
.buttons-colvis.active, .buttons-colvis:active {
    color: #6e707e !important;
    background-color: #fff !important;
    border-color: #d1d3e2 !important;
}

.buttons-colvis.focus, .buttons-colvis:focus {
    border-color: #f7c7a6 !important;
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(237,125,49,.25) !important;
}

.buttons-colvis .dt-down-arrow, 
.buttons-colvis.dropdown-toggle::after {
    display: none;
}

.dt-button-collection {
    padding: .5rem 0 !important;
    z-index: 1001 !important;
}

.dt-button-collection .dropdown-menu {
    max-width: 100%;
    max-height: 200px;
    font-size: 1rem;
    overflow-y: auto;
}

.dt-button-collection .dt-button {
    min-width: auto !important;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
    color: #6e707e;
}

.dt-button-collection .dt-button.dropdown-item.focus, 
.dt-button-collection .dt-button.dropdown-item:focus,
.dt-button-collection .dt-button.dropdown-item.hover, 
.dt-button-collection .dt-button.dropdown-item:hover {
    color: #15141a;
    background-color: transparent;
}

.dt-button-collection .dt-button.dropdown-item.active, 
.dt-button-collection .dt-button.dropdown-item:active {
    color: #15141a;
    background-color: #e0e0e6;
}
/* End of DataTable Button */

.table-hover tbody tr:hover {
    background-color: #eaecf4;
}

.table td {
    vertical-align: middle;
}

/* Image */
.img-table {
    min-width: 60px;
    min-height: 60px;
    max-width: 80px;
    max-height: 80px;
}

/* Pagination */
.page-link {
    color: #6e707e;
}

.page-link:hover {
    color: #6e707e;
}

.page-item.active .page-link {
    background-color: #5a5c69;
    border-color: #5a5c69;
}
/* End of Tables */


/* GMaps */
#gmaps_div {
    display: none;
}

#gmaps_canvas {
    display: flex;
    width: 100%;
    height: 38rem;
    max-height: 80vh;
    background-color: #f1f1f1;
    border: 1px solid #ddd;
    border-radius: .35rem;
}
/* End of GMaps */


/* FullCalendar */
#fullcalendar_div {
    display: flex;

    --fc-small-font-size: .875rem;
    --fc-event-bg-color: #1cc88a;
    --fc-event-border-color: #1cc88a;
    --fc-event-text-color: #fff;
    --fc-more-link-text-color: #5a5c69;
    --fc-bg-event-color: rgb(143, 223, 130);
    --fc-now-indicator-color: #ed7d31;
}

/* title */
.fc .fc-toolbar-title {
    font-size: 1.25rem !important;
    /* font-weight: bolder; */
}

/* a */
.fc-more-link {
    color: #5a5c69 !important;
}

/* buttons */
.fc .btn-primary {
    color: #6e707e;
    background-color: #fff;
    border-color: #dddfeb;
}

.fc .btn-primary:hover {
    color: #6e707e;
    background-color: #eaecf4;
    border-color: #dddfeb;
}

.fc .btn-primary:not(:disabled):not(.disabled).active, 
.fc .btn-primary:not(:disabled):not(.disabled):active, .show > 
.fc .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #5a5c69;
    border-color: #5a5c69;
    z-index: 2;
}

/* event */
.fc .fc-bg-event .fc-event-title {
    color: #000;
}
/* End of FullCalendar */