/**
 * Theme Name: Шаблон kardanservice
 */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:wght@200;400;600&family=Roboto+Mono:ital,wght@0,400;0,700;1,300&display=swap');
*{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding:0;
    margin:0;
    list-style-type: none;
    text-decoration:none;
    border:none;
    font-family: 'Roboto Flex', sans-serif;
    font-weight: normal;
    font-style: normal;
    color: white;
}
img{
    max-width: 100%;
    max-height: 100%;
}
body{
    /*height: 5000px;*/
    background: #08275d;
    padding: 30px 0;
}
.main-container{
    max-width: 1160px;
    width: 100%;
    margin: 0 auto;
}
header{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header>div{
    text-align: center;
    padding: 0 5px;
    color: white;
    font-size: 26px;
}
header>div a{
    color: white;
    text-decoration: none;
    font-size: 26px;
}
.logo {
    width: 10%;
}
.phones {
    width: 25%;
}
.socs {
    width: 20%;
}
.adress {
    width: 40%;
}
.whats-link,.tele-link {
    display: inline-block;
    width: 60px;
    height: 60px;
}
.whats-link{
    margin-right: 10px;
    /*background: url(images/whats.png) center center/cover no-repeat;*/
    background: url(images/Max_logo_2025.png) center center/cover no-repeat;
}
.tele-link{
    margin-right: 10px;
    background: url(images/tele.png) center center/cover no-repeat;
}
.advances {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}
.advances>div{
    padding: 0 5px;
    font-size: 22px;
    text-align: center;
    width: 20%;
}
.advances-text{
    margin-top: 10px;
}
.work-slider,.place-slider {
    padding: 20px 0;
}
.works-img img{
    margin: 0 auto;
}
@media only screen and (max-width:991px){
    header>div{
        font-size: 20px;
    }
}
@media only screen and (max-width:768px){
    header>div{
        font-size: 16px;
    }
    .advances {
        flex-wrap: wrap;
    }
    .advances>div{
        width: 33%;
    }
}
.map-wrap {
    margin-top: 10px;
}
.map{
    text-align: center;
}
@media only screen and (max-width:572px){
    
    header{
        flex-direction: column;
    }
    .logo,.phones,.socs,.adress {
        width: 100%;
    }
    .advances>div{
        width: 50%;
        padding: 10px;
        font-size: 24px;
    }
    header>div{
        font-size: 22px;
        padding: 10px 0;
    }
}