h2, .h2{
    font-size: max(2vh, 14px);
}
body[data-page-url="start"] h2{
    width:30%;
}
body[data-page-url="start"] .main{
    padding: 0 !important;
}
html{
    font-size: 16px;
}
.buttonSecondary {
    padding: 1em min(2em, 2vw);
}
/* Small Desktops and Down */
@media (max-width: 1280.98px){
    .featured-listings .item .buttons button span{
        display: none;
    }
    .featured-listings .item .buttons button .shareIcon{
        display: inline-block;
    }
}
/* Tablets and down */
@media (max-width: 1199.98px){
    html{
        font-size: clamp(10px, 14px, 3vh);
    }
    .footer{
        /* background: blue !important; */
    }
    .checkboxLine {
        font-size: 1em !important;
    }
    .buttonSecondary i {
        display: none;
    }
    .featured-listings .item .item_info>div {
        width: 100%;
    }
    .featured-listings .item .item_header {
        padding-bottom: 0.5em;
    }

    body[data-page-url="explore"] .leftSide h1{
        display: none;
    }
    body[data-page-url="explore"] .leftSide .mapFilter{
        margin: 0;
    }
    .propertyForm{
        max-height: calc(100% - 50px);
        bottom: 5px;
        right: 5px;
        overflow-y: auto;
    }
}

/* Smartphones and down */
@media (max-width: 1023px){
    .clk{
        width: calc(var(--buttonSize) / 2) !important;
        margin-left: calc(var(--buttonSize) / 4) !important;
        pointer-events: all !important;
        height:  calc(var(--buttonSize) / 2) !important;
    }
    .contactsLogo{
        display: none;
    }
    .coordsZoomDisplay{
        display: none;
    }
    .leftSide hr{
        display: none;
    }
    h1,.h1 {
        font-size: clamp(14px, 16px, 4vh);
        font-weight: 700;
        text-transform: uppercase;
    }
    body[data-page-url="start"] h2{
        width:100%;
    }
    .termsWrapper .terms{
        height:100%;
    }
    .swiper-pagination-bullet-active {
        box-shadow: 0 0 0 2px #ffffff !important;
    }
    .sliderDisclaimer{
        font-size: 1em;
    }
    .menuContainer{
        height: 100% !important;
    }
    .mainMenu {
        height: 100% !important;
        overflow-y: auto;
    }
    body[data-page-url="explore"] .footer{
        background: transparent !important;
        pointer-events: none;
        border:none;
    }
    body[data-page-url="explore"] .footerCenter{
        display: none !important;
    }
    .featuredPulsingMarker, .mapLayer360Pin {
        width:18px;
        height: 18px;
    }
    .buttonPrimary, .f-button{
        width:var(--mobileButtonSize) !important;
        height:var(--mobileButtonSize) !important;
        background-size: 80%;
    }

    .footerLogo{
        pointer-events: all;
    }
    .footerLogo img{
        width:26px;
        height:16px;
    }
    *{
        --mobileButtonSize:25px;
        --swiper-navigation-size:var(--mobileButtonSize);
    }
}


/* Theme fixes */
@media only screen and (orientation: landscape) and (max-width: 1023px) {

    .menuCloseButton {
        right: -24px !important;
    }
    main {
        padding: 0 0 var(--footerHeight) 0 !important;
    }
}


