:root {
    --primary: #0048d9;
    --primary-bg: #e0edff;
    --primary-light: #e0edff;
    --primary-lighter: #f7fcff;
    --primary-border: #9da4b2;
    --light-border: #adcfff;
    --secondary: #888282;
    --font: "WorkSans", sans-serif;
    --title-font: "PTSans", serif;

    --text-color: #222;
    --background-color: #fcfcfc;
    --light-brown: #888282;
    --grey-light: #e9eff5;

    --title-border: var(--primary);
    --header-border: var(--primary-light);
    --header-color: #000;
    --header-color-scrolled: #000;
    --hero-color: #fff;

    --scrollbar-width: 15px;

    --gradient-primary: linear-gradient(89.71deg, #0e1e72 0.11%, #08022c 99.88%);
    --shadow: 0 3px 14px rgba(0, 0, 0, 0.1);
    --shadow-light: 0 0 15px rgba(0, 0, 0, 0.3);
    --shadow-primary: 0px 15px 25px rgba(33, 17, 219, 0.21);
    --gradient-secondary: linear-gradient(89.71deg, red 0.11%, #08022c 99.88%);
    --shadow-secondary: 0px 15px 25px rgba(33, 0, 0, 0.21);
}

/* Reset */
*,
::before,
::after {
    box-sizing: border-box;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-size: clamp(15px, 2vw, 16px);
}

b,
strong {
    font-weight: bolder;
}

small {
    font-size: 80%;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

button,
[type='button'],
[type='reset'],
[type='submit'] {
    -webkit-appearance: button;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
    height: auto;
}

[type='search'] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

/* Styles */
@font-face {
    font-family: "WorkSans";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("https://assets.smart-propylaia.com/worksans-variable.woff2") format("woff2");
}

body {
    scroll-behavior: smooth;
    font-family: var(--font);
    background-color: var(--background-color);
    color: var(--text-color);
    width: 100%;
    max-width: 2500px;
    margin: 0 auto;
    /* add if we need the fixed header, padding-top: 76px;*/
    line-height: 1.5;
}

.black {
    color: #000;
}

a {
    color: var(--primary);
}

h1 {
    line-height: 1.2;
    font-size: 20px;
}

h1 small {
    display: block;
}

@media (min-width: 900px) {
    h1 {
        font-size: 28px;
    }
}

h2,
h3 {
    line-height: 1.2;
}

.sans {
    font-family: var(--font);
}

p {
    margin: 0 0 0.8em;
}

blockquote {
    background-color: var(--primary-light);
    padding: 6px;
    margin: 0 0 0.8em;
}

blockquote> :last-child {
    margin: 0;
}

svg {
    display: block;
}

[role="button"] {
    cursor: pointer;
}

.react-share__ShareButton {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    height: 34px;
    width: 34px;
    cursor: pointer;
    border: 0;
    padding: 0;
    color: var(--light-brown);
    background-color: #fff;
    transition: background-color 0.3s, color 0.3s;
}

.react-share__ShareButton:hover {
    background-color: var(--light-brown);
    color: #fff;
}

.primary {
    color: var(--primary);
}

.bold {
    font-weight: 700;
}

.pre-wrap {
    white-space: pre-wrap;
}

.price {
    font-weight: 500;
    font-size: 24px;
    color: var(--primary);
    line-height: 1;
}

.price div {
    font-size: 16px;
    color: var(--text-color);
}

input[type="radio"] {
    position: relative;
    appearance: none;
    background-color: #fff;
    margin: 0;
    transform: translateY(2px);
    font: inherit;
    color: currentColor;
    width: 18px;
    height: 18px;
    border: 1px solid currentColor;
    border-radius: 50%;
    transition: background 175ms cubic-bezier(0.1, 0.1, 0.25, 1);
}

input[type="radio"]:checked {
    background-color: var(--primary);
}

input[type="radio"]::before {
    position: absolute;
    content: "";
    display: block;
    top: 2px;
    left: 6px;
    width: 5px;
    height: 9px;
    border-style: solid;
    border-color: #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    box-sizing: border-box;
}

input[type="radio"]:checked:before {
    opacity: 1;
}

.key-value-list {
    margin-top: 2em;
}

.compress_content h2 {
    margin: 20px 0 15px;
    font-size: 17px;
}

.compress_content p {
    font-weight: 300;
}

.compress_content .image {
    margin: 20px 0;
}

address {
    font-style: normal;
    font-weight: 300;
}

.description {
    white-space: pre-wrap;
    font-weight: 300;
    word-break: break-word;
}

.description p:empty {
    display: none;
}

@media (min-width: 1024px) {
    .description {
        padding-left: 32px;
    }
}

.fw-500 {
    font-weight: 500;
}

.fw-400 {
    font-weight: 400;
}

.m-0 {
    margin: 0;
}

.range-slider {
    margin: 18px 0 16px;
}

.range-slider .range-slider__range {
    background: #49a3e3 !important;
}

.range-slider .range-slider__thumb {
    background: #187dc5 !important;
}

.range-slider .range-slider__thumb:focus-visible {
    box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.3) !important;
}

.react-select>div:first-of-type {
    box-shadow: none;
    border-color: #ccc;
}

.react-select>div:hover {
    border-color: var(--primary);
}

.keyvalue-grid {
    display: grid;
    grid-gap: 20px;
}

@media (min-width: 1200px) {
    .keyvalue-grid {
        padding-left: 60px;
    }
}

@media (min-width: 900px) {
    .keyvalue-grid {
        grid-template-columns: 50% 360px;
        grid-gap: 0;
    }

    .keyvalue-grid> :first-child {
        padding-right: 45px;
    }
}

.hidden {
    display: none !important;
}

@media (max-width: 900px) {
    .hidden-tablet {
        display: none !important;
    }
}

@media (min-width: 901px) {
    .hidden-desktop {
        display: none !important;
    }
}

.formGrid {
    display: grid;
    grid-gap: 45px;
}

@media (min-width: 1024px) {
    .formGrid {
        grid-template-columns: 1fr 360px;
    }
}

.formGrid__form {
    /*This solves an issue with react-stickynode*/
    position: static;
}

.grid-bottom-right {
    align-self: end;
    justify-self: end;
}

hr {
    margin: 16px 0 9px;
    border: 0;
    border-top: 1px solid var(--grey-light);
}

.img-responsive {
    height: auto;
    width: auto;
    max-width: 100%;
    display: block;
}

.ucfirst:first-letter {
    text-transform: uppercase;
}

.fslightbox-toolbar> :first-child {
    display: none;
}

.noBullet {
    list-style-type: none;
    padding: 0;
}

li {
    margin-bottom: 0.8em;
    line-height: 1.1;
}

li>a {
    text-decoration: none;
}

.columnsUl {
    list-style-type: none;
    padding: 0;
    margin: 0;
    column-count: 3;
    font-size: 13px;
}

@media (min-width: 520px) {
    .columnsUl {
        font-size: 15px;
    }
}

@media (min-width: 720px) {
    .columnsUl {
        column-count: 4;
    }
}

.columnsUl li {
    margin-bottom: 1.2em;
    line-height: 1.1;
}

details {
    margin-bottom: 0;
}

summary {
    width: 100%;
    font-weight: 600;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0.025em;
    margin-bottom: 0.2em;
    cursor: pointer;
}

.limitedParagraph {
    max-width: 900px;
}

@media (min-width: 720px) {
    .limitedParagraph b {
        white-space: nowrap;
    }
}

.sidebarAd {
    display: none;
}

@media (min-width: 1600px) {
    .sidebarAd {
        display: block;
        position: absolute;
        width: 300px;
        left: calc((50vw + 479px));
        margin-top: -15px;
    }
}

.sidebarAdInner {
    padding-top: 15px;
}

.ico {
    height: 1em;
    width: 1em;
    display: inline-block;
}

.ico.medium {
    height: 24px;
    width: 24px;
}

.horizontal-scroll {
    overflow-x: auto;
}

.formInline,
.form {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid #ddd;
    padding: 15px 24px;
}

.form h1 {
    margin: 0 0 5px;
}

.formSliders .button {
    margin-top: 22px;
}

@media (min-width: 980px) {
    .formSliders {
        display: grid;
        grid-gap: 20px;
        grid-template-columns: 1fr 200px 1fr;
    }

    .formSliders .button {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }
}

.formInline .button {
    grid-column: unset;
    margin-top: 23px;
}

.whereGrid {
    position: relative;
}

.whereGrid .where-select__value-container {
    padding-right: 120px;
}

.whereGrid .distanceSelect {
    position: absolute;
    right: 0;
    top: 0
}

.whereGrid .distance-select__control {
    border-color: transparent;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    background-color: transparent;
}

.whereGrid .distance-select__control:hover {
    border-color: var(--primary)
}

.searchGrid {
    display: grid;
    grid-gap: 5px;
}

@media (min-width: 520px) {
    .searchGrid {
        grid-template-columns: 1fr 1fr;
        grid-column-gap: 10px;
        grid-row-gap: 0;
    }

    .searchGrid .where {
        grid-column: span 2;
    }
}

@media (min-width: 1024px) {
    .searchGrid {
        grid-template-columns: repeat(8, 1fr);
    }

    .searchGrid .make,
    .searchGrid .transaction {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }

    .searchGrid .model,
    .searchGrid .category {
        grid-column: 3 / 5;
        grid-row: 1 / 2;
    }

    .searchGrid .where {
        grid-column: 5 / 9;
    }

    .searchGrid .priceField,
    .searchGrid .rooms {
        grid-column: span 4;
    }
}

.searchGridInternational {
    display: grid;
    grid-gap: 5px;
}

@media (min-width: 520px) {
    .searchGridInternational {
        grid-template-columns: 1fr 1fr;
        grid-column-gap: 10px;
        grid-row-gap: 0;
    }

    .searchGridInternational .where,
    .searchGridInternational .state {
        grid-column: span 2;
    }
}

@media (min-width: 1024px) {
    .searchGridInternational {
        grid-template-columns: repeat(8, 1fr);
    }

    .searchGridInternational .transaction {
        grid-column: 1 / 3;
    }

    .searchGridInternational .category {
        grid-column: 3 / 5;
    }

    .searchGridInternational .where {
        grid-column: 5 / 7;
    }

    .searchGridInternational .state {
        grid-column: 7 / 9;
    }

    .searchGridInternational .priceField,
    .searchGridInternational .rooms {
        grid-column: span 4;
    }
}

.no-margin {
    margin: 0;
}

.mg-calc {
    background-color: var(--primary-light);
    position: relative;
    margin: 32px 0 0 -10px;
    width: calc(100% + 20px)
}

.mg-calc__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.mg-calc__grid {
    display: grid;
    grid-gap: 32px;
    padding: 16px;
    background-color: rgba(0, 0, 0, .20);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(12px);
}

.mg-calc__left {
    color: #fff;
}

.mg-calc h2 {
    margin-top: 0;
    font-size: 28px;
}

.mg-calc .key-value-list {
    margin-top: 0;
}

.mg-calc .key-value-list>div {
    padding: 0;
}

.mg-calc__link {
    color: var(--primary)
}

.mg-calc__fees {
    margin-top: 16px;
    padding: 8px 16px;
    border-radius: 8px;
    color: #666666;
    background-color: #e0edff;
    border: 1px solid #adcfff;
    line-height: 1.2;
}

.mg-calc__fees strong {
    font-size: 28px;
    font-weight: 500;
    align-self: center;
    justify-self: end;
    line-height: 0;
}

.mg-calc__form {
    position: relative;
}

.mg-calc__form h3 {
    margin: 12px 0 12px;
}

.mg-calc__final-page {
    background-color: #fff;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 32px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mg-calc__final-page h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 8px 0 16px;
}

.mg-calc .keyvalue {
    margin-top: 3px;
}

.mg-calc .keyvalue__value {
    text-align: right;
}

.mg-calc__backButton {
    width: 24px;
    height: 24px;
    padding: 3px;
    background-color: var(--grey-light);
    border: 0;
    position: relative;
}

.mg-calc__backButton:before {
    opacity: .7;
    content: "";
    border-right: 1.5px solid var(--text-color);
    border-bottom: 1.5px solid var(--text-color);
    width: .5em;
    height: .5em;
    margin-top: -.25em;
    display: block;
    position: absolute;
    top: 50%;
    right: .4em;
    transform: rotate(-225deg);
}

@media (min-width: 519px) {
    .mg-calc {
        width: 100%;
        margin: 32px 0 0 0;
    }

    .mg-calc__left {
        max-width: 75%;
    }

    .mg-calc,
    .mg-calc__grid,
    .mg-calc__bg {
        border-radius: 16px;
    }
}

@media (min-width: 830px) and (max-width: 1023px),
(min-width: 1200px) {
    .mg-calc__grid {
        padding: 16px 24px;
        grid-gap: 32px;
        grid-template-columns: 1fr 460px;
    }

    .mg-calc__left {
        align-self: center;
        max-width: 270px;
    }
}

.footer {
    background-color: #111;
    padding: 45px 10px 0;
    color: #fff;
}

.footer small {
    font-size: 15px;
}

.footer a {
    color: inherit;
    text-decoration: inherit;
}

.footer__grid {
    font-weight: normal;
    display: grid;
    grid-gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer__company {
    grid-column: 1 / 3;
}

.footer__company img {
    width: 185px;
    height: 41px;
}

@media (min-width: 520px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 768px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .footer__company {
        grid-column: unset;
    }
}

.footer__spacer {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer__endline {
    margin-top: 4em;
    text-align: center;
}