/* Загальний стиль контейнера карти */
.ecofactor-map-container {
    background-color: #f9f9f9;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.ecofactor-map-container h1 {
    font-size: 2em;
    color: #333;
}

.ecofactor-map-container p {
    font-size: 1.2em;
    color: #666;
}

/* Стиль елементу карти */
div#ecofactor-map {
    border-radius: 25px;
    margin: 0px 0px 25px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, .1);
}

/* Банер */
#dynamic-banner {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

div#banner {
    width: 100%;
    padding: 40px;
    margin: 25px 0;
    border-radius: 25px;
    background-color: #f9f9f9;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
}

/* Опис */
span.map-title {
    font-size: 25px;
    padding: 10px 0;
    color: #008033;
    font-weight: 500;
    align-self: stretch;
    font-family: "TT Lakes Medium";
}

.custom-description {
    margin-top: 20px;
    font-size: 1.1rem;
}

.text-content {
    max-height: 150px;
    overflow: hidden;
    position: relative;
    transition: height .2s ease;
    margin-top: 15px;
    font-family: "TT Lakes Medium";
    line-height: initial;
}

.text-content.expanded {
    max-height: 1000px;
    margin-top: 15px;
    font-family: "TT Lakes Medium";
    line-height: initial;
}

.limit-me-box-shadow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, rgba(19, 19, 19, 0) 0%, #ffffff 60%, #ffffff 100%);
}

#toggle-text {
    display: inline-flex;
    gap: 10px;
    padding: 10px 0;
    background: none;
    border: none;
    color: #008033;
    text-transform: capitalize;
    font-family: "TT Lakes Medium";
    font-size: 15px;
    font-weight: 500;
    float: right;
    cursor: pointer;
}

/* Теги */
.tags-list ul {
    list-style: none;
    padding: 0;
}

.tags-list ul li {
    display: inline-block;
    margin-right: 10px;
}

.tags-list ul li a {
    text-decoration: none;
    color: #007bff;
}

.tags.mt-4 {
    display: grid;
    justify-items: start;
    gap: 20px;
}

ul.tag-block {
    display: inline-flex;
    flex-wrap: wrap;
}

li.tag {
    padding: 12.5px 24px;
    border-radius: 25px;
    margin-bottom: 16px !important;
    display: inline-block;
    text-align: center;
    margin-right: 12px;
    font-size: 16px;
    color: #e7e7e7;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
    background: #f9f9f9;
}

/* Випадаючий список міст */
.city-dropdown {
    width: 300px;
}

.select2-container--classic .select2-selection--single {
    border: 1px solid #ced4da;
    height: 38px;
    padding: 6px 12px;
    border-radius: 10px;
}

.select2-container--classic .select2-selection--single .select2-selection__rendered {
    color: #008033;
    line-height: 24px;
    font-family: "TT Lakes Medium";
    font-weight: 400;
}

.select2-results__option {
    font-family: "TT Lakes Medium" !important;
}

.select2-container--classic.select2-container--open .select2-dropdown {
    border-color: #5897fb;
    background: linear-gradient(to bottom, rgb(255 255 255 / 0%) 15%, #fff 22%, #ffffff 100%);
}

.select2-container--classic .select2-selection--single .select2-selection__arrow {
    height: 36px;
    background: none;
}

.select2-container--classic .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #f1f3f5;
    color: #008033;
    font-size: 20px;
    font-weight: 700;
    font-family: "TT Lakes Medium";
}

.select2-container--classic .select2-search--dropdown .select2-search__field {
    padding: 6px 12px;
    border-radius: 10px;
    background: #f1f3f5;
}

.select2-container--classic .select2-selection--single .select2-selection__arrow {
    height: 36px;
    right: 0px;
    background: #ff000000;
    border-left: 0px solid #aaa;
}

.select2-container .select2-search--dropdown .select2-search__field {
    padding: 6px 12px; /* Стилізація поля пошуку */
    border-radius: 10px;
}

span.select2.select2-container.select2-container--classic {
    width: 100% !important;
}

/* Хлібні крихти */
  .breadcrumbs {
        padding: 0px 0;
        font-size: 17px;
        gap: 5px;
        display: flex;
        font-weight: 500;
        font-family: "TT Lakes Medium";
    }

    .breadcrumbs > a {
       color: #008033;
       font-size: 18px;
    }


i.fa.fa-home {
    color: #008033;
}

i.fa.fa-map-marker {
    color: #398dcd;
}

.leaflet-popup-content-wrapper, .leaflet-popup-tip {
    padding: 5px !important;
    font-size: 15px;
    color: #008033 !important;
    font-weight: 500;
    align-self: stretch;
    font-family: "TT Lakes Medium";
}

.city.mt-5.d-flex.justify-content-between.align-items-center {
    display: flex;
    justify-content: space-between;
    padding: 10px 0px;
}

.map.mt-5 {
    max-width: 1110px;
    display: grid;
    align-items: center;
    justify-content: space-between;
    top: 0;
    left: 0;
    margin-left: auto;
    margin-right: auto;
}

h1.entry-title {
    display: none;
}

.entry-content {
    gap: 15px;
    display: grid;
}





.properties-blo {
    display: flex;
    width: 100%;
}
img.list__driver {
    width: 280px;
    float: right;
}

p.paragraph-2 {
    display: inline-flex;
    gap: 10px;
    padding: 10px 0;
    background: 0 0;
    border: none;
    font-family: "TT Lakes Medium";
    font-size: 15px;
    font-weight: 500;
    float: right;
    cursor: pointer;
    line-height: normal;
    max-width: 290px;
}

img.dod {
    width: 140px;
}

.container-xls {
    padding: 3% 0%;
}

.g-3, .gy-3 {
    --bs-gutter-y: 1rem;
}

.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(var(--bs-gutter-y)* -1);
    margin-right: calc(var(--bs-gutter-x)* -.5);
    margin-left: calc(var(--bs-gutter-x)* -.5);
}
.properties__cart.prop {
    display: grid;
    height: 210px;
    align-content: space-between;
    display: grid;
    gap: 30px;
    align-content: center;
}
.properties__cart {
    display: inline-flex;
    flex-direction: row;
    height: 108px;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 20px;
    position: relative;
    flex: 1;
    flex-grow: 1;
    background-color: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0px 2px 10px #00000040;
    flex-wrap: nowrap;
    gap: 10px;
}
.col-l {
    width: 50%;
}
.col-lg-6.col-sm-6.col-md-6.col-xl-4 {
    width: 32%;
    padding-left: 0%;
    margin-right: 1%;
    margin-bottom: 1%;
    margin-top: 1%;
}
img.properties__img {
    width: 350px;
    float: right;
}
.properties__cart:hover {
    padding-left: 15px;
    box-shadow: 0px 8px 5px #00000040;
}
.properties__block.col-l {
    display: grid;
    gap: 10px;
    justify-items: start;
    align-items: start;
    align-content: center;
    padding-bottom: 10%;
}

span.properties__des {
    display: inline-flex;
    gap: 10px;
    padding: 10px 0;
    background: 0 0;
    border: none;
    font-family: "TT Lakes Medium";
    font-size: 15px;
    font-weight: 500;
    float: right;
    cursor: pointer;
    line-height: normal;
}
.prop-d {
    display: inline-flex;
    flex-wrap: wrap;
    padding-top: 15px;
}

span.properties__t {
    font-size: 18px;
    padding: 10px 0;
    color: #008033;
    font-weight: 500;
    align-self: stretch;
    font-family: "TT Lakes Medium";
}

.properties__block {
    display: grid;
    justify-items: center;
    width: 100%;
}

.number__wrap {
    display: inline-flex;
    gap: 30px;
}

.number__s {
    min-width: 45px;
    height: 43px;
    font-family: "PT Sans Caption", Helvetica;
    color: #ffffff;
    font-size: 24px;
    text-align: center;
    line-height: 43px;
    font-weight: 700;
    letter-spacing: 0;
    background-color: #008033;
    border-radius: 25px;
}

.number__ss {
    min-width: 45px;
    height: 43px;
    font-family: "PT Sans Caption", Helvetica;
    color: #fff;
    font-size: 24px;
    text-align: center;
    line-height: 43px;
    font-weight: 700;
    letter-spacing: 0;
    background-color: #008033;
    border-radius: 25px;
}
.number__w {
    display: inline-grid;
    gap: 10px;
}

.number__ss:after {
    content: " ";
    position: relative;
    display: block;
    width: 2px;
    min-width: 2px;
    height: 100px;
    min-height: 45px;
    left: 22px;
    z-index: -1;
}
.number__s:after {
    content: " ";
    position: relative;
    display: block;
    width: 2px;
    min-width: 2px;
    height: 100px;
    min-height: 30px;
    background: url(/wp-content/themes/ecofactornew/content/img/line-7.svg) left top no-repeat;
    left: 22px;
    z-index: -1;
    height: 30px;
}

span.number__title {
    font-size: 18px;
    padding: 10px 0;
    color: #008033;
    font-weight: 500;
    align-self: stretch;
    font-family: "TT Lakes Medium";
}

.number__col {
    display: grid;
    padding-top: 25px;
}

.number__wrap {
    display: inline-flex;
    gap: 30px;
    height: 70px;
}

.properties__wrap.proc {
    width: 100%;
}
/* Сумісність з мобільними пристроями */
@media only screen and (max-width: 992px) {
    .main-wrapper {
        margin-top: 40px;
    }

    .city.mt-5.d-flex.justify-content-between.align-items-center {
        display: flex;
        gap: 15px;
        padding: 10px 0;
        flex-direction: column;
    }

    .container.mt-5.d-flex.justify-content-between.align-items-center {
        display: grid;
        gap: 15px;
        justify-items: start;
    }

    span.map-title {
        font-size: 20px;
        text-align: left;
    }

    .city-dropdown {
        width: 100%;
    }

    li.tag {
        padding: 12.5px 9px !important;
        margin-bottom: 14px !important;
        display: inline-block;
        text-align: center;
        margin-right: 10px;
    }

    li>a {
        font-size: 13px !important;
    }

    div#ecofactor-map {
        height: 400px !important;
    }

    .breadcrumbs {
        padding: 0px 0;
        font-size: 17px;
        gap: 5px;
        display: flex;
        font-weight: 500;
        font-family: "TT Lakes Medium";
    }

    .breadcrumbs > a {
       color: #008033;
    }

        .container.mt-4 {
        padding: 15px 15px 0px 15px;
    }

    .text-content {
        max-height: 160px;
        font-size: 16px;
    }
    
    .map.mt-5 {
        padding: 15px;
    }
    .header {
        margin-bottom: 0px !important;
    }
    
    div#ecofactor-map {
        border-radius: 25px;
        margin: 10px 0px 20px 0px;
        box-shadow: 5px 5px 10px rgba(0, 0, 0, .1);
    }
    .map.mt-5 {
    max-width: 390px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    top: 0;
    left: 0;
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
}
.description.mt-4 {
    width: 390px;
    padding-left: 15px;
    padding-right: 15px;
}

    .properties-blo {
        display: grid;
    }
    .col-l {
        width: 390px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .col-lg-6.col-sm-6.col-md-6.col-xl-4 {
        width: 100%;
        padding-left: 0;
        margin-right: 0%;
        margin-bottom: 2%;
        margin-top: 2%;
    }

    .properties__cart.prop {
        gap: 15px;
    }
}

