body{padding: 0; margin: 0; font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;}
*{box-sizing: border-box;}
a:hover,#col{color: #39a6c4;}


.heder{width: 100%; background: #000;}
.heder_menu{width: 95%; height: 100px; margin: 0 auto; position: relative;}
.heder_menu .logo{
    display: block;
    width: 246px;
    height: 52px;
    background: url('../images/logo.png') no-repeat;
    margin: 0 auto 0;
    position: relative;
    top: 17px;
}
.heder_menu .insta{
    width: 122px;
    height: 21px;
    background: url('../images/insta.png');
    position: absolute;
    top: 10px;
    right: 20px;
}
.heder_menu .ml{left: 100px;}
.heder_menu .mr{right: 100px;}
.heder_menu ul{list-style-type: none; margin: 0; padding: 0; position: absolute; bottom: 20px;}
.heder_menu ul li{float: left;}
.heder_menu ul li a{
    text-transform: uppercase;
    color: #FFF;
    text-decoration: none;
    padding: 0 20px 0 0;
    transition: color 0.2s;
}
.heder_menu ul li a:hover{color: #39a6c4;}

.heder_slider{width: 100%; height: 450px; position: relative; overflow: hidden;}
.heder_slider .slide{
    width: 100%;
    height: 450px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    font-size: 50px;
    padding-top: 50px;
}
#sl1{background-image: url('../images/sl.png');}
#sl2{background-image: url(../images/slider2.jpg);}

.heder_slider .slide b{color: #78c2d6;}
.heder_slider .slide a{
    font-size: 24px;
    color: #fff;
    text-decoration: none;
    padding: 10px 30px;
    background: green;
    border-radius: 5px;
    text-transform: uppercase;
}

/*=======================*/
.line{width: 100%; height: 50px; background-image: url('../images/line.jpg');}
.content{width: 100%;}

.for_post2{
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}
h1{
    margin: 35px auto 35px auto;
    position: relative;
}
h1:after{
    content: '';
    position: absolute;
    width: calc(100% - 34px);
    height: 3px;
    background: #000;
    top: 45px;
    left: 0;
}
h1:before{
    content: '';
    width: 34px;
    height: 36px;
    background-image: url('../images/gira.png');
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 29px;
    right: 0;
}
.for_post2 .text2{width: 100%; padding: 20px;}
.for_post2 .text2 .text_spoiler{padding: 20px;}
.for_post2 .text2 img, .for_post2 .text2 a img{ padding: 10px 10px;}

.for_post2 .dalee a{
    display: inline-block;
    padding: 10px 30px;
    text-transform: uppercase;
    background: #289207;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    margin-top: 30px;
}


/*----------========--------------*/
.for_post{
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}
.for_post .text{/*width: 50%;*/ width: 100%; padding: 20px;}
.zapis{
    display: inline-block;
    padding: 5px 30px;
    text-transform: uppercase;
    background: #289207;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
}
.for_post img{
    float: right;
    padding: 20px;
    /*width: 40%;
    position: absolute;
    top: 0;
    right: 5%;*/
}
.for_post .image{/*DELETE*/
    width: 300px;
    height: 200px;
    position: absolute;
    bottom: 0;
    right: 5%;
    background-image: url('../images/glimage1.png');
}
/*--------------------------------------------*/

.uslugi .uslugi_bg{
    width: 100%;
    height: 240px;
    background-image: url('../images/line.png');
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}
.uslugi h2{
    color: #fff;
    padding: 30px 0 0;
    text-align: center;
}
.uslugi .links{width: 890px; margin: 0 auto; position: relative;}
.uslugi .links a{
    display: block;
    width: 296px;
    height: 297px;
    position: absolute;
    top: -175px;
    transform: scale(1);
    transition: transform 0.2s;
}
.uslugi .links a:nth-child(1){left: 0px; background-image: url('../images/1.png'); z-index: 4;}
.uslugi .links a:nth-child(2){left: 190px; background-image: url('../images/2.png'); z-index: 3;}
.uslugi .links a:nth-child(3){left: 390px; background-image: url('../images/3.png'); z-index: 2;}
.uslugi .links a:nth-child(4){left: 590px; background-image: url('../images/4.png'); z-index: 1;}
.uslugi .links a:hover{transform: scale(1.1);}

/*=========================*/
.galer{margin: 150px 0 50px; width: 100%; position: relative;}
.galer h2{width: 80%; margin: 30px auto; text-transform: uppercase; text-align: center; font-size: 35px;}
.galer #forh2{
    width: 80%;
    margin: 30px auto;
    text-align: center;
    font-size: 25px;
}
.galer #forh2 b{color: #CC0D25;}
.galer a{
    display: inline-block;
    margin-top: 35px;
    padding: 10px 25px;
    text-align: center;
    background: #CC0D25;
    font-size: 25px;
    color: #fff;
}



.galer_content{width: calc(100% - 335px); margin: 0 auto;}
.galer_content img{padding: 5px;}

.galer_r{
    width: 170px;
    height: 341px;
    position: absolute;
    right: 0;
    top: 80px;
    background-image: url('../images/galer_r.jpg');
}
.galer_l{
    width: 164px;
    height: 328px;
    position: absolute;
    left: 0;
    bottom: 80px;
    background-image: url('../images/galer_l.jpg');
}

/*===========================*/
.footer{
    width: 100%;
    height: 330px;
    background: #000 url('../images/foot.png');
    background-repeat: no-repeat;
    background-size: cover;
}
.bl_line{
    width: 100%;
    height: 50px;
    background: #000;
    position: relative;
    z-index: 1;
}
.bl_line p{
    margin: 0 auto;
    position: relative;
    z-index: 10;
    color: #fff;
    text-align: center;
    padding-top: 18px;
    display: block;
}
.bl_line p a{color: #3EC4D8; text-decoration: none;}
.bl_line > div{
    width: 80%;
    height: 200px;
    background: #000;
    position: absolute;
    z-index: 2;
    left: 10%;
    bottom: 0;
}
.bl_line > div > div{
    width: 33%;
    float: left;
    text-align: center;
    color: #fff;
    padding: 115px 30px 0;
    background-position: center 60px;
    background-repeat: no-repeat;
}
.bl_line > div > div:nth-child(1){background-image: url('../images/poz.png');}
.bl_line > div > div:nth-child(2){background-image: url('../images/tel.png');}
.bl_line > div > div:nth-child(3){background-image: url('../images/mail.png');}

.cl{clear: both;}

.uslugi_menu{width: 80%; margin: 0 auto; overflow: hidden;}
.uslugi_menu a{
    display: block;
    width: calc(33.3% - 40px);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    float: left;
    margin: 40px 20px;
    text-align: center;
    text-decoration: none;
    color: #000;
}
.uslugi_menu a img{width: 80%; margin: 0 auto;}
.uslugi_menu a b{display: block; margin-top: 20px;}

/*----------------MOBILE----------------*/


@media (max-width:1100px){
    .heder_menu{width: 100%; position: relative; z-index: 10;}
    .heder_menu .logo{margin: 0; top: 8px; left: 30px;}
    .heder_menu .insta{top: 30px; right: 75px; transform: scale(1.5);}
    .heder_menu .ml{
        left: 0px;
        top: 100px;
        background: linear-gradient(315deg, #3EC4D8, transparent);
        display: block;
        width: 180px;
        height: 180px;
        border-radius: 0 0 100% 0;
        font-size: 20px;
    }
    .heder_menu .ml:before{
        content: '';
        display: block;
        width: 10px;
        height: 10px;
        border-radius: 0 0 100% 0;
        background: linear-gradient(135deg, transparent 100px, #FFF);
        position: absolute;
        top: 0;
        transition: all 0.5s;
        pointer-events:none;
    }
    .heder_menu .ml:hover:before{width: 250px; height: 250px;}
    .heder_menu .ml li{float: none; padding: 10px 0 0 20px;}
    
    .heder_menu .mr{
        right: 0px;
        top: 100px;
        background: linear-gradient(45deg, #3EC4D8, transparent);
        display: block;
        width: 180px;
        height: 180px;
        border-radius: 0 0 0 100%;
        font-size: 20px;
        text-align: right;
    }
    .heder_menu .mr:before{
        content: '';
        display: block;
        width: 10px;
        height: 10px;
        border-radius: 0 0 0 100%;
        background: linear-gradient(230deg, transparent 100px, #FFF);
        position: absolute;
        top: 0;
        right: 0;
        transition: all 0.5s;
        pointer-events:none;
    }
    
    .heder_menu .mr:hover:before{width: 250px; height: 250px;}
    .heder_menu .mr li{float: none; padding: 10px 20px 0 0;}
    
    .heder_menu ul li:nth-child(1){padding-top: 20px;}
    .heder_menu ul li a{padding: 0;}
    
    
    .for_post2{width: 90%;}
    h1{margin-bottom: 50px;}
    h1:before{top: 49px;}
    h1:after{top: 66px;}
    .for_post2 .text2{overflow: hidden;}
}

/*----------------ANIM-------------------*/
@keyframes menul {
  0%   {width: 0; height: 0;}
  25%  {width: 100px; height: 100px;}
  50%  {width: 200px; height: 200px;}
  75%  {width: 100px; height: 100px;}
  100% {width: 0px; height: 0px;}
}







