/**
 * @file
 * The header components.
 *
 * It includes styles for the header itself and their
 * component as the logotype or the main menu.
 */
/* 375 500 750 900 1000 */
/**
 * Global header rules
 */


.main__header {
  background-image: url('../images/header/header_headband-mobile.svg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  padding-top: 4%;
  position: fixed;
  z-index: 101;
}
.main__header::after {
  content: '';
  display: block;
  height: 2.5rem;
}
.main__header--wrapper {
  display: flex;
  flex-direction: column;
}
.main__header-menu{
  display: none;
}
.main__header-menu.is-active{
  display: block;
}
@media all and (min-width: 500px) {
  .main__header::after {
    height: 4rem;
  }
}
@media all and (min-width: 640px) {
  .main__header::after {
    height: 5.5rem;
  }
}
@media all and (min-width: 750px) {
  .main__header::after {
    height: 5.4rem;
  }
}
@media all and (min-width: 800px) {
  .main__header::after {
    height: 7rem;
  }
}
@media all and (min-width: 1000px) {
  .main__header-menu{
    display: block;
  }
  .main__header {
    background-image: url('../images/header/header_headband.svg');
    position: absolute;
  }
  .main__header--wrapper {
    flex-direction: row;
    align-items: center;
    gap: 50px;
  }
}
@media all and (min-width: 1300px) {
  .main__header--wrapper {
    justify-content: center;
  }
}
@media all and (min-width: 1600px) {
  .main__header::after {
    height: 7rem;
  }
}
@media all and (min-width: 1800px) {
  .main__header::after {
    height: 8rem;
  }
}


/**
 * Branding block
 */
.main__header-brand{
  position: relative;
  width: 50%;
  max-width: 260px;
}
@media all and (min-width: 1000px) {
  .main__header-brand{
    width: 20%;
    max-width: 325px;
  }
}
@media all and (min-width: 1300px) {
  .main__header-brand{
    position: absolute;
    left: 5%;
  }
}


/**
 * Main menu
 */
.menu--main > .menu{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}
.menu--main > .menu > .menu__item > a {
  color: white;
}
.menu--main > .menu > .menu__item > .is-active {
  color: #FFDC40;
}
.menu--main > .menu .menu__link:hover {
  border-bottom: solid #FFDC40;
  transition-duration: 0.10s;
}
@media all and (min-width: 1000px) {
  .menu--main > .menu{
    flex-direction: row;
    gap: 1rem;
  }
  .menu--main > .menu li:after {
    content: "|";
    margin-left: 1rem;
    color: #FFDC40;
    border: 2px;
    font-size: 1.5rem;
  }
  .menu--main > .menu > li:last-child:after
  {
    content: '';
  }
}


/**
 * Secondary menu
 */
.main__header-menu .menu--social-menu .menu{
  display: flex;
  width: 90%;
  margin-left: 0.5rem;
  align-items: center;
}
.menu__icon {
  background-position: center;
  background-repeat: no-repeat;
  display: inline-block;
  text-indent: -9999px;
  height: auto;
  width: 40px;
}
.menu__icon:hover {
  transform: translateY(-3px);
}
.menu__icon--linkedin{
  background-image: url("../images/icons/menu/icon_linkedin.svg");
  background-size: 21px;
}
.menu__icon--facebook{
  background-image: url("../images/icons/menu/icon_facebook.svg");
  background-size: 12px;
}
.menu__icon--instagram{
  background-image: url("../images/icons/menu/icon_instagram.svg");
  background-size: 30px;
  height: 39px!important;
  width: 39px!important;
}
.menu__icon--youtube{
  background-image: url("../images/icons/menu/icon_youtube.svg");
  background-size: 21px;
}
@media all and (min-width: 500px) {
  .menu__icon {
    height: 35px;
    width: 40px;
  }
}
@media all and (min-width: 1000px) {
  .menu__icon {
    height: 35px;
    width: 35px;
  }
  .main__header-menu .menu--social-menu .menu{
    gap: 1rem;
    justify-content: right;
    margin-left: 0;
    align-items: center;
  }
  .main__header-menu .menu--social-menu {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
  }
}


/**
 * Mobile menu button
 */
.menu-toggle {
  position: absolute;
  right: 0;
  left: 78vw;
  top: 50%;
  width: 40px;
  height: 40px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
}
.menu-toggle::after {
  content: '';
  background-color: white;
  position: absolute;
  top: 0rem;
  bottom: 0rem;
  left: 0rem;
  right: 0rem;
  border-radius: 50px;
}
@media all and (min-width: 500px) {
  .menu-toggle {
    left: 84vw;
  }
}
.menu-toggle__button{
  border: none;
  width: 22px;
  height: 16px;
  padding: 0;
  text-indent: 100px;
  background-color: transparent;
  white-space: nowrap;
  overflow: hidden;
  z-index:1;
  position: absolute;
  left: 9px;
  top: 12px;
}
.menu-toggle span {
  position: absolute;
  left: 1px;
  display: block;
  width: 20px;
  height: 2px;
  background-color:#000;
  transition: all ease .25s;
  -webkit-transition: all ease .25s;
  -moz-transition: all ease .25s;
  -ms-transition: all ease .25s;
  -o-transition: all ease .25s;
  border-radius: 0px;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -ms-border-radius: 0px;
  -o-border-radius: 0px;
}
.menu-toggle span:nth-child(1) {
  top: 1px;
  width:16px;
}
.menu-toggle span:nth-child(2) {
  top: 7px;
}
.menu-toggle span:nth-child(3) {
  top: 13px;
  width:16px;
}
.menu-toggle:hover span:nth-child(1),
.menu-toggle.is-active span:nth-child(1),
.menu-toggle:hover span:nth-child(3),
.menu-toggle.is-active span:nth-child(3){
  width: 20px;
}
.menu-toggle.is-active span:nth-child(1) {
  top: 7px;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
.menu-toggle.is-active span:nth-child(2) {
  width: 0;
  left: 22px;
}
.menu-toggle.is-active span:nth-child(3) {
  top: 7px;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
}
@media all and (min-width: 1000px) {
  .menu-toggle{
    display: none;
  }
}


/**
 * Add phone number
 */

 /* .menu--social-menu .menu.menu-level-0 > li:last-child {
  min-width: 250px;
  border-bottom: unset;
} */


.menu--social-menu .menu--level-0 > li:first-child a.menu-phone:hover {
  background-color: #d8d8d8;
}

.menu--social-menu .menu--level-0 > li:first-child a.menu-phone {
  background-color: #fff;
  color: #0F124D;
  padding: 8px 18px 8px 50px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
  align-items: center;
  transition: background-color 0.3s ease;
  position: relative;
  font-size: 15px;
  font-family: 'Albert Sans', sans-serif;
  font-weight: 700;
  margin-right: 0.7rem;
}

.menu--social-menu .menu--level-0 > li:first-child a.menu-phone::before {
  content: '';
  background-image: url(../../calcorp/images/content/phone-menu.svg);
  background-size: 18px 18px;
  background-repeat: no-repeat;
  width: 18px;
  height: 18px;
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
}

.footer__social-menu .menu--social-menu .menu--level-0 > li:first-child a.menu-phone {
  display: none;
}
