
.form-check-input:checked {
    background-color: var(--custom-color-primary-1) !important;
    border-color: var(--custom-color-primary-1) !important
}

/*--------------------------------------------------------------------------------------------------------------------*/
/* Colors
/*--------------------------------------------------------------------------------------------------------------------*/
.color-primary-1-custom {
    color: var(--custom-color-primary-1) !important
}

.color-primary-2-custom {
    color: var(--custom-color-primary-2) !important
}

.color-primary-3-custom {
    color: var(--custom-color-primary-3) !important
}

.color-secondary-1-custom {
    color: var(--custom-color-secondary-1) !important
}

.color-secondary-2-custom {
    color: var(--custom-color-secondary-2) !important
}

.color-grayscale-1-custom {
    color: var(--custom-color-grayscale-1) !important
}

.color-grayscale-2-custom {
    color: var(--custom-color-grayscale-2) !important
}

.color-grayscale-3-custom {
    color: var(--custom-color-grayscale-3) !important
}

.color-grayscale-4-custom {
    color: var(--custom-color-grayscale-4) !important
}

.color-grayscale-5-custom {
    color: var(--custom-color-grayscale-5) !important
}

.color-grayscale-6-custom {
    color: var(--custom-color-grayscale-6) !important
}

/*--------------------------------------------------------------------------------------------------------------------*/
/* Background colors
/*--------------------------------------------------------------------------------------------------------------------*/
.bg-dark-app-custom{
    background: linear-gradient(180deg, #1b312f 0%, #222a2c 30%, #0a0f0d 100%);
}

.bg-primary-1-custom{
    background-color: var(--custom-color-primary-1) !important;
}

.bg-primary-2-custom{
    background-color: var(--custom-color-primary-2) !important;
}

.bg-primary-3-custom{
    background-color: var(--custom-color-primary-3) !important;
}

.bg-secondary-1-custom{
    background-color: var(--custom-color-secondary-1) !important;
}

.bg-secondary-2-custom{
    background-color: var(--custom-color-secondary-2) !important;
}

.bg-grayscale-1-custom{
    background-color: var(--custom-color-grayscale-1) !important;
}

.bg-grayscale-2-custom{
    background-color: var(--custom-color-grayscale-2) !important;
}

.bg-grayscale-3-custom{
    background-color: var(--custom-color-grayscale-3) !important;
}

.bg-grayscale-4-custom{
    background-color: var(--custom-color-grayscale-4) !important;
}

.bg-grayscale-5-custom{
    background-color: var(--custom-color-grayscale-5) !important;
}

.bg-grayscale-6-custom{
    background-color: var(--custom-color-grayscale-6) !important;
}

.bg-light-custom{
    background: #eff2f7 !important;
}


.bg-color-light-hover{
    transition: 0.3s;
}

.bg-color-light-hover:hover{
    background: #eff2f7 !important;
}



/*--------------------------------------------------------------------------------------------------------------------*/
/* Border colors
/*--------------------------------------------------------------------------------------------------------------------*/
.border-color-primary-1-custom{
    border-color: var(--custom-color-primary-1) !important;
}

.border-color-primary-2-custom{
    border-color: var(--custom-color-primary-2) !important;
}

.border-color-primary-3-custom{
    border-color: var(--custom-color-primary-3) !important;
}

.border-color-secondary-1-custom{
    border-color: var(--custom-color-secondary-1) !important;
}

.border-color-secondary-2-custom{
    border-color: var(--custom-color-secondary-2) !important;
}

.border-color-grayscale-1-custom{
    border-color: var(--custom-color-grayscale-1) !important;
}

.border-color-grayscale-2-custom{
    border-color: var(--custom-color-grayscale-2) !important;
}

.border-color-grayscale-3-custom{
    border-color: var(--custom-color-grayscale-3) !important;
}

.border-color-grayscale-4-custom{
    border-color: var(--custom-color-grayscale-4) !important;
}

.border-color-grayscale-5-custom{
    border-color: var(--custom-color-grayscale-5) !important;
}

.border-color-grayscale-6-custom{
    border-color: var(--custom-color-grayscale-6) !important;
}

.border-color-light-custom{
    border-color: #eff2f7 !important;
}

/*--------------------------------------------------------------------------------------------------------------------*/
/* Colors
/*--------------------------------------------------------------------------------------------------------------------*/

.bg-soft-primary {
    background-color: rgba(80, 110, 228, 0.08) !important;
    color: #3649B2 !important;
}

.bg-soft-secondary {
    background-color: rgba(65, 203, 216, 0.08) !important;
    color: #41cbd8 !important;
}

.bg-soft-success {
    background-color: rgba(45, 218, 181, 0.08) !important;
    color: #2ddab5 !important;
}

.bg-soft-warning {
    background-color: rgba(255, 159, 67, 0.08) !important;
    color: #ff9f43 !important;
}

.bg-soft-info {
    background-color: rgba(155, 167, 202, 0.08) !important;
    color: #9ba7ca !important;
}

.bg-soft-danger {
    background-color: rgba(239, 77, 86, 0.08) !important;
    color: #ef4d56 !important;
}

.bg-soft-pink {
    background-color: rgba(253, 60, 151, 0.08) !important;
    color: #fd3c97 !important;
}

.bg-soft-purple {
    background-color: rgba(109, 129, 245, 0.08) !important;
    color: #6d81f5 !important;
}

.bg-soft-blue {
    background-color: rgba(23, 97, 253, 0.08) !important;
    color: #1761fd !important;
}

.bg-soft-classic {
    background-color: #f1f5fa !important;
    color: #303e67 !important;
}

.bg-soft-dark {
    background-color: rgba(0, 4, 68, 0.08) !important;
    color: #000444 !important;
}

.bg-primary-gradient {
    background: linear-gradient(14deg, #0b7af3 36%, #39add0 100%);
}

.bg-secondary-gradient {
    background: linear-gradient(14deg, #42cef1 36%, #63ddfb 100%);
}

.bg-success-gradient {
    background: linear-gradient(14deg, #22d4b3 36%, #71e6d1 100%);
}

.bg-info-gradient {
    background: linear-gradient(14deg, #4b545d 36%, #67737b 100%);
}

.bg-warning-gradient {
    background: linear-gradient(14deg, #efc039 36%, #f1cb60 100%);
}

.bg-danger-gradient {
    background: linear-gradient(14deg, #fb7589 36%, #ff9595 100%);
}

.bg-pink-gradient {
    background: linear-gradient(14deg, #FE5D9E 36%, #8E73FE 100%);
}

.bg-purple-gradient {
    background: linear-gradient(14deg, #6d81f5 36%, #8498f3 100%);
}

.bg-blue-gradient {
    background: linear-gradient(14deg, #11368a 36%, #326eca 100%);
}

.bg-dark-gradient {
    background: linear-gradient(14deg, #12100e 36%, #2b4162 100%);
}

.bg-light-gradient {
    background: linear-gradient(14deg, #e4e8ef 36%, #edf1f4 100%);
}

.bg-custom-gradient {
    background: linear-gradient(14deg, #521c85 36%, #4400ff 100%);
}

.color-custom-primary {
    color: rgba(80, 110, 228, 1) !important;
}

.color-custom-secondary {
    color: rgba(65, 203, 216, 1) !important;
}

.color-custom-success {
    color: #2ddab5 !important;
}

.color-custom-warning {
    color: #ff9f43 !important;
}

.color-custom-info {
    color: #9ba7ca !important;
}

.color-custom-danger {
    color: #ef4d56 !important;
}

.color-custom-pink {
    color: #fd3c97 !important;
}

.color-custom-purple {
    color: #6d81f5 !important;
}

.color-custom-blue {
    color: #1761fd !important;
}

.color-custom-classic {
    color: #303e67 !important;
}

.color-custom-dark {
    color: rgba(0, 4, 68, 1) !important;
}


/*--------------------------------------------------------------------------------------------------------------------*/
/* Button primary
/*--------------------------------------------------------------------------------------------------------------------*/
.btn-primary-custom {
    color: #fff;
    background-color: var(--custom-color-primary-2);
    border-color: var(--custom-color-primary-2);
}
.btn-primary-custom:hover {
    color: #fff;
    background-color: var(--custom-color-primary-3);
    border-color: var(--custom-color-primary-3);
}
.btn-check:focus + .btn-primary-custom, .btn-primary-custom:focus {
    color: #fff;
    background-color: var(--custom-color-primary-3);
    border-color: var(--custom-color-primary-3);
    -webkit-box-shadow: 0 0 0 0.15rem rgb(from var(--custom-color-primary-2) r g b / 0.5);
    box-shadow: 0 0 0 0.15rem rgb(from var(--custom-color-primary-2) r g b / 0.5);
}
.btn-check:checked + .btn-primary-custom, .btn-check:active + .btn-primary-custom, .btn-primary-custom:active, .btn-primary-custom.active, .show > .btn-primary-custom.dropdown-toggle {
    color: #fff;
    background-color: var(--custom-color-primary-3);
    border-color: var(--custom-color-primary-3);
}
.btn-check:checked + .btn-primary-custom:focus, .btn-check:active + .btn-primary-custom:focus, .btn-primary-custom:active:focus, .btn-primary-custom.active:focus, .show > .btn-primary-custom.dropdown-toggle:focus {
    -webkit-box-shadow: 0 0 0 0.15rem rgb(from var(--custom-color-primary-2) r g b / 0.5);
    box-shadow: 0 0 0 0.15rem rgb(from var(--custom-color-primary-2) r g b / 0.5);
}
.btn-primary-custom:disabled, .btn-primary-custom.disabled {
    color: #fff;
    background-color: var(--custom-color-primary-2);
    border-color: var(--custom-color-primary-2);
}

.btn-outline-primary-custom {
    color: var(--custom-color-primary-2);
    background-color: #fff;
    border-color: var(--custom-color-primary-2);
}
.btn-outline-primary-custom:hover {
    color: #fff;
    background-color: var(--custom-color-primary-2);
    border-color: var(--custom-color-primary-3);
}
.btn-check:focus + .btn-outline-primary-custom, .btn-outline-primary-custom:focus {
    color: var(--custom-color-primary-3);
    background-color: #fff;
    border-color: var(--custom-color-primary-3);
    -webkit-box-shadow: 0 0 0 0.15rem rgb(from var(--custom-color-primary-2) r g b / 0.5);
    box-shadow: 0 0 0 0.15rem rgb(from var(--custom-color-primary-2) r g b / 0.5);
}
.btn-check:checked + .btn-outline-primary-custom, .btn-check:active + .btn-outline-primary-custom, .btn-outline-primary-custom:active, .btn-outline-primary-custom.active, .show > .btn-outline-primary-custom.dropdown-toggle {
    color: var(--custom-color-primary-3);
    background-color: #fff;
    border-color: var(--custom-color-primary-3);
}
.btn-check:checked + .btn-outline-primary-custom:focus, .btn-check:active + .btn-outline-primary-custom:focus, .btn-outline-primary-custom:active:focus, .btn-outline-primary-custom.active:focus, .show > .btn-outline-primary-custom.dropdown-toggle:focus {
    -webkit-box-shadow: 0 0 0 0.15rem rgb(from var(--custom-color-primary-2) r g b / 0.5);
    box-shadow: 0 0 0 0.15rem rgb(from var(--custom-color-primary-2) r g b / 0.5);
}
.btn-outline-primary-custom:disabled, .btn-outline-primary-custom.disabled {
    color: var(--custom-color-primary-2);
    background-color: #fff;
    border-color: var(--custom-color-primary-2);
}

/*--------------------------------------------------------------------------------------------------------------------*/
/* Navbar and menu
/*--------------------------------------------------------------------------------------------------------------------*/
@media (max-width: 380px) {
    .navbar-brand-box {
        display: block;
    }
}

.navbar-header .dropdown .show.header-item{
    background-color: var(--custom-color-grayscale-4) !important;
}

.topnav-menu .dropdown-menu{
    margin-top: -10px !important;
    background-color: var(--custom-color-grayscale-4) !important;
    color: #fff !important;
    padding: 5px 10px;
    padding-top: 10px !important;
}

.topnav-menu .dropdown-menu .dropdown-item{
    color: #fff !important;
    padding: 10px ;
    border-bottom: 1px solid var(--custom-color-grayscale-3) !important;
}

.topnav-menu .dropdown-menu .dropdown-item:last-of-type{
    border-bottom: 0 !important;
}

.topnav-menu .dropdown-menu .dropdown-item:hover{
    background-color: transparent !important;
    color: var(--custom-color-primary-3) !important;
}

@media screen and (max-width: 1490px) {
    .topnav-menu .nav-link{
        padding-left: 12px !important;
        padding-right: 12px !important;
        font-size: 12px !important;
    }

    .topnav .arrow-down {
        margin-left: -5px !important;
    }
}

/*--------------------------------------------------------------------------------------------------------------------*/
/* Menu mobile
/*--------------------------------------------------------------------------------------------------------------------*/
.form-control:disabled, .form-control[readonly] {
    background-color: #f4f5f6;
    opacity: 1;
}

/*--------------------------------------------------------------------------------------------------------------------*/
/* Menu mobile
/*--------------------------------------------------------------------------------------------------------------------*/

[data-custom="custom-menu"] .custom-menu-nav .nav-item .dropdown-menu{
    background-color: var(--custom-color-grayscale-3);
}

[data-custom="custom-menu"] .custom-menu-nav .nav-item .dropdown-menu .dropdown-item{
    background-color: var(--custom-color-grayscale-3);
    color: #fff;
}

[data-custom="custom-menu"] .custom-menu-nav .nav-item .dropdown-menu .dropdown-item i{
    color: var(--custom-color-primary-3);
}


/*----------------------------------------------------------------------------------------------------------------------
    Cards
----------------------------------------------------------------------------------------------------------------------*/
.card-tab-custom{
    width: 100%;
    height: 50px;
    border-radius: 1.25rem;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 16px;
    font-size: 14px;
    font-weight: 500;
}

.card-tab-custom.active{
    cursor: default !important;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px !important;
    color: #fff !important;
    background-color: var(--custom-color-primary-1) !important;
}

.card-tab-custom.card-tab-custom-1{
    background-color: #fff;
}

.card-content-custom{
    display: none;
}

.card-content-custom.active{
    display: block;
}

.card-content{
    padding: 20px;
}


/*--------------------------------------------------------------------------------------------------------------------*/
/* Badges
/*--------------------------------------------------------------------------------------------------------------------*/
.badge-custom {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
    font-size: 11px;
    border-radius: 10px !important;
}

/*--------------------------------------------------------------------------------------------------------------------*/
/* Inputs
/*--------------------------------------------------------------------------------------------------------------------*/
.input-group-icon input {
    padding-right: 40px;
}

.input-group-icon:not(.input-auth) .icon{
    position: absolute;
    font-size: 18px;
    cursor: pointer;
    top: 32px;
    right: 25px;
}
.input-group-icon.input-auth .icon{
    position: absolute;
    font-size: 18px;
    cursor: pointer;
    top: 7px;
    right: 25px;
}

/*----------------------------------------------------------------------------------------------------------------------
 Select2
----------------------------------------------------------------------------------------------------------------------*/


.select2-container .select2-selection--single {
    background-color: #fff !important;
    border: 1px solid #ced4da !important;
    height: 38px !important;
}
.select2-container .select2-selection--single:focus {
    outline: none;
}
.select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 36px !important;
    padding-left: 0.75rem !important;
    color: #495057 !important;
}
.select2-container .select2-selection--single .select2-selection__arrow {
    height: 34px !important;
    width: 34px !important;
    right: 3px !important;
}
.select2-container .select2-selection--single .select2-selection__arrow b {
    border-color: #adb5bd transparent transparent !important;
    border-width: 6px 6px 0 !important;
}
.select2-container .select2-selection--single .select2-selection__placeholder {
    color: #495057 !important;
}
[dir="rtl"] .select2-selection__rendered {
    text-align: end !important;
}
.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #adb5bd !important;
    border-width: 0 6px 6px !important;
}
.select2-container--default .select2-search--dropdown {
    padding: 10px !important;
    background-color: #fff !important;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #ced4da !important;
    background-color: #fff !important;
    color: #74788d !important;
    outline: none !important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--custom-color-primary-1) !important;
}
.select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: #f8f9fa !important;
    color: #343a40 !important;
}
.select2-container--default .select2-results__option[aria-selected="true"]:hover {
    background-color:  var(--custom-color-primary-1) !important;
    color: #fff !important;
}
.select2-results__option {
    padding: 6px 12px !important;
}
.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
    padding-left: 0.75rem !important;
}
.select2-dropdown {
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    background-color: #fff !important;
    -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18, 38, 63, 0.03) !important;
    box-shadow: 0 0.75rem 1.5rem rgba(18, 38, 63, 0.03) !important;
}
.select2-search input {
    border: 1px solid #f6f6f6 !important;
}
.select2-container .select2-selection--multiple {
    min-height: 38px !important;
    background-color: #fff !important;
    border: 1px solid #ced4da !important;
}
.select2-container .select2-selection--multiple .select2-selection__rendered {
    padding: 2px 0.75rem !important;
}
.select2-container .select2-selection--multiple .select2-search__field {
    border: 0 !important;
    color: #495057 !important;
}
.select2-container .select2-selection--multiple .select2-search__field::-webkit-input-placeholder {
    color: #495057 !important;
}
.select2-container .select2-selection--multiple .select2-search__field::-moz-placeholder {
    color: #495057 !important;
}
.select2-container .select2-selection--multiple .select2-search__field:-ms-input-placeholder {
    color: #495057 !important;
}
.select2-container .select2-selection--multiple .select2-search__field::-ms-input-placeholder {
    color: #495057 !important;
}
.select2-container .select2-selection--multiple .select2-search__field::placeholder {
    color: #495057 !important;
}
.select2-container .select2-selection--multiple .select2-selection__choice {
    background-color: #eff2f7 !important;
    border: 1px solid #f6f6f6 !important;
    border-radius: 1px !important;
    padding: 0 7px !important;
}
.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #ced4da !important;
}
.select2-container--default .select2-results__group {
    font-weight: 600 !important;
}

select[disabled] ~ .select2-container .select2-selection--single .select2-selection__rendered{
    background-color: #f4f5f6 !important;
    opacity: 1;
}