@charset "UTF-8";

/*
Theme Name: Hart Van Brabant Makelaardij
Theme URI: https://www.hartvanbrabantmakelaardij.nl
Author: Commpanion
Author URI: https://www.commpanion.nl/
Description: 
Requires at least: 5.3
Tested up to: 5.6
Requires PHP: 5.6
Version: 2021
License: 
License URI: 
Text Domain: hvbm
Tags: 
*/



/* -------------------------------- */
/* white nav bar footer */

#nav{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    z-index: 5000;
    /*overflow: hidden;*/
}

#nav .wrapper{
    position: relative;
    display: flex;
}

#nav .logo{
    flex: 0 0 300px;    
    padding: .4em 1em .4em 0em; 
}

#nav .logo img{ max-height: 115px; width: auto; transition: all 1s; } 

#nav .menu{
    flex: 1;
    padding: 0;
    text-align: right;
}

#nav .menubox{
    position: relative;
    transition: all 1s;
    top: 0;
}


#nav .menu ul{
    display: block;
    margin-bottom: 2em;
    margin: 0;
    padding: 0;
    font-size: 0;
}

#nav .menu ul li{
    display: inline-block;
    list-style-type: none;
    margin: 0;
    padding: 0;
    font-size: 15px;
    
    position: relative;
}

#nav .menu ul li a{
    padding: 1.3em 1.1em;
    text-decoration: none;
    color: #2D2E78;
    text-transform: uppercase;
    display: inline-block;
    text-align: center;
    transition: all .4s;
    position: relative;
    overflow: hidden;
    z-index: 220;
    border-left: 2px solid #fff;
}

#nav .menu ul li a:after{
    background-color: #F0F0F0;
    content: '';
    position: absolute;
    display: block;
    transition: all 1s;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -2;
    opacity: 1;
}

#nav .menu ul li:hover a::after{
    bottom: 100%;
}

#nav .menu ul li a:before{
    background-color: #a61d1c;
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 500px;
/*    transform: rotate(-50deg);*/
    transition: all 1.2s;
    left: 0;
    top: 200%;
    bottom: 0;
    z-index: -1;
}

#nav .menu ul li:hover a::before{
    transform: rotate(0deg);   
    top: 0;
}

#nav .menu ul li:hover a{
    color: #fff;
}

#nav .menu ul li ul{
    position: absolute;
    bottom: 66px;
    right: -30px;
    background-color: #fff;
    border-bottom: 0;
    overflow: hidden;
    max-height: 0px;
    transition: all .2s;
    min-width: 200px;
    pointer-events: none;
    z-index: 200;
}

#nav .menu ul li:hover ul{
    bottom: 66px;
    right: 0;
    max-height: 100vh;
    pointer-events: auto;
    transition: all 1s;
}

#nav .menu ul li ul li{
    width: 100%;
    display: block;
    margin: 0;
    padding: 0;
}
#nav .menu ul li ul li a{ background-color: #fff; transition: all 1s; }
#nav .menu ul li ul li a, #nav .menu ul li:hover ul li a{
    margin: 0;
    display: block;
    padding: 1em 1.3em .9em 2em;
    text-align: right;
    color: #fff;
    background-color: #A61D1C;
    border: 0;
}

#nav .menu ul li ul li a:hover{
    background-color: #252664;    
    color: #fff;
}

#nav .menu ul li ul li a:before, #nav .menu ul li ul li a:after{ display: none; }

/*
#nav .menu ul li ul{
    display: none;
}*/

#hamburger{
    background-color: transparent;
    display: block;
    position: absolute;
    top: 0;
    right: -200%;
    bottom: 0;
    width: 200px;
    
    transition: all 1s;
    overflow: hidden;
}

#hamburger:before{ /* red background rotated */
    background-color: #F0F0F0;
    content: '';
    position: absolute;
    display: block;
    width: 500px;
    height: 500px;
    transform: rotate(-30deg);
    transition: all 1s;
    left: 90px;
    top: -200px;
    bottom: 0;
    z-index: -1;   
}

#hamburger:hover::before{
    transform: rotate(-25deg);
}

#hamburger span.line{
    position: absolute;
    top: 40px;
    right: 30px;
    width: 35px;
    height: 5px;
    border-radius: 3px;
    background-color: #2D2E78;
    transition: all 2s;
}

#hamburger span.line2{ top: 49px; }
#hamburger span.line3{ top: 58px; }
#hamburger span.linetitle{ 
    font-size: 14px;
    text-transform: uppercase;
    display: block;
    width: 35px;
    position: absolute;
    top: 75px;
    right: 30px;
    letter-spacing: 0;
    transition: all 2s;
    color: #2D2E78;
}

#hamburger:hover span.line1{ right: 40px }
#hamburger:hover span.line2{ right: 35px; }
#hamburger:hover span.line3{ right: 30px; }
#hamburger:hover span.linetitle{ right: 25px; }

#mobile{
    position: fixed;
    width: 100vw;
    top: 0;
    bottom: 0;
    padding: 1.2em;
    transition: left 1s, opacity 2s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 9999999;
}

#mobile.expanded{
    left: 0;
    opacity: 1;
}

#mobile.collapsed{
    left: 100vw;
    opacity: 0;
}

#mobile .mobnavtop{
    flex: 0 0 3em;
    padding-bottom: 2em;
}

#mobile .mobnavcontent{
    flex: 1;
    overflow-y: auto;
    text-align: center;
}

.mnav ul{
    padding: 1em 0;    
}

.mnav ul li{
    padding: .5em 0;
}

.mnav ul li ul, .mnav ul li ul li{
    padding: .2em 0;
}

.mnav ul li a{
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 20px;
    transition: all 1s;
}

.mnav ul li ul li a{
    text-transform: none;
    font-weight: normal !important;
    font-size: 16px;
}

#mobile .mobnavbottom{
    flex: 0 0 2em;
    padding-top: 2em;
}

#close{
    position: absolute;
    top: 1em;
    right: .5em;
    width: 4.2em;
    height: 3em;
    z-index: 1010;
    transition: all 2s;
    background-color: transparent;
}

#close span.line{
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 3px;
    background-color: #fff; 
    transition: all 1s;
    border-radius: 2px;
}

#close:hover span.line{
    width: 40px;
    height: 10px;
    transform: rotate(0deg);
}

#close span.line1{ top: 20px; transform: rotate(45deg); }
#close span.line2{ top: 20px; transform: rotate(-45deg); }

#nav .address{
    padding-right: 3em;    
    position: absolute;
    bottom: 1em;
    right: 0;
    transition: all 1s;
}

#nav .address-logos{ float: right; margin-left: 1em; }
#nav .address-logos img{
    height: 30px;
    width: auto;
    margin-top: -5px;
    margin-left: 10px;
}

/* -------------------------------- */
/* homepage harmonica */

#harmonica #hero{
    height: 100vh;
    max-height: 70vh;    
    background-color: #CCCCCC;
    z-index: 1;
    position: relative;
    transition: all 1s;
}
/*
#harmonica.expanded #hero{
    background-color: #A4A4A4;
    max-height: 200px;    
}*/

.headerbuttons{
    position: absolute;
    top: 2em;
    right: 3em;
    left: 3em;
    z-index: 1;
}

.headerbuttons .icologo{
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;    
}

#harmonica #hero .heroimg{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mlogo{
    margin-left: -1px;
    width: auto;
    height: 49px;
    float: right;
/*    border: 5px solid #fff;
    border-left: 10px solid #fff;
    border-right: 10px solid #fff;*/
}

#aanbod{
    position: relative;
    z-index: 2;
    padding-top: 1.2em;
    padding-bottom: 4em;
}


#ctabox{
    position: fixed;
    bottom: 40px;
    left: 0;
    right: 0;
    transition: all 1s;
    z-index: 10;
    padding-bottom: 80px;
}
/*
#ctabox .funda{
    height: 48px;
    width: auto;
    display: inline-block;
    margin-top: 1.3em;
    margin-right: 2em;
}*/

.aanbodbutton{
    position: absolute;
    top: -1.2em;
    left: 0;
    right: 0;
    background-color: #ededed;
    height: 1.2em;
    z-index: -1;
    transition: all 1s;
    font-size: 16px;
}

.aanbodbutton a{
    position: absolute;
    top: -3em;
    padding: 1em 2em .7em 2em;
    min-width: 200px;
    max-width: 400px;
    transition: all 1s;
    height: 4em;
    padding-left: 2em;
    padding-right: 8em;
    overflow: hidden;
    font-size: 16px;
    color: #2D2E78;
    text-transform: uppercase;
    font-family: 'MetaPro', Arial, Helvetica, "Sans-Serif";
    display: inline-block;
    text-decoration: none;
}

.aanbodbutton a:before{
    content: '';
    width: 500px;
    height: 500px;
    background-color: #ededed;
    display: block;
    position: absolute;
    top: -200px;
    right: 50px;
    z-index: -1;
    transform: rotate(-30deg);
}

#harmonica.expanded .aanbodbutton,
#harmonica.expanded .aanbodbutton button{
    height: 0;
    top: 0;
}

#harmonica.expanded #ctabox{
    bottom: -20em;
}

#ctabox h2{
    font-size: 24px;
    font-weight: lighter;
    margin-bottom: 1em;
    margin-top: 1em;
}

#ctabox .ctabuttons{
    margin-bottom: 1em;    
}

#overons{
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

#stappenplan{ 
    padding-top: 2em;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.stappenplan{
    margin-top: auto;

}

.stappenplan-illustratie{
    text-align: right;
    padding: 2em;
    position: relative;
}

.stappenplan-illustratie .stapuitleg{
    float: right;
    max-width: 550px;
}


.stappenplan-illustratie .raket{
    width: 65%;
    max-width: 200px;
    margin-right: -5px;
    margin-top: -2em;
}

.stappenplan-illustratie h3{
    font-size: 32px;
    margin: .8em 0;
    line-height: .9em;
    font-weight: lighter;
    text-transform: uppercase;
}

.stappenplan-illustratie h4{
    font-weight: lighter;
}

.stappenplan-form{ margin-top: 3em; } 


#footnote{
    padding-bottom: 10em;    
    text-align: right;
}

#footnote h3{
    color: #fff;
    font-weight: lighter;
    font-size: 20px;
    padding-right: 170px;
}

#footnote .wrapper{ position: relative; }

#footnote .funda{
    width: 100px;
    position: absolute;
    top: 3.3em;
    right: 3em;
}

#footnote .disclaimer{
    float: left; 
    text-align: left;
}

#footnote .disclaimer a{
    color: #fff;
    font-size: 12px;
    text-decoration:none;
    font-weight: lighter;
    opacity: .5;
    transition: all 1s;
}

#footnote .disclaimer a:hover{
    opacity: 1;    
}

/* overons element */

.overons{
    color: #fff;
    margin: 3em 0;
    display: flex;
}

.overons h2{
    font-size: 32px;
    line-height: .95em;
    font-weight: lighter;
    text-transform: uppercase;
    margin-bottom: 1em;
}

.overons .content p a{ color: #ededed; text-decoration: underline; }
.overons .content p a:hover{ color: #fff; }

.overons .col1{
    flex: 1;   
    padding-right: 4em;
}

.overons .col2{
    flex: 1;  
    max-width: 500px;
}

.overons .col2 img{
    border-radius: 3px;   
}

/* connect element */

.connect{
    display: flex;    
}

.connect li{
    flex: 1;
    padding: 0;
    margin: 0;
    margin-left: 3px;
    list-style-type: none;
    font-size: 16px;
}

.connect li:first-child{
    flex: 2;
    margin-left: 0;
}

.connect li a{
    display: block;
    background-color: #fff;
    color: #2D2E78;
    text-decoration: none;
    text-transform: uppercase;
    height: 2.5em;
}

.connect li a span{
    display: block;
    padding: .8em 1em .4em 1em;    
}

.connect li:first-child span{
    display: inline-block;
    position: relative;
    float: left;
}

.connect li:first-child span:first-child{
    color: #fff;
    background-color: transparent;
    position: relative;
    z-index: 1;
    padding-right: 4em;
    overflow: hidden;
}

.connect li:first-child span:first-child::before{
    background-color: #A61D1C;
    content: '';
    position: absolute;
    display: block;
    width: 200%;
    height: 300px;
    transform: rotate(30deg);
    transition: all 1s;
    right: 35px;
    top: -130px;
    bottom: 0;
    z-index: -1;
}


/* CARD */

.cardgrid{ 
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 1.5em;
    margin-bottom: 2em;
}

.card{
    border-radius: 3px;
    overflow: hidden;    
}

.card a{
    text-decoration: none;
    color: #2D2E78;
    transition: all 1s;
}
.card-header{
    background-color: #2D2E78;
    padding: .8em 1em .6em 1em;

}

.card-header.card-red{
    background-color: #A61D1C;
}

.card-header h3{
    color: #fff;
    text-transform: uppercase;
    font-weight: lighter;
    font-size: 14px;
}

.card-photo{
    height: 11em;    
    overflow: hidden;
}
.card-photo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content{
    padding: 1em;
}

.card-content p{
    text-align: left;
    color: #747474;
    font-size: 11px;
    overflow: hidden;
    height: 5em;

}

.card-content .content{ 
    text-align: left;    
}

.card-meta{
    background-color: #ededed;
    display: flex;
}

.card-meta .goto{
    background-color: transparent;
    flex: 2;
    display: inline-block;
    text-transform: uppercase;
    color: #fff;
    position: relative;
    overflow: hidden;
    z-index: 1;
    padding: 1.1em 1em .7em 1em;
    min-width: 125px;
    max-width: 160px;
    font-size: 13px;
}

.card-meta .goto:before{
    content: '';
    position: absolute;
    display: inline-block;
    width: 200%;
    height: 500px;
    background-color: #A61D1C;
    top: -300px;
    transform: rotate(30deg);
    right: 10px;
    z-index: -1;
    transition: all 1s;
}

.card:hover .goto:before{
    right: 20px;
}

.card-meta .price{
    flex: 3;
    text-align: right;
    text-transform: uppercase;
    display: block;
    padding: 1em 1em .7em 1em;
    font-size: 14px;
    line-height: 16px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}



/* PAGE */ 

body.page{
    background-color: #2D2E78;
}

body.page #hero{
    height: 35vh;    
    width: 100%;
    margin-bottom: -160px;
    z-index: 1;
}

body.page #hero.no-img{
    height: 220px;    
}



.pagenav{
    padding-top: 4em;   
    position: relative;
    z-index: 2;
}

.pagenav li{
    display: none;    
}

.pagenav li.current-menu-item,
.pagenav li.current-menu-item li,
.pagenav li.current-menu-ancestor,
.pagenav li.current-menu-ancestor li,
.pagenav li.current-menu-item a,
.pagenav li.current-menu-ancestor a{
    display: flex;    
}

.pagenav li .sub-menu{
    display: flex;    
}

.pagenav li a,
.pagenav li.current-menu-item li a{
    padding: 1.2em 2em .7em 2em;
    background-color: #ededed;
    margin-right: 2px;
    text-decoration: none;
    text-transform: uppercase;
    color: #747474;
    transition: all 1s;
} 

.pagenav li.current-menu-item a,
.pagenav li li.current-menu-item a{
    background-color: #fff;
    color: #2D2E78;
}

.pagenav li a:hover,
.pagenav li li a:hover{
    background-color: #A61D1C;
    color: #fff;
}

.page-content{
    position: relative;
    z-index: 2;
    margin-top: 4em;    
    margin-bottom: 6em;
    margin: 0 auto;
    background-color: #fff;
    padding: 3em;
    border-radius: 0 3px 3px 3px;
    overflow: hidden;
}

.page-content h1{
    margin-bottom: .7em;
}

.page-content .content{

}

.adress-box{
    float: right;
    width: 25%;
    margin-left: 2em;
    padding: 2em;
    background-color: #ededed;
    font-size: 14px;
    border-radius: 3px;
    margin-top: -2em;
}

.address-box a{ color: #2D2E78 !important; }
.address-box a:hover{ color: #A61D1C !important; }

/* OBJECT */

#obj-bgimage{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    transition: all 1s;
}

#obj-bgimage.blur{
    opacity: .2;
}

#object{
    position: relative;
    top: 0;
    padding-top: 95vh;
    padding-bottom: 40px;
    transition: all 1s;
}

#object #info{
    height: 140px;    
}

#object .object-content-button{
    position: fixed;
    bottom: 129px;
    left: 0;
    right: 0;
    transition: all 1s;
    
}
#object .object-content-button a{
    background-color: rgba(255,255,255,.8);
    display: block;
    width: 100%;
    padding: 1.4em 3em 1.2em 5em;
    font-size: 16px;
    text-align: left;
    text-transform: uppercase;
    color: #2D2E78;
    text-decoration: none;
    position: relative;
    transition: all 2s;
}

#object .object-content-button a:hover{
    background-color: #ededed;
}

#object .object-content-button a::before{
    content: '>>';  
    position: absolute;
    transform: rotate(90deg);
    left: 1.3em;
    top: .50em;
    font-size: 25px;
    transition: all 1s;
}

#object .object-content-button a:hover::before{
    color: #A61D1C;
    transform: rotate(-90deg);
}

#object .object-details{
	position: relative;
	z-index: 1;
	
}


#object.expanded .object-content-button{
    bottom: -100vh;    
}

#object header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 4000;
}

#object .object-content{
    padding: 3em;    
}


#object .object-grid{
    display: flex;    
    width: 100%;
}

#object .object-images{
    padding-right: 1em;  
    flex: 2;
    width: 66%;
}

#object .mainimage{
    height: 45vh !important;
    min-height: 450px;
    width: 100%;
    overflow: hidden;
}

#object .mainimage img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
    overflow: hidden;
}

#object .object-detaillist{
    padding: 2.5em 2em;
    flex: 1;
    border-radius: 3px;
    border: 1px solid #ededed;
    overflow: hidden;
}

#object .object-detaillist ul{ margin: 0; padding: 0; }
#object .object-detaillist li{
    padding: 10px 10px 7px 10px;
    list-style-type: none;
    display: flex;
}

#object .object-detaillist li:nth-child(odd){
    background-color: #F4F4F4; 
}

/*#object .object-detaillist li:first-child{ padding-top: 0; }
#object .object-detaillist li:last-child{ padding-bottom: 0; }*/
#object .object-detaillist li span:first-child{ flex: 1; width: 33%; padding-right: 2em; font-weight: bold; }
#object .object-detaillist li span:last-child{ flex: 2; width: 66%; color: #747474; }

#object #tab ul{
    display: flex;   
    padding: 1em 0;
}

#object #tab ul li{
    flex: 1;    
    list-style-type: none;
    padding-right: 4px;
}

#object #tab ul li:last-child{ padding-right: 0; }

#object #tab ul li button{    
    display: block;
    padding: 1em 1.5em .6em 1.5em;
    background-color: #F0F0F0;
    color: #747474;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    transition: all .6s;
    width: 100%;
    border-radius: 3px;
    font-weight: lighter;
}

#object #tab li.active button{    
    background-color: #2D2E78;
    color: #ededed;
}

#object #tab li button:hover{    
    background-color: #2D2E78;
    color: #fff;
}

#object .hide{
    display: none;    
}

#object .tabs-content-holder{
    max-width: 900px;
    margin: 0 auto;
    padding: 2em 0;
    border-radius: 3px;
}

#object .tabs-content-holder p{
    padding-bottom: 20px; 
    text-align: justify;
 -ms-word-break: break-all;
     word-break: break-all;

     /* Non standard for WebKit */
     word-break: break-word;

-webkit-hyphens: auto;
   -moz-hyphens: auto;
        hyphens: auto;
}

#object .object-open-house{
    padding: 1.5em;
    border-radius: 3px;
    margin-bottom: 1em;
    background-color: #eee;
}

#object .object-open-house h2{
    padding: 0;
    margin: 0;
}

#object .leaflet-container{
    width: 100% !important;   
    border-radius: 3px;
    overflow: hidden;
}

#object .movie iframe{
    width: 100%;    
    border-radius: 3px;
    overflow: hidden;
}

#object #content-videos h3{
    padding: .8em 1em .6em 1em;
    background-color: #2D2E78;
    color: #ededed;
    border-radius: 3px;
    font-size: 14px;
}

/*
.object-details div{
    padding: 2em;    
}*/

/* top bar object */
.obj-topbar-b{ color: #fff; }
.obj-topbar-b .column{ padding: 30px 2em 14px 2em; }
.obj-topbar-b .column:last-child{ text-align: right; }
.obj-topbar-b h1{ font-size: 22px; font-weight: lighter; text-transform: uppercase; }
.obj-topbar-b h3{ font-size: 18px; font-weight: lighter; text-transform: uppercase; }
.obj-topbar-w{ position: relative; height: 48px; z-index: 0; overflow: hidden; }
.obj-topbar-w .funda{ padding: .5em 2em; text-align: right; }
.obj-topbar-w .funda img{ height: 2em; width: auto; }
.obj-topbar-w .column{ float: left; } /* override */
.obj-topbar-w .third{ width: 33.3333%; } /* override */
.obj-topbar-w .twothird{ width: 66.6666%; } /* override */

.obj-topbar-w .btn{
	padding-left: 2em;
	padding-top: 1.1em;
	padding-bottom: 1em;
}

#object .bijlagen{ list-style-type: none; margin-bottom: 2em; }
#object .bijlagen a{
    display: block;
    text-decoration: none;
    padding: 1em 2em .6em 2em;
    background-color: #F0F0F0;
    color: #2D2E78;
    text-transform: uppercase;
    margin-bottom: .5em;
    border-radius: 3px;
    transition: all .4s;
}

#object .bijlagen a:hover{
   background-color: #A61D1C;
   color: #fff;    
}

#tabs-content-holder{
    overflow: hidden;
    transition: all .4s;
    position: relative;

}

#tabs-content-holder .expanded{
    max-height: 100000px;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 1;
}

#tabs-content-holder .collapsed{
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    max-height: 0px;
    overflow: hidden;
}

#tabs-content-holder .collapsed h2{
    max-height: 0px;
    overflow: hidden;
}

/* ARCHIVE */

#archive .archive-hero{
    height: 30vh;
    background-color: #CBCBCB;
}

#archive .archive-hero img.heroimg{
    height: 30vh;
    object-fit: cover;
}

#archive .archive-content{
    
    padding-bottom: 2em;
}

#archive .archive-nav ul{
    display: flex;    
}

#archive .archive-nav ul li{
    list-style-type: none;
    display: block;
    flex: 1;
    text-align: center;
}

#archive .archive-nav ul li a{
    background-color: #fff;
    display: block;
    margin-right: 2px;
    padding: 1em 1.3em .7em 1.3em;
    text-decoration: none;
    color: #2D2E78;
    text-transform: uppercase;
    text-align: center;
    transition: all .4s;
    overflow: hidden;
}
#archive .archive-nav ul li.current-menu-item a{ background-color: #eee; }

#archive .archive-nav ul li a:hover{
    color: #fff;
    background-color: #2D2E78;
}


#archive .archive-nav ul li:last-child a{ margin: 0; }

#archive h1{
    font-size: 32px;
    font-weight: lighter;
    padding-top: 3em;
    padding-bottom: .4em;
}

#archive .category-description{
/*    background-color: #fff;
    padding: 1.5em;
    border-radius: 3px;*/
    padding-bottom: 1.5em;
}

.pagnrs{
    overflow: hidden;    
    margin-bottom: 1.5em;
}

.pagnrs a,
.pagnrs span{
    float: left;
    margin-right: 2px;
    display: inline-block;
    padding: .6em 1em;
    border-radius: 3px;
    background-color: #fff;
    text-decoration: none;
    color: #2D2E78;
}

.pagnrs .current{
    background-color: #2D2E78;
    color: #fff;
}

.pagnrs .prev, .pagnrs .next{ display: none; }

/* KLANTEN/CASES */

.klant-case{
    background-color: #fff;
    position: relative;
    border-radius: 3px;
    overflow: hidden;
   
}
.klant-case a{
    position: relative;
    z-index: 0;
    text-decoration: none;
    color: #2D2E78;
    display: grid;
    grid-template-columns: 1fr 4fr;
}

.klant-content{
    padding: 3em 2em 2em 2em;
    position: relative;
    z-index: 0;
}

.klant-content h4{
    font-size: 1.3em;
    font-weight: lighter;
    margin-bottom: .2em;
}
.klant-content h3{
    font-size: 1.7em;
    font-weight: lighter;
    margin-bottom: .5em;
}

.klant-photo{
   overflow: hidden;
}

.klant-photo img{ width: 100%; height: 100%; object-fit: cover; }

.cases-hero{
    min-height: 8em;
    background-color: #fff;
}


body.post-type-archive-comm_cases h1.page-title{
    padding-top: 1.5em !important;    
}

body.single-comm_cases #hero{
    height: 35vh;    
    width: 100%;
    margin-bottom: -160px;
    z-index: 1;
}

body.single-comm_cases #hero.no-img{
    height: 220px;    
}

/* MEDEWERKERS */

.medewerkers{
    padding-top: 3em;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 1.5em;
    clear: both;
}

.medewerkers .medewerker{
    padding-top: 310px;
    position: relative;
    border-radius: 3px;
    overflow: hidden;
}

.medewerkers .medewerker .card-front{
    height: 320px;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    transition: all .6s;
	z-index: 1;
}

.medewerkers .medewerker .card-back{
    height: 320px;
    position: absolute;
    top: 0;
    right: 0;
    overflow: hidden;
    transition: all .6s;
	z-index: 1;
}

.medewerkers .medewerker .card-front img,
.medewerkers .medewerker .card-back img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /*height: 100%;*/
/*    object-fit: cover;*/
    border-radius: 0;
	min-height: 100%;
}

.medewerkers .medewerker.collapsed .card-front{ width: 100%; left: 0; transition: all .6s; }
.medewerkers .medewerker.expanded .card-front{ width: 100%; left: 0; transition: all .6s; }
.medewerkers .medewerker.collapsed .card-back{ width: 100%; left: -100%; transition: all .6s; }
.medewerkers .medewerker.expanded .card-back{ width: 100%; left: 0; transition: all .6s; }

.medewerkers .medewerker:after{
    position: absolute;
    top: 0;
    left: 0;
    content: 'i';
    width: 35px;
    height: 35px;
    line-height: 40px;
    text-align: center;
    background-color: #A61D1C;
    color: #fff;
    pointer-events: none;
	z-index: 4;
}

.medewerkers .medewerker .card-info{
    background-color: #fff;    
    border: 1px solid #ededed;
    border-radius: 3px;
    padding: 2em 2em 1em 2em;
    min-height: 160px;
}

.medewerkers .medewerker.expanded .card-info{
    background-color: #F1F1F1;   
    border: 1px solid #F1F1F1;
	min-height: 300px;
	position: relative;
	z-index: 0;
    padding-bottom: 50px;
}

.medewerkers .medewerker .card-info h3{
    margin: 0;
    padding: 0 0 5px 0;
    font-weight: lighter;
    font-size: 18px;
	line-height: 22px;
	margin-bottom: 10px;
    min-height: 50px;
    border-bottom: 1px solid #F1F1F1;
}

.medewerkers .medewerker .card-info h4,
.medewerkers .medewerker .card-info h5{
    text-transform: uppercase;
    font-weight: lighter;
    padding: 0;
    margin: 0;
    font-size: 10px;
    margin-bottom: 1em;
    margin-right: 5px;
    display: inline-block;
}

.medewerkers .medewerker .card-info h5{ 
    color: #747474; 
    background-color: #ededed;
    border-radius: 3px;
    display: inline-block;
    padding: 3px 7px;
    margin-right: 5px;
    margin-bottom: 5px;
    transition: all .6s;
}

.medewerkers .medewerker.expanded .card-info h5{
    color: #2D2E78;
    background-color: #fff;
}

.medewerkers .medewerker .card-info p{
    margin: 0;
    padding: 0;
    font-size: 14px;
    overflow: hidden;
    opacity: 1;
    transition: all .6s;
    max-height: 100px;
}

/*.medewerkers .medewerker.collapsed .card-info p{
    color: #2D2E78;
    max-height: 0px;
    opacity: 0;
}*/

.medewerkers .medewerker.collapsed .card-info ul{ margin: 0; padding: 0; opacity: 0; }
.medewerkers .medewerker.expanded .card-info ul{  opacity: 1; }
.medewerkers .medewerker .card-info ul{ margin: 25px 0 15px 0; padding: 0;  }
.medewerkers .medewerker .card-info ul li{
    list-style-type: none;
    background-color: transparent;
    padding: 8px 10px 7px 10px;
    margin: 0;
    z-index: 0;
    border-top: 1px solid #fff;
    color: #747474;
    font-size: 13px;
    text-transform: uppercase;
}
.medewerkers .medewerker .card-info ul li strong{
	display: inline-block;
    width: 40%;
	font-size: .8em;

}

.medewerkers .medewerker.collapsed .card-info ul li{ 
    height: 0px;
    margin: 0;
    padding: 0;
    border-top: 0px solid #fff;
    overflow: hidden;
}

.medewerkers .medewerker .card-info ul li:before{ display: none; }
.medewerkers .medewerker .card-info ul li:last-child a{
    display: block;
    text-decoration: none;
    color: #fff;
    background-color: #2D2E78;
    border-radius: 0 0 3px 3px;
    padding: 12px 3em 7px 3em;
	text-align: center;
    text-transform: uppercase;
}
.medewerkers .medewerker .card-info ul li:nth-child(odd){ background-color: #fff; 
}

.medewerkers .medewerker.expanded .card-info ul li:last-child{ 
	padding-top: 10px; 
	position: absolute;
	bottom: 0; left: 0; right: 0;
	border: 0;
	padding: 0;
	margin: 0;
	background-color: transparent;
}

.medewerkers button{
    height: 480px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    transition: all .6s; 
    outline: none;
    cursor: grab;
	z-index: 3;
}

/* FORM OVERRIDES */

.screen-reader-response, .wpcf7-response-output{
    display: none;    
}

.wpcf7-form-control-wrap{ position: relative; }
.wpcf7-not-valid-tip{
    position: absolute;
    top: -.7em;
    right: .3em;
    color: #A61D1C;
    font-size: 16px;
    background-color: #A61D1C;
    padding: .6em 1em 1.1em 1em;
    height: 2.25em;
    max-width: 10px;
    overflow: hidden;
    display: block;
    pointer-events: none;
    transition: all .2s;
    font-family: 'MetaPro', Arial, Helvetica, "Sans-Serif"; 
}

.wpcf7-not-valid-tip:before{
    content: '!';
    position: absolute;
    top: .1em;
    left: .47em;
    color: #fff;
    font-size: 24px;
    font-family: 'MetaPro', Arial, Helvetica, "Sans-Serif"; 
    opacity: 1; 
    transition: all .3s;
}

input:hover ~ .wpcf7-not-valid-tip:before{ opacity: 0; left: -3em; }
input:hover ~ .wpcf7-not-valid-tip{  max-width: 400px; color: #fff; }

.wpcf7-mailpoetsignup{
    
    position: relative;
    top: .5em;
    font-size: .85em;
    color: #747474;
    text-transform: uppercase;
    display: block;
    padding: 0em 0em 1.5em 0;
    padding-left: 40px;
}

.wpcf7-mailpoetsignup input[type="checkbox"]{
    display: block;
    
    opacity: 1 !important;
    width: 30px !important;
    height: 30px !important;
    padding: 0 !important;
    position: absolute;
    top: -.7em;
    left: -40px;
    background-color: #ededed;
    border: .5em solid #ededed;
    transition: all .5s;
    border-radius: 3px;
}

.wpcf7-mailpoetsignup input[type="checkbox"]:checked{
    background-color: #2D2E78;    
}

.recaptcha-btn{
    
}


.formgrid{
    display: flex;    
}

.formcol{
    flex: 1;
    width: 50%;
    padding-right: 2em !important;
    text-align: left !important;
}

.formcol:nth-child(even){
    padding-left: 2em;;    
}

.formcol input[type="checkbox"] ~ span{ height: 28px; }
.wpcf7-list-item-label{ text-align: left !important; }

.wpcf7-list-item{ 
    display: block; 
    overflow: hidden;
    clear: both;
}

/* NIEUWSBRIEF */

#nieuwsbrief{
    position: relative;    
    min-height: 80px;
    overflow: hidden;
    margin-top: 2em;
}
.nieuwsbriefblock{
    background: #fff;    
    margin: 0;
    border-radius: 3px;
    overflow: hidden;
    display: flex;
    transition: all 2s;
    max-height: 1000px;
    opacity: 1;
}

.collapsed .nieuwsbriefblock{
    max-height: 0px;
    overflow: hidden;
    opacity: 0;
}

.nieuwsbriefbutton{
    color: #A61D1C;
    background-color: #E4E4E4 !important;
    padding: 1.2em 2em 1.1em 2em;
    text-align: center;
    display: block;
    width: 100%;
    font-weight: lighter;
    border-radius: 3px;
    font-size: 18px;
    position: absolute;
    top: 0;
    left: 0; 
    right: 0;
    z-index: 200;
    transition: all 1s;
    opacity: 1;
}

.expanded .nieuwsbriefbutton{
    top: -100px;
    opacity: 0;
}

.nieuwsbriefheader{
    padding: 2em 2em 2em 3em;
    background-color: #2D2E78;
    flex: 2;
    color: #fff;
    width: 40%;
}

.nieuwsbriefheader h2{
    padding-bottom: .3em;    
    font-weight: lighter;
    font-size: 35px;
}

.nieuwsbriefblock #mailpoet_form_1{
    flex: 3;    
    width: 60%;
    padding: 2em 3em 2em 2em;
}


#mailpoet_form_1 form.mailpoet_form { padding: 0px !important; }

.nieuwsbriefblock .mailpoet_paragraph {
    margin-bottom: .5em !important;    
}

.nieuwsbriefblock .mailpoet_paragraph.last {
    margin-bottom: 0 !important;
}
.nieuwsbriefblock .mailpoet_paragraph input{
    padding: 1em 1.5em .7em 1.5em !important;
}

.nieuwsbriefblock .mailpoet_paragraph input[type="submit"]{
    width: auto !important;    
}

.page .nieuwsbriefheader{
    background-color: #ededed;
    color: #2D2E78;
}

/* -----------
   FILTER RESULTS */


.filter-results{
    background-color: #fff; 
    padding: 1.5em;
    border-radius: 3px;
    margin: 1em 0;
    border: 2px solid #fff;
    max-height: 2000px;
    transition: all 1s;
    position: relative;
    overflow: hidden;
}

.filter-results.collapsed{
    max-height: 50px;
    padding-top: 1em;
}

.filter-results form{
    display: grid;   
    grid-gap: 1.5em;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.filter-button{
    position: absolute;
    top: 0em;
    right: 0;
    min-width: 100%;
    min-height: 50px;
}

.filter-button span{
    width: 3px;
    height: 20px;
    border-radius: 50px;
    position: absolute;
    top: 15px;
    background-color: #2D2E78;
    transition: all .3s;
}

.filter-button span:nth-child(1){
    height: 20px;
    right: 22px;
    transform: rotate(-45deg);
}
.filter-button span:nth-child(2){
    height: 20px;
    right: 22px;
    transform: rotate(45deg);
}

.filter-results.collapsed .filter-button span:nth-child(1){
    height: 15px;
    top: 17px;
    right: 16px;
    transform: rotate(45deg);
}
.filter-results.collapsed .filter-button span:nth-child(2){
    height: 15px;
    top: 17px;
    right: 25px;
    transform: rotate(-45deg);
}

.filter-results h3{
    font-weight: lighter;
    margin-bottom: 1em;
    margin-top: -2px;
}

.filter-results input[type="checkbox"] ~ label{
    padding-left: 3em;
    position: relative;
    margin-bottom: 1em;
    margin-top: .7em;
    display: block;
    color: #747474;
    text-transform: uppercase;
    font-size: .8em;
}

.filter-results input[type="checkbox"] ~ label:before{
    content: '';
    width: 1.2em;
    height: 1.2em;
    background-color: #ededed;
    border: .5em solid #ededed;
    position: absolute;
    top: -.6em;
    left: 0;
    transition: all .5s;
    border-radius: 3px;
}

.filter-results input[type="checkbox"]:checked ~ label:before{
    color: #fff;
    background-color: #2D2E78;  
}

.filter-results p.yog-object-search-result{
    background-color: #efefef;
    padding: 1.5em;
    border-radius: 5px;
    font-size: 13px;
    text-transform: uppercase;
    color: #747474;
    margin-bottom: 1em;
}

/* ENERGIELABEL */

.energielabel{
    background-color: #ededed;
    display: block;
    padding: .3em 1em;
    font-weight: lighter !important;
    position: relative;
    height: 22px;
    width: 40px !important;
    font-size: 13px;
}

.energielabel:after{
    position: absolute;
    width: 15px;
    height: 15px;
    right: -8px;
    top: 4px;
    content: '';
    background-color: #ededed;
    transform: rotate(45deg);
    
}

.energielabel.energielabel-A:after, 
.energielabel.energielabel-A{ background-color: #71b464;  color: #fff !important; }

.energielabel.energielabel-B:after, 
.energielabel.energielabel-B{ background-color: #8cbe5d;  color: #fff !important; }

.energielabel.energielabel-C:after, 
.energielabel.energielabel-C{ background-color: #b5cf47;  color: #fff !important; }
/*
.energielabel.energielabel-D:after, 
.energielabel.energielabel-D{ background-color: #fde926;  color: #747474 !important; }

.energielabel.energielabel-E:after, 
.energielabel.energielabel-E{ background-color: #feb528;  color: #fff !important; }

.energielabel.energielabel-F:after, 
.energielabel.energielabel-F{ background-color: #ea5d2f;  color: #fff !important; }

.energielabel.energielabel-G:after, 
.energielabel.energielabel-G{ background-color: #e93c35;  color: #fff !important; }*/

/* ********************************************************************** */
/* ********************************************************************** */


/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (max-width: 1600px) {
    
    .cardgrid{ 
        grid-template-columns: 1fr 1fr 1fr;
    }
     
    
}

@media only screen and (max-width: 1200px) {
    
    .cardgrid{ 
        grid-template-columns: 1fr 1fr;
    }
    
    .medewerkers{ 
        grid-template-columns: 1fr 1fr 1fr;
    }
    
    /* top bar object */
    .obj-topbar-b h1, .obj-topbar-b h3{ font-size: 20px; }
    
    .adress-box{
        width: 50%;
    }
	
	.klant-case a{
		grid-template-columns: 1fr 2fr;
	}
    
    .formgrid{
        display: block;    
    }

    .formcol{
        padding: 0 0 1em 0 !important;
        width: 100%;
    }

    
}

@media only screen and (max-width: 1224px) {
    .pagenav li a, .pagenav li.current-menu-item li a {
        padding: 1em 1.5em .7em 1.5em;
    }
}

@media only screen and (max-width: 1130px) {
    
    
    .connect{
        flex-direction: column;    
    }
    
    .connect li{
        margin: 0;
        margin-bottom: 3px;
    }
    
    .medewerkers .medewerker .card-info ul li strong{
	    display: block;
    }
    
    .pagenav li a, .pagenav li.current-menu-item li a {
        padding: 1em 1em .7em 1em;
    }

    
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (max-width: 992px) {
    
    #nav .menubox{ top: 100vh;  }
    #nav .address{ bottom: -100vh; }
    
    #nav .wrapper{ height: 120px; }
    #nav .logo{
        flex: 2;   
        max-width: 300px;
        width: 70%;
    }
    
    #nav .logo img{ max-height: 100px; width: auto; } 
    
    #hamburger{
        right: 0;
    }
    
    .headerbuttons{
        right: 1.5em;
        left: 1.5em;
        top: 1em;
    }

    .mlogo{
        height: 41px;

    }
    
    #ctabox{
        position: fixed;
        bottom: 40px;
        left: 0;
        right: 0;
        transition: all 1s;
        z-index: 10;
    }
    
    .aanbodbutton button {
        top: -2.2em;
        padding-left: 1em;
        height: 3.2em;
        font-size: 14px;
    }
    

    
    .stappenplan-illustratie{
        text-align: left;
        padding: 2em 0;
    }
    
    .stappenplan-illustratie .raket{
        margin: 0 auto !important;    
    }
    
    .stappenplan-illustratie .stapuitleg{
        float: none;
        max-width: 100%;
    }
    
    #footnote h3{
        font-size: 20px;
        padding-right: 150px;
    }


    #footnote .funda{
        width: 80px;
        top: 2em;
    }
    
    
    .cardgrid,.medewerkers{ 
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 1em;
    }
    
    .medewerkers{ 
        grid-template-columns: 1fr 1fr 1fr;
    }
	
	.medewerkers .medewerker .card-info{
		padding: 1.5em 1em 1em 1em;
	}
    
    .overons .col1 {
        padding-right: 2em;
    }

    #object .object-content-button {
        bottom: 119px;
    }
    
    #object .object-content-button a {
        padding: 1.2em 2em 1em 4em;
        font-size: 16px;
    }
    
    #object .object-content-button a::before {
        left: 1.2em;
        top: .4em;
        font-size: 25px;
    }
    
    /* top bar object */
    .obj-topbar-b .column{ padding: 20px 1em 0px 1em; }
    .obj-topbar-b .column:last-child{ padding: 0px 1em 10px 1em; text-align: left; }
    .obj-topbar-b h1{ font-size: 18px; }
    .obj-topbar-b h3{ font-size: 15px; }
    .obj-topbar-w .funda{ padding: .5em 1em; }
    .obj-topbar-w .funda img{ height: 1.6em; width: auto; }
    .obj-topbar-w { height: 41px; } /* 34 */
	
	.obj-topbar-w .btn{
		padding-left: 1.2em;
		padding-top: .9em;
		padding-bottom: .8em;
	}
    
    #object .object-grid{
        display: block;  
    }
    
    .object-content h2 {
        font-size: 24px;
    }
    
    #object .object-images{
        width: 100% !important;
        flex: 0;
        padding: 0;    
    }
    #object .object-detaillist {
        width: 100% !important;
        flex: 0;
        margin-top: 1em;
        padding: 1.5em 1em;
    }
    
    #object .mainimage {
        min-height: 250px;
    }
    
     #object .object-content {
        padding: 1.5em !important;
    }
    
    #object #tab ul {
        display: block;
        border-radius: 3px;
        overflow: hidden;
        padding: 0;
        margin: 1em 0;
    }
    
    #object #tab ul li{ padding: 0; border-radius: 0; }
    #object #tab ul li a{ font-size: 13px; border-radius: 0; }

    .pagenav #primary-menu{ 
        margin-bottom: 1em; 
        border-radius: 3px;
        overflow: hidden;
    } 
    
    .pagenav{ padding-top: 3em; }
    .page-content{ 
        border-radius: 3px; 
        padding: 1em;
        padding-top: 1.5em;
    }
    
    .pagenav li.current-menu-item,
    .pagenav li.current-menu-item li,
    .pagenav li.current-menu-ancestor,
    .pagenav li.current-menu-ancestor li,
    .pagenav li.current-menu-item a,
    .pagenav li.current-menu-ancestor a,
    .pagenav li .sub-menu{
        display: block;   
        font-size: 13px;
    }

    .pagenav li a,
    .pagenav li.current-menu-item li a{
        margin-right: 0;
    } 
    
    #archive .archive-nav ul,
    #archive .archive-nav ul li,
    #archive .archive-nav ul li a{
        display: block;    
        margin-right: 0;
    }
    
    #archive .archive-nav ul li a{ border-bottom: 1px solid #eee; }
    #archive .archive-nav ul li:last-child a{ border: 0; }
    
    #archive .archive-nav ul{
        margin-top: 2em;    
        border-radius: 3px;
        overflow: hidden;
    }

    .nieuwsbriefblock{
        display: block;
    }

    .nieuwsbriefheader,
    .nieuwsbriefblock #mailpoet_form_1{
        width: 100%;
        padding: 1em;
        padding-top: 1.5em;
    }
    
    .nieuwsbriefheader h2{ font-size: 26px; }

    
    .adress-box{
        width: 50%;
    }
    
	.klant-case a{
		grid-template-columns: 1fr 1fr;
	}
	
	
	.nieuwsbriefbutton {
		padding: 1em 1em .9em 1em;
		font-size: 16px;
	}

	#nieuwsbrief {
		margin-top: 1em;
	}
	
    .filter-results form{
        display: grid;   
        grid-gap: 1em;
        grid-template-columns: 1fr 1fr;

    }
    
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width: 768px) {
   

    
    #ctabox h2 {
        font-size: 1.3em;
    }
    
    
    .overons h2 {
        font-size: 1.4em;
        line-height: .95em;
    }

    
    #footnote h3{
        color: #fff;
        font-weight: lighter;
        font-size: 16px;
        margin-bottom: 1em;
        padding-right: 0px;
        margin-top: 0em;
    }

    #footnote .funda{
        top: 0;
        right: 0;
        width: 60px;
        position: relative;
    }
    
    #footnote{
        padding-bottom: 8em;
    }
         
    .overons{
        margin: 2.5em 0;
        flex-direction: column-reverse;
    }
    
    .overons .col1{ padding: 0; }
    .overons .col2{ max-width: 100%; padding-bottom: 2em; }

    .card-meta .goto{
        min-width: 115px;
        max-width: 140px;
        font-size: 13px;
    }
    .card-meta .goto:before {
        right: 10px;
    }
    
    .card-meta .price{
        padding: .8em 1em .5em .2em;
        font-size: 18px;
        line-height: 14px;
    }
    
	

    .medewerkers .medewerker .card-front,
    .medewerkers .medewerker .card-back{ height: 260px; }
    .medewerkers .medewerker{ padding-top: 260px; }
    .medewerkers .medewerker .card-info h4{ font-size: 12px; }
    .medewerkers .medewerker .card-info p{ font-size: 12px; }

    .connect li{  font-size: 14px; }

    
    #object .object-content-button a {
        padding: 1em 1em .8em 4em;
        font-size: 13px;
    }
    
    #object .object-content-button a::before {
        left: 1em;
        font-size: 20px;
    }   

    
    .obj-topbar-b .column{ padding: 20px 1em 0px 1em; }
    .obj-topbar-b .column:last-child{ padding: 0px 1em 10px 1em; text-align: left; }
    .obj-topbar-b h1{ font-size: 16px; }
    .obj-topbar-b h3{ font-size: 13px; }
    .obj-topbar-w .funda{ padding: .4em 1em; }
    .obj-topbar-w .funda img{ height: 1.2em; width: auto; }
    .obj-topbar-w { height: 34px; } /* 34 */
    
    #object .object-content {
        padding: 1.3em !important;
    }
    
    .object-content h2 {
        font-size: 18px;
    }
    
    .nieuwsbriefheader h2{ font-size: 22px; }
    
    .adress-box{
        float: none;
        width: 100%;
        margin-top: 0;
        margin-bottom: 2em;
        margin-left: 0;
        padding: 1.5em;
    }
	
	.klant-case a{
		grid-template-columns: 1fr;
	}

	
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (max-width: 600px) {
    
    #nav .wrapper{ height: 90px; }
    #nav .logo{
        flex: 2;   
        max-width: 300px;
        width: 60%;
        padding: .4em 1em .4em 0em;
    }
    
    #nav .logo img{ max-height: 70px; width: auto; } 

    #hamburger span.line{ top: 25px; }
    #hamburger span.line2{ top: 38px; }
    #hamburger span.line3{ top: 51px; }
    #hamburger span.linetitle{ top: 63px; }
    
    .headerbuttons{
        right: 1em;
        left: 1em;
    }

	.obj-topbar-w .btn{
		padding-left: 1.2em;
		padding-top: .8em;
		padding-bottom: .7em;
	}
    
    #ctabox {
        bottom: 10px;
    }
    
    
    #ctabox h2 {
        font-size: 1.1em;
        margin-bottom: 1em;
        margin-top: 1em;
    }
    
    .mlogo{
        height: 30px;
     }
    
    .overons h2 {
        font-size: 1.3em;
        line-height: .95em;
    }

    #footnote h3 {
        font-size: 1em;
    }
    
    #footnote{
        padding-bottom: 6em;
    }
    
    .cardgrid,.medewerkers{ 
        display: grid;
        grid-template-columns: 100%;
        grid-gap: 1em;
    }
    
    .card-header{ padding: .8em 1em .6em 1em; }
    .card-header h3{ font-size: 12px; }
    .card-photo{ height: 11em; }
    .card-content{ padding: 1em; }
    .card-content p{ font-size: 9px; }
    .card-meta .goto{
        padding: 1.1em 0 .7em 1em;
        min-width: 135px;
        max-width: 160px;
        font-size: 11px;
    }
    .card-meta .goto:before {
        right: 10px;
    }
    
    .card-meta .price{
        padding: .8em 1em .5em .2em;
        font-size: 13px;
        line-height: 14px;
    }
    
    .connect li{  font-size: 13px; }
    
    #object .object-content-button {
        bottom: 89px;
    }
    
    #object .object-content-button a {
        padding: 1em 1em .8em 4em;
        font-size: 13px;
    }
    
    #object .object-content-button a::before {
        left: 1em;
        font-size: 20px;
    }
    
    #object .object-content {
        padding: 1em !important;
    }
    
    .filter-results form{
        display: block;

    }

}

/* fixing some height issues in horizontal mode */

@media only screen and (max-height: 500px) {
    
    
    #nav .wrapper{ height: 90px; }
    #nav .logo{
        flex: 2;   
        max-width: 300px;
        width: 60%;
        padding: .4em 1em .4em 0em;
    }
    
    #nav .logo img{ max-height: 70px; width: auto; } 
    #ctabox { bottom: 10px; }
    
    #ctabox h2 { margin-top: 0; margin-bottom: .5em; }
    #ctabox .ctabuttons { margin-bottom: 0; }
    
    #hamburger span.line{ top: 25px; }
    #hamburger span.line2{ top: 38px; }
    #hamburger span.line3{ top: 51px; }
    #hamburger span.linetitle{ top: 63px; }
    
    #object .object-content-button {
        bottom: 89px;
    }
    
    #object .object-content-button a {
        padding: 1em 1em .8em 4em;
        font-size: 13px;
    }
    
    #object .object-content-button a::before {
        left: 1em;
        font-size: 20px;
    }
    
    #nav .address {
        
        bottom: -51.3em;
    }
    
}

@media only screen and (max-height: 361px) {
    #ctabox{ top: 0; padding-top: 10%; }
}
