@media (max-width: 1460px) {
    .container{
        width:1190px;
    }
    body.single-post .content-area{
        padding-left: 0;
    }
    body.single-post .content-area.single_3,
    body.single-post .content-area.single_4{
        padding-left: 0;
        padding-right: 0;
    }
    article.related-item{
        height: 400px;
    }
    .tw-slider .slider-item{
        padding-left: 60px;
    }
    body.single .fullwidth-container article.single{
        max-width: 1170px;
    }
}
@media (max-width: 1460px) and (min-width: 1180px) {
    .tw-slider{
        height: 382px;
    }
    .tw-blog article{
        width: 277.5px;
    }
    .tw-blog article.featured{
        height: 348px;
    }
    .tw-blog article.large{
        width: 575px;
        height: 348px;
    }
    .tw-blog article.llist{
        width: 575px;
    }
    .tw-blog article.llist .entry-post{
        height: 164px;
        margin-left: 218px;
        padding-top: 20px;
    }
    .tw-blog article.llist.style_2 .entry-post{
        margin-right: 218px;
    }
    .tw-blog article.llist .entry-media{
        width: 218px;
    }
    .tw-blog article.llist .entry-cats,
    .tw-blog article.large .entry-cats{
        margin-bottom: 10px;
    }

    .tw-blog article.grid:not(.featured) .entry-post{
        padding: 20px 25px;
        min-height: 181.5px;
    }
    .tw-blog article:not(.featured) .entry-title{
        height: 50px;
        overflow: hidden;
    }
    .tw-blog article.featured .entry-post,
    .tw-blog article:not(.featured):not(.list) .entry-footer{
        padding: 20px 25px;
    }

    .tw-blog article.large .entry-post{
        padding-top: 20px;
        width: 400px;
        height: 164px;
        min-height: 0;
    }


    .tw-blog article.list{
        margin-bottom: 10.5px;
        padding: 20px;
    }
    .tw-blog article.list:nth-of-type(3n){
        margin-bottom: 20px;
    }
    .tw-blog article.list .entry-media{
        width: 69px;
    }
    .tw-blog article.list .entry-title{
        margin-bottom: 4px;
        height: 38px;
    }
    .tw-blog article.list .entry-post{
        min-height: 69px;
        margin-left: 85px;
    }
    .tw-blog article.list .comment-count{
        display: none;
    }


    .tw-blog article.list.small .entry-media{
        width: 70px;
        height: 55px;
    }
    .tw-blog article.list.small .entry-post{
        min-height: 55px;
    }
    .tw-blog article.list.small{
        padding: 15px 16px 16.25px;
        margin-bottom: 0;
    }
    article.list.small .entry-footer .date{
        top: 5px;
    }

    .tw-sidebar.single-left{
        width: 200px;
        margin-right: 30px;
    }
    article.single .tw-sidebar{
        width: 280px;
        margin-left: 30px;
    }
    body.single-post .both_sidebar .single-content{
        max-width: 940px;
        flex: 1;
    }
    .fullwidth-container article.single{
        left: -38px;
    }
}

@media (min-width: 1200px) {
    .nextprev-postlink .next-post-link:hover > a,
    .nextprev-postlink .prev-post-link:hover > a{
        color: #fff;
        background-color: #151515;
    }
    .nextprev-postlink .next-post-link > a,
    .nextprev-postlink .prev-post-link > a{
        position: fixed;
        top: 50%;
        width: 250px;
        margin: 0;
    }
    .nextprev-content a {
        position: absolute;
        width: 100%;
        height: 100%;
        text-align: center;
        display: flex;
        align-items: center;
        color: #fff;
        transition: all .3s ease;
        background: rgba(0, 0, 0, 0.3);
    }
    .nextprev-content a:hover{
        background: rgba(0, 0, 0, 0.6);
    }
    .nextprev-postlink h4{
        font-size: 16px;
        font-weight: 500;
        margin-bottom: 10px;
        padding: 0 20px;
        color: #fff;
    }
    .nextprev-postlink h4:hover{
        opacity: 0.9;
    }
    .nextprev-postlink > div{
        left: 0;
        position: fixed;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
    }
    .nextprev-postlink > div.next-post-link{
        left: auto;
        right: 0;   
    }
    .prev-post-link > a{
        transform: rotate(-90deg) translate(-50%, -100%);
        transform-origin: top left;
        left: 0;
    }
    .single-scrolled .prev-post-link > a{
        transform: rotate(-90deg) translate(-50%, 0);
    }
    .next-post-link > a{
        transform-origin: top right;
        right: 0;
        transform: rotate(90deg) translate(50%, -100%);
    }
    .single-scrolled .next-post-link > a{
        transform: rotate(90deg) translate(50%, 0);
    }
    .nextprev-postlink .nextprev-content {
        position: fixed;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2; 
        width: 300px;
        height: 250px;
        left: -300px;
        right: -300px;
        background-size: cover;
    }
    .nextprev-postlink .prev-post-link:hover .nextprev-content {
        margin-left: 57px;
        left: 0;
        right: auto;
    }
    .nextprev-postlink .next-post-link:hover .nextprev-content {
        left: auto;
        right: 0;
        margin-right: 57px;
    }

    .next-post-link:hover .nextprev-content,
    .prev-post-link:hover .nextprev-content{
        opacity: 1;
        visibility: visible;
    }
}
@media (max-width: 1180px) {
    .fullwidth-media{
        background-attachment: scroll;
    }
    .nextprev-postlink .nextprev-content{
        display: none;
    }
    .container{
        width:720px;
    }
    .tw-slider{
        height: 450px;
    }
    .tw-slider .post-item{
        width: 50%;
    }
    .content-area.col-md-9,
    .tw-sidebar.col-md-3,
    .blog-row.style_2 .blog-column,
    .blog-row.style_3 .blog-column{
        width: 100%;
        flex: 1 1 auto;
    }
    .tw-sidebar.col-md-3{
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }
    .tw-blog .blog-infinite .blog-column{
        display: none;
    }
    .author .tw-blog .blog-infinite .blog-column,
    .search .tw-blog .blog-infinite .blog-column,
    .category .tw-blog .blog-infinite .blog-column,
    .tag .tw-blog .blog-infinite .blog-column,
    .archive .tw-blog .blog-infinite .blog-column,
    .tw-blog .blog-infinite .blog-column.active{
        display: block;
    }
    .tw-blog  .column-title + .column-posts{
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .tw-blog-tab{
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
    .tw-cat-arrows,
    .header-socials,
    .blog-column h5.column-title{
        display: none;
    }
    .tw-slider > .container{
        top:auto;
        bottom: 0;
        height: 44px;
    }
    .slider-fullwidth .tw-slider-bullets{
        padding-top: 0;
    }
    .tw-slider-bullets{
        top: auto;
        bottom: 0;
        width: 100%;
        text-align: center;
        display: block;
        right: 0;
    }
    .tw-slider-bullets li{
        width: 20px;
        height: 20px;
        margin: 0;
        position: static;
        display: inline-block;
        position: relative;
    }
    .tw-slider-bullets li:before{
        content: '';
        position: absolute;
        width: 8px;
        height: 8px;
        background-color: #fff;
        border-radius: 50%;
        top: 50%;
        left: 50%;
        margin-top: -4px;
        margin-left: -4px;
        opacity: 0.5;
        -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
        -webkit-transition:opacity 0.15s ease;
        transition: opacity 0.15s ease;
    }
    .tw-slider-bullets li.active:before,
    .tw-slider-bullets li:hover:before{
        opacity: 1;
        -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    }
    .tw-slider-bullets li > *{
        display: none;
    }
    .tw-slider.style_4 .post-item:nth-child(3n - 2),
    .tw-slider.style_5 .post-item:nth-child(3n - 3),
    .tw-slider.style_6 .post-item:nth-child(3n - 1),
    .tw-slider.style_7 .post-item{
        width: 100%;
    }


    .sf-menu, 
    .tw-sidebar.single-left{
        display: none;
    }
    .mobile-menu-icon{
        display: block;
    }
    .show-mobile-menu>.tw-mobile-menu{
        left: auto;
        right: 0;
    }
    .tw-header-meta{
        padding-right: 50px;
    }

    body.single-post .entry-post, 
    body.single-post .single-content{
        max-width: 100%;
        width: 100%;
    }
    .entry-post-container{
        display: block;
    }
    .entry-post-container .entry-post{
        overflow: visible;
    }
    body.single .fullwidth-container article.single{
        padding: 0;
        width: 690px;
    }
    article.single .tw-sidebar{
        margin-left: 0;
        width: 100%;
    }
    article.single .tw-sidebar{
        margin-top: 70px;
    }
    article.single .tw-sidebar aside.widget{
        width: 300px;
    }
    body:not(.single-post) .tw-sidebar aside.widget{
        width: 335px;
    }

    article.related-item{
        height: 360px;
    }
    article.related-item .post-content{
        left: 0;
        padding: 0 30px;
        bottom: 40px;
    }
    article.related-item .entry-title{
        font-size: 28px;
    }
    .content-row{
        padding: 30px 20px;
    }
    .content-row .col-md-8,
    .content-row .col-md-6,
    .content-row .col-md-4{
        width: 100%;
        margin-bottom: 20px;
    }
    .content-row .col-md-3{
        width: 50%;
        margin-bottom: 20px;
    }
}

/* Portrait tablet to landscape and desktop */
@media (min-width: 690px) and (max-width: 1180px) {
    .tw-blog .column-title + .column-posts article.list.small:nth-of-type(4n-1){
        margin-bottom: 20px;
        border-bottom: 0;
    }
    .blog-row.style_4 [data-id="blog-column-2"],
    .blog-row.style_7 [data-id="blog-column-2"]{
        -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
        order: -1;
    }
    .footer-widget .col-md-4{
        width: 100%;
        margin-bottom: 30px;
    }
    .footer-widget .col-md-2{
        width: 50%;
        float: left;
        margin-bottom: 30px;
    }
    .tw-header-meta{
        width: 330px;
    }
}

/* Landscape phone to portrait tablet */
@media (max-width: 690px) {
    .container{
        width:355px;
    }
    .fullwidth-container article.single,
    .tw-blog article.large,
    .tw-blog article.llist{
        width:335px;
    }
    body.single-post .single_3 article > .entry-meta,
    body.single-post .single_3 article .entry-content > *,
    body.single-post .single_3 article .comment-section,
    body.single .fullwidth-container article.single{
        max-width: 335px;
    }
    .cat-menu,
    .entry-share + .entry-meta2{
        display: none;
    }
    .theme-boxed {
        width:auto;
        margin: 0 !important;
        padding: 0 !important;
        border: none;
    }
    .tw-slider .slider-item{
        padding: 30px;
    }
    .tw-slider .post-item{
        width: 100%;
    }
    .tw-blog article.large{
        height: auto;
        display: block;
    }
    .tw-blog article.large .entry-media{
        position: relative;
        height: auto;
    }
    .tw-blog article.large .entry-post{
        position: static;
        height: auto;
        min-height: 200px;
    }
    .tw-blog article.featured.large .entry-post{
        background-color: #fff;
    }
    .tw-blog article.large.featured .entry-title{
        color: #151515;
        font-size: 20px;
        margin-top: -5px;
        margin-bottom: 45px;
    }
    .tw-blog article.large.featured .entry-meta{
        color: #ccc;
    }
    .tw-blog article.large.featured .entry-meta a:hover,
    article.large.featured .entry-share:hover .tw-share-icon,
    article.large.featured .entry-share:hover .share-count{
        color: #666;
    }
    .tw-blog article.llist .entry-media{
        width: auto;
        height: auto;
        position: relative;
    }
    .tw-blog article.llist.style_2 .entry-post,
    .tw-blog article.llist .entry-post{
        margin-left: 0;
        margin-right: 0;
        height: 220px;
    }
    article.llist .tw-lazy img:first-child{
        width: 100% !important;
    }
    article.single .entry-title{
        font-size: 36px;
    }
    article.single .entry-share{
        width: 100%;
    }
    .entry-content blockquote{
        font-size: 24px;
    }
    article.single .entry-cats{
        display: block;
    }

    .tw-reaction-vote .react-item{
        max-width: 30px;
        margin: 0 5px;
    }
    .tw-author{
        padding: 20px 20px 20px 100px;
        min-height: auto;
    }
    .tw-author .author-image{
        width: 60px;
        left: 20px;
        top: 20px;
    }

    .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;
    }
    .footer-text p{
        width: 100%;
        text-align: center;
    }
    .footer-text p + p{
        margin-top: 15px;
        text-align: center;
    }

    .content-row .mc4wp-form-fields input[type="email"]{
        width: 170px;
        padding: 0 20px;
    }
    .content-row .mc4wp-form-fields *[type="submit"]{
        font-size: 12px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .with-reactions > .container{
        display: block;
    }
    .with-reactions .tw-header-meta{
        width: 100%;
        padding-right: 0;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        background: #fff;
    }
    .with-reactions + .header-clone{
        margin-bottom: 50px;
    }
    .alignnone{
        margin: 0;
    }
}
@media (max-width: 991px){
    .footer-widget > div:not(:last-child){
        margin-bottom: 30px;
    }
}

/* Table Styling on Mobile */

@media screen and (max-width: 600px) {
    .tw-search-box form.searchform input{
        font-size: 80px;
    }
    table {
        width:100%;    
        border-top: none;
    }
    .entry-content blockquote{
        margin-left: 0;
    }
    .tw-blog article.large .entry-post{
        bottom: 16px;
    }
}

@media (max-width: 350px) {
    .container{
        width:320px;
    }
    .fullwidth-container article.single,
    .tw-blog article,
    .tw-blog article.large,
    .tw-blog article.llist{
        width:300px;
    }
    body.single-post .single_3 article > .entry-meta,
    body.single-post .single_3 article .entry-content > *,
    body.single-post .single_3 article .comment-section,
    body.single .fullwidth-container article.single{
        max-width: 300px;
    }
    .tw-blog article.featured{
        height: 375px;
    }
}