/*
** Header
*/

.page_header {
  transition: $headerTransition;

  position: relative;
  top: 0;

  left: 0;
  right: 0;
  width: 100%;

  z-index: 1000;
  margin: 0;
  padding: 0;

  height: auto;

  .boxed &,
  &.affix {
    position: fixed !important;
    z-index: 1001;
    box-shadow: 0 2px 15px 0 rgba(100, 100, 100, 0.05);
    opacity: 0.98;
    &:after {
      background-color: transparent;
    }
  }
  &.affix.s-bordertop::before {
    display: none;
  }

  @media (max-width: 991px) {
    &.mobile-active {
      z-index: 1003;
      opacity: 1;
    }
  }

  &.affix-bottom {
    //!important is necessary
    top: 0 !important;
    position: fixed;
  }

  // 62 - broken design on 60px color toggler - back to 60
  .row {
    min-height: 50px;
  }



  a {
    display: inline-block;
  }
}

.header_absolute {
  position: relative;
  .page_header,
  .page_header_wrapper,
  .page_toplogo {
    z-index: 1002;
    position: absolute;
    right: 0;
    left: 0;
  }
    .page_topline,
    .page_toplogo,
    .page_header_wrapper,
    .page_title {
      background-color: transparent;
    }

    #canvas:not(.boxed) & .page_header.affix-top {
      background-color: transparent;
    }
}

.header_absolute.slide_absolute {
  .page_header,
  .page_header_wrapper,
  .page_toplogo {
    z-index: 1002;
    position: absolute;
    right: 0;
    left: 0;
  }
}

.page_topline {
  line-height: 1.4;

  &.small-text i {
    font-size: 14px;
  }

  .icon-inline {
    justify-content: center;
  }
  .social-icons {
    display: inline-block;
  }
  //topline menu
  .widget_nav_menu {
    display: inline-block;
  }
  ul {
    margin: 0;
    padding: 0;
    li {
      display: inline-block;
    }
  }

  .dropdown-menu {
    margin: 23px 0 0 -25px;
    min-width: auto;
  }
  .dropdown-language {
    //flags
    a > img {
      max-width: 16px;
      position: relative;
      bottom: 1px;
      margin-right: 6px;
    }
  }

  //news owl-carousel
  .owl-news-slider-dates {
    font-weight: 700;
  }
  .topline-news-item {
    height: 2em;
    line-height: 2em;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin: 0 90px;
    .cat-links {
      display: inline;
    }
  }
  .topline-news-nav-arrow {
    font-size: 10px;
    position: relative;
    bottom: 20px;
    line-height: 38px;
    width: 40px;
    transition: opacity 0.2s ease-in-out;
    &:hover {
      opacity: 0.5;
    }
  }
  .owl-nav > div {
    opacity: 1;
  }

}

.page_toplogo {
  @media (min-width: 992px) {
    .media + .media {
      margin-left: 8px;
    }
    .media-body {
      margin-left: 9px;
      h6 {
        margin-bottom: 1px;
      }
      p {
        position: relative;
        left: -30px;
      }
    }
  }

  .widget_search form, .widget_product_search form,
  .widget_search input, .widget_product_search input {
    max-width: none;
  }

  @media (max-width: 991px) {
    .media {
      margin: 10px;
    }
  }
}

.page_topline,
.page_toplogo,
.page_header {
  .container-fluid {
    @media(min-width: 1500px) {
      padding-left: 60px;
      padding-right: 60px;
    }
  }
}

a.btn.btn-appointment {
  padding: 7px 16px;
}

.header-shop-dropdown {
  .quantity [type='number'] {
    background: transparent;
  }
}

.page_toplogo {
  .btn.btn-small {
    padding: 7px 16px;
  }
}

.page-template-alternative-home .header_absolute {
  position: absolute;
  right: 0;
  left: 0;
  @media (max-width: 1024px) {
    position: relative;
  }
}



@media (min-width: 1200px) {
  .centered-header .sf-menu li > ul {
    position: absolute;
    left: auto;
    right: -100%;
    display: none;
    z-index: 99;
  }
}

.header_absolute {
  background-size: auto !important;
}

@media (min-width: 1200px) and (max-width: 1300px) {
  .centered-header .sf-menu > li > a {
    margin: 0 10px;
  }
}

@media (min-width: 1200px) and (max-width: 1300px) {
  .centered-header a.logo .logo-text, a.blog-info-logo .logo-text {
    font-size: 25px;
  }
}

.centered-header .sf-menu li > ul li ul li {
  white-space: normal !important;
}
.centered-header .sf-menu li > ul li ul {
  min-width: 21em;
}


@import 'header/header_includes';
@import 'header/logo';
@import 'header/search_modal';


