/*** OVERIDE ***/

@media (max-width: 991px) {#header .header-container {display: block;padding: 0;margin: 0;}}
@media (min-width: 1200px){#header .container {width: 100%; padding-left: 0; padding-right: 0;}}
@media (min-width: 768px) {#header .container {width: 100%; padding: 0; margin:0;}}

#header {
  position: fixed;
  width: 90px;
  height: 90px;
  left: 50%;
  transform: translate3d(-50%, 25px, 0);
}

#header .header-nav-main {
  float:none;
  margin: 0;
}

#header .header-body {
  background: transparent;
  border-top: none;
  border-bottom: none;
  padding: 0;
  -o-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  transition: all 0.5s ease;
  width: 100%;
  z-index: 1001;
  min-height: 100%;
}

#header .header-column .header-row {
  width: 100%;
}

#header .header-btn-collapse-nav {
  display: none;
}

#header .header-nav {
  width: 100%;
}

#header .header-nav-main.collapse {
  display: block;
}

html.unscroll {
  height: 100%;
  overflow: hidden;
}
/***************/
/*** CUSTOM HEADER BLOCK ***/

.nav {
  position: absolute;
  left: 50%;
  transform: translate3d(-50%,0,0);
  display: flex;
  align-items: center;
  background: white;
  height: 90px;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
  width: 834px;
  border-radius: 50px;
  will-change: width;
  backface-visibility: hidden;
  perspective: 1000;
}

.links p i span{
  font-family: 'Red Hat Display', sans-serif;
  cursor: auto;
}

.nav-logo {
  margin: 20px -20px 10px 50px;
}

.nav-logo img {
  width: 63px;
  height: 60px;
  cursor: pointer;
}

.nav-links {
  display: flex;
  list-style: none;
  width: 667px;
  height: 100%;
  justify-content: space-evenly;
  align-items: center;
  margin-right: 100px;
  padding: 0;
  margin: 0;
  transform: translateZ(0);
  opacity: 1;
  will-change: opacity;
  backface-visibility: hidden;
  perspective: 1000;
}

.nav{
  font-family: 'Red Hat Display', sans-serif;
}

.nav-links li {
  position: relative;
}

.nav-links li:hover {
  background: none;
  outline: none;
}

.nav-links li a:hover{
  color: #0992f1;
}

.nav-links li a {
  text-decoration: none;
  color: #1D2121;
  font-size: 1.5rem;
  transition: all 0.15s ease;
}

.nav-links li:nth-child(6) a {
  background: transparent;
  border-radius: 50px;
  padding: 8px 20px;
  color: #0992f1;
  transition: all 0.5s ease;
  border: 1px solid #0992f1;
}

.nav-links li:nth-child(6) a.active_link--work {
  background: #0992f1;;
  color: white;
  transition-duration: 0s;
}

.nav-links li a.active_link {
  font-weight: 400;
  color:#0992f1;;
  transition-duration: 0s;
  border-bottom: 5px solid #0992f1;
  padding-bottom:30px;
}

.links {
  position: relative;
  width: 5%;
  list-style: none;
  padding: 0;
  margin: 0 50px 0 0;
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000;
}

.links p {
  margin: 0;
  color: #080808;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  user-select: none;
}

.links p i {
  display: flex;
  flex-direction: row-reverse;
}

.fa-angle-down:before {
  margin: 0 0 0 5px;
}

.links a {
  padding: 2px 4px;
  color: white;
  transition: all 0.5s ease-in;
}

.translation-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  z-index: 1;
}

.translation-content a {
  color: black;
  padding: 12px;
  text-decoration: none;
  text-align: center;
  display: block;
}

.translation-content a:hover {
  background-color: #ddd
}

.nav-links li:nth-child(6) a:hover{
  background: #0992f1;
  color: white;
  transition: all 0.15s ease-in;
}

.nav-mobile {
  position: absolute;
  width: 100%;
  height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  background: transparent;
  z-index: 100;
}

.nav-links-mobile {
  list-style: none;
  padding: 0;
  width: 100%;
  z-index: 1003;
  opacity: 0;
}

.nav-links-mobile li {
  text-align: left;
  margin: 0 0 25px 20px;
}

.nav-links-mobile li:nth-child(7) {
  margin: 0 0 0 20px;
}

.nav-links-mobile li a {
  text-decoration: none;
  color: #080808;
  font-size: 2rem;
  transition: all 0.5s ease-in;
}

.nav-translation-links-mobile {
  list-style: none;
  padding: 0;
  margin: 50px 0 0 0;
  display: flex;
  justify-content: center;
}

.nav-translation-links-mobile li {
  margin: 0;
  width: 15%;
}

.nav-links-mobile li a.active_link--mobile {
  color: #1BACE4;;
}

.mobile-circle, .nav-logo-mobile {
  display: none;
}

/***************************/
/*** MEDIA QUERIES ***/

/* EDGE */
_:-ms-lang(x), _:-webkit-full-screen, .nav-links 
{ 
  justify-content: center;
}

_:-ms-lang(x), _:-webkit-full-screen, .nav-links li 
{ 
  margin: 0 20px;
}

@media screen and (max-width: 992px) {
  
  #header {
    width: 100%;
  }

  .nav, .nav-links, .links {
    display: none;
  }
  
  .block-block-content9e2efbb8-5e20-485a-a4e0-9f5a3e4b2e17 .field--name-body {
    display: flex;
    justify-content: flex-end;
    margin: 0 10px;
  }
  
  .mobile-circle {
    display: block;
    height: 90px;
    width: 90px;
    background: white;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
  }
  
  .nav-logo-mobile {
    position: absolute;
    display: block;
    width: 90px;
    height: 90px;
    z-index: 2000;
  }
  
  .nav-logo-mobile img {
    width: 63px;
    height: 60px;
    position: absolute;
    top: 20px;
    margin: 2px 0 0 19px;
  }

}

/*********************/
/*** ANIMATIONS ***/

@keyframes circle-expand {
  from {
    transform: scale(1);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
  }
  to {
    transform: scale(28.5);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0);
  }
}

@keyframes circle-shrink {
  from {
    transform: scale(28.5);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0);
  }
  to {
    transform: scale(1);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
  }
}

@keyframes links-transparent {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes links-visible {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes nav-links-visible {
  0%{opacity: 0;}
  25%{opacity: 0;}
  50%{opacity: 0;}
  75%{opacity: 0.25;}
  100%{opacity: 1;}
}

@keyframes nav-shrink {
  from {
    width: 834px;
    left: 50%;
    
  }
  to {
    width: 90px;
    left: 50px;
  }
}

@keyframes nav-expand {
  from {
    width: 90px;
    left: 50px;
  }
  to {
    width: 834px;
    left: 50%;
  }
}

@keyframes header-shrink {
  from {
    left: 50%;
    transform: translate3d(-50%, 25px, 0);
    
  }
  to {
    left: 50px;
    transform: translate3d(0, 25px, 0);
  }
}

@keyframes header-expand {
  from {
    left: 50px;
    transform: translate3d(0, 25px, 0);
  }
  to {
    left: 50%;
    transform: translate3d(-50%, 25px, 0);
  }
}

@keyframes logo-shrink {
  from {
    margin: 20px -20px 10px 50px;
    
  }
  to {
    margin: 20px 0 9px 23px;
  }
}

@keyframes logo-expand {
  from {
    margin: 20px 0 9px 23px;
  }
  to {
    margin: 20px -20px 10px 50px;
  }
}




/******************/





















