:root {
  --color-blue: #003869;
  --color-green: #538F9E;
  --color-green-light: #D7FAFF;
  --color-grey: #B2B3BC;
}

.is-hidden {display:none !important;}

#siteWrapper section:first-of-type {
  margin-bottom: 0;
  margin-top: 0;
}

#siteWrapper section:nth-of-type(2) {
  margin-top: 0;
}

#siteWrapper section:nth-last-of-type(2) {
  margin-top: -50px;
}

/* #siteWrapper section:nth-last-of-type(2) p {
  max-width: 640px;
  margin: 0 auto;
} */

.herotext {
  width: 1920px;
  margin-left: calc(50% - 960px);
  color: #fff;
  padding: 75px 0;
  background-color: var(--color-green);
}

@media (max-width: 1920px) {
  .herotext {
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }
}

.herotext__container {
  max-width: 1090px;
  margin: 0 auto;
  padding-right: 15px;
  padding-left: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 1023px) {
  .herotext__container {
    align-items: flex-start;
  }
  .herotext__container .h1,
  .herotext__container p {
    text-align: left !important;
  }
  .herotext .h1 {
    margin-bottom: 20px;
  }
}

.herotext .btn {
  margin-top: 25px !important;
  background-color: transparent !important;
}

.herotext .h1 {
  color: #fff;
  line-height: 1.2;
}

.herotext .h1::after {
  display: none;
}
@media screen and (min-width: 1024px) {
  .herotext .h1 br {
    display: none;
  }
  .herotext p {
    max-width: 640px;
    margin: 0 auto;
  }
}

@media (min-width: 768px) {
  .area-image.brick .col-md-6 {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .area-image.brick .col-md-6 {
    margin-bottom: 20px;
  }
  .area-image.brick .col-md-6.order-first {
    order: 20;
  }
}


.ids-teaser {
  color: #fff;
  display: flex; 
  border-top: 20px solid  var(--color-green);
}

@media (min-width: 1920px) {
    .ids-teaser {
      width: 1920px;
      margin-left: calc(50% - 960px);
    }
}

@media (min-width: 1023px) {
  .ids-teaser {
    gap: 10px;
  }
}

@media (max-width: 1919px) {
    .ids-teaser {
      width: 100vw;
      margin-left: calc(50% - 50vw);
    }
}

@media (max-width: 1024px) {
  .ids-teaser {
    flex-direction: column;
  }
}

.ids-teaser__item {
  flex: 1;
  background-color: var(--color-green-light);
  color: #000;
  display: flex;
  flex-direction: column;
  flex-direction: column;
  justify-content: center;
}

.ids-teaser__itemcontainer {
  max-width: 730px;
  margin: 0 auto;
  padding: 50px 25px;
}

.ids-teaser__item .h2 {
  font-size: 2.5rem;
}

.ids-teaser__item p {
  font-size: 2.1rem;
  line-height: 1.2;
}
@media screen and (max-width: 1260px) {
  .ids-teaser__item .h2 {
    font-size: 2.1rem;
  }
  .ids-teaser__item p {
    font-size: 1.75rem;
  }
}
@media screen and (max-width: 680px) {
  .ids-teaser__item .h2 {
    font-size: 1.75rem;
  }
  .ids-teaser__item p {
    font-size: 1.2rem;
  }
  .ids-teaser__item .h2,
  .ids-teaser__item p {
    text-align: center;
  }
}

.col-md-6 .h2 {
  margin-top: 0 !important;
  font-size: 30px;
}
.col-md-6 strong {
  color: var(--color-blue);
}

.tns-controls button {
    position:absolute;
    top: 40%;
    border: none;
    background: transparent;
    font-family: Raleway;
    transform: scale(.8, 1.5);
}
.tns-controls button:first-of-type {
    left: -30px;
}
.tns-controls button:last-of-type {
    right: -30px;
}

@media screen and (max-width:768px) {
  .tns-controls {
    display: none;
  }
}

.maxwidth820 {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

/*. accordion */
.basic-component__image > .row {
    align-items: flex-start;
}

.ids-toggle-accordion {
  color: #003869;
  font-weight: bold;
  margin-bottom: 20px;
  cursor: pointer;
  transition: .5s;
  display: inline-block;
  margin-right: 15px !important;
}
@media screen and (max-width: 1024px) {
  .ids-toggle-accordion {
    margin-bottom: 15px !important;
  }
}

.ids-accordion {
  max-height: 0;
  overflow: hidden;
  transition: .5s;
}
.ids-accordion.active {
    max-height: 100rem;
    margin-bottom: 20px;
}
