﻿/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
    
    .truck-big {
        width: 96%;
    }
    
    h1{
        display: inline-block;
    }
    
    h1 span{
        font-size: 34px;
        background-color: rgba(30, 151, 224, 0.00);
        padding: 0;
        margin-bottom: -10px;
    }
    
    h2,
    h210{
        background-color: rgba(30, 151, 224, 0.00);
    }
    
    h210{
        padding-left: 30px;
        width: 100%;
    }
    
/*Моб меню*********/

#toggle {
    display: block;
    position: fixed;
    top: 14px;
    right: 15px;
    width: 56px;
    height: 44px;
    padding: 21px 8px 15px;
    border-radius: 5px;
/*    background-color: #2297DB;*/
    z-index: 999;
}
    
    .sticky-content.fixed #toggle{
        top: 5px;
    }

#toggle:hover{
/*    background-color: #488fb9;*/
}

#toggle span:after,
#toggle span:before {
  content: "";
  position: absolute;
  left: 0;
  top: -9px;
}
#toggle span:after{
  top: 9px;
}
#toggle span {
  position: relative;
  display: block;
}

#toggle span,
#toggle span:after,
#toggle span:before {
  width: 100%;
  height: 3px;
  background-color: #2297DB;
  transition: all 0.3s;
  backface-visibility: hidden;
  border-radius: 2px;
}

/* on activation */
#toggle.on span {
  background-color: transparent;
}
#toggle.on span:before {
  transform: rotate(45deg) translate(5px, 5px);
}
#toggle.on span:after {
  transform: rotate(-45deg) translate(7px, -8px);
}
#toggle.on + #menu {
  opacity: 1;
  visibility: visible;
}
.menu-hidden{
    position: fixed;
    top: 53px;
    left: 0;
    overflow-x: hidden;
    width: 101%;
    background-color: #fff;
    display: none;
    z-index: 55;
}

.menu-hidden li{
    text-align: left;
}

.menu-hidden li a{
    display: block;
    padding: 8px 10px;
    font-size: 17px;
    text-transform: uppercase;
    color: #222;
    background-color: #fff;
    border-bottom: 1px solid rgba(34, 34, 34, 0.15);
}

.menu-hidden li a:hover{
    background-color: #ffee83 !important;
}
    
    .sticky-content.fixed .logo img{
        z-index: 555;
        width: auto;
    }
    
    .first-a{
        padding-top: 28px !important;
    }
    
    .mob-next-page{
        padding-left: 25px !important;
        background-color: #fffac1 !important;
        background-image: url(../img/arrow-next.png);
        background-repeat: no-repeat;
        background-position: 5px 50%;
        background-size: 20px;
        color: #4485cc;
    }

@media only screen and (max-width : 560px){    
    .menu-hidden a{
        font-size: 16px !important;
    }
}

/******моб меню************/
    
    .sticky-content .mob-top,
    .sticky-content ul,
    .top-2
    {
        display: none;
    }
    
    .sticky-content{
        text-align: center; 
        z-index: 999;
    }
    
    .baza-mob{
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        margin: 0 auto;
        top: 24px;
    }
    
    .sticky-content.fixed .baza-mob{
        top: 16px;
    }
    
    .slideshow-image{
        display: none;
    }
    
    header{
        background-image: url(../img/1.jpeg);
        background-size: cover;
        background-position: center center;
    }
    
    .form-willhide{
        display: none;
    }
    
    h1,
    h2,
    .just-line
    {
        position: static;
    }
    
    h1{
        margin-top: 45px;
    }
    
    h1 span{
        margin-bottom: 10px;; 
    }
    
    .s0-for-mob{
        display: block;
        padding: 35px 0;
        text-align: center;
        background-image: url(../img/fon-s2.jpeg);
        background-size: cover;
    }
    
    .top-form-mob{
        display: block;
        position: static;
        margin: 0 auto;
    }
    
    .mob-work{
        padding-top: 146px;
    }
    
    .mob-work p{
        font-size: 26px;
    }
    
    .mob-work p span{
        display: block;
    }
    
    .circle{
        width: 47%;
    }

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {

    .kiev-wrap{
        display: block;
        margin: 0px auto 65px;
    }
    
    h1{
        margin-top: 25px;
    }
    
    h2
    {
        line-height: 1.25em;
        width: 100%;
    }
    
    .just-line{
        width: 85%;
    }
    
    .baza-mob{
        top: 10px;
        left: 35px;
    }
    
    .sticky-content.fixed .baza-mob{
        top: 1px !important;
    }
    
    .baza-mob span{
        display: block;
    }
    
    
    
   .s0-for-mob{
        display: block;
        padding: 25px 0;
        text-align: center;
        background-image: url(../img/fon-s2.jpeg);
        background-size: cover;
    }
    
    .top-form-mob{
        margin: 25px auto 0;
        width: 100%;
    }
    
    .top-form-mob .form-name,
    .top-form-mob .form-phone,
    .top-form-mob .form-tarea,
    .top-form-mob .form-submit
    {
        padding: 15px 10px;
    }
    
    .mob-work{
        padding-top: 0px;
    }
    
    .mob-work p{
        font-size: 26px;
    }
    
    .mob-work p span{
        display: inline;
    }
    
    .fon1{
        position: relative;
        left: -20px;
        right: 0;
        top: 0px;
        margin-bottom: 30px;
    }
    
    h44{
        padding: 0 5px;
        font-size: 26px;
        padding-left: 45px;
    }
    
    h44 span{
        font-size: 22px;
    }
    
    .h44-line{
        left: 0px;
    }
    
    .big-btn{
        font-size: 40px;
    }
    
    .s3 h3{
        font-size: 30px;
    }
    
    .padding-left{
        padding: 0;
    }
    
    h17,
    h16,
    h15
    {
        text-align: center;
    }
    
    h15 img,
    .s4-line
    {
        margin: 10px auto;
        position: static;
    }
    
    .padd-left{
        padding-left: 30px;
    }
    
    .calk-wrap{
        position: relative;
        left: 0px;
        margin: 40px auto 60px;
    }
    
    .fon2{
        margin-top: 55px;
    }
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
    h1,
    h2
    {
        padding: 0 6px;
    }
    
    .just-line{
        width: 96%;
    }
    
    .baza-mob{
        top: 16px;
        font-size: 14px;
    }
    
    .sticky-content.fixed .baza-mob{
        top: 7px !important;
    }
    
    .circle01 p{
        font-size: 14px !important;
    }
    
    .circle01 h11{
        margin-bottom: 15px;
    }
    
    .fon1{
        width: 60%;
    }
    
    .padding-top-mob{
        padding: 0;
    }
    
    h44 img{
        display: block;
        margin: 12px auto 2px;
    }
    
    h44{
        font-size: 30px;
        padding: 0;
    }
    
    h44 span{
        font-size: 24px;
        padding: 0;
    }
}
    

@media only screen and (max-width : 660px) {
    .widget,
    .widwrap
    {
        display: none;
    }
    
    
    
    h1
    {
        margin-top: 75px;
        font-size: 42px;
    }
    
    h2{
        font-size: 36px;
    }
    
    .just-line{
        margin: 0 auto;
        width: 95%;
    }
    
    .circle{
        height: 300px;
        width: 80%;
    }
    
    .content-circ{
        top: 240px;
    }
    
    .big-btn{
        font-size: 32px;
    }
    
    .s3 h3{
        font-size: 24px;
    }
}
    
    
@media only screen and (max-width : 560px){
    h1{
        font-size: 26px;
    }
    
    h2{
        font-size: 24px;
    }
    
    .h3-mini{
        top: 149px;
    }  
}
    
    
@media only screen and (max-width : 500px){
    h1{
        margin-top: 21px;
    }
    
    .mob-work p{
        font-size: 22px;
    }
    
    .mob-work p span{
        display: block;
    }
    
    .baza-mob{
        display: none;
    }
    
   .fon1{
        width: 80%;
    }
    
    .fon2{
        width: 95%;
    }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
    
    .menu-hidden li a{
        font-size: 15px !important;
        padding: 4px 10px;
    }
    
/*
    h1{
        font-size: 32px;
        margin-top: 35px;
        line-height: 1.5em;
    }
*/
    
    h2{
        font-size: 24px;
        line-height: 1.31em;
    }
    
    .just-line{
        margin: 0;
        width: 85%;
    }

    .button-up {
        right: 8px;
        bottom: 8px;
        height: 40px;
        width: 40px;
        background-image: url(../img/top-small.png);
    }
    
}
    
@media only screen and (max-width : 480px){
    .popup-form{
        width: auto;
    }
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 410px) {
    
    .btn23 {
        width: 100%;
        font-size: 18px;
    }
    
    h3{
        font-size: 30px;
    }
    
    h1,
    h2
    {
        font-size: 26px;
        line-height: 1.25em;
    }
    
    h1 span{
        font-size: 28px;
    }
    
    h210{
        top: 355px;
        font-size: 24px;
    }
    
    .circle{
        width: 90%;
    }
    
   .fon1{
        width: 90%;
    }
    
    .big-btn{
        font-size: 26px;
        width: 90%;
    }
}
    
    @media only screen and (max-width : 370px){
        h1{
            font-size: 24px;
        }
        
        h2{
            font-size: 24px;
        }
    }


/*==========  Mobile First Method  ==========*/

}

@media only screen and (min-width : 1335px) {
    
    .button-up {
        background-image: url(../img/top-large.png);
        height: 90px;
        width: 90px;
    }
}

@media only screen and (min-width : 1435px){
    .button-up {
        background-image: url(../img/top-large.png);
        right: 80px;
        bottom: 80px;
    }
}