@media (max-width: 1199px) {
    .theme-boxed, .theme-boxed.header-small .tw-header, .theme-boxed .fixed-footer {
        width:990px;
        margin: 0 auto;
    }
    .header-absolute .waves-header{
        width: 940px;
    }
    .header-absolute .tw-header .container{
        width: 910px;
    }
    .tw-menu{
        padding-right: 0 !important;
    }
    nav.menu-container>*:not(.tw-menu),
    nav.menu-container .tw-menu>*:not(.tw-logo):not(.sf-menu){
        display: none;
    }
}
@media (max-width: 991px) {
    .theme-boxed, .theme-boxed.header-small .tw-header, .theme-boxed .fixed-footer {
        width:100%;
    }
    .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11 {
        float: left;
    }
    /* Bootstrap column */
    [class*="col-md"] {
        width: 100%;
    }
    .header-absolute .waves-header{
        width: 750px;
    }
    .header-absolute .tw-header .container{
        width: 720px;
    }
    /* Portfolio */
    .single-portfolio .col-md-4.pos-bottom,.single-portfolio .col-md-4.pos-top{
        position: relative !important;
        top:    auto !important;
        bottom: auto !important;
    }
    .portfolio-thumb > img {
        width: 100%;
    }
    .mobile-menu-icon {
        display: block;
    }
    .header-logocenter .tw-menu >*:not(.tw-logo),
    .header-logocenter nav.menu-container >*:not(.tw-menu),    
    body:not(.header-logocenter) nav.menu-container{
        display: none;
    }
    .waves-container .tw-sidebar > section{
        padding: 80px 0 0;
    }
    .waves-container .tw-sidebar:first-child > section{
        padding-top: 0;
    }
    .col-md-4 > .portfolio-meta, .col-md-4 > .portfolio-single-content{
        padding: 60px 0 0;
    }
    article.single-portfolio > .row > .col-md-4{
        width: 100%;
    }
    .top-round-iconbox .tw-iconbox-box, .top-border-iconbox .tw-iconbox-box, .top-rombo-iconbox .tw-iconbox-box{
        padding-left: 0;
        padding-right: 0;
    }
    .tw-team.layout2 .member-image, 
    .tw-team.layout2 .member-image .tw-thumbnail{
        margin: 0;
        position: relative;
    }

    .tw-team.layout2 .member-content{
        margin-top: 25px;
        padding-left: 0;
    }
    .tw-tabs.wpb_content_element .wpb_tabs_nav li.ui-tabs-active a:after{
        display: none;
    }
    .tw-tabs.wpb_content_element .wpb_tabs_nav li.ui-tabs-active a{
        padding: 17px 19px;
        margin-bottom: 10px;
    }
    .column-4>.pricing-column, 
    .column-5>.pricing-column{
        width: 50%;
        margin: 15px 0;
    }
}

/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 991px) {
    .tw-sidebar aside.widget{
        width: 50%;
        float: left;
    }
    .waves-container .tw-sidebar > section{
        margin: 0 -30px;
    }
    .tw-sidebar aside.widget{
        padding: 0 30px;
    }
    .wpb_column.vc_col-sm-3,
    .col-md-4,
    .col-md-3, .col-md-6 {
        width: 50%;
    }
    .wpb_column.vc_col-sm-9,
    .col-md-8,
    .tw-sidebar.col-md-4{
        width: 100%;
    }
    .waves-header .col-md-4 {
        width: 100%;
        text-align: center;
    }
    .left-square-iconbox .tw-iconbox-icon, .left-round-iconbox .tw-iconbox-icon{
        position: static;
    }
    .left-square-iconbox .tw-iconbox-content, .left-round-iconbox .tw-iconbox-content{
        padding: 0;
    }
    .tw-milestones-content.with-icon{
        margin: 0;
    }
    .tw-milestones-box>i{
        position: static;
        width: 100%;
    }
    .tw-socials .social-content{
        margin: 0;
    }
    .tw-socials .social-content>i{
        position: relative;
        left: 0;
        bottom: 0;
        margin-top: 20px;
    }
    .member-image{
        margin: 0;
    }
    .member-content{
        margin: 0;
        padding: 25px 19px;
    }
    .tw-image-scroll>.scroll-title,
    .tw-image-scroll>.scroll-thumb{
        margin: 0;
        bottom: -10px;
    }
}

/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
    .waves-invisible-column{  display: none !important; }
    .tw-title-container{
        max-height: 400px;
    }
    .tw-title h1{
        font-size: 21px;
    }
    .tw-title .page-subtitle{
        font-size: 10px;
    }
    .theme-boxed {
        width:auto;
        margin: 0 !important;
        padding: 0 !important;
        border: none;
    }
    .header-absolute .waves-header,
    .theme-boxed, .theme-boxed.header-small .tw-header, .theme-boxed .fixed-footer {
        width:100%;
    }
    body.header-absolute .tw-header{
        position: static;
    }
    .header-absolute .tw-title-container{
        padding-top: 0 !important;
    }
    #main .waves-blog.grid-blog .row.isotope{
        margin-left: 0;
        margin-right:0;
    }
    .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11,
    #bottom ul{
        float: none;
    }
    body{
        padding: 0;
        margin:0 !important;
    }
    .top-bar{
        display: none;
    }
    .entry-content > blockquote{
        margin: 0;
        padding: 20px 10px 30px 20px;
    }
    .entry-content > blockquote:before{
        left: 0;
    }
    article.single .entry-title{
        font-size: 15px;
    }
    .tw-author{
        padding: 30px 0;
        border-left: none;
        border-right: none;
    }
    .link-content, .format-quote blockquote{
        padding: 30px 20px;
    }
    .tw-image-scroll{
        max-width: 380px;
        margin: 0 auto;
    }
    .column-3>.pricing-column{
        width: 50%;
        margin: 15px 0;
    }
}
/* Landscape phones and down */
@media (max-width: 480px) {
    .wpcf7 textarea,
    .wpcf7 input[type="text"], .wpcf7 input[type="password"], .wpcf7 input[type="email"]{
        position: relative;
        min-width: 200px;
        margin-right: 0;
        top: auto;
    }
    .theme-boxed{
        width:auto;
    }
    .nextprev-postlink{
        display: none;
    }
    .tw-title-content, .tw-breadcrumbs{
        padding: 0;
    }
    .tw-heading>.heading-title,
    .tw-heading>.heading-title:after{
        right: 15px;
    }
}

/* Table Styling on Mobile */

@media screen and (max-width: 600px) {
    table {width:100%;    border-top: none;}
    table th{border-right: 1px solid #ccc;}
    thead {display: none;}
    tr:nth-of-type(2n) {background-color: inherit;}
    tr td:first-child {background: #f0f0f0; font-weight:bold;font-size:1.3em;}
    tbody td {display: block;  text-align:center;}
    #wp-calendar tbody td {display: table-cell;}
    tbody td:first-child {display: block;  text-align:center;}
    tbody td:before { 
        content: attr(data-th); 
        display: block;
        text-align:center;  
    }
    .column-2>.pricing-column,
    .column-3>.pricing-column,
    .column-4>.pricing-column,
    .column-5>.pricing-column,
    #waves-extra-menu,
    #waves-mobile-menu,
    #fixed-sidebar{
        width: 100%;
        max-width: 380px;
    }
}