_header-style.scss 5.36 KB
.section-box-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 8;
  padding-bottom: 15px;
}
.fixed-header {
  $height:51;
  .section-box-header {
    background: $Main-bg;
  }
  .logo-wr {
    a {
      img {
        max-height: $height + px;
        max-width: 100%;
      }
    }
  }
  .menu-header ul li {
      line-height: $height + px;
  }
  .mail-header {
    table {
      height: $height + px;
    }
  }
  .phone-header table {
    height: $height + px;
  }
  .phone-header .modal-link {
    font-size: 14px;
    bottom: -12px;
  }
}
.section-header{
  padding-top: 15px;
}
.logo-wr {
  max-width: 152px;
  a {
    img {
      max-height: 109px;
      max-width: 100%;
    }
  }
}

.menu-header {
  float: left;
  ul {
    float: left;
    li {
      float: left;
      line-height: 109px;
      margin-left: 39px;
      &:first-child {
        margin-left: 0;
      }
      a {
        font-size: 14px;
        color: #333;
        text-transform: uppercase;
        font-weight: bold;
        text-decoration: none !important;
        &:hover {
          color: $orange-color;
        }
      }
      &:active {
        a {
          text-decoration: underline;
        }
      }
    }
  }
}

.mail-header {
  float: left;
  margin-left: 70px;
  //line-height: 107px;
  table {
    height: 109px;
    tr {
      td {
        vertical-align: middle;
        ul {
          display: inline-block;
        }
        li {
          margin-bottom: 10px;
          color: #333;
          font-size: 14px;
          float: left;
          &:first-child {
            margin-right: 15px;
          }
        }
        a {
          color: #009799;
          font-size: 14px;
          text-decoration: underline;
          &:hover {
            text-decoration: none;
          }
        }
      }
    }
  }
  a.mail-link_ {
    font-size: 14px;
    //color: #9e9e9e;
    color: #009799;
    text-decoration: underline;
    &:hover {
      text-decoration: none;
    }
  }
}

.sep-lang {
  text-align: center;
}

.phone-header {
  padding-right: 15px;
  float: right;
  position: relative;
  table {
    height: 109px;
    tr {
      td {
        vertical-align: middle;
        p, a {
          position: relative;
          padding-left: 23px;
          font-size: 24px;
          font-weight: 700;
          line-height: 18px;
          margin-top: 11px;
          color: $main-color;
          clear: both;
          display: block;
          text-decoration: none !important;
          &:first-child {
            margin-top: 0;
          }
          &:before {
            width: 12px;
            height: 18px;
            background-image: url("../images/ico-all/ico-phone.svg");
            background-repeat: no-repeat;
            background-size: 12px 18px;
            background-position: 50% 50%;
            content: '';
            display: block;
            position: absolute;
            left: 0;
            top: 50%;
            margin-top: -9px;
          }
        }
      }
    }
  }
  .modal-link {
      font-size: 20px;
    color: #009799;
    text-decoration: underline;
    position: absolute;
    //left: 23px;
    bottom: 5px;
    right: 15px;
    white-space: nowrap;

    &:hover {
      text-decoration: none;
    }
  }
}

@media (max-width: 1200px) {
  .menu-header ul li {
    margin-left: 19px;
    a {
      font-size: 13px;
    }
  }
  .mail-header {
    margin-left: 21px;
  }
  .phone-header table tr td a {
    font-size: 22px;
  }



}

@media (max-width: 991px) {
  .logo-wr a img {
    max-height: 51px;
  }
  .phone-header table {
    height: 51px;
  }
  .menu-header ul {
    li {
      line-height: 51px;
    }
  }
  .mail-header table {
    height: 51px;
  }
  .phone-header .modal-link {
    font-size: 16px;
    bottom: -15px;
  }
}

@media (max-width: 920px) {
  .phone-header .modal-link {
    font-size: 14px;
  }
}
@media (max-width: 902px) {
  .menu-header ul li a {
    font-size: 11px;
  }
  .phone-header table tr td a {
    font-size: 16px;
    line-height: 12px;
  }

  .logo-wr a img {
    max-height: 43px;
  }
  .phone-header table {
    height: 43px;
  }
  .menu-header ul {
    li {
      line-height: 43px;
    }
  }
  .mail-header table {
    height: 43px;
  }

  .fixed-header {
    $height:43;

    .logo-wr {
      a {
        img {
          max-height: $height + px;
          max-width: 100%;
        }
      }
    }
    .menu-header ul li {
      line-height: $height + px;
    }
    .mail-header table {
      height: $height + px;
    }
    .phone-header table {
      height: $height + px;
    }
  }

}

@media (max-width: 815px) {
  .logo-wr a img {
   margin-top: 5px;
  }
}

@media (max-width: 780px) {
  .menu-header ul li {
    margin-left: 16px;
  }
  .mail-header {
    margin-left: 16px;
  }
}


@media (max-width: 767px) {
  .menu-header {
    display: none;
  }
  .logo-wr a img {
    margin-top: 0;
  }
  .phone-header {
   padding-right: 10px;

  }
  .phone-header .modal-link {
    font-size: 13px !important;
  }
}

@media (max-width: 650px) {
  .logo-wr {
    width: 40% !important;
  }
}

@media (max-width: 545px) {
  .logo-wr {
    width: 30% !important;

  }
}

@media (max-width: 470px) {
  .logo-wr {
    width: 20% !important;

  }
}

@media (max-width: 420px) {
  .logo-wr {
    width: 30% !important;

  }
  .mail-header {
    //display: none;
    margin-left: 0;
  }
  .mail-link_ {
    display: none;
  }
  .mail-header table tr td li {
    margin-bottom: 0;
  }
}