@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,800);
@import url(https://fonts.googleapis.com/css?family=Pacifico);
@import url(https://fonts.googleapis.com/css?family=Montserrat);
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,300,200);

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    width: 100%;
    height: 100%;
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
}

body {
    width: 100%;
    height: 100%;
    font-family: 'Open Sans', sans-serif;
    background-color: #F8FAFB;
    color: #747474;
    transition: all .9s;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Open Sans', sans-serif;
    font-weight: normal !important;
    color: #000;
    -webkit-font-smoothing: antialiased;
}

h1 {
    font-size: 36px;
    line-height: 45px;
}

h2 {
    font-size: 30px;
    line-height: 40px;
}

h3 {
    font-size: 24px;
    line-height: 35px;
}

h4 {
    font-size: 18px;
    line-height: 30px;
}

h5 {
    font-size: 14px;
    line-height: 25px;
}

h6 {
    font-size: 12px;
    line-height: 20px;
}

h1 small {
    font-size: 50%;
}

h2 small {
    font-size: 60%;
}

h3 small {
    font-size: 70%;
}

h4 small {
    font-size: 80%;
}

h5 small {
    font-size: 90%;
}

h6 small {
    font-size: 90%;
}

small {
    font-size: 90%;
    opacity: .7;
    font-family: 'Open Sans', sans-serif;
}

@media screen and (min-widht: 992px) {
    .form-search-region {
        display: none !important;
    }
}

.dropdowns-content {
    color: black;
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    padding-left: 8px;
    padding-right: 8px;
    z-index: 1;
    margin-left: 10px;
    transition: all .9s;
    border-radius: 2px;
}

.dropdowns-content p {
    padding: 0;
    margin: 0;
}

.dropdowns-content a {
    text-decoration: none;
    color: #747474;
}

.dropdowns-content a:hover {
    color: #000;
}

.dropdowns:hover .dropdowns-content {
    display: block;
    transition: all .9s;
}

.white-link, .white-link-line {
    text-decoration: none;
    color: #fff;
}

.white-link-line {
    text-decoration: none;
    color: #fff;
}

.white-link:hover {
    text-decoration: none;
    color: #B90000;
    transition: all .3s;
}

.white-link-line:hover {
    text-decoration: underline white;
    transition: all .3s;
}

.cont-header {
    position: relative;
}

.black-background {
    background: rgba(0, 0, 0, 0.8);
    position: absolute;
    width: 100%;
    height: 200vw;
    z-index: 200;
    display: none;
    transition: opacity 0.3s ease;
}

.modalBlockSubheading{
    z-index: 250;
    position: fixed;
    top: 50%;
    left: 50%;
    border-radius: 5px;
    transform: translate(-50%, -50%);
    background-color: #fff;
    display: none;
    border: 1px solid #B90000;
}
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #c5c5c5;
    color: #4b535c;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;

}
.list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    margin: 8px;
}
@media (max-width: 768px) {
    .list-grid {
        grid-template-columns: 1fr;
    }
    .list-grid a div{
        background-color: #151D27;
        font-size: 18px;
    }
    .list-grid a div:hover{
        background-color: #151D27;
    }
    .modalAllSubheadingContent {
        display: none;
    }
    #modal-title{
        display: none;
    }
    .modalBlockSubheading{
        position: absolute;
        width: 100%;
        top: 60px;
        left: 0;
        bottom: 0;
        transform: none;
        background-color: #151D27;
        text-align: center;
        border: none;
        color: #fff;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

.list-grid div {
    padding: 6px 6px;
    background: white;
    font-size: 12px;
}

.list-grid div:hover {
    background: #e5e7eb;
    cursor: pointer;
}

.modalAllSubheadingContent {
    padding: 5px;
    position: absolute;
    top: -40px;
    left: -40px;
    background-color: #fff;
    border-radius: 50%;
}

.form-search-region {
    z-index: 250;
    position: absolute;
    width: 100%;
    margin-top: 250px;
    display: none;
    transition: all .9s;
}

.form-search-region-close {
    position: absolute;
    right: -40px;
    top: -30px;
}

.form-search-region-close svg {
    width: 42px;
    height: 42px;
    border-radius: 50%;
}

.form-search-region-close svg:hover {
    -webkit-box-shadow: 0 0 40px #aaa;
    -moz-box-shadow: 0 0 40px #aaa;
    box-shadow: 0 0 40px #aaa;
    transition: all .3s;
}

.form-search-region-data {
    background-color: #F8FAFB;
    color: black;
    height: 350px;
}

.header-search {
    margin-top: 100px;
    color: #fff;
    z-index: 10;
}

.search-header-txt {
    width: 98%;
    outline: none;
    border: none;
    height: 40px;
    line-height: 27px;
    margin: 5px;
    color: #1a1d20;
}

.search-region {
    width: 98%;
    outline: none;
    border: none;
    height: 40px;
    line-height: 27px;
    margin-top: 2px;
    margin-left: 5px;
    margin-right: 5px;
}

.search-header-search {
    width: 90%;
    outline: none;
    border: none;
    background-color: #fff;
}

.btn-red {
    background-color: #B90000;
    border-radius: 0;
    color: #fff;
    width: 100% !important;
    height: 50px;
    font-size: 18px;
    text-align: center;
    margin: 0;
    padding-top: 12px;
}

.btn-red:hover {
    background-color: #B90000;
    border-radius: 0;
    color: #fff;
    -webkit-box-shadow: 0 0 40px #aaa;
    -moz-box-shadow: 0 0 40px #aaa;
    box-shadow: 0 0 40px #aaa;
    transition: all .3s;
}

.btn-red:focus {
    background-color: #B90000;
    border-radius: 0;
    color: #fff;
}

.btn-red:active {
    background-color: #B90000 !important;
    border-radius: 0 !important;
    color: #fff !important;
    border: 1px solid #B90000 !important;
}

.btn-red-search-region {
    background-color: #B90000;
    border-radius: 0;
    color: #fff;
    height: 40px;
    font-size: 16px;
    padding: 8px 20px;
}

.btn-red-search-region:hover {
    background-color: #B90000;
    border-radius: 0;
    color: #fff;
    -webkit-box-shadow: 0 0 40px #aaa;
    -moz-box-shadow: 0 0 40px #aaa;
    box-shadow: 0 0 40px #aaa;
    transition: all .3s;
}

.btn-red-search-region:focus {
    background-color: #B90000;
    border-radius: 0;
    color: #fff;
}

.btn-red-search-region:active {
    background-color: #B90000 !important;
    border-radius: 0 !important;
    color: #fff !important;
    border: 1px solid #B90000 !important;
}

.icon-header {
    width: 56px;
    height: auto;
    border: 1px solid #B90000;
    border-radius: 50px;
    padding: 10px;
}

.header-menu {
    margin-top: 40px;
}

.header-p {
    border-bottom: 1px dotted grey;
    padding-bottom: 5px;
    font-size: 18px;
}

.header-p a {
    color: #000;
    font-weight: 500;
    text-decoration: none;
}

.header-p a:hover {
    color: #B90000;
    text-decoration: none;
    transition: all .3s;
}

.table-search {
    background-color: #fff;
    width: 100%;
    color: #1a1d20;
    margin-top: 20px;
    margin-bottom: 20px;
}

.table-search tr td {
    padding: 0;
    margin: 0;
}

.subheader a {
    text-decoration: none;
    color: #747474;
}

.subheader a:hover {
    color: #B90000;
    transition: all .3s;
}

.subheader-all {
    text-decoration: none;
    color: #000 !important;
    font-size: 12px;
}

.subheader-all:hover {
    color: #B90000 !important;
    font-size: 12px;
}


.carousel-block {
    background-color: #fff;
    padding: 5px;
    border: 1px solid #e8e8e8;
    text-decoration: none;
    border-radius: 3px;
    -webkit-transition: .3s linear;
    -moz-transition: .3s linear;
    -ms-transition: .3s linear;
    -o-transition: .3s linear;
    transition: .3s linear;
}

.carousel-block:hover {
    -webkit-box-shadow: 0 0 40px #aaa;
    -moz-box-shadow: 0 0 40px #aaa;
    box-shadow: 0 0 40px #aaa;
    transition: all .3s;
}

.ui-autocomplete {
    max-height: 210px;
    overflow-y: auto;
    overflow-x: hidden;
}

.posts-block {
    background: #fff;
    border: 1px solid #edeff1;
    border-radius: 3px;
    margin-bottom: 25px;
    padding: 5px;
    -webkit-transition: .3s linear;
    -moz-transition: .3s linear;
    -ms-transition: .3s linear;
    -o-transition: .3s linear;
    transition: .3s linear;
    position: relative;
}

.posts-block-img {
    position: relative;
    overflow: hidden;
}

.posts-block:hover {
    -webkit-box-shadow: 0 0 40px #aaa;
    -moz-box-shadow: 0 0 40px #aaa;
    box-shadow: 0 0 40px #aaa;
    transition: all .3s;
}

.posts-title {
    display: inline-block;
    text-decoration: none;
    color: #343a3f;
    font-size: 16px;
    padding: 0;
    font-weight: 600 !important;
    text-transform: capitalize;
    margin: 0 0 5px 10px;
}

.posts-money {
    font-weight: 600 !important;
    color: #ABC802;
    margin: 0;
    font-size: 18px;
    margin-left: 10px;
}

.posts-geo {
    font-size: 12px;
    margin-bottom: 5px;
    color: grey;
}

.post-favorite {
    position: absolute;
    z-index: 10;
    background-color: black;
    background: rgba(0, 0, 0, .4);
    width: 30px;
    height: 30px;
    text-align: center;
    right: 5px;
    font-size: 18px;
}

.post-favorite-t {
    position: absolute;
    z-index: 10;
    background-color: black;
    background: rgba(0, 0, 0, .4);
    width: 30px;
    height: 30px;
    text-align: center;
    right: 6px;
    font-size: 18px;
}

.city-image {
    width: 20px;
    margin-right: 15px;
}

.city-search {
    text-decoration: none;
    font-size: 14px;
    color: grey;
    margin: 0;
    padding: 0;
}

.city-search:hover {
    color: #B90000;
    transition: all .3s;
    cursor: pointer;
}

.txt_line {
    margin-top: 30px;
    font-size: 24px;
    color: grey;
    font-weight: 600 !important;
}

.heading {
    height: 5px;
    display: block;
    font-size: 2px;
    opacity: 1 !important;
}

.center-block {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

.heading-solid {
    border-bottom-style: solid;
    width: 100px;
    border-bottom-width: 3px;
    border-bottom-color: #aec62c;
}

.footer {
    background: #222;
    padding: 40px 20px 10px 20px;
    border-top: 4px solid #aec62c;
    -webkit-box-shadow: 0 -1px 12px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0 -1px 12px rgba(0, 0, 0, 0.4);
    box-shadow: 0 -1px 12px rgba(0, 0, 0, 0.4);
}

.footer a {
    text-decoration: none;
    color: #999;
}

.footer a:hover {
    text-decoration: none;
    color: #B90000;
    transition: all .3s;
}

/*mobile*/
.mobile-menu {
    background-color: #233040;
    color: #848d98;
    width: 100%;
    position: relative;
    height: 60px;
    border-radius: 0 0 14px 14px;
    z-index: 10;
    margin: 0;
    padding: 0;
}

.mobile-menu img {
    margin-left: 10px;
    margin-top: 8px;
}

.mobile-menu svg {
    margin-right: 10px;
    margin-top: 16px;
    width: 28px;
    height: auto;
    color: #fff;
}

.bc-line {
    background-color: #151D27;
    height: 80px;
}

.index-m {
    background-color: #151d27;
    color: #fff;
}

.mobile-content {
    background-color: #151D27;
    width: 100%;
    padding-top: 20px;
}

.scroll_r {
    max-height: 185px;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
}

.scroll_r::-webkit-scrollbar {
    width: 0;
}

.scroll_r .r_item {
    min-width: 160px;
    height: 160px;
    margin-right: 10px;
    border-radius: 20px;
    background-color: #233040;
    position: relative;
}

.m-category-title {
    font-size: 18px;
    padding-top: 10px;
    padding-left: 10px;
}

.m_category-ic {
    position: absolute;
    right: 10px;
    bottom: 10px;
    text-align: center;
}

.m_category-ic i {
    font-size: 32px;
    width: 78px;
    height: 78px;
    padding-top: 23px;
    background-color: #848d98;
    border: 1px solid #848d98;
    color: #fff;
    float: left;
    -webkit-border-radius: 78px;
    -moz-border-radius: 78px;
    border-radius: 78px;
}

.icon-header {
    width: 70px;
}

.icon-header-w {
    filter: invert(0.9) sepia(1) saturate(0) hue-rotate(175deg);
}

.new-posts {
    padding-left: 5px;
    color: white;
    font-size: 24px;
}

.mobile-footer {
    position: fixed;
    bottom: 0;
    background-color: #233040;
    color: #848d98;
    width: 100%;
    height: 60px;
    border-radius: 14px 14px 0 0;
    z-index: 999;
}

.mobile-footer ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    align-content: space-between;
    justify-content: space-between;
}

.mobile-footer ul li {
    display: inline-block;
    color: #fff;
}

.mobile-footer ul li svg {

}

.black_layer {
    background-color: #000000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1001;
    opacity: 0.9;
    display: none;
}

.head_layer {
    position: relative;
    background-color: #ffffff;
    z-index: 1002;
    width: 100%;
    border-radius: 20px;
    padding-bottom: 20px;
    padding-top: 20px;
    border: 2px solid #B90000;
    text-align: center;
    display: none;
}

.icon_select_head {
    position: absolute;
    top: -60px;
    z-index: 1003;
    background-color: #FFFFFF;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    left: 0;
    right: 0;
    margin-inline: auto;
    width: fit-content;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    display: none;
}

.filepond--credits {
    display: none !important;
}

#editorModal {
    display: none;
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 1px solid #ccc;
    padding: 1rem;
    z-index: 1000;
}

#editorModal img {
    max-width: 100%;
    max-height: 400px;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

@media (min-width: 768px) {
    .filepond--list {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 1rem;
    }

    .filepond--item {
        width: calc(25% - 0.75rem) !important;
        margin: 4px !important;
    }
}

@media (max-width: 768px) {
    .filepond--list {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 1rem;
    }

    .filepond--item {
        width: calc(50% - 0.75rem) !important;
        margin: 4px !important;
    }
}
.section-box {
    position: relative;
    display: block;
}
.section-box::before {
    content: "";
    position: absolute;
    top: -0.1rem;
    left: -0.1rem;
    width: 0.30rem;
    height: 0.30rem;
    border-radius: 9999px;
    background-color: rgba(239, 68, 68, 1);
}
.filepond--item-panel {
    background-color: #000 !important;
    aspect-ratio: 1 / 1 !important;
}

.filepond--image-preview {
    background-color: #000 !important;
    overflow: hidden !important;
}

.filepond--image-preview img,
.filepond--image-preview canvas {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;  /* фото полностью вмещается */
    object-position: center center !important;
    background-color: #000 !important;
}
.mobile-dark {
    --bg: #151D27;
    --text: #ffffff;
}

.bg-main {
    background-color: var(--bg);
}

.text-main {
    color: var(--text);
}
@media (max-width: 1023px) {
    .mb-mobile {
        height: 100px;
    }
}
.ui-autocomplete {
    z-index: 9999 !important;
}
input[type=range]::-webkit-slider-thumb {
    pointer-events: auto;
    appearance: none;
    height: 16px;
    width: 16px;
    background: #2563eb;
    border-radius: 9999px;
    cursor: pointer;
}

input[type=range]::-moz-range-thumb {
    pointer-events: auto;
    height: 16px;
    width: 16px;
    background: #2563eb;
    border-radius: 9999px;
    cursor: pointer;
}
/* Chrome, Safari, Edge */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}
.price-btn {
    background-color: #B90000;
    color: #fff;
}

.price-btn:hover {
    background-color: #990000;
}
.price-input:focus {
    border-color: #B90000;
    box-shadow: 0 0 0 2px rgba(185, 0, 0, 0.2);
}
/* Активная линия */
#rangeTrack {
    background-color: #B90000;
}

/* Кружки */
input[type=range]::-webkit-slider-thumb {
    background-color: #B90000;
}

input[type=range]::-moz-range-thumb {
    background-color: #B90000;
}
#rangeTrack {
    background-color: #B90000 !important;
}
/* Фон линии */
.range-track-bg {
    height: 4px; /* было 6–8 → делаем тоньше */
}

/* Активная часть */
.range-track-active {
    height: 4px;
}
/* Chrome / Edge / Safari */
input[type=range]::-webkit-slider-thumb {
    height: 12px;   /* было 16 */
    width: 12px;
    background: #B90000;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -4px; /* чтобы выровнять по центру линии */
}

/* Firefox */
input[type=range]::-moz-range-thumb {
    height: 12px;
    width: 12px;
    background: #B90000;
    border-radius: 50%;
    cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
    height: 12px;
    width: 12px;
    background: #B90000;
    border: 2px solid #fff; /* белая обводка */
    box-shadow: 0 0 0 1px #B90000; /* тонкий контур */
    border-radius: 50%;
}
#blurOverlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 999;
    display: none;
}

/* Меню */
#regionMenu {
    z-index: 1000;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
#regionToggle{
    z-index: 1001;
}
.mobileSearch{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:#fff;
    z-index:999;
    overflow-y:auto;
    padding:15px;
}

/* Кнопка закрытия */

.closeModal{
    display:flex;
    justify-content:flex-end;
    margin-bottom:20px;
}

.closeModal i{
    font-size:28px;
    cursor:pointer;
    color:#111;
}

/* Поиск */

.searchBox{
    position:relative;
    margin-bottom:20px;
}

.searchBox input{
    width:100%;
    height:52px;
    border:1px solid #ddd;
    border-radius:12px;
    padding-left:45px;
    font-size:16px;
}

.searchBox i{
    position:absolute;
    left:15px;
    top:50%;
    transform:translateY(-50%);
    color:#888;
}

/* Заголовки */

.blockTitle{
    font-size:22px;
    font-weight:bold;
    margin-bottom:15px;
}

/* Аккордеон */

.accordion{
    border:1px solid #eee;
    border-radius:14px;
    overflow:hidden;
    background:#fff;
    margin-bottom:25px;
}

.accordionItem{
    border-bottom:1px solid #eee;
}

.accordionHeader{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:18px 15px;
    cursor:pointer;
}

.accordionHeaderLeft{
    display:flex;
    align-items:center;
    gap:12px;
    font-size:18px;
}

.accordionHeader i{
    color:#666;
}

.accordionContent{
    display:none;
    padding:0 20px 20px 50px;
}

.accordionContent ul{
    list-style:none;
}

.accordionContent li{
    padding:10px 0;
    color:#444;
}

/* Открытый аккордеон */

.accordionItem.active .accordionContent{
    display:block;
}

/* Блок области */

.locationBlock{
    border:1px solid #eee;
    border-radius:14px;
    padding:15px;
    background:#fff;
}

.tabs{
    display:flex;
    margin-bottom:20px;
    border-bottom:1px solid #ddd;
}

.tab{
    flex:1;
    text-align:center;
    padding-bottom:12px;
    font-size:17px;
    cursor:pointer;
    color:#777;
}

.tab.active{
    color:#B90000;
    border-bottom:2px solid #B90000;
}

.locationSearch{
    position:relative;
    margin-bottom:20px;
}

.locationSearch input{
    width:100%;
    height:50px;
    border:1px solid #ddd;
    border-radius:12px;
    padding-left:45px;
    font-size:16px;
}

.locationSearch i{
    position:absolute;
    left:15px;
    top:50%;
    transform:translateY(-50%);
    color:#888;
}

/* Популярные города */

.cityList{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.city{
    padding:10px 16px;
    background:#f3f3f3;
    border-radius:50px;
    font-size:15px;
    cursor:pointer;
}

/* Кнопка */

.showBtn{
    width:100%;
    height:56px;
    border:none;
    border-radius:14px;
    background:#B90000;
    color:#fff;
    font-size:18px;
    margin-top:25px;
    cursor:pointer;
}
.tabs{
    display:flex;
    margin-bottom:20px;
    border-bottom:1px solid #ddd;
}

.tab{
    flex:1;
    text-align:center;
    padding-bottom:12px;
    font-size:17px;
    cursor:pointer;
    color:#777;
}

.tab.active{
    color:#B90000;
    border-bottom:2px solid #B90000;
}

.tabContent{
    display:none;
}

.tabContent.active{
    display:block;
}
.regionList{
    display:flex;
    flex-direction:column;
}

.regionItem{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:16px 5px;
    border-bottom:1px solid #eee;

    font-size:16px;
    cursor:pointer;

    transition:0.2s;
}

.regionItem.active{
    color:#B90000;
    font-weight:600;
    background:#fff5f5;
}

.regionItem i{
    opacity:0;
}

.regionItem.active i{
    opacity:1;
}

.regionItem:last-child{
    border-bottom:none;
}

.regionItem:hover{
    color:#B90000;
}
.selectedRegion{
    padding:12px 15px;
    margin-bottom:15px;

    background:#f5f5f5;
    border-radius:10px;

    font-size:15px;
}
