/* Large desktop */

@media (max-width: 1200px) {
  .boxed_layout #page {
    width: 100%;
  }

  .mt-container {
    padding: 0 2%;
    width: 100%;
  }
}

@media (min-width: 1000px) {
  #site-navigation {
    display: block !important;
  }
}

@media (max-width: 1170px) {
  #masthead .np-header-ads-area {
    width: 65%;
    margin-top: 5px;
  }

  .np-slide-content-wrap .np-post-meta span,
  .news_portal_featured_posts .np-single-post .np-post-meta span {
    margin-right: 8px;
  }

  .news_portal_featured_posts .np-single-post .np-post-content .np-post-title a {
    font-size: 14px;
  }

  .news_portal_featured_posts .layout2 .np-single-post-wrap .np-post-content .np-post-title a {
    font-size: 12px;
  }
}

@media (max-width: 979px) {
  #masthead .np-header-ads-area {
    width: 100%;
    text-align: center;
  }

  #masthead .site-branding {
    text-align: center;
    float: none;
    margin-top: 0;
  }

  #masthead.layout1 .site-branding {
    float: left;
    margin: 20px 0;
  }

  .news_portal_featured_slider .np-featured-slider-section {
    float: none;
    width: 100%;
  }

  .np-home-top-section .news_portal_featured_posts,
  .news_portal_featured_slider .np-featured-section {
    margin-top: 5px;
    width: 100%;
  }

  .news_portal_featured_slider .np-featured-slider-section img,
  .news_portal_featured_slider .np-featured-section img {
    width: 100%;
  }

  .news_portal_featured_slider .np-featured-section .featured-top-section .np-single-post-wrap {
    width: 100%;
    margin-left: 0;
  }

  .news_portal_featured_slider .np-featured-section .np-single-post-wrap {
    margin-top: 2%;
    padding-left: 0;
  }

  .news_portal_featured_slider .np-featured-section .featured-bottom-section .np-single-post-wrap,
  .news_portal_featured_slider .featured-slider-default .np-featured-section .np-single-post-wrap,
  .news_portal_featured_slider .featured-slider-layout2 .np-featured-section .np-single-post-wrap {
    width: 48%;
    margin-left: 2%;
  }

  .news_portal_featured_slider .np-featured-section .featured-bottom-section,
  .news_portal_featured_slider .featured-slider-default .np-featured-section,
  .news_portal_featured_slider .featured-slider-layout2 .np-featured-section {
    margin-left: -2%;
    width: 102%;
  }

  .news_portal_featured_posts .np-single-post .np-post-content .np-post-title a {
    font-size: 16px;
  }

  .np-home-top-section .news_portal_slider .np-single-slide-wrap img {
    width: 100%;
  }

  .news_portal_featured_posts .np-featured-posts-wrapper {
    margin-left: 0;
  }

  .news_portal_featured_posts .layout1 .np-single-post-wrap {
    margin: 1% 0 1% 2%;
    width: 48%;
  }

  .news_portal_featured_posts .np-single-post-wrap .np-post-content .np-post-title a {
    font-size: 14px;
  }

  .news_portal_recent_posts .np-recent-posts-wrapper .np-post-thumb img,
  .news_portal_default_tabbed .np-post-thumb img {
    width: 100%;
  }

  .news_portal_recent_posts .np-recent-posts-wrapper .np-post-thumb {
    float: left;
    width: 30%;
  }

  .news_portal_recent_posts .np-recent-posts-wrapper .np-post-thumb .np-post-title.small-size a {
    font-size: 16px;
    font-weight: 500;
  }


}

/* Portrait tablet to landscape and desktop */

@media (min-width: 769px) and (max-width: 1200px) {}




/* Landscape phone to portrait tablet */

@media (max-width: 768px) {

  .np-home-middle-section .middle-primary,
  .np-home-bottom-section .bottom-primary,
  .np-home-middle-section .middle-aside,
  .np-home-bottom-section .bottom-aside {
    float: none;
    width: 100%;
  }

  .news_portal_recent_posts .np-recent-posts-wrapper .np-post-title.small-size a,
  .news_portal_default_tabbed .np-post-title.small-size a {
    font-size: 16px;
  }

  #top-footer.footer_column_one .np-footer-widget,
  #top-footer.footer_column_two .np-footer-widget,
  #top-footer.footer_column_three .np-footer-widget,
  #top-footer.footer_column_four .np-footer-widget {
    float: none;
    width: 98%;
  }

  .menu-toggle,
  .header-menu-close {
    display: block;
    color: #ffffff;
  }

  .header-menu-close {
    position: absolute;
    top: -40px;
    left: 100px;
    color: #333;
  }

  .header-menu-close a {
    color: #333;
    font-size: 22px;
  }

  #colophon .menu-toggle.hide {
    display: none;
  }

  #site-navigation {
    display: none;
    left: 0;
    position: absolute;
    top: 100%;
    width: 100%;
    z-index: 9999;
  }

  .np-header-menu-wrapper {
    position: relative;
  }

  #site-navigation ul li {
    display: block;
    float: none;
  }

  .sub-toggle {
    background: #fff none repeat scroll 0 0;
    color: #029FB2;
    cursor: pointer;
    display: block;
    height: 24px;
    line-height: 21px;
    position: absolute;
    right: 15px;
    text-align: center;
    top: 6px;
    width: 24px;
    border: 1px solid #cfcfcf;
    font-size: 12px;
  }

  #site-navigation ul>li:hover>.sub-toggle,
  #site-navigation ul>li.current-menu-item .sub-toggle,
  #site-navigation ul>li.current-menu-ancestor .sub-toggle {
    background: #fff;
  }

  .main-small-navigation li.current-menu-item>.sub-toggle {
    background: #ffffff none repeat scroll 0 0;
  }

  .main-small-navigation li.current-menu-item>.sub-toggle i {
    color: #029FB2;
  }

  .menu-primary-container .sub-menu,
  #site-navigation li.menu-item-has-children>a:before,
  #site-navigation ul li.page_item_has_children>a:before {
    display: none;
  }

  #site-navigation ul.sub-menu,
  #site-navigation ul.children {
    position: static;
    min-width: 100%;
    opacity: 1;
    top: 0;
    left: 0;
    visibility: visible;
    display: none;
    background: none;
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    transition: none;
    transform: translateY(0);
  }

  #site-navigation ul>li:hover>.sub-menu,
  #site-navigation ul>li:hover>.children {
    top: 0;
  }

  #site-navigation ul#primary-menu>li:hover>a::after,
  #site-navigation ul#primary-menu>li.current-menu-item>a::after {
    display: none;
  }

  #site-navigation ul.sub-menu li,
  #site-navigation ul.children li {
    border-bottom: none;
  }

  #masthead.layout1 #site-navigation {
    margin-top: 0;
  }

  #primary,
  .home.blog #primary,
  #secondary,
  .home.blog #secondary {
    float: none;
    width: 100%;
  }

  .news_portal_featured_posts .layout2 .featured-middle-section {
    float: none;
    width: 100%;
    margin: 0 0 2%;
  }

  .news_portal_featured_posts .layout2 .featured-left-section .np-single-post-wrap,
  .news_portal_featured_posts .layout2 .featured-right-section .np-single-post-wrap {
    float: left;
    width: 48%;
    margin-left: 2%;
  }

  .news_portal_featured_posts .layout2 .featured-left-section,
  .news_portal_featured_posts .layout2 .featured-right-section {
    margin-left: -2%;
    width: 102%;
    float: none;
  }

  .news_portal_featured_posts .layout2 .featured-left-section:after,
  .news_portal_featured_posts .layout2 .featured-right-section:after {
    content: "";
    clear: both;
    display: block;
  }

  .news_portal_featured_posts .layout2 .featured-left-section img,
  .news_portal_featured_posts .layout2 .featured-right-section img,
  .news_portal_featured_posts .layout2 .featured-middle-section img {
    width: 100%;
  }

  .news_portal_featured_posts .layout2 .featured-left-section .np-single-post-wrap:first-child,
  .news_portal_featured_posts .layout2 .featured-right-section .np-single-post-wrap:first-child {
    margin-bottom: 2%;
  }

  #masthead.layout1 .np-header-menu-wrapper,
  #masthead.layout1 .np-header-menu-block-wrap,
  #masthead.layout1 .np-header-menu-wrapper .mt-container {
    position: static;
  }

  #masthead.layout1 .menu-toggle {
    line-height: 80px;
  }

  #masthead.layout1 .np-logo-section-wrapper {
    position: relative;
  }

  .ticker-caption {
    width: 100%;
    text-align: center;
    float: none;
  }

  .layout1-ticker .ticker-caption::after {
    display: none;
  }

  .layout1-ticker .ticker-content-wrapper {
    display: block;
    float: none;
    width: 100%;
    text-align: center;
  }

  .layout1-ticker .news-ticker-title>a {
    display: inline-block;
  }

  .layout1-ticker .ticker-content-wrapper .post-cats-list {
    display: none;
    float: none;
    margin-right: 15px;
  }

  .layout1-ticker .lSSlideOuter.vertical .lSAction>a {
    color: #fff;
    border: none;
  }
}




/* Landscape phones and down */

@media (max-width: 600px) {

  body.logged-in {
    margin-top: -50px;
    padding-top: 40px;
  }

  .np-top-right-section-wrapper .social-link a {
    margin: 8px;
  }

  .top-navigation ul li:first-child {
    border-left: none;
  }

  .news_portal_featured_slider .np-featured-section .featured-bottom-section .np-single-post-wrap,
  .news_portal_featured_slider .featured-slider-default .np-featured-section .np-single-post-wrap,
  .news_portal_featured_slider .featured-slider-layout2 .np-featured-section .np-single-post-wrap,
  .news_portal_featured_posts .layout2 .featured-left-section .np-single-post-wrap,
  .news_portal_featured_posts .layout2 .featured-right-section .np-single-post-wrap {
    width: 98%;
  }

  .news_portal_featured_posts .layout2 .featured-left-section .np-single-post-wrap,
  .news_portal_featured_posts .layout2 .featured-right-section .np-single-post-wrap {
    margin-bottom: 2%;
  }

  .news_portal_featured_posts .layout1 .np-single-post-wrap {
    margin: 2% 0 2% 2%;
    width: 97%;
  }

  .news_portal_block_posts .np-primary-block-wrap {
    width: 100%;
    float: none;
  }

  .news_portal_block_posts .np-secondary-block-wrap {
    float: none;
    margin-top: 20px;
    width: 100%;
  }

  .news_portal_block_posts .layout2 .np-primary-block-wrap .np-single-post,
  .news_portal_block_posts .layout2 .np-secondary-block-wrap .np-single-post {
    float: none;
    width: 97%;
  }

  .news_portal_block_posts .layout2 .np-primary-block-wrap .np-single-post:first-child {
    margin-bottom: 3%;
  }

  .news_portal_block_posts .layout3 .np-secondary-block-wrap .np-single-post {
    float: none;
    width: 97%;
  }

  .news_portal_block_posts .layout3 .np-secondary-block-wrap .np-single-post {
    float: none;
    width: 97%;
  }

  .news_portal_block_posts .layout3 .np-secondary-block-wrap .np-single-post img {
    width: 100%;
  }

  .np-top-left-section-wrapper .date-section,
  .top-navigation {
    display: inline-block;
    float: none;
  }

  .np-top-right-section-wrapper,
  .np-top-left-section-wrapper {
    display: block;
    float: none;
    text-align: center;
  }

  .mt-social-icons-wrapper {
    display: inline-block;
    margin-top: 8px;
  }

  .site-info,
  #footer-navigation ul {
    float: none;
    text-align: center;
  }

  .ticker-caption {
    float: none;
    text-align: center;
    width: 100%;
  }

  .ticker-content-wrapper {
    float: none;
    text-align: center;
    width: 100%;
  }

  .ticker-content-wrapper .post-cats-list {
    display: inline-block;
    float: none;
  }

  .news-ticker-title>a {
    display: inline-block;
  }

  .np-ticker-block .lSAction {
    top: 40px;
  }

  .np-archive-grid-post-wrapper article {
    width: 97%;
    display: block;
    margin-right: 0;
  }

  .np-related-section-wrapper .np-single-post {
    width: 98%;
  }

  .np-related-section-wrapper .np-single-post {
    margin-top: 20px;
    width: 98%;
  }

  .news_portal_block_posts .layout4 .np-block-posts-wrapper .np-alt-grid-post {
    display: block;
    margin-bottom: 2%;
    width: 100%;
  }

  .news_portal_block_posts .layout4 .np-block-posts-wrapper .np-alt-grid-post .np-post-content {
    height: auto;
    margin-bottom: 20px;
  }

  .news_portal_block_posts .layout4 .np-block-posts-wrapper .np-alt-grid-post:last-child .np-post-content {
    margin-bottom: 0;
  }

  .news_portal_block_posts .layout4 .np-block-posts-wrapper .np-alt-grid-post img {
    width: 100%;
  }

  .np-ticker-block .lSAction {
    top: 4px;
  }

  .np-ticker-block .lSAction a {
    color: #fff;
  }

  .news_portal_featured_posts .layout1 .np-single-post-wrap .np-post-thumb,
  .news_portal_list_posts .layout3 .np-single-post .np-post-thumb {
    width: 28%;
  }

  .news_portal_featured_posts .layout1 .np-single-post-wrap .np-post-content,
  .news_portal_list_posts .layout3 .np-single-post .np-post-content {
    float: left;
    width: 68%;
    margin-left: 4%;
  }

  .news_portal_list_posts .layout3 .np-single-post,
  .news_portal_fullwidth_posts .np-single-post {
    width: 100%;
  }

  .news_portal_list_posts .layout3 .np-single-post,
  .news_portal_fullwidth_posts .np-single-post {
    width: 100% !important;
  }

  .middle-primary .news_portal_featured_posts .layout1 .np-single-post-wrap {
    width: 98%;
  }

  #masthead.layout4 .np-social-icons-wrapper {
    width: 100%;
    text-align: center;
}

  #masthead.layout4 .np-logo-section-wrapper .mt-flex {
    display: block;
  }

  #masthead.layout4 .mt-header-search-live-wrap {
    padding: 30px 0px 0px;
  }

  #masthead.layout4 .site-title a,#masthead.layout4 .site-description {
    font-size: 20px;
  }

  #masthead.layout4 .site-branding {
    margin: 10px 0px;
    width: 70%;
    text-align: left;
  }

  .archive-masonry #primary article {
    margin-left: 0;
    width: 100%;
}

  .archive-masonry #primary .site-main,.archive-masonry .posts-navigation {
    margin-left:0;
  }

  .archive-alternatelist article .single-post-wrap,.archive-alternatelist article:nth-child(even) .single-post-wrap{
    grid-template-columns: 100%;
  }

  .archive-alternatelist .np-archive-post-content-wrapper{
    padding:20px 0px;
  }

  #masthead.layout4 .np-logo-section-wrapper{
    padding: 10px 0px;
  }

  .np-image-zoomin .np-post-thumb img, .np-image-zoomin .np-slide-thumb img{
    width: 100%;
  }

  #masthead.layout4 .np-icon-elements {
    margin: 10px 9px 0px 0;
  }

 #masthead.layout4 .live-button-wrap a{
    padding: 7px 8px;
    font-size: 0;
    margin: 6px 0px 4px 12px;
    min-width: 27px;
 }
}

@media (max-width: 480px) {
  /* .np-home-top-section .news_portal_featured_posts .np-block-wrapper.layout2 {
    padding: 10px;
  } */

  .np-related-section-wrapper .np-single-post {
    width: 98%;
  }

  .news_portal_list_posts .np-single-post .np-post-thumb,
  .news_portal_list_posts .np-single-post .np-post-content,
  .news_portal_list_posts .alternate-img .np-single-post:nth-child(2n) .np-post-content {
    float: none;
    margin-bottom: 4%;
    width: 100%;
  }

  .news_portal_list_posts .layout3 .np-single-post .np-post-content,
  .news_portal_list_posts .layout3 .np-single-post .np-post-thumb {
    float: left;
    margin-bottom: 0;
  }

  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product,
  .woocommerce-page[class*="columns-"] ul.products li.product,
  .woocommerce[class*="columns-"] ul.products li.product {
    width: 100%;
  }
}