
/*@font-face {
    font-family: 'bebas_neuebold';
    src: url('../frontend/fonts/bebasneue-bold-webfont.woff2') format('woff2'),
    url('/assets/css/newinterhouse/fonts/bebasneue-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'bebas_neuelight';
    src: url('../frontend/fonts/bebasneue-light-webfont.woff2') format('woff2'),
    url('/assets/css/newinterhouse/fonts/bebasneue-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'bebas_neueregular';
    src: url('../frontend/fonts/bebasneue-regular-webfont.woff2') format('woff2'),
    url('/assets/css/newinterhouse/fonts/bebasneue-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'bebas_neuethin';
    src: url('../frontend/fonts/bebasneue-thin-webfont.woff2') format('woff2'),
    url('/assets/css/newinterhouse/fonts/bebasneue-thin-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'bebas_neuelight';
    src: url('../frontend/fonts/bebasneue-light-webfont.woff2') format('woff2'),
    url('/assets/css/newinterhouse/fonts/bebasneue-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;

}*/

@font-face {
    font-family: 'fontello';
    src: url('../../css/frontend/fonts/fontello.eot?87219475');
    src: url('fonts/fontello.eot?87219475#iefix') format('embedded-opentype'),
    url('../../css/frontend/fonts/fontello.woff?87219475') format('woff'),
    url('../../css/frontend/fonts/fontello.ttf?87219475') format('truetype'),
    url('../../css/frontend/fonts/fonts/fontello.svg?87219475#fontello') format('svg');
    font-weight: normal;
    font-style: normal;
}

:root{
    --manu-label-color: #000;
    --text-color: #000;
    --text-color-2: #666;
    --text-color-3: #999;
    --text-color-light: #fff;
    --payoff-bg-color: #ffcc33;
    --payoff-text-color: #fff;
    --accented-color: #ffcc33;
    --accented-color-2: #FF5722;
    --footer-bg-color: #000;
    --footer-text-color: #fff;
    --submenu-bg-color: #000;
    --submenu-text-color: #fff;
}

.carousel .dots{
    width: auto;
    white-space: nowrap;
    position: absolute;
    display: inline-block;
    left: 50vw;
    transform: translate(-50%, -50%);
    bottom: 0;
}

.carousel .dots li{
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 10em;
    margin: 8px 4px;
    cursor: pointer;
    pointer-events: none;
}

.carousel .dots li.active{
    background: var(--accented-color);
    pointer-events: none;
}

.icon-ape{
    background: url(../../../assets/images/frontend/energy-class.svg) 50% 0 no-repeat;
    background-size: 0.84em;
}

.ape .icon-ape{
    /*background-size: 24px;*/
    background-size: 19px;
    /*display: inline-block;*/
    background-position: 50% 50%;
}

.icon-ape:before{
    visibility: hidden;
}


[data-aos=slide-up]{
    opacity: 0;
    -webkit-transform:translate3d(0,20%,0)!important;
    -moz-transform:translate3d(0,20%,0)!important;
    transform:translate3d(0,20%,0)!important;
}

[data-aos=slide-up].aos-animate{
    opacity: 1;
    -webkit-transform:translate3d(0,0,0)!important;
    -moz-transform:translate3d(0,0,0)!important;
    transform:translate3d(0,0,0)!important;
}

body{
    overflow: hidden;
    overflow-y: auto;
}

.underline{
    /*text-decoration: underline;*/
    display: inline-block;
    border-bottom: 4px solid #ffcc00;
}

.ui-icon {
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    speak: none;
    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    /* opacity: .8; */
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    margin-left: .2em;
    /* font-size: 120%; */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

*{
    margin: 0;
    padding: 0;
}

body{
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    color: #666666;
    font-size: 14px;
}

.demo-icon {
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    speak: none;
    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    /* opacity: .8; */
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    margin-left: .2em;
    /* font-size: 120%; */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}



svg.svg-sprites {
    display: none;
}

h1,h2,h3,h4,h5,h6{
    font-family: 'Playfair Display', serif;
    color: var(--text-color);
}

h1{
    font-size: 3.4rem;
}

h2{
    font-size: 2.6rem;
}

h3{
    font-size: 2rem;
}

h4{
    font-size: 1.6rem;
}

h5{
    font-size: 1.3rem;
}


.body_document .payoff h3,
.body_document .payoff h4,
.body_document .payoff h5{
    margin-bottom: 0.5em;
    line-height: normal;
}

.body_document .payoff h3 {
    color: var(--footer-bg-color);
}

.row.error-info .subtitle,
.body_document .payoff strong{
    color: var(--footer-bg-color);
    border-bottom: 8px solid var(--accented-color);
    display: inline-block;
    width: auto;
}

.row.error-info .title{
    line-height: 1;
    margin-top: 1em;
}

.row.error-info .subtitle{
    margin-bottom: 16px;
}


a.privacy_policy{
    color: #fff;
    text-decoration: none;
}

a.privacy_policy:hover{
    text-decoration: underline;
}

header {
    box-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

header + .header.fixed{
    position: fixed;
    z-index: 200;
    left: 0;
    top: 0;
    display: block;
    pointer-events: all;
    background: #fff;
    opacity: 0;
    border-bottom: 1px solid #f0f0f0;
    -webkit-box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

body.scrolled .main-menu-wrapper{
    position: fixed;
}


.header .logo:active,
header .logo:active{
    background-color: #fff;
}


#site-menu-toggler {
    display: none;
}

.site-menu > label[for="site-menu-toggler"]{
    display: none;
}

.main-menu-wrapper-desktop{
    display: inline-block;
    padding-bottom: 0;
    position: relative;
    width: auto;
    right: 0;
    top: 0;
    height: 100%;
}

.main-menu-wrapper-desktop [data-level="0"] {
    display: inline-block;
    box-shadow: none;
    display: inline-block;
    box-shadow: none;
    overflow: hidden;
    white-space: nowrap;
    padding-bottom: 0;
    width: auto;
}

.main-menu-wrapper-desktop .site-menu [data-level="0"] > li{
    margin-right: 0!important;
}

.main-menu-wrapper-desktop [data-level="1"] {
    display: inline-block;
    padding-top: 0!important;
    box-shadow: none;
    white-space: nowrap;
}

.main-menu-wrapper-desktop [data-level="1"] > li {
    padding-top: 30px;
}

.main-menu-wrapper-desktop [data-level="1"] > li.logo{
    padding-top: 0;
    height: 80px;
    -webkit-transform: translate(0,-22%);
    -moz-transform: translate(0,-22%);
    transform: translate(0,-22%);
    cursor: pointer;
}

.main-menu-wrapper-desktop [data-level="1"] > li.logo a{
    visibility: hidden;
}

.main-menu-wrapper-desktop [data-level="2"]{
    display: none;
    position: absolute;
    background: var(--text-color);
    color: var(--text-color-light);
    left: 50%;
    transform: translate(-50%, 0);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
    border-radius: 5px;
}

.main-menu-wrapper-desktop [data-level="2"]:after {
    content: '';
    position: absolute;
    display: block;
    width: 0;
    z-index: 1;
    border-style: solid;
    border-color: #000000 transparent;
    border-width: 0 8px 8px;
    top: -8px;
    left: 50%;
    margin-left: -4px;
}

.main-menu-wrapper-desktop li{
    display: inline-block;
}

.site-menu [data-level="0"] > li.active > a{
    display: none;
}

.site-menu [data-level="1"] li > a{
    text-decoration: none;
}


.site-menu [type="checkbox"]:checked ~ .main-menu-wrapper,
.site-menu [type="checkbox"]:checked ~ [data-level="0"]{
    display: none;
}

.header,
header{
    height: 80px;
    width: 100%;
    position: fixed;
    background: #fff;
    z-index: 20;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    top: 0
}

body > header nav .site-menu,
body > header nav{
    height: 100%;
}

body > section{
    border-top: 0;
    width: 100%;
}

section.row{
    margin: 0;
}

.row.cover {
    margin: 80px 0 0;
    padding: 0;
    height: calc(100vh - 90px);
/*height: 80vh;*/
}

.carousel > .covers > .cover{
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;

}

.cover .slide{
    width: 80%;
    max-width: 1080px;
    position: relative;
}

.slide.left{
    text-align: left;
    position: relative;
}

.slide.center{
    text-align: center;
    position: relative;
}

.slide.right{
    text-align: right;

}

.cover .slide h2{
    font-size: 3rem;
    margin-bottom: 16px;
    /*font-family: 'bebas_neuebold', 'Bebas Neue', 'Yanone Kaffeesatz', sans-serif;*/
    background-color: #ffcc33;
    color: #000;
    display: inline-block;
    white-space: pre-wrap;
}



.cover .slide p{
    margin: 16px 0;
    /* max-width: 260px; */
    color: #fff;
    background-color: #000;
    display: inline;
    padding: 1px;
    line-height: 3rem;
    font-size: 2rem;
    white-space: pre-wrap;
    /* display: inline-block; */
    z-index: 0;
    position: relative;
    z-index: 2;
}

.cover .slide .btn{
    position: absolute;
    margin: 16px 0 0;
    font-size: 1.2rem;
    display: block;
}

.cover .slide.center .btn{
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -moz-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}

.cover .slide.right .btn{
    right: 0;
   left: auto;
}

.cover .slide .btn .demo-icon{
    display: none;
}


.btn{
    background: rgba(0, 0, 0, 0.8);
    display: inline-block;
    width: auto;
    position: relative;
    padding: 8px 16px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    margin: 0 auto;
    text-align: center;
    border: 6px solid var(--accented-color);
}

.btn.no-border {
    border: 6px solid transparent;
}

.btn.outlined {
    background: transparent;
}


.btn:hover{
    background: rgba(0, 0, 0, 1);
}

.btn:active{
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    transform: scale(0.9);
}

.btn.light{
    border: 1px solid #72bf44;
    background: transparent;
    color: #72bf44;
}

.row.payoff{
    /*background-color: #1c1d5f;*/
    background-color: var(--payoff-bg-color);
    color: var(--payoff-text-color);
    text-align: center;
    margin: 0;
    padding: 0;
    position: relative;
}

.row.payoff .row-content:before,
.row.payoff .row-content:after,
.row.payoff:after,
.row.payoff:before {
    content: '';
    width: 80vw;
    height: 24px;
    position: absolute;
    background: var(--payoff-bg-color);
    /* transform: rotate(-5deg); */
    left: 50%;
    top: 0;
    transform: translate(-50%, -8px) rotate(-2deg);
}

.row.payoff:after{
    transform: translate(-50%, -8px) rotate(2deg);
}

.row.payoff .row-content:before,
.row.payoff .row-content:after{
    bottom: 0;
    top: auto;
    transform: translate(-50%, 8px) rotate(-2deg);
}

.row.payoff .row-content:after{
    transform: translate(-50%, 8px) rotate(2deg);
}

.row.payoff .row-content{
    width: 80%;
    max-width: 1080px;
    padding: 32px 0;
    margin: 0 auto;
}

.row.payoff .title{
    font-size: 2.6rem;
    margin-bottom: 0em;
    letter-spacing: -0.02em;
    color: var(--text-color);
    line-height: 1;
}

.row.payoff .content{
    font-size: 1.4rem;
    white-space: pre-line;
    line-height: 1;
}

.row.payoff .content u,
.row.payoff .content .underline{
    display: inline-block;
    position: relative;
}

.row.payoff .content u:before,
.row.payoff .content .underline:before{
    display: inline-block;
    content: '';
    border-bottom: 6px solid var(--text-color);
    color: var(--text-color);
    width: 100%;
    position: absolute;
    left: 0;
    top: 100%;
    -webkit-transform: rotate(-2deg);
    -moz-transform: rotate(-2deg);
    transform: rotate(-2deg);
}

.row.ourservices{
    padding: 64px 0;
    color: var(--text-color);
}

.row.ourservices.morecontent {
    border-top: 1px solid #f0f0f0;
    background: #fffdf6;
}

.row.ourservices h2{
    margin-top: 32px;
    text-transform: uppercase;
}

.row.ourservices h2 + p{
    padding-top: 0.2em;
    font-size: 1.4rem;
}

.row.ourservices ul{
    list-style: none;
    margin-top: 64px;
}

.row.ourservices ul .block{

}

.row.ourservices ul .block .icon{
    width: 96px;
    height: 96px;
    position: relative;
    margin: 0 auto 16px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    -webkit-border-radius: 20em;
    -moz-border-radius: 20em;
    border-radius: 20em;
    -webkit-box-shadow: 0 8px 12px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 8px 12px rgba(0,0,0,0.2);
    box-shadow: 0 8px 12px rgba(0,0,0,0.2);
    outline: 8px solid #fff;
}

.row.ourservices ul .as-svg .block .icon{
    background-size: 75%;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    outline: none;
}

.row.ourservices ul .title{
    font-size: 1.4rem;
    padding-bottom: 0.5em;
    color: var(--text-color);
    position: relative;
}

.row.ourservices ul .title:after{
    display: inline-block;
    content: '';
    border-bottom: 6px solid var(--payoff-bg-color);
    color: var(--payoff-bg-color);
    width: 64px;
    position: absolute;
    left: 50%;
    top: 100%;
    -webkit-transform: translate(-50%, 0) rotate(-1deg);
    -moz-transform: translate(-50%, 0) rotate(-1deg);
    transform: translate(-50%, -0.5em) rotate(-1deg);
}

.row.ourservices ul .block .content{
    font-size: 1rem;
    text-align: center;
    color: var(--text-color-2);
    height: 7rem;
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 90%;
    margin: 1em auto 64px;

    height: auto;
    margin: 1em auto 32px;
}

.row.ourservices ul .block .btn{
    background: transparent;
    color: var(--text-color);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%,0);
}

.row.ourservices ul li{
    position: relative;
    padding-bottom: 48px;
}

.row.ourservices ul .block .btn:hover,
.row.ourservices ul .block .btn:active{
    background: var(--text-color);
    color: var(--payoff-bg-color);
}


/***********
** QUICK LINKS
***********/

[name="quicklinks-annunci-filter"]{
    position: absolute;
    display: none;
}

.row.quicklinks {
    background: #f0f0f0;
    position: relative;
    padding-bottom: 64px;
}

.row.quicklinks .as-stack{
    height: auto;
    width: auto;
    text-align: center;
    margin: 1em 0;
    position: relative;
    box-sizing: border-box;
    white-space: nowrap;
    display: inline-block;
    border: 2px solid #000;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -moz-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    margin-bottom: 2rem;
}

.row.quicklinks .as-stack label{
    margin: 0;
    border-radius: 0;
    padding: 0.5em 2em;
}

.row.quicklinks .as-stack label.as-tab{
    display: inline-block;
    position: relative;
    cursor: pointer;
    padding: 0.5em 1em;
    color: #999;
    margin: 0;
    letter-spacing: 0;
    border: 1px solid #d0d0d0;
    padding: 8px 16px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    margin-left: -3px;
    background: #fff;
    color: var(--footer-bg-color);
    border: 0;
    border-right: 1px solid #000;
}

.row.quicklinks .as-stack label.as-tab:first-child{
    margin-left: 0;
}

.row.quicklinks .as-stack label.as-tab:last-child{
    border-right: none
}

[name="quicklinks-annunci-filter"][value="unknow"]:checked ~ div [for="ql-filter-unknow"],
[name="quicklinks-annunci-filter"][value="affitto"]:checked ~ div [for="ql-filter-affitto"],
[name="quicklinks-annunci-filter"][value="vendita"]:checked ~ div [for="ql-filter-vendita"]{
    background: var(--accented-color);
    color: #fff;
}

[name="quicklinks-annunci-filter"][value="unknow"]:checked ~ ul li:not([data-type="unknow"]),
[name="quicklinks-annunci-filter"][value="affitto"]:checked ~ ul li:not([data-type="affitto"]),
[name="quicklinks-annunci-filter"][value="vendita"]:checked ~ ul li:not([data-type="vendita"]){
    display: none;
}

.row.ourservices + .row.quicklinks{
    margin-top: 128px;
}

.row.quicklinks .row-content:before,
.row.quicklinks .row-content:after,
.row.quicklinks:after, .row.quicklinks:before {
    content: '';
    width: 80vw;
    height: 24px;
    position: absolute;
    background: #f0f0f0;
    /* transform: rotate(-5deg); */
    left: 50%;
    top: 0;
    transform: translate(-50%, -8px) rotate(-2deg);
}


[name="response"] + .row.contactus > .container:before,
[name="response"] + .row.contactus > .container:after{
    content: '';
    width: 80vw;
    height: 24px;
    position: absolute;
    background: #000;
    left: 50%;
    top: 0;
    transform: translate(-50%, -71px) rotate(-2deg);
}

.row.quicklinks + [name="response"] + .row.contactus > .container:after,
.row.quicklinks:after {
    transform: translate(-50%, -8px) rotate(2deg);
}

[name="response"] + .row.contactus > .container:after,
.row.quicklinks + [name="response"] + .row.contactus > .container:after{
    transform: translate(-50%, -71px) rotate(2deg);
}

/*
.row.quicklinks + [name="response"] + .row.contactus > .container{
    padding-top: 64px;
}*/



.row.quicklinks.results {
    padding-top: 1rem;
    padding-bottom: 4rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.row.quicklinks h3.pre-links{
    text-align: center;
    color: var(--text-color);
    font-size: 2.6rem;
    margin-bottom: 0.5em;
    text-transform: uppercase;
    font-weight: normal;
}

.row.quicklinks p.pre-links{
    text-align: center;
    color: var(--text-color);
    font-size: 1.4rem;
    line-height: 1;
    margin-bottom: 2rem;
}

.row.quicklinks.results h1 {
    text-align: center;
    color: var(--text-color);
    font-size: 3rem;
    margin-bottom: 0.5em;
}

.row.quicklinks.results p.no-results{
    text-align: center;
}

.row.quicklinks.results .badge.not-available{
    position: relative;
    display: block;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    padding: 4px 1em;
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em;
    background-color: #ff5722;
    visibility: visible;
    font-size: 0.8rem;
    line-height: 1;
    height: auto;
    width: 130px;
    margin: 4px auto;
}

.row.quicklinks .pre-links{
    text-align: center;
}

.row.quicklinks h2{
    color: #fff;
    margin-bottom: 0.6em;
}

.row.quicklinks ul.row > li.column{
    margin-bottom: 2em;
}

.row.quicklinks ul.row > li:only-child{
    flex-basis: 50%;
    max-width: 50%;
}

.row.quicklinks ul .btn{
    border-width: 2px;
    background: var(--accented-color);
    color: var(--text-color);
    padding: 0.6em 1em;
    border-color: var(--text-color);
    letter-spacing: 0;
    font-weight: bold;
    border-style: dashed;
}

.row.quicklinks ul .btn:hover{
    transform: scale(1.05);
}

.row.quicklinks ul .btn:active{
    transform: scale(0.95);
}

.row.quicklinks ul.row > li.column.as-svg .icon{
    background-size: auto 80%;
    background-position: 50%;
    background-color: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.row.quicklinks .container{
    position: relative;
    color: #999;

}

.row.quicklinks .sale-icon{
    background: url(../../../assets/images/frontend/sale-icon.png) 50% 50% no-repeat;
    width: 80px;
    height: 70px;
    position: absolute;
    left: 50%;
    margin-left: -40px;
    top: -50px;
    z-index: 2;
    background-size: 70px;
}

.row.quicklinks h2 span{
    display: inline-block;
    background: #1c1d5f;
    background: #72bf44;
    padding: 0 0.5em;
    display: block;
}

.row.quicklinks h2 span.mt{
    transform: rotate(1deg);
}

.row.quicklinks .content{
    margin-top: 0.6em;
    color: var(--text-color-3);
    font-size: 1rem;
    line-height: 1.2;
}

.row.quicklinks .price,
.row.quicklinks .info{
    margin: 16px 0;
    text-align: left;
}

.row.quicklinks .price{
    margin: 32px 0 0;
}

.row.quicklinks .info h6{
    color: var(--text-color);
    margin-bottom: 1em;
    font-size: 12px;

}

.row.quicklinks .price{
    font-size: 20px;
    color: var(--text-color);
    font-weight: 600;
    text-align: center;
}

.row.quicklinks .price span{
    display: inline-block;
    font-size: 25px;
    background: #FFC107;
    border-radius: 20em;
    color: #fff;
    margin: 0 0 8px;
    padding: 0;
    width: 32px;
    height: 32px;
    line-height: 32px;
    visibility: hidden;
    display: none;
}

.row.quicklinks .price .operation{
    visibility: visible;
    background: transparent;
    display: block;
    color: #1c1d5f;
    color: var(--text-color);
    width: auto;
    text-transform: lowercase;

}

.row.quicklinks .info > span{
    display: inline-block;
    text-align: center;
    color: #8c8c8c;
    font-weight: 400;
}

.row.quicklinks .info [class*=" icon-"]{
    font-size: 24px;
    color: #999;
}

.row.quicklinks p{
    font-size: 1.4rem;

}

.quicklinks ul.row{
    margin-top: 32px;
}

.quicklinks ul.row.reverse{
    flex-direction: row-reverse;
}

.quicklinks .icon{
    width: 100%;
    min-height: 208px;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    background-color: var(--footer-bg-color);
    border: 0;
    -webkit-border-radius: 5px 5px 0 0;
    -moz-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
    aspect-ratio: 16 / 9;
}

.row.quicklinks .icon .location{
    position: absolute;
    color: #fff;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    width: 100%;
    padding: 6px 4px;
    font-size: 1rem;
    text-shadow: 0 2px 2px rgba(0,0,0,0.5);
}

.row.quicklinks .icon .location span{
    margin-right: 0.4em;
}

.quicklinks .icon .type{
    position: absolute;
    color: #fff;
    padding: 4px 12px;
    background: #72bf44;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    display: inline-block;
    left: 50%;
    /* top: 8px; */
    -webkit-transform: translate(-50%, 8px);
    -moz-transform: translate(-50%, 8px);
    -ms-transform: translate(-50%, 8px);
    -o-transform: translate(-50%, 8px);
    transform: translate(-50%, 8px);
    white-space: nowrap;
    text-shadow: 0 2px 2px rgba(0,0,0,0.2);
    display: none;
}

.quicklinks > .container > nav{
    text-align: center;
    margin: 1em 0;
}

.quicklinks > .container > nav .btn{
    color: #fff;
    font-size: 1.2rem;
    line-height: 1;
    border-color: var(--text-color);
    font-weight: bold;
    background: var(--footer-bg-color);
}

.quicklinks > .container > nav .btn:hover{
    color: #fff;
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    transform: scale(1.05);
}

.quicklinks > .container > nav .btn:active{
    color: #fff;
    -webkit-transform: scale(0.95);
    -moz-transform: scale(0.95);
    transform: scale(0.95);
}

.quicklinks .icon .type.terreno_edificabile,
.quicklinks .icon .type.terreno_agricolo,
.quicklinks .icon .type.terreno_boschivo{
    background: #a96206;
}

.quicklinks .icon .type.studio,
.quicklinks .icon .type.bar{
    background: #FFC107;
}

.quicklinks{
    margin-bottom: 0;
    padding-bottom: 1em;
}


.card{
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    text-decoration: none;
    margin-bottom: 0;
    height: 100%;
    -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08), 0 -1px 4px rgba(0, 0, 0, 0.08);
    -moz-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08), 0 -1px 4px rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08), 0 -1px 4px rgba(0, 0, 0, 0.08);
    overflow: visible;
    -webkit-border-radius: 0 0 5px 5px;
    -moz-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
}

.card input[type="submit"]{
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
   border: 0;
    cursor: pointer;
    background: transparent;
}

.card .btn{
    letter-spacing: 1px;
}

.card .title{
    color: var(--text-color);
    line-height: 1;
    font-size: 1.4rem;
}

.card .container{
    padding: 1rem;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}

.ribbon::before, .ribbon::after {
    position: absolute;
    z-index: -1;
    content: "";
    display: block;
    border: 3px solid #8a1c28;
}

.ribbon-top-left::before, .ribbon-top-left::after {
    border-top-color: transparent;
    border-left-color: transparent;
}

.card .ribbon-top-left {
    top: -6px;
    left: -6px;
}

.ribbon-top-left::before {
    top: 0;
    right: 0;
}

.ribbon-top-left::after {
    bottom: 0;
    left: 0;
}



.ribbon-top-left span {
    right: -36px;
    top: 11px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.ribbon span {
    position: absolute;
    display: block;
    width: 144px;
    padding: 4px 0;
    background-color: var(--accented-color-2);
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    color: #fff;
    /* font: 700 18px/1 "Lato", sans-serif; */
    -webkit-text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    -moz-text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    /* text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2); */
    text-transform: uppercase;
    text-align: center;
    font-size: 12px;
    margin-bottom: 0;
    padding-bottom: 0;
    font-weight: normal;
    letter-spacing: 0.03em;
    line-height: 17px;
    font-family: monospace;
}



.card .ribbon {
    width: 59px;
    height: 59px;
    overflow: hidden;
    position: absolute;
    z-index: 2;
    display: none;
}

.as_new .ribbon{
    display: block;
}

.card .footer{
    padding: 0 1rem;
    margin: 0 0 2rem;
    text-align: center;
}


.challenge .numbers{
    color: var(--text-color);
    font-weight: bold;
    font-size: 1.4rem;
    padding-left: 12px;

    margin-top: -2px;
}

.plus:before{
    content: "+";
    display: inline-block;
    padding: 0 4px;
}

[data-type="info-request-modal"] .challenge > .column:first-child p{
    font-size: 1rem;
    padding: 0 6px;
}

[data-type="info-request-modal"] .challenge .numbers{
    display: block;
}


.row.contactus{
    text-align: center;
    /*background: #a4dbd9 url(/assets/images/newinterhouse/contact-us.jpg) 50% 100% repeat-x*/;
    /*background: #a4dbd9 url(/assets/images/newinterhouse/contact-us-small-min.png) 50% 100% repeat-x;*/
    background: var(--text-color);
    color: #fff;
    padding: 64px 0 128px;
    width: 100%;
    margin: 0;
    position: relative;
}

.row.contactus .title{
    color: #fff;
    font-size: 2.6rem;
    text-transform: uppercase;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 32px;
}

.row.contactus .description{
    color: #1c1d5f;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 300;
}


.row.contactus .button,
.row.contactus input[type="submit"] {
    display: inline-block;
    background-color: #1c1d5f;
    background-color: #fff;
    color: var(--text-color);
    text-decoration: none;
    border: 0;
    font-size: 1.4rem;
    padding: 0.5em 1em;
    margin: 64px auto;
    min-width: 200px;
    border-radius: 5px;
}

.row.contactus .button:hover{
    background: var(--accented-color);
}

.row.contactus:after {
    content: '';
    position: absolute;
    width: 70vw;
    max-width: 500px;
    bottom: 0;
    left: 50%;
    height: 4px;
    border-radius: 10em;
    background: #fff;
    opacity: 0.5;
    -webkit-transform: translate(-50%, -64px);
    -moz-transform: translate(-50%, -64px);
    transform: translate(-50%, -64px);
}


span.select-arrow:before{
    content: '\e81b';
    font-family: "fontello";
    position: absolute;
    color: #1c1d5f;
    font-size: 1em;
    padding: 1.5em 0;
    display: inline-block;
    right: 1.6em;
    pointer-events: none;
    line-height: 0;
}

::placeholder {
    color: #1c1d5f;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: pink;
}
::-moz-placeholder { /* Firefox 19+ */
    color: pink;
}
:-ms-input-placeholder { /* IE 10+ */
    color: pink;
}
:-moz-placeholder { /* Firefox 18- */
    color: pink;
}

::placeholder {
    color: #999;
}



input[type="number"]::-ms-input-placeholder,
input[type="number"]::-webkit-input-placeholder,
input[type="number"]::-moz-placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #666;
}



/**************
** ANNUNCIO
***************/



.body_annuncio .row.cover{
    height: 75vh;
}

.body_annuncio .cover-image-bg{
    height: 100%;
    width: 75vw;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50%;
}

.body_annuncio .cover-image-bg + .map{
    width: 25vw;
    height: 100%;
    background-color: #ccc;
}



/***********
** SEARCH BAR
************/

[data-type="search-bar"]{
    background: #fff;
    margin-top: 80px;
    margin-bottom: 0;
    padding: 4rem 0 2rem;
    border-bottom: 0 solid #f0f0f0;
    border-top: 0 solid #f0f0f0;
}

[data-type="search-bar"] .row.tabs-bar button{
    border: 0;
    height: auto;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    font: inherit;
    background: transparent;
}

optgroup[label]{
    color:#999;
    background-color: #fff;
}

[data-type="search-bar"] .row.tabs-bar button:active,
[data-type="search-bar"] .row.tabs-bar button:focus{
    border: none;
    outline: none;
}

[data-type="search-bar"] .select-arrow{
    pointer-events: none;
}

[data-type="search-bar"] label {
    color: #333;
    font-weight: bold;
    letter-spacing: 0;
    margin-bottom: 8px;
    display: block;
}

[data-type="search-bar"] .bar{
    background-color: #fff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 0 0 0 8px;
    -webkit-box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    -moz-box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    position: relative;
}

[data-type="search-bar"] .bar  .more-block{
    flex-basis: 100%;
    position: absolute;
    bottom: -48px;
    width: 100%;
}

[data-type="search-bar"] .bar .row{
    margin: 0;
}

[data-type="search-bar"] .bar label{
    position: absolute;
    -webkit-transform: translate(0, -32px);
    -moz-transform: translate(0, -32px);
    -ms-transform: translate(0, -32px);
    -o-transform: translate(0, -32px);
    transform: translate(0, -32px);
}

[data-type="search-bar"] .bar .column{
    padding-left: 0;
    padding-right: 0;
    margin: 0;
    border-right: 1px solid #f0f0f0;
}

[data-type="search-bar"] .bar > .column.search-btn{
    border: 0;
    background-color: #72bf44;
    cursor: pointer;
    -webkit-border-radius: 0 5px 5px 0;
    -moz-border-radius: 0 5px 5px 0;
    border-radius: 0 5px 5px 0;
    text-align: center;
}

[data-type="search-bar"] .search-btn-mobile{
    display: none;
}

[data-type="search-bar"] .search-btn-mobile .btn{
    width: 100%;
    height: 3rem;
}

[data-type="search-bar"] .search-btn-mobile:hover .btn,
[data-type="search-bar"] .search-btn-mobile .btn:hover,
[data-type="search-bar"] .bar  .search-btn:hover{
    background: #1c1d5f;
    overflow: hidden;

}

[data-type="search-bar"] .bar .column:last-child .btn:hover,
[data-type="search-bar"] .bar .column:last-child .btn{
    border: none;
    height: 48px;
    width: 100%;
    background: transparent;
    cursor: pointer;
}

[data-type="search-bar"] .bar select{
    border: 0;
    outline: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

/*[data-type="search-bar"] .bar .column:hover,
[data-type="search-bar"] .bar .column:focus{
    background: #fff9e0;
    border: 0!important;
    outline: 0;
}*/

[data-type="search-bar"] .bar input:focus,
[data-type="search-bar"] .bar select:focus{
    background: #fff9e0;
    border: 0!important;
    outline: 0;
}

[data-type="search-bar"] .bar select:active option{
    background: #c00;
}

[data-type="search-bar"] .column{
    position: relative;
}

[data-type="search-bar"] .bar input {
    height: 3rem;
    border: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

[data-type="search-bar"] select {
    height: 3rem;
    /*background: #fff;*/

}

[data-type="search-bar"] [name="more-filters"],
[data-type="search-bar"] [name="operation"]{
    display: none;
}

[data-type="search-bar"] .more-filters > .column .row > .column{
    margin-bottom: 8px;
}

[data-type="search-bar"] .more-filters input[name="mq_min"],
[data-type="search-bar"] .more-filters input[name="mq_max"],
[data-type="search-bar"] .more-filters input[name="mq"],
[data-type="search-bar"] .more-filters input[name="bagni"],
[data-type="search-bar"] .more-filters input[name="camere"],
[data-type="search-bar"] .more-filters select[name="stato"],
[data-type="search-bar"] .more-filters select[name="ape"]{
    height: 2.2rem;
}

[data-type="search-bar"] .more-filters span.select-arrow:before{
    height: 2.2rem;
    line-height: 2.2rem;
    top: 0;
}

[data-type="search-bar"] .more-filters label sup {
    position: absolute;
    margin-top: -2px;
    margin-left: 1px;
}

[data-type="search-bar"] .more-filters select[name="ape"] + .select-arrow:before{
    line-height: 2.3rem;
}

[data-type="search-bar"] .row.more{
    margin-top: 1em;
}

[data-type="search-bar"] .row.more-filters{
    display: none;
}

[data-type="search-bar"] .row.more label[for="more-filters"]{
    display: inline-block;
    position: relative;
    cursor: pointer;
    padding-left: 24px;
}

[data-type="search-bar"] .row.more label[for="more-filters"] .ui-icon{
    left: 0;
    line-height: 26px;
}


[data-type="search-bar"] .row.more label[for="more-filters"] .arrow:before {
    content: '\e802';
    color: inherit;
    left: 0;
}

[data-type="search-bar"] [name="more-filters"]:checked ~ .row.more label[for="more-filters"] .arrow:before {
    content: '\e800';
}

[data-type="search-bar"] [name="more-filters"]:checked ~ .row.more-filters{
    display: block;
    margin-top: 12px;
}

[data-type="search-bar"] .as-tab{
    display: inline-block;
    position: relative;
    cursor: pointer;
    padding: 0.5em 1em;
    color: #999;
    margin: 0 0.2em 1em;
    letter-spacing: 0;
    -webkit-border-radius: 20em;
    -moz-border-radius: 20em;
    border-radius: 20em;
    -webkit-transform: translate(0, -42px);
    -moz-transform: translate(0, -42px);
    -ms-transform: translate(0, -42px);
    -o-transform: translate(0, -42px);
    transform: translate(0, -42px);
    border: 1px solid #d0d0d0;
}

[data-type="search-bar"] [name="operation"][value="vendita"] ~ .row .pricerange-vendita,
[data-type="search-bar"] [name="operation"][value="affitto"] ~ .row .pricerange-affitto{
    visibility: hidden;
    pointer-events: none;
    display: none;
}

[data-type="search-bar"] .as-tab:hover{
    background: #fff;
}

[data-type="search-bar"]  .row [for="ope-affitto"]:hover,
[data-type="search-bar"] .row [for="ope-vendita"]:hover{
    background: #f0f0f0;
}

[data-type="search-bar"] [name="operation"][value="affitto"]:checked ~ .row [for="ope-affitto"],
[data-type="search-bar"] [name="operation"][value="vendita"]:checked ~ .row [for="ope-vendita"]{
    background: #FFC107;
    border: 1px solid #FFC107;
    color: #fff;
}

[data-type="search-bar"] [name="operation"][value="vendita"]:checked ~ .row .pricerange-vendita,
[data-type="search-bar"] [name="operation"][value="affitto"]:checked ~ .row .pricerange-affitto{
    visibility: visible;
    pointer-events: all;
    display: flex;
}


footer{
    padding: 32px 0 120px;
    background: var(--footer-bg-color);
    color: var(--footer-text-color);
    letter-spacing: 0;
    text-shadow: none;
    line-height: 1.2;
    position: relative;
}

footer h4 small{
    display: block;
    font-size: 1.2rem;
    color: var(--accented-color);
    margin-bottom: 64px;
}

footer h5 + .row{
    max-width: 400px;
    font-size: 1.2rem;
    color: var(--text-color-2);
}

footer h5 + .row .col-xs{
    position: relative;
}

footer h5 + .row .col-xs:last-child:before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 1px;
    background: var(--text-color-2);
    transform: translate(-1rem,0);
}

footer a.credits {
    display: block;
    position: absolute;
    width: 100%;
    text-decoration: none;
    margin-top: 0;
    left: 0;
    bottom: 16px;
    text-align: center;
    z-index: 2;
    color: #fff;
}


footer .where-we-are{
    color: var(--footer-text-color);
    font-size: 1.2rem;
    text-decoration: none;
    max-width: 300px;
    display: inline-block;
}

footer .where-we-are h5{
    position: relative;
    text-decoration: none;
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: normal;
    text-align: left;
    display: block;
    color: var(--accented-color);
    padding-left: 3em;
    line-height: 1;
}

footer .where-we-are p{
    text-align: left;
    padding-left: 0.5em;
    margin-bottom: 2em;
}

footer .where-we-are h5 .demo-icon{
    position: absolute;
    font-size: 2em;
    color: var(--accented-color);
    left: 0;
    margin: 0;
    padding: 0.1em 0 0;
}

a.credits .heart{
    color: #f00;
    -webkit-text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
    -moz-text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
    -ms-text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}

.privacy-cookie-settings{
    display: inline-block;
    background: transparent;
    -webkit-border: 1px solid #fff;
    -moz-border: 1px solid #fff;
    border: 1px solid #fff;
    border-radius: 3px;
    color: #fff;
    padding: 0.3em 1em;
    opacity: 0.6;
    font-family: inherit;
    cursor: pointer;
    margin-top: -2px;
    margin-left: 1em;
    position: absolute;
}

.privacy-cookie-settings:hover{
    opacity: 1;
}

footer a.credits:hover{
    text-decoration: unset;
}

footer .container{
    position: relative;
}

footer h5,
footer h4{
    margin-bottom: 0.5em;
}

footer .orari{
    position: absolute;
    right: 0;
    top: 0
}

footer .orari > span {
    display: block;
}

footer .numbers{
    margin-top: 0.5em;
    opacity: 0.6;
}

header + .header.fixed .container,
header  .container{
    padding-left: 0;
    padding-right: 0;
    position: relative;
    width: 100%;
}

header  .container{
    max-width: 1280px;
    height: 100%;
    position: relative;
    text-align: center;
    width: 100%;
}

header .logo.mobile{
    margin-top: 5px;
    display: none;
    position: absolute;
    width: 180px;
    height: 46px;
    background: url(../../images/frontend/logo-orange.svg) 50% 0 no-repeat;
}

.cover-image-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

@media all and (max-width: 980px){


    .container{
        padding-left: 32px;
        padding-right: 32px;
    }


    .row.quicklinks .sale-icon{
        top: -54px;
    }
    .row.payoff .title,
    .row.quicklinks h2{
        font-size: 2.2rem;
    }

    .row.quicklinks p {
        font-size: 1.4rem;
        line-height: 1.2em;
    }
}

@media all and (max-width: 800px){

    .main-menu-wrapper-desktop{
        right: 0;
        width: auto;
    }


    .row.quicklinks .sale-icon{
        top: -54px;
    }

    .carousel > .covers > .cover{
        align-items: flex-end;
    }

    .slide.right,
    .slide.left{
        text-align: center;
        -webkit-transform: translate(0, -100%);
        -moz-transform: translate(0, -100%);
        transform: translate(0, -100%);
    }

    .cover .slide.left .btn{
        left: 50%;
        -webkit-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        transform: translateX(-50%);
    }

    .row.quicklinks h2{
        font-size: 2rem;
    }

    .row.quicklinks p {
        font-size: 1.4rem;
        line-height: 1.2em;
    }

    .row.contactus .privacy{
        font-size: 1.2rem;
    }

    .row.quicklinks ul.row > li:only-child {
        flex-basis: 80%;
        max-width: 80%;
    }
}

@media all and (max-width: 940px){

    .header,
    header{
        height: 64px;
    }

    .header .logo,
    header .logo.mobile{
        display: block;

    }

    header > .container{
        width: 90%;
    }


    [data-type="search-bar"] .bar,
    [data-type="search-bar"] .bar .column{
        padding: 0;
        margin: 0;
    }

    [data-type="search-bar"] .bar .column:nth-child(1),
    [data-type="search-bar"] .bar .column:nth-child(2){
        flex-basis: 50%;
        max-width: 50%;
        margin: 0;
    }

    [data-type="search-bar"] .bar .search-btn{
        display: none;
    }

    [data-type="search-bar"] .search-btn-mobile{
        display: block;
    }

    [data-type="search-bar"] .bar .column:nth-child(1){
        border: 0;
    }

    [data-type="search-bar"] .bar .column:nth-child(2){
        border-right: 0;
        border-left: 1px solid #f0f0f0;
    }

    [data-type="search-bar"] .row.tabs-bar{
        text-align: center;
        display: inline-block;
        width: auto;
        left: 50%;
        -webkit-transform: translate(-50%, 0);
        -moz-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        -o-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
        position: relative;
        overflow: visible;
    }



    [data-type="search-bar"] .bar > .column:nth-child(3),
    [data-type="search-bar"] .bar > .column:nth-child(4){
        flex-basis: 100%;
        max-width: 100%;
        margin: 0;

        border-right: 0;
    }

    [data-type="search-bar"] .bar > .column:nth-child(3){
        border-top: 1px solid #f0f0f0;
    }

    [data-type="search-bar"] .bar > .column:nth-child(4){
        border-radius: 0 0 5px 5px;
    }

    [data-type="search-bar"] .bar > .column .row,
    [data-type="search-bar"] .bar > .column .column{
        margin: 0;
    }

    [data-type="search-bar"] .bar .column:nth-child(3) > label{
        display: none;
    }

    .site-menu [data-level="1"] > li.active > a:after,
    .site-menu [data-level="1"] > li > a.active:after{
        left: 0;
        transform: translate(-50%, 10%);
    }

    [name="site-menu-toggler"]:checked ~ header .main-menu-wrapper,
    [name="site-menu-toggler"]:checked ~ header [data-level="0"],
    .site-menu [type="checkbox"]:checked ~ .main-menu-wrapper,
    .site-menu [type="checkbox"]:checked ~ [data-level="0"]{
        display: block;
    }

    .site-menu > label[for="site-menu-toggler"]{
        display: block;
        border: 0;
    }

    .main-menu-wrapper-desktop{
        display: none;
    }

    .site-menu [data-level="0"]{
        z-index: 2;
        width: 100vw;
        overflow: hidden;
        text-align: center;
    }

    .row.cover{
        height: calc(100vh - 64px);
        margin: 0;
    }



    .row.quicklinks .sale-icon{
        top: -54px;
    }

    .row.quicklinks h2{
        font-size: 1.6rem;
    }

    .row.quicklinks p {
        font-size: 1.2rem;
        line-height: 1.2em;
    }

    .cover .slide p{
        font-size: 1.6rem;
    }

    .cover .slide.left .btn{
        font-size: 1.2rem;
    }

    .row.quicklinks ul.row > li:only-child {
        flex-basis: 90%;
        max-width: 90%;
    }



    .page-content .container h1.title + h2.subtitle{
        display: inline;
    }

    .page-content .container h1.title + h2.subtitle + .content{
        display: block;
        margin-top: 32px;
    }

    footer .col-xs-8{
        display: block;
        max-width: unset;
        flex-basis: 100%;
    }

    footer .where-we-are{
        display: block;
        margin: 32px 0 16px;
    }
}

@media all and (max-width: 500px){

    .cover .slide h2{
        font-size: 2.8rem;
        line-height: 1;
    }

    .cover .slide p{
        line-height: 1.1;
    }


    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .cover .slide{
        width: 90%;
    }

    .row.quicklinks ul.row > li:only-child {
        flex-basis: 100%;
        max-width: 100%;
    }


    .cover .slide.left .btn {
        font-size: 1.1rem;
    }

    .row.payoff .title{
        font-size: 1.6rem;
    }

    .row.quicklinks h2 {
        font-size: 1.8rem;
        line-height: 1;
    }

    .card .title{
        font-size: 1.8rem;
    }

    .row.contactus .xs-4{
        flex-basis: 100%;
        max-width: 100%;
    }

    .xs-6{
        flex-basis: 100%;
        max-width: 100%;
    }

    [data-type="search-bar"] .more-filters .column .row .column .xs-6{
        flex-basis: 50%;
        max-width: 50%;
    }

    .row.contactus form .row{
        flex-direction: column;

    }

    .row.quicklinks ul.row > li:only-child {
        flex-basis: 90%;
        max-width: 90%;
    }
}

@media all and (max-width: 400px){
    .site-menu [data-level="0"] li {
        display: block;
    }

    .row.quicklinks h2 {
        font-size: 1.3rem;
    }

    .row.quicklinks h2 span{
        padding: 0;
    }

}

@media all and (max-width: 340px){
    .cover .slide article {
        -webkit-transform: translateX(-1em);
        -moz-transform: translateX(-1em);
        transform: translateX(-1em);
    }
}