@font-face {
    font-family: 'BebasNeueBold';
    src: url('../fonts/BebasNeueBold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@-webkit-keyframes fadeIn {
0% { opacity:0; }
100% { opacity:1; }
}

@-moz-keyframes fadeIn {
0% { opacity:0; }
100% { opacity:1; }
}

@-o-keyframes fadeIn {
0% { opacity:0; }
100% { opacity:1; }
}

@keyframes fadeIn {
0% { opacity:0; }
100% { opacity:1; }
}

*{
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body{
  margin: 0 auto;
  width: 100%;
  height: 100%;
}
body{
  position: relative;
  font-size: 14px;
  font-family: 'Philosopher', sans-serif;
  background: #fff;
  color:#252525;
  min-height: 100vh;
}
h1,h2,h3,h4,h5,h6{
  margin: 0;
}
ul,li{
  list-style: none;
  padding: 0;
  margin: 0;
}

header, footer, main, figure, figcaption, article, aside, nav, section{
  display: block;
}
img {border: 0;}
form {margin: 0;}
table {border-collapse: collapse;border-spacing: 0;}
a, a:hover{
  text-decoration: none;
}

.clearfix:before, .clearfix:after {content: '';display: table;}
.clearfix:after, .clear {
  clear:both;
}
.container{
  font-family:'BebasNeueBold', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
}



.header, .nav, .wrapper, .container, .footer{
  width: 100%;
}
.header, .nav, .footer,
.header__contacts a{
  color:#fff;
}
.header,
.footer{
  background: #252525;
}
.footer{
  font-size: 1em;
  padding: 25px 0 30px;
  line-height: 1.5;
}


/* < 480px */

.title{
  color:#fff;
  text-transform: uppercase;
  font-size: 60px;
  text-align: center;
}

.header, .nav{
  padding: 0 10px;
}

.header{
  height: 67px;
}
  .header__logo{
    height: inherit;
    width: 155px;
    display: inline-block;
    background-image: url(../img/logo-sm.png);
    background-repeat: no-repeat;
    background-position: left center;
  }
  .header__contacts{
    float: right;
    margin-top: 20px;
  }
  .header__phone{
    font-size: 13px;
    font-weight: 700;
  }
  .header__time{
    color:#afafaf;
    font-size: 10px;
    text-align: right;
  }
  .header__contacts-link{
    display: block;
    text-align: right;
  }
.nav{
  height: 42px;
  background: url(../img/h_nav_menu_back.png) repeat-x;
  background-color: #da0000;
}
  .nav__wrapper{
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    justify-content: flex-start;
    position: relative;
  }
  .nav__item{
    display: inline-block;
    padding: 0 12px 0 0;
    height: inherit;
    line-height: 42px;
    font-size: 14px;
  }

  .nav__item--fb{
    position: absolute;
    right: 0;
    top: 8px;
    padding: 0 5px 0 0;
    height: 24px;
    width: 24px;
  }
  .nav__link,
  .nav__link:hover{
    color:#fff;
  }
  .nav__link:hover{
    opacity: 0.9;
  }
  .nav__link--fb{
    display: block;
    height: inherit;
    width: inherit;
    background: url(../img/fb-sprite.png) no-repeat;
    background-position: left top;
  }
  .nav__link--logout{
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 5px;
    margin-top: 2px;
    background-image: url(../img/logout.svg);
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
  }
  .nav__link-contacts{
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -ms-align-items: center;
    justify-content: space-between;
    align-items: center;
    justify-content: space-between;
  }
.main{
  min-width: 320px;
  margin: 0 auto;
  padding: 15px 25px 30px;
}
  .main__item{
    display: block;
    width: 100%;
    border: 1px solid #000;
    padding: 10px 40px;
    margin-bottom: 10px;
    text-align: center;
    color: #252525;
    font-size: 30px;
  }
    .main__item:hover{
      border-color: #da0000;
      color: #da0000;
    }
.footer__common{
  width: 200px;
  margin: 0 auto;
  text-align: center;
}
.header__time,
.nav__contacts,
.nav__logo,
.nav__login-block,
.img-container,
.main__l-container{
  display: none;
}


@media all and (min-width: 480px){
  .header,
  .nav{
    padding: 0 35px;
  }
  .header{
    height: 80px;
  }
  .header__time{
    display: block;
  }
  .header__logo{
    width: 190px;
    background-image: url(../img/logo-md.png);
  }
  .header__phone{
    font-size: 16px;
  }
  .nav{
    height: 46px;
  }
    .nav__item{
      font-size: 16px;
    }
    .nav__item--fb{
      height: 27px;
      width: 27px;
    }
      .nav__link--fb{
        background-position: -28px top;
      }

  .wrapper{
    background-color: #ebebeb;
  }
  .main{
    padding: 30px 35px 40px;
  }
    .main__item{
      width: 48%;
      height: 320px;
      margin-bottom: 20px;
      padding: 0;
      float: left;
      border: none;
      position: relative;
      z-index: 0;
      transition: all 400ms ease;
    }
    .main__item--long {
      width: 100%;
	height: 130px;
    }
    .main__item--long .main__item-wrapper {
	width: 100%;
	text-align: center;
    }

      .main__item:nth-of-type(4n-1),
      .main__item:nth-of-type(4n-2){
        height: 150px;
        float: right;
      }
      .main__item:nth-of-type(4n){
        width: 100%;
        height: 150px;
      }

      .main__item-overlay{
        height: 100%;
        width: 100%;
        position: absolute;
        z-index: -1;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        -webkit-filter: sepia(1);
          filter: sepia(1);
        transition: all 400ms ease;

      }
      .singapour{
        background-image: url(../img/singapour.jpg);
      }
      .taiwan{
        background-image: url(../img/taiwan.jpg);
      }
      .vietnam{
        background-image: url(../img/vietnam.jpg);
      }
      .uae{
        background-image: url(../img/uae2.jpg);
      }
      .bali{
        background-image: url(../img/indonesia.png);
      }
      .china{
        background-image: url(../img/china.jpg);
      }
      .japan{
        background-image: url(../img/japan2.jpg);
      }
      .hongkong{
        background-image: url(../img/hongkong.jpg);
      }
      .thailand{
        background-image: url(../img/thailand.jpg);
      }
      .india{
        background-image: url(../img/india.jpg);
      }
	.shengen{
        background-image: url(../img/shengen.jpg);
	  background-position-y: 80%;
      }


      .main__item-wrapper{
        width: 150px;
        text-align: left;
        line-height: 1;
        padding: 25px;
      }
	.main__item--long-narrow .main__item-wrapper{
        width: auto;
        text-align: center;
      }

        .main__item span{
          color:#fff;
          font-size: 21px;
          background: #da0000;
          padding: 0 3px;
        }

      .main__item:hover{
        border:none;
        transform: translateX(-5px) translateY(-5px);
        /*transform: scale(1.02);*/
      }
      .main__item:hover  .main__item-overlay{
        -webkit-filter:none;
          filter: none;
      }

  .footer__common{
    width: 350px;
  }
}



@media all and (min-width: 724px){

  .header{
    display: none;
  }
  .header__contacts-link,
  .nav__link-contacts{
    display: none;
  }
  .nav__wrapper,
  .main{
    width: 724px;
    margin: 0 auto;
  }
  .nav{
    height: 82px;
    padding: 0;
  }
    .nav__wrapper{
      height: inherit;
      position: relative;
      padding: 0 20px;
    }
    .nav__item--fb{
      right: 20px;
    }
      .nav__item{
        line-height: 1;
        float: left;
        margin-top: 25px;
        padding: 0;
      }
      .nav__item--fb{
        margin-top: 12px;
      }
      .nav__contacts,
      .nav__logo{
        display: block;
        /*font-weight: 700;*/
      }
      .nav__contacts--phone{
        text-align: right;
        margin-right: 33px;
      }
      .nav__contacts-time{
        font-weight: 400;
        font-size: 11px;
      }
      .nav__contacts--email{
        margin-right: 170px;
      }
      .nav__contacts-email{
        display: inline-block;
        margin-bottom: 6px;
      }
      .nav__contacts-email:hover{
        text-decoration: underline;
      }

      .nav__logo{
        width: 128px;
        height: 111px;
        padding: 0;
        background-color: #252525;
        position: absolute;
        top:0;
        left: calc(50% - 64px);
        margin-top: 0;
        z-index: 1;
      }
        .nav__logo::after{
          content:"";
          border-top:20px solid #252525;
          border-left:64px solid #252525;
          border-right:64px solid #252525;
          border-bottom:20px solid rgba(37, 37, 37,0);
          position: absolute;
          z-index: -1;
          bottom: -25px;
        }
        .nav__logo-link{
          display: block;
          width: inherit;
          height: inherit;
          background: url(../img/logo.png) center center no-repeat;
        }
        .nav__logo-link:hover{
          opacity: 1;
        }
      .nav__login-block{
        display: flex;
        -ms-align-items: center;
        align-items: center;
      }
      /*.nav__item.nav__link-contacts{
        display: none;
      }*/
    .nav__link-work{
      display: inline-block;
      margin-bottom: 5px;
    }
    .img-container{
      display: block;
      width: 100%;
      height: 309px;
      background: url(../img/background-img-h1.jpg) center center no-repeat;
      background-size: 100% auto;
      padding-top: 88px;
    }

    .main{
      padding: 0 0 80px;
      margin-top: -85px;
      -webkit-animation: fadeIn 1s linear 1;
      -moz-animation: fadeIn 1s linear 1;
      -o-animation: fadeIn 1s linear 1;
        animation: fadeIn 1s linear 1;
    }
      .main__item{
        display: none;
      }
      .main__l-container{
        display: block;
      }
      .main__l-container .main__item{
        display: block;
        float: none;
        margin: 0 0 20px;
        width: 100%;
      }
      [class*="col-"] {
        float: left;
        position: relative;
      }
      .col-l-1{
        width: 166px;
      }
      .col-l-2{
        width: 352px;
      }
      .margin-right{
        margin-right: 20px;
      }
      .main__item.main__item--long-y{
        height: 280px;
      }
      .main__item.main__item--short{
        height: 130px;
      }
	.main__item.main__item--long-narrow {
	  height: 160px;
	}
}



@media all and (min-width: 940px){

  .nav__wrapper,
  .main{
    width: 940px;
  }
  .nav__contacts{
    position: relative;
    padding-left: 40px;
  }
  .nav__contacts--email{
    margin-right: 190px;
  }
  .nav__contacts-phone::before,
  .nav__contacts-email::before{
    content:"";
    width: 28px;
    height: 28px;
    position: absolute;
    left:0;
    top:0;
    background: url(../img/contacts-sprite.png) no-repeat;
  }
  .nav__contacts-phone::before{
    background-position: left top;
  }
  .nav__contacts-email::before{
    background-position: -29px top;
    top:-3px;
  }
  .nav__link-work{
    margin-right: 30px;
  }
  .nav__login-block{
    display: none;
  }
  .nav__link-contacts{
    -ms-align-items: flex-start;
    align-items: flex-start;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
  }
  .nav__link--logout{
    margin-top: 0;
  }

  .img-container{
    height: 399px;
    padding-top: 100px;
  }
  .title{
    font-size: 72px;
  }
  .main{
    padding-bottom: 100px;
    margin-top: -130px;
  }
    .main__l-container .main__item{
      margin-bottom: 25px;
    }
    .col-l-1{
      width: 217px;
    }
    .col-l-2{
      width: 458px;
    }
    .margin-right{
      margin-right: 24px;
    }
      .main__item.main__item--long-y{
        height: 365px;
      }
      .main__item.main__item--short{
        height: 170px;
      }
      .main__item-wrapper{
        line-height: 1.1;
      }
        .main__item span{
          font-size: 24px;
        }
}



@media all and (min-width: 1170px){

  .nav__wrapper,
  .main{
    width: 1170px;
  }

  .nav{
    height: 91px;
  }
    .nav__wrapper{
      padding: 0 55px;
    }
      .nav__item{
        margin-top: 30px;
        font-size: 18px;
      }
      .nav__logo{
        margin-top: 0px;
      }
      .nav__item--fb{
        margin-top: 20px;
      }
      .nav__contacts{
        padding-left: 45px;
      }
      .nav__contacts--phone{
        margin-right: 45px;
      }
      .nav__contacts--email{
        margin-right: 220px;
      }
      .nav__contacts-phone::before,
      .nav__contacts-email::before,
      .nav__item--fb{
        width: 31px;
        height: 31px;
      }
      .nav__contacts-phone::before{
        background-position: -57px top;
      }
      .nav__contacts-email::before{
        background-position: -89px top;
      }
      .nav__link--fb{
        background-position: -59px top;
      }

  .img-container{
    height: 443px;
    padding-top: 112px;
  }
    .title{
      font-size: 80px;
    }

  .main{
    padding-bottom: 120px;
    margin-top: -142px;
  }
    .main__l-container .main__item{
      margin-bottom: 30px;
    }
    .col-l-1{
      width: 270px;
    }
    .col-l-2{
      width: 570px;
    }
    .margin-right{
      margin-right: 30px;
    }
      .main__item.main__item--long-y{
        height: 452px;
      }
      .main__item.main__item--short{
        height: 211px;
      }
      .main__item-wrapper{
        line-height: 1.4;
        width: 170px;
      }
        .main__item span{
          font-size: 30px;
        }
}

.liveinternet-counter { margin-top: 10px; }

/*.personal-account { text-align: center; padding: 5px; }
.personal-account a { display: inline-block; margin: 0 5px; color: #000 }*/
