@charset "utf-8";
/* CSS Document */

/*MENU*/
#ribbon-test {
  position: fixed;
  top: 12px;
  left: -48px;
  z-index: 1000;
  width: 132px;
  padding: 5px 0;
  background: #ff4b3a;
  color: var(--white1);
  font-size: 0.92em;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-45deg);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
  pointer-events: none;
}

#ribbon-maintenance {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 1000;
  min-width: 54px;
  padding: 8px 12px;
  border-radius: 4px;
  background: #c62828;
  color: var(--white1);
  font-size: 0.95em;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
}

header {
  position: fixed;
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  z-index: 9;
  transition: all .3s ease-out;
}

header.scrolled {
  background: var(--white1);
}

header .logo {
  width: 100%;
  height: 100%;
  background-image: url("/uploads/assets/logo/logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  transition: all .3s ease-out;
}

@media (min-width: 1024px) {
  header .logo {
    width: 300px;
  }
}

header .logo:hover {
  background-image: url("/uploads/assets/logo/logo.gif");
}

header nav {
  display: none;
  max-height: 100%;
  position: absolute;
  left: 0;
  top: 50px;
  width:100%;
  margin-top: 10px;
}

header nav ul.menu,
header ul.alt-menu {
  list-style-type: none;
  padding: 0;
  transition: all 5.3s ease-out;
}

header nav ul.menu {
  background: var(--white1);
  border-bottom: 1px solid var(--gray2);
}

header nav ul.menu li {
  border-top: 1px solid var(--gray2);
}

header nav ul.menu li a,
header nav ul.menu li a:visited,
header nav ul.menu li.mobile a,
header nav ul.menu li.mobile a:visited, 
header ul.alt-menu li a,
header ul.alt-menu li a:visited {
  padding:10px;
  display: block;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: bold;
  transition: all .3s ease-out;
}

header nav ul.menu li a.ppl:hover,
header nav ul.menu li a.ppl.active,
header nav ul.menu li.mobile a:hover,
header nav ul.menu li.mobile a.active {
  background: var(--green1);
  color: var(--white1);
  text-decoration: none;
  transition: all .3s ease-out;
}

header nav ul.menu li a.biz:hover,
header nav ul.menu li a.biz.active {
  background: var(--yellow1);
  color: var(--white1);
  text-decoration: none;
  transition: all .3s ease-out;
}

header nav ul.menu li a.lang-switch {
  display: flex;
}

header nav ul.menu li a.lang-switch img {
  height:1em;
  margin-right:5px;
}

header #side-nav {
  display: none;
}

#side-menu,
#mobile-menu,
#right-side,
.alt-menu {
  display: none;
}

label[for=side-menu] {
  display: none;
}

.hamb {
  cursor: pointer;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.hamb-line {
  position: relative;
  display: block;
  width: 26px;
  height: 5px;
  background: var(--black2);
  margin-bottom: 5px;
  float: right;
  transition: all .3s ease-out;
}

.hamb-line:first-of-type {
  width: 20px;
}

.hamb-line:last-of-type {
  width: 32px;
  margin-bottom: 0;
}

label[for=side-menu] .hamb-line {
  /*background: var(--green1);*/
}

.hamb:hover > .hamb-line {
  background: var(--green1);
  width: 32px;
  transition: all .3s ease-out;
}
  
#mobile-menu:checked ~ nav {
  display: block;
  max-height: 100%;
}

#mobile-menu:checked ~ nav .menu {
	display: block;
}

#mobile-menu:checked ~ .hamb .hamb-line {
  background: var(--green1);
}

#mobile-menu:checked ~ .hamb .hamb-line::before {
  transform: rotate(-45deg);
  top: 0;
}

#mobile-menu:checked ~ .hamb .hamb-line::after {
  transform: rotate(45deg);
  top: 0;
}

@media (min-width: 1024px) {
  
  header {
    height: 80px;
  }
  
  header.scrolled {
    height: 60px;
  }
    
  header.scrolled .logo {
    height: 42px;
    transition: all .3s ease-out;
  }

  header .logo img {
    width: 100%;
  }
  
  header nav {
    display: block;
    max-height: none;
    position: relative;
    width: auto;
    margin-top: 0;
    left: 0;
    top: 0;
  }
  
  #right-side {
    position: relative;
    display: block;
    /*width: 300px;*/
  }
  
  label[for=side-menu] {
    display: flex;
  }
  
  label[for=mobile-menu] {
    display: none;
  }
      
  header nav ul.menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background: transparent;
    border-bottom: 0;
  }
  
  header nav ul.menu li {
    font-size: 1.1em;
    margin-left: 10px;
    border-top: 0;
  }
  
  @media (min-width: 1366px) {
    header nav ul.menu li {
      font-size: 1.2em;
    }
  }
  
  header nav ul.menu li:first-of-type {
    margin-left: 0;
  }
  
  header nav ul.menu li.mobile a {
    display: none;
  }
  
  header nav ul.menu li a,
  header nav ul.menu li a:visited,
  header ul.alt-menu li a,
  header ul.alt-menu li a:visited {
    border-radius: 2em;
  }
  
  header ul.alt-menu li {
    text-align: center;
    margin-bottom: 5px;
  }
  
  header ul.alt-menu li a {
    cursor: pointer;
    border: 1px solid var(--black2);
    background: var(--white1);
  }
  
  header ul.alt-menu li a:hover {
    border: 1px solid var(--green1);
    background: var(--green1);
    color: var(--white1);
  }
  
  header ul.alt-menu li a.lang-switch {
    display: flex;
  }

  header ul.alt-menu li a.lang-switch img {
    height:1em;
    margin-right:5px;
  }

  #side-menu:checked ~ .alt-menu {
    display: block;
    position: absolute;
    top: 40px;
    width: auto;
    right: 0;
    transition: all .3s ease-out;
  }

  #side-menu:checked ~ .hamb .hamb-line {
    background: var(--green1);
    width: 32px;
    transition: all .3s ease-out;
  }

  /*
  #side-menu:checked ~ .hamb .hamb-line::before {
    transform: rotate(-45deg);
    top: 0;
  }

  #side-menu:checked ~ .hamb .hamb-line::after {
    transform: rotate(45deg);
    top: 0;
  }
  */
  
}
