/* Landscape phone to portrait tablet */
@media (max-width: 991px) {
    /* Bootstrap column */
    [class*="col-md"] {
        width: 100%;
    }
    .logo-container,
    .tw-menu,
    .blog-single-nav .entry-share{
        display: none;
    }
    .tw-menu + .tw-logo{
        display: block;
    }
    .sidebar-area.col-md-4 .sidebar-inner{
        margin: 40px 0 0;
        max-width: none;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        padding: 0;
    }
    .sidebar-area aside.widget{
        width: 300px;
    }
    .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: none;
    }
    .comment-list .comment .comment{
        margin-left: 0;
    }
    .bottom-area .col-md-3,
    .nextprev-postlink .col-md-6,
    .grid-blog article.post{
        float: left;
        width: 50%;
    }
    .nextprev-postlink .prev-post-link,
    .nextprev-postlink .next-post-link{
        padding: 0;
    }
    .tw-author{
        padding: 20px;
    }
    .bottom-area .row > div:not(:last-child) .widget:last-child{
        margin-bottom: 57px;
    }
    .tw-slider.slider1 article.slider-item,
    .tw-slider .slider-item{
        height: 330px;
    }
    .tw-slider.slider3 .entry-title,
    .tw-slider .entry-title{
        font-size: 20px;
    }
}
@media (max-width: 991px) and (min-width: 640px) {
    .container{
        width: 640px;
    }
}
/* Landscape phones and down */
@media (max-width: 639px){
    .container{
        width: 320px;
    }
    .entry-title{
        font-size: 24px;
    }
    .tw-logo img{
        max-width: 160px;
    }
    .bottom-area .col-md-3,
    .nextprev-postlink .col-md-6,
    .grid-blog article.post{
        width: 100%;
        float: none;
    }
    .nextprev-postlink .prev-post-link{
        margin-bottom: 40px;
    }
    .tw-author .author-box{
        padding-left: 90px;
        min-height: 70px;
    }
    .tw-author img{
        width: 70px;
    }
    .comment-text .author{
        margin-right: 10px;
    }
    .comment-text .entry-date{
        letter-spacing: 0.1em;
    }
    .comment-author img{
        width: 50px;
    }
    .comment-text{
        padding-left: 65px;
        padding-top: 30px;
        margin-bottom: 30px;
    }
    .blog-single-nav .tw-logo,
    .blog-single-nav .entry-share,
    .entry-share .comment-count:last-child{
        display: none;
    }
    .list-blog article.post{
        display: block;
    }
    .list-blog .entry-media + .entry-post{
        margin: 0;
        padding-top: 27px;
        padding-left: 0;
    }
    .tw-footer{
        text-align: center;
    }
    .copyright, .footer-text{
        float: none;
        padding: 5px;
    }
    .tw-slider.slider1 article.slider-item,
    .tw-slider .slider-item{
        height: 200px;
    }
    .tw-slider .entry-cats,
    .tw-slider .entry-date{
        /*display: none;*/
    }
}

/* 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;
    }
    .admin-bar.header-small .tw-menu-container{
        top: 0;
    }
    .tw-search-menu form.searchform {
        max-width: 100%;
    }
    .tw-search-menu form.searchform input{
        font-size: 16px;
    }
    .tw-search-menu .nav-icon-container{
        top: 50%;
        margin-right: -210px;
    }
    .tw-format-modal-inner .row:last-child{
        padding: 20px 10px 0 10px;
    }
    article .tw-format-modal-header .entry-share{
        display: none;
    }
    .tw-format-modal-header {
        padding: 0 20px;
    }
    .tw-format-modal .tw-logo {
        padding: 0;
        left: 0;
        position: relative;
        display: block;
    }
}
