$grid-gutter-width: 15px;
$primary-color: #00aeff;
$margin-lg: 50px;


@import "reset";
@import "breakpoints";
@import "modal";
@import "pushy";

@import "owl.carousel/owl.carousel";
@import "test";




.yyy *{
  outline: 1px solid red;
}
body{
  //background-image:url("../images/bg.jpg");
//  background: black;
  background-position:top center;
  background-repeat:no-repeat;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.2;
  color: #333333;
  position: relative;
}

.container {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  //outline: 1px solid red;
  @include respond-to('sm') {
    width: 750px;
    //outline: 1px solid blue;
  }
  @include respond-to ('md') {
    width: 930px;
    // outline: 1px solid yellow;
  }
  @include respond-to ('lg') {
    width: 1170px;
    // outline: 1px solid darkblue;
  }
}
.row {
  margin-right: -$grid-gutter-width;
  margin-left: -$grid-gutter-width;
}
.flex-block-2,.flex-block-3  {
  padding: 0 $grid-gutter-width;
}
@include respond-to('xs') {
  .flex-container-xs {
    display: flex;
    flex-wrap: wrap;
    &>.flex-block-2 {
      width: 50%;
    }
    &>.flex-block-3 {
      width: calc( 100% / 3 );
    }
  }
}
@include respond-to('sm') {
   .flex-container-sm {
     display: flex;
     flex-wrap: wrap;
     &>.flex-block-2 {
       width: 50%;
     }
   }
 }
@include respond-to('md') {
  .flex-container-md {
    display: flex;
    flex-wrap: wrap;
    &>.flex-block-2 {
      width: 50%;
    }
  }
}
@include respond-to('lg') {
  .flex-container-lg {
    display: flex;
    flex-wrap: wrap;
    &>.flex-block-2 {
      width: 50%;
    }
  }
}

header {
  position: fixed;
  width: 100%;
  z-index: 9;
  .container {
    position: relative;
    .navbar-brand {
      padding: 0 15px;
      width: 195px;
      height: 57px;
      background-image: url("../images/logo.png");
      background-repeat: no-repeat;
      transition: all 0.8s;
      .contrast &{
        background-image: url("../images/logo2.png");
      }
    }
  }
}

/* Icon 1 */
.menu-btn{
  width: 30px;
  height: 22.5px;
  position: fixed;
  top: 16px;
  right: 15px;
  z-index: 15;
  margin: 0 auto;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
  & span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: $primary-color;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
    &:nth-child(1) {
      top: 0px;
      -webkit-transform-origin: left center;
      -moz-transform-origin: left center;
      -o-transform-origin: left center;
      transform-origin: left center;
    }
    &:nth-child(2) {
      top: 9px;
      -webkit-transform-origin: left center;
      -moz-transform-origin: left center;
      -o-transform-origin: left center;
      transform-origin: left center;
    }
    &:nth-child(3) {
      top: 18px;
      -webkit-transform-origin: left center;
      -moz-transform-origin: left center;
      -o-transform-origin: left center;
      transform-origin: left center;
    }
  }

  &.open span{
    background: white;
    &:nth-child(1) {
      -webkit-transform: rotate(45deg);
      -moz-transform: rotate(45deg);
      -o-transform: rotate(45deg);
      transform: rotate(45deg);
      top: -3px;
      left: 8px;
    }

    &:nth-child(2) {
      width: 0%;
      opacity: 0;
    }

    &:nth-child(3) {
      -webkit-transform: rotate(-45deg);
      -moz-transform: rotate(-45deg);
      -o-transform: rotate(-45deg);
      transform: rotate(-45deg);
      top: 18px;
      left: 8px;
    }
  }
}
h1{
  font-size: 46px;
  font-weight: 700;
  color: $primary-color;
  margin-bottom: 20px;
  span{
    color: #ffc000;
  }
  @include respond-to('xs'){
    font-size: 64px;
  }
}
h2{
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 40px;
}
h4{
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 20px;
}
p{
  font-size: 16px;
  margin-bottom: 10px;
}
.m-b-10{
  margin-bottom: 10px;
}
.m-b-20{
  margin-bottom: 20px;
}
.btn{
  min-width: 100%;
  height: 48px;
  line-height: 36px;
  padding: 6px 24px;
  text-align: center;
  display: inline-block;
  background: #fff200;
  color: #333333;
  border-bottom: 2px solid #ffc000;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  box-sizing: border-box;

  &:hover{
      border-bottom: 2px solid #fff200;
  }
  @include respond-to('xs'){
    min-width: 262px;
  }
}
.btn-questions{
  display: none;
  height: 34px;
  background: rgba(0,0,0,0.6);
  padding: 3px 0 0 34px;
  color: rgba(256,256,256,.9);
  font-size: 10px;
  text-transform: uppercase;
  line-height: 14px;
  text-align: left;
  text-decoration: none;
  position: absolute;
  bottom: 5px;
  overflow: hidden;
  width: 166px;
  padding-left: 40px;
  transition: 0.2s;
  &:before {
    position: absolute;
    left: 5px;
    top: 50%;
    margin-top: -12px;
    width: 24px;
    height: 24px;
    background: url(../images/questions.png) no-repeat;
    content: '';
  }
  &:hover{
    color: rgba(256,256,256,1);
  }
}
@include respond-to('md'){
  .btn-questions{
    display: block;
  }
}
.btn-questions-left{
  @extend .btn-questions;
  left: 0;
  border-bottom-right-radius: 34px;
  border-top-right-radius: 34px;
}
.btn-questions-right{
  @extend .btn-questions;
  right: 0;
  border-bottom-left-radius: 34px;
  border-top-left-radius: 34px;
}
.link{
  color: $primary-color;
  text-decoration: underline;
  &:hover{
    text-decoration: none;
  }
}
.text-center{
  text-align: center;
}
.text-primary{
  color: $primary-color;
}
.text-right{
  text-align: right;
}
.text-danger {
  color: red;
}
strong{
  font-weight: 700;
}
em{
  font-style: italic;
}
.d-inline-block{
  display: inline-block;
}
.page_section{
  padding: 60px 0;
}
.navbar{
  background: $primary-color;
  width: 280px;
  height: 100ch;
  position: fixed;
  top:0;
  right: 0;
  z-index: 10;
  ul{
    display: flex;
    flex-direction: column;
    li{
      border-top: 1px solid white;
      a{
        color: white;
        text-decoration: none ;
        padding: 20px;
        font-size: 16px;
        display: inline-block;
      }
    }
  }
}
.for-lang{
  position: relative;
  .language{
    display: block;
    position: absolute;
    top: 74px;
    right: 7px;
    font-size: 14px;
    border-radius: 10px;
    background: transparent;
    transition: all 0.2s;
    z-index: 15;

    div{
      display: none;
    }
    a, span{
      display: inline-block;
      padding: 5px 24px 5px 10px;
      position: relative;
      text-transform: uppercase;
      color: $primary-color;;
    }
    a{
      text-decoration: underline;
      &:hover{
        text-decoration: none;
      }
    }
    span:before {
      position: absolute;
      right: 8px;
      top: 50%;
      margin-top: -2px;
      content: '';
      width: 8px;
      height: 5px;
      background: url(../images/toggler.png) no-repeat;
      transition: all 0.2s;
    }
    &:hover{
      background: rgba(0,0,0,.5);
      span:before {
        transform: rotate(180deg);
        -webkit-transform: rotate(180deg);
      }
      div{
        display: block;
      }
    }
  }
  @include respond-to('xs'){
    .language{
      top: 16px;
      right: 100px;
    }
  }

}
.section1{
  width: 100%;
  .container{
    position: relative;
    max-height: 1200px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .btn{
    margin-bottom: 20px;
  }
  &.box-1 {
    background-image: url(../images/slider/big-bg-1.jpg);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    transition: 0.5s;
  }
  .slider_wr_{
    display: none;
    img{
      box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.75);
    }
    @include respond-to('sm') {
      display: block;
      .slide-ul{
        display: flex;
        li{
          margin: 15px;
        }
      }
    }
    .time-bloks {
      width: 100%;
      height: 5px;
      background: #5c5a64;
      z-index: 2;
      display: none;
    }
    .slide-ul .active_n .time-bloks {
      display: block;
    }
    .time-bloks-line {
      width: 0;
      height: 100%;
      background: #00aeff;
    }
  }
}
.section2{
  @include respond-to('md') {
    background-image: url("../images/2/bg2.jpg");
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }
  .flex-block-2{
    text-align: center;
    position: relative;
    img{
      display: inline-block;
      margin-bottom: 10px;
    }
    h3{
      color: $primary-color;
      font-weight: 700;
      .big{
        font-size: 24px;
      }
    }
    p{
      margin-bottom: 20px;
    }
  }
}
.section3{
  background-image: url("../images/3/bg.jpg");
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-attachment: fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  h2{
    color: white;
  }
  .card {
    background: white;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
    padding: 20px 20px 0;
    margin-bottom: 20px;
  }
  .nav-tabs{
    border-bottom: 2px solid #DDD;
    &.nav-tabs-main{
      &> li{
        width: calc(100%/3);
        @include respond-to('xs'){
          width: inherit;
        }
      }
    }
    &.nav-tabs-year{
      border-bottom: 2px solid transparent;
    }
  }
  .nav-tabs > li.active > a,
  .nav-tabs > li.active > a:focus,
  .nav-tabs > li.active > a:hover {
    border-width: 0;
  }
  .nav-tabs > li > a, .nav-tabs > li > span {
    border: none;
    color: #333333;
    font-weight: bold;
    padding: 10px 15px;
    display: inline-block;
  }
  .nav-tabs > li.active > a, .nav-tabs > li > a:hover {
    border: none;
    color: $primary-color;
    background: transparent;
  }
  .nav-tabs > li > a::after {
    content: "";
    background: $primary-color;
    height: 2px;
    position: absolute;
    width: 100%;
    left: 0px;
    bottom: -1px;
    transition: all 250ms ease 0s;
    transform: scale(0);
  }
  .nav-tabs > li.active > a::after, .nav-tabs > li:hover > a::after {
    transform: scale(1);
  }
  .tab-nav > li > a::after {
    background: #21527d none repeat scroll 0% 0%;
    color: #fff;
  }
  .tab-pane{
    padding: 15px 0 0 0;
  }
  .tab-content{
    padding: 0;
  }
  .owl-carousel{
    .item{
      .btn{
        min-width: inherit;
        margin-bottom: 20px;
      }
      .img{
        margin-bottom: 10px;
      }
      .specifications{
        margin-bottom: 10px;
        p{
          font-size: 13px;
          margin-bottom: 0;
        }
      }
      .price {
        font-size: 18px;
        color: $primary-color;
        text-align: center;
        margin-top: 6px;
        margin-bottom: 20px;
      }
    }
  }
}
.section4{
  @include respond-to('md') {
    background-image: url("../images/4/bg2.jpg");
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover
  }
  .flex-block-2{
    text-align: center;
    position: relative;
    img{
      display: inline-block;
      margin-bottom: 10px;
    }
    p{
      margin-bottom: 20px;
    }
  }
}
.section5{
  background-image: url("../images/5/bg.jpg");
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-attachment: fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  transition: 0.5s;
  h2{
    color: white;
  }
  .r-b-p-2{
    border-left: 2px solid $primary-color;
    padding-left: 10px;
    color: white;
    .text-yellow{
      color: #fff200;
    }
    &:first-child{
      display: flex;
      align-items: center;
      padding-right: 20px;
    }
  }
  .card{
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
    .deposit{
      width: 190px;
      height: 43px;
      border-left: 18px solid transparent;
      border-bottom: 43px solid $primary-color;
      margin-right: -20px;
      display: inline-block;
      @include respond-to('xs'){
        position: absolute;
        bottom: 0;
        right: 0;
      }
      p{
        color: #fff;
        float: left;
        font-size: 24px;
        font-weight: 700;
        line-height: 43px;
        margin-bottom: 0;
        span {
          font-weight: normal;
          font-size: 13px;
          width: 80px;
          display: table-cell;
          line-height: 15px;
          height: 43px;
          vertical-align: middle;
          padding-left: 10px;
        }
      }
    }
    .price{
      margin-bottom: 20px;
      position: relative;
      .price-row{
        overflow: hidden;
      }
      .price-name{
        .price-name-title {
          float: left;
          margin-right: 5px;
          font-size: 15px;
          line-height: 30px;
          color: #333;
        }
        .price-name-border {
          overflow: hidden;
          span {
            width: 100%;
            height: 21px;
            border-bottom: 2px dotted #b7b7b7;
            display: block;
          }
        }
      }
      .price-cost {
        font-size: 15px;
        color: $primary-color;
        line-height: 30px;
        margin-left: 5px;
        float: left;
      }
      .price-name-wr {
        width: 102px;
        float: left;
      }
    }
    ul{
      margin-bottom: 20px;
      li{
        margin-bottom: 10px;
        &:before {
          content: '';
          height: 6px;
          width: 6px;
          background: $primary-color;
          margin-right: 12px;
          display: inline-block;
          border-radius: 50%;
        }
      }
    }
    .flex-block-3{
      text-align: center;
      img{
        display: inline-block;
      }
    }
  }
  h3{
    font-size: 18px;
    font-weight: 700;
    border-bottom: 1px solid #b7b7b7;
    margin-bottom: 10px;
    text-transform: uppercase;
  }
}
.section6{
  text-align: center;
  h3{
    font-size: 24px;
    color: $primary-color;
    margin-bottom: 20px;
  }
  p{
    font-size: 14px;
    margin-bottom: 20px;
  }

  @include respond-to('md') {
    background-image: url("../images/6/bg2.jpg");
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover
  }
  .blue{
    background: #f1f8fc;
    padding: 20px 20px;
    margin-bottom: 20px;
  }
  a.facebook{
    // float: right;
    padding-left: 60px;
    background-image: url("../images/6/f.png");
    background-repeat: no-repeat;
    background-position: center left;
    height: 48px;
    text-align: left;
    display: inline-block;
    color: $primary-color;
    font-weight: bold;
    margin-left: 20px;
    span{
      position: relative;
      text-decoration: underline;
      top: 8px;
    }
    &:hover{
      span{
        text-decoration: none;
      }
    }
  }
  ul{
    display: flex;
    justify-content: center;
    li{
      font-weight: bold;
      display: inline-block;
      padding: 5px 20px;
      text-align: center;
      color: $primary-color;
    }
    li + li{
      border-left: 1px solid #b7b7b7;
    }
  }
}
.section7{
  background-image: url("../images/7/bg.jpg");
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-attachment: fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  transition: 0.5s;
  padding-bottom: 40px;
  h2{
    color: white;
  }
  .flex-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    &>.flex-block{
      width: 200px;
      height: 60px;
      line-height: 68px;
      text-align: center;
      background: white;
      padding: 5px;
      margin: 0 20px 20px 20px;
    }
  }
}
.section8{
  .container{
    position: relative;
  }
  .gmap{
    display: none;
    @include respond-to('md') {
      display: block;
    }
    width: 100%;
    height: 500px;
  }
  .contacts{
    background: white;
    text-align: center;
    margin: 50px 0;
    .contacts-img{
      display: none;
    }
    @include respond-to('md') {
      display: block;
      .contacts-tile{
        padding: 10px 15px;
        background: $primary-color;
        color: white;
        h2{
          margin: 0;
        }
      }
      .contacts-block{
        padding: 10px 15px;
      }
      .contacts-img{
        display: block;
        width: 100%;
      }
    }
    @include respond-to('md') {
      position: absolute;
      right: 0;
      top: 0;
      width: calc(100%/4);
      z-index: 3;
    }
  }
}
footer{
  padding: 12px 0 6px;
  background: #333333;
  color: rgba(255, 255, 255, 1);
  p{
    font-size: 14px;
  }
  @include respond-to('sm') {
    .flex-block-2:last-child{
      text-align: right;
    }
  }
  a{
    text-decoration: underline;
    color: rgba(255, 255, 255, 1);
    display: inline-block;
    img {
      float: right;
      margin-left: 10px;
    }
    &:hover{
      text-decoration: none;
    }
  }
}
