/*--------------------------------------------------------------
    Title & Breadcrumb
--------------------------------------------------------------*/

.main-title-section-wrapper {
  clear: both;
  float: left;
  margin: 0;
  width: 100%;
}

#header-wrapper .main-title-section-wrapper {
  position: relative;
}

#header-wrapper.header-top-absolute .main-title-section-wrapper {
  position: static;
}

.main-title-section-container {
  clear: both;
  float: left;
  margin: 0;
  padding: 75px 0 90px;
  width: 100%;
}

.main-title-section {
  float: left;
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}

.main-title-section h1 {
  font-size: var(--wdtFontSize_H1);
  text-transform: uppercase;
  letter-spacing: 5px;
  margin: 0 0 5px;
  word-break: break-all;
}

.breadcrumb {
  clear: both;
  float: left;
  width: 100%;
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: 500;
}

.breadcrumb a:not(:focus) {
  text-decoration: none;
}

.breadcrumb span:not(.current) {
  display: inline-block;
  margin: 0px 0px;
  padding: 0;
}

.breadcrumb .breadcrumb-default-delimiter:last-child {
  display: none;
}

.main-title-section-wrapper .breadcrumb-default-delimiter:before {
  content: "";
  background-color: currentColor;
  display: inline-block;
  height: 14px;
  opacity: 0.45;
  position: relative;
  top: -1px;
  vertical-align: middle;
  width: 1px;
  -webkit-transform: rotate(20deg);
  transform: rotate(20deg);
}

/* Gelijke ruimte links en rechts van elke schuine streep */
.main-title-section-wrapper .breadcrumb .breadcrumb-default-delimiter {
  margin: 0 12px;
}

.main-title-section-wrapper .breadcrumb a:not(:focus),
.main-title-section-wrapper .breadcrumb span.current {
  padding-left: 0;
  padding-right: 0;
}

.main-title-section h1,
.breadcrumb {
  hyphens: auto;
  word-break: break-word;
  word-wrap: break-word;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

.main-title-section-wrapper > .main-title-section-bg,
.main-title-section-wrapper > .main-title-section-bg:after {
  content: "";
  height: 100% !important;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: -1;
  pointer-events: none;
  background: rgba(var(--wdtPrimaryColorRgb), 0.5);
}

.home #header-wrapper .main-title-section-wrapper .main-title-section-container {
    display: none;
}


/*--------------------------------------------------------------
    Default Colors
--------------------------------------------------------------*/

.breadcrumb {
  color: var(--wdtBodyTxtColor);
}

.main-title-section h1 {
  color: var(--wdtHeadAltColor);
}

.breadcrumb a {
  color: var(--wdtHeadAltColor);
}

.breadcrumb span.current {
  color: var(--wdtBodyTxtColor);
}

.main-title-section-wrapper.overlay-wrapper > .main-title-section-bg:after {
  opacity: 0.5;
}

.main-title-section-wrapper.overlay-wrapper > .main-title-section-bg:after
{
    background-color: var(--wdtTertiaryColor);
}

.main-title-section-wrapper.overlay-wrapper.dark-bg-breadcrumb > .main-title-section-bg:after
{
    background-color: var(--wdtHeadAltColor);
}

.main-title-section-wrapper > .main-title-section-bg:after {
  background-color: rgba(var(--wdtTertiaryColorRgb), 0.5);
}

.main-title-section-wrapper.dark-bg-breadcrumb > .main-title-section-bg {
  background-color: var(--wdtHeadAltColor);
}

.dark-bg-breadcrumb .main-title-section h1,
.dark-bg-breadcrumb .breadcrumb a,
.dark-bg-breadcrumb .breadcrumb span.current,
.dark-bg-breadcrumb .breadcrumb span:not(.current) {
  color: var(--wdtAccentTxtColor);
}

.breadcrumb a:hover,
.dark-bg-breadcrumb .breadcrumb a:hover {
  color: var(--wdtHeadAltColor);
}

/*--------------------------------------------------------------
    Accents
--------------------------------------------------------------*/

/* Primary Color */
.breadcrumb a:hover {
  color: var(--wdtSecondaryColor);
}

/*--------------------------------------------------------------
	Responsive
--------------------------------------------------------------*/

@media only screen and (min-width: 1281px) {
  .main-title-section-wrapper .main-title-section-container {
    padding: 56px 0 60px;
  }
}

@media only screen and (max-width: 1280px) {
  .main-title-section-wrapper .main-title-section-container {
    padding: 44px 0 48px;
  }
}

@media only screen and (min-width: 768px) {
  
  .main-title-section-wrapper.hide-content .main-title-section, .main-title-section-wrapper.hide-content .breadcrumb { display: none; }
  .main-title-section-wrapper.hide-content .main-title-section-container { min-height: 160px; }

}

/*----*****---- << Mobile (Landscape) >> ----*****----*/

/* Common Styles for the devices below 767px width */

@media only screen and (max-width: 767px) {
  .main-title-section-wrapper .main-title-section-container {
    padding: 24px 0 26px;
  }

  .main-title-section h1 {
    font-size: clamp(22px, 7vw, 30px) !important;
    letter-spacing: 2px;
    line-height: 1.15;
    margin-bottom: 4px;
  }

  .breadcrumb {
    font-size: 13px;
  }

  .main-title-section,
  .main-title-section h1,
  .breadcrumb {
    text-align: center;
  }
}

/* Common Styles for the devices below 479px width */

@media only screen and (max-width: 479px) {
  .main-title-section-wrapper .main-title-section-container {
    padding: 20px 0 22px;
  }
}

/*--------------------------------------------------------------
    Vanhouwe: slanke titelbalk
    (extra specifiek zodat dit voorgaat op de Customizer-CSS)
--------------------------------------------------------------*/

#header-wrapper .main-title-section-wrapper .main-title-section-container {
  padding: 26px 0;
}

#header-wrapper .main-title-section-wrapper .main-title-section h1 {
  font-size: clamp(24px, 2.2vw, 36px) !important;
  letter-spacing: 3px;
  line-height: 1.15;
  margin: 0;
}

#header-wrapper .main-title-section-wrapper .breadcrumb {
  font-size: 14px;
}

/* Witte strook onder de titelbalk kleiner (was 100px) */
body:not(.home) #header-wrapper {
  margin-bottom: 50px;
}

/* Elementor-pagina's hebben zelf al ruimte bovenaan hun eerste sectie */
body.page-template-elementor_header_footer:not(.home) #header-wrapper {
  margin-bottom: 0;
}

/* Computer/tablet: titel links, kruimelpad rechts op dezelfde lijn */
@media only screen and (min-width: 768px) {
  #header-wrapper .main-title-section-wrapper .main-title-section-container > .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 30px;
  }

  #header-wrapper .main-title-section-wrapper .main-title-section,
  #header-wrapper .main-title-section-wrapper .breadcrumb {
    float: none;
    clear: none;
    width: auto;
  }
}

/* Gsm: onder elkaar, gecentreerd, compact */
@media only screen and (max-width: 767px) {
  #header-wrapper .main-title-section-wrapper .main-title-section-container {
    padding: 18px 0 20px;
  }

  #header-wrapper .main-title-section-wrapper .main-title-section h1 {
    font-size: clamp(20px, 6.5vw, 28px) !important;
    letter-spacing: 2px;
    margin-bottom: 4px;
  }

  #header-wrapper .main-title-section-wrapper .breadcrumb {
    font-size: 13px;
  }

  body:not(.home) #header-wrapper {
    margin-bottom: 30px;
  }

  body.page-template-elementor_header_footer:not(.home) #header-wrapper {
    margin-bottom: 0;
  }
}
