.icon-scroll, .icon-scroll::before {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
}
  
.floating-text-box header h2 {
    margin-top: 0;
}


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

@media only screen and (max-width: 1023px) {
    #klachten-wrapper {
        background-image: url("https://webmin.digiteam.nl/sites/115/media/images/globaldesign/kozeeland7responsive.jpg");
    }
}

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

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

@media screen and (max-width: 480px) and (orientation: portrait) {
    .floating-text-box {
        padding-top: 238px;
        padding-top: 68vw;
        padding-bottom:0 !important;
    }
}

@media screen and (min-width: 480px) and (max-width: 799px) and (orientation: landscape) {
    #klachten-wrapper {
        background-image: url("https://webmin.digiteam.nl/sites/115/media/images/globaldesign/kozeeland7responsive1.jpg");
        background-position-y: -50px;
        background-position-y: -8vw;
    }
    .floating-text-box {
        padding-top: 238px;
        padding-top: 48vw;
        padding-bottom:0 !important;
    }
}

@media only screen and (min-width: 600px) and (max-width: 767px) and (orientation: portrait) {
    .floating-text-box {
        padding-top: 434px;
        padding-top: 70vw;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) {
    .floating-text-box {
        padding-top: 556px;
        padding-top: 70vw;
        padding-bottom:50px;
    }
}

@media only screen and (min-width: 800px) and (max-width: 1023px) and (orientation: landscape) {
    #klachten-wrapper {
        background-position-y: -60px;
        background-position-y: -6vw;
    }
    .floating-text-box {
        padding-top: 518px;
        padding-top: 64vw;
        padding-bottom:50px;
    }
}

@media only screen and (min-width: 1024px) {
    
    .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 image left, text right. */
        #klachten-wrapper {
        background-position-x: left;
        flex-direction: row;
        justify-content: flex-end;
    }

    .floating-text-box .content {
        background-color: rgba(29, 29, 27, 0.9);
        padding: 30px 3em 40px;
        width: max-content;
        margin-left: 30px;
        max-width: 60vw;
        height: max-content;
        margin-top: auto !important;
        margin-bottom: auto !important;
        
        background-color: rgba(255, 255, 255, 0.9);
        border: 1px solid rgb(68, 68, 68);
    }

    #klachten-content {
        margin-right: 30px;
        margin-top:110px;
        /*padding: 40px;
        padding-top:40px;
        */
        padding: 30px 3em 40px;
        padding-bottom: 30px;
    }
    
}

.floating-text-box .content p, .floating-text-box .content li {
    max-width: none !important;
}

@media only screen and (min-width: 1800px) {
    /*
    #klachten-content {
        padding: 30px 3em 40px;
        padding-bottom: 30px;
    }
    */
    #klachten-content {
        max-width: 50vw;
        margin-right: 200px !important;
    }
}

/*
@media only screen and (min-width: 2100px) {
    .floating-text-box .content {
        font-size: 21px;
        line-height: 29px !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. */
  .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);

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

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

  @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.*/
  .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);

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

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

  @keyframes ftb-wrapper-slide-out-left {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100vw);
    }
  }
  @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(-100vw);
    }
  }
  @-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. */
  .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);

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

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

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

#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_263 {
  background-size: 100% auto !important;
  background-position: center center;
  background-position-y: -15px !important;
}

#section_263 .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_263 {
        background-position-y: 50px !important;
    }

}

@media screen and (max-width: 1023px) {
    
    #section_263 {
        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_263 {
        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_263 table {
        height: 150px !important;
    }

}

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

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

/* sepcifiek voor deze pagina */
@media screen and (max-width: 480px) and (orientation: portrait) {

}

@media screen and (min-width: 480px) and (max-width: 799px) and (orientation: landscape) {
    #logos-footer-container {
        margin-top: 30px !important;
    }
}

@media only screen and (min-width: 600px) and (max-width: 767px) and (orientation: portrait) {
    #logos-footer-container {
        margin-top: 0px !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) {
    #logos-footer-container {
        margin-top: -10px !important;
    }
}

@media only screen and (min-width: 800px) and (max-width: 1023px) and (orientation: landscape) {
    #logos-footer-container {
        margin-top: -10px !important;
    }
}

@media screen and (max-width: 1023px) {
    #menu_root_8 {
        padding-left: initial !important;
        text-align: center !important;
    }
}
