@media only screen and (max-width: 1650px) {

    div#page-container #pg-img .slogan {
        right: -7%;
    }

}

@media only screen and (max-width: 1100px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
    #ref-container {
        height: 160px;
    }

    #ref-container .ref-items-block img {
        height: 160px;
        width: auto;
    }

    #ref-container span.arrow {
        width: 28px;
        height: 88px;
        top: 36px;
    }

    div#page-container #pg-img .logo {
        top: -80px;
    }
}

@media only screen and (max-width: 1000px) {

    body {
        font-size: 14px;
    }

    #ref-container {
        height: 160px;
    }

    #ref-container .ref-items-block img {
        height: 160px;
        width: auto;
    }

    #ref-container span.arrow {
        width: 20px;
        height: 60px;
        top: 40px;
    }

}

@media only screen and (max-width: 1000px) and (orientation: landscape) {

    #ref-detail-container span.back-arrows {
        background: url('/images/ref-left.png') no-repeat;
        background-size: 14px auto;
        padding-left: 20px;
        line-height: 44px;
        font-size: 20px;
    }

    #ref-detail-container span.back-arrows.top {
        display: none;
    }
}

@media only screen and (max-width: 750px) {

    div#page-container #pg-img .slogan {
        left: 0;
        right: 0;
        text-align: right;
        top: 75%;
        width: auto;
        height: auto;
        padding-right: 5%;
    }

}

@media only screen and (max-width: 700px) {

    body {
        font-size: 12px;
    }

    div#page-container #menu-container {
        padding-left: 10px;
    }

    div#page-container #menu-container #menu-lists {
        padding-top: 26px;
    }

    div#page-container #menu-container ul.social {
        left: 10px;
        top: auto;
    }

    div#page-container #menu-container ul.langs {
        right: 10px;
    }

    .service-panel {
        width: 40%;
        text-align: left;
        padding-left: 5%;
    }

    .service-panel:nth-child(even) {
        width: 60%;
    }

    #ref-detail-container span.back-btn {
        background: url('/images/ref-detail-back.png') no-repeat;
        background-size: auto 120px;
        width: 36px;
        height: 120px;
    }

    #ref-detail-container span.back-btn span {
        font-size: 16px;
        margin-top: 77px;
    }

    div#page-container #pg-img .logo {
        top: -80px;
        left: -50px;
    }
}

@media only screen and (max-width: 500px) {

    div#page-container #menu-container #menu-lists {
        padding-top: 10px;
    }

    div#page-container #menu-container ul.social, div#page-container #menu-container ul.langs {
        top: 40px;
    }

}

@media only screen and (max-width: 370px) {

    div#page-container #menu-container #menu-lists ul.menu {
        font-size: 10px;
    }

}