.section_inner .fullscreen_bg_video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.fullscreen-bg__video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: auto;
  min-width: 100%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.prohair-video-layer-noise {
  position: absolute;
  z-index: 3;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-position: center center;
  background-repeat: repeat;
  background-image: url(https://webmin.digiteam.nl/sites/108/media/images/globaldesign/ruis_overlay.png);
}

.prohair-video-layer-txt-container {
  position: absolute;
  z-index: 999999;
  left: 90px;
  bottom: 10%;
  width: 100%;
  max-width: 560px;
  height: auto;
  background: rgba(6, 6, 6, 0.4);
  padding: 10px 20px 20px;
  /*
  * Preventing flicker on some browsers
  * See http://stackoverflow.com/a/36671466/1081396  or issue #183
  */
  -webkit-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

@media (max-width: 768px) {
  .section_inner .fullscreen_bg_video {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-width: 100%;
    min-height: 1px;
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
  }

  .prohair-video-layer-txt-container {
    position: relative;
    z-index: 999999;
    left: 0;
    top: 0;
    bottom: auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    /*
    * Preventing flicker on some browsers
    * See http://stackoverflow.com/a/36671466/1081396  or issue #183
    */
    -webkit-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);

  }

  .prohair-video-layer-txt-container-inner {
    position: relative;
    padding-left: 40px;
    padding-right: 40px;
    font-size: 1.2em;
    line-height: 1.42857143;
  }

}

@media (max-width: 470px) {
    .prohair-video-layer-txt-container-inner {
        font-size: 1.1em;
    }
    
    .prohair-video-layer-txt-container {
        padding-left: 0;
        padding-right: 0;
    } 
    .section_inner .fullscreen_bg_video {
        top: 72px;
    }
    
    .prohair-video-layer-txt-container {
        top: 72px;
    }
    
    .prohair-video-layer-txt-container-inner h4 {
        font-size: 28px;
        margin-top: 10px;
    }

}

@media only screen and (min-width: 600px) and (max-width: 767px) and (orientation: portrait) {
    .section_inner .fullscreen_bg_video {
        top: 80px;
    }
    
    .prohair-video-layer-txt-container {
        top: 80px;
    }
    
    .prohair-video-layer-txt-container-inner h4 {
        margin-top: 10px;
    }
}

@media only screen and (min-width: 800px) and (max-width: 1023px) and (orientation: landscape) {
    .prohair-video-layer-txt-container-inner h4 {
        margin-top: 5px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) {
    .prohair-video-layer-txt-container-inner h4 {
        margin-top: 5px;
    }
}


/*
@media (max-width: 1023px) {
    .section_inner .fullscreen_bg_video {
        top: 80px !important;
    }
}
*/


@media (min-width: 1600px) {
  .prohair-video-layer-txt-container {
    max-width: 720px;
    height: auto;
    padding: 30px 40px 40px;
    font-size: 1.2em;
  }
}


/* Overrides van Silvan. */
@media only screen and (min-width: 320px) {
  .prohair-video-layer-txt-container {
    padding: 0 1em;
  }

  .prohair-video-layer-txt-container-inner {
    padding: 0;
  }
}

@media only screen and (min-width: 1024px) {
  .prohair-video-layer-txt-container {
    padding: 20px 40px;
  }
}


@media only screen and (max-width: 1023px) {
    
    #section_1 {
        max-height:100vh !important;
    }
    .section_inner .fullscreen_bg_video, .fullscreen-bg__video, .prohair-video-layer-noise, .prohair-video-layer-txt-container {
        max-height:100vh !important;   
    }

}
/*body {
  margin: 0;
  padding: 0;
}
*/

.active #one {
  background-image: url("https://webmin.digiteam.nl/sites/108/media/images/globaldesign/krullenbol-wit.jpg");
}

.active #two {
  background-image: url("https://webmin.digiteam.nl/sites/108/media/images/globaldesign/stock-photo-young-and-beautiful-bride-and-groom-enjoy-each-other-the-smile-in-the-shadow-of-a-flying-veil-578040691.jpg");
}

.active #three {
  background-image: url("https://webmin.digiteam.nl/sites/108/media/images/globaldesign/prohair_home_makeup_1.jpg");
}

.active #four {
  background-image: url("https://webmin.digiteam.nl/sites/108/media/images/globaldesign/stock-photo-man-and-little-boy-with-shaving-foam-on-their-faces-looking-into-the-bathroom-mirror-and-laughing-788255794 (2).jpg");
}

#one, #two, #three, #four {
  background-position: center;
  background-size: cover;
}

#one {
  margin-top: 72px;
}

@media only screen and (min-width: 1024px) {
    #one {
      margin-top: 72px;
    }
}

.text-marquee-container {
  width: 100vw;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.text-marquee-container .text-marquee {
  width: 100%;
  height: calc(25vh - 32px);
  display: flex;
  justify-content: center;
  overflow: hidden;
  white-space: nowrap;
  flex-direction: column;
  cursor:pointer;
}


@media only screen and (max-width: 1023px) {
    .text-marquee-container .text-marquee {
        height: calc(25vh - 18px); /* 18 */
    }
}

@media screen and (max-width: 480px) and (orientation: portrait) {
    
}

@media screen and (min-width: 480px) and (max-width: 799px) and (orientation: landscape) {
    .text-marquee-container .text-marquee {
        height: calc(25vh - 22px); /* 18 */
    }
    #one {
      margin-top: 86px;
    }
}

@media only screen and (min-width: 600px) and (max-width: 767px) and (orientation: portrait) {
    .text-marquee-container .text-marquee {
        height: calc(25vh - 22px); /* 18 */
    }
    #one {
      margin-top: 86px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) {
    .text-marquee-container .text-marquee {
        height: calc(25vh - 22px); /* 18 */
    }
    #one {
      margin-top: 86px;
    }
}

@media only screen and (min-width: 800px) and (max-width: 1023px) and (orientation: landscape) {
    .text-marquee-container .text-marquee {
        height: calc(25vh - 22px); /* 18 */
    }
    #one {
      margin-top: 86px;
    }
}


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

    #one a {
        min-width: 125%;
        display: table;
    }
    
    #two a {
        min-width: 105%;
        display: table;
    }
    
    #three a {
        min-width: 130%;
        display: table;
    }
    
        #four a {
            min-width: 130%;
            display: table;
        }
    
}

/*
@media only screen and (max-height: 640px) and (orientation: landscape) {
    
    .text-marquee-container .text-marquee {
        height: calc(25vh - 21px);
    }
    
    #one a {
        min-width: 75%;
        display: table;
    }
    
    #two a {
        min-width: 85%;
        display: table;
    }
    
    #three a {
        min-width: 75%;
        display: table;
    }
    
        #four a {
            min-width: 75%;
            display: table;
        }
    
}
*/

@media only screen and (max-width: 480px) and (orientation: portrait) {
    /*#one {
      margin-top: 64px;
    }
    */
    
    /*.text-marquee-container .text-marquee {
        height: calc(25vh - 16px);
    }
    */

}

@media only screen and (min-width: 600px) and (max-width: 767px) and (orientation: portrait) {

}

.text-marquee-container .text-marquee a {
  text-decoration: none;
  color: rgba(254, 254, 254, 0.75);
  font-family: "Muli";
  text-transform: uppercase;
  font-weight: bold;
  padding: 0;
  width: fit-content;
  opacity: 100;
  font-size: 200%;
  margin: 0 auto;
  text-align: center;
}

@media only screen and (min-width: 425px) {
  .text-marquee-container .text-marquee a {
    font-size: 250%;
  }
}

@media only screen and (min-width: 600px) and (max-width: 767px) and (orientation: portrait) {
  .text-marquee-container .text-marquee a {
    font-size: 700%;
    line-height: 75px;
  }
}

@media only screen and (min-width: 768px) {
  .text-marquee-container .text-marquee a {
    font-size: 700%;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) {
  .text-marquee-container .text-marquee a {
    font-size: 900%;
    line-height: 100px;
  }
}

@media only screen and (min-width: 800px) and (max-width: 1023px) and (orientation: landscape) {
  .text-marquee-container .text-marquee a {
    line-height: 80px;
  }
}

@media only screen and (min-width: 1024px) {
    
  .text-marquee-container {
    height: 100vh;
  }

  .text-marquee-container .text-marquee {
    width: 50%;
    height: calc(50% - 45px);
  }
  
  .text-marquee-container .text-marquee a {
    /*opacity: 0;*/
    margin: 0;
    font-size: 2500%;
  }
  
  /*.text-marquee-container .text-marquee:hover a {
    opacity: 100;
  }
  */

  #one, #two {
    margin-top: 90px;
  }
  
}

@media only screen and (min-width: 1281px) {
    .text-marquee-container .text-marquee a {
        opacity: 0;
    }
    
    .text-marquee-container .text-marquee:hover a {
        opacity: 100;
    }
  
    #four a {
        width: 190%;
        display: table;
    }
    
}

@media only screen and (min-width: 2100px) {
  .text-marquee-container .text-marquee a {
    opacity: 0;
    font-size: 3000%;
  }
}
 

.contact-form-section {
  display: flex;
  flex-direction: column;
        /* gezijzigd */
        /*min-height: calc(100vh - 70px);*/
  min-height: calc(100vh);
}

.contact-form-section > div {
  flex: 1 1 0;
}

    /* gezijzigd */
    /* Workaround for http://lists.w3.org/Archives/Public/www-style/2014Dec/0249.html */
    /*
    @media only screen and (min-width: 320px) and (max-width: 1440px) {
      .contact-form-container {
        min-height: 600px;
      }
    }
    */

/* Form. */
.contact-form-container {
  display: flex;
  align-items: center;
}

.contact-form-section .contact-form-container h2 {
  text-align: center;
}

#contactformulier {
  margin-top: -45px;
  padding-top: 45px;
  background-repeat: no-repeat;
  background-size: contain;
}

#contactformulier .col-md-6 {
  float: none;
  width: 100%;
}

#contactformulier label {
  display: none;
}

#contactformulier input:not(#cfverzenden), #contactformulier textarea {
  border: solid 1px #afafaf;
  background: transparent;
  border-radius: 0;
}

#contactformulier #cfverzenden {
  display: block;
  margin: 20px auto 0;
}

.active .contact-form-appointment-container {
  display: flex;
  align-items: center;
  background-image: url("https://webmin.digiteam.nl/sites/108/media/images/globaldesign/Icons_square_dark.png");
}

/* Override for white style. */
.active .contact-form-section-white .contact-form-appointment-container {
  background-image: url("https://webmin.digiteam.nl/sites/108/media/images/globaldesign/Icons_square_light_bridebroom.png");
}





@media only screen and (min-width: 320px) {
  .contact-form-appointment-container {
    min-height: 400px;
  }

    /* gezijzigd */
    /*
      .contact-form-section {
        margin-top: 70px;
      }
    */

  .contact-form-section {
    padding-top: 70px;
  }
  
  
  
  .contact-form-wrapper {
    width: 100vw;
    padding-left: 1em;
    padding-right: 1em;
    max-width: 840px;
    /* eventueel */
    /*
    padding-bottom:50px;
    */
  }

  .contact-form-section > div:nth-child(1) {
    border-bottom: 1px solid #7c0606;
  }

  .contact-form-section > div:nth-child(2) {
    border-top: 1px solid #7c0606;
  }
}


@media only screen and (max-width: 1440px) {
  .contact-form-wrapper {
    padding-bottom:130px;
  }
}



@media only screen and (max-width: 767px) {
  .contact-form-appointment-container {
    min-height: 300px;
  }

  .contact-form-section .contact-form-container h2 {
    margin-top: 10px;
  }

  .cfverplicht {
    font-size: 14px;
    line-height: 18px;
  }
}

@media only screen and (max-width: 479px) {
  .contact-form-section .contact-form-container h2 {
    font-size: 25px;
  }
}

@media only screen and (max-width: 799px) {
  .contact-form-section .contact-form-container h2 {
    margin-top: 10px;
  }
}

@media only screen and (min-width: 768px) {
  .active .contact-form-wrapper {
    width: initial;
        /* gezijzigd */
        /*
        padding-left: 130px;
        padding-right: 130px;
        */
    padding-left: 100px;
    padding-right: 100px;
    background-image: url(https://webmin.digiteam.nl/sites/108/media/images/globaldesign/ProHair_logodnkrgrijs_rotated_left.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 8% 0;
    max-width: 840px;
    margin: 0 auto;
  }

  /* Override for white style. */
  .active .contact-form-section-white .contact-form-wrapper {
    background-image: url("https://webmin.digiteam.nl/sites/108/media/images/globaldesign/ProHair_logolichtgrijs_rotated_left.png");
  }

  .active .contact-form-section > div:nth-child(2) .contact-form-wrapper {
    background-image: url(https://webmin.digiteam.nl/sites/108/media/images/globaldesign/ProHair_logodnkrgrijs_rotated.png);
    background-position: 94% 0;
  }

  /* Override for white style. */
  .active .contact-form-section-white .contact-form-section > div:nth-child(2) .contact-form-wrapper {
    background-image: url("https://webmin.digiteam.nl/sites/108/media/images/globaldesign/ProHair_logolichtgrijs_rotated.png");
  }
}

@media only screen and (min-width: 1439px) {
  .contact-form-appointment-container {
    min-height: initial;
  }

  .contact-form-section {
    flex-direction: row;
  }

  .contact-form-section > div:nth-child(1) {
    border-bottom: none;
    border-right: 1px solid #7c0606;
  }

  .contact-form-section > div:nth-child(2) {
    border-top: none;
    border-left: 1px solid #7c0606;
  }
}

#section_4 {
    background-image: url(https://webmin.digiteam.nl/sites/108/media/images/globaldesign/ProHair_logodnkrgrijs.png);
    background-repeat:no-repeat;
    background-position: top center;
    background-size: 100%;
}

@media (max-width: 991px) {
    #section_4 .section_inner {
        height:auto !important;   
    }
}

#section_4 .section_inner h3 {
    text-align:center;
    margin:0px;
    padding:0px;
    padding-top:98px;
}

@media (min-width: 1160px) and (max-width: 1320px) {
    /* openingstijden kleiner */
    .opacitydescr, .opacitydescr:hover {
        font-size: 1em !important;
    }
}

@media (min-width: 992px) {
    
    #section_4 {
        margin:0px;
        padding:0px;
    }
    
    #section_4 .section_inner {
        padding-left: 40px;
        padding-right: 40px;
        
    }
    
    .opacitydescr, .opacitydescr:hover {
        font-size: 1em !important;
    }

}

@media (min-width: 1200px) {

    #section_4 {
        margin:0px;
        padding:0px;
    }
    
    #section_4 .section_inner {
        padding-left: 40px;
        padding-right: 40px;
    }
    .opacitydescr, .opacitydescr:hover {
        font-size: 1.2em !important;
    }
    
    
    #fotoalbum_1 {
        padding:0px;
        margin: 0 auto;
    }
    
    .fa-thumbs {
        margin:0px;
        padding:0px;
        margin-top:-3%;
    }

    .fa-thumb-box {
        margin-bottom:0px !important;
        padding-left:20px;
        padding-right:20px;
    }
    
    
    .fa-thumb-box:nth-child(n + 5) {
        margin-top:3% !important;
    }
    
    .fa-thumb-box-inner {

    }

}

@media (min-width: 1400px) {
    
    .fa-thumb-box {
        margin-bottom:0px !important;
        padding-left:30px;
        padding-right:30px;
    }
    
}

@media (min-width: 1600px) {
    
    .fa-thumb-box {
        margin-bottom:0px !important;
        padding-left:40px;
        padding-right:40px;
    }
    
    .opacitydescr, .opacitydescr:hover {
        font-size: 1.5em !important;
    }
    
}


/* beschrijving kleiner op schermen met een lagere hoogte anders past het niet */
/* viewport 1920 x 915 */
@media (min-width: 1200px) and (max-height: 910px) {
    .opacitydescr, .opacitydescr:hover {
        font-size: 0.85em !important;
    }
}


@media (min-width: 1800px) {
    
    #section_4 .section_inner {
        padding-left: 120px;
        padding-right: 120px;

    }
    
}

/* 1200, 1400 en 1600 staan ook in de code! voor het shadow album */


@media screen and (max-width: 480px) and (orientation: portrait) {
    #section_4 h3 {
        font-size: 30px !important;
    }
    #section_4 .section_inner h3 {
        padding-top: 78px;
    }
    #section_4 .fotoalbum ul.fa-thumbs {
        margin-top:20px;
        margin-bottom:100px !important;
    }
    .fa1_hour_table {
        width: 100%;
        margin-top: -5px;
    }
    .fa1_description_time_box {
        font-size: 0.7em !important;
    }
}

@media screen and (min-width: 480px) and (max-width: 799px) and (orientation: landscape) {
    #section_4 h3 {
        font-size: 30px !important;
    }
    #section_4 .fotoalbum ul.fa-thumbs {
        margin-top:20px;
        margin-bottom:100px !important;
    }
}

@media only screen and (min-width: 600px) and (max-width: 767px) and (orientation: portrait) {
    #section_4 .fotoalbum ul.fa-thumbs {
        margin-top:20px;
        margin-bottom:100px !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) {
    #section_4 .fotoalbum ul.fa-thumbs {
        margin-bottom:100px !important;
    }
}

@media only screen and (min-width: 600px) and (max-width: 1023px) {
    .opacitydescr, .opacitydescr:hover {
        font-size: 1em !important;
    }
}

@media only screen and (min-width: 800px) and (max-width: 1023px) and (orientation: landscape) {
    #section_4 .fotoalbum ul.fa-thumbs {
        margin-bottom:100px !important;
    }
    .opacitydescr, .opacitydescr:hover {
        font-size: 1.2em !important;
        line-height: 30px;
    }
}



#section_5 a, #section_5 a:hover, #section_5 a:active, #section_5 a:visited {
    color: #980000;
    text-decoration: none;
}

#section_5 a:hover {
    color: #fff;
}

@media (min-width: 768px) {
  #map-secton-container {
    position: relative;
  }
}

@media (min-width: 768px) {
    #section_5 .section_inner {
      /*position: relative;*/
        /* gezijzigd */
        position: absolute;
        top: 50%;
        -ms-transform: translateY(-35%);
        transform: translateY(-35%);
    }
}

#adress_box_1 {
  position: absolute;
  left: 0;
  right: 70%;
  height: 380px;
  background-image: url(https://webmin.digiteam.nl/sites/108/media/images/globaldesign/winkelprohair.jpg);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  z-index: 99999;
  top: 0;
  bottom: 0;
}

@-webkit-keyframes ftb-content-move-up-down {
  from {
    transform: translate3d(0, -20px, 0);
  }
  to {
    transform: translate3d(0, 20px, 0);
  }
}
@keyframes ftb-content-move-up-down {
  from {
    transform: translate3d(0, -20px, 0);
  }
  to {
    transform: translate3d(0, 20px, 0);
  }
}

#adress_box_2 {
  position: absolute;
  left: 10%;
  height: 460px;
  background: rgba(43, 43, 43, 0.8);
  right: 50%;
  margin-top: -40px;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  margin-right: -40px;
  z-index: 9999;
  align-items: center;
}

@media only screen and (min-width: 768px) {
  #adress_box_1 {
    -webkit-animation: ftb-content-move-up-down 3.5s ease-in-out infinite;
    -webkit-animation-direction: alternate;
    animation: ftb-content-move-up-down 3.5s ease-in-out infinite;
    animation-direction: alternate;
  }

  #adress_box_2 {
    -webkit-animation: ftb-content-move-up-down1 3.5s ease-in-out infinite;
    -webkit-animation-direction: alternate;
    -webkit-animation-delay: 0.5s;
    animation: ftb-content-move-up-down1 3.5s ease-in-out infinite;
    animation-direction: alternate;
    animation-delay: 0.5s;
  }
}

@keyframes ftb-content-move-up-down1 {
  from {
    transform: translate3d(0, -15px, 0);
  }
  to {
    transform: translate3d(0, 15px, 0);
  }
}
@-webkit-keyframes ftb-content-move-up-down1 {
  from {
    transform: translate3d(0, -15px, 0);
  }
  to {
    transform: translate3d(0, 15px, 0);
  }
}

#the_addressx {
  width: 65%;
  float: right;
  font-weight: bold;
  text-align: center;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 50%;
}

#the_addressx strong {
  font-size: 24px;
}

#prohairwinkelx {
  width: 100%;
  max-width: 100%;
  height: auto;
  z-index: 9999;
  position: relative;
}

#adress_box_3 {
  position: absolute;
  left: 50%;
  right: 0;
  height: 500px;
  z-index: 999;
  margin-top: -60px;
}


@media (max-width: 767px) {
  #section_5 .section_inner {
    min-height: 850px !important;
  }

  #adress_box_1 {
    right: 35%;
  }

  #adress_box_2 {
    left: 10%;
    right: 0;
  }

  #adress_box_3 {
    position: relative;
    left: 0;
    right: 0;
    margin: 0;
    width: 100%;
  }

}

@media (max-width: 510px) {
  #adress_box_1 {
    right: 0;
  }

  #adress_box_2 {
    margin-right: 0;
    z-index: 9999999;
    align-items: center;
    text-align: center;
    /* of 0.8 */
    background: rgba(43, 43, 43, 0.1);
    width: 100%;
    left: 0;
  }

  #the_addressx {
    padding-top: 12px;
    float: none;
    display: table;
    margin: 0 auto;
    background: rgba(43, 43, 43, 0.9);
  }
  
    #the_addressx_inner {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }

}

.contactlink {
  color: #fefefe;
}

.contactlink:hover, .contactlink:active {
  color: #ddd;
  text-decoration: none;
}

@media only screen and (min-width: 2100px) {
    #section_5 {
        font-size: 24px !important;
        line-height: 32px !important;
    }
    #the_addressx strong {
        font-size: 28px !important;
        line-height: 36px !important;
    }
}


@media screen and (max-width: 480px) and (orientation: portrait) {
    #section_5 .section_inner {
        margin-bottom:160px;
    }
}

@media screen and (min-width: 480px) and (max-width: 799px) and (orientation: landscape) {
    #section_5 .section_inner {
        margin-bottom:160px;
    }
}

@media only screen and (min-width: 600px) and (max-width: 767px) and (orientation: portrait) {
    .adress_box_1 {
        top:140px !important;
    }
    #section_51 .section_inner {
        margin-bottom:160px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) {

}

@media only screen and (min-width: 800px) and (max-width: 1023px) and (orientation: landscape) {

}
#groepsfoto_header {
  text-align: center;
  font-size: 40px;
  line-height: 48px;
  letter-spacing: 2.4px;
  background-color: #1d1d1b;
  position: absolute;
  top: 90px;
  left: 0;
  right: 0;
  z-index:9;
}

#groepsfoto_header_inner {
  padding-left: 5px;
  padding-right: 5px;
}

.button-container {
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}

#menu_personeel_container {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 99999999999;
  bottom: 0;
  height: auto;
  background: rgba(6, 6, 6, 0.3);
}

#realisatie {
  font-family: 'Source Sans Pro';
  font-size: 14px;
  text-align: right;
  position: absolute;
  top: 50%;
  right: 0;
  -ms-transform: translate(0%, -50%);
  transform: translate(0%, -50%);
}

#realisatie_inner {
  position: relative;
  white-space: nowrap;
}

#realisatie_inner {
  opacity: 0.5;
}

#realisatie_inner img {
  display: inline-block;
  margin-left: 5px;
  width: 100px;
  opacity: 0.5;
}


#section_6 {
  background-size: 100% auto !important;
  background-position: center center;
  background-position-y: -15px !important;
}

#section_6 .section_inner {
  position: relative;
}

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

  #menu_3 #menu_root_3 > li {
    width: 49%;
    text-align: center;
  }

  #menu_3 #menu_root_3 > li a {
    padding-left: 5px;
    padding-right: 5px;
    line-height: 5px;
  }

  #groepsfoto_header {
    font-size: 0.9em;
  }

  #section_6 {
    background-position-y: 50px !important;
  }

}

@media screen and (max-width: 1023px) {
  #section_6 {
    background-position-y: 100px !important;
  }
}

@media screen and (max-width: 850px) {
  #section_6 {
    background-position-y: 50% !important;
  }
}

@media screen and (max-width: 768px) {
  #section_6 #realisatie {
    position: relative;
    text-align: center;
    -ms-transform: translate(0%, 0%);
    transform: translate(0%, 0%);
  }

  #section_6 #groepsfoto_header {
    font-size: 0.9em;
  }
}

@media screen and (max-width: 620px) {
  #section_6 #menu_3 #menu_root_3 {
    padding-bottom: 40px;
  }

}

@media screen and (max-width: 500px) {
  #section_6 #menu_3 #menu_root_3 {
    padding-bottom: 60px;
  }

}

@media screen and (max-width: 330px) {
  #section_6 #menu_3 #menu_root_3 {
    padding-bottom: 20px;
  }

  #section_6 #menu_3 #menu_root_3 > li {
    width: 100%;
    text-align: center;
  }

  #section_6 #menu_3 #menu_root_3 > li a {
    padding: 20px 5px;
    line-height: 5px;
  }

}


/* Overrides for small (height) screens. */
@media screen and (max-width: 768px) and (max-height: 768px) {
  #section_6 #groepsfoto_header {
    font-size: 0.5em;
  }
}
@media screen and (max-width: 330px) and (max-height: 768px) {
  #section_6 #menu_3 #menu_root_3 > li a {
    padding: 0;
  }
}



@-webkit-keyframes cf3FadeInOut {
    0% {
        opacity:1;
    }
    25% {
        opacity:1;
    }
    75% {
        opacity:0;
    }
    100% {
        opacity:0;
    }
}

@-moz-keyframes cf3FadeInOut {
    0% {
        opacity:1;
    }
    25% {
        opacity:1;
    }
    75% {
        opacity:0;
    }
    100% {
        opacity:0;
    }
}

@-o-keyframes cf3FadeInOut {
    0% {
        opacity:1;
    }
    25% {
        opacity:1;
    }
    75% {
        opacity:0;
    }
    100% {
        opacity:0;
    }
}

@keyframes cf3FadeInOut {
    0% {
        opacity:1;
    }
    25% {
        opacity:1;
    }
    75% {
        opacity:0;
    }
    100% {
        opacity:0;
    }
}


#groepsfotos {
    /*position:relative;*/
    width:100%;
    height:100%;
    margin:0 auto;
}

.groepsfoto {
    position:absolute;
    left:0;
    height: 100%;
    width: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% auto !important;
}

#groepsfoto_prohair_back {
    background-image: url(https://webmin.digiteam.nl/sites/108/media/images/globaldesign/groepsfoto_prohair_back.jpg);
    background-image: url(https://webmin.digiteam.nl/sites/108/media/images/globaldesign/groepsfoto_prohair_back_2024.jpg);
}

#groepsfoto_prohair_front {
    background-image: url(https://webmin.digiteam.nl/sites/108/media/images/globaldesign/groepsfoto_prohair_front.jpg);
    background-image: url(https://webmin.digiteam.nl/sites/108/media/images/globaldesign/groepsfoto_prohair_front_2024.jpg);
}

@media only screen and (min-width: 1024px) {
    #groepsfoto_prohair_back {
        background-position-y: 100px;
    }
    #groepsfoto_prohair_front {
        background-position-y: 100px;
    }
}

@media only screen and (min-width: 1280px) {
    #groepsfoto_prohair_back {
        background-position-y: 0px;
        /* 2024 */
        background-position-y: -200px;
    }
    #groepsfoto_prohair_front {
        background-position-y: -50px;
    }
}

.groepsfoto.top {
    -webkit-animation-name: cf3FadeInOut;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-duration: 5s;
    -webkit-animation-direction: alternate;
    
    -moz-animation-name: cf3FadeInOut;
    -moz-animation-timing-function: ease-in-out;
    -moz-animation-iteration-count: infinite;
    -moz-animation-duration: 5s;
    -moz-animation-direction: alternate;
    
    -o-animation-name: cf3FadeInOut;
    -o-animation-timing-function: ease-in-out;
    -o-animation-iteration-count: infinite;
    -o-animation-duration: 5s;
    -o-animation-direction: alternate;
    
    animation-name: cf3FadeInOut;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-duration: 5s;
    animation-direction: alternate;
}

@media screen and (max-width: 480px) and (orientation: portrait) {
    #section_6 #groepsfoto_header {
        top: 80px;
        line-height: 30px !important;
    }
    #groepsfoto_prohair_back, #groepsfoto_prohair_front {
        background-position-y: center;
    }
    #section_6 #menu_personeel_container {
        bottom: 15px !important;
    }
    #section_6 .button-container {
        margin-top: 8px;
    }
}

@media screen and (min-width: 480px) and (max-width: 799px) and (orientation: landscape) {
    #groepsfoto_header {
        top:88px;
        background-color: #1d1d1b80;
        line-height: 30px !important;
    }
    #groepsfoto_prohair_back, #groepsfoto_prohair_front {
        background-position-y: center;
    }
    #section_6 .button-container {
        margin-top: -15px;
    }
    #section_6 #menu_personeel_container {
        bottom: 0 !important;
    }
}

@media only screen and (min-width: 600px) and (max-width: 767px) and (orientation: portrait) {
    #section_6 #groepsfoto_header {
        top: 110px;
        line-height: 30px !important;
    }
    #groepsfoto_prohair_back, #groepsfoto_prohair_front {
        background-position-y: center !important;
    }
    #section_6 #menu_personeel_container {
        bottom: 15px !important;
        background: rgba(6, 6, 6, 0.3) !important;
    }
    #section_6 .button-container {
        margin-top: 40px !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
    #section_6 #menu_personeel_container {
        background: rgba(6, 6, 6, 0.3) !important;
    }
}

@media only screen and (min-width: 800px) and (max-width: 1023px) and (orientation: landscape) {
    #section_6 #groepsfoto_header {
        top: 88px !important;
    }
    #groepsfoto_prohair_back, #groepsfoto_prohair_front {
        background-position-y: 100px !important;
    }
    #section_6 .button-container {
        margin-top: 198px !important;
    }
    #section_6 #menu_personeel_container {
        bottom: 5px !important;
    }
    #section_6 #realisatie_inner {
        white-space: normal;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
    #section_6 #menu_personeel_container {

    }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
    #groepsfoto_prohair_back, #groepsfoto_prohair_front {
        background-position-y: center;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1279px) {
    #section_6 #realisatie_inner {
        white-space: normal;
    }
    #section_6 .button-container {
        margin-top: 180px;
    }
    #section_6 #menu_personeel_container {
        bottom: 5px !important;
    }
}

@media only screen and (min-width: 800px) and (orientation: portrait) {
    #section_6 #realisatie_inner {
        white-space: normal;
    }
    #section_6 .button-container {
        margin-top: 180px;
    }
    #section_6 #menu_personeel_container {
        bottom: 5px !important;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1279px) {
    #section_6 .button-container {
        margin-top: 230px;
    }
}

@media only screen and (min-width: 1600px) {
    #section_6 .button-container {
        margin-top: 230px;
        /* 2024 */
        margin-top: 0px;
    }
} 

