/* Responsive CSS Style */
.mobile #container_hp,
.mobile .ads_fullbox
{
    padding-top: 0px !important;
    margin-top: 0px;
}
@media only screen and (min-width: 1170px) {
    .c_box_thumbnail_under_single{
        width: 267px;
        height: 133px;
        background: #f0f0f0;
        overflow: hidden;
        background-size: cover;
    }
    .c_box_thumbnail_under_single img,
    .c_box_thumbnail_main_entity img{
        display: none;
    }
    .c_box_thumbnail_main_entity{
        width: 181px;
        height: 90px;
        background-width: #f0f0f0;
        overflow: hidden;
        background-size: cover;
        background-position: center;
    }
}

@media only screen and (max-width: 1117px) {
    .widget-social-icons {
        width: 186px;
    }
}

@media only screen and (min-width: 960px) and (max-width: 1117px) {
    #menu-secondary-items a {
        padding: 16px 16px;
    }
}

@media only screen and (max-width: 1100px) {
    body.single .c-single-article-left{
        width: 150px;
        float: left;
    }
    body.single #id-article-body {
        float: right;
        width: 500px;
    }
    body.single .c-single-content-block{
        width: 667px;
    }
    .c_under_single {
        width: 231px;
    }
}

/* Smaller than revolution 960 (devices and browsers) */
@media only screen and (max-width: 959px) {
    #id_article_list_right{
        width: 100%;
        overflow: hidden;
    }
    #id_article_list_right .big-thumbnail-style{
        width: 100%;
        overflow: hidden;
        border-radius: 6px;
        position: relative;
    }
    #id_article_list_right .big-thumbnail-style:after {
        border: 2px solid rgb(0 0 0 / 4%);
        bottom: 0;
        content: '';
        left: 0;
        position: absolute;
        right: 0;
        top: 0;
        border-radius: 6px;
    }
    #id_article_list_right .big-thumbnail-style li{
        position: relative;
        z-index: 123;
    }
    .sidebar-primary .widget {
        float: left;
        width: 100%;
        margin-right: 0px;
    }
    #id_article_list_right .posts-thumbnail-widget .big-thumbnail-style li{
        float: left;
        width: 50%;
        margin-right: 0px;
        padding: 0px 7px;
    }
    #id_article_list_right .posts-thumbnail-widget .big-thumbnail-style li:nth-of-type(2n+1) {
        clear: left;
    }
    #id_article_list_right .posts-thumbnail-widget .big-thumbnail-style li:nth-child(odd) {
        padding-left: 0px;
    }
    #id_article_list_right .posts-thumbnail-widget .big-thumbnail-style li:nth-child(even) {
        padding-right: 0px;
    }
    #id-entry-wrapper{
        min-height: 200px;
        padding-bottom: 0px;
    }
    .author-bio .bio{
        font-size: 13px;
    }
}

/* Tablet Portrait size to revolution 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px) {
    body.single #id-article-body {
        float: left;
        width: 75%;
        box-sizing: border-box;
        padding-right: 20px;
    }
    .posts-thumbnail-widget .big-thumbnail-style li, .posts-thumbnail-widget .big-thumbnail-overlay-style li {
        float: left;
        width: 100%;
/*        margin-right: 3.8961038961%;*/
    }
    body.single .c-single-article-left{
        width: 25%;
        float: right;
    }
    body.single .c-single-content-block{
        width: 100%;
    }
    .c_under_single {
        width: 228px;
    }
    .c_article_list_under_single > li:nth-of-type(4n+1) {
        clear: none;
    }
    .c_article_list_under_single > li:nth-of-type(3n+1) {
        clear: left;
    }
    #id_article_list_right .posts-thumbnail-widget{
        margin: 0px !important;
    }
    .section_input_search{
        padding: 0px 30px;
    }
    #id_carousel_posts .c-thumbnail-link, .panel-grid-cell#id-panel-grid-cell .c-thumbnail-link{
        height: 130px;
    }
    .panel-grid-cell#id-panel-grid-cell:nth-of-type(2), 
    .panel-grid-cell#id-panel-grid-cell:nth-of-type(4), 
    .panel-grid-cell#id-panel-grid-cell:nth-of-type(6), 
    .panel-grid-cell#id-panel-grid-cell:nth-of-type(8) {
        margin-left: 1%;
        margin-right: 1%;
    }
    .panel-grid-cell#id-panel-grid-cell:nth-of-type(5){
        margin-left: 0;
        margin-right: 0;
    }
    .panel-grid-cell#id-panel-grid-cell {
        width: 49%;
        float: left;
    }
    .panel-grid-cell#id-panel-grid-cell:nth-of-type(3n+1){
        clear: none;
    }

    #id-secondary-navigation {
        min-height: 49px;
    }
    .c-article-default#id-panel-grid-cell .entry-title{
        -webkit-line-clamp: 4;
    }
}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {
    .widget-social-icons {
        width: 198px;
    }
    .c-single-article-left .first-cat{
        top: 12px;
    }
    .site-header{
        min-height: 50px;
    }
    .section_input_search{
        padding: 0px;
    }
    .search-area {
        background-color: #d0d0d0;
    }
    #id_thumb_top {
        width: 100%;
        height: calc(100vw * 0.25);
    }
    #id-panel-grid-cell{
        width: 100%;
    }
    #id-panel-grid-cell:nth-of-type(2), 
    #id-panel-grid-cell:nth-of-type(5), 
    #id-panel-grid-cell:nth-of-type(8), 
    #id-panel-grid-cell:nth-of-type(11){
        margin: 0;
    }
    body.single #id-article-body {
        float: left;
        width: 100%;
        box-sizing: border-box;
        padding-right: 0px;
    }

    body.single .c-single-content-block{
        width: 100%;
    }
    body.single .c-single-article-left{
        width: 100%;
        float: left;
    }
    .c-single-article-left .posts-thumbnail-widget .big-thumbnail-style li {
        float: left;
        width: 50%;
        padding: 7px;
    }
    .c-single-article-left .posts-thumbnail-widget .big-thumbnail-style li:nth-of-type(2n+1) {
        clear: left;
    }
    .c-single-article-left .posts-thumbnail-widget .big-thumbnail-style li:nth-child(odd) {
        padding-left: 0px;
    }
    .c-single-article-left .posts-thumbnail-widget .big-thumbnail-style li:nth-child(even) {
        padding-right: 0px;
    }
    .c-single-article-left .posts-thumbnail-widget .big-thumbnail-style li{
        margin-top: 0px;
        margin-bottom: 5px;
    }
    .c_under_single{
        width: 50%;
        margin-right: 0px;
        padding: 7px;
    }
    .c_article_list_under_single{
        width: 100%;
    }
    .c_under_single:nth-child(odd) {
        padding-left: 0px;
    }
    .c_under_single:nth-child(even) {
        padding-right: 0px;
    }
    .c_under_single:nth-child(2n+1) {
        clear: left;
    }
    #id_carousel_posts .entry-title, #id_carousel_posts .entry-title a{
        font-size: 17px;
    }
    #id_article_list_right .posts-thumbnail-widget .big-thumbnail-style li {
        width: 100%;
        margin-top: 10px;
        margin-bottom: 5px;
    }
    #id_article_list_right .big-thumbnail-style {
        background: #fffbcf;
        padding: 5px 15px 10px 15px;
    }
    #id_article_list_right .posts-thumbnail-widget .big-thumbnail-style li:nth-child(2n){
        padding: 0;
    }
    #id_article_list_right .posts-thumbnail-widget .big-thumbnail-style li .c_str_cut_word{
        -webkit-line-clamp: 2; 
    }
    #c-related-posts .post-detail {
        min-height: 34px;
    }
    #c-related-posts{
        margin-bottom: 0px;
    }
    #id_article_list_right aside{
        margin-bottom: 0px;
    }
    .search-area{
        padding: 17px 0px;
    }
    #id_box_search_menu, .home #id_search_box_top, .category #id_search_box_top, .tag #id_search_box_top{
        display: block;
    }
    #masthead{
        position: fixed;
        top: 0px;
        left: 0px;
        z-index: 321;
        background: white;
    }
    #masthead .container{
        padding: 0px;
    }
    .c_logo_icon {
        width: 65px;
        background-size: 64% auto;
    }
    #menu-mobile-items{
        padding: 0px;
        display: block;
        overflow: scroll;
    }
    #menu-mobile-items > li{
        width: 100%;
        padding: 0px;
    }
    .menu-secondary-items a{
        padding: 10px 10px 10px 36px;
    }
    #menu-mobile-items > li a:before {
        content: "\A";
        border-style: solid;
        border-width: 5px 0 5px 8px;
        border-color: transparent transparent transparent #ffc107;
        position: absolute;
        margin-left: -16px;
        margin-top: 3px;
    }
    
    .c_hr_class{
        height: 55px;
        width: 100%;
        float: left;
        padding: 0px;
        margin: 0px;
        display: block;
    }
    
    #menu-mobile-items a {
        color: #1669bb;
    }
    #id_nav_mobile{
        background: #fff;
        display: none;
    }
    #menu-mobile-items{
        display: block;
        padding-bottom: 150px;
    }
    .mega-links.two-columns {
        overflow: hidden;
    }
    .mega-links{
        display: block;
        position: relative;
    }
    .mega-links .column-heading {
        margin-bottom: 0px;
        font-size: 16px;
    }
    .mega-links {
        padding: 10px 16px;
        box-sizing: border-box;
        width: 100% !important;
        background-color: #FFF;
        box-shadow: none !important;
        border-radius: 0px;
    }
    .mega-links .column-heading {
        color: rgb(17, 17, 17);
    }
    .menu-secondary-items li:hover {
        color: #fff;
        background-color: #e7e7e7;
    }
    .menu-secondary-items li:hover a {
        color: #000;
        background-color: #fff;
    }
    .web_footer_address_label_ul li.c_footer_logo_yellow_li{
        width: 100%;
        text-align: center;
        padding-bottom: 0px;
    }
    .c_footer_logo_yellow{
        margin-bottom: 0px;
    }
    .miroot{
        background: #f3f3f3;
    }
}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
   
}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {
    #c-related-posts .thumbnail-link img{
        width: 100% !important;
    }
     #c-related-posts .entry-title {
        font-size: 18px;
    }
    .c-entry-summary-default{
        display: none;
    }
    .c-thumb-mob{
        height: 75px;
    }
    .c-entry-title-default{
        font-size: 17px;
        margin: 0px;
    }
    .c-article-default{ 
        margin-bottom: 15px;
        margin-top: 15px;
        float: left;
        width: 100%;
    }
    .c-article-default .entry-wrapper {
        padding-bottom: 0px;
    }
    #id_top_logo img{
        height: 20px;
    }
    #id-panel-grid-cell{
        clear: left;
        margin: 15px 0px !important;
        padding-bottom: 0px;
    }
    .c_under_single{
        margin-bottom: 10px !important;
    }
    .widget_panel{
        margin-bottom: 0px;
    }
    #category-content-default{
        margin-top: 0px;
    }
    .c_title_right,
    .modern-block .small-post .c_entry_title a{
        font-size: 17px;
        line-height: 1.3em;
    }
    .c_box_thumbnail_under_single {
        position: static;
        width: 100%;
        height: 21.5vw;
        background: #f0f0f0;
        background-size: cover;
    }
    .c_box_thumbnail_main_entity{
        overflow: hidden;
        height: 186px;
        background-size: cover;
        background-position: center;
        border-radius: 6px;
    }
    .c_box_thumbnail_main_entity:after{
        border-radius: 6px;
    }
}

@media only screen and (max-width: 376px) {
    #id_top_logo {
        padding: 16px 5px 16px 10px;
    }
    #id_top_logo img {
        height: 18px;
    }
}
@media only screen and (max-width: 321px) {
    #id_top_logo {
        padding: 16px 5px 16px 18px;
    }
    #id_top_logo img {
        height: 18px;
    }
    .c_logo_icon {
        display: none;
    }
    .widget_social_icons {
        padding-left: 14px;
        padding-right: 14px;
    }
}