/* ******************************************** 768 ********************************************* */
@media screen and (max-width: 768px) {
    
    
    body {min-width: 375px;} 
    .div1400 {width: min(1400px, 100% - 20px);}
    .ms {display: flex !important;}   
   




    .order_btn {
        bottom: 5px;
        left: 50%;
        transform: translateX(-50%);
        padding: 4px 32px 7px;
        background-color: var(--blue);
        border-radius: 4px;
        box-shadow: 0 3px 6px rgba(0,0,0,0.23);
        color: var(--lightgray);
        font-size: 18px;
        font-weight: 700;
        white-space: nowrap;        
    }

    /* header */
    header {padding: 5px 0;}
    header .logo {
        width: 120px;
        height: 75px;
    }
    header .logo_block span {
        font-size: 10px;
        line-height: 10px;        
        margin-left: -76px;
        margin-top: 52px;
    }

    header .logo_block img {        
        left: -640px;
        top: -639px;        
    }


    header .top_contacts.grid {
        grid-template-columns: auto auto;
        grid-gap: 0 10px;
        margin-top: -3px;
    }
    header .top_contacts.grid a.mail {
        grid-area: 1/1/2/3;
        font-size: 14px;
        margin-bottom: 0;
    }
    header .top_contacts.grid a.tel {
        grid-area: 2/1/2/3;
        font-size: 20px;
    }
    
    header .top_contacts.grid a.wa {
        grid-area: 3/1/3/3;
        justify-self: end;
    }
    /* header .top_contacts.grid a.wa {grid-area: 3/1/3/2;} */
    header .top_contacts.grid a.wa span {font-size: 10px;}
    header .top_contacts.grid a.wa span.icon {
        width: 20px;
        height: 20px;        
    }

    header .top_contacts.grid .menu_btn {
        grid-area: 3/2/3/3;
        background-color: var(--blue);
        border-radius: 4px;
        padding: 0 7px;


    }
    header .top_contacts.grid .menu_btn span {
        font-size: 12px;
        line-height: 100%;
        color: var(--lightgray);        
    }
    header .top_contacts.grid .menu_btn span.icon {
        width: 12px;
        height: 10px;
        background-image: url(../img/site/ham.svg);
        background-size: contain;
        background-position: center;
        margin-left: 5px;
    }


    header .serts {margin-left: -27px;}
    header .sert {    
        width: 23px;
        height: 34px;    
        border: 2px solid var(--blue);
        margin-right: 0;
    }
        




    /* 1st_screen */
    .fs_block {
        margin: 0 auto 20px;
        grid-template-columns: 100%;
        grid-gap: 0;
    }
    .fs_block .fs_images {
        height: 250px;
        padding-bottom: 10px;
        grid-row: 2/3;
    }

    .owl-carousel .owl-dots {margin-top: -25px;}
    .owl-carousel button.owl-dot {        
        width: 30px;
        height: 20px;        
    }
    .owl-carousel button.owl-dot span {
        bottom: 5px;  
        height: 2px;
        border-radius: 1px;
        background-color: var(--lightgray);        
    }
    .owl-carousel button.owl-dot.active span {height: 4px; border-radius: 2px;}

    .fs_block .slide .grad {
        width: calc(100% - 20px);
        padding: 10px 10px 25px;
    }    
    .fs_block .slide .grad .slide_heading {
        font-size: 16px;
        margin-bottom: 5px;
    }
    .fs_block .slide .grad .slide_heading span {font-size: 14px;}
    .fs_block .slide .grad .slide_desc {font-size: 12px;}

     


    .fs_content h1,
    .fs_content h2 {margin: 10px 0;}
    .fs_content h1 {font-size: 28px;}
    .fs_content h2 {font-size: 23px;}
    .fs_content h4 {
        font-size: 14px;
        line-height: 120%;
        margin: 10px 0 20px;
    }
    .fs_content p {
        font-size: 14px;
        line-height: 120%;
        margin-bottom: 10px;
    }

    .fs_content .recall_block.fnw {
        flex-flow: column;
        margin-bottom: 0;
        align-items: flex-start;
    }
    .recall_block p {font-size: 18px;}

    .recall_block p+a.wa {margin-left: 0;}
    .recall_block a.wa span {font-size: 18px;}
    .recall_block a.wa span.icon {
        width: 23px;
        height: 23px;
        margin-right: 6px;
    }







/* content */
.line_heading {margin: 50px 0 20px;}
.line_heading h2 {
    font-size: 26px;
    margin: 0 10px;
}
.content h2 {font-size: 26px;}
.content h4 {font-size: 16px;}

.rails.col2,
.table_grid.col2 {
    grid-template-columns: 100%;
    grid-gap: 0;
}


.table_scroll {
    width: 100%;
    overflow: scroll;
}
.table_scroll table tr td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
}

.table_grid.col2 table:first-child {margin-bottom: -9px;}
.table_grid.col2 table:first-child tr:last-child td {border: none;}


.text_colums.grid.col2.gg33 {grid-template-columns: 100%; grid-gap: 10px 0;}
.text_colums .image {padding-top: 70%;}
.devices .image:last-child {grid-row: 3/4; margin-top: 20px;}

.text_colums h3 {
    margin: 5px 0 10px;
    font-size: 18px;
}
.text_colums p {
    margin-bottom: 10px;    
    font-size: 14px;
}
.text_colums li {font-size: 14px;}

.map.text_colums .text {padding: 0;}





footer {margin-top: 50px;}
footer .div1400.fnw {flex-flow: column;}

footer .logo {
    width: 120px;
    height: 75px;
}
footer .logo_block span {
    font-size: 16px;
    line-height: 16px;
    margin-left: 15px;
    margin-top: 1px;
}
footer .top_contacts {
    align-self: flex-end;
    margin-top: 0;
}

.footer_line {
    margin-top: 40px;
    background-color: var(--darkblue);
    padding: 5px 0 46px;
}













    .modal.big_image {padding: 10px;}







    .mh {display: none !important;}
}
