/***** OFFER SEARCH FORM**********/

@media (max-width: 1199px) {
    .offer-search-form .warning-oferty-deweloperskie {
        color: var(--bs-tertiary-color);
    }
    .offer-search-form .background-classic .form-check-input[type=checkbox] {
        border-color: var(--bs-success);
    }

    .offer-search-form .background-classic .form-check-input:checked[type=checkbox],
    .offer-search-form .background-classic .form-check-input:indeterminate[type=checkbox] {
        background-color: var(--bs-success);
    }

    .offer-search-form .background-classic .fa-plus,
    .offer-search-form .background-classic .fa-minus {
        color: var(--bs-success);
    }
}

@media (min-width: 1200px) {
    .offer-search-form .background-classic .form-check-input[type=checkbox] {
        background-color: var(--bs-success);
    }

    .offer-search-form .background-classic .form-check-input:checked[type=checkbox] {
        background-color: white;
        border-color: white;
        --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%233AAA35' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
    }

    .offer-search-form .background-classic .form-check-input:indeterminate[type=checkbox] {
        background-color: white;
        border-color: white;
        --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%233AAA35' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e");
    }

    .offer-search-form .background-classic {
        background-image: url("/assets/v25/images/background-classic.png");
        color: white;
        min-height: 455px;
    }
}


.offer-search-form .background-classic .form-check-input {
    margin-right: 5px;
    margin-top: 3px;
}

.offer-search-form .select2-container--open .select2-selection {
    border-radius: 0 !important;
}

.offer-search-form .select2-selection {
    border: 0 !important;
    background: var(--bs-tertiary-bg) !important;
    border-radius: var(--bs-border-radius) !important;
    padding-top: .5rem !important;
    padding-bottom: .0rem !important;
    min-height: 48px !important;
    padding-left: 8px !important;

}

.offer-search-form .select2-selection__choice {
    background: var(--bs-success) !important;
    color: white !important;
    border-radius: 5px !important;
    border: 0 !important;
    padding-top: .3rem !important;
    padding-bottom: .2rem !important;
    margin-right: 10px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    margin-top: 0 !important;
    margin-bottom: 5px !important;
}

.select2-dropdown {
    border-top: 2px solid var(--bs-tertiary-color) !important;
    border-bottom-color: var(--bs-tertiary-bg) !important;
    border-left-color: var(--bs-tertiary-bg) !important;
    border-right-color: var(--bs-tertiary-bg) !important;
    background: var(--bs-tertiary-bg) !important;
    font-size: 10pt !important;
}

.select2-dropdown .select2-results__option--highlighted {
    background-color: var(--bs-success) !important;
}


.offer-search-form .select2-selection__choice__remove {
    color: white !important;
}

.offer-search-form .category-section input[type="radio"] {
    appearance: none;
    border: 2px solid white;
    border-radius: 50%;
    width: 17px;
    height: 17px;
    margin-right: 0.5rem;
    position: relative;
}

.offer-search-form input[type="text"],
.offer-search-form select,
.offer-search-form button {
    padding-top: .75rem;
    padding-bottom: .75rem;
}

.offer-search-form .bg-primary select {
    color: white;
    background-color: var(--bs-primary);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary), .25);
}


fieldset.grayed-but-category-box .text-search-row,
fieldset.grayed-but-category-box .section-initially-disabled,
.grayed-section {
    opacity: 0.4;
    pointer-events: none;
}

.blinking {
    animation: blinker 0.1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}