body {
  &.ltr {
    .region-navigation {
      text-align: right;
    }
  }
  &.rtl {
    .region-navigation {
      text-align: left;
    }
  }
}
.region-navigation {
  .block {
    display: inline-block;
    vertical-align: middle;
  }
  #block-search-form {
    width: 40px;
    .search-toggle {
      width: 40px;
      text-align: center;
      cursor: pointer;
    }
    .search-form-overlay {
      position: fixed;
      width: 100%;
      height: 100%;
      left: 0;
      top: 0;
      background: rgba(0,0,0,0.6);
      display: none;
      z-index: 99;
      body.search-open &{
        display: block;
      }
    }
    .search-form-block-wrapper {
      display: none;
      position: absolute;
      //right: -15px;
      bottom: -112px;
      background: rgba(255, 255, 255, 0.3);
      border: 1px solid rgba(255, 255, 255, 0.3);
      height: 112px;
      z-index: 999;
      @media (max-width: 767px) {
        width: 100vw;
      }
      .form-type-textfield {
        float: left;
        width: 100%;
        margin: 35px 0;
        input[type=text] {
          background-color: #fff;
          border: medium none;
          color: #000;
          font-size: 18px;
          padding: 0 15px;
          width: 100%;
          line-height: 40px;
        }
      }
      input[type=submit] {
        background-color: @base_color;
        font-size: 12px;
        padding: 0 50px;
        position: absolute;
        right: 15px;
        text-transform: uppercase;
        top: 35px;
        border: 0;
        border-radius: 0;
        line-height: 40px;
        &:hover,
        &:focus {
          color: #fff;
        }
        @media (max-width: 767px) {
          padding: 0 15px;
        }
      }
      body.search-open &{
        display: block;
      }
    }
  }
}

form#search-form{
  margin-top: 15px;
  .form-item{
    label{
      @media screen and (min-width: 992px){
        min-width: 250px;
        display: inline-block;
      }
    }
  }
  input[type=submit]{
    margin-top: -4px;
    line-height: 13px;
    font-size: 14px;
  }
}
