/*==================================RESPONSIVE LAYOUTS===============================================*/


@media only screen and (max-width: 1199px) {

    .first_screen {
        min-height: 530px;
    }

    .first_screen_label {
        bottom: 30px;
    }

    .service {
        padding: 0 15px;
    }
}

@media only screen and (max-width: 991px) {

    body {
        min-width: 768px;
    }

    .navigation > li:not(:last-child) {
        padding-right: 30px;
    }

    .service {
        height: 370px;
        padding: 0;
    }
}

@media only screen and (max-width: 767px) {
    .first_screen img {
        width: 100%;
        height: 50%;
    }

    .first_screen {
        margin-top: -30px;
        margin-bottom: -170px;
    }

    .first_screen_subtitle {
        margin-top: 328px;
    }

    nav {
        top: 9px !important;
    }

    body {
        min-width: 420px;
    }

    [class*='col-']:not(:last-child) {
        margin-bottom: 30px;
    }

    .sm_dnone {
        display: none !important;
    }

    /*mavigation*/

    nav {
        position: fixed;
        z-index: 9;
        width: 200px;
        top: 50px;
        bottom: 0;
        background-color: rgba(32,32,32,0.85);
        border-top: 1px solid #0066cc;
        right: -200px;
        text-align: left;
        padding: 0 20px 20px;
        -webkit-transition: all 0.5s;
        -o-transition: all 0.5s;
        transition: all 0.5s;
    }

        nav.open_menu {
            right: 0;
            -webkit-transition: all 0.5s;
            -o-transition: all 0.5s;
            transition: all 0.5s;
        }

    .nav_btn {
        display: block;
    }

    .navigation {
        display: block;
    }

        .navigation > li {
            float: none;
        }

            .navigation > li:not(:last-child) {
                padding-right: 0;
            }

    /*end of navigation*/



    .section_offset2:not(:first-child) {
        padding-top: 50px;
    }

    .section_offset {
        padding: 55px 0;
    }

    .blackout {
        padding: 55px 0;
    }

    .first_screen_title {
        font-size: 60px;
    }

    .first_screen_subtitle {
        font-size: 30px;
    }

    .btn {
        font-size: 20px;
    }

    .subtitle {
        font-size: 20px;
        line-height: 26px;
    }

    h2 {
        font-size: 40px;
    }

    .blackout[class*='bg'], .blackout2[class*='bg'] {
        background-position: 50% 0 !important;
        background-attachment: scroll;
    }

    .contact_box {
        padding-top: 55px;
    }

    .services_box {
        padding-bottom: 55px;
    }

    .service_title {
        margin-bottom: 20px;
    }

    .contact_phone {
        font-size: 40px;
    }

    #isotope_container:not(:last-child) {
        margin-bottom: 30px;
    }

    .project_box {
        margin-bottom: 0;
    }

    footer {
        text-align: center;
    }


    .copyright {
        float: none;
    }
}

@media only screen and (max-width: 479px) {

    body {
        min-width: 300px;
    }

    .first_screen_subtitle {
        font-size: 20px;
    }

    .btn,
    .subtitle {
        font-size: 18px;
    }

    h2 {
        font-size: 30px;
    }

    .first_screen_title {
        font-size: 50px;
    }

    .service_title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .contact_phone {
        font-size: 30px;
    }

    .contact_email {
        font-size: 18px;
    }
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
    .first_screen {
        margin-top: -51px;
        margin-bottom: -199px;
    }

    .first_screen_subtitle {
        font-size: 25px;
    }

    .first_screen_title {
        font-size: 70px;
    }

    .first_screen_inner .subtitle {
        margin-bottom: 84px;
    }

    .service_title {
        padding-top: 0px;
        margin-top: -60px;
    }
}
