/* ------------------------------ LOGISTICA HOMEPAGE TYPOGRAPHY ------------------------------ */

.main-container h1 span,
.main-container h2 span,
.main-container h3 span {
  color: var(--blue);
  font-size: inherit;
  font-weight: 400;
}

.join-buttons .or:after,
.join-buttons .or:before {
  display: none;
}

/* ------------------------------ LOGISTICA HOMEPAGE OVERWRITES ------------------------------ */
.path-frontpage .main-container > div > .views-element-container.form-group {
  margin-bottom: 0;
}

.view-homepage-slideshow {
  margin: 0;
  height: 80vh;
  min-height: 500px;
  max-height: 600px;
  position: relative;
}

@media (min-width: 1024px) {
  .view-homepage-slideshow::after {
    content: "";
    width: 10rem;
    height: 100%;
    top: 0;
    left: 0;
    display: block;
    position: absolute;
    background-image: url(../../../images/export/filigrane/fil-line-carousel-left.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: -8rem bottom;
  }
}

@media (min-width: 1200px) {
  .view-homepage-slideshow::after {
    background-position: -6rem bottom;
  }
}

.main-container .hp-slide {
  background-color: var(--darkblue);
  color: #fff;
  margin: 0 !important;
  border-radius: 0;
}

/* ------------------------------ LOGISTICA HOMEPAGE TEMPLATE ------------------------------ */
.logistic-map-embed {
  margin: 0 0 2rem 0;
  color: #fff;
  background-color: var(--darkblue);
  margin-top: 65px;
  position: relative;
  padding-top: 5vh;
  overflow: hidden;
}

/* ------------------------------ MAP CONTAINER ------------------------------ */
.map-container {
  display: none;
  position: absolute;
  z-index: 0;
  width: 100%;
  height: calc(25vh - 1rem);
  top: 0;
  left: -1rem;
}

.map-container::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(to top, var(--darkblue) 0%, transparent 100%);
}

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

.map-container #map-vue-container {
  width: 100%;
  height: 100%;
}

/* ------------------------------ MAP TEXT AREA AND TITLES ------------------------------ */
.logistic-map-embed .gradient .filigrane,
.logistic-map-embed .gradient {
  pointer-events: none;
}

.map-title {
  padding-top: 25vh;
  position: relative;
}
.map-title::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -5vh;
  left: 50%;
  height: 40vh;
  width: 100vw;
  background-image: url(../../../images/map_screenshot_clean.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: translateX(-50%);
}

.map-title::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: -5vh;
  left: 50%;
  height: 40vh;
  width: 100vw;
  background-image: linear-gradient(
    to top,
    var(--darkblue) 0%,
    transparent 50%
  );
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: translateX(-50%);
}

.map-title h1 {
  font-size: 50px;
  margin: 0;
  line-height: 1em;
  position: relative;
  z-index: 1;
}

/* .map-title h1 br { display: none; } */

.map-subtitle p,
.map-subtitle p span {
  color: #fff;
  margin: 2rem 0 0 0;
  width: 100%;
  font-size: 18px;
  /* line-height: 2rem; */
  font-weight: 300;
  line-height: 2em;
}

.map-discover-title {
  top: 40%;
  left: 50%;
  text-align: center;
  width: 100%;
  display: none;
}
.map-discover-title h2 {
  font-size: 45px;
  font-weight: 300;
  text-align: left;
  margin: 6rem 0 3rem 0;
  word-break: break-all;
}

/* ------------------------------ LOGISTICA CORNICE ANIMATED ------------------------------ */
.main-container .data-numbers {
  border-bottom: 1px solid var(--lines_blue);
  display: flex;
  flex-direction: column;
  padding: 2rem 0;
  margin: 0;
  background: linear-gradient(
    to bottom,
    var(--transparent_blue) 0%,
    transparent 12rem
  );
}

.hp-cornice {
  height: 7vh;
  padding: 0;
  margin: 4rem 0;
  width: 100%;
  overflow: hidden;
  background-color: var(--darkblue);
}

.hp-cornice .teu-cornice {
  height: 95%;
  position: relative;
  left: 1rem;
  top: 0;
}

/* ------------------------------ HARDCODED GRID NUMBERS ------------------------------ */
.data-numbers .grid-numbers {
  width: 100%;
  padding: 0rem 3rem;
  display: flex;
  flex-direction: column;
}

.data-numbers .grid-numbers > div {
  width: 100%;
  margin: 0;
  padding-right: 0;
  min-height: 10vh;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.data-numbers .grid-numbers > div:last-child {
  border-right: none;
  margin-right: 0;
}

.data-numbers .grid-numbers > div h2 {
  margin: 0 0.5rem 0 0;
  font-size: 80px;
  color: #fff;
}

.data-numbers .grid-numbers > div h4 {
  margin: 0;
  font-size: 20px;
  max-width: 200px;
  padding-left: 5rem;
  position: relative;
  color: #fff;
}

.data-numbers .grid-numbers > div h4::before {
  content: "";
  width: 3rem;
  height: 3rem;
  background-color: var(--blue);
  opacity: 0.2;
  position: absolute;
  left: 0.5rem;
  top: calc(50% + 0.5rem);
  z-index: 0;
  transform: translateY(-50%);
}

.data-numbers .grid-numbers > div h4::after {
  content: "";
  width: 3rem;
  height: 3rem;
  background-color: var(--secondary_blue);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background-position: center center;
  background-size: 50%;
  background-repeat: no-repeat;
  z-index: 1;
}

.data-numbers .grid-numbers > div.ports h4::after {
  background-image: url(../../../images/icons/icon_maritime.svg);
}
.data-numbers .grid-numbers > div.inland h4::after {
  background-image: url(../../../images/icons/icon_train.svg);
}
.data-numbers .grid-numbers > div.airport h4::after {
  background-image: url(../../../images/icons/icon_airport.svg);
}

/* ------------------------------------------------------------- */
.logistic-map-embed .map-container .map-labels.labels {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.logistic-map-embed .map-container .table-entry .label {
  white-space: normal;
  text-align: right;
  padding: 0;
  font-size: 0.8rem;
  line-height: 1.25em;
}
.logistic-map-embed .map-container .table-entry .small-label {
  font-size: 0.7rem;
  line-height: 1.25em;
}

.logistic-map-embed .map-container .info-grid .grid {
  width: 27rem;
  top: 10%;
}

.logistic-map-embed .map-container .table-entry .subdata div .sublabel,
.logistic-map-embed .map-container .table-entry .subdata div .subnum {
  color: #fff;
}

.logistic-map-embed .map-container .info-grid .title-card {
  position: absolute;
  top: -9%;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .logistic-map-embed {
    margin-top: 90px;
  }

  .map-title {
    padding-top: 0;
  }
  .map-title::before,
  .map-title::after {
    display: none;
  }

  .map-title h1 {
    font-size: 60px;
  }
}

@media (min-width: 1024px) {
  .data-numbers .grid-numbers {
    flex-direction: row;
    justify-content: center;
  }

  .data-numbers .grid-numbers > div {
    width: fit-content;
    margin: 2rem 2rem 2rem 0;
    padding-right: 2rem;
    border-right: 2px dashed rgba(255, 255, 255, 0.4);
  }

  .data-numbers .grid-numbers > div h2 {
    font-size: 90px;
  }

  .main-container .data-numbers {
    border-bottom: none;
  }
}

@media (min-width: 1200px) {
  .view-homepage-slideshow {
    height: 90vh;
    max-height: 800px;
  }

  .data-numbers .grid-numbers > div {
    margin: 3rem 3rem 3rem 0;
    padding-right: 3rem;
  }

  .data-numbers .grid-numbers > div h2 {
    font-size: 110px;
  }

  .logistic-map-embed {
    margin: 0;
    height: 300vh;
    padding-top: 0;
  }

  .logistic-map-embed .gradient {
    width: 100%;
    height: calc(100% + 90px);
    position: absolute;
    left: 0;
    top: -90px;
    z-index: 1;
    background: linear-gradient(
      to bottom,
      var(--darkblue) 90px,
      transparent 75%
    );
  }

  .map-title h1 {
    font-size: 70px;
    line-height: 1em;
  }

  .map-subtitle p,
  .map-subtitle p span {
    margin: 2rem 0 0 auto;
    width: 80%;
    font-size: 18px;
    /* line-height: 1.5rem; */
  }

  .map-discover-title {
    display: block;
    position: absolute;
    transform: translateX(-50%);
    z-index: 2;
  }
  .map-discover-title h2 {
    font-size: 60px;
    font-weight: 300;
    text-align: center;

    margin-left: -20%;
  }
  .map-discover-title span {
    margin-left: 30%;
    font-weight: 400 !important;
    display: block;
    font-size: 1.5em !important;
  }

  .map-container {
    display: block;
    height: calc(100vh - 90px);
    width: 100%;
    position: fixed;
    top: 90px;
    left: 0;
    z-index: 0;
  }
  .map-container.relative {
    position: absolute;
    bottom: 0;
    top: unset;
  }

  .map-container::after {
    display: none;
  }

  .logistic-map-embed .gradient .filigrane {
    width: 100%;
    height: 100vh;
    top: 0;
    right: 0;
    position: fixed;
    background: url(../../../images/export/filigrane/fil-line-intro-right.svg),
      url(../../../images/export/filigrane/fil-line-intro-left.svg);
    background-repeat: no-repeat;
    background-position: calc(100% + 33vw) 0vh, left top;
    background-size: 100% 150%, auto 60%;
  }

  .logistic-map-embed .gradient .filigrane::after {
    content: "";
    width: 100%;
    height: 100vh;
    top: 0;
    right: 0;
    position: fixed;
    background: url(../../../images/export/output-onlinegiftools.gif);
    background-repeat: no-repeat;
    background-position: 50% 0%;
    background-size: 33.33vh 33.33vh;
    transform: rotateZ(-30deg);
  }

  .map-text-area {
    position: absolute;
    width: 80%;
    top: 5%;
    right: 10%;
    z-index: 2;
  }

  .hp-cornice {
    border-top: none;
    height: 10vh;
    margin: 6rem 0;
  }
}

@media (min-width: 1600px) {
  .map-text-area {
    width: 75%;
  }

  .map-title h1 {
    font-size: 90px;
    font-weight: 400;
  }

  .map-subtitle p,
  .map-subtitle p span {
    margin: 2rem auto 0 auto;
  }

  .logistic-map-embed .map-container .info-grid .grid {
    top: 15%;
  }
}

@media (min-width: 1920px) {
  .map-text-area {
    width: 45%;
  }
}
