/* Select kutusunun genişliğini ve yüksekliğini ayarlamak */
select[multiple] {
    width: 100%;
    /* Genişlik ayarı */
    height: 150px;
    /* Yükseklik ayarı */
    background-color: #ffffff;
    /* Arka plan rengi */
    border: 1px solid #e8e8e8;
    /* Kenarlık */
    border-radius: 12px !important;
    /* Kenar yuvarlama */
    padding: 5px;
    /* İç boşluk */
    box-sizing: border-box;
    /* Kenarlık ve padding hesaplaması */
}

/* Seçilen seçeneklerin stilini ayarlamak */
select[multiple] option:checked {
    background-color: #007bff;
    /* Seçilen seçenek arka plan rengi */
    color: #ffffff;
    /* Seçilen seçenek yazı rengi */
}

.tab {
    margin-right: 10px;
}

.tab input[type="radio"] {
    display: none;
}

.tab label {
    padding: 5px 13px;
    border: 1px solid #e8e8e8;
    cursor: pointer;
    border-radius: 12px !important;
    transition: background-color 0.3s, color 0.3s;
}

.tab label:hover {
    background-color: #005AA9 !important;
    color: #fff !important;
}

.activeTab {
    background-color: #005AA9 !important;
    color: #fff !important;
}

.tab input[type="radio"]:checked+label {
    background-color: #005AA9;
    color: #fff !important;
}



#submit-filters {
    border: 1px solid #e8e8e8;
    font-size: 9px;
    position: fixed;
    bottom: 10px;
    width: 255px;
    background: #005AA9 !important;
    color: white;
    z-index: 9999;
    transition: position 0.3s ease;
    /* Animasyon eklemek için geçiş efekti */
}

#submit-filters.scroll-up {
    position: inherit !important;
}

/* .projectMobileMargin {
    margin-top: 10px;
} */

#pages {
    width: 100%;
    justify-content: center
}

#pages .btn {
    height: 100% !important;
}

.btn-outline-primary:hover{
    color: #005AA9 !important;
}
#pages .btn:hover {
    color: white !important;
}

hr {
    width: 100%;
    height: 100%;
}



.brand-head .brands-square {
    padding-left: 0 !important
}


.btn-white {
    background: #fff !important;
    border: 0.0625rem solid rgba(33, 50, 91, .1);
}

.btn-transition {
    transition: all .2s ease-in-out
}

.text-primary {
    color: #005AA9 !important;
}

.btn-transition:focus,
.btn-transition:hover {
    transform: translateY(-0.1875rem);
}

.btn-check:focus+.btn-white,
.btn-white:focus,
.btn-white:hover {
    color: #1366ff;
    border-color: rgba(33, 50, 91, .1);
    background-color: #fff;
    box-shadow: 0 3px 6px -2px rgba(140, 152, 164, .25)
}

.filter-now {
    display: block;
    width: 100%;
}

.widget-boxed {
    padding: 20px;
}


#sort-select {
    height: 28.5px !important;
    padding: 5px !important;
}
@media (min-width: 768px) {
    #sort-select {
        width: 150px !important;
    }
}

#openMobileFilter{
    padding: 5px !important;
}

.row-desktop-grid .border-row {
    border: 1px solid #e7e7e7;
    margin-bottom: 10px;
    border-radius: 12px !important;
}

.portfolio .homes-content {
    border-radius: 12px !important;
}

@media (max-width:768px) {
    .room_count_field {
        border-bottom: 1px solid #e8e8e8;
    }


    .mt-md-2 {
        padding-left: 1rem;
        padding-right: 1rem;
        padding-bottom: 1rem;
    }

    .trip-search {
        padding-top: 10px;
        margin-top: 0 !important;
        border: 0 !important;
        padding: 0 !important;
    }

    .select2-results,
    .select2-dropdown,
    .select2-container--open .select2-dropdown--below {
        position: relative;
        z-index: 99999999999999;
    }


    #submit-filters {
        position: inherit !important;
        border: 1px solid #e8e8e8;
        width: 90% !important;
        padding: 10px !important;
        margin: 0 auto;
        margin: 10px auto;
        font-size: 9px;
    }

    .mobile-title {
        margin: 0 !important;
        padding: 1rem !important;
    }


    #sort-select option {
        text-align: center;
        justify-content: center;
        display: flex;
        align-items: center;
        margin: 0 auto;
        width: 100%;
    }

    #sort-select{
        border-radius: 22px !important;
    }
    /* #sort-select {
        text-transform: capitalize;
        background: #f0f0f0 !important;
        padding: 6px !important;
        cursor: pointer;
        border: 0 !important;
        width: 50% !important;
        border-radius: 0 !important;
        text-align: center;
        display: flex;
        color: black !important;
        padding: 0 !important;
        margin: 0 !important;
        height: 35px !important;
        border-left: 1px solid #c9c9c9 !important;
        align-items: center;
        justify-content: center;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-position: right center;

    } */

    .circleIcon {
        font-size: 5px;
        color: #005AA9 !important;
        padding-right: 5px
    }

    section.headings-2 {

        padding: 0 !important
    }

    .car {
        display: none;
    }

    .priceFont {
        font-weight: 600;
        font-size: 12px;
    }
}

.head {
    cursor: pointer;
    align-items: center
}

.trip-search {
    border: 1px solid #e8e8e8;
    padding: 9px
}

#sorting-options {
    display: flex !important;
    justify-content: space-around;
    text-align: center;
}



.trip-search input {
    background: #f5f5f5;
    border: none;
    width: 100%;
    height: 35px;
    padding-left: 20px;
    font-weight: 500;
    border-radius: 0;
}

.hidden {
    display: none !important;
}



input[type="radio"] {
    display: grid;
    place-content: center;
}

input[type="radio"] {
    display: grid;
    place-content: center;
    width: 15px !important;
    height: 15px !important;
    margin-left: 3px !important;
}

input[type="radio"]:checked::before,
input[type="checkbox"]:checked::before {
    transform: scale(1);
}

input[type="radio"]::before {
    content: "";
    width: 0.65em;
    height: 0.65em;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em var(--form-control-color);
}

input[type="radio"]:checked::before {
    transform: scale(1);
}

input[type="radio"]::before {
    transform-origin: bottom left;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

input[type="radio"]::before {
    background-color: black;
}

input[type="radio"] {
    position: relative;
    appearance: none;
    cursor: pointer;
    /* Remove default radio button styling */
}



#termResultCount {
    margin-right: 10px !important;
    font-weight: 600;
    font-size: 12px;
    margin: 0;
    padding: 0px 5px;
    color: black;
}

.map-container {
    position: relative;
    width: 100%;
    height: 60px;
    cursor: pointer;
    /* Adjust height as needed */
    background-image: url('/mapmarker.png');
    /* Your map image */
    background-size: cover;
    /* Ensures the image covers the entire div */
    background-position: center;
    /* Centers the image */
    background-repeat: no-repeat;
    /* Ensures the image doesn't repeat */
    border-radius: 12px;
    /* Optional: Rounds the corners */
    overflow: hidden;
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: bold;
    color: #333;
    width: 80%;
    text-align: center;
}


#searchResultLeft {
    cursor: pointer;
}

.map-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    /* Adjust as needed */
}

.map-image {
    width: 100%;
    height: auto;
    display: block;
}

.map-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 16px;
    color: black;
    cursor: pointer;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

.map-button:hover {
    background-color: #f0f0f0;
}

/* css */
.trip-search select {
    border: 1px solid #e8e8e8;
}

input[type=radio] {
    appearance: none;
    background: white;
    border: 2px solid #e8e8e8;
    border-radius: 100%;
}

.filtreArea {
    max-height: 200px;
    overflow-y: auto;
}

input[type="radio"]:checked::before, input[type="checkbox"]:checked::before {
    background: #005AA9 !important;
}

.widget-boxed-header h6 {
    font-weight: bold !important;
    color: #000;
}

@media (min-width: 768px) {
    .filters-input-area {
        display: block !important;
    }
}

@media (max-width: 767px) {

    #clear-filters,
    #close-filters {
        width: 90%;
        margin: 0 auto;
        font-size: 9px !important;
    }

    .filters-input-area {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 999999999;
        background-color: white;
        box-shadow: 0 0 48px rgba(0, 0, 0, .3);
        overflow-y: scroll;
        padding-top: 0 !important;
    }

    .filters-input-area .mobile-button {
        border-color: #e8e8e8;
        padding: 0 1rem;
        margin-top: 10px;
        border-radius: 0 !important
    }

    .filters-input-area .mobile-title widget-boxed-header {
        background: #E0E0E0;
        border: 0;
        padding: 1rem;
    }

    .filters-input-area .mobile-input {
        border-radius: 0 !important;
    }

    .filters-input-area .bathroom-count-item {
        border-radius: 0 !important;
    }

    .filters-input-area .current-page {
        border-radius: 0 !important;
    }

    .mobile-header {
        background: #2d67bd;
        color: #FFF;
        font-size: 9px;
        padding: 12px 16px;
    }
} 

/* Filtre paneli için başlangıçta görünmez */
#mobileFilterPanel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 93%;
    background-color: white;
    z-index: 10000;
    overflow-y: scroll;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    transition: right 0.3s ease-in-out;
}

#mobileFilterPanel.show {
    right: 0;
}

.filter-button {
    background-color: #005AA9;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
}

#closeMobileFilter {
    background-color: #005AA9;
    color: white;
    border: none;
    padding: 5px 20px;
    cursor: pointer;
    border-radius: 5px;
}

.mobile-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e8e8e8;
}

.mobile-filter-header h3 {
    margin: 0;
}

.mobile-filter-header .mobile-filter-button {
    margin-left: 10px;
}

.bg-ea2b2e {
    background-color: #005AA9;
    border-radius: 10px !important;
}

.bg-ea2b2e li {
    color: white !important;
}

.bg-ea2b2e .breadcrumb-item::before {
    color: white !important;

}


.selected-filter-item {
    color: #ea2b2e;
    border: 1px solid #ea2b2e;
    border-radius: 20px;
    padding: 5px 12px;
    display: flex;
    align-items: center;
    font-weight: 600;
    gap: 8px;
}

.selected-filter-item .remove-filter {
    cursor: pointer;
    /* font-weight: bold; */
    font-size: 20px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.selected-filters-list {
    border-radius: 8px;

    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.clear-filters-style {
    background: transparent;
}