#heroA{
    position: relative;
    overflow: hidden;
}

#heroA::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #00000045;
    top: 0;
    left: 0;
    z-index: 1;
}

#heroA .mediahero .teksthero .groenekubuswrapper{
    position: relative;
    width: 100%;
    height: 100%;
    display: contents;
}

#heroA .mediahero .teksthero .groenekubus{
    background: #ae0018;
    width: 75px;
    height: 75px;
    position: absolute;
    right: 50px;
    top: 20px;
}

body:not(.home) #heroA{
    margin-bottom: 220px;
}

#heroA .herobeeldmerk{
    position: absolute;
    top: -00px;
    right: 0%;
    height: 100%;
    width: auto;
    max-width: none;
    z-index: 0;
    pointer-events: none;
}

#heroA .herobeeldmerk img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#heroA .mediahero{
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

#heroA .mediahero .heroimg{
    width: 100%;
}

#heroA .mediahero img{
    width: 100%;
    height: 750px;
    object-fit: cover;
}

#heroA .mediahero .teksthero{
    position: absolute;
    left: 10%;
    box-sizing: border-box;
    z-index: 1;
}

#heroA .mediahero .teksthero span{
    position: relative;
    display: inline-flex;
    align-items: center;
}

#heroA .mediahero .teksthero span:before{
    position: absolute;
    right: -60px;
    height: 2px;
    width: 50px;
    content: '';
    background: black;
}

#heroA .mediahero .teksthero p{
    font-size: 25px;
    line-height: 30px;
}

#heroA .mediahero .teksthero > *{
    margin: 0;
    color: white;
}

@media only screen and (max-width: 1100px) {

    #heroA .mediahero img{
        height: 600px;
    }
    
    #heroA .mediahero .teksthero .groenekubus{
        top: -85px;
    }

    #heroA .mediahero .teksthero{
        right: 10%;
    }

    #heroA .mediahero .teksthero{
        top: 150px;
    }
}

@media only screen and (max-width: 700px) {
    header#mainbar figure.nav-logo a, header#mainbar figure.nav-logo{
        max-width: 100%;
    }
    header#mainbar figure.nav-logo a img{
        height: 55px!important;
        max-width: 100%;
    }
    
}