label {
    margin-bottom: 3px;
}

.custom-select {
    font-size: 14px;
    height: 40px;
    border: 1px solid #DADADA;
    display: inline-block;
    position: relative;
    border-radius: 8px;
}

.custom-select.active {
    border: 1px solid #002664;
}

.custom-select .select-icn-left {
    height: 20px;
    position: absolute;
    top: 50%;
    left: 10px;
    z-index: 2;

    pointer-events: none;
    -webkit-transform: translate(0, -50%);
        -ms-transform: translate(0, -50%);
            transform: translate(0, -50%);
}

.owl-carousel .owl-item .custom-select .select-icn-right,
.owl-carousel .owl-item .custom-select .select-icn-left {
    width: initial !important;
    display: initial !important;
}

.custom-select .select-icn-right {
    height: 20px;
    position: absolute;
    top: 50%;
    right: 10px;
    z-index: 2;

    pointer-events: none;
    -webkit-transform: translate(0, -50%);
        -ms-transform: translate(0, -50%);
            transform: translate(0, -50%);
}

.custom-select select {
    top: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 8px;
    padding: 0 40px;

    -webkit-appearance: none;
    -moz-appearance: none;
}

.custom-select .custom-select-lab {
    color: #4A4A49;
    height: 38px;
    line-height: 40px;
    text-align: center;
    pointer-events: none;
    background-color: #fff;
    border-radius: 8px;
    z-index: 1;
    position: relative;
    padding: 0 35px;
}

.custom-select.active .custom-select-lab {
    color: #002664;
}

.custom-select.active svg path {
    fill: #002664;
}

.form-select {
    font-size: 14px;
    height: 40px;
    padding: 0 15px;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #DADADA;
}

.form-control {
    color: #002664;
    height: 40px;
    padding: 0 15px;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #DADADA;
    font-size: 14px;
}

.form-control:hover {
    border-color: #4A4A49;
}

.form-control:focus {
    border-color: #002664;
    color: initial;
    background-color: transparent !important;
    outline: 0;
    box-shadow: none;
}

/*.form-control::placeholder {*/
/*    color: #fff;*/
/*}*/

textarea.form-control {
    padding: 10px 15px;
    height: inherit;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset;
}

.form-label {
    margin-bottom: 5px;
}

/* FORM ICONs */
.form-icon {
    position: relative;
}

.form-icon .form-control {
    padding: 0 15px 0 35px;
}

.form-icon img {
    position: absolute;
    top: 12px;
    left: 10px;
    max-height: 18px;
    max-width: 18px;
}

/* CUSTOM RADIO & CHECKBOX */
.radio,
.checkbox {
    padding: 0 0 0 26px;
    position: relative;
}

.radio input[type="radio"],
.checkbox input[type="checkbox"] {
    opacity: 0;
    z-index: 1;
    cursor: pointer;
    position: absolute;
}

.checkbox label::before {
    content: "";
    position: absolute;
    width: 17px;
    height: 17px;
    left: 0;
    top: 1px;
    border: 1px solid #002664;
    background-color: #fff;
}

.checkbox label::after {
    content: "";
    position: absolute;
    width: 17px;
    height: 17px;
    left: 0;
    top: 1px;
    font-size: 12px;
    color: #fff;
    text-align: center;
}

.checkbox input[type="checkbox"]:checked + label::after {
    font-family: "FontAwesome";
    content: "\f00c";
    background-color: #002664;
}

.checkbox label a {
    color: #002664;
    font-weight: bold;
    text-decoration: underline;
}

.checkbox label a:hover {
    text-decoration: none;
}

.checkbox label {
    color: #002664;
}

.radio label::before {
    content: "";
    position: absolute;
    width: 17px;
    height: 17px;
    top: 2px;
    left: 0;

    border: 1px solid #002664;
    border-radius: 50%;
    background-color: #fff;

    -webkit-transition: border 0.15s ease-in-out;
    transition: border 0.15s ease-in-out;
}

.radio label::after {
    content: "";
    position: absolute;
    width: 11px;
    height: 11px;
    left: 3px;
    top: 5px;
    border-radius: 50%;
    background-color: #002664;

    -webkit-transform: scale(0, 0);
    -ms-transform: scale(0, 0);
    transform: scale(0, 0);

    -webkit-transition: -webkit-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
    transition: -webkit-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
    transition: transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
    transition: transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33), -webkit-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
}

.radio input[type="radio"] {
    opacity: 0;
    z-index: 1;
    cursor: pointer;
}

.radio input[type="radio"]:checked + label::after {
    -webkit-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    transform: scale(1, 1);
}


.form-check {
    padding: 0;
    margin: 0;
}

.form-checkboxes {
    margin: 10px 0;
}


/* modal upd file */
.file-input {
    display: none;
}

.custom-file-upload {
    border: 1px solid #002664;
    color: #002664;
    padding: 8px 20px;
    cursor: pointer;
    border-radius: 32px;
    text-align: center;
    -webkit-transition: background-color 0.2s;
    transition: background-color 0.2s;
}

.custom-file-upload:hover {
    background-color: #f8f9fa;
}

.custom-file-upload.active {
    border-color: #198754;
    color: #198754;
}


/* select 2 */
.select2-container--bootstrap4 .select2-selection--single {
    height: 40px !important;
}

.select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
    line-height: 38px;
}


.auth-modal .checkbox label:before {
    background-color: #eef2f7;
}


select {
    appearance: none; /* Премахва стандартния стил на браузъра */
    -webkit-appearance: none; /* За Safari/Android браузъри */
    -moz-appearance: none; /* За Firefox */
}


.form-switch .form-check-input:focus:not(:checked) {
    --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23002664'/%3e%3c/svg%3e");
}

.form-switch .form-check-input {
    --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23002664'/%3e%3c/svg%3e");
}

.form-switch .form-check-input {
    margin: 0;
    vertical-align: inherit;
    border-color: #002664;
}

.form-switch .form-check-input:focus {
    padding: 0;
    border-color: #002664;
    outline: 0;
    box-shadow: none;
}

.form-switch .form-check-input:checked {
    background-color: #002664;
    border-color: #002664;
}


@media screen and (min-device-width: 375px) and (max-device-width: 1024px) and (-webkit-device-pixel-ratio: 3) {
    .form-control, .form-select, input, textarea, select {
        font-size: 16px !important;
    }
}

