@charset "utf-8";

@import "../initial";

.layout-header {
  position: relative;
  margin-bottom: 0;
  border: none;
  border-radius: 0;
  z-index: 1;
  background-color: #d6d0c8;
  .container {
    @extend .response-content;
    background-color: #f1f1f1;
  }

  .header-nav {
    color: #a19a91;
    font-family: $main-font;
    padding: 6px 15px;
    & > *:not(p) {
      display: inline-block;
      margin-top: 0;
      margin-bottom: 0;
      font-size: 0.8em;
      color: #a19a91;
    }
    ul{
      padding: 0;
      margin: 0;
      list-style: none;
    }
    li{
      display: inline-block;
      padding: 0 5px;
    }

    a {
      color: #a19a91;
      text-decoration: none;
      padding: 0 2px;
      &:hover{
        text-decoration:underline;
      }
    }

    @media (min-width: $screen-sm) {
      text-align: right;
      padding: 0;
    }
    @media (max-width: $screen-sm) {
      display: block;
      margin: 0 -15px 15px;
      background-color: rgba(255,255,255,0.7);
      border-bottom: 1px solid rgba(255,255,255,0.2);
    }
  }

  .navbar-header {
    

    .navbar-toggle {
      padding: 18px 20px;
      border-radius: 2px;
      behavior: url("/assets/ie_support/PIE2/PIE.htc");
      border-width: 2px;
      border-color: #fff;

      .icon-bar {
        background-color: #fff;
      }

      &.collapsed {
        .icon-bar-top {
          top: 0;
          -webkit-transform: rotate(0);
          transform: rotate(0);
        }

        .icon-bar-middle {
          opacity: 1;
        }

        .icon-bar-bottom {
          top: 0;
          -webkit-transform: rotate(0);
          transform: rotate(0);
        }
      }

      // icon bar animation
      .icon-bar {
        transition: .2s all;
        position: relative;
      }

      .icon-bar-top {
        top: 6px;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
      }

      .icon-bar-middle {
        opacity: 0;
      }

      .icon-bar-bottom {
        top: -6px;
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
      }
      @media (max-width: $screen-sm) {
        float:none;
        width:100%;
        border:0;
        background:$theme-color-second;
        margin:15px 0 0 0;
        border-radius:0;
        .icob-box{
          float: right;
          line-height: 1;
          color: #fff;
          padding-left: 8px;
        }
      }
    }

    .navbar-brand {
      height: auto;
      margin: 8px 0;
      padding-top: 0;
      padding-bottom: 0;
      line-height: 34px;
      color: #FFF;
      font-size: 1.4em;
      font-family: $main-font;

      @media (min-width: $screen-sm) {
        height: 67px;
        margin: 17px 0 0 0;
        padding-left: 0;
        line-height: 60px;
        font-size: 1.5em;
        img{
          height: 100%;
          width: auto;
        }
        &:hover{
          transition: all 0.2s;
          opacity: 0.8;
          padding-left: 10px;
        }
      }

      .site-logo {
        max-width: 100%;
        margin-right: 0.5em;
        float: left;
      }
      .site_name{
        display: none;
      }
      @media (max-width: $screen-sm) {
        float:none;
        display:block;
      }
    }
    @media (min-width: $screen-sm) {
      padding: 0 0 50px 0;
    }
  }
  @media (min-width: $screen-sm){
    .container {
      position: relative;
    }
    .header-nav {
      position: absolute;
      right: 26px;
      top: 26px;
      z-index: 1;
    }
    .navbar-header {
    }

  }
}