/*MOBILE*/

@media (max-width: 1024px) {

    

    section {
        position: relative;
        padding: 20px 0;
    }

    .close {
        display: none;
    }

    .close img {
        width: 28px;
    }

    .fl {}

    .desc {
        display: none
    }

    .mob {
        display: block
    }



    /*BURGER-MENU*/

    .burger-menu {
        padding: 0 20px;
        position: fixed;
        top: 90px;
        height: 100%;
        background: rgba(255, 255, 255, 0.96);

        width: 100%;
        z-index: 99;

    }

    .burger-menu ul li {
        text-align: center;
    }

    .burger-menu ul li a {
        font-size: 18px;
        display: block;
        padding: 20px 0;
        border-bottom: 1px solid #eee;
        color: black;

    }

  

    .burger-menu ul li:last-child a {
        border: none;
    }

    header.mob {
        padding: 3px 10px;
        position: relative;
        z-index: 999;
    
    }

    header .logo {
        max-width: 80px;

    }


    .promo-in {
        padding-top: 80px;
    }

    .scroll {
        display: none;
    }

    .promo h1 {
        font-weight: 400;
        font-family: 'Yeseva One';
        font-size: 30px;
        text-align: center;
        margin-bottom: 30px;
    }

    .promo p {
        text-align: center;
        font-size: 18px;
    }

    .phone img {
        width: 24px;
        margin-right: 30px;

    }






    .faq h2 {
        font-size: 19px;
        text-align: left;
        max-width: 570px;
        margin: 0 auto 0px;
    }

    .faq ul li .arr {
        background: url(../img/plus.svg) no-repeat center center;
        min-width: 20px;
        height: 20px;
    }

    .faq ul li .title {
        font-size: 15px;
        font-style: normal;
        font-weight: 500;
        padding: 16px 0;
        max-width: 250px;
    }

    .faq .hid p {
        font-size: 14px;
        line-height: 1.3
    }

    .faq ul li {
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }

    .faq .but.all {
        margin-top: 40px;
        text-align: center;
    }

    .faq {
        /* padding: 80px 0 0px; */
    
    }

    .faq-in {
        /* max-width: 760px; */
        /* margin: 0 auto 40px; */
        /* padding: 0px 0 60px; */
    
    }

    .about .text {
        background: #eee;
        padding: 30px 30px 30px;
        font-size: 16px;
    }

    section h2 {
        margin-bottom: 30px;
        text-align: center;
        font-size: 28px;
    }

    .feed .text {
        background: #eee;
        padding: 30px 20px 40px;
        font-size: 16px;
    }

    .timeline ul li::after {
        display: none;
    }

    .timeline ul li div.chat {
        position: relative;
        bottom: 0;
        width: 100%;
        padding: 10px 0;
        background: none;
        width: 100%;
        text-align: left;
        margin-left: 0;

    }

    .timeline .fl {
        width: 100%;
        align-items: center;
        flex-wrap: wrap;
        padding: 0 30px;
    }

    .timeline ul li .chat2 {
        left: 0px;
        width: 100%;
        margin-left: 0px;
        text-align: left;
    }

    .timeline ul li {
        list-style-type: none;
        position: relative;
        width: 100%;
        margin: 0 auto;
        padding-top: 0px;
        padding-bottom: 30px;
        background: none;
    }

    
.timeline ul li:nth-child(2n) .chat2 {
    margin-left: 0px;
    text-align: right;
    left: 0px;
    position: relative;

}

.timeline ul li:nth-child(2n) .chat {
    margin-left: 0px;
    text-align: left;
    left: 0px;

}
    
    
    .timeline ul li img {
        width: 100%;
    }

    .timeline ul li:nth-child(1) .chat2 {
        order: -1;
    }

    .timeline ul li:nth-child(3) .chat2 {
        order: -1;
    }
 
    .timeline .title {
        font-size: 23px;
        color: #417f0b;
        font-weight: 500;
        margin-bottom: 20px;
    }
.timeline p {
font-size: 15px;
}
    .timeline .subtitle {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .gallery .item {
        padding: 5px;
        flex-basis: 100%;
    }

    footer .fl {
        flex-wrap: wrap;
    }

    footer p {
        margin-right: 0px;
        margin-bottom: 10px;
        flex-basis: 100%;
        padding-left: 30px;
        position: relative;

    }

    footer i {
        margin-right: 10px;
        width: 18px;
        left: 0px;
        top: 5px;
        position: absolute;
    }

    .logo {
        max-width: 200px;
    }
.text-inner h1 {
    margin-bottom:20px;
}

.text-inner {
    font-size:15px;
}

.text-inner ul {
    padding:20px;
    list-style: disc ;
}

.text-inner p {
    margin-bottom:5px;
}

    
.text-fl .txt {
flex-basis:100%;
margin:15px 0;    
}

.text-fl .img {
    flex-basis:100%;
    margin-left:0px;
    margin: 15px 0;
}
.text-fl ul {
    padding:0
}
.text-fl ul li {
    list-style:none;
    margin-bottom:30px;
    
}

.text-fl ul li .fl {
    display: flex;
    align-items: center;
    flex-wrap:wrap;
}
.text-fl ul li .title {
    font-size:22px;
    margin-bottom:20px;
}

.text-fl ul li:nth-child(2n) .img {
    order:1;
    margin-right:0px;
    margin-left:0;
}
    
        .contacts .cont-in {
max-width: 100%;
background: white;
border-radius: 15px;
padding: 30px;
box-shadow: 0px 0px 15px silver;
flex-basis: 100%;
position: relative;
z-index: 5;
}
    .contacts .fl {
        flex-wrap:wrap;
        
    }
    
    .map {
flex-basis: 100%;
}
    
    .timeline ul li:nth-child(2n) .chat2 {
        order:-1;
    }
    
    
    




}



/*END MOBILE*/


/*TABLET*/

@media (min-width: 1000px) and (max-width: 1170px) {

    .gallery .item {
        padding: 5px;
        flex-basis: 50%;
    }

    .timeline ul {
        padding: 50px 0;
        display: flex;
    }

    .timeline ul {
        padding: 50px 0;
        display: flex;
        flex-wrap: wrap;
    }

    .timeline ul li {
        list-style-type: none;
        position: relative;
        width: 100%;
        margin: 0 auto;
        padding-top: 0px;
        padding-bottom: 30px;
        background: none;
        flex-basis: 50%;
    }
    
    .timeline ul li img {
        height:250px;
        width:100%;
        object-fit: cover;
    }
    .timeline ul li div.chat {
        padding: 0;
    
    }
    
    .timeline .title {
        margin-top:20px;
    }
    

    
}



@media (min-width: 1170px) and (max-width: 1440px) {

    header ul li {
        padding: 0 10px;
        font-size: 16px;
        font-weight: 500;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {

    header ul li {
        padding: 0 7px;
        font-size: 15px;
        font-weight: 500;
    }
}


@media (min-width: 768px) and (max-width: 768px) {}

@media (max-width: 340px) {}