@media (max-width: 1300px) {
    header {
        width: 100%;
    }

    section.headerPhoto {
        width: 100%;
    }

    header .socials {
        right: 20px;
    }

    section.headerPhoto .headerImage {
        width: 100%;
        background-position-x: center;
    }
}

@media (max-width: 1100px) {
    .menu {
        display: none;
    }

    section.headerPhoto .sidemenuBtn {
        display: block;
    }

    .arrow {
        display: none;
    }

    footer {
        height: auto;
    }

    footer .footerInner {
        width: auto;
        padding-left: 20px;
        padding-right: 20px;
    }

    footer .footerInner .block {
        width: 50%;
    }
}

@media (max-width: 1000px) {
    section.blockcarousel .blocks {
        width: 510px;
        height: auto;
        margin: 0 auto;
    }

    section.infoblocks {
        width: 510px;
        height: auto;
        margin: 0 auto;
        margin-top: 30px;
    }

    section.blockcarousel {
        width: 100%;
    }

    section.textpage {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    #block-1, #block-2, #block-3, #block-4, #block-5, #block-6 {
        left: auto;
    }

    #infoblock-1, #infoblock-2, #infoblock-3, #infoblock-4 {
        left: auto;
    }

    section.blockcarousel .blocks .block {
        position: relative;
        float: left;
        margin-right: 20px;
        margin-bottom: 60px;
    }

    section.infoblocks .block {
        position: relative;
        float: left;
        margin-right: 20px;
        margin-bottom: 20px;
    }
}

@media (max-width: 720px) {
    section.headerPhoto .overlay, section.headerPhoto.smaller .overlay {
        padding-left: 50px;
    }

    section.sidemenu {
        width: 70%;
    }

    section.textpage img {
        width: 100%;
        display: block;
    }
}

@media (max-width: 550px) {
    header .logo {
        top: 51px;
        left: 20px;
    }

    .logo img {
        width: 200px;
    }

    header .socials {
        top: 20px;
    }

    section.headerPhoto .overlay {
        font-size: 35px;
        line-height: 35px;
    }

    section.headerPhoto .overlay .readmore {
        bottom: -35px;
        left: 0px;
    }

    footer .footerInner .block {
        width: 100%;
    }
}

@media (max-width: 510px) {
    section.blockcarousel .blocks {
        width: 225px;
    }

    section.blockcarousel .blocks .block {
        margin-right: 0;
    }

    section.infoblocks {
        width: 225px;
    }

    section.infoblocks .block {
        margin-right: 0;
    }

    header .socials {
        top: 15px;
    }

    .socials img {
        transform: scale(0.6);
    }

    header .socials ul li {
        margin-left: 0;
    }
}

@media (max-width: 430px) {
    section.headerPhoto .overlay {
        font-size: 25px;
        line-height: 25px;
    }

    section.headerPhoto .overlay .readmore {
        bottom: -25px;
    }
}