.section-box-3 {

  overflow: hidden;
  background: #f6f6f6;
  .container {
    position: relative;
  }
}

.box3-img {
  position: absolute;
  right: 58.33333333%;
  top:50%;
  margin-top: -(505 / 2) +px;
  margin-right: 15px;

}

.box3-text-title, .box3-text-wr h1 {
  font-weight: 700;
  font-size: 28px;
  line-height: normal;
  text-transform: uppercase;
}

.box3-text-wr h2 {
  font-size: 22px;
}

.box3-text-wr h3 {
  font-size: 18px;
}

.box3-text-wr {
  padding-top: 60px;
  padding-bottom: 59px;
  p {
    //font-size: 14px;
    margin-top: 16px;
    &:first-child {
      margin-top: 1px;
    }
  }
  h2, h3, h4, h5, h6 {
    margin-top: 16px;
    &:first-child {
      margin-top: 1px;
    }
  }
}



.section-box-2 {
  margin-top: 80px;
  z-index: 2;
}
.section-box-4 {
  padding-bottom: 80px;
  padding-top: 73px;
}
.package-offers-wr {
  padding-left: 0 !important;
  padding-right: 0 !important;
  a {
    margin-top: 20px;
    width: 100%;
    float: left;
    color: #fff;
    display: block;
    position: relative;
    div.img {
      width: 100%;
      float: left;
      max-width:388px;
      position: relative;
      backface-visibility: hidden;
      z-index: 2;
      &:before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: #000;
        opacity: 0.5;
      }
      img {
        width: 100%;
        float: left;
      }
    }
    div.rotate {
      //opacity: 0;
      width: 100%;
      float: left;
      max-width:388px;
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      transform: rotateY(180deg);
      backface-visibility: visible;
      img {
        width: 100%;
        float: left;
      }
    }
    p, span {
      position: absolute;
      z-index: 2;
    }
    p {
      text-align: center;
      left: 0;
      top: 99px;
      width: 100%;
      float: left;
      font-weight: 700;
      font-size: 18px;
      text-transform: uppercase;
    }
    span {
      position: absolute;
      bottom: 30px;
      left: 50%;
      width: 124px;
      margin-left: -(124 / 2) +px;
    }
  }
}

.title-bx4 {
  text-align: center;
  font-weight: 700;
  font-size: 28px;
  text-transform: uppercase;
  line-height: normal;
  margin-bottom: 19px;
  br {
    display: none;
  }
}

.categories-home-links-wr {
  text-align: center;
  padding-top: 16px;
  height: 92px;
  position: relative;
  a {
    color: $main-color;
    text-transform: uppercase;
  }
}


.categories-home-links-title {
  padding: 0 10px;
  a {
    position: relative;
    z-index: 2;
    font-size: 13px;
    font-weight: 700;
    display: inline-block;
    text-decoration: none !important;
    span {
      border-bottom: 1px solid $blue-color;
      position: relative;
    }
    &.arrow {
      padding-right: 20px;
      &:before {
        position: absolute;
        right: 0;
        top: 5px;
        width: 10px;
        height: 6px;
        background: url("../images/arrow-dawn.svg");
        background-size: 10px 6px;
        content: '';
        transition: 0.2s;

      }
      position: relative;
      span {


      }

    }
    &:hover {
      border-bottom: transparent;
      span {
        border-bottom: transparent;
      }
    }
  }


}


.categories-home-links-hidden {
  display: none;
  position: absolute;
  width: 100%;
  left: 0;
  top: -10px;
  padding: 2px;
  @include gradientBtn;
  border-radius: 12px;
  box-shadow: 0px 0px 24px 0px rgba(151, 151, 151, 0.75);
  overflow: hidden;
  z-index: 1;

  ul {
    border-radius: 12px;
    position: relative;
    background: #fff;
    padding-bottom: 11px;
    padding-top: 67px;
    width: 100%;
    float: left;
    li {
      a {
        display: block;
        padding: 13px 5px 13px 5px;
      }
    }
  }
}
.categories-home-wr {
  text-align: center;
  &:hover {
    z-index: 4;
  }
}
.categories-home {
  display: inline-block;
  width: 100%;
  max-width: 263px;

  .img {
    cursor: pointer;
    box-shadow: 0px 0px 24px 0px rgba(124, 124, 124, 0.35);
    img {
      max-width: 100%;
    }
  }

  &:hover {
    z-index: 5;
    .categories-home-links-hidden {
      display: block;
    }
    .categories-home-links-title {

      a {

        &.arrow {

          &:before {
            transform: rotate(180deg);

          }

          span {


          }

        }
        &:hover {
          border-bottom: transparent;
        }
      }


    }

  }
}

.section-box-5 {
  background: #f6f6f6;
  padding-top: 53px;
  padding-bottom: 61px;
}

.comments-h-autor {
  text-align: center;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
}
.comments-h-text {
  position: relative;
  text-align: center;
  font-style: italic;
  padding-bottom: 66px;
  line-height: 16px;
  &:before {
    width: 48px;
    height: 48px;
    text-align: left;
    padding-top: 28px;
    padding-left: 10px;
    color: #fff;
      position: absolute;
    left: 50%;
    margin-left: -24px;
    bottom: 0;
    font-size: 52px;
    content: '\201c';
    font-family: Georgia;
    @include gradientBtn;
    border-radius: 100%;

  }
}

.add-comment-h, .service-c-a-btns {
  text-align: center;
  margin-top: 40px;
  .btn_ {
    width: 184px;
    background: #fff !important;
    border: 1px solid $turquoise-color;
    color: $main-color;
    transition: 0.2s;
    display: inline-block;
    float: none;
    box-shadow: none;
    &:hover {
      border: 1px solid $blue-color;
      transition: 0.2s;
    }
  }
}

.for-hidden-mob {
  &.mCustomScrollbar {
    height: 338px;
  }
}









@media (min-width: 768px) {
  .anim {
    .box3-img {
      transform: translateX(-50%);
      opacity: 0;
    }
    .box3-text-wr {
      transform: translateX(50%);
      opacity: 0;
    }

    .title-bx4 {
      transform: translateX(30%);
      opacity: 0;
    }

    .package-offers-wr {
      transform: translateY(70%);
      opacity: 0;

      a {
        transform: rotate3d(0, 1, 0, 180deg);

        div.rotate {
          //opacity: 1;

        }

        p {
          opacity: 0;
        }
        span {
          opacity: 0;
        }
      }

    }

  &.section-box-2 {
      .container {
        > .row {
          transform: translateY(50%);
          opacity: 0;
        }
      }
    }

  }

  .start {
    .box3-img, .box3-text-wr {
      transform: translateX(0);
      opacity: 1;
      transition: 1.5s;
      transition-timing-function: ease-out;

    }

    .title-bx4 {
      transform: translateX(0);
      opacity: 1;
      transition: 2s;
    }

    .package-offers-wr {
      transform: translateY(0);
      opacity: 1;
      transition-duration: 1.2s;
      perspective: 700px;
      &:nth-child(2) {
        transition-delay: 0.6s;
      }
      &:nth-child(3) {
        transition-delay: 1.2s;
      }
      a {
      }

    }

    &.section-box-2 {
      .container {
        > .row {
          transform: translateY(0);
          opacity: 1;
          transition: 2s;
        }
      }
    }

  }
  .start2 {

    .package-offers-wr {
      a {
        transform: rotate3d(0, 1, 0, 0deg);
        transition-duration: 1.6s;
      }
      &:nth-child(2) {
        a {
          transition-delay: 0.6s;
        }

      }
      &:nth-child(3) {
        a {
          transition-delay: 1.2s;
        }
      }
    }
  }

  .start3{


    .package-offers-wr {
      a {
        p {
          opacity: 1;
          transition: 1.5s;
        }
        span {
          opacity: 1;
          transition: 1.5s;
        }
      }
    }
  }
}

.box3-img-hidden {
  max-width: 100%;
  margin-top: 10px;
}

.show-txt-mo {
  margin-top: 8px;
  text-align: center;
  position: relative;
  @include wfl;
  display: none;
  span {
    padding-right: 20px;
    position: relative;
    cursor: pointer;
    b {
      font-weight: normal;
      border-bottom: 1px solid $main-color;
    }
    &:before {
      content: '';
      position: absolute;
      width: 10px;
      height: 6px;
      background: url(../images/arrow-dawn.svg) 50% 50% no-repeat;
      background-size: 10px 6px;
      top: 7px;
      right: 0;
      transform: rotate(180deg);
    }

  }
  &.hide-status {
    span {
      &:before {

        transform: rotate(0deg);
      }
    }


  }

}
.fix-map-margin {
  margin-bottom: -60px;
}
.section-box-6 {
  height: 420px;
  //background: url("../images/map/map-bg-1.jpg") 50% 50% no-repeat;
  text-align: center;
  margin-top: 60px;
  position: relative;
}

#map_canvas {
  overflow: hidden;
  width: 100%;
  height: 100%;
  position: absolute !important;
  left: 0;
  top: 0;
  z-index: 1;
}

.map-info-wrapp {
  color: #fff;
 //padding-top: 96px;
  height: 420px;
  z-index: 2;
  position: relative;
  display: table-cell;
  vertical-align: middle;
  * {
    z-index: 2;
    position: relative;
  }
  &:before {
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.4;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
  }
}
.map-adress {
  margin-top: 28px;
}

.map-phone {
  margin-top: 8px;
  p {
    font-size: 18px;
    font-weight: 700;
    margin-top: 12px;
    &:first-child {
      margin-top: 0;
    }
  }

}
.map-mail {
  margin-top: 4px;
  a {
    color: inherit;
  }
}

.ico-map {
  margin-top: 12px;
  img {
    width: 18px;
    height: 18px;
  }
  &.ico-map-mail {
    img {
      height: 13px;
    }
  }
}


@media (max-width: 767px) {
  .categories-home-links-hidden {
    display: none !important;
  }
  .categories-home-links-title a.arrow {
    padding-right: 0;
    &:before {
      display: none;
    }
  }
  .section-box-2 .categories-home-wr {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .categories-home .img {
    box-shadow: none;
  }
  .section-box-2 {
      margin-top: 20px;
    padding-bottom: 26px;
  }

  .categories-home-links-wr {
    padding-top: 11px;
    height: 47px;
    overflow: hidden;
  }

  .categories-home-links-title a {
    line-height: 15px;
  }

  .box3-text-title, .box3-text-wr h1, .box3-text-wr h2 {
   text-align: center;
  }
  .box3-text-wr {
      padding-top: 13px;
  }

  .for-hidden-mob {
    &.status-hide {
      overflow: hidden;
      height: 305px;
    }
    &.mCS_destroyed {
      overflow: hidden !important;
    }

    margin-top: 17px;
  }
  .show-txt-mo {
    display: block;
  }
  .package-offers-wr a {
    margin-top: 0;
    text-align: center;
    div.img {
      float: none;
      display: inline-block;
      vertical-align: top;
    }
    div.rotate {display: none}
  }
  .title-bx4 {

  }

  .box3-text-title, .box3-text-wr h1, .box3-text-wr h2, .title-bx4 {
    font-size: 20px;
  }



  .section-box-4 {
    padding-bottom: 0;
  }

  body {
    .package-offers-wr.col-xs-12 {
      padding-left: 0 !important;
      padding-right: 0 !important;
    }

  }

  .section-box-5, .section-box-4 {
    padding-top: 25px;
  }

  .section-box-3 {
    padding-top: 2px;
  }


  .categories-home-wr {
    text-align: right;
    &:nth-child(2n + 2) {
      text-align: left;
    }
  }
  .map-info-wrapp, #map_canvas {
    height: 300px;
  }
  .section-box-6 {
    height: 600px;
  }
  #map_canvas {
    top: auto;
    bottom: 0;
  }


  .map-info-wrapp {
    color: $main-color;
    &:before {
      display: none;
    }
  }
  .ico-map {
    img {
      display: none;
      &.mob-ico-map {
        display: inline-block !important;
      }
    }
  }

}

@media (max-width: 450px) {
  .title-bx4 {
    br {
      display: block;
    }
  }
}

@media (max-width: 360px) {
  .package-offers-wr a p {
    top: 65px;
  }
}