@import url(binotel.css);

.main-frame {
  background-image: linear-gradient(
    to bottom,
    rgba(30, 144, 255, 0.4) 0%,
    rgba(196, 196, 196, 0) 100%
  ), url(../image/back_offline.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.ready-solutions {
  max-width: 597px;
}
.offline-content__position {
  position: relative;
  height: 613px;
  /*background-image: url(../image/offline_content_stend.png);
  background-repeat: no-repeat;*/
  margin-top: 75px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.offline-content__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 525px;
  margin-top: -145px;
}
.offline-content__brand .offline-content__title {
  font-weight: bold;
  font-size: 18px;
  line-height: 32px;
}
.offline-content__brand p {
  text-align: center;
  font-size: 16px;
  line-height: 36px;
}
.offline-content__package .offline-content__promotion {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #b5944f;
  box-sizing: border-box;
  border-radius: 25px;
  width: 247px;
  height: 45px;
  margin-top: 30px;
}
.offline-content__promotion p {
  font-size: 14px;
  line-height: 15px;
  color: #b5944f;
}
.offline-content__promotion:hover {
  background: #b5944f;
}
.offline-content__promotion:hover p {
  color: #ffffff;
}
.offline-content__gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 68px;
}
.gallery-side__image {
  display: flex;
  flex-direction: row;
  width: 100%;
  margin-bottom: 5px;
  justify-content: space-between;
}
.offline-content__gallery img {
  width: 100%;
  height: auto;
}

.side__image_m {
  display: none;
}

.offline-content__trading {
  position: relative;
  height: auto;
  background: #002857;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 70px 0;
}
.trading__content {
  max-width: 890px;
}
.trading__content p {
  font-weight: bold;
  font-size: 16px;
  line-height: 32px;
  text-align: center;
  color: #ffffff;
}
.offline-content__block {
  display: flex;
  justify-content: space-between;
  margin-top: 129px;
}
.main-one {
  display: flex;
  align-items: flex-end;
  
}
.main-two {
  display: flex;
  align-items: center;
}
.main-one img {
  width: 331px;
  height: auto;
}
.main-two img, .main-three img {
  width: 418px;
  height: auto;
}
.main-three {
  display: flex;
  align-items: flex-start;
}


.offline-content__package {
  margin-top: 75px;
}

.offline-content__firm {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 428px;
  margin: 0 auto;
}

.offline-content__firm .offline-content__title {
  font-weight: bold;
  font-size: 18px;
  line-height: 30px;
  max-width: 397px;
}

.offline-content__firm p {
  text-align: center;
  font-size: 12px;
  line-height: 30px;
  max-width: 346px;
}
.offline-content__promotion {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #b5944f;
  box-sizing: border-box;
  border-radius: 25px;
  width: 247px;
  height: 45px;
  margin-top: 40px;
  font-size: 14px;
  line-height: 15px;
  color: #b5944f;
  transition: all 0.3s;
}
.offline-content__promotion:hover {
  background: #b5944f;
  color: #ffffff;
}
.offline-content__promo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 148px;
  width: 100%;
}
.offline-content__promo img {
  width: 100%;
  height: auto;
}
.promo-side__image {
  display: flex;
  flex-direction: row;
  width: 100%;
  margin-top: 5px;
  justify-content: space-between;
}
.promo-side__image .side__image_d, .gallery-side__image .side__image_d {
  width: 49.8%;
}

.offline-content__firm .offline-content__phonecall {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #b5944f;
  box-sizing: border-box;
  border-radius: 25px;
  width: 247px;
  height: 45px;
  margin-top: 17px;
  color: #ffffff;
  background: #b5944f;
}
.offline-content__phonecall img {
  margin-right: 13px;
}
footer {
  margin-top: 240px;
}
@media screen and (max-width: 650px) {

  .offline-content__brand .offline-content__title {
    font-size: 14px;
  }
  .offline-content__brand p {
    font-size: 12px;
  }

  .main-one img, .main-two img, .main-three img {
    width: 100%;
  }
  .main-frame {
    background-image: linear-gradient(
      to bottom,
      rgba(30, 144, 255, 0.4) 0%,
      rgba(196, 196, 196, 0) 100%
    ), url(../image/mobile_back_offline.jpg);
  }
  .ready-solutions {
    width: 211px;
  }
  .trading__content {
    width: 303px;
  }
  .trading__content p {
    font-size: 14px;
    line-height: 32px;
  }

  .offline-content__block {
    flex-direction: column-reverse;
    margin-top: 0px;
  }
  .main-two,
  .main-three {
    margin-bottom: 5px;
  }
  .side__image_d {
    display: none;
  }
  .side__image_m {
    display: block;
  }
  .gallery-side__image {
    flex-direction: column;
    margin-bottom: 0;
  }
  .offline-content__gallery img {
    margin-bottom: 5px;
  }
  .offline-content__gallery img:last-child {
    margin-bottom: 0px;
  }
  .offline-content__brand {
    margin-top: 0;
    width: 100%;
    padding: 0 15px;
}
.offline-content__position {
  margin-top: 38px;
  background: none;
  height: auto;
}
.offline-content__position img {
  width: 100%;
  height: auto;
  margin-top: 25px;
}
  .offline-content__main img {
    width: 100%;
    height: auto;
  }
  .offline-content__firm {
    width: 315px;
  }
  .offline-content__firm .offline-content__title {
    font-size: 14px;
  }
  .offline-content__package {
    margin-top: 38px;
  }
  .offline-content__package .offline-content__promotion {
    margin-top: 35px;
  }
  .offline-content__firm p {
    font-size: 12px;
    line-height: 27px;
  }
  .offline-content__promotion {
    font-size: 14px;
    line-height: 15px;
  }
  .offline-content__promo {
    margin-top: 116px;
  }
  .promo-side__image img.side__image_m {
    margin-bottom: 5px;
  }
  .promo-side__image {
    flex-direction: column;
  }
  .media-ad {
    position: absolute;
  }
  footer {
    margin-top: 168px;
  }
}
