/*!
Theme Name: merkelijkheid_basis
Theme URI: https://merkelijkheid.nl
Author: Jens Diepenhorst
Author URI: https://merkelijkheid.nl
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: merkelijkheid_basis
*/
html{
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
}
body{
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-family: 'benton-sans', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 18px;
    color:#414141;
}
h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h6{
    font-family: 'ff-tisa-web-pro', serif;
    font-weight: 600;  
}
.sspfont{
    font-family: 'benton-sans', sans-serif;
}
.normalfont{
    font-family: 'benton-sans', sans-serif;
}
.text-rood{
    color: #F5120A;
}
.form-control{
    border-radius: 0px;
    min-height: 50px;
    color: #000;
}
#spacer{
    width: 100%;
}

#header{
    background: #F7F7F7;
}

#header_menu{
    padding: 1.2em 0;
    background: #F7F7F7;
}
#header_menu .container-fluid{
    max-width: 1920px;
}
.nav-link,.navbar-light .navbar-nav .nav-link{
    font-weight: 600;
    letter-spacing: 1px;
    color: #414141;
}
ul.navbar-nav li.active{
    border-bottom: 2px solid #F5120A;
}
img{
    max-width: 100%;
    height: auto;
}
#header{
    position: relative;
}
#header .header_img{
    background-size: cover !important;
    width: 100%;
    background-position: center;
    height: 100%;
}
#header .carousel-indicators li{
    width: 25px;
    height: 25px;
    background-image: url(img/point.svg);
    background-color: transparent;
    background-position: center;
    background-repeat: no-repeat;
    border: 0;
    opacity: 1;
}
#header .carousel-indicators li.active{
    background-image: url(img/point_active.svg);
}

#header .header_text span{
    font-family: 'ff-tisa-web-pro', serif;
    font-weight: 600;
    font-style: italic;
    line-height: 1.8;
    font-size: 30px;
    display: inline;
    background-color: #414141;
    color: #fff;
    box-shadow: 5px 0 0 #414141, -5px 0 0 #414141;
    z-index: 9;
    position: relative;
}
.knop{
    display: inline-block;
    background-color: #F5120A;
    color: #ffffff;
    font-size: 18px;
    padding: 15px 35px;
    border-radius: 5em;
    border: 0;
}
.knop:hover,.knop:focus{
    background-color: #a9110c;
    color:#fff;
    text-decoration: none;
}
.knop.small{
    font-size: 1em;
    padding: 10px 25px;
}
#tussen_kop .container{
    font-family: 'ff-tisa-web-pro', serif;
    font-weight: 600;  
    font-size: 2.2em;
}
#tussen_kop.klein .container{
    font-family: 'ff-tisa-web-pro', serif;
    font-weight: 600;  
    font-style: italic;
    font-size: 1.8em;
}
.optellen em strong{
    font-family: 'ff-tisa-web-pro', serif;
    font-weight: 800; 
    font-size: 3em;
    display: block;
    float: left;
    width: 50px;
    height: 100%;
    color: #646464;
    line-height: 40px;
}
.optellen p{
    min-height: 60px;
    margin-bottom: 1.5rem;
    display:inline-block;
}
#logos h3.tussenkop{
    font-family: 'benton-sans', sans-serif;
    font-weight: 600;
    text-align: center;
    font-size: 1em;
}
#logos .klant_logo {
    border: 5px solid transparent;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    padding: 5px;
    height: 120px;
    background: transparent;
}
#tweeluik_call_to_action{
    font-size: .8em;
    background-color: #F7F7F7;
    padding: 4em 0;
}
#tweeluik_call_to_action .container-fluid{
    max-width: 1300px;
}
#tweeluik_call_to_action .leftrow{
    max-width: 600px;
}
#tweeluik_call_to_action .rightrow{
    max-width: 600px;
}
#content_achtergrond_blur{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
#content_achtergrond_blur .container{
    position: relative;
    z-index: 2;
}
#content_achtergrond_blur .container .row{
    position: relative;
    z-index: 5;
}
#content_achtergrond_blur .container:after{
    content: "";
    top: 0;
    left:0;
    width: 100%;
    height: 100%;
    position: absolute;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.85);
    z-index: 1;
}
.underliner{
    border-bottom: 1px solid #8c8c8c;
}
.maxwidth .container{
    max-width: 850px;
    margin: 0 auto;
    font-size: 24px;
}
#afbeelding{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 350px;
}
#afbeelding:after{
    content: "";
    width: 409px;
    height: 350px;
    background-image:url(img/top_round.svg);
    background-repeat: no-repeat;
    position: absolute;
    top: 0px;
    left: auto;
    right: 25px;
}
#footer{
    background-color:#B8D6DB;
    color:#000;
    padding: 4em 0;
}
#footer .container{
    position: relative;
}
#footer p{
    margin-bottom: 0;
}
#footer a{
    color:#000;
}

/* Slider */
.slick-slider {
    position: relative;

    display: block;
    box-sizing: border-box;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list {
    position: relative;

    display: block;
    overflow: hidden;

    margin: 0;
    padding: 0;
}

.slick-list:focus {
    outline: none;
}

.slick-list.dragging {
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.slick-track {
    position: relative;
    top: 0;
    left: 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.slick-track:before,
.slick-track:after {
    display: table;

    content: '';
}

.slick-track:after {
    clear: both;
}

.slick-loading .slick-track {
    visibility: hidden;
}

.slick-slide {
    display: none;
    float: left;

    height: 100%;
    min-height: 1px;
}

[dir='rtl'] .slick-slide {
    float: right;
}

.slick-slide img {
    display: block;
}

.slick-slide.slick-loading img {
    display: none;
}

.slick-slide.dragging img {
    pointer-events: none;
}

.slick-initialized .slick-slide {
    display: block;
}

.slick-loading .slick-slide {
    visibility: hidden;
}

.slick-vertical .slick-slide {
    display: block;

    height: auto;

    border: 1px solid transparent;
}

.slick-arrow.slick-hidden {
    display: none;
}

button.slick-prev.slick-arrow {
    border: 0;
    color: transparent;
    /* background-image: url(img/terug.svg); */
    width: 50px;
    height: 50px;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    left: -80px;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.8;
    display: none !important;
}
#content_row_5 ul{
    padding: 0 0 0 17px;
}
#content_row_5 ul li{
    margin-bottom: 5px;
}

button.slick-next.slick-arrow {
    border: 0;
    color: transparent;
    /* background-image: url(img/volgende.svg); */
    width: 50px;
    height: 50px;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    right: -80px;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.8;
    display: none !important;
}

button.slick-next.slick-arrow:focus,
button.slick-next.slick-arrow:focus,
button.slick-next.slick-arrow:hover,
button.slick-next.slick-arrow:hover {
    outline: 0;
    opacity: 1;
}
.naw{    
    position: absolute;
    top: 0;
    right: 0;
    padding-right: .5rem;
    font-size: .9em;
}
.nawmob{
    font-size: .9em; 
}
.naw a,.nawmob a{
    color:#414141;
}
.singlepost{
    max-width: 930px;
    margin: 0 auto 4em auto;
}
.newsimg{
    width: 100%;
    height: 200px;
    display: block;
    background-size: cover;
    background-position: center;
}
.quotebox_in{
    font-size: 1.1em;
    min-height: 150px;
}
.midden{
    position: relative;
}

.acf-map {
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.acf-map img {
   max-width: inherit !important;
}
.projectbox_afbeelding{
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    margin-bottom: 15px;
}
a:hover .projectbox{
    text-decoration: none;
}
.projectbox{
    color: #414141;
    text-decoration: none;
    height: 100%;
    padding-bottom: 10px;
    border-bottom: 2px solid transparent;
}
.projectbox p{
    font-size: .8em;
}
.projectbox h4, .projectbox p{
    color: #414141;
    text-decoration: none;
}
.nohover a:hover{
    text-decoration: none;
}
.projectbox:hover{
    border-bottom: 2px solid #f5120a;
}
.line-hr{
    position: relative;
    text-transform: uppercase;
    font-size: 1.1em;
    letter-spacing: 2px;
}
.line-hr span.line-hr-in{
    display: inline;
    background:#fff;
    padding: 0 10px;
}
.line-hr:after{
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 0;
    top: 0;
    margin: auto;
    left: 0;
    background: #bbbbbb;
    z-index: -1;
}

.modal.bottompopup .modal-dialog {
    width:100%;
    max-width: 500px;
    position:fixed;
    bottom:25px;
    right:25px;
    margin:0;
}
.modal.bottompopup .close_big {
    width: 45px;
    height: 45px;
    position: absolute;
    left: -15px;
    top: -15px;
    border: 0;
    border-radius: 45px;
    background-image: url(img/close.svg);
    background-position: center;
}
.modal.bottompopup .close_big:focus{
    outline: 0;
}
.modal.bottompopup .close_big:hover{
    border: 2px solid #f5120a;
}
.modal.bottompopup .modal-dialog .modal-content{
    border-radius: 0px;
    padding: 30px 2.5em 15px 2.5em;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.65);
}
.modal.bottompopup .modal-dialog .modal-content .knop{
    width: 100%;
    margin-bottom: 10px;
    text-align: center;
}
.modal.bottompopup .modal-dialog .modal-content textarea.form-control {
        height: auto;
        max-height: 100px;
}
.modal.bottompopup .modal-dialog .modal-content h2 {
    text-align: center;
    font-family: 'benton-sans', sans-serif;
    font-weight: 800;
    font-size: 1.5em;
    margin-bottom: 25px;
}
.modal.bottompopup .modal-dialog .modal-content h3 {
        text-align: center;
        font-family: 'benton-sans', sans-serif;
        font-weight: 800;
        margin-top: 25px;
        font-size: 1.2em;
}
.modal.bottompopup .modal-dialog .modal-content p {
    margin-bottom: 0px;
}
.modal.bottompopup .modal-dialog .modal-content form br {
    display:none;
}
.modal.bottompopup .modal-dialog .modal-content form .form-control {
    margin-bottom: 15px;
}
.backtothetop{
    width: 64px;
    height: 64px;
    background-image: url(img/back_to_top.svg);
    position: absolute;
    right: 15px;
    top: -105px;
}
#headerslider{
    margin: 0 auto;
    max-width: 1920px;
    width: 100%;
}
.carousel-inner{
    height: calc((90vw - 200px) * 0.625);
    max-height: 630px;
    width: 100%;
}
.carousel-control-prev{
    background-image: url(img/pijl.svg);
    opacity: 1;
    background-position: bottom 15px right 15px;
    background-repeat: no-repeat;
}

.carousel-control-next{
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    transform: scaleX(-1);
    -ms-filter: fliph; /*IE*/
    filter: fliph; /*IE*/
    background-image: url(img/pijl.svg);
    opacity: 1;
    background-position: bottom 15px right 15px;
    background-repeat: no-repeat;
}
.carousel-control-next-icon,.carousel-control-prev-icon{
    display:none;
}

#head_navigation a:hover{
    text-decoration: none;
}
.news_banner{
    background-image: url(img/Buro-Amsterdam_Gouden-AAP-2021_banner.png);
    width: 200px;
    height: 130px;
    position: absolute;
    left: -24px;
    top: 15%;
    z-index: 5;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
}
.news_banner_twee{
    background-image: url(img/Buro-Amsterdam_Award-Foeliestraat_ARC21_240px.jpg);
    width: 170px;
    height: 120px;
    position: absolute;
    left: -24px;
    top: calc(15% + 150px);
    z-index: 5;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
}

@media (min-width: 1200px) {
    .navbar-brand img {
        max-width: 250px;
    }

    #header .header_text {
        position: absolute;
        bottom: 0px;
        left: 0px;
        right: 0px;
        margin: 0 auto;
        padding-bottom: 2.5em;
    }
}
@media (min-width: 576px) {
}
@media (min-width: 768px) {
    .quotebox{
        padding: 15px;
    }
    .navbar{
        padding: 0;
    }
}
@media (min-width: 992px){
    #content_achtergrond_blur,#afbeelding{
        background-attachment: fixed;
    }
    .midden:before{
        content: "";
        position: absolute;
        left: -7.5px;
        top: 0;
        height:100%;
        width: 1px;
        background:#000;
    }
    .midden:after{
        content: "";
        position: absolute;
        right: 7.5px;
        top: 0;
        height:100%;
        width: 1px;
        background:#000;
    }
    #footer .hcenter{
        display:flex;
        align-items:center;
    }
    #content_achtergrond_blur .container{
        padding: 3em;
    }
    #content_achtergrond_blur{
        padding: 3em;
    }
    ul.navbar-nav li{
        margin-right: .4rem;
        margin-left: .4rem;
    }
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: .6rem;
        padding-left: .6rem;
        padding-bottom: 0px;
    }
}



@media (max-width: 1200px) { 
    .nav-link, .navbar-light .navbar-nav .nav-link {
        padding-bottom: 0px;
        padding-top: 15px;
    }
    .header_text{
        padding-top: 50px;
        padding-bottom: 50px;
    }
    #header .header_text span{
        background-color: transparent;
    }
    .header_text span br{
        display:none;
    }
    #header{
        background-color: #414141;
        padding-bottom: 25px;
        text-align: center;
    }
    #header .header_text span{
        line-height: 1.2;
    }
}
@media (max-width: 992px){
    .news_banner{
        width: 200px;
        height: 130px;
    }
    .header_text span br{
        display:none
    }
    #primary-menu{
        width: 100%;
    }
    #content_achtergrond_blur .container{
        padding-top: 25px;
        padding-bottom: 25px;
    }
    #content_achtergrond_blur{
        padding-top: 25px;
        padding-bottom: 25px;
    }
    #header .header_img,#headerslider,.carousel-inner{
        height: 300px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {
    .news_banner{
        width: 125px;
        height: 65px;
    }
    .quotebox_in{
        min-height: auto;
    }
    .quotebox_in p{
        margin: 0;
    }
    .quotebox i{
        margin-bottom: 35px;
        display:inline-block;
    }
    .quotebox h2{
        margin-top: 15px;
    }
    .navbar-brand{
        max-width: 200px;
    }
    .navbar{
        padding: 0;
    }
    .modal.bottompopup .modal-dialog {
        width: 100%;
        max-width: 500px;
        position: fixed;
        left: 15px;
        top: 25px;
    }
    .modal.bottompopup .modal-dialog .modal-content{
        background: gray;
    }
    .carousel-control-prev,.carousel-control-next{
        display: none;
    }
    .knop{
        font-size: 17px;
    }
    .optellen p {
        min-height: 60px;
    }
    h1{
        font-size: 2.1em;
    }
    #tussen_kop .container{
        font-size: 1.5em;
    }
    .optellen em strong{
        height: 60px;
    }
    #spacer{
        max-height: 50px;
    }
    #tweeluik_call_to_action{
        padding: 2em 0;
    }
}

/* Custom, iPhone Retina  */
@media only screen and (max-width : 320px) {
}
@media (max-width: 576px) {
    .optellen em strong {
        height: 85px;
    }
    #header .header_img,#headerslider,.carousel-inner {
        height: 180px;
    }
    .bottompopup .popuptekst .knop,.bottompopup .popuptekst br,.bottompopup .popuptekst h3{display:none;}
    #header .header_text span {
        font-size: 1.5em;
    }
    .news_banner_twee{
        width: 110px;
        height: 63px;
        position: absolute;
        left: -24px;
        top: auto;
        bottom: 0;
    }
}