/*
    Theme Responsive Design
*/

@media (max-width: 1024px) {
    .logo-img {
        max-height: 60px;
    }
}

/* ---- Start of max-width 992px CSS ---- */
@media (max-width: 992px) {
    ul.nav > li > a {
        font-size: 10px;
        padding: 0 5px;
    }
    .sm-padding{
        padding: 15px;
    }
    .main_slide{
        height: 400px;
    }
    .slider-text h1{
        font-size: 22px;
    }
    .callback_men,
    .about_image{
        display: none;
    }
    .about_section .about_content{
        padding: 0;
    }
    .company{
        padding-top: 40px;
    }
    .widget_section{
        padding: 80px 0;
    }
    .cta_wrapper .cta_content h2{
        font-size: 20px;
    }
    .cta_wrapper .cta_content{
        padding: 0;
    }
    .blog_post .blog_content a{
        font-size: 13px;
    }
    .blog_single h2{
        font-size: 18px;
    }
    /* Fix promo_wrapper wrapping at tablet */
    .promo_wrapper {
        flex-wrap: wrap !important;
    }
    .promo_wrapper .col-md-4 {
        width: 48% !important;
        margin-bottom: 20px;
    }
    /* Fix counter section padding */
    .counter_section {
        padding: 80px 0;
    }
    /* Fix page headers */
    .page_header,
    .page_header-1,
    .page_header-2 {
        height: 400px;
        background-size: cover !important;
        background-attachment: scroll !important;
    }
    /* Fix testimonial background on tablet */
    .testimonial_section {
        background-attachment: scroll;
    }

}
/* ---- End of max-width 992px CSS ---- */


/* ---- Start of min-width 480px and max-width 768px CSS ---- */
@media all and (min-width: 480px) and (max-width: 768px) {

}
/* ---- End of min-width 480px and max-width 768px CSS ---- */


/* ---- Start of max-width 767px CSS ---- */
@media all and (max-width: 767px) {
    body, p{
        font-size: 12px;
        line-height: 22px;
    }
    h1{
        font-size: 30px;
    }
    h2{
        font-size: 20px;
    }
    h3{
        font-size: 16px;
    }
    p br{
        display: none;
    }
    .padding{
        padding: 60px 0;
    }
    .xs-padding{
    	padding: 15px;
    }
    .navbar-header {
        padding: 23px 20px;
    }
    .navbar-header .brand {
        display: block;
        padding: 13px 25px;
    }
    .bottom_content_wrap .button_1,
    .cta_section .macbook,
    .js #mainmenu {
        display:none;
    }
    .cta_section_2,
    .cta_section{
        padding: 60px 0;
    }
    .cta_content{
        padding: 0;
    }
    .cta_wrapper .cta_content h2{
        font-size: 15px;
    }
    /* Show mobile menu */
    .js .slicknav_menu {
        display: block;
    }
    /* Fix header layout on mobile */
    .bottom_header {
        padding: 15px 0;
        position: relative;
    }
    /* Remove position:relative from bottom_content_wrap so slicknav
       positions relative to the full-width bottom_header instead */
    .bottom_content_wrap {
        position: static !important;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        min-height: 50px;
    }
    .logo-wrap {
        flex: 0 0 auto;
        max-width: 60%;
    }
    .menu-wrap {
        flex: 1;
        min-height: 0;
    }
    .logo-img {
        max-height: 50px !important;
        width: auto !important;
    }
    /* Top header: hide on mobile to save space */
    .top_header {
        display: none;
    }
    /* Slicknav: full-width of bottom_header, button floated right */
    .js .slicknav_menu {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        width: 100%;
        background: none;
        z-index: 1000;
        padding: 0;
        pointer-events: none;
    }
    .slicknav_btn {
        float: right;
        pointer-events: auto;
        margin: 12px 15px 0 0;
        padding: 5px;
    }
    /* Slicknav dropdown: full-width, normal flow below button */
    .slicknav_nav {
        clear: both;
        pointer-events: auto;
        background: #fff;
        z-index: 9999;
        border: 1px solid #eaeaea;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    .slicknav_nav a {
        color: #1f293d;
        font-weight: 700;
        text-transform: uppercase;
        font-size: 11px;
    }
    /* Fix slider text on mobile */
    .slider-text h1{
        font-size: 18px;
        margin-bottom: -5px;
    }
    .slider-text p{
        font-size: 13px;
        margin: 0;
    }
    .slider-text a{
        line-height: 40px;
        padding: 0 20px;
        font-size: 10px;
    }
    /* Fix owl carousel nav */
    .owl-nav div{
        left: 0;
    }
    .owl-nav div.owl-next{
        right: 0;
    }
    /* Fix page headers */
    .page_header,
    .page_header-1,
    .page_header-2 {
        height: 220px;
        background-size: cover !important;
        background-attachment: scroll !important;
    }
    .breadcrumb {
        right: auto;
        top: auto;
        bottom: -50px;
        left: -15px;
        margin: 0;
    }
    /* Fix counter section */
    .counter_section {
        padding: 60px 0;
        background-attachment: scroll;
    }
    /* Fix testimonial section */
    .testimonial_section {
        background-attachment: scroll;
    }
    /* Fix widget/footer section */
    .widget_section {
        padding: 60px 0;
    }
    /* Fix promo_wrapper on mobile */
    .promo_wrapper {
        flex-wrap: wrap !important;
    }
    .promo_wrapper .col-md-4 {
        width: 100% !important;
        margin-bottom: 20px;
    }
    /* Fix CTA section */
    .cta_section {
        padding: 60px 0 40px;
    }
    /* Fix subscribe form on mobile */
    .subscribe_form .form_input {
        width: 65%;
    }
    .subscribe_form .submit {
        width: 35%;
    }
    /* Fix comment box fixed widths */
    .comments-list .comment-box,
    .reply-list .comment-box {
        width: auto;
        float: none;
        clear: both;
        margin-left: 0;
    }
    .comments-list .comment-avatar {
        float: none;
        margin-bottom: 10px;
    }
    .comment-main-level {
        display: block;
    }
    .reply-list {
        padding-left: 20px;
    }
    /* Fix contact / comment form spacing */
    .contact_form .form-group .col-sm-6:first-child{
        margin-bottom: 15px;
    }
    .coment-form .form-group .col-sm-4:last-child{
        margin-top: 15px;
    }
    /* Fix table overflow */
    .prices_head {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    /* Fix about/CTA image */
    .about_img {
        width: 100%;
        margin-top: 20px;
    }
    /* Fix project filter */
    .project_filter li {
        margin-bottom: 5px;
        padding: 8px 12px;
        font-size: 12px;
    }
    /* Fix nivo slider */
    .main_slide {
        height: auto !important;
    }
}
/* ---- End of max-width 767px CSS ---- */


/* ---- Start of max-width 480px CSS ---- */
@media all and (max-width: 480px) {
    .col-xs-6{
		float: none;
		width: 100%;
	}
    /* Slider */
    .slider-text h1{
        font-size: 16px;
        line-height: 18px;
        margin-bottom: 3px;
    }
    .slider-text h1 span{
        background: none;
        margin: 0;
        padding: 0;
    }
    .slider-text h1 br{
        display: none;
    }
    .slider-text .button_1{
        display: none !important;
    }
    .nivo-controlNav{
        bottom: 5px;
    }
    /* Forms */
    .coment-form .form-group .col-sm-4{
        margin-bottom: 15px;
        margin-top: auto;
    }
    .coment-form .form-group .col-sm-4:last-child{
        margin: 0;
    }
    /* Logo */
    .logo-img {
        max-height: 42px !important;
    }
    /* Subscribe form: stack on very small screens */
    .subscribe_form .form_input {
        width: 100%;
        float: none;
    }
    .subscribe_form .submit {
        width: 100%;
        float: none;
    }
    /* Counter section */
    .counter_section {
        padding: 40px 0;
    }
    /* Widget section */
    .widget_section {
        padding: 50px 0;
    }
    /* Page headers */
    .page_header,
    .page_header-1,
    .page_header-2 {
        height: 160px;
    }
    /* Section headings */
    .section_heading h2 {
        font-size: 18px;
    }
    /* Pricing box */
    .pricing_box {
        padding: 20px 15px;
        min-height: auto;
    }
    /* CTA buttons: stack vertically */
    .btn_group a {
        display: block;
        text-align: center;
        margin: 5px 0;
    }
}
/* ---- End of max-width 480px CSS ---- */


/* ---- Start of max-width 420px CSS ---- */
@media all and (max-width: 420px) {
    .logo-img {
        max-height: 38px !important;
    }
    .top_content_wrap ul li {
        margin-right: 8px;
        font-size: 10px;
    }
}
/* ---- End of max-width 420px CSS ---- */


/* ---- Start of max-width 380px CSS ---- */
@media all and (max-width: 380px) {
    .logo-img {
        max-height: 35px !important;
    }
    .slider-text h1 {
        font-size: 14px;
        line-height: 16px;
    }
}
/* ---- End of max-width 380px CSS ---- */
