@ipadWidth: 1180px;
.company-logo {
  width: 30px;
  height: 30px;
  float: left;
  background: data-uri('../images/new_logo.svg') no-repeat 0 0;
  background-size: auto 30px;
  position: absolute;
  top: 3px;
  left: 11px;
}

.header {
  position: relative;
  padding-top: 5px;
  background-color: @blue;
  min-height: 46px;

  .currency-code {
    display: inline-block;
    float: left;
    overflow: hidden;
    text-overflow: ellipsis;
    @media (max-width: @ipadWidth) {
      & {
        max-width: 90px;
      }
    }

  }

}

.header-inner {
  position: relative;
  height: 100%;
  @media (max-width: @ipadWidth) {
    & {
      max-width: 961px;
      padding: 0;
      margin: auto;
    }
  }
}

.currency-column {
  padding: 0;
  padding-right: 16px;
  max-width: 192px;
  float: right;
}


.informer-block {
  position: relative;
  color: #fff;
  font-size: 12px;
  line-height: 1.566rem;
  opacity: 0;
  cursor: pointer;
  transition: all .2s;
  user-select: none;
  .informer-message {
    float: left;
    display: inline-block;
    max-width: 450px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  &:before {
    position: absolute;
    top: -14px;
    left: -50px;
    width: 50px;
    height: 50px;
    background: data-uri('../images/magnifier.svg') no-repeat;
    background-size: cover;
    content: '';
    opacity: .2;
  }
  &:after {
    content: '';
    clear: both;
  }
  .show-informer-block &,
  &.informer-block--visible {
    opacity: 1;
    transition: all .2s;
  }
}

.old-search-link {
  position: absolute;
  top: 32px;
  right: 29px;
  color: @text-gray;
  text-decoration: none;
  border-bottom: 1px dotted @text-gray;

  &:before {
    position: absolute;
    top: 4px;
    left: -24px;
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    background: data-uri('../images/rewind.svg') no-repeat 0 0;
    background-size: 100%;
    vertical-align: bottom;
  }

}

.form-toggle-button {
  display: inline-block;
  margin-top: 1px;
  margin-left: 5px;
  width: 150px;
  border: 1px solid #fff;
  border-radius: 2px;
  background-color: @blue;
  color: #fff;
  text-align: center;
  cursor: pointer;
  position: absolute;
  right: .9375rem;
  line-height: 1.6rem;
  top: .2rem;
  text-indent: -15px;
  transition: all .3s;


  &:after {
    content: '';
    position: absolute;
    top: 12px;
    right: 10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 4px 4px 0 4px;
    border-color: #ffffff transparent transparent transparent;
  }

  &:hover {
    background-color: #fff;
    color: @blue;

    &:after {
      border-color: @blue transparent transparent transparent;
    }

  }
  &:active {
    opacity: .8;
  }
}

@media (max-width: 970px) {
  .informer-block {
    .informer-message {
      max-width: 360px;
    }
  }
}

.informer-container {
  width: 100%;
  cursor: pointer;
  ul {
    margin: 0;
    list-style: none;
    color: white;
    width: 100%;
    height: 2rem;
    overflow: hidden;
  }
  li {
    position: relative;
    display: inline-block;
    padding: 0 12px;
    &:first-child {
      padding-left: 0;
      margin-right: 16px;
      &:after {
        content: '.....';
        font-size: 20px;
        position: absolute;
        top: 8px;
        right: -24px;
        color: @blue-dark;
        transform: rotate(90deg);
      }
    }
  }
  .informer-title {
    font-size: 110%;
    height: 1rem;
    display: block;
    font-weight: bold;
  }
  .informer-direction-arrow {
    display: inline-block;
    position: relative;
    width: 11px;
    height: 6px;
    margin: 0 3px;
    vertical-align: middle;
    &:after {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      width: 0;
      height: 0;
      border-style: solid;
      border-width: 3px 0 3px 3px;
      border-color: transparent transparent transparent #ffffff;
    }
    &:before {
      content: '';
      position: absolute;
      top: 2px;
      left: 0;
      width: 8px;
      height: 1px;
      background: #fff;
    }
  }
  .informer-extra {
    display: block;
    font-size: 80%;
    white-space: nowrap;
    color: @blue-middle-light;
  }
  .informer-shadow {
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    &:after {
      position: absolute;
      top: 0;
      right: 155px;
      width: 6%;
      height: 100%;
      background: linear-gradient(to right, rgba(27, 166, 210, 0) 0, #1ba6d2 100%);
      content: "";
    }
  }
}

.expired-search-plate {
  background: #E88280;
  height: 41px;
  padding: 8px 0;
  cursor: pointer;

  &:hover {
    .expired-search-reload {
      background: #fff;
      color: #E88280;
    }
  }

  .expired-search-text-wrap {
    overflow: hidden;
    width: 721px;
    margin: auto;
  }

  .expired-search-text {
    font-size: 14px;
    color: #fff;
    float: left;
    margin-right: 9px;
    padding-top: 4px;
  }

  .expired-search-reload {
    display: block;
    float: left;
    width: 100px;
    height: 26px;
    border: 1px solid #FFFFFF;
    border-radius: 3px;
    background: transparent;
    color: #fff;
    transition: all .3s;
    position: relative;
    text-indent: 18px;
    font-weight: 600;

    &:before {
      font-family: "fontello";
      content: '\e80e';
      width: 11px;
      height: 8px;
      position: absolute;
      top: 7px;
      left: -11px;
      font-size: 12px;
      font-weight: normal;
    }

  }

}
