@charset "UTF-8";

.header {
  display: flex;
  width: 96%;
  height: 6.5rem;
  margin: 0 auto;
  justify-content: space-between;
}

.contact-header {
  width: 900px;
  min-width: 900px;
  height: 48px;
  margin: 13px auto 0;
}

@media screen and (max-width: 1000px) {
  .contact-header {
    width: 100%;
    margin: 13px auto 0 35px;
  }
}

@media screen and (max-width: 414px) {
  .contact-header {
    width: 100%;
    margin: 13px auto 0 21px;
  }
}

nav {
  display: flex;
  align-items: center;
}

nav ul {
  margin: 0;
  padding: 0;
}

nav > ul {
  flex-direction: row;
  flex-wrap: nowrap;
  width: 100%;
}

nav > ul > li {
  position: relative;
  width: auto;
}

nav > ul > li a {
  display: block;
  padding: 0 20px;
  line-height: 80px;
  transition: 0.4s;
}

#NavMenu ul li {
  display: inline-block;
  margin-right:1.2rem;
  margin-top:1.9rem;
  position:relative;
  left:1rem;
  font-size: 16px;
}

#NavMenu ul li a{
  color:#FFFFFF;
  font-size:1rem;
  line-height:1.5rem;
}

#NavMenu {
  z-index: 2;
  top: 0;
  text-align: center;
}

@media screen and (max-width: 1200px) {
  #NavMenu.active {
    -webkit-transform: translateY(0%);
    -moz-transform: translateY(0%);
    -ms-transform: translateY(0%);
    transform: translateY(0%);
    transition: all 0.6s;
  }
}

#button {
  display: flex;
  justify-content: center;
  align-items: center;
  position:relative;
  top:1rem;
}

#button a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  height: 2.5rem;
  padding:0 2rem;
  margin-right: 1.9rem;
  color: #FFFFFF;
  background-color:#0A73E6;
  background-repeat:no-repeat;
  border-radius: 0.3rem;
  transition: 0.3s;
  font-size:1.1rem;
  line-height:1.6rem;
}

#button a:nth-child(2) {
  margin-right: 0;
  background-color:#FF9B26;
  background-repeat:no-repeat;
  border-radius: 0.3rem;
  padding:0 3.1rem;
}

#button a:hover {
  background-color:#0036AF;
}

#button a:nth-child(2):hover {
  background-color:#EF760F;
}

#button a img {
  display: inline-block;
  position: relative;
  top: 5px;
  width: auto;
  height: 25px;
  margin-right: 10px;
}

@media screen and (max-width: 1150px) {
  #button a {
    width: 164px;
  }
}

@media screen and (max-width: 1080px) {
  #button a {
    width: 9rem;
    height: 1.5rem;
    font-size: 16px;
    line-height: 32px;
    padding: 0 2px 6px;
  }

  #button a:nth-child(2) {
    width: 8.5rem;
    font-size: 17px;
  }
}

@media screen and (max-width: 980px) {
  #NavMenu ul li {
    margin: 0 4px;
  }

  #button a {
    width: 7.5rem;
    font-size: 14px;
    line-height: 24px;
    padding: 3px 0 8px;
    height: 1.5rem;
  }

  #button a:nth-child(2) {
    width: 9rem;
  }

  #button a img {
    top: 4px;
    height: 16px;
    margin-right: 4px;
  }
}

@media screen and (min-width: 896px) {
  #mobile-button {
    display: none;
  }
}

@media screen and (max-width: 1199px) {
  .header{
    height:3.3rem;
    position:relative;
    top:0.9rem;
  }

  #button {
    display: none;
  }

  #NavMenu {
    margin-left: 0;
    position: fixed;
    left: 0;
    text-align: center;
    width: 100%;
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    transform: translateY(-100%);
  }

  #NavMenu ul {
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    margin-top: 72px;
    padding: 0;
  }

  #NavMenu ul li {
    font-size: 1.1em;
    font-weight: bold;
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
    border-bottom: 1px solid #dcdcdc;
  }

  #NavMenu ul li:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }

  #NavMenu ul li a {
    display: block;
    color: #dcdcdc;
    padding: 1em 0;
  }
}

@media (max-width:1200px) {
  #mobile-button {
    display: flex;
    position: fixed;
    width: 100%;
    height: 3rem;
    line-height: 3rem;
    bottom: 0;
    z-index: 999;
    justify-content: center;
    align-items:center;
  }

  #mobile-button a {
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    width: 50%;
    background-image:url("img/cv_bottom.png");
    background-origin:padding-box;
    background-repeat:no-repeat;
    text-align: center;
    line-height:3rem;
  }

  #mobile-button a:nth-of-type(1),
  #mobile-button a:nth-of-type(2) {
    border: 1px solid #77756c;
  }

  #mobile-button a {
    background-color: #fff;
  }

  #mobile-button a:last-child {
    color: #fff;
    background: -moz-linear-gradient(top, #ffaa00, #ff7f00);
    background: -webkit-linear-gradient(top, #ffaa00, #ff7f00);
    background: linear-gradient(to bottom, #ffaa00, #ff7f00);
  }

  #mobile-button img {
    display: inline-block;
    position: relative;
    width: 1.2rem;
    height: 1.2rem;
    top: 4px;
    width: auto;
    margin-right: 0.3rem;
  }
}

#Toggle {
  display: none;
  position: fixed;
  right: 6.5%;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
  z-index: 3;
}

@media (max-width: 1199px) {
  #Toggle {
    display: block;
  }

  #Toggle span {
    display: block;
    position: absolute;
    width: 68%;
    border-bottom: 3px solid #707070;
    -webkit-transition: 0.35s ease-in-out;
    -moz-transition: 0.35s ease-in-out;
    transition: 0.35s ease-in-out;
  }

  #Toggle span:nth-child(1) {
    top: 75%;
  }

  #Toggle span:nth-child(2) {
    top: 95%;
  }

  #Toggle span:nth-child(3) {
    top: 115%;
  }

  .fixed #Toggle span:nth-child(1) {
    top: 90%;
  }

  .fixed #Toggle span:nth-child(2) {
    top: 110%;
  }

  .fixed #Toggle span:nth-child(3) {
    top: 130%;
  }

  #Toggle.active span:nth-child(1) {
    top: 100%;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  #Toggle.active span:nth-child(2),
  #Toggle.active span:nth-child(3) {
    top: 100%;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .fixed #Toggle.active span:nth-child(1),
  .fixed #Toggle.active span:nth-child(2),
  .fixed #Toggle.active span:nth-child(3) {
    top:110%;
  }

  #logo img {
    margin-bottom:3.0rem;
    left:0!important;
    top:1.5rem!important;
    background-image:url("img/logo-en.png");
    background-repeat:no-repeat;
    background-origin:padding-box;
  }

  .fixed #logo img{
    top:1.8rem!important;
  }

  .fixed #logo{
    margin-bottom:0!important;
  }

  #NavMenu ul li{
    left:0!important;
    margin-left:0!important;
    margin-bottom:0!important;
  }

  #NavMenu ul li a{
    color:#FFFFFF!important;
  }

  .header{
    width:85%;
  }
}

@media (max-width: 599px) {
  #logo a img{
    left:0.75rem!important;
    top:1rem!important;
    width:100%;
  }

  #Toggle{
    right:2%;
  }

  #Toggle span:nth-child(1) {
    top: 60%;
  }

  #Toggle span:nth-child(2) {
    top: 80%;
  }

  #Toggle span:nth-child(3) {
    top: 100%;
  }

  #Toggle.active span:nth-child(1) {
    top:80%;
  }

  #Toggle.active span:nth-child(2),
  #Toggle.active span:nth-child(3) {
    top:80%;
  }
  
  .header{
    width:100%;
  }

  .fixed .header{
    width:85%;
  }

  .fixed {
    height:6rem;
  }

  .fixed #logo a img{
    left:0!important;
    top:1.8rem!important;
  }

  .fixed #Toggle{
    right:6%;
  }

  #mobile-button  {
    height:3.9rem;
  }

  #mobile-button a {
    line-height:3.9rem;
  }
}

@media (max-width: 450px) {
  #mobile-button a {
    font-size: 14px;
  }
}


@media (max-width: 334px) {
  #mobile-button a {
    font-size: 0.7rem;
  }
}

#logo {
  top: 0;
  left: 0;
  margin-right: 1.5rem;
  display: inline-block;
}

#logo img {
  width: 100%;
}

.js-header-after,.js-header-before{
  height:50px;
  position:relative;
  left:1rem;
  top:1rem;
}

.js-header-after{
  display:none;
}

.fixed #NavMenu ul li{
  margin-right:0;
  margin-left:1rem;
  position:relative;
  left:7%;
  margin-bottom:1rem;
}

.fixed #logo{ 
  margin-right:0;
  position:relative;
  left:3%;
  margin-bottom:1rem;
}

.fixed ul li a{
  color: #000000!important;
  font-weight: bold;
}

.fixed #button a{
  transition:none;
  right:3%;
  margin-bottom:1rem;
}
