/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
    .s_tizers .row > div {
        text-align: center;
    }
    .tiz_descr {
        display: block;
        margin-top: 15px;
    }
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
    .s_tizers .row > div {
        text-align: left;;
    }
    .tiz_descr {
        display: inline-block;;
        margin-top: 10px;
    }
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
    .top_phone, .logo, .top_header h1, .top_header h2 {
        text-align: center;
    }
    .logo {
        margin-bottom: 15px
    }
    .top_phone .tab_item {
        font-size: 30px;
    }
    .s_contacts h2 {
        margin-bottom: 20px;
    }
}

/*Ширина меньше 600px*/
@media only screen and (max-width : 600px) {
    .prof_item {
        width: 100%;
        text-align: center;
    }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
    .top_header {
        margin-top: 30px;
    }
    .top_header h1 {
        font-size: 50px;
        line-height: 50px;
    }
    .top_header h2 {
        font-size: 28px;
        line-height: 40px;
    }
    .tabs_header .tabs .tab {
        width: 50%;
        padding: 16px 0;
        font-size: 12px;
        text-align: center;
    }
    .s_prof h2 {
        font-size: 38px;
    }
    .tabs {
        width: 80%;
    }
    .s_contacts .tabs .tab {
        padding: 0;
        width: 50%;
    }
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {

}


/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {

}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {

}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {

}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {

}

 /* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {

}

/* Large Devices, Wide Screens */
@media (min-height : 780px) and (min-width : 1400px) {
    .top_header {
        margin-top: 150px;
    }
    .tabs_header {
        position: absolute;
        bottom: 80px;
    }
    .tabs_header div {
        width: 100%;
        max-width: 660px;
    }
}

/* Large Devices, Wide Screens */
@media (min-height : 780px) and (min-width : 1938px) {
    .top_header {
        margin-top: 130px;
    }
}
