/**
 * Altuma mobile / overflow fixes (RedBit migratie nabewerking)
 * Voorkomt horizontale scroll door fixed VC-separators, brede media, grid.
 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

img,
video,
iframe,
svg,
embed,
object {
  max-width: 100%;
  height: auto;
}

/* Visual Composer / Ultimate separators die desktop-px injecteren */
.ult-vc-seperator,
.ult-vc-seperator.top_seperator,
.ult-vc-seperator.bottom_seperator {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden;
}

.ult-main-seperator-inner {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.ult-main-seperator-inner svg,
.ult-main-seperator-inner img,
.img-svg1 {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block;
}

.vc_row-full-width,
.upb_row_bg,
.vc-row-translate-wrapper {
  max-width: 100%;
  overflow: hidden;
}

.row .row {
  margin-left: 0;
  margin-right: 0;
}

@media screen and (max-width: 768px) {
  .w1000,
  .w1100,
  .container,
  .wrapper {
    max-width: 100%;
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  .c1, .c2, .c3, .c4, .c5, .c6,
  .c7, .c8, .c9, .c10, .c11, .c12 {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    float: none;
  }

  .vc_col-sm-3,
  .vc_col-sm-6,
  .vc_col-sm-12,
  .wpb_column {
    width: 100% !important;
    float: none !important;
    transform: none !important;
    -webkit-transform: none !important;
  }

  .upb_row_bg {
    min-height: 0 !important;
    background-attachment: scroll !important;
  }

  .vc-row-translate-wrapper {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  .mega_header h2 {
    font-size: 24px !important;
    line-height: 1.3 !important;
  }

  /* Maps / contact blocks */
  #styledMap,
  .contact-location,
  .main-contact-form {
    width: 100% !important;
    max-width: 100% !important;
  }

  .main-contact-form .c2,
  .main-contact-form .c3,
  .main-contact-form .c4,
  .main-contact-form .c5,
  .main-contact-form .c6,
  .main-contact-form .c8,
  .main-contact-form .c12 {
    width: 100% !important;
  }

  /* Tables that force width */
  table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }

  /* Slideshow captions */
  .slideshow-caption-description {
    font-size: 16px !important;
    line-height: 1.4 !important;
  }

  .row-slider {
    min-height: 180px;
  }
}

@media screen and (max-width: 480px) {
  body {
    font-size: 14px;
  }

  header .header-outer-top .logo {
    padding-top: 10px;
  }

  .mega_header h2 {
    font-size: 20px !important;
  }
}
