.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin: 0px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.avatar {
    display: inline-flex;
    height: 2rem;
    width: 2rem;
    border-radius: 50%;
    position: relative;
    align-items: center;
    justify-content: center;
}

.avatar .avatar-img {
    border-radius: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    height: 2rem;
    width: auto;
}

.avatar-xs {
    height: 1.25rem;
    width: 1.25rem;
}

.avatar-xs .avatar-img {
    height: 1rem;
}

.avatar-sm {
    height: 1.75rem;
    width: 1.75rem;
}

.avatar-sm .avatar-img {
    height: 1.5rem;
}

.avatar-lg {
    height: 2.5rem;
    width: 2.5rem;
}

.avatar-lg .avatar-img {
    height: 2.5rem;
}

.avatar-xl {
    height: 3rem;
    width: 3rem;
}

.avatar-xl .avatar-img {
    height: 3rem;
}

.avatar-xxl {
    height: 3.75rem;
    width: 3.75rem;
}

.avatar-3xxl {
    height: 5rem;
    width: 5rem;
}

.avatar-4xxl {
    height: 8rem;
    width: 8rem;
}

.avatar-5xxl {
    height: 14rem;
    width: 14rem;
}

.avatar-xxl .avatar-img {
    height: 3.75rem;
}

.avatar-busy::before,
.avatar-idle::before,
.avatar-offline::before,
.avatar-online::before {
    content: "";
    position: absolute;
    bottom: 5%;
    right: 5%;
    width: 20%;
    height: 20%;
    border-radius: 50%;
    background-color: #d4dae3;
    border: 0.0625rem solid #fff;
}

.avatar-busy::before {
    background-color: #e81500;
}

.avatar-idle::before {
    background-color: #f4a100;
}

.avatar-offline::before {
    background-color: #d4dae3;
}

.avatar-online::before {
    background-color: #00ac69;
}

.avatar.app-icon {
    border-radius: 25px;
    background: white;
    box-shadow: 0px 0px 10px -5px #adadad;
}

.avatar-4xxl.app-icon {
    border-radius: 25px;
}

.avatar-xxl.app-icon {
    border-radius: 12px;
}

.h-100px {
    height: 100px;
}

.h-200px {
    height: 200px;
}

.h-300px {
    height: 300px;
}

.h-400px {
    height: 400px;
}

.h-500px {
    height: 500px;
}


/*select 2 css overwrite*/
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 25px;
    color: #6e707e;
}

.select2-container--default .select2-selection--single, .select2-container--default .select2-selection--multiple {
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    border: 1px solid #d1d3e2;
    border-radius: 0.35rem;
}


.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: 1px solid #d1d3e2;
}

.select2-container--default .select2-selection--multiple {
    min-height: calc(1.5em + .75rem + 2px);
    height: auto;
    padding: 0px 0px 5px 0px;
}

.select2-container .select2-search--inline .select2-search__field {
    margin-top: 6px;
    height: 25px;
}

.select2-results__option img.app-icon {
    margin: auto;
}


.badge.badge-env,
.badge.badge-all,
.badge.badge-emergency,
.badge.badge-alert,
.badge.badge-critical,
.badge.badge-error,
.badge.badge-warning,
.badge.badge-notice,
.badge.badge-info,
.badge.badge-debug,
.badge.empty {
    color: #FFF;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

.badge.badge-all,
.box.level-all {
    background-color: #8A8A8A;
}

.badge.badge-emergency,
.box.level-emergency {
    background-color: #B71C1C;
}

.badge.badge-alert,
.box.level-alert {
    background-color: #D32F2F;
}

.badge.badge-critical,
.box.level-critical {
    background-color: #F44336;
}

.badge.badge-error,
.box.level-error {
    background-color: #FF5722;
}

.badge.badge-warning,
.box.level-warning {
    background-color: #FF9100;
}

.badge.badge-notice,
.box.level-notice {
    background-color: #4CAF50;
}

.badge.badge-info,
.box.level-info {
    background-color: #1976D2;
}

.badge.badge-debug,
.box.level-debug {
    background-color: #90CAF9;
}

.badge.empty,
.box.empty {
    background-color: #D1D1D1;
}

.badge.badge-env {
    background-color: #6A1B9A;
}

.h-f-content {
    height: fit-content;
}

.bg-red-light{
    background: #ff91913d;
}

.bg-login-image {
    background: url(../img/cover-login.png);
    background-position: center;
    background-size: cover;
}

.bg-register-image {
    background: url(../img/cover-register.png);
    background-position: center;
    background-size: cover;
}

.bg-password-image {
    background: url(../img/cover-forgot-password.png);
    background-position: center;
    background-size: cover;
}
