@media screen and (max-width: 990px) {
  .home.custom-class #animated-img {
    display: inline;
  }
  
  #header {
    position: fixed !important;
  }
  
  .responsive #top #wrap_all #header {
    position: fixed;
    width: 100%;
    float: none;
    height: auto;
    margin: 0 !important;
    opacity: 1;                     
    bottom: auto;
    top: 0;
  }
  .page-template-homepage-small #header_main nav  {
    display: none;
  }
  
}


@media screen and (min-width: 990px) {
  .page-template-default-homepage .logo, .page-template-homepage-small .logo {
    left: 50px;
  }
  .page-template-homepage-small #header_main {
    background: #f2f2f2;
    height: 55px;
  }
}

@media screen and (max-width: 767px)  {
  .home.custom-class #animated-img {
    display: inline;
  }
    
  body.custom-class .wrapper-animation-logo-custom .svg-wrapper {
    width: 80px;
  }
  
  .logo-text-overlay {
    position: absolute;
    width: 100%;
    height: auto;
    left: 0;
    bottom: 0;
    z-index: 9;
  }
  
  body.archive .responsive #top #main,
  body.page-template-default .responsive #top #main, 
  .responsive #top.page-product-page #main {
    margin-top: 60px !important;
  } 
  
  
}

#mobile-advanced ul.sub-menu-close-menu {
  display: none;
}
#mobile-advanced > li > ul.sub-menu, #mobile-advanced > li > div > ul.sub-menu {
  border-top: #cc0000 3px solid;
}
#mobile-advanced .sub-menu li a span.avia-bullet {
  display: none;
}
#mobile-advanced .sub-menu li a:hover {
  border: 0 !important;
} 

.page-template-homepage-small #header {
  background-color: transparent;
  position: absolute;
  height: auto !important;
  margin-top: 70vh;
  top: -55px;
}


.page-template-homepage-small #header.sticky-header-header {
  margin-top: 0px;
  top: 0px;
}