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

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

#overons-opleiding-content {
    padding-right:0px
}
    
.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;
}

.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;
    padding-left: 0;
    padding-right: 0;
}

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

#section_246 .floating-text-box {
    /*padding-top: 70vw;*/
    padding-top: initial;
}

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

    #intro-col-left-inner h2, 
    #overons-opleiding-wrapper h2, 
    #section_246 h2 {
        font-size:32px;
        /*text-align:center;*/
    }
    
    #overons-opleiding-content {
        margin-left:15px;
        padding-left: 0px;
        width: 100%;
        max-width: 93vw;
    }
    
    #section_246 h3 {
        font-size:26px;
    }
    
    #section_246 h4 {
        font-size:24px;
    }

}

@media screen and (max-width: 480px) and (orientation: portrait) {
    #section_246 #overons-opleiding-content {
        padding-left: 0px;
        width: 100%;
        max-width: 92vw;
    }
    #section_246 #overons-opleiding-content {
        margin-left: 10px;
    }
    #intro-col-left-inner h2, #overons-opleiding-wrapper h2, #section_246 h2 {
        font-size: 23px !important;
    }
    
    #section_246 h3 {
        font-size: 18px !important;
    }
    
    #section_246 h4 {
        font-size: 20px !important;
    }

}

@media screen and (min-width: 480px) and (max-width: 799px) and (orientation: landscape) {
    #intro-col-left-inner h2, #overons-opleiding-wrapper h2, #section_246 h2 {
        font-size: 28px !important;
    }
    
    #section_246 h3 {
        font-size: 20px !important;
    }
    
    #section_246 h4 {
        font-size: 20px !important;
    }
    
}

@media only screen and (max-width: 1023px) {
    
    #overons-opleiding-wrapper {
        padding-bottom:0px;
    }
    
    #overons-opleiding-content {
        padding-left:0px;
        width:100%;
        max-width: 90vw;
    }
    
    #intro-col-container, #intro-col-left, #intro-col-right {
        display:block;
        width:100%;
    }
    
    #section_246 .floating-text-box .content p, 
    #section_246 .floating-text-box .content li {
        max-width: initial;
    }
    
}

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

@media only screen and (min-width: 1024px) and (max-width: 1339px) {
    
    #overons-opleiding-content {
        padding-left: 0;
        padding-right: 0;
        max-width: 94vw;
    }
    
}

@media only screen and (min-width: 1440px) and (max-width: 1599px) {
    
    #overons-opleiding-content {
        padding-left: 0;
        padding-right: 0;
        max-width: 96vw;
    }
    
}

@media only screen and (min-width: 1600px) and (max-width: 1799px) {
    
    #overons-opleiding-content {
        padding-left: 0;
        padding-right: 0;
        max-width: 85vw;
        padding-top: 145px;
        padding-bottom:0px !important;
        margin-top: auto;
        margin-bottom:auto;
    }
    
}

@media only screen and (min-width: 1800px) {
    
  #overons-opleiding-content {
    max-width: 80vw;
    margin-top: auto;
    margin-bottom:auto;
    padding-top: 160px;
    padding-bottom:0px;
  }
  
}


#overons-opleiding-content {
    background-color: rgba(255, 255, 255, 0.9) !important;
    background-color: transparent !important;
}



/* 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*/
.ftb-wrapper-slide-in-right {
  animation-name: ftb-wrapper-slide-in-right;
  animation-duration: 800ms;
  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: 800ms;
  -webkit-animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  -webkit-animation-fill-mode: forwards;
}

.ftb-content-slide-in-bottom {
  animation-name: ftb-content-slide-in-bottom;
  animation-duration: 800ms;
  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: 800ms;
  -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.*/
.ftb-wrapper-slide-out-right {
  animation-name: ftb-wrapper-slide-out-right;
  animation-duration: 800ms;
  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: 800ms;
  -webkit-animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  -webkit-animation-fill-mode: forwards;
}

.ftb-content-slide-out-left {
  animation-name: ftb-content-slide-out-left;
  animation-duration: 800ms;
  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: 800ms;
  -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(-200vw);
  }
  to {
    transform: translateX(0);
  }
}

/*ANIMATION SET 3: Scrolling from a further section back to section. Left box slides in from left. Right image box slides in from top*/
.ftb-wrapper-slide-in-top {
  animation-name: ftb-wrapper-slide-in-top;
  animation-duration: 800ms;
  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: 800ms;
  -webkit-animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  -webkit-animation-fill-mode: forwards;
}

.ftb-content-slide-in-left {
  animation-name: ftb-content-slide-in-left;
  animation-duration: 800ms;
  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: 800ms;
  -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) {*/
  .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);
    }
  }
/*}*/


@media only screen and (min-width: 1024px) {
    
    #intro-col-container, #intro-col-container-tab2, #intro-col-container-tab3 {
      display: flex;
    }
    
    .intro-col {
    	display: flex;
    	flex-direction: column;
    	flex: 1 1 50%;
    	/* 
    	In the order, equal to
    	flex-grow: 1;
    	flex-shrink: 1;
    	flex-basis: 300px;
    	*/
    }

    #intro-col-left, #intro-col-left-tab2, #intro-col-left-tab3 {
        padding-right:40px;
    }

}

button#btn-kozeeland,
button#btn-pivot,
button#btn-voorwie {
    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;
    
    background-color: rgba(255, 255, 255, 0.7);
    color:#7F7E7E;
    /*border: none;*/
  
    position: relative;
    bottom: -1px;
    border-bottom: solid rgba(255, 255, 255, 0.7) 1px;
}

button#btn-kozeeland.active,
button#btn-pivot.active,
button#btn-voorwie.active {
  /*background: #980000;*/
  background: rgba(0,0,0,0.7);
  
  background-color: rgba(255, 255, 255, 0.9);
}


    #span-kozeeland2 {
        display:none;
    }
    
@media only screen and (min-width: 481px) {
    /*
    #span-kozeeland2 {
        display:none;
    }
    */

    #span-pivotpoint2 {
        display:none;
    }
    
}

@media only screen and (max-width: 550px) {
    button#btn-kozeeland,
    button#btn-pivot,
    button#btn-voorwie {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media only screen and (max-width: 480px) {
    button#btn-kozeeland,
    button#btn-pivot,
    button#btn-voorwie {
        padding-left: 7px;
        padding-right: 7px;
        font-size: 14px;
        max-width:100px;
        white-space:nowrap;
    }
    
    button#btn-kozeeland {
        padding-left:5px
    }
    
    /*
    #span-kozeeland1 {
        display:none;
    }
    */
    
    #span-pivotpoint1 {
        display:none;
    }

}

.tab-content {
    border-top: 1px solid rgb(68, 68, 68);
}

#kozeeland-content,
#pivot-content,
#voorwie-content{
  /*display: block;*/
  background: rgba(0, 0, 0, 0.7);
  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;
  
  background-color: rgba(255, 255, 255, 0.9);
  /*border: none;*/
  
  /*
  column-count: 2;
  column-gap: 35px;
  */
  padding-left:25px;
  padding-right:25px;
  padding-top:25px;
  padding-bottom:25px;
}

/* Custom border for missie content. */
#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*/
#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;
  */
}
#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;
  */
}

body {
  margin: 0;
  padding: 0;
}

#one {
    background-image: url("https://webmin.digiteam.nl/sites/115/media/images/globaldesign/training1.jpg");
    background-image: url("https://webmin.digiteam.nl/sites/115/media/images/globaldesign/training4.jpg");
    background-image: url("https://webmin.digiteam.nl/sites/115/media/fotoalbum/6/stock-photo-hairdresser-putting-mask-on-woman-s-hair-in-salon-536525845.jpg");
    /*background-image: url("https://webmin.digiteam.nl/sites/115/media/images/globaldesign/kozeeland4.jpg");*/
    background-image: url("https://webmin.digiteam.nl/sites/115/media/images/globaldesign/training5.jpg");
    
}

#two {
    background-image: url("https://webmin.digiteam.nl/sites/115/media/images/globaldesign/training2.jpg");
}

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

#four {
    background-image: url("https://webmin.digiteam.nl/sites/115/media/images/globaldesign/kozeeland4.jpg");
    /*background-image: url("https://webmin.digiteam.nl/sites/115/media/fotoalbum/6/stock-photo-hairdresser-putting-mask-on-woman-s-hair-in-salon-536525845.jpg");*/
}

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

#one {
  margin-top: 72px;
}

@media only screen and (max-width: 1023px) {
    #one {
      margin-top: 72px; /* 34 */
    }
    
    #four a {
        width: 150%;
        display: table;
    }
}


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

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

.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);
    }
}

@media only screen and (max-height: 640px) and (orientation: landscape) {
    
    #one {
      margin-top: 82px; /* 34 */
    }
    
    .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;
    }
    
}

@media only screen and (max-width: 480px) and (orientation: portrait) {
    #one {
      margin-top: 64px; /* 34 */
    }
    
    .text-marquee-container .text-marquee {
        height: calc(25vh - 16px);
    }
    
    /*
    #one a {
        min-width: 75%;
        display: table;
    }
    
    #two a {
        min-width: 85%;
        display: table;
    }
    
    #three a {
        min-width: 75%;
        display: table;
    }
    */
}

.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: 768px) {
  .text-marquee-container .text-marquee a {
    font-size: 700%;
  }
}

@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: 5em;
  }
  
  /*
  .text-marquee-container .text-marquee:hover a {
    opacity: 100;
  }
  */

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

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

    #four a {
        width: 150%;
        display: table;
    }
    
}

@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%;*/
    font-size: 7em;
  }
}

/* background-position-y: 186px !important; */

#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;
  
  display:none;
  
  background-color: rgba(255, 255, 255, 0.9);
  color:grey;
}

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

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

#section_65 .section_inner {
  position: relative;
}

@media screen and (max-width: 1165px) {
    
    /*
    #groepsfoto_header {
        font-size: 0.9em;
    }
    */
    
    #section_65 {
        background-position-y: 50px !important;
    }

}

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

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

@media screen and (max-width: 768px) {
  #groepsfoto_header {
    font-size: 0.9em;
  }
}

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

#section_65 {
    background-position: initial !important;
}

.floating-text-box header h2 {
  margin-top: 0;
}
  
@media only screen and (min-width: 319px) {

  .floating-text-box {
    background-size: 100vw;
    padding-top: 70vw;
    background-repeat: no-repeat;
  }

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

@media only screen and (min-width: 768px) {
    
  .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;
  }

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

#over-prohair-wrapper {
    background-image: url("https://webmin.digiteam.nl/sites/115/media/images/globaldesign/kapsalon_origineel1_bijgesneden.jpg");
    position: relative;
    height: calc(100vh - 138px);
        height: calc(100vh - 88px);
    top: 138px;
        top: 88px;
    min-height: 0;
    background-position-x: left;
    flex-direction: row;
    justify-content: flex-end;
}

#over-prohair-content {
    margin-right: 30px;
    margin-top: auto;
    margin-bottom: auto;
    padding-top: 30px;
    padding-bottom: 15px;
    width:45vw;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgb(68, 68, 68);
}

#over-prohair-wrapper.floating-text-box .content p {
    max-width: 100vw;
}

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

    #over-prohair-wrapper {
        display:block;
        width: 100%;
        height: auto;
        min-height: 100vh;
        background-size:cover;
        
    }

    #over-prohair-content {
        width:60vw;
        float:right;
    }
    
    #over-prohair-content section {
        display:block;
        /*margin-bottom:170px;*/
    }
  
}

@media screen and (min-width: 1024px) and (max-width: 1600px) {
    #over-prohair-wrapper {
        background-position-x: -60px;
    }
}

@media screen and (max-width: 1023px) {
    
    #section_65 {
        background-image: url("https://webmin.digiteam.nl/sites/115/media/images/globaldesign/kapsalon_origineel1_bijgesneden.jpg") !important;
        background-position-y: 138px !important;
            background-position-y: 88px !important;
            background-position-y: 0px !important;
        background-size:cover !important;
    }

    #over-prohair-wrapper {
        position:inherit;
        padding-top:168px;
            padding-top:145px;
        background-image:none;
    }
    
    #over-prohair-content {
        width:75vw;
        max-width:75vw;
        margin-left:auto;
        margin-right:auto;
        float:none;
        margin-bottom:70px;
    }
  
}

@media screen and (max-width: 767px) {
    #over-prohair-content {
        width:90vw;
        max-width:90vw;
    } 
}

@media screen and (max-width: 480px) {
    
    #section_65 {
        background-position-y: 0px !important;
    }
    
    #over-prohair-wrapper {
            padding-top:125px;
    }
    
    #over-prohair-content {
        width:100%;
        max-width: 90vw;
        margin-right: 0 !important;
        margin-left: 15px !important;
        margin-bottom:30px;
    } 
}


.ftb-wrapper-slide-in-left {
  animation-name: ftb-wrapper-slide-in-left;
  animation-duration: 800ms;
  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: 800ms;
  -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: translateY(150vh) translateX(-100vw);
  }
  to {
    transform: translateX(0);
  }
}

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


.ftb-content-right-slide-in-bottom {
  animation-name: ftb-content-right-slide-in-bottom;
  animation-duration: 800ms;
  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: 800ms;
  -webkit-animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  -webkit-animation-fill-mode: forwards;
}

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


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


.ftb-wrapper-slide-out-left {
  animation-name: ftb-wrapper-slide-out-left;
  animation-duration: 800ms;
  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: 800ms;
  -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(-100vw);
  }
}

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

.ftb-content-slide-out-right {
  animation-name: ftb-content-slide-out-right;
  animation-duration: 800ms;
  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: 800ms;
  -webkit-animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  -webkit-animation-fill-mode: forwards;
}

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

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

.ftb-wrapper-slide-in-top {
  animation-name: ftb-wrapper-slide-in-top;
  animation-duration: 800ms;
  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: 800ms;
  -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);
  }
}

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


.ftb-content-slide-in-right {
  animation-name: ftb-content-slide-in-right !important;
  animation-duration: 800ms;
  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 !important;
  -webkit-animation-duration: 800ms;
  -webkit-animation-timing-function: cubic-bezier(0.23, 0.15, 0.25, 0.99);
  -webkit-animation-fill-mode: forwards;
}


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

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

/* ANIMATION 4: Slow moving text box */
@media only screen and (min-width: 768px) {
  .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);
    }
  }
}


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

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

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

/*.active #adress_box_1 {*/
#adress_box_1 {
  position: absolute;
  left: 0;
  right: 70%;
  height: 380px;
  background-image: url(https://webmin.digiteam.nl/sites/115/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;
  
  background-color: rgba(255, 255, 255, 0.9);
  background-color: #060606e0;
  color:#FFFFFF;
}

#adress_box_2 a {
    color:grey;
}

@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_64 .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_64 {
        font-size: 24px !important;
        line-height: 32px !important;
    }
    #the_addressx strong {
        font-size: 28px !important;
        line-height: 36px !important;
    }
}
#section_62 {
    background-position: top center !important;
}

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

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

/* 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, #contactformulier h2 {
  text-align: center;
  margin-bottom: 20px;
}

#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;
  background:#FFFFFF;
  border-radius: 0;
}

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

.contact-form-section, #contactformulier {
    margin-top: 80px;
}

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

    .contact-form-section, #contactformulier {
        margin-top: 120px;
        margin-bottom:100px;
    }

}

@media only screen and (min-width: 500px) and (max-width: 767px) {

    .contact-form-section, #contactformulier {
        margin-top: 30px;
        margin-bottom:100px;
    }

}

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

    .contact-form-section, #contactformulier {
        margin-top: 135px;
        margin-bottom:100px;
    }

}

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

    .contact-form-section, #contactformulier {
        margin-top: 0px;
        margin-bottom:0px;
        /*min-height:100vh;*/
    }

}

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

    .contact-form-section, #contactformulier {
        margin-top: 0px;
        margin-bottom:0px;
        /*min-height:100vh;*/
    }

}

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

    .contact-form-section, #contactformulier {
        margin-top: 100px;
    }

}

.contact-form-wrapper, #contactformulier {
    width: 100vw;
    padding-left: 1em;
    padding-right: 1em;
    
    max-width: 640px;
    /*margin: 0 auto;*/
    margin-left:auto;
    margin-right:auto;
    background-color: rgba(255, 255, 255, 0.7);
    display: table;
    padding-bottom: 30px;
    padding-top: 15px;
    border: 1px solid rgb(68, 68, 68);
}

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

    .contact-form-wrapper, #contactformulier {
        width: 90vw;
    }
    
    .contact-form-section .contact-form-container h2, #contactformulier h2 {
        margin-top: 0;
    }
    
    .cfverplicht {
        font-size: 14px;
        line-height: 18px;
    }
  
}

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

    .contact-form-wrapper, #contactformulier {
        margin-right: 30px;
        margin-left: 20px;
        padding-left: 0;
        padding-right: 0;
    }
    
    .contact-form-section .contact-form-container h2, #contactformulier h2 {
        padding-left: 10px;
        padding-right: 10px;
    }
    
}

@media only screen and (max-width: 355px) {
  .contact-form-section .contact-form-container h2, #contactformulier h2 {
    margin-top: 0;
    font-size: 25px;
  }
}

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

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

}

/*
@media only screen and (min-width: 1800px) {
    .contact-form-wrapper, #contactformulier {
        margin-top:auto;
        margin-bottom:auto;
    }
}
*/
#menu_personeel_container {
    height: auto;
    background: rgba(6, 6, 6, 0.3);
    background-color: #111111;
    width: 100%;
    height: 50px;
}

@media screen and (max-width: 1331px) {
    
    #menu_personeel_container .col-md-3:first-child {
        width:0px;
        padding:0px;
    }
    
    #menu_personeel_container .col-md-6 {
        width:75%;
    }
    
}

#realisatie {
  font-family: 'Source Sans Pro';
  font-size: 14px;
  text-align: right;
  color:#FFFFFF;
}

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

#realisatie_inner {
  opacity: 0.7;
}

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

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

#section_249 .section_inner {
  position: relative;
}

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

    #menu_personeel_container .col-md-3:last-child {
        width:35%;
    }
    
    #menu_personeel_container .col-md-6 {
        width:65%;
    }
    
    #menu_root_8 {
        font-size: 20px;
    }
    
    #menu_8 #menu_root_8 > li {
        width: 49%;
        text-align: center;
    }
    
    #menu_8 #menu_root_8 > li a {
        padding-top:20px;
        padding-left: 5px;
        padding-right: 5px;
        line-height: 5px;
    }
    
    #section_249 {
        background-position-y: 50px !important;
    }

}

@media screen and (max-width: 1023px) {
    
    #section_249 {
        background-position-y: 100px !important;
    }
  
    #menu_root_8 {
        height:60px;
    }
    
    #menu_root_8 > li {
        top: -8px;
        vertical-align: middle;
    }
  
    #menu_8 #menu_root_8 > li a {
        line-height: 20px;
    }
    
    #menu_personeel_container {
        height:70px;
    }
    
    #realisatie_inner {
        top: 16px;
    }
    
}

@media screen and (max-width: 850px) {
    
    #section_249 {
        background-position-y: 50% !important;
    }
    
    #menu_personeel_container {
        height: 130px;
    }
    
    #menu_personeel_container .col-md-3:last-child {
        width:100%;
    }
    
    #menu_personeel_container .col-md-6 {
        width:100%;
    }
    
    #menu_root_8 {
        padding-left:revert;
    }
    
    #menu_root_8 > li {
        top:0;
    }
    
    #realisatie {
        position: relative;
        text-align: center;
        -ms-transform: translate(0%, 0%);
        transform: translate(0%, 0%);
    }
  
}

@media screen and (max-width: 767px) {
    
    #menu_personeel_container .col-md-3:first-child {
        width: 0px;
        padding: 0px;
        height: 0;
    }

    #menu_personeel {
        display:block !important;
    }
    
}

/* Overrides for small (height) screens. */
@media screen and (max-width: 330px) and (max-height: 768px) {
    
  #menu_8 #menu_root_8 > li a {
    padding: 0;
  }
  
}
 
@media screen and (min-width: 480px) and (max-width: 799px) and (orientation: landscape) {
    
    #logos-footer-container {
        margin-top:98px;
    }
    
    #section_249 table {
        height: 150px !important;
    }

}

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

    #logos-footer-container {
        margin-top:10px;
    }
    
    #section_249 table {
        height: 150px !important;
    }
    
    #menu_root_8 {
        font-size: 14px;
    }
    
}
