/* =================================================================
BASE STYLES
================================================================= */
nav ul, .submenu ul, footer ul {
    list-style:none;
    margin:0;
    padding:0;
}
.content ul{
    padding:0 0 0 17px;
} 
/* Remove text-shadow in selection highlight: h5bp.com/i. These selection declarations have to be separate. */
::-moz-selection {
    background: #1477C5;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity=50);
    opacity:0.5;
    text-shadow: none;
}

::selection {
    background: #1477C5;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity=50);
    opacity:0.5;
    text-shadow: none;
}

@import url(https://fonts.googleapis.com/css?family=Covered+By+Your+Grace);

/* =================================================================
EDIT FROM HERE
================================================================= */

.btn {
    display:inline-block;
    border: none;
    padding: 11px 22px;
    border: 1px solid @mainColor;
    color: @mainColor;
    background: transparent;
    text-decoration: none;
    .transition(200ms);
    &:hover {
        background: @mainColor;
        color: @white;
    }

    &:active {
    }
    &.blue {
        border: none;
        background: @darkestblue;
        color: @white;
        &:hover {
            background: darken(@darkestblue, 10%);
        }
    }
}
.respMob {
    display: none;
    width: 100%;
    text-align: center;
    padding: 10px 20px;
    z-index: 2;
    background: @blue;
    color: @white;
    i, a {
        color: @darkestblue;

        &:hover {
            color: darken(@darkestblue, 10%);
        }
    }
}
.socialbtn {
    border-radius: 50px;
    border: 2px solid @darkestblue;
    display: inline-block;
    height: 50px;
    width: 50px;
    text-align: center;
    padding: 11px 0 0 0;
    .transition(200ms);
    i {
        color: @darkestblue;
        text-decoration: none;
        font-size: 20px;
    }
    &:hover {
        background: @darkestblue;
        i {
            color: @white;
        }
    }
}


body, html {
    height: 100%;
}
input, textarea {
    &::-webkit-input-placeholder { font-style: italic; }
    &::-moz-placeholder { font-style: italic; }
    &:-ms-input-placeholder { font-style: italic; }
    &input:-moz-placeholder { font-style: italic; }
}
.placeholder-style(@style) {
    &::-webkit-input-placeholder { font-style:@style; }
    &::-moz-placeholder { font-style:@style; }
    &:-ms-input-placeholder { font-style:@style; }
    &input:-moz-placeholder { font-style:@style; }
}
.placeholder-textcolor(@color) {
    &::-webkit-input-placeholder { color: @color; }
    &::-moz-placeholder { color: @color; }
    &:-ms-input-placeholder { color: @color; }
    &input:-moz-placeholder { color: @color; }
}
/* FONT STYLES */
body, input, textarea, select {
    font-family: @baseFontFamily;
    font-size: @baseFontSize + px;
    line-height:30px;
    color: #2a2a2a;
    font-weight: normal;
}
h1, .h1, h2, .h2, h3, .h3, h4, .h4 {
    font-weight:300;
    color:@white;
    text-align: center;
    font-family: "Helvetica Bold", Helvetica, Tahoma, sans-serif;
}
h1, .h1{
    font-size: 70px;
    line-height: 42px; 
    margin: 300px 0 20px 0; 
}
h2, .h2 {
    font-size: 40px;
    line-height: 42px;
    margin: 100px 0 50px 0;
    color: @mainColor;
}
h3, .h3 {
    font-size: 36px;
    line-height: 30px;
    margin: 40px 0 0 0;
}
h4, .h4 {
    font-size: 16px;
    line-height: 17px;
    margin: 20px 0 0 0;
}

#content{
    p {
        // margin:40px 0 0 0;
        padding:0;
        text-align: center;
    }

    .video-container > iframe {
        display: block;
        margin: 0 auto;
    }

    .text-cookies{
       p, h1, .h1, h2, .h2, h3, .h3, h4, .h4{
        text-align: left !important;
       } 
        h1, .h1, h2, .h2, h3, .h3, h4, .h4 {
            color:#009fe3 !important;
            margin: 30px 0 0 0  !important;
        }
        ul{
            margin: 30px 0 !important;
        }
    }
}

a {
    color: @darkestblue;
    text-decoration: none;
    .transition(color 200ms);
    &:hover {
        color: @mainColor;
    }   
    &:active {
        color: @mainColor;
    }
}
hr {
    border: none;
    border-bottom: 1px solid @mainColor;
    width :25%;
    margin: 100px auto;
}
.leftAlign {
    * {
        text-align: left;
    }
}
.contact-icon {
    width: 18px;
}
.translate (@x, @y:0) {
    -webkit-transform:       translate(@x, @y);
    -moz-transform:      translate(@x, @y);
    -ms-transform:       translate(@x, @y);
    -o-transform:        translate(@x, @y);
}

/* FORM STYLES */
@input_width = 70%;
@error = #BE131E;
@correct = #07C674;

.form_row {
    width: 100%;    
    margin: 0 0 5px 0;
    
    label{
        float: left;
        width: 20%;
        line-height:35px;
    }
    
    input[type=text],input[type=password],select, textarea {
        float: right;
        width: @input_width;
        border:2px solid @lightgrey;
        padding:5px;
        &:focus {
            border:2px solid @grey;
        }
    } 
}
.error {
    border: 2px  solid @lightgrey;
    
    span{
        color: @error;
        font-style: italic;
        width: @input_width;
    }
    
    &:focus { 
        border: 2px  solid @mainColor;
    }   
}
.correct {
    border: 1px @correct solid !important;  

    span{
        color: @correct;
        font-style: italic;
        width: @input_width;
    }

}
.customNavigation {
    /* DISABLE CAROUSEL */
    display: none;
}
#overlay {
    background: rgba(red(@mainColor), green(@mainColor), blue(@mainColor), 0.85);
    width: 100%;
    height: 100%;
    top: 0;
    .translate(0, -100%);
    opacity: 0;
    position: fixed;
    z-index: 100000;
    .transition(200ms linear);

    .close {
        display: none;
        cursor: pointer;
        background: @white;
        color: @mainColor;
        padding: 26px 33px;
        position: fixed;
        left: 310px;
        top: 0;
        font-size: 58px;
        text-decoration: none;
    }
    &.active {
        .translate(0, 0);
        opacity: 1;

        .close {
            display: block;
        }
    }
}
form.searchform {
    position: absolute;

    top: 50%;
    left: 20px;
    right: 20px;

    margin: 0 auto;
    margin-top: -55px;

    max-width: 800px;
    z-index: 10000;

    input[type="search"]{
        border: 2px solid @white;
        background: transparent;
        padding: 31px 0 31px 31px;
        font-size: 24px;
        color: @white;
        position: absolute;
        width: 100%;
        .placeholder(@blue);
    }
    input[type="submit"]{
        background: url(/_webblocks/images/search.png) no-repeat center center;
        border: none;
        position: absolute;
        right: 0px;
        text-indent: -1000px;
        height: 95px;
        width: 100px;
    }

    &.searchinpage {
        position: relative;
        margin: auto;
        height: 100px;
        width: 600px;

        input {
            border-color: @mainColor;

            &[type="search"] {
                font-size: 18px;
                .placeholder(@lightgrey);
                color: @mainColor;
                border: 1px solid @mainColor;
                padding: 10px;
            }
            &[type="submit"] {
                width: 46px;
                height: 52px;
                background-size: contain;
                border: 1px solid @mainColor;
            }
        }
    }
}
.search_block{
    ul{
        list-style: none;
        li{
            .title{
                h4{
                    text-align: left !important;
                    color: @mainColor !important;
                }
            }
        }
    }
}
#content {
    padding-top: 110px;
}
.container{
    max-width: @gridWidth + px;
    margin: 0 auto;

    &.narrow {
        max-width: 800px;
    }
}
.topMenu {
    position: fixed;
    width: 100%;
    z-index: 11;
}
.fdLeft {
    background: #FFFFFF;
    width: 252px;
    height: 360px;
    .transition(200ms);

    .logo {
        width: 252px;
        display: block;
        position: relative;
        z-index: 2;

        img {
            width: 100%;
        }
    }

    .quote {
        position: absolute;
        left: 0;
        right: 0;
        color: @mainColor;
        line-height: 3.5em;
        font-size: 30px;
        display: flex;
        justify-content: flex-end;
        text-align: right;
        padding: 0 40px;
        font-family: "Helvetica Bold", Helvetica, Tahoma, sans-serif;
        @media screen and (max-width: 768px) {
          
            padding-right: 180px !important;
            line-height: unset !important; 
            display: flex;
            height: 80px;
            align-items: center;
          
            .quote-text{
                display: none;
            }

        }

        ul{
            list-style: none;
        }
    }
    .languages{
        font-size: 18px;
        position: relative;
        .submenu-container {
            &.hide-open {
                display: none !important;
            }
            display: none;
            z-index: 1;
            position: absolute;
            top: 100%;
            right: 0;
            left: auto;
            background: transparent;

            .submenu {
                -webkit-box-shadow: 0 3px 7px 0 rgba(0, 0, 0, 0.2);
                -moz-box-shadow: 0 3px 7px 0 rgba(0, 0, 0, 0.2);
                box-shadow: 0 3px 7px 0 rgba(0, 0, 0, 0.2);
                border-radius: 5px;
                overflow: hidden;
                // margin-top: 22px;
                position: relative;
                display: flex;
                flex-direction: column;
                padding: 0 0 0 0px;

                &:before {
                    position: absolute;
                    top: -12px;
                    right: 15px;
                    content: " ";
                    width: 0;
                    height: 0;
                    border-style: solid;
                    border-width: 0 8.5px 12px 8.5px;
                    border-color: transparent transparent @main transparent;
                    z-index:2;
                }

                li {
                    white-space: nowrap;
                    background: @main;
                    width: 100%;
                    text-align: left;
                    margin: 0;
                    color: @white;
                    border-bottom: 1px solid @mainDark;
                    list-style: none;

                    a {
                        display:flex;
                        padding: 10px 15px;
                        color: @white;
                        line-height: 18px;
                        @media screen and (max-width: 768px) {
                            height: unset;
                            width: unset;
                        }
                        img {
                            margin-right:10px;
                            max-width:none!important;
                            -webkit-box-shadow: 0 3px 7px 0 rgba(0, 0, 0, 0.2);
                            -moz-box-shadow: 0 3px 7px 0 rgba(0, 0, 0, 0.2);
                            box-shadow: 0 3px 7px 0 rgba(0, 0, 0, 0.2);
                        }
                    }

                    &:hover {
                        background:@mainDark;
                    }

                    &.selected {
                        background:@mainDark;
                    }
                }
            }
        }
        &:hover{
            a {
                text-decoration: none;
            }
            >.submenu-container {
                display: block;
            }
        }
    }

    &.top {
        width: 100%;
        height: 110px;
        top: 0px;
        box-shadow: 0 0 10px rgba(0,0,0,0.2);
        a {
            float: left;
        }
        .logo {
            width: 320px;
            height: 100%;
            display: block;
            text-align: center;

            img {
                width: auto;
                height: 100%;
                padding: 20px;
            }
        }
        .hamburger_bg {
            float: left;
        }
    }

    &.small {
        height: 80px;

        a, .logo, .search, .hamburger_bg{
            width: 80px;
        }
        .search {
            padding: 24px 0;

            i {
                font-size: 30px;
            }
        }
    }
}
.search-btn {
    position: relative;
    z-index: 2;

    width: 110px;
    height: 100%;

    float:left;
    text-align: center;
    background-color: @white;

    padding: 35px 0;
    text-decoration: none;
    cursor: pointer;

    i {
        color: @mainColor;
        font-size: 38px;
        .transition(font-size 200ms);
    } 
    &:hover {
        background-color: lighten(@mainColor, 10%);
        i {
            color: @white;
        }
    }
}
header {
    display: table;

    background: url("/_webblocks/images/header.jpg") center center no-repeat;
    background-size: cover;
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;

    &.full {
        /*background-position: bottom;*/
    }
    &.home {
        max-height: 60vw;
    }

    .notification {
        position: absolute;
        bottom: 100px;
        right: 30px;
        width: 35%;
        border-left: 5px solid #e62d2a;
        padding: 20px;
        overflow: hidden;
        background: rgba(255,255,255,0.8);
        h2 {
            margin: 0;
            font-size: 26px;
            text-align: left;
        }
        p {
            margin: 10px 0 0;
            text-align: left;
            font-size: 15px;
        }
        a:not(.btn) {
            text-decoration: underline;
        }
    }
    &.page {
        height: 420px;
        h1 {
            margin: 140px 0 0 0;
            span {
                color: @blue;
            }
        }
    }

    .headertext {
        font-family: "Helvetica Bold", Helvetica, Tahoma, sans-serif;
        padding-left: 184px;

        h1 {
            text-align: left;
            font-size: 58px;
            line-height: 80px;
            margin-top: 20vh;
        }
    }

    .overlayheader {
        width: 100%;
        overflow: hidden;
        position: relative;
        height: 100%;
        background: rgba(0, 0, 0, 0.25);
        &.red {
            background: rgba(red(@mainColor), green(@mainColor), blue(@mainColor), 0.85);
            span.error404 {
                font-size: 400px;
                line-height: 400px;
                width: 100%;
                color: @white;
                text-align: center;
                bottom: -62px;
                position: absolute;
                display: block;
                font-weight: bold;
            }
        }

        display: table-cell;
        vertical-align: middle;

        h1, h2, h3 {
            margin: 40px;
        }
    }
    .subheader {
        background: @mainColor;
        width: 100%;
        padding: 25px 0 0;
        text-align: center;
        font-size: 24px;
        color: @white;
        position: absolute;
        bottom: 0;

        .logo {
            position: absolute;
            top: -140px;
            
            width: 100%;
            height: 120px;
            
            background-size: contain;
            background-repeat: no-repeat;
            background-position: 95% center;
            background-image: url('/_webblocks/images/logo-header.png');
        }

        a {
            color: @white;
        }
        p {
            margin: 0 0 25px;
        }
        form {
            input[type="text"]{
                border: none;
                padding: 12px;
                width: 80%;
            }
        }
        hr {
            border-bottom: 1px solid @darkestblue;
            margin: 10px 0;
            width: 100%;
            height: 0;
        }
        ul {
            list-style: none;
            margin: 0;
            padding: 0;
            li {
                float: left;
                a {
                    text-decoration: none;
                    padding: 10px 30px 25px;
                    float: left;
                    border-bottom: 5px solid @blue;
                    .transition(200ms);
                    &:hover {
                        color: @darkestblue;
                        border-bottom: 5px solid @darkblue;
                    }
                }
            }
        }
    }
    &.darken {
        &:before {
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: rgba(0, 0, 0, 0.2);
            content: "";
            z-index: 0;
        }

        h1, h2, h3 {
            position: relative;
            z-index: 0;
        }
    }
}
.submenu {
    background: @mainColor;
    width: 100%;
    text-align: center;
    font-size: 18px;
    color: @white;
    overflow: hidden;
    position: absolute;
    left: 0;
    bottom: 0;

    ul {
        list-style: none;
        margin: 0;
        padding: 0;
        li {
            float: left;
            a, span {
                text-decoration: none;
                padding: 25px 16px;
                float: left;
                color: @white;
                border-bottom: 5px solid @mainColor;
                .transition(200ms);
                &:hover {
                    border-bottom: 5px solid darken(@mainColor, 10%);
                }
            }
            span {
                border: none;
                width: 100%;

                &:hover {
                    border: none;
                }
            }
            &.full {
                width: 100%;
                text-align: center;
            }
            &.selected {
                a, span {
                    background: darken(@mainColor, 10%);
                    border-bottom: 5px solid darken(@mainColor, 20%);
                }
            }
        }
    }

    &.top {
        position: relative;
        line-height: 81px;

        .container {
            ul {
                li {
                    span {
                        padding: 0;
                    }

                    float: none;
                }
            }
        }
    }
}
.article a {
    text-decoration: none;
    h3 {
        color: @darkestblue;
    }
}
.article h2 a {
    color: @mainColor !important;
    
    &:hover {
        color: @darkestblue !important;
    }
}
.arrowholder {
    position: absolute;
    left: 50%;
    top: -100px;
    width: 100px;
    margin-top: -80px;
    margin-left: -50px;
    height: 100px;
    cursor: pointer;
}
.arrow {
    color: @white;
    width: 100px;
    height: 100px;
    padding-top: 20px;
    position: relative;
    .transition(200ms);
    -webkit-animation: mymove .5s infinite; /* Chrome, Safari, Opera */ 
    animation: mymove .5s infinite;
    i {
        font-size: 120px;
    }
    &.red, &:hover {
        color: @mainColor; 
    }
    &.outline {
        text-shadow: 0 0 2px black, 0 0 2px black, 0 0 2px black, 0 0 2px black;
    }
}
#amhistory {
    padding: 0;

    >div {
        position: relative;
        height: 365px;

        margin: 100px 0;
        overflow: hidden;

        .image {
            position: absolute;
            background-size: contain;
    
            width: 1100px;
            height: 335px;
    
            margin: 0;
            .transition(5000ms linear);
        }
    }
}

/* Chrome, Safari, Opera */ 
@-webkit-keyframes mymove {
    0% {
        .translate(0, 5px);
    }
    25%, 75% {
        .translate(0, 25px);
    }
    50% {
        .translate(0, 30px);
    }
    100% {
        .translate(0, 5px);
    }
}

/* Chrome, Safari, Opera */ 
@-moz-keyframes mymove {
    0% {
        .translate(0, 5px);
    }
    25%, 75% {
        .translate(0, 25px);
    }
    50% {
        .translate(0, 30px);
    }
    100% {
        .translate(0, 5px);
    }
}

/* Chrome, Safari, Opera */ 
@-ms-keyframes mymove {
    0% {
        .translate(0, 5px);
    }
    25%, 75% {
        .translate(0, 25px);
    }
    50% {
        .translate(0, 30px);
    }
    100% {
        .translate(0, 5px);
    }
}


/* Chrome, Safari, Opera */ 
@-o-keyframes mymove {
    0% {
        .translate(0, 5px);
    }
    25%, 75% {
        .translate(0, 25px);
    }
    50% {
        .translate(0, 30px);
    }
    100% {
        .translate(0, 5px);
    }
}
/* Standard syntax */
@keyframes mymove {
    0% {
        .translate(0, 5px);
    }
    25%, 75% {
        .translate(0, 25px);
    }
    50% {
        .translate(0, 30px);
    }
    100% {
        .translate(0, 5px);
    }
}

#map {
    width: 100%;

    img {
        max-width: auto !important;
        width: auto !important;
    }
}
#directionsPanel {
    margin: 25px 0;
}
.carousel {
    margin: 100px 0 0;
    img {
        width: 100%;
    }
}
.ctablock {
    width: 100%;
    height: 400px;
    background: url(/_webblocks/images/cta.jpg) center center no-repeat;
    background-size: cover;

    .container {
        .units-row {
            .unit-50 {
                background: rgba(red(@mainColor), green(@mainColor), blue(@mainColor), 0.85);
                height: 400px;

                color: @white;

                padding: 70px 40px;
                text-align: left;

                span {
                    text-transform: lowercase;
                }
                h1 {
                    font-size: 24px;
                    margin: 0;
                    text-align: left;
                    line-height: normal;
                }
                p {
                    text-align: left;
                    font-size: 18px;

                    margin-top: 20px;

                    &:first-of-type {
                        margin-top: 0;
                        line-height: 1.5em;
                        font-weight: 300;
                    }
                }
                a {
                    display: inline-block;
                    padding: 10px 0;
                    color: white;
                }
                .buttn {
                    border: 2px solid @white;
                    color: @white;
                    padding: 15px 20px;
                    font-size: 18px;
                    text-decoration: none;
                    &:hover {
                        background: @white;
                        color: @mainColor;
                    }
                }
            }
        }
    }
}
.carouselwrapper {
    position: relative;
}
.owl-prev {
    position: absolute;
    top: 50%;
    left: 50px;
    font-size: 80px;
    color: @white;
    margin: -40px 0 0 0;
}
.owl-next {
    position: absolute;
    top: 50%;
    right: 50px;
    font-size: 80px;
    color: @white; 
    margin: -40px 0 0 0;
}
.activiteiten {
    margin: 100px 0 100px 0;
    .unit-33, li {
        a {
            display: block;
            width: 100%;
            height: 100%;
            text-decoration: none;
            position: relative;
            .transition(200ms);
            .overlay {
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 80px;
                overflow: hidden;
                padding: 30px;
                background: rgba(0, 159, 227, 0.85);
                .transition(200ms);
                h3 {
                    color: @white;
                    font-size: 24px;
                    font-weight: bold;
                    margin: 0;
                    .transition(200ms);
                }
                p {
                    display: -webkit-box;
                  -webkit-line-clamp: 8;
                  -webkit-box-orient: vertical;  
                  overflow: hidden;

                    color: @white;
                    margin: 25px 0 0 0;
                }
            }
            img {
                width: 100%;
            }
            &:hover {
                .overlay {
                    height: 100%;
                }
            }
        }

        &.last-block {
            > div {
                width: 100%;
                height: 100%;
                display: table;
                background-color: rgba(0, 159, 227, 0.85);
                color: white;
                text-align: center;
                font-weight: bold;

                a {
                    display: table-cell;
                    vertical-align: middle;

                    font-size: 24px;
                    font-weight: bold;

                    h3, p {
                        margin: 15px;
                        color: white;
                    }

                    h3 {
                        font-size: 32px;
                        line-height: 40px;
                    }
                    p {
                        font-size: 22px;
                    }
                }
            }
        }
    }
    li {
        a {
            .overlay {
                h3 {
                    font-size: 18px;
                }
            }
        }
    }
}
.text-cookies{
	p, h1, .h1, h2, .h2, h3, .h3, h4, .h4{
	 text-align: left !important;
	} 
	 h1, .h1, h2, .h2, h3, .h3, h4, .h4 {
		 color:#e62d2a !important;
		 margin: 30px 0 0 0  !important;
	 }
	 ul{
		 margin: 30px 0 !important;
	 }
 }
.share {
    width: 100%;
    text-align: center;
    margin: 40px 0;
    p {
        margin-bottom: 10px;
    }
    #atstbx {
        width: 500px;
        margin: 0 auto;
    }
}
.article {
    margin: 100px 0 0 0;
    .inner {
        border-top: 0;
        padding: 20px 0;
        text-align: left;
        h2 {
            font-size: 24px;
            margin: 0;
            text-align: left;
        }
        p {
            text-align: left;
            margin: 20px 0 0 0;

            &.text {
                display: -webkit-box;
                -webkit-line-clamp: 4;
                -webkit-box-orient: vertical;

                height: 105px;
                overflow: hidden;
            }
        }
        a {
            margin: 20px 0 0 0;
        }
    }
}
.news {
    .unit-33 {
        height: 600px;
        h3 {
            color: @mainColor;
            font-size: 24px;
            font-weight: bold;
        }
        &.list {
            padding: 40px;
            background: #f1f6fb;
            ul {
                list-style: none;
                padding: 0;
                margin: 40px 0;
                li {
                    text-align: center;
                    border-bottom: 1px solid #b1b1b1;
                    font-weight: bold;
                    padding: 10px;
                }
            }
        }
        &.newsitem {
            text-align: center;
            .image {
                width: 100%;
                height: 300px;

                background-position: center;
                background-repeat: no-repeat;
                background-size: cover;
            }
            .inner {
                padding: 0 20px;

                p {
                    display: -webkit-box;
                    max-height: 102px;
    
                    -webkit-line-clamp: 4;
                    -webkit-box-orient: vertical;
    
                    overflow: hidden;
                }
            }
            a {
                margin: 20px 0 0 0;
                color: @mainColor;
                text-align: center;
                display: block;
            }
        }
        &.social {
            background: @blue;
            padding: 40px;
            ul {
                list-style: none;
                padding: 0;
                margin: 50px 25%;
                li {
                    float: left;
                    width: 33%;
                    text-align: center;
                }
            }
        }
    }
}
.text {
    margin-bottom: 100px;
    ul:not(.flipper) {
        &:not(.redactor_toolbar) {
            text-align: left;
            margin: 40px auto;
            list-style: none;
            width: 500px;
            max-width: 100%;
            padding: 0;
            display:block;
            li {
                background: url(/_webblocks/images/li-check.png) no-repeat;
                padding: 0 0 0 30px;
                margin: 20px 0;
            } 
        }
    }

    .date {
        margin: 40px 0;
    }
}
.blocks {
    margin: 0 100px;
    .unit-50 {
        padding: 40px 40px 0 40px;
        h2 {
            margin: 0 0 0;
        }
    }
    .block {
        p {
            margin: 0 0 40px 0;
        }
    }
}
.newsletter {
    background: @mainColor;
    padding: 50px 0;
    // color: @white;
    label {
        font-weight: bold;
        font-size: 24px;
        padding: 0 10px 0 0;
    }
    div.unit-40 {
        color: darken(@mainColor, 20%);
        input[type="text"]{
            background: none;
            border: 1px solid @white;
            padding: 10px;
            float: left;
            width: 100%;
            color: @white;
            .placeholder(@white);

            &.error {
                border: 1px solid @white;
                .placeholder(@white);
            }
        }
    }
    input[type="submit"]{
        float: left;
        background: darken(@mainColor,20%);
        &:hover {
            background: @white;
            color: @mainColor !important;
        }
    }
    h2 {
        color: @white;
        margin: 0 0 40px;
    }
}
form.contact {
    input[type="text"], textarea {
        width: 100%;
        border: 1px solid @darkestblue;
        color: @darkestblue;
        padding: 10px;
        margin: 0 0 10px 0;
        .placeholder(@lightgrey);

        &.error {
            border: 1px solid @mainColor;
            .placeholder(@mainColor);
        }
    }
    textarea {
        height: 200px;
    }
}
footer {
    background-color: #04587d;
    background-size: cover;
  
    color: @white;
    font-size: 15px;
    overflow: hidden;
    .footer-inner{
        padding-top: 100px;
        padding-bottom:50px;
        @media screen and (max-width: 1300px) {
            padding-top: 0px;
            padding-bottom:20px;
        }
    }
    #footer-bottom{
        padding-bottom: 50px;
    }

    .units-row {
        >div {
            .icon {
                color: @mainColor;
                font-size: 20px;
            }
        }
    }

    li {
        padding-left: 30px;
        position: relative;
        i {
            position: absolute;
            top: 0;
            left: 0;
        }
        a {
            color: @white;
        }
    }

    .amrecycling {
        display: block;
        margin: auto;
        margin-top: 60px;
        max-width: 940px;
        padding: 20px;
        color: #ffffff;
        text-align: center;
    }

    .certificates {
        display: block;
        margin: auto;
        margin-top: 60px;
        max-width: 940px;
        padding: 20px;
        background-color: /*rgb(122, 220, 255)*/ #7cd8ff;
        .border-radius(4px);

        .unit-14 {
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;

            height: 75px;
            width: 12.5%;

            &.co2 {
                background-image: url('/_webblocks/images/certificates/co2prestatieladder.png');
                background-size: 110px;
            }
            &.iso14001 {
                background-image: url('/_webblocks/images/certificates/dnv-iso14001.png');
            }
            &.iso9001 {
                background-image: url('/_webblocks/images/certificates/dnv-iso9001.png');
            }
            &.mrf {
                background-image: url('/_webblocks/images/certificates/mrf.png');
            }
            &.mvoco2 {
                background-image: url('/_webblocks/images/certificates/mvoco2.png');
            }
            &.prestatieladder {
                background-image: url('/_webblocks/images/certificates/prestatieladder.png');
            }
            &.vca {
                background-image: url('/_webblocks/images/certificates/vca.png');
            }
            &.weeelabex {
                background-image: url('/_webblocks/images/certificates/weeelabex.png');
            }
        }
    }
}
/* entire container, keeps perspective */
.flip-container {
    display: inline-block;
    height: 180px;
    perspective: 1000;
    cursor: pointer;
}
    /* flip the pane when hovered */
.flip-container:hover .flipper, .flip-container.hover .flipper {
    .front {
        transform: rotateY(180deg);
    }
    .back {
        transform: rotateY(0deg);
    }
}

.flip-container, .front, .back {
    width: 100%;
    height: 180px;
}

/* flip speed goes here */
.flipper {
    transition: 0.2s;
    transform-style: preserve-3d;
    display: block;
    position: relative;
    text-align: center;
}

/* hide back of pane during swap */
.front, .back {
    backface-visibility: hidden;
    padding: 45px 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.2s;
    span {
        width: 100%;
        float: left;
        font-size: 14px;
        padding: 0 5px;
        padding-top: 10px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.certifications {
    /*.unit-20 {
        .flip-container {
            margin: 0 0 40px 0;

            .flipper {
                .front, .back {
                    span {
                        white-space: nowrap;
                    }
                }
            }
        }
    }*/
    max-width: 875px;
    margin: 0px auto 60px auto;
    img {
        max-width: 150px !important;
    }
}

/* front pane, placed above back */
.front {
    z-index: 2;
    border: 1px solid @mainColor;
    background: @white; 
    /* for firefox 31 */
    transform: rotateY(0deg);
    i {
        color: @mainColor;
        font-size: 60px; 
    }
    span {
        color: @mainColor;
        position: absolute;
        bottom: 5px;
        left: 0;
    }
}

/* back, initially hidden pane */
.back {
    transform: rotateY(180deg);
    background: @mainColor;
    i {
        color: @white;
        font-size: 60px;
    }
    span {
        color: @white;
    }
}
ul.pdf {
    margin: 50px 0;
    .overlay {
        height: 100%;
        width: 100%;
        background: rgba(red(@mainColor), green(@mainColor), blue(@mainColor), 0.85);
    }
    li {
        a {
            text-decoration: none;
            display: block;
            width: 100%;
            text-align: center;
            color: @mainColor;
            font-size: 18px;
            .holder {
                height: 100%;
                width: 100%;
                overflow: hidden;
                span {
                    color: @white;
                    padding: 40% 0;
                    display: block;
                }
            }
        }
    }
}
.certifications {
    .unit-20 { 
        position: relative;
        div {
            .front, .back {
                span {
                    position: absolute;
                    bottom: 20px;
                    left:0;
                    color: @darkestblue;
                }
            }
            .front {
                border: 1px solid @mainColor;
                background: @white; 
                padding: 25px 0 0;
            }
            .back {
                padding: 45px 0 0;
                border: 1px solid @mainColor;

                span {
                    color: @white;
                }
            }
        }
    }
}

.newsletter_sub {
    font-size: 15px;
}

@media screen and (max-width: 1500px) {
    .activiteiten {
        .unit-33 {
            .unit-33();
            a {
                .overlay {
                    h3 {
                        font-size: 20px;
                    }
                }
                img {
                    width: 100%;
                }
                &:hover {
                    .overlay {
                        h3 {
                            margin: 0;
                        }
                    }
                }
            }
        }
    }
}
@media screen and (max-width: 1300px) {
    h1 {
        font-size: 40px;
    }
    h3 {
        font-size: 18px;
    }
    .respMob {
        display: block;
    }
    #content {
        padding-top: 145px;
    }
    .container{
        max-width: 100%;
        padding: 0 20px;
    }
    .fdLeft {
        top: 0;
        width: 100%;
        height: 100px;
        .logo {
            width: 100px;
            height: 100px;
        }
        a {
            display: block;
            // width: 100px;
            // height: 100px;
            float: left;
        }

        .quote {
            line-height: 3.3em;
            padding-right: 220px;
        }

        &.top {
            width: 100%;
            height: 100px;

            a {
                float: left;
            }
            .search {
                float: right;
            }
            .hamburger_bg {
                float: left;
            }
        }

        &.small {
            height: 100px;

            a, .logo, .search, .hamburger_bg{
                width: 100px;
            }
            .search {
                padding: 32px 0;
            }
        }
    }
    .hamburger_bg {
        float: right !important;
    }
    #overlay {
        .close {
            padding: 30px 35px;
            right: 100px;
            top: 0;
            left: inherit; 
            font-size: 40px;
            text-decoration: none;
        }
    }
    .search-btn{
        float: right;
        width: 100px;
        height: 100px;
        padding: 32px 0;
        i {
            font-size: 30px;
        }
    }
    header {
        height: 680px;
        width: 100%;

        .overlayheader {        
            h1, h2, h3 {
                margin: 20px;
            }
        }

        .headertext {
            padding-left: 100px;

            h1 {
                font-size: 45px;
                line-height: 60px;
                margin-top: 14vw !important;
            }
        }
    }
    #map {
        height: 680px;
    }
    .subheader {
        padding: 25px 25px 0 25px;
        form {
            input[type="text"]{
                width: 70%;
            }
        }
        ul {
            li {
                a {
                    padding: 10px 14px 25px;
                    font-size: 15px;
                }
            }
        }
    }
    .actBlocks {
        margin: 25px 25px 25px 0;
        li {
            a {
                .overlay {
                    h2 {
                        font-size: 18px;
                    }
                }
            }
        }
    }
    .activiteiten {
        margin: 50px 0 0 0;
        .unit-33 {
            .unit-50();
        }
    }
    .news {
        .unit-33 {
            height: 800px;
            h3 {
                color: @mainColor;
                font-size: 24px;
                font-weight: bold;
            }
            &.list {
                padding: 40px;
                background: #f1f6fb;
                ul {
                    list-style: none;
                    padding: 0;
                    margin: 40px 0;
                    li {
                        text-align: center;
                        border-bottom: 1px solid #b1b1b1;
                        font-weight: bold;
                        padding: 10px;
                    }
                }
            }
            &.newsitem {
                
            }
            &.social {
                background: @blue;
                padding: 40px;
                ul {
                    list-style: none;
                    padding: 0;
                    margin: 50px 25%;
                    li {
                        float: left;
                        width: 33%;
                        text-align: center;
                    }
                }
            }
        }
    }
    .text {
        margin: 0 25px 50px;
        >ul:not(.flipper) {
            text-align: left;
            margin: 40px auto;
            list-style: none;
            width: 500px;
            max-width: 100%;
            padding: 0;
            display:block;
            li {
                background: url(/_webblocks/images/li-check.png) no-repeat 0 4px; 
                padding: 2px 0 2px 30px;
            } 
        }
    }
    .blocks {
        margin: 0 50px;
        .unit-50 {
            padding: 40px 40px 0 40px;
            h2 {
                margin: 0 0 0;
            }
        }
        .block {
            p {
                margin: 0 0 40px 0;
            }
        }
    }
    .newsletter {
        label {
            font-weight: bold;
            font-size: 24px;
            padding: 0 10px 0 0;
        }
        input[type="text"]{
            background: none;
            border: 1px solid @darkestblue;
            padding: 10px;
            width: 50%;
            .placeholder(@darkestblue);
            margin-right: 10px;
        }
    }
    form.contact {
        input[type="text"], textarea {
            width: 100%;
            border: 1px solid @darkestblue;
            color: @darkestblue;
            padding: 10px;
            margin: 0 0 10px 0;
            .placeholder(@darkestblue);
            &.error {
                border: 1px solid @mainColor;
                .placeholder(@mainColor);
            }
        }
        textarea {
            height: 200px;
        }
    }
    footer {
        padding-top: 50px;
        padding-bottom:0px;
        color: @white;
        .blocks-5 {
            margin: 0 20px;
        }
        li {
            padding-left: 30px;
            position: relative;
            
            i {
                position: absolute;
                top: 0;
                left: 0;
                color: @mainColor;
                font-size: 24px;
            }
            a {
                color: @white;
            }
        }
        .adres {

        }
        .footer {

        }
    }
    /* entire container, keeps perspective */
    .flip-container {
        perspective: 1000;
    }

    .flip-container, .front, .back {
        width: 100%;
        height: 180px;
    }

    /* flip speed goes here */
    .flipper {
        transition: 0.2s;
        transform-style: preserve-3d;
        display: block;
        position: relative;
        text-align: center;
    }

    /* hide back of pane during swap */
    .front, .back {
        backface-visibility: hidden;
        padding: 45px 0;
        position: absolute;
        top: 0;
        left: 0;
        span {
            width: 100%;
            float: left;
            padding-top: 10px;
        }
    }

    /* front pane, placed above back */
    .front {
        z-index: 2;
        border: 1px solid @mainColor;
        background: @white; 
        /* for firefox 31 */
        transform: rotateY(0deg);
        i {
            color: @mainColor;
            font-size: 60px; 
        }
        span {
            color: @mainColor;
        }
    }

    /* back, initially hidden pane */
    .back {
        transform: rotateY(180deg);
        background: @mainColor;
        i {
            color: @white;
            font-size: 60px;
        }
        span {
            color: @white;
        }
    }
    ul.pdf {
        margin: 50px 0;
        li {
            a {
                text-decoration: none;
                display: block;
                width: 100%;
                text-align: center;
                color: @mainColor;
                font-size: 18px;
            }
        }
    }
    certifications {
        margin: 50px 0;
        .unit-20 { 
            position: relative;
            div {
                .front, .back {
                    span {
                        position: absolute;
                        bottom: 20px;
                        left:0;
                        color: @darkestblue;
                    }
                }
                .front {
                    border: 1px solid @darkestblue;
                    background: @white; 
                    padding: 25px 0 0;
                }
                .back {
                    padding: 45px 0 0;
                    border: 1px solid @darkestblue;
                    background: @darkestblue; 
                    span {
                        color: @white;
                    }
                }
            }
        }
    }
}
.searchcontainer {
    h3 {
        font-size: 34px !important;
    }
}
@media screen and (max-width: 1024px) {
    .news {
        .unit-33 {
            &.social {
                ul {
                    li {
                        width: 100%;
                        margin-bottom: 10px; 
                    }
                }
            }
        }
    }
    .activiteiten {
        li {
            a {
                .overlay {
                    h3 {
                        font-size: 18px;
                    }
                    p {
                        font-size: 14px;
                    }
                }
            }
        }
    }
    .text {
        ul:not(.flipper) {
            width: 100%;
        }
    }
    footer {
        .adres {
            height: 130px;
        }
    }
    .submenu {
        ul {
            li {
                a {
                    padding: 20px 20px;
                    font-size: 14px;
                }
            }
        }
    }
    .ctablock {
        .container {
            .unit-50 {
                .buttn {
                    font-size: 13px;
                }
            }
        }
    }

    header {
        .headertext {
            h1 {
                font-size: 40px;
                line-height: 55px;
                margin-top: 15vw !important;
            }
        }
    }
}
@media screen and (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .quote {
        display: none;
    }

    .submenu {
        .top {
            line-height: 60px;
        }
        &.top {
            .container {
                ul {
                    li {
                        span {
                            padding: 20px 0;
                            line-height: normal;
                        }
                    }
                }
            }
        }
        ul {
            li {
                a {
                    padding: 10px 10px;
                }
            }
        }
    }

    header{
        padding-top: 30px;

        .subheader {
            .logo {
                display: none;
            }
            .arrowholder {
                top: -35%;
            }
        }
        &.full {
            height: 825px;
        }
        &.home {
            min-height: 266px;
            max-height: 300px;
            background-position-x: right;
        }

        .headertext {
            padding-left: 0;
            width: 100%;
            max-width: none;

            h1 {
                text-align: center;
                margin-top: 0px !important;
                font-size: 30px;
                line-height: 40px;
            }
        }
    }

    form.searchform {
        input[type="text"] {
            font-size: 18px;
        }
        input[type="submit"] {
            left: 0;
            margin: auto;
            top: 125px;
        }
    }
    .newsletter {
        padding: 20px 0;

        h2 {
            font-size: 24px;
            margin-bottom: 20px;
            line-height: normal;
        }
    }
    .text {
         h2 {
            word-break: break-word;
            margin: 40px 0;
         }
         p {
            margin: 20px 0 0 0;
         }
         hr {
            margin: 50px auto;
         }
    }
    h2, .h2 {
        font-size: 30px;
    }
    .respMob {
        top: 80px;
    }
    header {
        .notification {
            width: auto;
            margin: 150px 20px;
            position: relative;
            bottom: inherit;
            right: inherit;
        }
    }
    #content {
        padding-top: 126px;
    }
    #overlay {
        .close {
            padding: 25px 30px 24px 30px;
            right: 80px;
            top: 0;
            left: inherit; 
            font-size: 30px;
            text-decoration: none;
        }
    }
    .share {
        #atstbx {
            width: 100%;
        }
    }
    .fdLeft {
        top: 0;
        width: 100%;

        &.top {
            height: 80px;

            .logo {
                height: 80px;
                width: 155px;
            }
            a {
                display: block;
                width: 80px;
                height: 80px;
                float: left;
            }
            .search {
                padding: 30px 0;
            }

            &.small {
                height: 80px;

                a, .logo, .search, .hamburger_bg{
                    width: 80px;
                }
                .search {
                    padding: 30px 0;

                    i {
                        font-size: 22px;
                    }
                }
            }
        }
    }
    .hamburger_bg {
        float: right;
    }
    .search-btn {
        float: right;
        width: 80px;
        height: 80px;
        padding: 26px 0;
        i {
            font-size: 22px;
        }
    }
    .activiteiten {
        .unit-33 {
            margin-top: 0!important;
            p {
                font-size: 12px;
                line-height: 18px;
            }
        }
    }
    .ctablock {
        .container {
            .unit-50 {
                .buttn {
                    padding: 10px 10px !important;
                    width: 100%;
                    text-align: center;
                    font-size: 14px !important;

                    overflow: hidden;
                    text-overflow: ellipsis;

                    .icon {
                        display: block;
                        margin: 0 !important;
                    }
                }
            }
        }
    }
    .news {
        .unit-33 {
            margin-top: 0!important;
        }
    }
    footer {
        li {
            width: 100%;
            margin: 0;
        }
        .adres {
            height: auto;
            width: 100%;
            padding-bottom: 20px;
        }
        .footer {
            width: 100%;
            margin: 20px 0 0 0;
        }
    }
}

@media screen and (max-width: 1024px) {
    .news {
        .unit-33 {
            width: 100% !important;
            float: none !important;
            margin-left: 0 !important;
            height: auto !important;

            &.newsitem .inner {
                padding: 0 20px 30px 20px;
            }
        }
    }

    .mobhide {
        display: none !important;
    }

    footer {

        .unit-33, .unit-25, .unit-75, .unit-40, .unit-20 {
            width: 100% !important;
            float: none !important;
            margin-left: 0 !important;
            margin-top: 1.5em;
            height: auto !important;
        }

        .mobcentered {
            margin: 0px auto;
            max-width: 265px !important;
        }
    }
}

@media screen and (max-height: 800px) {
    header{
        .subheader {
            .logo {
                display: none;
            }
        }
    }
}

@media screen and (max-width: 767px) {
    .newsletter {
        input[type="text"] {
            margin-top: 30px;
        }
    }
}
