.page-wrapper.with-sidebar[data-sidebar-type~=full-height]>.navbar.navbar-fixed-bottom,
.page-wrapper.with-sidebar[data-sidebar-type~=full-height]>.navbar:not(.navbar-fixed-bottom),
.page-wrapper.with-sidebar>.content-wrapper {
    left: 28rem;
    width: calc(100% - 28rem);
}

.navbar.header, .dark-mode .navbar.header {
    background: #1890ff;
}

.sidebar {
    width: 28rem;
}

.form-control.is-valid, .form-control.is-valid:hover, .form-group.is-valid .form-control, .form-group.is-valid .form-control:hover  {
    color: rgba(0, 0, 0, .85);
    background-color: #fff;
    border-color: #28d251;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.dark-mode .form-control.is-valid, .dark-mode .form-control.is-valid:hover, .dark-mode .form-group.is-valid .form-control, .dark-mode .form-group.is-valid .form-control:hover {
    color: rgba(255,255,255,.8);
    background-color: rgba(255,255,255,.05);
    border-color: #28d251;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

p.organisation-account-label {
    margin-bottom: 8px !important;
    margin-top: -3px !important;
}

.text-info {
    color: #4a91b7;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.profile-var > i {
    width: 20px;
    text-align: center;
}

.fancybox-active {
    height: 100% !important;
}

.custom-switch.custom-switch-secondary input[type=checkbox]:checked~label:before, .custom-switch.custom-switch-secondary input[type=checkbox]:disabled:checked~label:before, .custom-switch.custom-switch-secondary input[type=checkbox]:hover:disabled:checked~label:before {
    background-color: #ffc312;
    border-color: #ffc312;
}

.custom-switch.custom-switch-secondary input[type=checkbox]:checked:focus~label:before, .dark-mode .custom-switch.custom-switch-secondary input[type=checkbox]:checked:focus~label:before {
    border-color: #ffc312;
    -moz-box-shadow: 0 0 0 3px rgba(255,195,18,.3);
    -webkit-box-shadow: 0 0 0 3px rgba(255,195,18,.3);
    box-shadow: 0 0 0 3px rgba(255,195,18,.3);
}

.dark-mode .custom-switch.custom-switch-secondary input[type=checkbox]:checked:focus~label:before, .dark-mode .custom-switch.custom-switch-secondary input[type=checkbox]:checked:focus~label:before {
    border-color: #ffc312;
    -moz-box-shadow: 0 0 0 3px rgba(255,195,18,.3);
    -webkit-box-shadow: 0 0 0 3px rgba(255,195,18,.3);
    box-shadow: 0 0 0 3px rgba(255,195,18,.3);
}

.custom-switch input[type=checkbox]:focus~label:before {
    border-color: rgba(0,0,0,.4);
    -moz-box-shadow: 0 0 0 2px rgba(255,195,18,.3);
    -webkit-box-shadow: 0 0 0 2px rgba(255,195,18,.3);
    box-shadow: 0 0 0 2px rgba(255,195,18,.3);
}

.dark-mode .custom-switch input[type=checkbox]:focus~label:before {
    border-color: rgba(0,0,0,.4);
    -moz-box-shadow: 0 0 0 2px rgba(255,195,18,.3);
    -webkit-box-shadow: 0 0 0 2px rgba(255,195,18,.3);
    box-shadow: 0 0 0 2px rgba(255,195,18,.3);
}

.tfa-entry > input {
    font-size: 40px;
    width: 5rem;
    height: 7.5rem;
    margin: 0.5rem;
    text-align: center;
}

.tfa-entry input::-webkit-outer-spin-button,
.tfa-entry input::-webkit-inner-spin-button,
input[data-no-spinner]::-webkit-outer-spin-button,
input[data-no-spinner]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.tfa-entry input[type=number],
input[type=number][data-no-spinner] {
    -moz-appearance: textfield;
}


.loader {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    z-index: 999;
    background: rgba(200,200,200, 0.4);
}

.dark-mode .loader {
    background: rgba(20,20,20,0.6);
}

.loader.complete {
    display: none;
}

.loader.show {
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
}

.loader .spinner {
    -webkit-animation: rotator 1.4s linear infinite;
    animation: rotator 1.4s linear infinite;
}

@-webkit-keyframes rotator {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(270deg);
        transform: rotate(270deg);
    }
}

@keyframes rotator {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(270deg);
        transform: rotate(270deg);
    }
}

.loader .spinner .path {
    stroke-dasharray: 187;
    stroke-dashoffset: 0;
    -webkit-transform-origin: center;
    -ms-transform-origin: center;
    transform-origin: center;
    -webkit-animation: dash 1.4s ease-in-out infinite;
    animation: dash 1.4s ease-in-out infinite;
    stroke: #bf30bf;
}

.dark-mode .loader .spinner .path {
    stroke: purple;
}

@-webkit-keyframes dash {
    0% {
        stroke-dashoffset: 187;
    }
    50% {
        stroke-dashoffset: 46.75;
        -webkit-transform: rotate(135deg);
        transform: rotate(135deg);
    }
    100% {
        stroke-dashoffset: 187;
        -webkit-transform: rotate(450deg);
        transform: rotate(450deg);
    }
}

@keyframes dash {
    0% {
        stroke-dashoffset: 187;
    }
    50% {
        stroke-dashoffset: 46.75;
        -webkit-transform: rotate(135deg);
        transform: rotate(135deg);
    }
    100% {
        stroke-dashoffset: 187;
        -webkit-transform: rotate(450deg);
        transform: rotate(450deg);
    }
}

.waves-bg-login {
    position: fixed;
    width: 100%;
    bottom: -80px;
    left: 0;
    min-width: 500px;
}


@media screen and (max-width: 1024px) {
    .waves-bg-login {
        bottom: -40px;
    }
}

@media screen and (max-width: 767px) {
    .waves-bg-login {
        bottom: -20px;
    }
}

@media screen and (max-width: 512px) {
    .waves-bg-login {
        bottom: -5px;
    }
}

.login-logo {
    margin-top: -130px !important;
}

.bg-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url("https://images.unsplash.com/photo-1543514980-14becba33d86");
    background-size: cover;
    z-index: -1;
}

a.sidebar-link-with-icon.active .sidebar-icon i {
    color: #1890ff;
}

.bb-d {
    border-bottom: 1px dotted rgba(0,0,0,.85);
}

.dark-mode .bb-d {
    border-bottom-color: rgba(255,255,255,.8);
}

.cursor-help {
    cursor: help;
}

.center-cropped {
    object-fit: cover;
    object-position: center;
}

.edit-profile-pic {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.edit-profile-pic .edit-button {
    position: absolute;
    margin-bottom: 5px;
    width: calc(80% - 50px);
    text-align: center;
    margin-left: -20px;
    padding: 5px;
    border-radius: 8px;
}

.edit-profile-pic .edit-button a {
    color: #FFF !important;
    display: block;
}

.edit-profile-pic .edit-button a:hover {
    text-decoration: none !important;
}

.custom-file.colored {
    padding: 6px 8px;
    border: 1px solid rgba(255,255,255, 0.3);
    border-radius: 4px;
    background: rgba(255,255,255, 0.03);
    white-space: nowrap;
    overflow-x: hidden;
    display: flex;
    align-items: center;
}

.custom-file.colored label {
    margin-bottom: 0px;
    background-color: rgba(255,255,255,.1);
}

.custom-file .file-names {
    display: inline-block;
    margin-left: 1rem;
}

.dark-mode .datepicker.dropdown-menu {
    color: rgba(255,255,255,.8) !important;
    background-color: #191c20 !important;
}

.dark-mode .datepicker-dropdown:before {
    border-bottom-color: #111111 !important;
}

.dark-mode .datepicker-dropdown:after {
    border-bottom-color: #191c20 !important;
}

.dark-mode .datepicker-dropdown.datepicker-orient-top:after {
    border-top-color: #191c20 !important;
}

.dark-mode .datepicker-dropdown.datepicker-orient-top:before {
    border-top-color: #111111 !important;
}

.dark-mode .datepicker .datepicker-switch:hover, .dark-mode .datepicker .next:hover,
.dark-mode .datepicker .prev:hover, .dark-mode .datepicker tfoot tr th:hover,
.dark-mode .datepicker table tr td span.focused, .dark-mode .datepicker table tr td span:hover,
.dark-mode .datepicker table tr td.day.focused, .dark-mode .datepicker table tr td.day:hover {
    background-color: rgba(255,255,255,0.05);
}

.dark-mode .datepicker table tr td.disabled, .datepicker table tr td.disabled:hover {
    background: 0 0;
}

.dark-mode .datepicker table tr td.active.active,
.dark-mode .datepicker table tr td.active.disabled,
.dark-mode .datepicker table tr td.active.disabled.active,
.dark-mode .datepicker table tr td.active.disabled.disabled,
.dark-mode .datepicker table tr td.active.disabled:active,
.dark-mode .datepicker table tr td.active.disabled:hover,
.dark-mode .datepicker table tr td.active.disabled:hover.active,
.dark-mode .datepicker table tr td.active.disabled:hover.disabled,
.dark-mode .datepicker table tr td.active.disabled:hover:active,
.dark-mode .datepicker table tr td.active.disabled:hover:hover,
.dark-mode .datepicker table tr td.active.disabled:hover[disabled],
.dark-mode .datepicker table tr td.active.disabled[disabled],
.dark-mode .datepicker table tr td.active:active,
.dark-mode .datepicker table tr td.active:hover,
.dark-mode .datepicker table tr td.active:hover.active,
.dark-mode .datepicker table tr td.active:hover.disabled,
.dark-mode .datepicker table tr td.active:hover:active,
.dark-mode .datepicker table tr td.active:hover:hover,
.dark-mode .datepicker table tr td.active:hover[disabled],
.dark-mode .datepicker table tr td.active[disabled] {
    background: #1890ff !important;
}

.datepicker.dropdown-menu {
    visibility: visible !important;
}