#section_37 .flex-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}

#section_37 .column {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 1;
  height:100%;
}

@media only screen and (max-width: 1023px) {
    #section_37 .flex-row {
      display: block;
    }

    #section_37 .column {
        display:block;
        width:100vw;
        height:auto;
    }
    
    #section_37 .section_inner {
        height:auto !important;
    }
}

#section_37 #history-txt {
    position:relative;
    padding-left:50px;
    padding-right:50px;
}

#section_37 #history-image {
    position:relative;
    padding:0px;
    min-height: 50vh;
    min-height:400px;
}

#section_37 #history-image-inner {
    background-image: url(https://webmin.digiteam.nl/sites/108/media/images/globaldesign/prohair_karin_en_marin.jpg);
    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;
    min-height: 50vh;
    min-height:400px;
}
    
@media only screen and (min-width: 1024px) {
    #section_37 #history-image-inner {
        height: 100vh;
    }

    #section_37 #history-txt {
    	display:flex;
    	height:100vh;
        align-items: center;
        justify-content: center;
    }
    
    #section_37 #history-txt-layer {
    	/*display:flex;*/
    	justify-content: center;
    	max-width: 50vw;
    }
}


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

    #section_37 #history-image {
        min-height: 80vh;
    }
    
    #section_37 #history-image-inner {
        background-position:center 0;
        min-height: 80vh;
    }

    #section_37 #history-txt {
        margin-top:0;
        margin-bottom:0px;
    }

}

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

    #section_37 #history-txt-layer {
        position: relative;
        top: 45px;
        margin-bottom: 180px;
    }

}

@media (min-width: 500px) and (max-width: 767px) {
    #section_37 #history-image {
        min-height:500px;
    }
}

@media (min-width: 0px) and (max-width: 499px) {
    #section_37 #history-image {
        min-height:50vh;
    }
}

@media (min-width: 0px) and (max-width: 380px) {
    #section_37 #history-txt {
        margin:0;
        padding:0;
        width:100%;
    }
}

#section_37 #history-txt::after {
    content: "";
    /* achtergrondafbeelding bij rechterkant */
    background-image: url(https://webmin.digiteam.nl/sites/108/media/images/globaldesign/winkelprohair.jpg);
    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;
    
    /*opacity: 0.5;*/
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    position: absolute;
    z-index: -1;   
}

#section_37 #history-txt-layer {
    background-color: rgba(102,102,102,0.6);
    background-color: rgba(29, 29, 27, 0.7);
    padding:30px;
    flex-direction: column;
    min-width:320px;
}

#section_37 #history-image-shop {
    display:none;
    width:60vw;
    margin-left:-10vw;
    margin-top:20px;
    opacity:0.6;
}



@media screen and (max-width: 480px) and (orientation: portrait) {
    #section_37 #history-image {
        min-height: 80vh !important;
    }
    #section_37 #history-image-inner {
        min-height: 80vh !important;
        background-position-y: -20px !important;
    }
    #section_37 #history-txt-layer {
        background-color: rgba(102,102,102,0.6);
        padding-top: 10px;
    }
    #section_37 h2 {
        margin-bottom: 10px !important;
    }
    #section_37 #history-txt {
        margin-bottom: 120px;
    }
}

@media screen and (min-width: 480px) and (max-width: 799px) and (orientation: landscape) {
        #section_37 #history-image {
        min-height: 100vh !important;
    }
    #section_37 #history-image-inner {
        background-position-y: -140px !important;
        min-height: 100vh !important;
    }
    #section_37 #history-txt-layer {
        margin-bottom: 160px;
    }
}

@media only screen and (min-width: 600px) and (max-width: 767px) and (orientation: portrait) {
    #section_37 #history-image {
        min-height: 62vh !important;
    }
    #section_37 #history-image-inner {
        min-height: 62vh !important;
        background-position-y: -180px !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) {
    #section_37 #history-image {
        min-height: 50vh !important;
    }
    #section_37 #history-image-inner {
        min-height: 50vh !important;
        background-position-y: -200px !important;
    }
}

@media only screen and (min-width: 800px) and (max-width: 1023px) and (orientation: landscape) {
    #section_37 #history-image-inner {
        background-position-y: -250px !important;
    }
    #section_37 #history-txt-layer {
        padding-top: 20px;
    }
}

/* overide gewoon zwart volledige breedte */
@media only screen and (max-width: 767px) {
    #section_37 #history-txt-layer {
        padding-left:15px;
    }
}

@media only screen and (max-width: 1023px) {
    #section_37 #history-txt {
        padding:0px !important;
        background:#111111;
    }
    #section_37 #history-txt-layer {
        top: 0px;
        background:#111111;
    }
}
    
@media only screen and (min-width: 2100px) {
    
    #section_37 body {
        font-size: 21px !important;
        line-height: 29px !important;
    }
    
    #section_37 #fix-me-later {
        font-size: 18px !important;
        line-height: 24px !important;
    }
    
    #section_37 #fix-me-later li {
        padding: 5px;
    }
    
}



/* ANIMATION SET 1 ALTERNATE: Scrolling from top to this section. Right text box slides in from bottom. Left image box slides in from the left. */
#section_37 .ftb-wrapper-slide-in-left {
  animation-name: ftb-wrapper-slide-in-left;
  animation-duration: 500ms;
  animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  animation-fill-mode: forwards;

  -webkit-animation-name: ftb-wrapper-slide-in-left;
  -webkit-animation-duration: 500ms;
  -webkit-animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  -webkit-animation-fill-mode: forwards;
}

#section_37 .ftb-content-right-slide-in-bottom {
  animation-name: ftb-content-right-slide-in-bottom;
  animation-duration: 500ms;
  animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  animation-fill-mode: forwards;

  -webkit-animation-name: ftb-content-right-slide-in-bottom;
  -webkit-animation-duration: 500ms;
  -webkit-animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  -webkit-animation-fill-mode: forwards;
}

@keyframes ftb-wrapper-slide-in-left {
  from {
    transform: translateX(-100vw);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes ftb-content-right-slide-in-bottom {
  from {
    transform: translateY(100vh) translateX(100vw);
  }
  to {
    transform: translateY(0) translateX(0);
  }
}

@-webkit-keyframes ftb-wrapper-slide-in-left {
  from {
    transform: translateX(-100vw);
  }
  to {
    transform: translateX(0);
  }
}

@-webkit-keyframes ftb-content-right-slide-in-bottom {
  from {
    transform: translateY(100vh) translateX(100vw);
  }
  to {
    transform: translateY(0) translateX(0);
  }
}

/*ANIMATION SET 2 ALTERNATE: Scrolling from this section to next section. Right content slides out to Right. Left image box slides out to left.*/
#section_37 .ftb-wrapper-slide-out-left {
  animation-name: ftb-wrapper-slide-out-left;
  animation-duration: 500ms;
  animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  animation-fill-mode: forwards;

  -webkit-animation-name: ftb-wrapper-slide-out-left;
  -webkit-animation-duration: 500ms;
  -webkit-animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  -webkit-animation-fill-mode: forwards;
}

#section_37 .ftb-content-slide-out-right {
  animation-name: ftb-content-slide-out-right;
  animation-duration: 500ms;
  animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  animation-fill-mode: forwards;

  -webkit-animation-name: ftb-content-slide-out-right;
  -webkit-animation-duration: 500ms;
  -webkit-animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  -webkit-animation-fill-mode: forwards;
}

@keyframes ftb-wrapper-slide-out-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-200vw);
  }
}

@keyframes ftb-content-slide-out-right {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(200vw);
  }
}

@-webkit-keyframes ftb-wrapper-slide-out-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-200vw);
  }
}

@-webkit-keyframes ftb-content-slide-out-right {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(200vw);
  }
}

/*ANIMATION SET 3 ALTERNATE: Scrolling from the next section back to this section. Right box slides in from right. Left image slides in from top. */
#section_37 .ftb-wrapper-slide-in-top {
  animation-name: ftb-wrapper-slide-in-top;
  animation-duration: 500ms;
  animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  animation-fill-mode: forwards;

  -webkit-animation-name: ftb-wrapper-slide-in-top;
  -webkit-animation-duration: 500ms;
  -webkit-animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  -webkit-animation-fill-mode: forwards;
}

#section_37 .ftb-content-slide-in-right {
  animation-name: ftb-content-slide-in-right;
  animation-duration: 500ms;
  animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  animation-fill-mode: forwards;

  -webkit-animation-name: ftb-content-slide-in-right;
  -webkit-animation-duration: 500ms;
  -webkit-animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  -webkit-animation-fill-mode: forwards;
}

@keyframes ftb-wrapper-slide-in-top {
  from {
    transform: translateY(-100vh);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes ftb-content-slide-in-right {
  from {
    transform: translateY(100vh) translateX(100vw);
  }
  to {
    transform: translateY(0) translateX(0);
  }
}

@-webkit-keyframes ftb-wrapper-slide-in-top {
  from {
    transform: translateY(-100vh);
  }
  to {
    transform: translateY(0);
  }
}

@-webkit-keyframes ftb-content-slide-in-right {
  from {
    transform: translateY(100vh) translateX(100vw);
  }
  to {
    transform: translateY(0) translateX(0);
  }
}

/* ANIMATION 4: Slow moving text box */
@media only screen and (min-width: 1024px) {
    
  #section_37 .ftb-content-move-up-down {
    animation-name: ftb-content-move-up-down;
    animation-duration: 4850ms;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-direction: alternate;
    /*animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);*/

    -webkit-animation-name: ftb-content-move-up-down;
    -webkit-animation-duration: 4850ms;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-direction: alternate;
    /*-webkit-animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);*/
  }

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

#section_34 .floating-text-box header h2 {
  margin-top: 0;
}

#section_34 #overons-missievisie-wrapper ul {
  padding: 0 0 0 1em;
}

#section_34 #overons-missievisie-wrapper li {
  list-style-position: outside;
}

#section_34 #overons-missievisie-wrapper header h2 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 3em;
  font-weight: bold;
  letter-spacing: 2.4px;
  text-align: left;
  text-transform: none;
  color: #980000;
}

@media only screen and (max-width: 1024px) {
  #section_34 #overons-missievisie-wrapper section div:not(:first-child) header h2 {
    margin-top: 30px;
  }
}

#section_34 #overons-missievisie-wrapper header p {
  font-size: 1.2em;
  color: #b9b9b9;
  text-transform: uppercase;
}

#section_34 #missie-content p:first-of-type, #section_34 #visie-content p:first-of-type {
    font-size: 1.2em;
    color: #b9b9b9;
    text-transform: uppercase;
}

#section_34 #overons-missievisie-wrapper {
  font-size: 14px;
}

#section_34 #overons-missievisie-wrapper {
    background-image: url("https://webmin.digiteam.nl/sites/108/media/images/globaldesign/missieenvisie_2024b.jpg");
}

#section_34 .floating-text-box {
    background-size: 100vw;
    padding-top: 70vw;
    background-repeat: no-repeat;
    /*min-height: 100vh;*/
}

#section_34 .floating-text-box .content {
    padding: 30px 1em 0;
}

@media only screen and (min-width: 1024px) {
    
  #section_34 .floating-text-box {
    background-size: auto 100%;
    background-position-x: right;
    background-position-y: center;
    padding-top: initial;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* Override to have white background. And image left, text right. */
  #section_34 #overons-missievisie-wrapper {
    background-position-x: left;
    flex-direction: row;
    justify-content: flex-end;
  }

  #section_34 .floating-text-box .content {
    background-color: rgba(29, 29, 27, 0.9);
    padding: 30px 3em 40px;
    width: max-content;
    margin-left: 30px;
    max-width: 100vw;
  }

  /* Override to have white background. And image left, text right. */
  #section_34 #overons-missievisie-content {
    margin-right: 30px;
    margin-top: auto;
    margin-bottom: auto;
  }
  
}

@media screen and (max-width: 374px) and (orientation: portrait) {
    #section_34 .floating-text-box {
        padding-top: 90vw !important;
        background-position-y: 74px !important;
    }
}

@media screen and (min-width: 375px) and (max-width: 479px) and (orientation: portrait) {
    #section_34 .floating-text-box {
        padding-top: 90vw !important;
        background-position-y: 74px !important;
    }
    
    #section_34 #missie-content {
        margin-top: 0px !important;
        padding-top: 5px !important;
    }
    
}

@media screen and (min-width: 480px) and (max-width: 799px) and (orientation: landscape) {
    #section_34 .floating-text-box {
        background-position-y: 90px !important;
        padding-top: 88vw !important;
    }
    
    #section_34 #missie-content {
        margin-top: 0px !important;
        padding-top: 0px !important;
    }
    
}

@media only screen and (min-width: 600px) and (max-width: 767px) and (orientation: portrait) {
    #section_34 .floating-text-box {
        background-position-y: 90px !important;
        padding-top: 86vw !important;
    }
    
    #section_34 #missie-content {
        margin-top: 0px !important;
        padding-top: 0px !important;
    }
    
}

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

    #section_34 .floating-text-box {
        background-position-y: 90px !important;
        padding-top: 83vw !important;
    }
    
    #section_34 #missie-content {
        margin-top: 0px !important;
        padding-top: 0px !important;
    }
    
}

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

    #section_34 .floating-text-box {
        background-position-y: 90px !important;
        padding-top: 82vw !important;
    }
    
    #section_34 #missie-content {
        margin-top: 0px !important;
        padding-top: 0px !important;
    }
    
}

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

    #section_34 #missie-content {
        margin-top: 0px !important;
        padding-top: 0px !important;
    }

}

@media only screen and (min-width: 1024px) {
  #section_34 #overons-missievisie-content {
    /*width: 45%;*/
  }
  
    #section_34 .floating-text-box {
        min-height: 100vh;
    }
}

/*  and (min-height: 700px) */
@media only screen and (min-width: 1024px) and (min-height: 700px) and (max-width: 1279px) and (orientation: landscape) {

    #section_34 .floating-text-box {
        background-position-y: -90px !important;
        background-position-x: -70px !important;
    }

}

@media only screen and (min-width: 1280px) and (max-width: 1599px) {

    #section_34 .floating-text-box {
        background-position-x: -50px !important;
    }

}

@media only screen and (min-width: 1600px) and (max-width: 1799px) {

    #section_34 .floating-text-box {
        background-position-x: -65px !important;
    }

}


@media only screen and (min-width: 1800px) {
  #section_34 #overons-missievisie-content {
    width: 45%;
    margin-right: 30px !important;
  }
}

/* ANIMATION SET 1 ALTERNATE: Scrolling from top to this section. Right text box slides in from bottom. Left image box slides in from the left. */
#section_34 .ftb-wrapper-slide-in-left {
  animation-name: ftb-wrapper-slide-in-left;
  animation-duration: 500ms;
  animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  animation-fill-mode: forwards;

  -webkit-animation-name: ftb-wrapper-slide-in-left;
  -webkit-animation-duration: 500ms;
  -webkit-animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  -webkit-animation-fill-mode: forwards;
}

#section_34 .ftb-content-right-slide-in-bottom {
  animation-name: ftb-content-right-slide-in-bottom;
  animation-duration: 500ms;
  animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  animation-fill-mode: forwards;

  -webkit-animation-name: ftb-content-right-slide-in-bottom;
  -webkit-animation-duration: 500ms;
  -webkit-animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  -webkit-animation-fill-mode: forwards;
}

@keyframes ftb-wrapper-slide-in-left {
  from {
    transform: translateX(-100vw);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes ftb-content-right-slide-in-bottom {
  from {
    transform: translateY(100vh) translateX(100vw);
  }
  to {
    transform: translateY(0) translateX(0);
  }
}

@-webkit-keyframes ftb-wrapper-slide-in-left {
  from {
    transform: translateX(-100vw);
  }
  to {
    transform: translateX(0);
  }
}

@-webkit-keyframes ftb-content-right-slide-in-bottom {
  from {
    transform: translateY(100vh) translateX(100vw);
  }
  to {
    transform: translateY(0) translateX(0);
  }
}

/*ANIMATION SET 2 ALTERNATE: Scrolling from this section to next section. Right content slides out to Right. Left image box slides out to left.*/
#section_34 .ftb-wrapper-slide-out-left {
  animation-name: ftb-wrapper-slide-out-left;
  animation-duration: 500ms;
  animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  animation-fill-mode: forwards;

  -webkit-animation-name: ftb-wrapper-slide-out-left;
  -webkit-animation-duration: 500ms;
  -webkit-animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  -webkit-animation-fill-mode: forwards;
}

#section_34 .ftb-content-slide-out-right {
  animation-name: ftb-content-slide-out-right;
  animation-duration: 500ms;
  animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  animation-fill-mode: forwards;

  -webkit-animation-name: ftb-content-slide-out-right;
  -webkit-animation-duration: 500ms;
  -webkit-animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  -webkit-animation-fill-mode: forwards;
}

@keyframes ftb-wrapper-slide-out-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-200vw);
  }
}

@keyframes ftb-content-slide-out-right {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(200vw);
  }
}

@-webkit-keyframes ftb-wrapper-slide-out-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-200vw);
  }
}

@-webkit-keyframes ftb-content-slide-out-right {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(200vw);
  }
}

/*ANIMATION SET 3 ALTERNATE: Scrolling from the next section back to this section. Right box slides in from right. Left image slides in from top. */
#section_34 .ftb-wrapper-slide-in-top {
  animation-name: ftb-wrapper-slide-in-top;
  animation-duration: 500ms;
  animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  animation-fill-mode: forwards;

  -webkit-animation-name: ftb-wrapper-slide-in-top;
  -webkit-animation-duration: 500ms;
  -webkit-animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  -webkit-animation-fill-mode: forwards;
}

#section_34 .ftb-content-slide-in-right {
  animation-name: ftb-content-slide-in-right;
  animation-duration: 500ms;
  animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  animation-fill-mode: forwards;

  -webkit-animation-name: ftb-content-slide-in-right;
  -webkit-animation-duration: 500ms;
  -webkit-animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  -webkit-animation-fill-mode: forwards;
}

@keyframes ftb-wrapper-slide-in-top {
  from {
    transform: translateY(-100vh);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes ftb-content-slide-in-right {
  from {
    transform: translateY(100vh) translateX(100vw);
  }
  to {
    transform: translateY(0) translateX(0);
  }
}

@-webkit-keyframes ftb-wrapper-slide-in-top {
  from {
    transform: translateY(-100vh);
  }
  to {
    transform: translateY(0);
  }
}

@-webkit-keyframes ftb-content-slide-in-right {
  from {
    transform: translateY(100vh) translateX(100vw);
  }
  to {
    transform: translateY(0) translateX(0);
  }
}

/* ANIMATION 4: Slow moving text box */
@media only screen and (min-width: 1024px) {
    
  #section_34 .ftb-content-move-up-down {
    animation-name: ftb-content-move-up-down;
    animation-duration: 4850ms;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-direction: alternate;
    /*animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);*/

    -webkit-animation-name: ftb-content-move-up-down;
    -webkit-animation-duration: 4850ms;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-direction: alternate;
    /*-webkit-animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);*/
  }

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

#section_34 button#visie-button,
#section_34 button#missie-button {
  display: inline-block;
  padding: 15px 25px;
  font-weight: 600;
  text-align: center;
  margin: 0;
  /*background: #7c0606;*/
  color: #fff;
  /*border: none;*/
  background: rgba(0,0,0,0.1);
  border: 1px solid #444;
  border-bottom: none;
}

#section_34 button#visie-button.active,
#section_34 button#missie-button.active {
  /*background: #980000;*/
  background: rgba(0,0,0,0.4);
}

#section_34 #missie-content,
#section_34 #visie-content {
  /*display: block;*/
  background: rgba(0, 0, 0, 0.4);
  border-right: 1px solid rgb(68, 68, 68);
  border-bottom: 1px solid rgb(68, 68, 68);
  border-left: 1px solid rgb(68, 68, 68);
  border-image: initial;
  border-top: none;
  padding: 1em;
}

@media only screen and (max-width: 767px) {
    #section_34 .floating-text-box .content {
        padding-left:0px !important;
        padding-right:0px !important
    }
}

@media only screen and (min-width: 768px) {
    #section_34 .floating-text-box .content {
        padding-left:15px !important;
        padding-right:15px !important
    }
}

@media only screen and (max-width: 1023px) {
    #missie-button, #visie-button {
        display:none !important;
    }
    #section_34 #missie-content, #section_34 #visie-content {
        border: none;
    }
    
    #section_34 h2 {
        margin-top: -10px !important;
    }
    
    #section_34 #missie-content {
        /* margin-top: 5px !important; */
    }
    
    #overons-missievisie-content {
        margin-bottom:70px;
    }

}

@media only screen and (min-width: 1024px) {

    #section_34 h2 {
        display:none;
    }

    /* Custom border for missie content. */
    #section_34 #missie-content::before {
      content: "";
      position: relative;
      top: -15px;
      left: 89px;
      height: 1px;
      /* Parent width - offset/left (-1px for some reason) + content padding*/
      width: calc(100% - 88px + 1em);
      background: #444;
      display: table;
    }
    
    /* Custom border for visie content*/
    #section_34 #visie-content::before {
      content: "";
      position: relative;
      top: -15px;
      left: 186px;
      height: 1px;
      /* Parent width - offset/left (-1px for some reason) + content padding*/
      width: calc(100% - 185px + 1em);
      background: #444;
      display: table;
    }
    
    #section_34 #visie-content header::before {
      content: "";
      position: relative;
      top: -16px;
      left: -14px;
      height: 1px;
      /* Fixed to the width of missie button + margin right*/
      width: 108px;
      background: #444;
      display: table;
    }

} 

#section_23 .floating-text-box header h2 {
  margin-top: 0;
}

#section_23 #overons-opleiding-wrapper h2 {
  /* Fallback for Edge & IE. */
  word-break: break-all;
  word-break: break-word;
  hyphens: auto;
}

#section_23 #overons-opleiding-wrapper {
    background-image: url("https://webmin.digiteam.nl/sites/108/media/images/globaldesign/training1.jpg");
}

#section_23 .floating-text-box {
    background-size: 100vw;
    padding-top: 70vw;
    background-repeat: no-repeat;
    min-height: 100vh;
}

#section_23 .floating-text-box .content {
    padding: 20px 1em 0;
}

@media only screen and (min-width: 1024px) {
  #section_23 .floating-text-box {
    background-size: auto 100%;
    background-position-x: right;
    background-position-y: center;
    padding-top: initial;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  #section_23 .floating-text-box .content {
    background-color: rgba(29, 29, 27, 0.9);
    padding: 30px 3em 40px;
    width: max-content;
    margin-left: 30px;
    max-width: 70vw;
  }

  #section_23 #overons-opleiding-content {
    margin-top: 88px;
  }
}

@media only screen and (max-width: 1023px) {
    #section_23 .floating-text-box .content {
        margin-bottom: 70px;
    }
}

@media screen and (max-width: 480px) and (orientation: portrait) {
    #section_23 h2 {
        font-size: 28px !important;
        margin-top:10px !important;
    }
}

@media screen and (min-width: 480px) and (max-width: 799px) and (orientation: landscape) {
    #section_23 h2 {
        font-size: 32px !important;
        margin-top:10px;
    }
}

@media only screen and (min-width: 600px) and (max-width: 767px) and (orientation: portrait) {
    #section_23 h2 {
        margin-top:10px !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) {
    #section_23 .floating-text-box {
        padding-top: 71vw;
    }
}

@media only screen and (min-width: 800px) and (max-width: 1023px) and (orientation: landscape) {
    #section_23 #overons-opleiding-wrapper {
        background-position-y: -100px;
    }
    #section_23 .floating-text-box {
        padding-top: 60vw;
    }
}

@media only screen and (min-width: 768px) {
    #section_23 .floating-text-box .content {
        padding-left: 30px !important;
    }
}

@media only screen and (min-width: 1024px) {
  #section_23 #overons-opleiding-content {
    column-count: 2;
    column-gap: 30px;
    max-width: 90vw;
  }
}

/* ANIMATION SET 1: Scrolling to this section from the previous section. Left text box slides in from bottom. Right image box slides in from the right*/
#section_23 .ftb-wrapper-slide-in-right {
  animation-name: ftb-wrapper-slide-in-right;
  animation-duration: 500ms;
  animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  animation-fill-mode: forwards;

  -webkit-animation-name: ftb-wrapper-slide-in-right;
  -webkit-animation-duration: 500ms;
  -webkit-animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  -webkit-animation-fill-mode: forwards;
}

#section_23 .ftb-content-slide-in-bottom {
  animation-name: ftb-content-slide-in-bottom;
  animation-duration: 500ms;
  animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  animation-fill-mode: forwards;

  -webkit-animation-name: ftb-content-slide-in-bottom;
  -webkit-animation-duration: 500ms;
  -webkit-animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  -webkit-animation-fill-mode: forwards;
}

@keyframes ftb-wrapper-slide-in-right {
  from {
    transform: translateX(100vw);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes ftb-content-slide-in-bottom {
  from {
    transform: translateY(100vh) translateX(-100vw);
  }
  to {
    transform: translateY(0) translateX(0);
  }
}

@-webkit-keyframes ftb-wrapper-slide-in-right {
  from {
    transform: translateX(100vw);
  }
  to {
    transform: translateX(0);
  }
}

@-webkit-keyframes ftb-content-slide-in-bottom {
  from {
    transform: translateY(100vh) translateX(-100vw);
  }
  to {
    transform: translateY(0) translateX(0);
  }
}

/*ANIMATION SET 2: Scrolling from this section to next section. Left box slides out to left. Right image box slides out to right.*/
#section_23 .ftb-wrapper-slide-out-right {
  animation-name: ftb-wrapper-slide-out-right;
  animation-duration: 500ms;
  animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  animation-fill-mode: forwards;

  -webkit-animation-name: ftb-wrapper-slide-out-right;
  -webkit-animation-duration: 500ms;
  -webkit-animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  -webkit-animation-fill-mode: forwards;
}

#section_23 .ftb-content-slide-out-left {
  animation-name: ftb-content-slide-out-left;
  animation-duration: 500ms;
  animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  animation-fill-mode: forwards;

  -webkit-animation-name: ftb-content-slide-out-left;
  -webkit-animation-duration: 500ms;
  -webkit-animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  -webkit-animation-fill-mode: forwards;
}

@keyframes ftb-wrapper-slide-out-right {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100vw);
  }
}

@keyframes ftb-content-slide-out-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-200vw);
  }
}

@-webkit-keyframes ftb-wrapper-slide-out-right {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100vw);
  }
}

@-webkit-keyframes ftb-content-slide-out-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-200vw);
  }
}

/*ANIMATION SET 3: Scrolling from a further section back to section. Left box slides in from left. Right image box slides in from top*/
#section_23 .ftb-wrapper-slide-in-top {
  animation-name: ftb-wrapper-slide-in-top;
  animation-duration: 500ms;
  animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  animation-fill-mode: forwards;

  -webkit-animation-name: ftb-wrapper-slide-in-top;
  -webkit-animation-duration: 500ms;
  -webkit-animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  -webkit-animation-fill-mode: forwards;
}

#section_23 .ftb-content-slide-in-left {
  animation-name: ftb-content-slide-in-left;
  animation-duration: 500ms;
  animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  animation-fill-mode: forwards;

  -webkit-animation-name: ftb-content-slide-in-left;
  -webkit-animation-duration: 500ms;
  -webkit-animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  -webkit-animation-fill-mode: forwards;
}

@keyframes ftb-wrapper-slide-in-top {
  from {
    transform: translateY(-100vh);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes ftb-content-slide-in-left {
  from {
    transform: translateY(0) translateX(-100vw);
  }
  to {
    transform: translateY(0) translateX(0);
  }
}

@-webkit-keyframes ftb-wrapper-slide-in-top {
  from {
    transform: translateY(-100vh);
  }
  to {
    transform: translateY(0);
  }
}

@-webkit-keyframes ftb-content-slide-in-left {
  from {
    transform: translateY(0) translateX(-100vw);
  }
  to {
    transform: translateY(0) translateX(0);
  }
}

/* ANIMATION 4: Slow moving text box */
@media only screen and (min-width: 1024px) {
    
  #section_23 .ftb-content-move-up-down {
    animation-name: ftb-content-move-up-down;
    animation-duration: 4850ms;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-direction: alternate;
    /*animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);*/

    -webkit-animation-name: ftb-content-move-up-down;
    -webkit-animation-duration: 4850ms;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-direction: alternate;
    /*-webkit-animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);*/
  }

  @keyframes ftb-content-move-up-down {
    from {
      transform: translate3d(0, 0, 0);
    }
    to {
      transform: translate3d(0, 30px, 0);
    }
  }
  
  @-webkit-keyframes ftb-content-move-up-down {
    from {
      transform: translate3d(0, 0, 0);
    }
    to {
      transform: translate3d(0, 30px, 0);
    }
  }
  
}
#section_24 #groepsfoto_header {
  text-align: center;
  font-size: 40px;
  letter-spacing: 2.4px;
  background-color: #1d1d1b;
  position: absolute;
  top: 90px;
  left: 0;
  right: 0;
}

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

#section_24 #menu_personeel_container {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 99999999999;
  bottom: 0;
  height: auto;
}

#section_24 #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%);
}

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

#section_24 #realisatie_inner {
  opacity: 0.5;
}

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


#section_24 {
  background-size: 100% auto !important;
  background-position: center center;
  /*background-position-y: 90px !important;*/

}

#section_24 .section_inner {
  position: relative;
}

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

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

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

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

@media (min-width: 693px) and (max-width: 1023px) {
  #section_24 #groepsfoto_header {
    top: 88px;
  }
}

/*
@media (min-width: 633px) and (max-width: 953px) {
  #section_24 {
  }
}

@media (min-width: 704px) and (max-width: 918px) {
  #section_24 {
    background-position-y: 90px !important;
  }
}

@media screen and (max-width: 770px) {
  #section_24 {
    background-position-y: 50% !important;
  }
}
*/

#section_24 {
  /*background-position-y: 282px !important;*/
  background-size: 100% auto !important;
  background-position: center center;
}

@media screen and (max-width: 480px) and (orientation: portrait) {
    #section_24 {
        background-position-y: 150px !important;
    }
    #section_24 .button-container {
        margin-top: 21px !important;
    }
}

@media screen and (min-width: 480px) and (max-width: 799px) and (orientation: landscape) {
    #section_24 #groepsfoto_header {
        top: 80px !important;
    }
    #section_24 {
        background-position-y: 140px !important;
    }
    #section_24 .button-container {
        margin-top: 5px !important;
    }
}

@media screen and (min-width: 600px) and (max-width: 1023px) {
    #section_24 #groepsfoto_header {
        line-height: 34px !important;
    }
}

@media only screen and (min-width: 600px) and (max-width: 767px) and (orientation: portrait) {
    #section_24 #groepsfoto_header {
        top: 110px !important;
        line-height: 34px !important;
    }
    #section_24 .button-container {
        margin-top: 40px !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) {
    #section_24 #groepsfoto_header {
        line-height: 34px !important;
        top: 100px !important;
    }
    #section_24 .button-container {
        margin-top: 200px !important;
    }
}

@media only screen and (min-width: 800px) and (max-width: 1023px) and (orientation: landscape) {
    #section_24 #groepsfoto_header {
        line-height: 34px !important;
    }
    #section_24 {
        background-position-y: 165px !important;
    }
    #section_24 .button-container {
        margin-top: 30px !important;
    }
}

@media screen and (min-width: 1024px) {
    #section_24 {
      background-position-y: 138px !important;
      background-size: 100% auto !important;
      background-position: center center;
    }
    #section_24 .button-container {
        margin-top: 40px;
    }
}


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

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

}

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

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

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

  #section_24 #menu_3 #menu_root_3 {
    padding-bottom: 20px;
  }

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

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

}

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

/* Overrides for small (height) screens. */
@media screen and (max-width: 768px) and (max-height: 768px) {
  #section_24 #groepsfoto_header {
    font-size: 0.5em;
  }
}

@media screen and (max-width: 330px) and (max-height: 768px) {
  #section_24 #menu_3 #menu_root_3 > li a {
    padding: 0;
  }
}

@media only screen and (min-width: 800px) and (max-width: 1023px) and (orientation: landscape) {
    #section_24 #realisatie_inner {
        white-space: normal;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1279px) {
    #section_24 #realisatie_inner {
        white-space: normal;
    }
}

@media only screen and (min-width: 800px) and (orientation: portrait) {
    #section_24 #realisatie_inner {
        white-space: normal;
    }
}
