/*---- header nav --------------------------------------------------*/

.navbar-custom {
  position: fixed;
  display: flex;
  top: 0;
  width: 100%;
  min-height: 40px;
  padding: 0.5rem 1rem;
  border-bottom: none;
  background: rgba(255, 255, 255, 0);
  z-index: 100;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
.navbar-custom.opaque {
  background: rgba(255, 255, 255, 1);
}
.navbar-custom .navbar-brand {
  display: inline-block;
  margin: 0 1rem;
  max-width: 125px;
  padding: 0;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
.navbar-custom .navbar-brand:hover {
  opacity: 0.8;
}
.navbar-custom.opaque .navbar-brand {
  max-width: 100px;
  padding: 0 0;
  height: auto;
}
.navbar-custom #navbar_wrapper {
  display: inline-flex;
  /* width: 100%; */
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
	justify-content: center;
}
.navbar-custom #navbar_wrapper .nav_content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.navbar-custom #navbar_wrapper .nav_content .navbar-nav {
  padding: 0.5rem 1rem;
}

.navbar-custom #navbar_wrapper .navbar-nav .mobbar-brand {
  display: none;
}
.navbar-custom #navbar_wrapper .navbar-nav .nav-item {
  padding: 0 2vw;
}
@media(max-width:1255px) {
	.navbar-custom #navbar_wrapper .navbar-nav .nav-item {padding: 0 1.5vw;}
}
.navbar-custom #navbar_wrapper .navbar-nav .nav-item .nav-link {
  display: block;
  position: relative;
  padding: 0.5rem 0;
  background-color: transparent;
  color: #000;
  letter-spacing: 0.5px;
  font-size: var(--font-size-md);
  font-weight: 600;
  text-transform: uppercase;
  -webkit-transition: all 0.4s ease 0s;
  -moz-transition: all 0.4s ease 0s;
  -ms-transition: all 0.4s ease 0s;
  -o-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
}
@media (max-width:1185px) {
	.navbar-custom #navbar_wrapper .navbar-nav .nav-item .nav-link {font-size: var(--font-size-sm)}
}
.navbar-custom #navbar_wrapper .navbar-nav .nav-item .nav-link::before {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0.4rem;
  width: 100%;
  transform-origin: right bottom;
  transform: scaleX(0);
  background-color: var(--primary);
  border-radius: 1rem;
  transition: transform 0.4s ease 0s;
}
.navbar-custom #navbar_wrapper .navbar-nav .nav-item .nav-link:hover,
.navbar-custom #navbar_wrapper .navbar-nav .nav-item .nav-link:active,
.navbar-custom #navbar_wrapper .navbar-nav .nav-item.active .nav-link,
.navbar-custom #navbar_wrapper .navbar-nav .nav-item .nav-link:focus {
  background-color: transparent;
  color: #000;
}
.navbar-custom #navbar_wrapper .navbar-nav .nav-item .nav-link:hover::before,
.navbar-custom #navbar_wrapper .navbar-nav .nav-item.active .nav-link::before,
.navbar-custom #navbar_wrapper .navbar-nav .nav-item .nav-link:active::before,
.navbar-custom #navbar_wrapper .navbar-nav .nav-item .nav-link:focus::before {
  transform-origin: left bottom;
  transform: scaleX(1);
}

/*nav_right --------*/
.navbar-custom .nav_right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0rem 1rem;
  margin-left: auto;
}
.navbar-custom .nav_right .lang-selector {font-weight: 600;}
.navbar-custom .nav_right .lang-selector .dropdown-toggle {
  border: 0;
  background-color: transparent;
  outline: 0;
  font-family: var(--font-family-base);
  font-weight: 600;
}
.navbar-custom .nav_right .lang-selector .dropdown-menu {
    color: #212529;
    min-width: 4rem;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 0;
    border-radius: .5rem;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);
}
.navbar-custom .nav_right .lang-selector .dropdown-menu .dropdown-item {
    padding: .25rem .8rem;
    font-weight: 500;
    text-align: center;
    color: black;
    background-color: transparent;
    transition: all 0.4s ease 0s;
}
.navbar-custom .nav_right .lang-selector .dropdown-menu .dropdown-item:hover {
    color: var(--secondary);
}
.navbar-custom .nav_right .nav-social {
  padding: 0 1rem;
}
.navbar-custom .nav_right .nav-social li {
  list-style: none;
  padding: 0.5rem 0.5rem;
}
.navbar-custom .nav_right .nav-social li a {
  color: black;
  font-size: var(--font-size-xl);
  line-height: var(--font-size-xl);
  vertical-align: middle;
  transition: all 0.3s ease 0s;
}
.navbar-custom .nav_right .nav-social li a:hover {
  color: var(--primary);
}
.navbar-custom .nav_right .logo-zygomatic-nav {
  display: block;
  padding: 0;
  margin: 0.5rem 0 0.5rem 1vw;
  width: 60px;
  filter: grayscale(100%) brightness(0%);
  opacity: 0.4;
  transition: all 0.3s ease 0s;
}
.navbar-custom .nav_right .logo-zygomatic-nav:hover {
  filter: grayscale(0%) brightness(100%);
  opacity: 1;
  transition: all 0.3s ease 0s;
}

/*------responsive navbar ----------------*/

@media (max-width: 1199.98px) {
}
@media (max-width: 991.98px) {
  .navbar-custom .navbar-brand {
    display: inline-block;
    width: auto;
    padding: 0;
  }
  .navbar-custom .navbar-brand .logo {
    width: 85px;
  }
  .navbar-custom .navbar-toggler {
    font-size: 1.2rem;
    line-height: 1rem;
    padding: 0.8rem 0.8rem;
    margin: 0;
    background-color: var(--secondary);
    border: 1px solid var(--maron);
    border-radius: var(--border-radius);
    color: #fff;
    z-index: 2;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  .navbar-custom .navbar-toggler:hover {
    color: #fff;
    background-color: var(--maron);
  }
  .navbar-custom .navbar-toggler[aria-expanded="false"] > * {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
  }
  .navbar-custom .navbar-toggler[aria-expanded="true"] > * {
    transform: rotate(90deg);
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
  }
  .navbar-custom.opaque .nav_right .logo-zygomatic-nav {
    margin: 0;
    width: 45px;
   }
  #navbar_wrapper {
    z-index: 1000;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    transform: translateY(-100%);
    opacity: 0;
    background-color: rgba(232, 78, 15, 1);
    background-image: url(../../images/trame-bg.png);
    -webkit-transition: all 0.9s ease 0s;
    -moz-transition: all 0.9s ease 0s;
    -ms-transition: all 0.9s ease 0s;
    -o-transition: all 0.9s ease 0s;
    transition: all 0.9s ease 0s;
  }

  #navbar_wrapper.show {
    top: 0;
    right: 0px;
    left: 0;
    width: 100%;
    height: 100vh;
    transform: translateY(0);
    opacity: 1;
    -webkit-transition: all 0.9s ease 0s;
    -moz-transition: all 0.9s ease 0s;
    -ms-transition: all 0.9s ease 0s;
    -o-transition: all 0.9s ease 0s;
    transition: all 0.9s ease 0s;
  }

  .btn-cross {
    display: inline-block;
    position: absolute;
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    border: none;
    background-color: var(--gray-dark);
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
  }
  .btn-cross::before,
  .btn-cross::after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    height: 2px;
    width: 20px;
    background-color: #fff;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
  }
  .btn-cross::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }
  .btn-cross::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
  .btn-cross:hover::before,
  .btn-cross:hover::after {
    transform: translate(-50%, -50%) rotate(180deg);
  }
  #navbar_wrapper {
    overflow: auto;
  }
  #navbar_wrapper .nav_content {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%) scale(0.9);
    max-height: 100%;
    margin: 0;
    padding: 15px;
    opacity: 0;
    overflow: visible;
    -webkit-transition: all 0.7s ease 0.9s;
    -moz-transition: all 0.7s ease 0.9s;
    -ms-transition: all 0.7s ease 0.9s;
    -o-transition: all 0.7s ease 0.9s;
    transition: all 0.7s ease 0.9s;
  }
  #navbar_wrapper.show .nav_content {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    width: 100%;
    margin: 0;
    list-style: none;
    text-align: center;
    text-transform: uppercase;
    -webkit-transition: all 0.7s ease 0.9s;
    -moz-transition: all 0.7s ease 0.9s;
    -ms-transition: all 0.7s ease 0.9s;
    -o-transition: all 0.7s ease 0.9s;
    transition: all 0.7s ease 0.9s;
  }

  .navbar-custom #navbar_wrapper .navbar-nav .mobbar-brand {
    display: block;
  }
  .navbar-custom #navbar_wrapper .navbar-nav .mobbar-brand > a {
    display: block;
    height: 130px;
    width: 130px;
    margin: 0 auto 2rem;
    font-size: 0;
    background: url(../../images/logo-dobble-nav.png) no-repeat center;
    background-size: contain;
  }

  .navbar-custom #navbar_wrapper .navbar-nav .nav-item {
    padding: 0.25rem 0;
  }
  .navbar-custom #navbar_wrapper .navbar-nav .nav-item .nav-link {
    position: relative;
    display: inline-block;
    margin: 0 auto;
    text-decoration: none;
    background-color: transparent;
    color: #eee;
    font-size: var(--font-size-lg);
    line-height: var(--font-size-lg);
    letter-spacing: 0px;
    padding: 0.9rem 0;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  .navbar-custom #navbar_wrapper .navbar-nav .nav-item .nav-link:hover,
  .navbar-custom #navbar_wrapper .navbar-nav .nav-item .nav-link:active,
  .navbar-custom #navbar_wrapper .navbar-nav .nav-item.active .nav-link,
  .navbar-custom #navbar_wrapper .navbar-nav .nav-item .nav-link:focus {
    text-decoration: none;
    color: #fff;
  }
  .navbar-custom .navbar-nav li > .dropdown-menu {
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    font-size: 1rem;
    list-style: none;
    background-color: transparent;
    border: 0;
    border-radius: 0;
  }
  .navbar-custom .navbar-nav li > .dropdown-menu .dropdown-item {
    color: #ddd;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
  }
  .navbar-custom .navbar-nav li > .dropdown-menu .dropdown-item:hover {
    color: #d85523;
    background-color: transparent;
  }

  .navbar-custom .navbar-nav li > ul.dropdown-menu {
    position: static;
    left: 0;
    transform: translateX(0);
    min-width: 100%;
    margin: 0;
    padding: 5px 0;
    background-color: transparent;
    box-shadow: none;
    border: none;
    float: none;
    text-align: center;
  }

  #navbar_wrapper .nav > li > .dropdown-menu li {
    display: block;
    text-align: left;
  }

  #navbar_wrapper .nav > li > .dropdown-menu li a {
    position: relative;
    display: inline-block;
    margin: 0;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    line-height: inherit;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  #navbar_wrapper .nav > li > .dropdown-menu li a:hover {
    text-decoration: none;
    color: #ccc;
    background-color: transparent;
  }
  #navbar_wrapper .nav > li > .dropdown-menu li a::before,
  #navbar_wrapper .nav > li > .dropdown-menu li a::after {
    display: none;
  }

  #navbar_wrapper .mob_nav {
    display: block;
    text-align: left;
    margin-top: 2rem;
  }
  #navbar_wrapper .mob_nav .nav.nav-left li a,
  #navbar_wrapper .mob_nav .nav.nav-left li button {
    text-transform: uppercase;
    font-size: 0.8rem;
    line-height: 1rem;
    font-weight: 300;
    padding: 5px 15px;
    color: #fff;
    border: 0;
    background-color: transparent;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
  }
  #navbar_wrapper .mob_nav .nav.nav-left li a:hover,
  #navbar_wrapper .mob_nav .nav.nav-left li button:hover {
    color: #d85523;
  }
  #navbar_wrapper .mob_nav .nav.nav-left li a > *,
  #navbar_wrapper .mob_nav .nav.nav-left li button > * {
    margin-right: 5px;
    font-size: 1rem;
  }
  #navbar_wrapper .mob_nav .nav.nav-social {
    justify-content: flex-start;
    margin-top: 1.5rem;
  }
  #navbar_wrapper .mob_nav .nav.nav-social li a {
    text-transform: uppercase;
    font-size: 1.5rem;
    line-height: 1rem;
    font-weight: 300;
    padding: 5px 15px;
    color: #aaa;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
  }
  #navbar_wrapper .mob_nav .nav.nav-social li a:hover {
    color: #fff;
  }
  #navbar_wrapper .mob_nav .nav.nav-social li a,
  #navbar_wrapper .mob_nav .nav.nav-left li a,
  #navbar_wrapper .mob_nav .nav.nav-left li button {
    padding-left: 0;
  }
}
@media (max-width: 767.98px) {
  .navbar-custom.opaque .navbar-brand {
    max-width: 80px;
    padding: 0 0;
    height: auto;
  }
  .navbar-custom .nav_right .logo-zygomatic-nav {
    margin: 0;
    width: 45px;
   }
}
@media (max-width: 575.98px) {
  .navbar-custom .navbar-brand {
    display: inline-block;
    width: auto;
    padding: 0;
    margin: 0;
  }
  .navbar-custom .navbar-brand .logo {
    width: 65px;
  }
  .navbar-custom #navbar_wrapper .navbar-nav .mobbar-brand > a {
    display: block;
    height: 100px;
    width: 100px;
    margin: 0 auto 1rem;
  }
  .navbar-custom .nav_right {
    padding: 0rem;
  }
  .navbar-custom .nav_right .lang-selector .dropdown-toggle {
    font-size: var(--font-size-s);
  }
  .navbar-custom .nav_right .logo-zygomatic-nav {
    margin: 0;
    width: 35px;
  }
  .navbar-custom .nav_right .nav-social {
    padding: 0 .5rem 0 0;
  }
  .navbar-custom .nav_right .nav-social li {
    list-style: none;
    padding: 0.25rem 0rem;
  }
  .navbar-custom .nav_right .nav-social li a {
    font-size: var(--font-size-lg);
    line-height: var(--font-size-lg);
  }
}
