body.modal-open {
    padding-right: 0 !important;
  }

form {
    margin-block-end: 0;
}

#loader{
    display: grid;
    place-items: center;
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.7);
    color:#FFF;
    -webkit-z-index: 9999;
    -moz-z-index: 9999;
    -ms-z-index: 9999;
    -o-z-index: 9999;
    z-index: 9999;
}

.ribbon-level-2{
    width:250px !important;
    height:250px !important; 
}

.ribbon-level-2 .ribbon{
    right: 14px !important;
    top: 67px !important;
    width:350px !important;
}

.timeline::before{
    bottom:15px !important;
}

.row .btn-app{
    margin-left:0 !important;
}

.icheck-img>input:first-child:checked+input[type=hidden]+label::before, .icheck-img>input:first-child:checked+label::before{
    border-radius: 50%;
    background-color: rgba(0,255,0,.3);
    border-color: rgba(0,255,0,.3);
}

.icheck-img>input:first-child+input[type=hidden]+label::before, .icheck-img>input:first-child+label::before {
    border-radius: 50% !important;
}

.icheck-img>input:first-child:checked+input[type=hidden]+label::after, .icheck-img>input:first-child:checked+label::after{
    top: 0.8rem !important;
    left: 0.6rem !important;
}

.icheck-img label{
    height:2.5rem;
}
.icheck-img label::before{
    height:2.5rem !important;
    width:2.5rem !important;
}

.icheck-img label img{
    border-radius: 50%;
    height:2.5rem;
    width:2.5rem;
    margin-left:-29px;
}

.customer-navigation>div{
    margin-bottom:5px !important;
}

#customerTimeline{
    margin:0 !important;
}

.overlayTodoWrap{
    position:relative;
    overflow: hidden;
}

.overlayTodo{
    position: absolute;
    width:100%;
    height:100%;
    background: rgba(255,255,255,0.5);
    z-index: 9999;
}

.note-group-select-from-files {
    display: none;
}

.timeline-body p{
    padding:0;
    margin:0;
}

.usersTodo{
    position: relative;
    height:100px;
    overflow-y: scroll;
    overflow-x: hidden;
}

#customerBranchesDiv .nav-pills a:not(.active){
    background-color: #e9ecef;
}

#branchTooltip{
    position: fixed;
    display: none;
    z-index: 999999;
    background:#e9ecef;
    border: 1px solid #000;
}
.card{
    overflow: hidden;
}

table{
    overflow-x: scroll;
}

.form-checkbox label:before{
    height: calc(2.25rem + 2px) !important;
    width: calc(2.25rem + 2px) !important;
    margin-left: -40px !important;
    border-radius: .25rem !important;
}

.form-checkbox input:first-child:checked+label::before {
    background-color: #33691E !important;
    border-color: #28a745;
}

.form-checkbox label:after{
    left: 4px !important;
    width: 14px !important;
    height: 20px !important;
}
.form-checkbox label{
    height: calc(2.25rem + 2px) !important;
    padding-left: 40px !important;
    line-height: 35px!important;
}

.has-treeview > ul > li{
    background-color:#2c3238;
    border-radius: .25rem;
}

tfoot input {
    width: 100%;
    padding: 3px;
    box-sizing: border-box;
}

/* ------------------------ Dark Mode ------------------------ */

/* ------------ Sweetalert Dark Mode  ------------ */
.swal-dark {
    background-color: #2e3338 !important;
    box-shadow: 0 0 .625em #70828f !important;
}

.swal-dark h2 {
    color: #e2e4e9 !important;
}

.swal-dark .swal2-timer-progress-bar {
    background-color: #505962 !important;
}

.swal2-success-fix, .swal2-success-circular-line-right, .swal2-success-circular-line-left {
    background-color: transparent !important;
}
/* ----------------------------------------------- */

/* ------------ Icon picker Dark Mode  ------------ */

.dark-mode .popover-title {
    background-color: #2e3338 !important;
}

.dark-mode .iconpicker-items {
    background-color: #2e3338 !important;
}

/* ----------------------------------------------- */

.dark-mode input:disabled, .dark-mode select:disabled {
    background-color: #454d54 !important;
}

.dark-mode ::-webkit-calendar-picker-indicator {
    filter: invert(1);
}


.dark-mode .fa-spin {
    filter: invert(1);
}

.dark-mode .table-overlay {
    background-color: rgba(0,0,0,.4) !important;
}

.dark-mode .card-overlay {
    background-color: rgba(0,0,0,.4) !important;
}

.dataTables_filter {
    overflow: hidden;
}

.control-sidebar, .control-sidebar h5 {
    background-color: white;
    color: black;
}

.dark-mode .control-sidebar, .dark-mode .control-sidebar h5 {
    background-color: #343a40;
    color: white;
}

.dark-mode button#btnHelp {
    filter: invert(1);
}

/* Custom */

.dark-mode .overlayTodo{
    background: rgba(52,58,64, 0.5) !important;
}

.dark-mode #loader .fa-spin {
    filter: invert(0) !important;
}

.dark-mode .about-list li a {
    color: #FFF !important;
}

.dark-mode #customerBranchesDiv .nav-link:not(.active) {
    background-color: #505962 !important;
}

.dark-mode .nav-pills .nav-link.active, .nav-pills .show>.nav-link{
    background-color: #3f6791;
}

.dark-mode .bg-primary{
    background-color: #3f6791 !important;
}

/* ---------------------------------------------------------- */

/* ------------------------ Google Fonts ------------------------ */

/* source-sans-pro-300 - latin */
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/source-sans-pro-v21-latin-300.eot'); /* IE9 Compat Modes */
    src: local(''),
        url('../fonts/source-sans-pro-v21-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('../fonts/source-sans-pro-v21-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
        url('../fonts/source-sans-pro-v21-latin-300.woff') format('woff'), /* Modern Browsers */
        url('../fonts/source-sans-pro-v21-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
        url('../fonts/source-sans-pro-v21-latin-300.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}
/* source-sans-pro-300italic - latin */
@font-face {
    font-family: 'Source Sans Pro';
    font-style: italic;
    font-weight: 300;
    src: url('../fonts/source-sans-pro-v21-latin-300italic.eot'); /* IE9 Compat Modes */
    src: local(''),
        url('../fonts/source-sans-pro-v21-latin-300italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('../fonts/source-sans-pro-v21-latin-300italic.woff2') format('woff2'), /* Super Modern Browsers */
        url('../fonts/source-sans-pro-v21-latin-300italic.woff') format('woff'), /* Modern Browsers */
        url('../fonts/source-sans-pro-v21-latin-300italic.ttf') format('truetype'), /* Safari, Android, iOS */
        url('../fonts/source-sans-pro-v21-latin-300italic.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}
/* source-sans-pro-regular - latin */
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/source-sans-pro-v21-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
        url('../fonts/source-sans-pro-v21-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('../fonts/source-sans-pro-v21-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
        url('../fonts/source-sans-pro-v21-latin-regular.woff') format('woff'), /* Modern Browsers */
        url('../fonts/source-sans-pro-v21-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
        url('../fonts/source-sans-pro-v21-latin-regular.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}
/* source-sans-pro-italic - latin */
@font-face {
    font-family: 'Source Sans Pro';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/source-sans-pro-v21-latin-italic.eot'); /* IE9 Compat Modes */
    src: local(''),
        url('../fonts/source-sans-pro-v21-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('../fonts/source-sans-pro-v21-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
        url('../fonts/source-sans-pro-v21-latin-italic.woff') format('woff'), /* Modern Browsers */
        url('../fonts/source-sans-pro-v21-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
        url('../fonts/source-sans-pro-v21-latin-italic.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}
/* source-sans-pro-700 - latin */
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/source-sans-pro-v21-latin-700.eot'); /* IE9 Compat Modes */
    src: local(''),
        url('../fonts/source-sans-pro-v21-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('../fonts/source-sans-pro-v21-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
        url('../fonts/source-sans-pro-v21-latin-700.woff') format('woff'), /* Modern Browsers */
        url('../fonts/source-sans-pro-v21-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
        url('../fonts/source-sans-pro-v21-latin-700.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}
/* source-sans-pro-700italic - latin */
@font-face {
    font-family: 'Source Sans Pro';
    font-style: italic;
    font-weight: 700;
    src: url('../fonts/source-sans-pro-v21-latin-700italic.eot'); /* IE9 Compat Modes */
    src: local(''),
        url('../fonts/source-sans-pro-v21-latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('../fonts/source-sans-pro-v21-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */
        url('../fonts/source-sans-pro-v21-latin-700italic.woff') format('woff'), /* Modern Browsers */
        url('../fonts/source-sans-pro-v21-latin-700italic.ttf') format('truetype'), /* Safari, Android, iOS */
        url('../fonts/source-sans-pro-v21-latin-700italic.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}

/* ---------------------------------------------------------- */

.sidebar-collapse.sidebar-mini .main-sidebar .nav-sidebar .nav-link, .sidebar-collapse.sidebar-mini-md .main-sidebar .nav-sidebar .nav-link, .sidebar-collapse.sidebar-mini-xs .main-sidebar .nav-sidebar .nav-link {
    width: 3.6rem;
}

/* Customer List custom Layout */

#customerTable_wrapper{
    display: grid;
    grid-template-columns: 50% 50%;
    align-items:center;
}

#customerTable_filter{
    grid-column: 1/2;
    grid-row:1;
    text-align: left;
}

#customerTable_filter > label{
    margin-bottom:0;
}

#customerTable_paginate{
    grid-column: 2/2;
    grid-row:1;
}

#customerTable{
    grid-column: 1 / span 2;
    grid-row:2;
}

#customerTable_info{
    grid-column: 2/2;
    grid-row:3;
    padding-top: 0;
    text-align: right;
}

#customerTable_length{
    grid-column: 1/2;
    grid-row:3;
}

[class*=icheck-]>input:first-child+input[type=hidden]+label::before, [class*=icheck-]>input:first-child+label::before{
    border-radius:0.2rem;
}

#authFooter {
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 2.5rem; 
}

.input-group {
    flex-wrap: unset;
}

.custom-info-box {
    height: 70% !important;
    min-height: 0 !important;
}

.custom-info-icon {
    font-size: 1rem;
}

.custom-info-box-icon:hover {
    cursor: pointer;
    box-shadow: inset 1px 1px 3px 0px #000000, inset -1px -1px 3px 0px #000000, 0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24)!important;
}

.imgChangeContainer {
    position: relative;
    text-align: center;
    border: none;
}

.imgOverlay {
    position: absolute;
    top: 2.5px;
    left: 2.5px;
    width: 95px;
    height: 95px;
    display: inline-block;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 100%;
    color: fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    opacity: 0;
    transition: opacity 0.25s;
}

.imgOverlay:hover {
    cursor: pointer;
    opacity: 1;
}

.dropdown-menu-item:hover {
    cursor: pointer;
}

.menu-list {
    padding-left: 0;
    list-style-type: none;
}

#ticketNotifications, #todoNotifications {
    overflow-y: scroll;
    max-height: 300px;
}

.menu-list li {
    padding: 1.5%;
    padding-left: 3.5%;
    border-radius: 5px;
    margin-bottom: 2px;
    font-size: 0.9rem;
    color: white;
}

.menu-list li:hover {
    cursor: pointer;
}

.menu-list li.menu-list-item-uneven {
    background-color: rgba(17, 120, 136, 0.85);
}

.menu-list li.menu-list-item-uneven:hover {
    background-color: rgba(17, 120, 136, 1);
}

.dark-mode .menu-list li.menu-list-item-uneven {
    background-color: rgba(63, 103, 145, 0.85);
}

.dark-mode .menu-list li.menu-list-item-uneven:hover {
    background-color: rgba(63, 103, 145, 1);
}

.menu-list li.menu-list-item-even {
    background-color: rgb(23, 162, 184, 0.75);
}

.menu-list li.menu-list-item-even:hover {
    background-color: rgb(23, 162, 184, 1);
}

.dark-mode .menu-list li.menu-list-item-even {
    background-color: rgb(27, 146, 166, 0.75);
}

.dark-mode .menu-list li.menu-list-item-even:hover {
    background-color: rgb(27, 146, 166, 1);
}

.dropdown-link {
    float: right;
    padding-right: 3.5%;
    text-decoration: none !important;
    color: white;
}

.dropdown-link-icon {
    padding-top: 12.5px;
    font-size: 1.1rem;
}

.dropdown-link-icon:hover {
    color: #00d9ff;
}

.dropdown-header-icon {
    float: right;
}

.allReadIcon:hover {
    color: #00d9ff;
}

.show-all-notifications {
    cursor: pointer;
}

.info-box.bg-success:hover, .info-box.bg-warning:hover, .info-box.bg-info:hover {
    opacity: 0.95;
}

.dark-mode .media .text-primary {
    color: #4ea3fd !important;
}

.read-message:hover {
    color: rgb(103, 231, 133) !important;
}

.read-message {
    font-size: 1.1rem;
}

.dropdown-menu.dropdown-menu-xl.dropdown-menu-right::-webkit-scrollbar, #ticketNotifications::-webkit-scrollbar, #todoNotifications::-webkit-scrollbar {
    width: 7.5px !important;
}

.dropdown-menu.dropdown-menu-xl.dropdown-menu-right::-webkit-scrollbar-track, #ticketNotifications::-webkit-scrollbar-track, #todoNotifications::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
    border-radius: 2.5px;
}

.dark-mode .dropdown-menu.dropdown-menu-xl.dropdown-menu-right::-webkit-scrollbar-track, .dark-mode #ticketNotifications::-webkit-scrollbar-track, .dark-mode #todoNotifications::-webkit-scrollbar-track {
    background: #474747 !important; 
}

.dropdown-menu.dropdown-menu-xl.dropdown-menu-right::-webkit-scrollbar-thumb, #ticketNotifications::-webkit-scrollbar-thumb, #todoNotifications::-webkit-scrollbar-thumb {
    background: #888 !important; 
    border-radius: 10px !important;
}

.dropdown-menu.dropdown-menu-xl.dropdown-menu-right::-webkit-scrollbar-thumb:hover, #ticketNotifications::-webkit-scrollbar-thumb:hover, #todoNotifications::-webkit-scrollbar-thumb:hover {
    background: #555 !important;
}

.dark-mode .message:hover {
    color: unset !important;
}

.message:active {
    background-color: unset !important;
    color: unset;
}

.message:hover {
    cursor: pointer;
}

.message {
    border-bottom: 1px solid #e5e5e5;
}

.dark-mode .message {
    border-bottom: 1px solid #6c757d;
}

.fa-center {
    line-height: inherit!important;
}

#typesTab select[multiple] option:checked {
    background-color: unset;
    color: #495057;
}

.dark-mode #typesTab select[multiple] option:checked {
    color: white;
}

#typesTab select[multiple]::-webkit-scrollbar {
    width: 7.5px !important;
}

#typesTab select[multiple]::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
    border-radius: 2.5px;
}

.dark-mode #typesTab select[multiple]::-webkit-scrollbar-track {
    background: #474747 !important; 
}

#typesTab select[multiple]::-webkit-scrollbar-thumb {
    background: #888 !important; 
    border-radius: 10px !important;
}

#typesTab select[multiple]::-webkit-scrollbar-thumb:hover {
    background: #555 !important;
}

#map { height: 450px; border-radius: 0.25rem; }

.readAllMessages {
    cursor: pointer;
}

#messagesContainerToggle:hover {
    cursor: pointer;
}

:root {
    --map-tiles-filter: brightness(0.6) invert(1) contrast(3) hue-rotate(200deg) saturate(0.3) brightness(0.7);
}

.dark-mode .map-tiles {
    filter:var(--map-tiles-filter, none);
}

/*TABLE USER IMAGES*/
.tbl-img{ 
    width:50px;
}