/* // header  */
.page-header{
    padding: 16px 0;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.page-header #logo-header-elsa {
    width: 150px;
    height: 50px;
    margin-right: 60px;
}

.page-header #logo-header-elsa-atag {
  z-index: 10;
}

/* list naviga  */
ul.header-naviga-list{
    padding-left: 0px;
    margin-bottom: 0px !important;
    list-style: none;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

ul.header-naviga-list > li {
    display: flex;
    align-items: center;
    /* margin-right: 21px; */
    font-size: 14px;
    font-weight: normal;
    line-height: 19px;
    font-style: normal;
    font-family: Nunito;
    color: #000000;
    position: relative;
}

ul.header-naviga-list > li > a {
  margin-right: 3px;
  font-size: 14px;
  text-decoration: none;
  line-height: 19px;
  font-style: normal;
  font-family: Nunito;
  color: #000000;
  z-index: 99
}

ul.header-naviga-list > li > a:hover {
  color: #38BBFF
}

ul.header-naviga-list > li > i {
  color: #38BBFF;
}

ul.header-naviga-list > li:last-child{
    margin-right: 0;
}

/* login button  */

#header-login-button {
    padding-left: 23px;
    margin-left: 19px;
    border-left: 1px solid #000000;
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    line-height: 19px;
}

span#burger-menu-icon {
    display: none;
}

.page-header .btn-elsa-custom-blue {
    width: 190px;
    padding: 14px 30px;
}

.page-header .btn-elsa-custom-blue a {
  color: #fff;
  font-weight: 700;
  font-family: Nunito;
  font-size: 18px;
  line-height: 14px;
  text-align: center;
}

.page-header .btn-elsa-custom-blue a:hover {
  color: #fff;
}

#burger-menu-elsa
{
  display: block;
  position: relative;
  /* top: 50px;
  left: 50px; */
  right: 0  ;
  
  z-index: 1;
  
  -webkit-user-select: none;
  user-select: none;
}

#menu li {
  position: relative;
}
#menu .menu-item-has-children .sub-menu {

}
#burger-menu-elsa a
{
  text-decoration: none;
  color: #232323;
  font-size: 14px;
  transition: color 0.3s ease;
}

#burger-menu-elsa a:hover
{
  /* color: #38BBFF; */
}

#burger-menu-elsa > input
{
  display: block;
  width: 40px;
  height: 40px;
  position: absolute;
  top: -8px;
  left: -4px;
  
  cursor: pointer;
  
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  
  -webkit-touch-callout: none;
}


/* create hamburger from span  */

#burger-menu-elsa > span
{
  display: block;
  width: 33px;
  height: 2px;
  margin-bottom: 8px;
  position: relative;
  
  background: #042132;
  border-radius: 3px;
  
  z-index: 1;
  
  transform-origin: 4px 0px;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#burger-menu-elsa span:first-child
{
  transform-origin: 0% 0%;
}

#burger-menu-elsa span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/*END  create hamburger from span  */

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
 #burger-menu-elsa input:checked ~ span
 {
   opacity: 1;
   transform: rotate(45deg) translate(-2px, 0px);
   background: #232323;
 }

 /* HIDE TRANSITION  */
 #burger-menu-elsa input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/* * the last one go the other direction */

#burger-menu-elsa input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(1px, -1px);
}

 /* END TRANSITION  */

 /* MENU BURGER -CONTAIN  */

 #menu
{
  position: absolute;
  width: 100vw;
  margin: -100px 0 0 -50px;
  padding: 50px 24px;
  padding-top: 125px;
  
  background: #fff;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  
  transform-origin: 0% 0%;
  /* transform: translate(calc(0% + 100px), 0); */
  transform: translate(-200vw, 0);
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
  box-shadow: 0 2px 15px 0 rgba(56,56,56,.12);
}

#menu li
{
  padding: 10px 0;
  font-size: 22px;
}

#menu .dropdown-toggle::after {
  content: url('../../static/Icons-Logo/');
}

/*
 * And let's slide it in from the left
 */
#menu .nav-link{
  padding: 0;
}

#menu i {
  color: #38BBFF;
  font-size: 12px;
}

#burger-menu-elsa input:checked ~ ul
{
  transform: translate(calc(-100% + 107px), 0);
  /* transform: none; */
}

.menu-item-has-children{
  padding: 0.5rem;
}

.menu-item-has-children:after {
  content: "\f0dd";
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin-left: 5px;
  margin-top: -5px;
  color: #38bbff;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 98;
  padding-left: calc(100% - 10px);
  padding-top: 13px;
  height: 100%;
}
#menu .menu-item-has-children:after {
  content: "\f0da";
  font-size: 15px;
  padding-top: 20px;
}

.dropdown-item:hover, .dropdown-item:focus {
  background-color: #38BBFF;
  color: #fff;
}
.menu-item-has-children .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 10rem;
  padding: .5rem 0;
  margin: .125rem 0 0;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: .25rem;
  border:none;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}
.menu-item-has-children .sub-menu li a {
  display: block;
  width: 100%;
  padding: .25rem 1.5rem;
  clear: both;
  font-weight: 400;
  color: #212529;
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  padding: 10px 15px;
  color: #000;
  font-size: 14px;
}
.menu-item-has-children .sub-menu li a:hover {
  background-color: #38bbff;
  color: #fff;
}
.menu-item-has-children:hover .sub-menu {
  display: block;
  /* margin-top: 8px;  */
}

.menu-item-has-children:hover > a {
  color: #38BBFF;
}

.dropdown-item {
  padding: 10px 15px;
  color:#000000;
  font-size: 14px;
}



#burger-menu-elsa .sub-menu a {
  font-size: 12px;
}

#burger-menu-elsa #menu li {
  line-height: 100%;
  width: fit-content
}

#burger-menu-elsa .sub-menu {
  left: calc(100% + 15px );
  top: 80%;
}
#burger-menu-elsa #menu li .sub-menu li {
  width: 100%;
  padding: 0px;
}

.page-header #burger-menu-elsa #menu .btn-elsa-custom-blue {
  width: 190px;
  padding: 14px 30px;
}

.page-header #burger-menu-elsa #menu .btn-elsa-custom-blue a {
  color: #fff;
}

#burger-menu-elsa #menu {
  padding-bottom: 30px;
}

/* END MENUBURGER -CONTAIN */

@media (min-width: 992px){
    #burger-menu-elsa{
        display: none;
    }
}

@media (max-width: 991px){
    .page-header > *:not(#logo-header-elsa-atag):not(#burger-menu-elsa){
        display: none ;
    }
    span#burger-menu-icon {
        display: block;
        font-size: 39px;
        /* position: relative; */
    }
    .page-header{
        justify-content: space-between;
        align-items: center;
        position: fixed;
        top: 0;
        z-index: 5;
        width: 100vw;
        background: #fff;
    }
}

@media (max-width: 1199px){
    .page-header{
        padding: 16px 24px;
    }
}


@media (max-width: 768px){
    ul.header-naviga-list > li > a {
        z-index: 97
    }
    #menu .menu-item-has-children:after {
      padding-left: 100%
    }
}

