body .mainwrapper div.container{
  padding-bottom: 0px;
  &::before{
    display: none;
  }
}

body.stickytopnav-false .topnav{
  background-color: transparent !important;
  box-shadow: none !important;
}

body .toplogolink{
  margin-top: 15px;
  .toplogo{
    height: 115%;
    width: 115%;
  }
}

body header.masked{
  background-image: linear-gradient(rgb(var(--color4)), rgb(var(--color1)));
  height: calc(44vw + 140px) !important;
  .bannerwrapper{
    width: 49vw;
    left: auto;
    margin-left: auto;
    margin-top: 120px;
    transform: none;
    .bannerinner{
      bottom: 60px;
      height: calc(100% + 60px);
    }
  }
  .taglineoverlay{
    bottom: auto;
    top: min(calc(50vh - 55px), calc(15px + 22vw));
    .fixed{
      max-width: unset;
      padding-left: 5vw;
      text-transform: uppercase;
      font-weight: 800;
      font-size: var(--fs0);
      line-height: 1.2em;
    }
    .taglines .tagline{
      max-width: unset;
      padding-left: 5vw;
      .taglineinner .link .buttonstyle.taglinereadmore{
        background-color: rgb(var(--color2));
        border-color: rgb(var(--color2));
        &:hover{
          background-color: rgb(var(--color3));
          border-color: rgb(var(--color3));
          color: white;
        }
        &::after{
          content: 'Request a FREE briefing';
        }
      }
    }
  }
}


@media only screen and (max-width: 600px) {
  body header.masked{
    .bannerwrapper{
      margin-top: 127px;
    }
    .taglineoverlay{
      top: 34vw;
      .fixed{
        font-size: var(--fs4);
      }
    }
  }
}

/* WELCOME */

body section.ParagraphBloq{
  padding-top: 120px !important;
  &::before, &::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35%;
    height: 100%;
    background-image: var(--welcome-stars);
    background-size: contain;
    background-position: 0% 100%;
    background-repeat: no-repeat;
    opacity: 0.2;
  }
  &::after{
    transform: scaleX(-1);
    left: auto;
    right: 0;
    visibility: visible;
  }
  h2.bloqTitle{
    max-width: 1000px;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: var(--fs0);
    margin: 0 auto;
  }
  .Blockquote{
    .ItemContent{
      .paracontent{
        max-width: 1000px;
        text-align: center;
        color: rgb(var(--color4));
        display: block;
        line-height: 1.3em;
      }
      &::after, &::before{
        display: none;
      }
    }
    .buttonstyle{
      margin: 20px auto 0 !important;
    }
  }
}

/* STATISTICS */

body section.mod_toleft_textonly{
  div.StatTextOnly>ul{
    padding-left: 0;
    max-width: 730px;
    justify-content: center;
    transform: translateX(220px);
  }
  h2.bloqTitle {
    max-width: 40%;
    width: fit-content;
    right: min(62%, calc(50vw + 200px));
    top: 145px;
  }
  div.StatTextOnly>ul>li{
    flex: 0 0 230px;
  }
  div.StatTextOnly>ul>li .statistic{
    .StatImage{
      border-radius: 0;
      height: 220px;
      width: 230px;
      position: absolute !important;
      top: 0;
      left: 0;
      &::after{
        display: none;
      }
    }
    .StatText{
      height: auto;
      position: relative;
      .StatDescription{
        color: black;
        text-transform: none;
        font-size: var(--fs6);
        padding-inline: 0;
      }
    }
    .AnimationWrapper{
      min-height: 200px;
      place-items: center !important;
      .StatFigure{
        font-family: var(--font-heading);
        color: var(--stat-color) !important;
        font-size: var(--fs2);
      }
    }
  }
}

@media only screen and (max-width: 1200px) {
  body section.mod_toleft_textonly{
    div.StatTextOnly>ul{
      transform: translateX(0px);
    }
    h2.bloqTitle {
      position: relative;
      max-width: 100%;
      width: fit-content;
      right: auto;
      top: 0;
      margin: 0 auto;
      text-align: center;
      place-items: center;
      padding-bottom: 40px;
    }
  }
}

/* TESTIMONIALS */

body section.mod_simple_switcher{
  &::before, &::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35%;
    height: 100%;
    background-image: var(--testimonial-stars);
    background-size: contain;
    background-position: 0% 100%;
    background-repeat: no-repeat;
    opacity: 0.1;
  }
  &::before{
    transform: scaleY(-1);
  }
  &::after{
    transform: scaleX(-1);
    left: auto;
    right: 0;
    visibility: visible;
    background-position: 0% 0%;
  }
  div.Switcher{
    background-color: transparent;
    max-width: 1000px;
    margin: 0 auto;
    &>ul{
      &>.switcherradio+.switcherlabel{
        background-color: rgb(var(--color2));
      }
      &>.switcherradio:checked+.switcherlabel{
        background-color: rgb(var(--color1));
      }
    }
    &>ul>li .Item .ItemInner{
      .ItemContent {
        color: rgb(var(--color1));
        font-size: var(--fs1);
      }
      .Title{
        text-transform: none;
        font-size: var(--fs4);
        letter-spacing: 0;
        padding-top: 20px;
      }
      .ItemSubtitle{
        color: rgb(var(--color3));
        letter-spacing: 0;
        font-weight: 800;
        font-size: var(--fs6);
        font-family: var(--font-heading);
      }
    }
  }
}

/* STARS SECTION */

body section.stars-section{
  .closestar{
    display: none;
  }
  .bloqTitle{
    text-align: center;
    color: rgb(var(--color3));
    padding-bottom: 35px;
    span{
      color: white;
    }
  }
  div.Magazine{
    margin: 0 auto;
    .Item{
      max-width: 1000px;
      margin: 0 auto;
      .ItemBefore{
        min-height: 210px;
        max-height: 210px;
        height: 210px;
        min-width: 220px;
        max-width: 220px;
        width: 220px;
      }
      .ItemInner{
        display: flex;
        flex-direction: column;
        justify-content: center;
        .Title2{
          display: none;
        }
        .Title, .Title2{
          color: white;
          font-family: var(--font-heading);
          font-weight: 800;
          font-size: var(--fs6);
          text-transform: uppercase;
        }
        .ItemSubtitle{
          color: rgb(var(--color3));
          font-size: var(--fs4);
        }
        .ItemContent{
          color: white;
          padding-top: 20px;
        }
      }
    }
  }
}

body section.stars-section.shrunk{
  div.Magazine{
    margin: 0 auto;
    ul{
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
      justify-content: center;
    }
    .Item{
      max-width: 220px;
      margin: 0;
      cursor: pointer;
      .ItemBefore{
        min-height: 210px;
        max-height: 210px;
        height: 210px;
        min-width: 220px;
        max-width: 220px;
        width: 220px;
      }
      .ItemInner{
        .Title{
          position: absolute;
          top: 0;
          left: 0;
          width: 220px;
          height: 210px;
          display: grid;
          place-items: center;
          padding: 40px 50px 20px;
          text-align: center;
        }
        .ItemSubtitle{
          display: none;
        }
        .ItemContent{
          display: none;
        }
      }
    }
  }
}

body section.stars-section.showing{
  div.Magazine{
    ul{
      li{
        display: none;
        &.selected{
          display: block;
          .ItemInner .Title2{
            position: absolute;
            top: 0;
            left: 0;
            width: 220px;
            height: 210px;
            display: grid;
            place-items: center;
            padding: 40px 50px 20px;
            text-align: center;
          }
        }
      }
    }
  }
  .closestar{
    display: grid;
    width: 50px;
    height: 50px;
    background-color: rgb(var(--color3));
    border-radius: 50%;
    position: absolute;
    top: 40px;
    right: 40px;
    &::before, &::after{
      content:'';
      height: 2px;
      width: 13px;
      background-color: white;
      position: absolute;
      top: calc(50% - 1px);
      left: calc(50% - 6.5px);
      transform: rotate(45deg);
    }
    &::after{
      transform: rotate(-45deg);
    }
  }
}

@media only screen and (max-width: 600px) {
  body section.stars-section.showing .closestar{
    top: 20px;
    right: 20px;
  }
  body section.stars-section.showing{
    div.Magazine{
      ul{
        li.selected{
          .ItemBefore{
            margin: 0 auto;
          }
          .ItemInner .Title2{
            left: calc(50% - 110px);
          }
        }
      }
    }
  }
}