/*--------------------------------------------------------------
>>> TABLE OF CONTENTS: 

# CONTACT
# ABOUT
# 404
# TERMS AND CONDITIONS
# TERMS AND CONDITIONS GENERAL SUBPAGES
# POD QUALITY STATEMENT


----------------------------------------------------------------*/

.gpbox-icon.white-icon.big {
  width: 40px;
  height: 40px;
  background-color: var(--very-light-grey-clr);
}

a.hover-shadow .border-box::after {
  content: "";
  position: absolute;
  opacity: 0;
  transition: opacity 295ms var(--bezier-nobounce);
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  border-radius: 10px;
  box-shadow: 0 0 0 2px var(--dark-grey-clr);
}

@media (hover: hover) and (pointer: fine) {
  a.hover-shadow:hover .border-box::after {
    opacity: 1;
  }
}

/**
* CONTACT
*/

.contact-page p {
  margin-bottom: 1rem;
}
.contact-page .question-item a {
  text-decoration: underline;
  transition: color 295ms var(--bezier-nobounce);
}

@media (hover: hover) and (pointer: fine) {
  .contact-page .question-item a:hover {
    color: var(--accent-clr);
  }
}

/* Header */
.narrow-width > div {
  max-width: 517px;
  width: 95%;
  z-index: 1;
}

.frequenly-asked-questions .faq__content {
  width: 420px;
}

.contact-page .header-banner__left,
.terms-page .header-banner__left {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.contact-faq-menu .border-box {
  padding: 50px;
  background: white;
  position: relative;
  height: 182px;
  width: 182px;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 10%), 0 1px 1px 0 rgb(0 0 0 / 5%),
    0 2px 1px -1px rgb(0 0 0 / 8%);
}

.very-big-icon svg {
  width: 80px;
  height: 80px;
}

.very-big-icon:not(.no-stroke) svg path {
  stroke-width: 1;
}

.very-big-icon.no-stroke svg path {
  stroke: none;
}

/* Question template */
.question-item {
  border-bottom: var(--border);
  padding: 1rem 0;
  cursor: pointer;
  position: relative;
}

.question-item .question-item__question {
  transition: color 295ms var(--bezier);
  padding-right: 1rem;
}

@media (hover: hover) and (pointer: fine) {
  .question-item:hover .question-item__question {
    color: var(--accent-clr);
  }
}

.question-item .white-icon svg {
  transition: transform 395ms var(--bezier-nobounce);
}
.question-item.active .white-icon svg {
  transform: rotate(180deg);
}

/* Contact us button*/
.contactus-button {
  width: 200px;
}

/**
* ABOUT
*/
/* General */
.icon-text {
  max-width: 205px;
}

.dark-box {
  min-height: 560px;
}

h2.accent-text {
  font-weight: 900;
}

.description-text {
  font-size: var(--small);
  line-height: 1.4rem;
}

.about-page .grey-box:not(.how-about-slider-box) {
  padding: 2.5rem;
}

/* Header */
.header-banner__wrapper {
  overflow: hidden;
  width: 100vw;
  max-width: calc(1600px - 80px);
  margin-left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}

.about-page .header-banner__wrapper,
.about-page .vision-section {
  background: var(--ultra-light-grey-clr);
}

.about-header__left {
  background: var(--dark-grey-clr);
  color: var(--text-white-clr);
  padding: 3rem;
  width: 45%;
  margin-right: 4rem;
  height: 400px;
  z-index: 1;
}
.grey-background__stripes-big {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
}
.grey-background__stripes-big svg {
  height: 680px;
  width: 1520px;
}

/* Custom font face from the main outline titles */
@font-face {
  font-family: "GPBox V3 Next";
  font-weight: 950;
  font-style: normal;
  font-display: swap;
  src: url("https://www.thegpbox.com/app/themes/gpbox/assets/fonts/Armadura.woff2") format("woff2"),
    url("https://www.thegpbox.com/app/themes/gpbox/assets/fonts/Armadura.woff") format("woff");
}

.about-header__right {
  overflow: hidden;
  padding-top: 10rem;
  z-index: 1;
  width: 55%;
}

.about-header__right span {
  z-index: 2;
  display: inline-block;
  font-size: 7rem;
  line-height: 7rem;
  white-space: nowrap;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: -2px;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: var(--text-black-clr);
  position: relative;
}

.about__world-map {
  position: absolute;
  right: 15%;
  top: 100px;
  width: 600px;
}

.vision-indented {
  padding-left: 40px;
  z-index: 1;
}

/* Values */
.values-slider .flex-direction-nav {
  bottom: 0px;
}
.values-slider__item {
  padding: 5rem;
  min-width: 500px;
  max-width: 500px;
  border-radius: 12px;
  margin-right: 2rem;
  overflow: hidden;
}
.values-slider .gpbox-chequered-pattern {
  top: -20%;
  bottom: 0;
  z-index: 0;
}

.values-slider .gpbox-chequered-pattern svg path {
  opacity: 0.25;
}

.values-slider__item:nth-child(1),
.values-slider__item:nth-child(5) {
  background: var(--accent-clr);
  color: var(--text-white-clr);
}
.values-slider__item:nth-child(2) {
  background: var(--light-grey-clr);
  color: var(--text-white-clr);
}
.values-slider__item:nth-child(3) {
  background: var(--dark-grey-clr);
  color: var(--text-white-clr);
}

.values-slider__item:nth-child(4) {
  background: var(--very-light-grey-clr);
  color: var(--text-dark-clr);
}

.values-slider__item:nth-child(1) h2,
.values-slider__item:nth-child(2) h2,
.values-slider__item:nth-child(4) h2,
.values-slider__item:nth-child(5) h2 {
  color: var(--text-black-clr);
}

.values-slider__item:nth-child(3) h2 {
  color: var(--accent-clr);
}

.values-slider
  .values-slider__item:nth-child(3)
  .gpbox-chequered-pattern
  svg
  path {
  opacity: 0.7;
  fill: #111111;
}

body:not(.mobile) .values-slider__wrapper {
  height: 276px;
  overflow: hidden;
}
body.mobile .values-slider__wrapper {
  display: grid;
  grid-template-columns: unset;
  grid-template-rows: auto 1fr;
  grid-gap: 1rem;
}

/* How about slider */
.how-about-slider__wrapper {
  height: 560px;
  overflow: hidden;
}
.how-about-slider-box {
  padding: 0;
}
.how-about-slider__item-wrapper {
  margin: 0 auto;
  padding: 0 14%;
  height: 560px;
}

.how-about-slider__item {
  overflow: hidden;
}

/* Team section */
.team-members-wrapper {
  width: 100%;
  display: grid;
  row-gap: 0rem;
  column-gap: 2.5rem;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  list-style: none;
  justify-items: left;
  align-items: start;
}

.team-member__item-container .tippy-box {
  min-width: 400px;
}

.team-member__item-container:nth-child(2n) {
  margin-top: 6rem;
}

@media screen and (min-width: 1187px) and (max-width: 1536px) {
  .team-member__item-container:nth-child(2n) {
    margin-top: 0rem;
  }

  .team-member__item-container:nth-child(3n + 2) {
    margin-top: 6rem;
  }
}

.team-member__item-container .tippy-box .tippy-content {
  padding: 1.5rem;
}

.team-member__item-container h2:not(.accent-text) {
  font-size: var(--medium);
}

.team-member__item-container {
  padding: 1.7rem;
  justify-self: center;
}

.team-section img.team-member__image {
  height: 300px;
  width: 200px;
  object-fit: cover;
  position: relative;
  cursor: pointer;
}

.team-member__content {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1rem;
}

.team-member__item-container::before {
  content: "";
  width: 100%;
  top: 0;
  left: 0;
  background: var(--medium-grey-clr);
  height: 80px;
  position: absolute;
}
.team-member__item::before {
  content: "";
  width: calc(100% + 32px);
  top: -16px;
  left: -16px;
  background: var(--dark-grey-clr);
  height: 80px;
  position: absolute;
}

/* Partners */
.partners-about-grid {
  display: grid;
  row-gap: 4rem;
  column-gap: 7rem;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  justify-items: stretch;
  align-items: center;
  margin: 2.5rem 0;
  padding: 0 3rem;
}

/**
* 404
*/
.error404 .header-logo svg path:nth-child(3) {
  fill: var(--text-white-clr) !important;
}
.error404 .header-logo svg path:nth-child(4),
.error404 .header-logo svg path:nth-child(5),
.error404 .header-logo svg path:nth-child(6) {
  fill: #252d44 !important;
}

.error404 img.full-page-image {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: brightness(0.6);
  object-fit: cover;
}

.error404 > .site {
  overflow: hidden;
  height: 100vh;
}
.error404 #primary {
  height: 100%;
}
.flex-align-start-no-relative {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}

/**
* TERMS AND CONDITIONS - PARENT
*/
.header-picture {
  height: 320px;
  overflow: hidden;
}
.terms-page .header-picture .gpbox-chequered-pattern svg path {
  fill: var(--dark-grey-clr);
  opacity: 1;
}
.heading-background-image {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: -1;
}

/**
* TERMS AND CONDITIONS - CHILD PAGES
*/
.page > .entry-content {
  max-width: 920px;
  margin-bottom: 12rem;
}
.page > .entry-content h1 {
  font-size: var(--big);
  margin-top: 4rem;
  margin-bottom: 2.5rem;
}
.page > .entry-content h2 {
  font-size: var(--medium);
  margin-bottom: 1rem;
}
.page > .entry-content p {
  margin-bottom: 1rem;
}
.page > .entry-content li {
  margin-bottom: 0.4rem;
}
.page > .entry-content h2:not(:first-of-type) {
  margin-top: 2.5rem;
}
.page > .entry-content > p a {
  font-weight: 700;
  text-decoration: underline;
}
.terms-page .page-breadcrumbs {
  margin-bottom: 2.5rem;
}

@media (hover: hover) and (pointer: fine) {
  .page > .entry-content > p a:hover {
    opacity: 0.7;
  }
}

/**
* POD QUALITY STATEMENT
*/
.product-template-grid .icons-box {
  width: 33%;
  padding: 20px 25px;
  min-width: 350px;
}
.product-template-grid .flex-align-between {
  align-items: flex-start;
  margin: 2% 1.5%;
}
.product-template-grid .icons-box img {
  width: 48px;
  height: 48px;
}

figure.product-type {
  border: var(--border);
  border-radius: 10px;
  margin-right: 10px;
  margin-left: 0px;
  transition: border-color 295ms var(--bezier-nobounce);
  width: 225px;
}

@media (hover: hover) and (pointer: fine) {
  .product-template-grid figure.product-type:hover {
    border-color: var(--dark-grey-clr);
    cursor: pointer;
    border-radius: 10px;
    margin-right: 10px;
    margin-left: 0px;
  }
}

figure.product-type:last-child {
  margin-right: 0px;
}

figure.product-type img {
  width: 225px;
  border-radius: 10px 10px 0 0;
}

figure.product-type figcaption {
  font-weight: 700;
  color: var(--text-black-clr);
  padding: 10px;
  font-size: 1rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-information > div > div {
  border: var(--border);
  padding: 0px 1rem;
  border-radius: 12px;
}

.product-information .details {
  width: calc(100% - 215px - 5vw);
  margin-left: 5vw;
}
.product-information .details-row {
  border-bottom: var(--border);
  padding-bottom: 2.5rem;
}
.product-information .details-row:last-child {
  border-bottom: none;
}
.product-information .details-row:first-child {
  padding-top: 2.5rem;
}

.product-information .details-row h4 {
  padding-right: 20px;
  margin-top: 0;
  width: 200px;
  min-width: 200px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-black-clr);
}
.product-information .details-row > div {
  padding-left: 20px;
}

.details-row .features > div {
  min-width: 280px;
  width: 33%;
}

.details-row .features img {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  display: block;
}
.details-row .features span {
  font-weight: 700;
  color: var(--text-black-clr);
  margin-bottom: 0.5rem;
}

.details-row .features label {
  padding-right: 20px;
}

.details-row .images img {
  width: 150px;
  height: 150px;
  border-radius: 8px;
  margin-right: 10px;
  margin-top: 10px;
}

/* Read more button */
.product-information .more.bg-icon-text {
  color: var(--accent-clr);
  position: relative;
  bottom: 0;
}
.product-information .more.bg-icon-text::before {
  width: 140px;
  left: 51%;
}
.product-information .more.bg-icon-text::after {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' viewBox='0 0 16 16' focusable='false'%3E%3Cpath stroke='var(--dark-grey-clr, %23ff4242)' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M4 6l4 4 4-4'/%3E%3C/svg%3E%0A");
  width: 24px;
  height: 24px;
  pointer-events: none;
  position: absolute;
  right: calc(50% - 55px);
  top: 50%;
  transform: translate(50%, -50%);
}

.product-information .more.bg-icon-text[aria-expanded="true"]::after {
  transform: translate(50%, -50%) rotate(180deg);
}
/* POD mobile */
@media screen and (max-width: 37.5rem) {
  .product-template-grid .icons-box {
    padding: 10px 5px;
    width: 100%;
    min-width: unset;
  }
  .product-template-grid figure.product-type {
    width: unset;
    margin: 0;
  }
  .product-type-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 0.5fr));
    row-gap: 1rem;
    column-gap: 0.75rem;
    justify-items: stretch;
    align-items: stretch;
  }
  .product-information .details {
    width: 100%;
    margin-left: 0;
  }
  .product-information .details-row > div {
    padding-left: 0;
  }
  .details-row .features > div {
    width: calc(50% - 0.5rem);
    min-width: unset;
  }
  .details-row .features label {
    padding-right: 0;
  }
  .product-information .details-row {
    flex-direction: column;
    gap: 1rem;
  }
  .product-information .details-row .features {
    gap: 1rem;
  }
}

/**
*   RESPONSIVE MEDIAQUERIES
*/

@media screen and (max-width: 37.5rem) {
  /* Contact us */
  .contact-us-final {
    min-height: unset;
  }

  .contact-page .header-banner__description {
    display: none;
  }

  .contact-faq-buttons {
    display: grid;
    row-gap: 1.5rem;
    column-gap: 1.5rem;
    grid-template-columns: repeat(2, 1fr);
    justify-items: stretch;
    align-items: self-start;
  }
  .contact-faq-menu .border-box {
    width: 100%;
    height: 0;
    padding-top: 50%;
    padding-bottom: 50%;
  }
  .contact-faq-menu .border-box > span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  /* About us */
  .about-header__left {
    width: 100%;
    min-width: 260px;
    padding: 1.5rem;
    margin-right: 0.5rem;
  }
  .about-header__right {
    width: 100%;
    font-size: 1rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 3.5rem 1.5rem;
  }

  .about-header__right span {
    font-size: 3.5rem;
    line-height: 3rem;
    white-space: nowrap;
    margin-right: 1rem;
  }

  .about__world-map {
    right: 1%;
    bottom: 0;
    top: unset;
    width: 315px;
    margin-bottom: 0;
  }

  .vision-indented {
    padding: 0 20px;
  }

  .values-slider__item {
    min-width: 280px;
    padding: 2.5rem;
    max-width: unset;
    margin-right: 0;
  }

  .values-slider .gpbox-chequered-pattern {
    width: 110%;
    height: 150%;
    top: 0;
    left: 0;
  }
  .how-about-slider__item-wrapper {
    padding: 0px;
  }

  .flex-direction-nav {
    width: calc(100% + 3rem);
    margin-left: -1.5rem;
  }

  .grey-background.dark-box img {
    min-width: 200px;
  }

  .team-members-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .team-section img.team-member__image {
    min-height: 200px;
    min-width: 160px;
    height: 200px;
    width: 160px;
  }
  .team-member__item-container {
    padding: 1.5rem;
  }
  .team-member__item-container::before {
    height: 45px;
  }

  .team-member__item-container {
    margin-top: 2rem !important;
    margin-right: auto;
  }
  .team-member__item-container:nth-child(2n) {
    margin-right: 0;
    margin-left: auto;
  }

  .team-members-wrapper .tippy-box {
    display: none;
  }

  .partners-about-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 4rem;
    column-gap: 4rem;
    padding: 0 0.5rem;
  }

  /* Terms and conditions */
  .page > .entry-content h1 {
    margin-top: 2rem;
  }

  .page > .entry-content {
    margin-top: 1rem;
  }
}

@media screen and (min-width: 37.5rem) and (max-width: 64rem) {
  .grey-background.grey-box .icons-wrapper {
    flex-wrap: wrap;
  }

  .grey-background.grey-box .icons-wrapper > * {
    width: 50%;
    justify-content: center;
    align-items: center;
  }

  /* About us */
  .about-header__left {
    width: 100%;
    min-width: 260px;
    padding: 1.5rem;
    margin-right: 0.5rem;
  }

  .about-header__right {
    padding-bottom: 4rem;
  }

  .about__world-map {
    right: 1%;
    bottom: 0;
    top: unset;
    width: 390px;
    margin-bottom: 0;
  }

  .about-page h1 {
    font-size: var(--medium-big);
  }

  .values-slider__item {
    min-width: 280px;
    padding: 4rem;
  }

  .team-members-wrapper {
    grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
  }

  /* Contact us */
  .contact-faq-buttons {
    display: grid;
    row-gap: 1.5rem;
    column-gap: 1.5rem;
    grid-template-columns: repeat(4, 1fr);
    justify-items: stretch;
    align-items: self-start;
  }
  .contact-faq-menu .border-box {
    height: 160px;
    width: 160px;
    display: grid;
    place-content: center;
  }
}

@media screen and (max-width: 64rem) {
  .dark-box {
    min-height: unset;
    height: unset;
    padding: 2.5rem 1.5rem;
  }

  .dark-box p {
    padding-right: 0;
  }
}
