a {
    color: #009cf0;
    transition: all 0.3s ease
}

a:hover {
    color: #ff3300
}

h1 {
    margin-top: 1em
}

header {
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
    margin-bottom: 1em;
    padding: 0.5em 0
}

@media (min-width:960px) {
    header {
        padding: 1em 0
    }
}

header .section {
    justify-content: space-between;
    align-items: center
}

header .menu {
    list-style: none
}

@media (min-width:960px) {
    header .menu {
        display: flex;
        justify-content: space-between
    }
}

header .menu a {
    text-decoration: none;
    color: #333;
    text-transform: uppercase
}

header .menu a:hover {
    color: #ff3300
}

#block-realtyw-branding {
    max-width: 80px
}

@media (max-width:359px) {
    #block-realtyw-branding {
        display: none
    }
}

@media (min-width:960px) {
    #block-realtyw-branding {
        max-width: 261px
    }
}

#block-add-advertisement {
    flex-grow: 2;
    text-align: right
}

#block-add-advertisement .field a {
    display: inline-block;
    background: #00aaff;
    border-radius: 3px;
    line-height: 18px;
    padding: 7px 1em 7px;
    color: #fff;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
    font-size: 12px;
    text-decoration: none;
    text-transform: uppercase
}

@media (min-width:960px) {
    #block-add-advertisement .field a {
        padding: 7px 2em 7px;
        font-size: 0.875em
    }
}

#block-add-advertisement .field a:hover {
    background-color: #009aef
}

@media (min-width:960px) {

    #block-realtyw-account-menu .menu li,
    #block-account-annon-menu .menu li {
        font-size: 0.875em;
        line-height: 32px
    }

#block-realtyw-account-menu .menu li:not(:first-child),
#block-account-annon-menu .menu li:not(:first-child) {
        margin-left: 2em
    }
}

#block-realtyw-account-menu .account-menu__unread {
    display: inline-grid;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    place-items: center;
    border-radius: 10px;
    color: #fff;
    background: #f05a47;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    vertical-align: middle
}

/* Compact account card in the header. */
#block-realtyw-account-menu > ul {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 5px;
    list-style: none;
    border: 1px solid #d6e8f4;
    border-radius: 13px;
    background: linear-gradient(135deg, #f7fcff, #eef9ff);
    box-shadow: 0 6px 16px rgba(33, 79, 122, .08)
}

#block-realtyw-account-menu > ul > li,
#block-realtyw-account-menu > ul > li:not(:first-child) {
    margin: 0
}

#block-realtyw-account-menu > ul > li > a:not(.account-menu__unread) {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 8px;
    color: #31526e;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    text-transform: none
}

#block-realtyw-account-menu > ul > li:last-child > a {
    color: #75899b
}

#block-realtyw-account-menu > ul > li > a:not(.account-menu__unread):hover {
    color: #087ed0;
    background: #fff
}

#block-realtyw-account-menu .account-menu__unread {
    margin-left: 3px;
    box-shadow: 0 2px 5px rgba(220, 75, 61, .22)
}

@media (max-width:959px) {
    #block-realtyw-account-menu > ul { display: inline-flex; }
}

@media (min-width:960px) {
    header { position: relative; }

    header > .section:first-child #block-add-advertisement {
        flex-grow: 0;
        margin-left: auto;
        margin-right: 276px;
        text-align: right;
    }

    #block-realtyw-account-menu {
        position: absolute;
        z-index: 2;
        top: 16px;
        right: max(15px, calc((100% - 1200px) / 2 + 15px));
        transform: translateX(16px);
    }

    #block-realtyw-account-menu > ul {
        min-height: 42px;
        border-radius: 14px;
    }

    header > .section:nth-child(2) {
        min-height: 34px;
    }
}

#block-add-advertisement .field a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid #0798e3;
    border-radius: 11px;
    background: linear-gradient(135deg, #08a7f0, #0878ca);
    box-shadow: 0 7px 14px rgba(8, 126, 208, .22);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .015em;
    text-transform: none;
}

#block-add-advertisement .field a::before {
    content: '+';
    display: grid;
    width: 18px;
    height: 18px;
    place-items: center;
    border-radius: 6px;
    background: rgba(255,255,255,.2);
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
}

#block-add-advertisement .field a:hover {
    background: linear-gradient(135deg, #0799e2, #086cb5);
    box-shadow: 0 10px 18px rgba(8, 126, 208, .28);
    transform: translateY(-1px);
}

.header-menu-open {
    display: block;
    padding-top: 9px;
    padding-bottom: 9px;
    color: #009cf0
}

.header-menu-open:hover {
    color: #ff3300
}

.hamburger {
    display: block;
    border-top: 3px solid;
    border-bottom: 3px solid;
    position: relative;
    width: 30px;
    height: 21px;
    box-sizing: border-box
}

.hamburger:before {
    content: "";
    position: absolute;
    height: 3px;
    left: 0;
    right: 0;
    background-color: currentColor;
    top: 6px
}

.header-menu {
    position: fixed;
    z-index: 600;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden
}

@media (min-width:960px) {
    .header-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        background-color: #fff;
        flex-grow: 1;
        margin-top: 1.2em;
        z-index: 10
    }
}

.header-menu-opened .header-menu {
    transition: opacity 0.4s, visibility 0.4s
}

.header-menu-is-open .header-menu {
    visibility: visible;
    opacity: 1
}

.header-menu-close {
    position: absolute;
    color: #fff;
    top: 10px;
    left: 285px;
    padding: 10px 5px
}

.cross {
    display: block;
    width: 20px;
    height: 20px;
    position: relative
}

.cross:before,
.cross:after {
    content: "";
    position: absolute;
    height: 3px;
    right: 0;
    left: 0;
    top: 50%;
    margin-top: -2px;
    background-color: currentColor;
    border-radius: 2px;
    transform: rotate(45deg)
}

.cross:after {
    transform: rotate(-45deg)
}

.header-menu-body {
    position: absolute;
    background-color: #fff;
    top: 0;
    bottom: 0;
    left: 0;
    width: 280px;
    overflow: hidden;
    overflow-y: auto;
    transform: translateX(-100%)
}

@media (min-width:960px) {
    .header-menu-body {
        position: static;
        transform: none;
        width: auto
    }
}

.header-menu-opened .header-menu-body {
    transition: 0.4s
}

.header-menu-is-open .header-menu-body {
    transform: translateX(0)
}

.header-menu-is-open .header-menu-body>* {
    padding: 0 15px
}

.header-menu-is-open .header-menu-body .menu {
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
    margin: 0
}

.header-menu-is-open .header-menu-body .menu a {
    display: block;
    padding: 6px 0
}

@media (min-width:960px) {

    .header-menu-open,
    .header-menu-close {
        display: none
    }
}

.form-text,
.form-email,
.form-number,
.form-textarea {
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 5px 10px;
    outline-color: #00a0f5;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.125)
}

.form-select {
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 4px 10px;
    outline-color: #00a0f5
}

.form-submit {
    border: 1px solid #00aaff;
    border-radius: 3px;
    background: #00aaff;
    color: #fff;
    font-size: 16px;
    line-height: 20px;
    padding: 7px 2em 9px
}

.form-submit:hover {
    background-color: #009aef
}

.path-user .region-content {
    margin: 1.5em auto;
    border-radius: 5px;
    padding: 1em 2em;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2)
}

#main {
    margin-bottom: 2em
}

.view-flex .view-rows {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding-block: 20px;
}

.view-flex .views-row {
    padding: 0;
    box-sizing: border-box;
    margin-bottom: 1.5em;
    line-height: 1.1
}

.view-flex .views-field {
    margin: 0.5em 0
}

.view-flex .views-field-title {
    line-height: 18px;
    height: 18px;
    overflow: hidden
}

.view-flex .views-field-title a {
    text-decoration: none;
    font-weight: 600
}

.view-flex .views-field-field-cadastral-number {
    font-size: 0.875em;
    color: #9f9e9e
}

.view-flex .views-field-field-addres {
    font-size: 0.875em;
    margin-bottom: 1em
}

.views-field-field-polygon .leaflet-control-zoom {
    display: none
}

#leaflet-map-view-zemlya-attachment-1 {
    margin-bottom: 2em
}

.views-field-field-price {
    margin: 0
}

.views-field-field-price .area {
    position: relative
}

.views-field-field-price .area span {
    position: absolute;
    z-index: 10;
    background-color: #ffffaa;
    border: 1px solid #ffad33;
    border-radius: 5px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    min-width: 70px;
    padding: 7px 10px;
    left: 15px;
    bottom: 0%;
    font-size: 14px;
    line-height: 1.333;
    box-sizing: border-box;
    margin-bottom: 0.5em;
    opacity: 0;
    transition: 0.3s
}

.views-field-field-price .area span:before {
    content: "";
    display: block;
    position: absolute;
    width: 10px;
    height: 10px;
    transform: rotate(45deg) translate(-50%, -50%);
    left: 10px;
    top: 100%;
    border-right: solid 1px #ffad33;
    border-bottom: solid 1px #ffad33;
    background-color: #ffffaa
}

.views-field-field-price .area span:after {
    content: "";
    display: block;
    width: 30px;
    height: 8px;
    left: 20px;
    top: 100%;
    position: absolute;
    background-color: #ffffaa;
    z-index: 10;
    transform: translate(-50%, -100%)
}

.views-field-field-price .area:hover span {
    opacity: 1;
    bottom: 100%
}

.views-field-field-price .area b {
    display: inline-block;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    text-align: center;
    background: #fff;
    color: #999;
    font-size: 14px;
    line-height: 15px;
    font-style: italic;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    margin-right: 2px
}

.views-field-field-price .price {
    font-size: 1.125em;
    font-weight: 600;
    text-align: right
}

.facets-widget-checkbox label {
    display: inline;
    font-weight: normal
}

.node--type-land .field {
    margin-bottom: 0.5em
}

.node--type-land .field--name-field-price {
    font-size: 1.5em;
    color: #00aaff
}

.node--type-land .field--name-field-addres,
.node--type-land .author__label {
    font-size: 0.875em;
    color: #999
}

.node--type-land .field__label {
    font-weight: 900
}

.node--type-land .author__name {
    margin-bottom: 1em
}

.node--type-land .author__name a {
    font-size: 1.125em;
    text-decoration: none
}

.node--type-land .field--name-field-lot-area {
    margin: 1em 0
}

.node--type-land .map-and-summary {
    margin-bottom: 1.5em
}

.node--type-land .author__phone {
    padding: 20px 1em;
    text-align: center;
    font-weight: 600;
    font-size: 1.25em;
    background-color: #ebebeb;
    margin: 1em 0 0.5em
}

.node--type-land .field--name-field-photos {
    display: flex;
    flex-wrap: wrap
}

.node--type-land .field--name-field-photos .field__item {
    margin-right: 10px;
    border: 1px solid #ccc;
    padding: 1px
}

.node--type-land .field--name-field-photos .field__item:first-child {
    margin: 0 0 20px
}

.node--type-land.node--unpublished {
    padding: 1em 1.5em 0.5em;
    border-radius: 5px
}

footer {
    background-color: #f3f3f3;
    padding-top: 3em;
    padding-bottom: 3em
}

div[data-drupal-messages] {
    margin-top: 1.5em
}

.field--name-field-avatar .description {
    display: none
}

.form-item-pass-pass2 {
    margin-bottom: 0
}

.node-land-form,
.node-land-edit-form {
    padding: 1em 2em;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
    border-radius: 5px
}

.node-land-form .vertical-tabs,
.node-land-edit-form .vertical-tabs {
    display: none
}

.node-land-form .entity-content-form-footer,
.node-land-edit-form .entity-content-form-footer {
    margin-top: 0.5em;
    border-top: 1px solid #ccc
}

#edit-body-0--description {
    font-size: 0.875em;
    margin-top: -1em;
    color: #444
}

.field--name-field-photos.field--widget-image-image {
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 0.5em 1em;
    box-sizing: border-box;
    background: #fcfcfa
}

.field--name-field-photos.field--widget-image-image summary {
    font-weight: 600;
    margin-bottom: 0.3em
}

.field--name-field-photos.field--widget-image-image .description,
.field--name-field-photos.field--widget-image-image .tabledrag-toggle-weight-wrapper {
    display: none
}

.form-required::after {
    width: 7px;
    height: 12px;
    background-size: 7px 7px;
    display: inline-block;
    margin: 0 0.3em;
    content: "";
    vertical-align: middle;
    background-image: url("/themes/realtyw/../../core/misc/icons/ee0000/required.svg");
    background-repeat: no-repeat
}

#block-realtyw-cena .ui-slider-label {
    display: none
}

#block-realtyw-cena .ui-slider-float .ui-slider-tip {
    width: auto;
    padding: 0 4px
}

#block-realtyw-cena .item-list__range_slider {
    padding: 0;
    list-style: none
}

#block-realtyw-cena .facets-widget-range_slider {
    padding: 0 0.6em
}

#block-realtyw-cena #cena .ui-slider-handle .ui-slider-tip {
    left: auto;
    right: 0;
    margin-left: 0
}

#block-realtyw-cena #cena .ui-slider-handle .ui-slider-tip:before,
#block-realtyw-cena #cena .ui-slider-handle .ui-slider-tip:after {
    display: none
}

#block-realtyw-cena #cena .ui-slider-handle:nth-child(2) .ui-slider-tip {
    left: 0;
    right: auto
}

.leaflet-bottom.leaflet-right {
    display: none
}

#block-raskrytayaformazemlyapage-1>h2 {
    font-size: 1.2em;
    margin-top: 1.8em
}

#views-exposed-form-zemlya-page-1 h2 {
    font-size: 1em;
    font-weight: normal;
    margin: 0 0 4px;
    color: #000
}

#views-exposed-form-zemlya-page-1 .form-item {
    margin-top: 0
}

#views-exposed-form-zemlya-page-1 .block {
    margin-bottom: 1.5em
}

#views-exposed-form-zemlya-page-1 fieldset {
    padding: 0;
    margin: 0;
    border: 0 none;
    margin-bottom: 1.5em
}

#views-exposed-form-zemlya-page-1 fieldset legend {
    margin-bottom: 4px
}

#views-exposed-form-zemlya-page-1 fieldset .fieldset-wrapper {
    display: inline-block
}

#views-exposed-form-zemlya-page-1 fieldset .form-item {
    margin: 0
}

#views-exposed-form-zemlya-page-1 #edit-price-wrapper--4 label {
    display: none
}

#views-exposed-form-zemlya-page-1 #edit-price-wrapper--4 .form-item {
    box-sizing: border-box;
    width: 50%
}

#views-exposed-form-zemlya-page-1 #edit-price-wrapper--4 .form-item-price-min {
    padding-right: 2%;
    float: left
}

#views-exposed-form-zemlya-page-1 #edit-price-wrapper--4 .form-item-price-max {
    padding-left: 2%;
    float: right
}

#views-exposed-form-zemlya-page-1 #edit-price-wrapper--4 input {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #aaa;
    border-radius: 4px;
    height: 40px;
    box-shadow: none
}

#views-exposed-form-zemlya-page-1 #edit-area-wrapper--4 .form-item-area-min,
#views-exposed-form-zemlya-page-1 #edit-area-wrapper--4 .form-item-area-max {
    box-sizing: border-box;
    width: 50%
}

#views-exposed-form-zemlya-page-1 #edit-area-wrapper--4 .form-item-area-min label,
#views-exposed-form-zemlya-page-1 #edit-area-wrapper--4 .form-item-area-max label {
    display: none
}

#views-exposed-form-zemlya-page-1 #edit-area-wrapper--4 .form-item-area-min input,
#views-exposed-form-zemlya-page-1 #edit-area-wrapper--4 .form-item-area-max input {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #aaa;
    border-radius: 4px;
    height: 40px;
    box-shadow: none
}

#views-exposed-form-zemlya-page-1 #edit-area-wrapper--4 .form-item-area-min {
    padding-right: 2%;
    float: left
}

#views-exposed-form-zemlya-page-1 #edit-area-wrapper--4 .form-item-area-max {
    padding-left: 2%;
    float: right
}

#views-exposed-form-zemlya-page-1 #edit-area-units--3 {
    margin-bottom: 0.5em
}

#views-exposed-form-zemlya-page-1 #edit-area-units--3 .form-item {
    display: inline-block;
    margin-right: 20px
}

#views-exposed-form-zemlya-page-1 .form-submit {
    padding-left: 1.5em;
    padding-right: 1.5em
}

.select2-container--default .select2-selection {
    height: 40px
}

.select2-container--default .select2-selection .select2-selection__rendered {
    line-height: 37px
}

.select2-container--default .select2-selection .select2-selection__arrow {
    height: 37px
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #444
}
