.section-box-header-columns {
  padding-top: 30px;
  padding-bottom: 30px;
}
.logo-wrapp {
  a {
    line-height: 16px;
  }
  img {
    max-width: 100%;
    //max-width: 165px;
    max-height: 44px;
  }
}

.section-box-header-columns {
  ul {
    float: left;
    li {
      float: left;
      a {
        display: block;
        line-height: 44px;
        font-size: 11px;
        color: $main-color;
        text-transform: uppercase;
        padding: 0 10px;
      }
      &:first-child {
        a {
          padding-left: 0;
        }
      }
    }
  }
}

.new {
  position: relative;
  span {
    position: relative;
    padding-right: 37px;

    &:before {
      position: absolute;
      top: 50%;
      margin-top: -7px;
      right: 0;
      content: 'new';
      font-weight: 700;
      font-size: 8px;
      line-height: 15px;
      height: 14px;
      width: 32px;
      text-align: center;
      background: $yellow-color;
      border-radius: 14px;
      color: $main-color;
    }
  }
  &:hover {
    text-decoration: none !important;
    span {
      text-decoration: underline;
    }
  }


}

.table-header-callback {
  margin-left: 24px;
  padding-left: 26px;
  float: left;
  table {
    height: 45px;
    tr {
      td {
        vertical-align: middle;
        text-align: center;
      }
    }
  }
  span {
    font-size: 11px;
    color: $link-color;
    &:hover {
      color: $link-active;
    }
  }
}

.phone-header {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: -5px;
  position: relative;
  &.new-phone-header {
    height: 17px;
    //overflow: hidden;
    &:after {
      content: '';
      position: absolute;
      width: 10px;
      height: 6px;
      background: url("../images/arrow-dawn.svg") 50% 50% no-repeat;
      background-size: 10px 6px;
      top: 6px;
      right: -14px;

    }
    &:hover {
      .hidden-header-phone {
        display: block;
      }
    }
  }
  &:before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: url("../images/callback-img.svg") 50% 50% no-repeat;
    background-size: 18px 18px;
    left: -26px;
    top: 50%;
    margin-top: -9px;
  }
}

.hidden-header-phone {
  display: none;
  position: absolute;
  top: 19px;
  left: -20px;
  width: 100%;
  box-shadow: 0px 0px 12px 0px rgba(149, 149, 149, 0.75);
  padding: 10px 20px 10px 20px;
  box-sizing: content-box;
  background: #fff;
  z-index: 2;
  p {
    margin-top: 8px;
    &:first-child {
      margin-top: 0;
    }
  }
}

.btn-header-wr {
  margin-left: 29px;
  margin-right: 34px;
  float: left;
  .btn_ {
    width: 206px;
  }
}

.lang-sep-wr {
  float: right;
}

.current-lang {
  line-height: 44px;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 11px;
  span {
    position: relative;
    padding-right: 20px;
    &:before {
      content: '';
      position: absolute;
      width: 10px;
      height: 6px;
      background: url("../images/arrow-dawn.svg") 50% 50% no-repeat;
      background-size: 10px 6px;
      top: 50%;
      margin-top: -3px;
      right: 0;
    }
  }
}

.hidden-langs {
  display: none;
  position: absolute;
  right: 0;
  top: 36px;
  width: 100%;
  @include Shadow;
  padding: 10px 0 10px 20px;
  box-sizing: content-box;
  background: #fff;
  z-index: 2;
  div {
    width: 100%;
    float: left;
    margin-top: 5px;
    &:first-child {
      margin-top: 0;
    }
    a {
      color: $main-color;
    }
  }
}

.lang-sep {
  position: relative;
  &:hover {
    .hidden-langs {
      display: block;
    }
  }
}

nav {
  width: 100%;
  float: left;
  background: $blue-color;
  text-align: center;
  height: 48px;
  overflow: hidden;
  ul {
    display: inline-block;
    width: 1170px;

    li {
      display: inline-block;
      a {
        color: #fff;

        padding: 0 11px;
        font-size: 11px;
        text-transform: uppercase;
        transition: 0.7s;
        display: table-cell;
        vertical-align: middle;
        height: 48px;
        &:hover {

        }
      }
      &.active {
        a {
          background: $turquoise-color;
          color: $main-color;

        }
      }
    }
  }
}

.transition-loader {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: #fff;
  z-index: 10;
  display: none;
  .transition-loader-inner {
    top: 50%;
    position: absolute;
    width: 100%;
    color: #FFF;
    padding: 0 100px;
    text-align: center;
    label {
      width: 27px;
      height: 27px;
      padding: 1%;
      opacity: 0;
      display: inline-block;
      background: $blue-color;
      border-radius: 100%;
      float: none;
      margin-top: 0;
    }
  }
}

$key-frames-ms: 600ms, 500ms, 400ms, 300ms, 200ms, 100ms;

@each $current-ms in $key-frames-ms {
  $i: index($key-frames-ms, $current-ms);
  .transition-loader-inner label:nth-child(#{$i}) {
    -webkit-animation: loader 3s $current-ms infinite ease-in-out;
    animation: loader 3s $current-ms infinite ease-in-out;
  }
}

@keyframes loader {
  0% {
    opacity: 0;
    transform: translateX(-300px) scale(1);
  }
  33% {
    opacity: 1;
    transform: translateX(0px) scale(2);
  }
  66% {
    opacity: 1;
    transform: translateX(0px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateX(300px) scale(2);
  }
}

@-webkit-keyframes loader {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-300px);
  }
  33% {
    opacity: 1;
    -webkit-transform: translateX(0px);
  }
  66% {
    opacity: 1;
    -webkit-transform: translateX(0px);
  }
  100% {
    opacity: 0;
    -webkit-transform: translateX(300px);
  }
}

.hide_ {
  ul {
    transform: scaleX(0);

  }
}

.start {
  ul {
    transform: scaleX(1);
    transition: 1.5s;
    transition-timing-function: ease-out;
  }
}

.start-preloader {
  .transition-loader {
    display: block;
  }

}
.end-preloader {
  .transition-loader {
   opacity: 0;
    transition: 1.4s;
  }
}

.disabled-preloader {
  .transition-loader {
    display: none;
  }
}

.icon_phone-header-mob {
  width: 40px;
  height: 40px;
  position: relative;
  border: 1px solid #c7c7c7;
  border-radius: 100%;
  float: right;
  margin-right: 75px;
  cursor: pointer;
  &:before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: url(../images/callback-img.svg) 50% 50% no-repeat;
    background-size: 18px 18px;
    left: 50%;
    top: 50%;
    margin-top: -9px;
    margin-left: -9px;

  }
}



@media (max-width: 1200px) {
  .logo-wrapp img {
    max-height: 44px;
  }
    nav {
      ul {
        width: 970px;
        li {
          a {
            max-width: 100px;
          }
        }
      }
    }
  .section-box-header-columns ul li a {
    padding: 0 5px;
  }
  .table-header-callback {
    margin-left: 10px;
  }
  .btn-header-wr {
    margin-left: 20px;
    margin-right: 10px;
  }
  .btn-header-wr {
    .btn_ {
      width: auto;
      font-size: 11px;
    }
  }
  .header-col {
    padding-left: 0 !important;
  }
}

@media (max-width: 991px) {
  nav {
    ul {
      width: 100%;
    }
  }
  .header-col {
    text-align: center;
  }
  .table-header-callback, .btn-header-wr {
    float: none;
    display: inline-block;
  }
  .table-header-callback {
    margin-left: 0;
  }
  .btn-header-wr {
    margin-right: 0;
    margin-left: 20px;
  }
  .section-box-header {
    border-bottom: 1px solid $blue-color;
  }

  .section-box-header-columns {
    padding-top: 11px;
    padding-bottom: 7px;
  }
  .logo-wrapp img {
    max-height: 42px;
  }
}

@media (max-width: 767px) {
.section-box-header-columns {
  padding-top: 14px;
  padding-bottom: 13px;
}
  .logo-wrapp img {
    max-width: 136px;
    max-height: 36px;
  }

}

