@media (max-width: 1199px) {
    .theme-boxed, .theme-boxed.header-small .header-inner{
        width:990px;
        margin: 0 auto;
    }
    nav.menu-container>*:not(.tw-menu),
    nav.menu-container .tw-menu>*:not(.tw-logo):not(.sf-menu){
        display: none;
    }
    .grid-blog article.post .entry-post{
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
    .grid-blog article.post.col-md-4{
        width: 50%;
    }
}
@media (max-width: 991px) {
    .theme-boxed, .theme-boxed.header-small .header-inner{
        width:100%;
    }
    /* Grid CSS */
    .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,.col-md-12{
        float: left;
    }
    [class*="col-md"],
    .content-area.col-md-8,
    .tw-sidebar.col-md-4,
    .tw-posts.layout_2>.large,
    .tw-posts.layout_2>.small{
        width: 100%;
    }
    .tw-posts.layout_2>.small .format-standard{
        width: 50%;
        float: left;
    }
    .tw-team [class*="vc_col-sm"],
    .columns-4 ul.products li.product{
        width: 50%;
        float: left;
        margin-bottom: 40px;
    }
    .tw-sidebar:before,
    .tw-sidebar:after{
        display: none;
    }
    .widget .wp_review_tab_thumb_small{
        width: 80px;
        height: 64px;
    }
    .header-inner,
    .header-socials{
        text-align: center;
    }
    .waves-inner-footer aside{
        padding: 10px 0;
    }
    .header-simple .header-socials{
        margin: 0;
        margin-bottom: 18px;
    }
    .header-magazine .header-socials{
        display: none;
    }
    .entry-content.with-share{
        padding-left: 10px;
    }
    .tw-slider.layout_2 .post-content .entry-title{
        font-size: 24px;
    }
    .tw-posts .large .entry-title{
        font-size: 20px;
    }
    .sf-menu{
        display: none;
    }
    .header-menu .sf-menu{
        display: inline-block;
    }
    .mobile-menu-icon{
        display: block;
    }
    .show-mobile-menu>.tw-mobile-menu{
        left: auto;
        right: 0;
    }
    .content-area.col-md-8{
        border-right: 0;
    }
    .content-area.col-md-8 .kc_element:not(.tw-blog){
        margin-right: 0;
        padding-right: 0;
    }
    .content-area.col-md-8 > .tw-blog,
    .content-area.col-md-8 > .theiaStickySidebar > .tw-blog,
    div[class*="kc_col-"]:first-child > div > .tw-blog,
    div[class*="kc_col-"]:first-child > .theiaStickySidebar > div > .tw-blog,
    .content-area.col-md-8 .entry-content div[class*="kc_col-"]:last-child .tw-blog,
    .content-area.col-md-8 > .tw-blog .tw-pagination,
    .content-area.col-md-8 > .theiaStickySidebar > .tw-blog .tw-pagination,
    div[class*="kc_col-"]:first-child > div > .tw-blog .tw-pagination,
    div[class*="kc_col-"]:first-child > .theiaStickySidebar > div > .tw-blog .tw-pagination,
    .content-area.col-md-8 .entry-content div[class*="kc_col-"]:last-child .tw-blog .tw-pagination{
        margin-right: 0;
    }
    .content-area.col-md-8 .entry-content div[class*="kc_col-"]:last-child .tw-blog > .tw-element-title,
    .content-area.col-md-8 .entry-content div[class*="kc_col-"]:last-child .tw-blog > article.post,
    div[class*="kc_col-"]:first-child > div > .tw-blog > article.post{
        padding-right: 0;
    }
    .tw-blog.blog-grid article.post,
    .entry-content > .kc_row .blog-grid article.post{
        width: calc(50% - 15px);
        margin-right: 15px;
    }
    .tw-blog.blog-grid article.post:nth-of-type(even){
        margin-right: 0;
        margin-left: 15px;
    }
    aside.widget,
    .tw-sidebar aside.widget{
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
    }
    .kc_row > .tw-sidebar:last-child{
        margin-top: 60px;
        margin-bottom: 0;
    }
    .waves-inner-footer aside.widget{
        max-width: 100%;
        text-align: center;
    }
    .waves-inner-footer.footer-3-3-3-3 aside.widget{
        max-width: 300px;
        text-align: left;
    }
    .content-area.col-md-12 div.kc_row:not(.kc_row_inner){
        width: calc(100% + 15px);
        width: -webkit-calc(100% + 15px);
        width: -moz-calc(100% + 15px);
        width: -ms-calc(100% + 15px);
    }
    div.kc_row:not(.kc_row_inner){
        margin-left: -8px;
    }
}

/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 991px) {
    .nextprev-postlink > .col-md-6,
    .entry-footer > .row > .col-md-6{
        width: 50%;
        margin-bottom: 0;
    }
}

/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
    .tw-middle>*{
        width: 100%;
    }
    .theme-boxed {
        width:auto;
        margin: 0 !important;
        padding: 0 !important;
        border: none;
    }
    .nextprev-postlink [class*="col-md"]{
        width: 50%;
        margin: 0;
    }
}
/* Landscape phones and down */
@media (max-width: 480px) {
    .tw-slider.layout_2 .post-content .entry-title{
        font-size: 18px;
    }
    .tw-posts .large .entry-title{
        font-size: 16px;
    }
    .tw-posts .entry-title{
        font-size: 12px;
    }
    .blog-list article.post .entry-media,
    .tw-menu .tw-logo{
        position: relative;
        width: 100%;
    }
    .blog-list article.featured .entry-post,
    .blog-list article.post .entry-post{
        position: relative;
        margin: 0;
        padding: 0;
    }
    .blog-list article.featured .entry-post{
        margin-top: 25px;
    }
    .tw-blog.blog-grid article.post,
    .entry-content > .kc_row .blog-grid article.post,
    .tw-blog.blog-grid article.post:nth-of-type(even){
        margin-left: 0;
        margin-right: 0;
    }
    .entry-content > .kc_row:not(:last-child) .blog-grid article.post:nth-last-of-type(2):not(:nth-of-type(even)){
        padding-bottom: 27px;
        margin-bottom: 30px;
        border-bottom: 1px solid #e6e6e6;
    }
    .sf-mobile-menu .menu-item-has-children > a:before{
        top: 14px;
    }
    body .waves-footer > .container > .row{
        display: block;
    }
    .tw-testimonial.column-2>.testimonial-item{
        width: 100%;
        padding: 0 !important;
    }
    .tw-element.tw-pricing .pricing-column{
        width: 100%;
        margin-bottom: 35px;
    }
    .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,
    body.header-left-side,
    .header-left-side .vc_row-fluid[data-vc-full-width],
    .header-left-side .fullwidthbanner-container{
        padding: 0 !important;
    }
    body.header-left-side .waves-header{
        border-right: none;
        position: relative;
        width: 100%;
        height: 99px;
    }
    body.header-left-side .header-inner>div>.row, body.header-left-side .header-inner>div>.row>div{
        flex-direction: initial;
        justify-content: space-between;
        position: relative;
        top: 0;
    }
    body.header-left-side .header-inner>div>.row>div:nth-child(3){
        justify-content: flex-end;
    }
    .tw-heading>.heading-title,
    .tw-heading>.heading-title:after{
        right: 15px;
    }
    .tw-blog.blog-grid article.post,
    .entry-content > .kc_row .blog-grid article.post{
        width: 400px;
        max-width: 400px;
    }
}

/* Table Styling on Mobile */

@media screen and (max-width: 600px) {
    table {
        width:100%;    
        border-top: none;
    }
    .entry-content blockquote{
        margin-left: 0;
    }
}
