* {
    /*position: relative;*/
    outline: none;
}

img {
    max-width: 100%;
    max-height: 100%;
width: 100%;
}

a,
label {
    -webkit-tap-highlight-color: transparent;
}

input[type=submit],
input[type=text],
input[type=search],
textarea,
button[type=button] {
    -webkit-appearance: none;
    border-radius: 0;
    cursor: pointer;
}
html {
    height: 100%;
}
html, body {
    padding: 0;
    margin: 0;
    min-width: 320px;
}
body.--overflow{
    overflow: hidden;
}

body{
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
header,main,footer{
    flex-shrink: 0;
}
footer{
    margin-top: auto!important;
}

.burger-menu {
    background: transparent;
    height: 30px;
    width: 50px;
    display: none;
    border: 0;
    position: fixed;
    top: 15px;
    right: 15px;
    cursor: pointer;
    z-index: 151;
}



.burger-menu:before, .burger-menu:after {
    background: white;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    content: "";
    height: 2px;
    left:18px;
    -webkit-transition: all 0.75s;
    -o-transition: all 0.75s;
    transition: all 0.75s;
    width: 25px;
}

.burger-menu:before {
    -webkit-box-shadow: white 0 14px 0 0;
    box-shadow: white 0 10px 0 0;
    position: absolute;
    top: calc(100% - 30px);
}

.burger-menu:after {
    position: absolute;
    top: 20px;
    width: 15px;
}

.burger-menu_open:before {
    -webkit-box-shadow: transparent 0 0 0 0;
    box-shadow: transparent 0 0 0 0;
    top: 50%;
    -webkit-transform: rotate(225deg);
    -ms-transform: rotate(225deg);
    transform: rotate(225deg);
}

.burger-menu_open:after {
    top: 50%;
    -webkit-transform: rotate(315deg);
    -ms-transform: rotate(315deg);
    transform: rotate(315deg);
    width: 25px;
}

@media screen and (max-width: 1140px){
    *{
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    header, footer, .layout-content{
        width: 100%!important;
        max-width: 100%;
    }
    .gallery{
        min-width: unset!important;
    }
    .header__top {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }


    nav.header__menu {
        position: relative;
        margin-top: 0;
        height: auto;
    }

    header {
        height: auto!important;
        padding: 0!important;
    }
    ul.main-menu {
        display: flex;
        justify-content: space-between;
    }

    header nav .main-menu>li {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        flex-grow: 1;
        margin-right: 10px;
    }

    header nav .main-menu>li span {
        width: auto;
    }
}
@media screen and (max-width: 992px){
    header .social {
        display: none;
    }
    
    .header__catalog {
        display: none;
    }

    .header__menu-button {
        display: block;
        position: relative;
        background-image: linear-gradient(to top, #0560b8 0%, #1386d9 100%);
        padding: 20px 15px 20px 20px;
        height: 60px;
        width: 60px;
        top: unset;
        right: unset;
    }
    .header__top{
        align-items: flex-start;
    }
    .header__menu{
        display: none;
    }
    header .contact {
        margin: 15px 0 0!important;
    }

    header .logo {
        height: 60px!important;
        background: none!important;
        text-indent: unset!important;
        display: flex!important;
        text-decoration: none!important;
        margin-left: 15px!important;
        width: auto!important;
    }

    .logo-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-left: 8px;
        padding-top: 11px;
    }

    .logo-text__top {
        color: #282828;
        font-size: 9px;
        font-family: Georgia;
        font-weight: 400;
        text-decoration: none;
        margin-bottom: 5px;
    }

    .logo-text__bottom {
        color: #0370c4;
        font-family: Georgia;
        font-size: 21px;
        font-weight: 400;
    }
    ul.main-menu {
        flex-direction: column;
    }

    header nav .main-menu>li span {
        display: none!important;
    }

    header nav .main-menu>li>a {
        display: inline-flex!important;
        width: auto!important;
    }

    header nav .main-menu>li {
        height: auto!important;
    }
    header nav .main-menu>li:focus .submenu, .submenuHover {
        display: block!important;
        position: absolute;
    }
    header nav .main-menu>li.header-menu__item_open>.submenu, .submenuHover {
        display: block!important;

    }
    header nav .main-menu>li .submenu, .submenuHover {
        position: relative;
        top: 0!important;
        margin-top: 15px;
        background: none;
        padding-left: 15px;
    }


    header nav .main-menu ul li a {
        border: 0!important;
        color: #000000!important;
        font-family: Georgia;
        font-size: 12px;
        line-height: 24px;
        padding: 0!important;
    }

    header nav .main-menu ul li:first-child > a:after {
        display: none!important;
    }

    header nav .main-menu ul li:hover {
        background: transparent!important;
    }
    main {
        overflow-x: hidden;
    }

    main .slider {
        padding-left: 0!important;
    }

    main .news {
        padding-left: 0!important;
    }
    main .qty {
        width: 100%;
    }
    .layout-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    header nav .main-menu > li {
        padding: 10px 20px 10px!important;
    }
}
@media screen and (max-width: 768px){
    main .gallery-service {
        width: 100%;
        height: 100%;
    }
    main .description-service {
        width: 100%;
    }
    .gallery p {
        position: relative;
        margin: 0;
        text-align: center;
    }

    header, footer, .layout-content {
        display: flex!important;
        flex-direction: column!important;
        align-items: stretch!important;
    }

    .gallery {
        height: auto!important;
    }
    .layout-content {
        padding: 0 20px;
    }

    .gallery h2 {
        text-align: center;
        padding-left: 0;
        margin-bottom: 1.5rem;
    }

    .gallery p {}

    .carousel {
        margin-top: 1rem;
        /* padding: 0 20px; */
        overflow: hidden;
    }

    .carousel-wrap {
        max-width: calc(100% - 40px);
        margin: 0 20px;
    }

    footer {
        align-items: center;
    }

    footer .copyright {
        margin: 0 0 1rem;
        text-align: center;
    }

    footer .contacts {
        margin: 0 0 1rem;
        text-align: center;
    }

    footer .logo-studio {
        margin: 0 0 1rem;
        text-align: center;
    }

    footer .logo {
        margin: 0 auto 1rem;
    }
}
@media screen and (max-width: 480px){
    header .contact {
        background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAByElEQVQ4T53UO+jPYRTH8ddRKJRLKJtsbhmklOskwiSDJAYWlCzCTFFCSZkMDH/JwmBD8Zdyy+BSShbJZVImt6Oj58e3n9//X5zl23O+53k/n3N5nsjM55jrjyW2RsRQz5WZX/EOd3AF1yLiW2ePyMza2G9nI2JvB9QfU4fviIgHvZgCfcbEPtKliNjSAc3EHGzEHkxGqdwcEVcrrkBPMb8P9CwiFnRAERG/VGXmVFzE+gZbVsoKdLnIfaAfmBYRn9rmOv0JzjTIGJSSglWaiwpUtaiArt3Hioj40kDdGp3HTkzB65bmpgLNbo4eqCBremoaaBa24QjGYntEXMjMoziMoWiBt7Aar7C4C+nKzMwDOI6HEbEkM5fiHt70QOtwHZXKwoh4OWAkqtCl7C1qhsZhBt7Xugeq720sx12siojvg2Aj+X6BWno1Ao8wHqcjYv9/gRpsN842wKGIONYPy8wJmBQRH7r/fivqKDuNfW19Agd7aWbmQtxotanGPMZHDA8Cle9UBzaMXa3tNzF9QMr5F6ijrNI82WpWha87WXdsoI0I6jTgXOvmqLUfFdRgFbMWNYw1tP+uaEDH6jptwErMQ63rCXrxE5ABtPaBTVWCAAAAAElFTkSuQmCC);
        font-size: 0!important;
        width: 41px;
        height: 41px;
        background-color: #18c234;
        background-repeat: no-repeat;
        background-position: center;
        border-radius: 50%;
        margin: auto 10px auto auto!important;
    }

    header .contact * {
        display: none;
    }


    .header__top {
        width: 100%;
        justify-content: flex-start;
    }

    main .slider {
        margin-left: -20px;
        margin-right: -20px;
    }

    main figure {
        margin-left: 0;
    }

    main .slider .photo figcaption {
        width: 90%;
        left: 0;
        bottom: 0;
        background-image: linear-gradient(to top, #055eb7 0%, #1386d9 100%);
        height: auto;
    }

    main .slider .photo {
        width: 100%;
    }

    main .qty {
        display: none;
    }



    .gallery h2 {
        text-align: left;
        font-size: 24px;
        font-family: Georgia;
    }

    .gallery p {
        font-family: Arial;
        color: #fffefe;
        font-size: 12px;
        text-align: left;
    }

    .carousel-list {
        transform: translateX(100px);
    }

    .carousel-item {
        height: 200px;
        width: calc(100vw - 20px);
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
    }

    .carousel {
        /* margin: 0 -20px; */
        margin-left: -20px;
        margin-right: -20px;
        width: calc(100% + 40px);
    }

    .carousel-wrap {
        margin: 0;
    }

    .carousel-item img {
        width: auto;
        height: auto;
    }

    .carousel-item img > a {}

    .carousel-item > a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
    }

    footer {
        padding-top: 0;
        margin-bottom: 20px;
        font-family: Arial;
        font-size: 12px;
    }

    main .news {
        width: 100%;
    }
    main .news {
        display: flex;
        flex-direction: column;
    }

    main a.all-news {
        position: relative;
        top: 0;
        order: 4;
        margin-top: 1rem;
        font-weight: bold;
        font-family: Arial;
        font-size: 14px;
    }

    main .news article p {
        min-height: auto;
        margin-bottom: 1rem;
    }

    main .news article {
        width: 100%;
        padding-right: 0;
        margin-bottom: 1.2rem;
    }

    .carousel-contols {
        position: absolute;
        width: 100%;
        bottom: 10px;
    }

    .gallery {
        padding-bottom: 20px;
    }
    h2{
        font-size: 22px;
        line-height: normal;
        margin-bottom: 1rem;
    }
}
