/* LITTLE GRID */
.grid-container {
  display: grid;
  grid-auto-flow: column;
  gap: 2rem;
  grid-auto-columns: 1fr;
}

.column {
  display: flex;
  flex-direction: column;
}

@media (max-width: 880px) {
  .grid-container {
    grid-auto-flow: row;
    grid-auto-rows: 1fr;
  }
} 

/* +++++++++ DEMO: Kirby Layout CSS +++++++++ */

.grid {
  --columns: 12;
  --gutter: 2rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: 1fr;
}
.grid > .column {
  /* margin-bottom: var(--gutter); */
}

@media screen and (min-width: 880px) {
  .grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .grid > .column {
    grid-column: span var(--columns);
  }

  .column {
    display: flex;
    flex-direction: column;
  }
  
  .column .btn {
    margin-top: auto;
  }

}

.grid-two-colums {
display: grid;
grid-template-columns: none;
gap: 2rem;
}

@media screen and (min-width: 800px) {
  .grid-two-colums {
    grid-template-columns: repeat(2, 1fr);
    }
  }

/* DIVIDER */

.divider:before {
  content: '';
  background-color: var(--lightgrey);
  display: block;
  width: 45%;
  height: 1px; 
}

.divider:after {
  content: '';
  background-color: var(--lightgrey);
  display: block;
  width: 45%;
  height: 1px;  
}

@media (min-width: 880px) {

  .divider:before {
    width: 47%;
  }

  .divider:after {
    width: 47%;
  }
}

.divider {
  background: url(/assets/images/divider-icon.png) no-repeat;
  background-position: center;
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 25px;
  margin: 2rem 0;
  align-items: center;
  border: none;
}

/* BREADCRUMB */
.breadcrumb-container {
  margin-top: 1rem;
  margin-bottom: 0;
}

.breadcrumb ul {
  margin: 0rem;
  display: flex;
  /* flex-wrap: wrap; */
}

.breadcrumb ul li {
  list-style: none;
}

.breadcrumb ul li a {
  padding: 0;
  border-bottom: 0;
  font-size: .8rem;
  display: block;
  float: left;
}

.breadcrumb ul li a.active {
  color: var(--green);
}

@media (min-width: 880px) {
  .breadcrumb ul li a {
   font-size: 1rem;
  }
}

.breadcrumb ul li:first-child a {
  padding-left: 0;
}

.breadcrumb ul li:nth-last-child(n+2):after {
  display: inline-block;
  content: "​";
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23767676' stroke-width='2' stroke-linecap='round' stroke-linejoin='round%5C'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E") center/16px 16px no-repeat;
  width: 16px;
  margin: 0 8px;
}

/* BUTTON */

.btn {
  display: inline-flex;
  max-width: fit-content;
  font-size: .9rem;
  font-weight: semibold;
  color: var(--white);
  text-transform: uppercase;
  background-color: var(--blue);
  padding: .5rem 1rem;
  text-decoration: none;
  letter-spacing: 1px;
  margin-top: 1rem;
  justify-content: center; /* center the content horizontally */
  align-items: center; 
}

.btn:after {
  content: '';
  background: url(/assets/icons/button-arrow.svg) no-repeat;
  background-position: right;
  background-size: 15px;
  width: 20px;
  height: 22px;
  margin-left: .5rem;
}

/* GREEN BUTTON */

.green-btn {
  background-color: var(--green);
}

/* WHITE BUTTON */

.blue-banner-image-right .btn {
  background-color: var(--white);
  font-weight: bold;
  color: var(--blue);
}

.blue-banner-image-right .btn:after {
  content: '';
  background: url(/assets/icons/button-arrow-blue.svg) no-repeat;
  background-position: right;
  background-size: 15px;
  width: 20px;
  height: 22px;
  margin-left: .5rem;

}

.blue-banner-image-left .btn {
  background-color: var(--white);
  font-weight: bold;
  color: var(--blue);
}

.blue-banner-image-left .btn:after {
  content: '';
  background: url(/assets/icons/button-arrow-blue.svg) no-repeat;
  background-position: right;
  background-size: 15px;
  width: 20px;
  height: 22px;
  margin-left: .5rem;

}

/* BACK BUTTON */

.back-btn {
  display: inline-flex;
  max-width: fit-content;
  font-size: 1rem;
  font-weight: semibold;
  color: var(--white);
  text-transform: uppercase;
  background-color: var(--green);
  padding: .5rem 1rem;
  text-decoration: none;
  letter-spacing: 1px;
}

.back-btn:before {
  content: '';
  background: url(/assets/icons/back-button-arrow.svg) no-repeat;
  background-position: left;
  background-size: 15px;
  width: 20px;
  height: 20px;
  margin-right: .5rem;
}

/* ACCODRION */
.accordion-wrapper {
  overflow: hidden;
}

.accordion-item {
  list-style-type: none;
}

.accordion-wrapper input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.accordion {
  width: 100%;
  color: var(--green);
  overflow: hidden;
  margin: 0;
  margin-bottom: .3rem;
}
.accordion:last-child{
  margin-bottom: 0;
}
.accordion-label {
  display: flex;
  -webkit-box-pack: justify;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: var(--lightgrey);
  text-transform: uppercase;
  cursor: pointer;
}
.accordion-label:hover {
  background: var(--midgrey);
}
.accordion-label::after {
  content: "";
  background-image: url(/assets/icons/accordion-arrow.svg);
  background-repeat: no-repeat;
  background-position: center;
  width: 20px;
  height: 16px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.accordion-content {
  max-height: 0;
  padding: 0 16px;
  color: var(--grey);
  /* background: var(--green); */
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  display: flex;
}

.accordion-content figure {
  margin: 0;
}

.accordion-content figure img {
  max-width: 120px;
  margin-right: 1.2rem;
} 

.accordion-content p {
  margin: 0;
  /* color: rgba(4,57,94,.7); */
  font-size: 18px;
}
input:checked + .accordion-label {
  /* background: rgba(4,57,94,1); */
}
input:checked + .accordion-label::after {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}
input:checked ~ .accordion-content {
  max-height: 100vh;
  padding: 16px;
}

/* READ MORE */

/* CIENT TEASER */

.client-teaser {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.client-teaser img {
  max-width: 120px;
}

/* CIENT TEASER */

.header-content {
  min-height: 250px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  /* causes conflict between header navigation and page header module
  position: relative;
  z-index: 99; */
}

.header-content h1 {
  margin: 0;
}

/* QUOTE */
.quote {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* BLUE BANNER */

.fullsize-banner {
  padding: 2rem 0 3rem 0;
  color: var(--white);
  width: 1000px;
  margin-left: auto;
  margin-right: auto;
  max-width: 95%;
}

.fullsize-banner h2 {
  color: var(--white);
}

.fullsize-banner h2 > p {
  margin: 0;
}

.fullsize-banner figure {
  margin: 0;
}

.blue-banner-image-left {
  background: url(/assets/images/trivium-icon.svg) right no-repeat var(--blue);
  background-size: 900px 900px;
  background-position: left -470px center;
}

.blue-banner-image-right {
  background: url(/assets/images/trivium-icon.svg) right no-repeat var(--blue);
  background-size: 1000px 1000px;
  background-position: right -470px center;
}

.blue-banner-image-right h2 {
  color: var(--white) !important;
}

.blue-banner-image-left h2 {
  color: var(--white) !important;
}

.blue-banner-image-right h3 {
  color: var(--white) !important;
}

.blue-banner-image-left h3 {
  color: var(--white) !important;
}

.blue-banner-image-right p {
  color: var(--white) !important;
}

.blue-banner-image-left p {
  color: var(--white) !important;
}

/* BANNER - with BG image right + Headline + Logos */

.banner-content .logos {
  display: flex;
  justify-content: space-between;
}

.banner-content .logos img {
  width: auto;
  max-height: 40px;
}

/* LIGHT-BLUE BANNER */

.lightblue-banner-image-left {
  background: url(/assets/images/trivium-icon-lightblue.svg) right no-repeat var(--lightblue);
  background-size: 900px 900px;
  background-position: left -470px center;
}

.lightblue-banner-image-left h2 {
  color: var(--blue);
}

.lightblue-banner-image-right {
  background: url(/assets/images/trivium-icon-lightblue.svg) right no-repeat var(--lightblue);
  background-size: 900px 900px;
  background-position: right -470px center;
}

.fullsize-banner img {
  max-width: 580px;
}

.fullsize-banner h4 {
  color: var(--white);
}

.fullsize-banner h3 {
  color: var(--blue);
  margin-top: 0;
}

.fullsize-banner a {
  color: var(--white);
  display: inline-flex;
}

.fullsize-banner a > img {
  width: 20px;
  height: auto;
  margin-right: 1rem;
}

.headline-image {
  max-width: fit-content;
}

/* FOOTER */

.footer-section {
  max-width: none;
  width: 100%;
  margin: 0;
  background-color: var(--lightgrey);
}

footer  {
  padding: 1rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

footer h5 {
  color: var(--green);
  margin-bottom: 0;
}

footer h3 {
  font-weight: 600;
  margin-bottom: 0;
}

footer a {
  color: var(--text);
}

footer p {
  font-size: .8rem;
}

.mini-footer {
  font-size: .8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 880px) { 
  .mini-footer {
    flex-direction: row;
    align-items: center;
  }
}

.mini-footer .newsletter {
  color: var(--green);
}

.mini-footer img {
  width: auto;
  height: 22px;
}

/* REFERENCES & NEWS */

.content-box {
  -webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.43);
  -moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.43);
  box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.43);
  padding: 0;
  display: block;
  position: relative;
}

.content-box a {
  color: var(--green);
  display: flex;
  align-items: center;
}

.box-image {
  float: none;
}

.box-content {
  padding: 1.2rem;
}

.content-box .box-image img {
  width: 370px;
  height: auto;
}

.box-content .logo {
  max-width: 120px;
  height: auto;
}

.box-content .hashtags {
  display: flex;
  color: var(--green);
  margin-top: 1rem;
}

.box-content .hashtags > span {
  margin-right: 1rem;
}

.image_icon {
  width: auto;
  margin-left: 1rem;
}

@media (min-width: 880px) {
  .content-box {
    display: inline-block;
  }
  .box-image {
    float: right;
    margin-left: 1rem;
    width: fit-content;
  }
  .box-content .hashtags {
    display: flex;
    color: var(--green);
    /* position: absolute;
    bottom: 10px; */
  }
}

/* SHADOW BOX */
.box {
  -webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.43);
  -moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.43);
  box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.43);
}

/* MANAGEMENT TEAM */

.inner-box {
  padding: 1.2rem;
}

.inner-box .name {
  display: flex;
  justify-content: space-between;
  font-size: 1.25rem;
  margin: 0;
  text-transform: uppercase;
}

.inner-box .name p {
  margin: 0;
}

.inner-box .name img {
  width: 30px;
}

/* VACANCIES */

.career-box {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.career-box img {
  height: 165px;
}

.career-box p {
  text-align: center;
}

.career-box span {
  width: 100%;  
  border: 1px solid var(--lightgrey);
  margin: 1rem 0;
}

/* SPECIAL LIST + Headline + Text */

.special-list-container {
  position: relative;
  margin-top: 4rem;
}

.special-list-container img {
  position: absolute;
  top: -60px;
  left: 0;
  width: 180px;
}

.special-list-item {
  position: relative;
  margin: 2rem 0 0 4rem;
  -webkit-box-shadow: 0px -10px 13px 0px rgba(211,211,211,0.59);
  -moz-box-shadow: 0px -10px 13px 0px rgba(211,211,211,0.59);
  box-shadow: 0px -10px 13px 0px rgba(211,211,211,0.59);
  padding: 1rem;
  background-color: var(--white);
}

.special-list-item h3 {
  color: var(--blue);
  padding-bottom: 1rem;
  margin-top: .5rem;
  border-bottom: 1px solid var(--lightgrey);
  font-size: 1.375rem;
}
@media (max-width: 600px) {
  .special-list-item h3 {
    font-size: 1rem;
  }
}

.special-list-item > hr {
  color: var(--lightgrey);
}

.special-list-item ul li {
  padding: 1rem 0;
}

/* Headline + Text + Icon List + Headline + Text */

.icon-list-item {
  display: flex;
  align-items: center;
  margin-top: 2rem;
}

.icon-list-item img {
  width: 90px;
  height: 90px;
  margin-right: 2rem;
}

.icon-list-item h3 {
  color: var(--blue);
  margin-bottom: .5rem;
}

.icon-list-item p {
  margin-top: .5rem;
}

/* BEST PRACTICES - Headline + Text + List */

.best-practice-item {
  display: flex;
}

.best-practice-item span {
  color: var(--green);
  font-weight: bold;
  margin-right: 1rem;
}

.best-practice-item p {
  margin-top: 0;
}

/* BLOCK TYPE IMAGE */
.block-type-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.block-type-image img {
  width: auto;
  max-width: 100%;
}

.gallery {
  margin: 0;
  padding: 0;
}

.gallery ul {
/*  line-height: 0;*/
  list-style-type: none;
  padding: 0;
  columns: 2;
  column-gap: 1.5rem;
  display: flex;
  flex-direction: inherit;
  flex-wrap: wrap;
}

.gallery figure {
  margin: 0 0 1.5rem 0;
}

.gallery figcaption {
  margin: 0;
}
section .gallery li {
  line-height: 1;
  margin-left: 0;
}
section .gallery li:before {
  content: "";
  background-color: transparent;
  width: 0;
  height: 0;
  display: inherit;
  border-radius: 0;
  margin: 0;
}

.gallery a {
  display: block;
  break-inside: avoid;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* HERO SILDER */
#hero-slider {
  position: relative;
  height: 100vh;
  width: auto;
  margin: 0;
  max-width: 100%;
}

#hero-slider .hero-slider__slide {
  height: 100vh;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  display: grid;
  grid-template-columns: 40% 40%;
  align-items: center;
  justify-content: center;
  color: white;
}

@media (max-width: 800px) {
  #hero-slider .hero-slider__slide {
    grid-template-columns: auto;
  }
}

#hero-slider .hero-slider__container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  max-width: 580px;
  background-color: var(--white);
  padding: 1.8rem 2rem;
  grid-column-start: 2;
}

#hero-slider .hero-slider__slide .hero-slider__container h1 {
  font-size: 20px;
  margin: 0;
  color: var(--text);
  text-transform: none;
}

@media (min-width: 576px) {
  #hero-slider .hero-slider__slide .hero-slider__container h1 {
    font-size: 25px;
  }
}

#hero-slider .hero-slider__slide .hero-slider__container h4 {
  position: relative;
  margin: 0;
  font-weight: normal;
  font-size: 18px;
  text-transform: none;
  color: var(--green);
}

#hero-slider .hero-slider__slide .hero-slider__container a:hover {
  text-decoration: none;
}

#hero-slider .hero-slider__button {
  position: absolute;
  top: 50%;
  color: white;
  height: 50px;
  transform: translateY(-50%);
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: 300ms ease-in-out
}

#hero-slider .hero-slider__button:hover {
  box-shadow: 0px 0px 15px 1px black;
}

#hero-slider .hero-slider__button--next {
  right: 10px;
}

#hero-slider .hero-slider__button--next i {
  transform: translateX(2px);
}

#hero-slider .hero-slider__button--prev {
  left: 10px;
}

#hero-slider .hero-slider__button--prev i {
  transform: translateX(-2px);
}

#hero-slider .btn {
  background-color: var(--green);
}

#hero-slider .slick-slide {
  padding: 0;
}

.slider1 {
  max-width: 100vw;
  width: 100%;
}

.customer-container {
  text-align: center;
}

.customer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 50px 25px;
  flex-wrap: wrap;
}

.customer-image {
  max-width: 100%;
}

/* YOUTUBE EMBEDDED */
.block-type-video {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}

.block-type-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.block-type-teaserbox {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  align-content: flex-start;
  flex-wrap: wrap;}
.block-type-teaserbox p {
  /* margin-bottom: 1rem; */
}
.block-type-teaserbox .btn {
  /* position: absolute;
  bottom: 0; */
  align-self: flex-end;
  position: absolute;
  bottom: 0;
}

@media (max-width: 880px) {
  .block-type-teaserbox .btn {
    position: relative;
  }
}

.block-type-careerbox {

}

/* CAREERBOX */

.block-type-careerbox {
  position: relative;
  -webkit-box-shadow: 0px 0 13px 10px rgba(211,211,211,0.59);
  -moz-box-shadow: 0px 0 13px 10px rgba(211,211,211,0.59);
  box-shadow: 0px 0 13px 10px rgba(211,211,211,0.59);
  padding: 1rem;
  background-color: var(--white);
  text-align: center;
}

.block-type-careerbox h4 {
  color: var(--blue);
  margin: .5rem 0 0 0;
  text-transform: unset;
}

.block-type-careerbox p {
  border-bottom: 1px solid var(--lightgrey);
  margin: 0;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.block-type-careerbox img {
  max-width: 200px;
}

@media (max-width: 600px) {
  .block-type-careerbox h3 {
    font-size: 1rem;
  }
}

/* TESTIMONIALS */
.block-type-testimonials {
  text-align: center;
  position: relative;
}

.block-type-testimonials img {
  position: absolute;
  top: -60px;
  left: 0;
  width: 80px;
}

@media (min-width: 880px) {
  .block-type-testimonials img {
    font-size: 1rem;
    top: -75px;
    left: -20px;
    width: 100px;
  }
}