// variables
@font_main_medium: "AvenirNextCyr-Medium";
@font_main_bold: "AvenirNextCyr-Bold";
@color_main: #2d76d2;

// common
body {
  background-color: #fff;
  min-width: 320px;
  word-wrap: break-word;
  // overflow: hidden;
  &.popup-opened {overflow: hidden}
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  box-sizing: border-box;
  max-width: 1200px;
  min-width: 320px;
  margin: 0 auto;
  padding-left: 10px;
  padding-right: 10px;
  width: 100%;
  &:after,
  &:before {
    content: "";
    display: block;
    clear: both;
  }
}

.owl-carousel {
  touch-action: none;
}

.popup-opened {
  overflow: hidden;
  .popup {
    overflow-x: hidden;
    overflow-y: auto;
  }
}

// popup
.wrap-popup {
  bottom: 0;
  background-color: rgba(0, 0, 0, .5);
  cursor: pointer;
  left: 0;
  position: fixed;
  display: none;
  overflow: auto;
  right: 0;
  top: 0;
  z-index: 101;
  >.popup {
    box-sizing: border-box;
    margin: 40px auto 0 auto;
    width: 550px;
  }
}

.popup {
  border-top: 9px solid @color_main;
  background-color: #fff;
  padding: 40px 30px 25px 30px;
  display: none;
  position: relative;
  text-align: center;
  .close {
    color: @color_main;
    font-size: 35px;
    position: absolute;
    top: 5px;
    right: 10px;
  }
  .popup-text {
    color: #3b3b3b;
    // font-family: @font_main_regular;
    font-size: 18px;
    font-weight: 800;
    line-height: 27px;
    text-align: center;
  }
  .popup-footer {
    margin-top: 20px;
  }
}
@media (max-width: 768px) {
  .wrap-popup {
    >.popup {
      width: 99%;
    }
  }
}
.col {
  display: inline-block;
  box-sizing: border-box;
}

.simple-text {
  background-color: rgba(255, 255, 255, .8);
  color: #3e3e3e;
  font-family: @font_main_medium;
  font-size: 18px;
  font-weight: normal;
  line-height: 27px;
  p {
    padding-bottom: 20px;
  }
}

// footer position
html,
body {
  height: 100%;
}
.wrap-main {
  height: 100%;
  >.content {
    box-sizing: border-box;
    min-height: 100%;
    // padding depends on footer height + 20px
    padding-bottom: 400px;
  }
  >.footer {
    box-sizing: border-box;
    height: 349px;
    // margin bottom depends on footer height
    margin-top: -376px;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .wrap-main {
    >.content {
      // padding depends on footer height + 20px
      padding-bottom: 680px;
    }
    >.footer {
      height: 650px;
      // margin bottom depends on footer height
      margin-top: -650px;
    }
  }
}

// header
.header-main {
  background-image: url(/assets/img/bg-header.png);
  background-repeat: no-repeat;
  background-position: top;
  background-size: 100% 100%;
  color: #fff;
  margin-bottom: -160px;
  position: relative;
  // depens on next content
  padding-bottom: 70px;
  padding-top: 10px;
  .col {vertical-align: top;}
  .company-logo {width: 210px;}
  .phones-block {
    margin-top: 10px;
    margin-left: 20px;
  }
  .toggle-menu-wrap {
    float: right;
    width: 130px;
  }
  .toggle-menu {
    display: inline-block;
    vertical-align: middle;
  }
}
@media (max-width: 768px) {
  .header-main {
    background-size: 130% 100%;
    padding-bottom: 80px;
    .toggle-menu {margin-top: 0;}
    .phones-block {display: none;}
    .company-logo {
      width: 150px;
      >.text {display: none;}
    }
  }
}

// link
.link {
  color: #2d76d2;
  font-family: @font_main_medium;
  font-size: 18px;
  font-weight: 500;
  line-height: 27px;
  text-decoration: underline;
}

// company logo
.company-logo {
  text-align: center;
  .img {width: 90%}
  >.text {
    font-family: @font_main_medium;
    font-size: 14px;
    font-weight: normal;
    line-height: 21px;
    text-align: center;
  }
}

// phone block
.phones-block {
  .title {
    font-family: @font_main_medium;
    font-size: 18px;
    font-weight: normal;
    line-height: 18px;
  }
  .list {margin-top: 10px;}
  .itm {
    display: inline-block;
    font-family: @font_main_bold;
    font-size: 24px;
    font-weight: normal;
    line-height: 24px;
    padding: 5px 0;
    &.-small {font-size: 19px;}
  }
}
@media (max-width: 992px) {
  .phones-block {
    .itm {
      font-size: 18px;
      &.-small {font-size: 14px;}
    }
  }
}
@media (max-width: 992px) and (min-width: 769px) {
  .phones-block {
    .itm {padding: 1px 0;}
  }
}

// toggle menu
.toggle-menu {
  width: 40px;
  > span {
    border-radius: 3px;
    display: block;
    height: 8px;
    margin-bottom: 5px;
    width: 100%;
    &:first-child {
      background-color: #fff;
    }
    &:nth-child(2) {
      background-color: #b9eaff;
    }
    &:last-child {
      background-color: #85d7fa;
      margin-bottom: 0;
    }
  }
}
.toggle-menu-wrap {
  cursor: pointer;
  >.title {
    display: inline-block;
    font-size: 20px;
    text-transform: uppercase;
    font-family: @font_main_medium;
    vertical-align: middle;
  }
}
.toggle-phones {
  box-shadow: -2px 3px 5px rgba(0, 0, 0, 0.45);
  border-radius: 3px;
  background-color: #efa840;
  display: none;
  padding: 9px 12px;
  position: fixed;
  top: 100px;
  left: 0;
  z-index: 2;
  i {
    color: #fff;
    font-size: 30px;
    line-height: 26px;
  }
}
@media (max-width: 768px) {
  .toggle-phones {display: block;}
}

// mobile menu
.mobile-menu {
  box-shadow: -2px 3px 5px rgba(0, 0, 0, 0.45);
  background-color: #fff;
  box-sizing: border-box;
  display: none;
  position: absolute;
  left: 0;
  top: 55px;
  width: 100%;
  z-index: 9;
  >.close {
    color: @color_main;
    font-size: 30px;
    line-height: 20px;
    padding: 10px;
    position: absolute;
    right: 10px;
    top: 10px;
  }
  .list {
    background-image: url(/assets/img/logo/logo-bg.png);
    background-size: auto;
    background-repeat: no-repeat;
    background-position: 95% center;
    padding: 40px 10px 0 60px;
  }
  .itm {
    color: @color_main;
    display: block;
    font-size: 20px;
    font-family: @font_main_bold;
    line-height: 20px;
    padding: 10px 0;
  }
  >.title {
    background-image: url(/assets/img/bg-menu.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: bottom;
    color: #fff;
    font-family: @font_main_bold;
    font-size: 36px;
    font-weight: 700;
    line-height: 36px;
    padding: 70px 10px 20px 30px;
    text-transform: uppercase;
  }
  &.phone {
    position: fixed;
    top: 100px;
    left: 0;
  }
}

// banner
.banner-block {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom center;
  background-color: @color_main;
  .gsInformer {
    position: absolute;
    top: -90px;
    right: 10px;
    .gsAddInfo2,
    .secondaryWrap {color: #fff !important;}
  }
  >.container {position: relative;}
  .company-logo {
    margin: 0 auto;
    position: relative;
    width: 65%;
    z-index: 1;
  }
  .mobile {display: none;}
}
@media (max-width: 768px) {
  .banner-block {
    .gsInformer {
      top: -45px;
      right: 5px;
    }
    .desktop {display: none;}
    .mobile {display: inline-block;}
    .company-logo {width: 100%;}
  }
}
@media (max-width: 550px) {
  .banner-block {
    .gsInformer {
      width: 120px !important;
      .secondaryWrap table td:nth-child(2),
      .gsAddInfo2 {
        display: none !important;
      }
    }
  }
}

// advantages
.advant-itm {
  &:before {
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    content: "";
    display: block;
    margin: 0 auto;
  }
  &.-icon-1:before {
    background-image: url(/assets/img/icons/icon-1.png);
    height: 140px;
    width: 165px;
  }
  &.-icon-2:before {
    background-image: url(/assets/img/icons/icon-2.png);
    height: 140px;
    width: 140px;
  }
  &.-icon-3:before {
    background-image: url(/assets/img/icons/icon-3.png);
    height: 140px;
    width: 146px;
  }
  &.-icon-4:before {
    background-image: url(/assets/img/icons/icon-4.png);
    height: 140px;
    width: 150px;
  }
  &.-icon-5:before {
    background-image: url(/assets/img/icons/icon-5.png);
    height: 140px;
    width: 140px;
  }
  >.title {
    color: @color_main;
    font-family: @font_main_bold;
    font-size: 18px;
    font-weight: normal;
    line-height: 27px;
    margin-top: 20px;
    text-align: center;
  }
  &:focus {outline: none;}
}
.page-main {
  // depends on footer position
  margin-bottom: -270px;
  .banner-block {padding: 150px 0 150px 0;}
  >.advant-block {
    margin-top: -120px;
  }
  .map-block {
    margin-top: -50px;
  }
}
.advant-block {
  .advant-itm {
    box-sizing: border-box;
    padding: 0 20px;
    width: 100%;
  }
  .advant-list {
    margin-bottom: 20px;
    margin-top: 30px;
  }
}
@media (max-width: 768px) {
  .page-main {margin-bottom: -150px;}
}

.title-decore {
  background-size: 100% 100%;
  background-position: bottom;
  background-repeat: no-repeat;
  .title {
    color: #fff;
    font-family: @font_main_medium;
    font-size: 41px;
    font-weight: 500;
    line-height: 45px;
    text-transform: uppercase;
  }
  &.-left {
    background-image: url(/assets/img/bg-title-1.png);
    padding: 70px 0 30px 0;
    .title {padding-left: 3%;}
  }
  &.-right {
    background-image: url(/assets/img/bg-title-3.png);
    padding: 30px 0 70px 0;
    .title {
      padding-right: 16%;
      text-align: right;
    }
  }
  &.-white {
    background-image: url(/assets/img/bg-title-4.png);
    padding: 70px 0 30px 0;
    .title {
      color: @color_main;
      padding-right: 5%;
      text-align: right;
    }
  }
}
@media (max-width: 992px) {
  .title-decore {
    &.-left,
    &.-right,
    &.-white {
      background-image: url(/assets/img/bg-title-2.png);
    }
    &.-right,
    &.-white {
      padding: 70px 0 30px 0;
      .title {
        padding-left: 3%;
        padding-right: 0;
        text-align: left;
      }
    }
    &.-white {
      .title {color: #fff;}
    }
  }
}
@media (max-width: 768px) {
  .page-main {
    > .advant-block {
      margin-top: -100px;
    }
  }
  .title-decore {
    &.-left,
    &.-right,
    &.-white {padding: 50px 0 20px 0;}
    .title {
      font-size: 24px;
      line-height: 30px;
    }
  }
}
@media (max-width: 450px) {
  .page-main {
    > .advant-block {
      margin-top: -85px;
    }
  }
  .title-decore {
    &.-right,
    &.-left,
    &.-white {
      .title {
        padding-left: 0;
        text-align: center;
      }
    }
    &.-left {padding: 60px 0 20px 0;}
  }
}

// about
.about-block {
  background-image: url(/assets/img/bg-about.png);
  background-size: cover;
  background-position: bottom left;
  background-repeat: no-repeat;
  padding: 125px 0;
  .title-decore {margin-top: -125px;}
  .text {
    box-sizing: border-box;
    border-bottom-right-radius: 50px;
    border-top-left-radius: 50px;
    padding: 25px 40px;
    width: 650px;
  }
}
@media (max-width: 992px) {
  .about-block {
    background-image: none;
    padding: 125px 0 40px 0;
    .text {
      background-color: transparent;
      width: 100%;
    }
  }
}
@media (max-width: 768px) {
  .about-block {
    .text {padding: 25px 10px;}
  }
}

// map
.map {
  iframe {
    height: 650px;
    width: 100%;
  }
}

// footer
.footer-main {
  background-image: url(/assets/img/bg-footer.png);
  background-repeat: no-repeat;
  background-position: top;
  background-size: 100% 100%;
  color: #fff;
  // margin-bottom: -160px;
  position: relative;
  // depens on next content
  padding-bottom: 10px;
  padding-top: 120px;
  .company-logo {
    margin-right: 1%;
    width: 20%;
  }
  .partner-block {
    // text-align: center;
    width: 15%;
  }
  .container {position: relative;}
  .fabrika-block {
    bottom: -10px;
    position: absolute;
    right: 10px;
  }
  .menu-list {display: none;}
}
@media (max-width: 768px) {
  .footer-main {
    background-image: url(/assets/img/bg-footer-1.png);
    padding-top: 60px;
    .partner-block {
      display: block;
      margin: 20px auto 0 auto;
      text-align: center;
      width: 200px;
    }
    .company-logo {
      display: block;
      margin: 0 auto;
      width: 100%;
      .img {width: 200px;}
    }
    .contacts {
      display: block;
      margin: 0 auto;
      text-align: center;
      width: 95%;
    }
    .list-block {margin-top: 10px;}
    .fabrika-block {
      position: static;
      text-align: center;
      .img {
        display: block;
      }
    }
    .menu-list {
      display: block;
      margin: 20px 0;
    }
  }
}

.copyright {
  background-color: #fff;
  color: #2d76d2;
  font-family: @font_main_medium;
  font-size: 16px;
  font-weight: normal;
  line-height: 20px;
  padding: 5px 0;
  text-align: center;
}

// list
.list-block {
  font-family: @font_main_medium;
  font-size: 16px;
  font-weight: normal;
  line-height: 27px;
  .list {
    padding-left: 10px;
    &.-inline {
      .wrap-itm {
        margin-right: 4px;
        display: inline-block;
      }
    }
  }
}
.list-title {
  font-family: @font_main_medium;
  font-size: 16px;
  font-weight: normal;
  line-height: 27px;
  i {padding-right: 2px;}
  &.-bold {font-family: @font_main_bold;}
}


// fabrika
.fabrika-block {
  font-family: @font_main_medium;
  font-size: 16px;
  font-weight: normal;
  line-height: 27px;
  .text {vertical-align: text-bottom;}
}

// menu list
.menu-list {
  >.itm {
    display: inline-block;
    font-family: @font_main_bold;
    font-size: 20px;
    font-weight: normal;
    line-height: 20px;
    padding: 5px 20px 5px 0;
    position: relative;
    &:last-child:after{content: none}
    &:after {
      background-color: #fff;
      bottom: 3px;
      content: "";
      position: absolute;
      right: 8px;
      top: 3px;
      width: 1px;
    }
  }
  i {padding-right: 4px;}
}

.page-common {
  margin-bottom: 50px;
  &.page-contacts {margin-bottom: -260px;}
  >.banner-block {padding: 300px 0 300px 0;}
  .wrap-title {text-align: center;}
}
@media (max-width: 768px) {
  .page-common {
    margin-bottom: 0;
    &.page-contacts {margin-bottom: -170px;}
    >.banner-block {padding: 250px 0 100px 0;}
  }
}

.category-title {
  border-bottom: 21px solid @color_main;
  background-color: rgba(45, 118, 210, .5);
  display: inline-block;
  color: #fff;
  font-family: @font_main_medium;
  font-size: 72px;
  font-weight: normal;
  line-height: 50px;
  padding: 15px 10px;
}
@media (max-width: 768px) {
  .category-title {
    border-bottom: 15px solid #2d76d2;
    font-size: 50px;
    line-height: 37px;
    padding: 10px 10px;
  }
}
@media (max-width: 550px) {
  .category-title {
    font-size: 36px;
    line-height: 30px;
  }
}

.page-common {
  .page-content {
    padding-bottom: 50px;
    padding-top: 50px;
  }
}
.page-content {
  >.title {
    color: @color_main;
    font-family: @font_main_medium;
    font-size: 45px;
    font-weight: 500;
    line-height: 45px;
    text-transform: uppercase;
  }
}
@media (max-width: 768px) {
  .page-content {
    >.title {
      font-size: 36px;
      line-height: 40px;
    }
  }
}

.page-rooms {
  .object-list {
    margin-bottom: 40px;
    margin-top: 40px;
  }
}
.object-list {
  font-size: 0;
  &.-three {
    .object-itm {
      width: 32%;
      &:nth-child(2n) {
        margin: 0 2%;
      }
    }
  }
  &.-two {
    .object-itm {
      width: 48%;
      &:nth-child(2n+1) {margin-right: 4%;}
    }
  }
  .object-itm {
    vertical-align: top;
    margin-bottom: 40px;
  }
}
@media (max-width: 992px) {
  .object-list {
    .object-hover {
      .title {font-size: 36px;}
    }
  }
}
@media (max-width: 768px) {
  .object-list {
    &.-three {
      .object-itm {
        display: block;
        margin-bottom: 30px;
        width: 100%;
        &:nth-child(2n) {
          margin: 0 auto 30px auto;
        }
      }
    }
    &.-two {
      .object-itm {
        margin-bottom: 30px;
        width: 100%;
        &:nth-child(2n+1) {margin-right: 0;}
      }
    }
  }
}

.object-itm {
  cursor: pointer;
  position: relative;
  >.title {
    color: #fff;
    font-family: @font_main_bold;
    font-size: 38px;
    font-weight: bolder;
    line-height: 38px;
    position: absolute;
    top: 3%;
    left: 3%;
  }
  >.img {
    width: 100%;
  }
  >.object-hover {
    box-sizing: border-box;
    bottom: 0;
    opacity: 0;
    left: 0;
    position: absolute;
    top: 0;
    transition: .5s;
    width: 100%;
  }
  .wrap {
    left: 0;
    position: absolute;
    top: 50%;
    margin-top: -65px;
    width: 100%;
  }
  &:hover {
    >.title {
      display: none;
    }
    >.object-hover {
      opacity: 1;
    }
  }
}

.object-hover {
  background-color: rgba(255, 255, 255, .85);
  text-align: center;
  .title {
    color: @color_main;
    font-family: @font_main_bold;
    font-size: 50px;
    font-weight: normal;
    line-height: 50px;
  }
  .btn {
    margin-top: 30px;
  }
}

.btn {
  border-radius: 25px;
  border: none;
  background-color: @color_main;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-family: @font_main_bold;
  font-size: 18px;
  font-weight: normal;
  line-height: 27px;
  padding: 13px 24px;
  &.-big {
    border-radius: 32px;
    padding: 18px 34px;
  }
  &.-small {
    padding: 8px 24px;
  }
  &.-error {
    border-radius: 47px;
    box-sizing: border-box;
    background-color: #efa840;
    color: #000;
    font-size: 24px;
    padding: 34px 20px;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
  }
}

// collapse block
.collapse-block {
  border-bottom: 4px solid @color_main;
  >.title {
    color: #262626;
    font-family: @font_main_bold;
    font-size: 18px;
    font-weight: normal;
    line-height: 27px;
    margin-bottom: 20px;
  }
  >.collapse-content {
    display: none;
  }
}

.page-faq {
  .collapse-block {
    margin-bottom: 20px;
  }
}

// gallery
.category-gallery {
  font-size: 0;
  .gallery-itm {
    // vertical-align: top;
    // height: 140px;
    // overflow: hidden;
    margin: 1%;
    width: 18%;
  }
}
.gallery-itm {
  position: relative;
  img {
    width: 100%;
  }
  .loupe {
    bottom: 0;
    background-color: rgba(0, 0, 0, .5);
    display: none;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    >a{
      background-image: url(https://gumilphoto.com/assets/img/loupe.png);
      background-repeat: no-repeat;
      background-position: center;
      background-size: contain;
      display: block;
      height: 48px;
      left: 50%;
      margin-left: -24px;
      margin-top: -24px;
      position: absolute;
      top: 50%;
      transition: .5s;
      width: 48px;
    }
  }
  &:hover {
    .loupe {display: block;}
  }
}
@media (max-width: 992px) {
  .category-gallery {
    .gallery-itm {
      width: 23%;
    }
  }
}
@media (max-width: 768px) {
  .category-gallery {
    .gallery-wrap {
      margin-top: 40px;
    }
    .gallery-itm {
      width: 31.3333%;
    }
  }
}
@media (max-width: 400px) {
  .category-gallery {
    .gallery-itm {
      width: 48%;
    }
  }
}

// page review
.page-review {
  .wrap-btn.btn-leave-comment {text-align: center;}
  .logIn {
    display: none;
    text-align: center;
  }
  .comments-list {
    margin-top: 30px;
    padding-bottom: 160px;
    position: relative;
  }
}

.logIn {
  >.title {
    color: #262626;
    font-family: @font_main_medium;
    font-size: 18px;
    font-weight: normal;
    line-height: 27px;
    margin-bottom: 20px;
  }
}

.title-person {
  >.img {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    height: 65px;
    margin-right: 10px;
    overflow: hidden;
    vertical-align: middle;
    width: 65px;
  }
  >.title {
    color: #262626;
    font-family: @font_main_bold;
    font-size: 18px;
    font-weight: normal;
    line-height: 27px;
  }
}

.textarea-block {
  textarea {
    border: 1px solid #c7c7c7;
    box-sizing: border-box;
    color: #252525;
    font-family: @font_main_medium;
    font-size: 16px;
    font-weight: normal;
    line-height: 27px;
    padding: 5px;
    resize: none;
    width: 100%;
  }
}
.inValid input[type="text"],
.inValid textarea {
  border: 1px solid red !important;
}
.input-block {
  input {
    border: 1px solid #c7c7c7;
    box-sizing: border-box;
    color: #252525;
    font-family: @font_main_medium;
    font-size: 16px;
    font-weight: normal;
    line-height: 27px;
    padding: 5px;
    resize: none;
    width: 100%;
  }
}
.select-block {
  select {
    background-color: #fff;
    padding: 10px 5px;
    width: 100%;
  }
}

.form-comment {
  .input-block {margin-bottom: 15px;}
  >.title-person {
    margin-bottom: 20px;
  }
  .submit {
    margin-top: 20px;
    text-align: right;
  }
}

.comment-itm {
  border-bottom: 4px solid @color_main;
  >.comment-text {
    margin-top: 15px;
  }
}

.comments-list {
  >.comment-itm {margin-bottom: 45px;}
  .wrap-btn {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    text-align: center;
  }
  .loader {
    bottom: 110px;
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
  }
}

.error {
  font-size: 12px;
  font-family: @font_main_medium;
  font-weight: normal;
  color: red;
  line-height: 16px;
}

.page-contacts {
  .page-content {
    font-size: 0;
    >.col {
      vertical-align: top;
      width: 48%;
      &:first-child {
        margin-right: 4%;
      }
    }
  }
  .list-block {
    margin-bottom: 10px;
  }
  .partner-block {
    margin-top: 20px;
    width: 200px;
  }
}
@media (max-width: 992px) {
  .page-contacts {
    .page-content {
      >.col {
        width: 100%;
        &:first-child {
          margin-bottom: 20px;
          margin-right: 0;
        }
      }
    }
  }
}

.form-contact {
  .textarea-block {
    margin-top: 20px;
  }
  .submit {
    margin-top: 45px;
    text-align: right;
  }
  .list-title {
    margin-bottom: 15px;
  }
}

.wrap-input {
  font-size: 0;
  &.two {
    >.col {
      vertical-align: top;
      width: 48%;
      &:first-child {margin-right: 4%;}
    }
  }
  &.-bordered {
    border-top: 3px solid @color_main;
    padding-top: 20px;
  }
}
@media (max-width: 768px) {
  .wrap-input {
    &.two {
      >.col {
        width: 100%;
        &:first-child {
          margin-bottom: 20px;
          margin-right: 0;
        }
      }
    }
  }
}

// single room
.room-block {
  font-size: 0;
  >.col {
    vertical-align: top;
  }
  >.room-desc {
    margin-right: 2%;
    width: 58%;
  }
  >.room-sidebar {width: 40%;}
}
@media (max-width: 992px) {
  .room-block {
    >.room-desc,
    >.room-sidebar {
      width: 100%;
    }
    >.room-desc {
      margin-bottom: 20px;
      margin-right: 0;
    }
  }
}

.room-desc {
  >.desc {margin-top: 20px;}
}

.room-sidebar {
  >.title {
    color: #282828;
    font-family: @font_main_medium;
    font-size: 24px;
    font-weight: normal;
    line-height: 27px;
  }
  >.features-list {
    margin-top: 40px;
  }
  >.room-count {
    color: #282828;
    font-family: @font_main_medium;
    font-size: 20px;
    font-weight: 500;
    line-height: 27px;
    margin-top: 20px;
  }
  >.room-price {
    margin-top: 30px;
  }
  >.form-book {
    margin-top: 35px;
  }
}

.related-objects {
  border-top: 2px solid @color_main;
  padding-top: 20px;
  >.title {
    color: #282828;
    font-family: @font_main_medium;
    font-size: 24px;
    font-weight: normal;
    line-height: 27px;
    margin-bottom: 20px;
  }
}

.features-list {
  .feature-itm {
    padding-bottom: 7px;
    padding-top: 7px;
  }
}
.feature-itm {
  color: #282828;
  font-family: @font_main_medium;
  font-size: 18px;
  font-weight: 400;
  line-height: 18px;
  padding-left: 30px;
  position: relative;
  &:before {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    content: "";
    display: block;
    height: 20px;
    left: 0;
    position: absolute;
    top: 5px;
    width: 20px;
  }
  &.-icon-bed:before {
    background-image: url(/assets/img/icons/icon-bed.png);
  }
  &.-icon-nightstand:before {
    background-image: url(/assets/img/icons/icon-nightstand.png);
  }
  &.-icon-fridge:before {
    background-image: url(/assets/img/icons/icon-fridge.png);
  }
  &.-icon-wash:before {
    background-image: url(/assets/img/icons/icon-wash.png);
  }
  &.-icon-shower:before {
    background-image: url(/assets/img/icons/icon-shower.png);
  }
  &.-icon-capboard:before {
    background-image: url(/assets/img/icons/icon-capboard.png);
  }
  &.-icon-air:before {
    background-image: url(/assets/img/icons/icon-air.png);
  }
  &.-icon-tv:before {
    background-image: url(/assets/img/icons/icon-tv.png);
  }
  &.-icon-sputnik:before {
    background-image: url(/assets/img/icons/icon-sputnik.png);
  }
}

.room-price {
  >.title {
    color: #282828;
    font-family: @font_main_medium;
    font-size: 30px;
    font-weight: 400;
    line-height: 27px;
  }
  >.list {
    margin-top: 20px;
  }
  .itm {
    color: #282828;
    font-family: @font_main_bold;
    font-size: 18px;
    font-weight: normal;
    line-height: 27px;
  }
}

.form-book {
  >.title {
    color: #282828;
    font-family: @font_main_medium;
    font-size: 24px;
    font-weight: normal;
    line-height: 27px;
  }
  >.wrap-input {
    margin-top: 25px;
  }
  .submit {
    margin-top: 20px;
    text-align: right;
  }
}

.gallery-object,
.slick-carousel {
  img {width: 100%;}
  .nav {
    background-color: rgba(255, 255, 255, .7);
    bottom: 0;
    cursor: pointer;
    position: absolute;
    top: 0;
    width: 40px;
    z-index: 1;
    &.next {
      right: 0;
    }
    &.prev {
      left: 0;
    }
    i {
      color: @color_main;
      font-size: 36px;
      margin-top: -18px;
      position: absolute;
      right: 5px;
      top: 50%;
    }
  }
}
.slider-nav {
  margin-top: 20px;
  .slick-slide {
    box-sizing: border-box;
    padding: 0 10px 0 0;
  }
  .slick-list {
    height: 130px;
  }
}
.slider-for {
  .nav {display: none !important;}
}
@media (max-width: 768px) {
  .slider-for {
    .nav {display: block !important;}
  }
  .slider-nav {display: none;}
}

.page-room {
  .room-block {margin-top: 40px;}
  .related-objects {
    margin-top: 20px;
    width: 60%;
  }
}
@media (max-width: 992px) {
  .page-room {
    .related-objects {width: 100%;}
  }
}

// page error
.wrap-main > .content.page-error {
  background-image: url(/assets/img/bg-404.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 100%;
}
@media (max-width: 992px) {
  .wrap-main > .content.page-error {
    background-position: 59%;
  }
}

.content-error {
  margin-left: 100px;
  padding-top: 250px;
  padding-bottom: 100px;
  width: 360px;
  .text {
    color: #fff;
    font-family: @font_main_bold;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    &.first {
      font-size: 24px;
      line-height: 30px;
      margin: 30px 0;
    }
    &.second {
      font-size: 36px;
      line-height: 40px;
    }
  }
}
@media (max-width: 768px) {
  .wrap-main > .content.page-error {
    background-position: 66% 24%;
    background-size: auto 85%;
    padding-bottom: 93px;
    margin-bottom: 470px;
  }
  .content-error {
    padding-top: 400px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    .btn.-error {
      font-size: 18px;
      padding: 25px 20px;
      width: 280px;
    }
    .text.second {font-size: 30px;}
  }
}

// birds
.container-birds {
  box-sizing: border-box;
  z-index: 0;
  overflow: hidden;
  min-height: 200px;

  position: absolute;
  top: 160px;
  width: 100%;
  left: 0;
}

.bird {
  background-image: url(/assets/img/bird-cells.svg);
  background-size: auto 100%;
  width: 88px;
  height: 125px;
  will-change: background-position;

  animation-name: fly-cycle;
  animation-timing-function: steps(10);
  animation-iteration-count: inherit;

  &--one {
    animation-duration: 1s;
    animation-delay: -0.5s;
  }

  &--two {
    animation-duration: 0.9s;
    animation-delay: -0.75s;
  }

  &--three {
    animation-duration: 1.25s;
    animation-delay: -0.25s;
  }

  &--four {
    animation-duration: 1.1s;
    animation-delay: -0.5s;
  }
}

.bird-container {
  position: absolute;
  top: 20%;
  left: -10%;
  transform: scale(0) translateX(-10vw);
  will-change: transform;

  animation-name: fly-right-one;
  animation-timing-function: linear;
  animation-iteration-count: infinite;

  &--one {
    animation-duration: 15s;
    animation-delay: 0;
  }

  &--two {
    animation-duration: 16s;
    animation-delay: 1s;
  }

  &--three {
    animation-duration: 14.6s;
    animation-delay: 9.5s;
  }

  &--four {
    animation-duration: 16s;
    animation-delay: 10.25s;
  }
}

@keyframes fly-cycle {
  100% {
    background-position: -900px 0;
  }
}

@keyframes fly-right-one {
  0% {
    transform: scale(0.3) translateX(-10vw);
  }
  10% {
    transform: translateY(2vh) translateX(10vw) scale(0.4);
  }
  20% {
    transform: translateY(0vh) translateX(30vw) scale(0.5);
  }
  30% {
    transform: translateY(4vh) translateX(50vw) scale(0.6);
  }
  40% {
    transform: translateY(2vh) translateX(70vw) scale(0.6);
  }
  50% {
    transform: translateY(0vh) translateX(90vw) scale(0.6);
  }
  60% {
    transform: translateY(0vh) translateX(110vw) scale(0.6);
  }
  100% {
    transform: translateY(0vh) translateX(110vw) scale(0.6);
  }
}
@keyframes fly-right-two {
  0% {
    transform: translateY(-2vh) translateX(-10vw) scale(0.5);
  }
  10% {
    transform: translateY(0vh) translateX(10vw) scale(0.4);
  }
  20% {
    transform: translateY(-4vh) translateX(30vw) scale(0.6);
  }
  30% {
    transform: translateY(1vh) translateX(50vw) scale(0.45);
  }
  40% {
    transform: translateY(-2.5vh) translateX(70vw) scale(0.5);
  }
  50% {
    transform: translateY(0vh) translateX(90vw) scale(0.45);
  }
  51% {
    transform: translateY(0vh) translateX(110vw) scale(0.45);
  }
  100% {
    transform: translateY(0vh) translateX(110vw) scale(0.45);
  }
}

// pagination
.pagination {
  margin-top: 40px;
  text-align: center;
  >li {
    display: inline-block;
    margin: 0 5px;
    vertical-align: middle;
  }
  .itm-sub {
    color: @color_main;
    display: inline-block;
    font-family: @font_main_bold;
    &.-arrow {
      box-sizing: border-box;
      border-radius: 50%;
      font-size: 17px;
      height: 45px;
      padding: 14px 5px;
      width: 45px;
      &:hover {
        background-color: @color_main;
        color: #fff;
      }
    }
  }
  .itm {
    background-color: #b9eaff;
    box-sizing: border-box;
    border-radius: 50%;
    color: @color_main;
    display: inline-block;
    font-size: 17px;
    font-family: @font_main_bold;
    height: 45px;
    padding: 14px 5px;
    text-align: center;
    width: 45px;
    &.active,
    &:hover {
      background-color: @color_main;
      color: #fff;
    }
  }
}

// gsLinks
.gsLinks {display: none !important;}

.partner-block {
  .img {
    width: 100%;
  }
  >.text {
    font-family: @font_main_medium;
    font-size: 20px;
    line-height: 20px;
  }
}

// .fancybox-content {
//   width  : 800px;
//   height : 600px;
//   max-width  : 100%;
//   max-height : calc( 100% - 100px );
//   margin: 50px 0;
//   overflow: visible;
//   background: #000;
// }

// .button-close,
// .button-previous,
// .button-next {
//   position: absolute;
//   width: 44px;
//   height: 44px;
//   background: #000;
//   text-align: center;
//   line-height: 44px;
//   color: #fff;
//   text-decoration: none;
//   border-radius: 50%;
//   font-size: 16px;
// }

// .button-previous,
// .button-next {
//   top: 50%;
//   margin-top: -22px;
//   line-height: 42px;
// }

// .button-previous {
//     left: 0;
// }

// .button-next {
//     right: 0;
// }

// .button-close {
//   top: -44px;
//   right: -44px;
//   font-size: 22px;
//   color: rgba(255,255,255,0.8);
// }

.slick-slide {height: auto;}