/**
 * Css for responsive design
 *
 * @package Matina Pro
 */


/*--------------------------------------------------------------
## Responsive Banner and boxed layout Section
--------------------------------------------------------------*/
@media(max-width:1400px) {
  .site--boxed-layout #page {
    max-width: 1160px;
  }

  .site--boxed-layout .mt-container {
    width: 94%;
  }
}

@media(max-width:1200px) {
  .site--boxed-layout #page {
    max-width: 100%;
  }
}


@media(min-width:1600px) {

  .banner-layout-default .banner-image,
  .banner-layout-default .banner-content-wrapper,
  .banner-layout-one .banner-image,
  .banner-layout-four .banner-image {
    height: 600px;
  }

  .mt-container {
    width: 1400px;
    margin: 0 auto;
  }

  .banner-layout-four .mt-container {
    margin: 0 auto;
  }
}

@media(max-width:991px) {

  .banner-layout-default .banner-image,
  .banner-layout-default .banner-content-wrapper {
    width: 100%;
  }

  .banner-layout-one .banner-content .banner-title {
    font-size: 30px;
  }

  .banner-layout-two .banner-content-wrapper {
    padding: 30px;
  }

  .banner-layout-three .banner-content-wrapper .banner-content {
    width: 100%;
  }

  .banner-layout-default .banner-content-wrapper {
    height: auto;
    padding: 30px 30px 50px 30px;
  }

  #banner-section.banner-layout-default .lSAction>.lSNext {
    TOP: AUTO;
    BOTTOM: 65px;
    RIGHT: 0;
    LEFT: AUTO;
  }
}

@media(max-width:767px) {

  .banner-layout-default .banner-image,
  .banner-layout-one .banner-image,
  .banner-layout-three .banner-image,
  .banner-layout-four .banner-image {
    height: 300px;
  }

  .banner-layout-two .banner-image {
    height: 400px;
  }

  .banner-layout-two .banner-content-wrapper {
    height: 50%;
  }

  .banner-layout-default .button-wrapper {
    margin-top: 20px;
  }

  .banner-layout-default .banner-button {
    padding: 7px 20px;
  }

  .banner-layout-default .banner-content-wrapper {
    text-align: center;
  }

  .banner-layout-default .banner-description,
  .banner-layout-one .banner-content .banner-description {
    display: none;
  }

  #banner-section .banner-title {
    font-size: 24px;
  }

  .banner-layout-one .banner-content .banner-title {
    width: 100%;
    margin-bottom: 15px;
  }

  .banner-layout-one .lSAction a {
    top: 30%;
  }

  .banner-layout-three .banner-content-wrapper {
    padding: 0 30px;
  }

  .banner-layout-three .banner-content-wrapper .banner-description {
    display: none;
  }

  .banner-layout-three .banner-content-wrapper .button-wrapper {
    margin-left: 0;
  }
}

/* Archive section */
@media(max-width:991px) {
  .archive--layout-default article.post {
    width: 47%;
  }

  .archive--layout-one article.post {
    width: 97%;
  }

  .archive--layout-two .post-content-wrapper {
    padding-left: 25px;
  }

  .archive--layout-two article.post .entry-title {
    line-height: 1.2;
  }

  .archive--layout-two article.post .entry-title a {
    font-size: 20px;
  }

  .archive--layout-two article.post {
    flex-wrap: wrap;
  }

  .archive--layout-two .entry-readmore {
    display: none;
  }

  .no-results.not-found {
    margin-bottom: 30px;
  }
}

@media(max-width:767px) {
  .archive--layout-default article.post {
    width: 97%;
  }

  .archive--layout-one .post-content-wrapper {
    padding: 15px 0;
  }

  .archive--layout-two .entry-thumbnail,
  .archive--layout-two .post-content-wrapper,
  .archive--layout-three .entry-thumbnail,
  .archive--layout-three .post-content-wrapper {
    width: 100%;
  }

  .archive--layout-two .entry-readmore {
    display: block
  }

  .archive--layout-four article.post {
    width: 100%;
  }

  .archive--layout-three article.post {
    flex-wrap: wrap;
  }

  .archive--layout-three .post-content-wrapper {
    padding-left: 0;
  }

}

/* Header Section */
@media(max-width:1366px) {
  .mt-container {
    width: auto !important;
    margin: 0 4%;
  }
}

@media(max-width:991px) {
  #mt-topbar .topbar-elements-wrapper {
    font-size: 12px;
  }

  #mt-topbar #topbar-menu li a {
    font-size: 12px;
  }

  #mt-topbar #top-navigation .menu-toggle {
    display: none;
  }

  .mt-topbar-wrapper.layout-1 .top-date-wrap,
  .mt-topbar-wrapper.layout-2 .top-date-wrap {
    margin: 0 15px;
  }

  .header-social-wrapper,
  .header-search-wrapper {
    display: none;
  }

  .header--layout-four .header-social-wrapper,
  .header--layout-four .header-search-wrapper {
    display: block;
  }

  .header--layout-four .menu-toggle a {
    color: #fff;
  }

  .header--layout-default .main-navigation {
    width: auto;
  }

  .header--layout-default .header-logo-menu-wrapper {
    justify-content: space-between;
    width: 100%;
  }

  .header--layout-one .header-elements-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .header--layout-one .main-navigation {
    width: 100%;
  }

  .header--layout-one .header-search-wrapper {
    display: block;
  }

  .header--layout-one,
  .header--layout-two {
    margin-bottom: 10px;
  }

  .header--layout-one .header-elements-wrapper .header-logo-wrapper,
  .header--layout-one .header-elements-wrapper .header-menu-icons-wrapper {
    width: 100%;
  }

  .header--layout-two .header-elements-wrapper {
    flex-direction: row-reverse;
  }

  .header--layout-two .header-elements-wrapper .right-elements-wrapper {
    display: none;
  }

  .header--layout-two .header-elements-wrapper .site-branding {
    width: 50%;
    text-align: left;
  }

  .header--layout-two .header-elements-wrapper .main-navigation {
    width: 50%;
    text-align: right;
  }

  .header--layout-two .header-elements-wrapper .main-navigation .menu-toggle {
    display: inline-block;
  }

  .header--layout-three {
    margin-bottom: 0;
  }

  .header--layout-three .header-menu-wrapper .main-navigation {
    border: none;
  }

  .header--layout-three .header-elements-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .scroll-up .sticky-elements {
    padding: 5px 20px;
  }
}

@media(max-width:767px) {
  #mt-topbar .topbar-elements-wrapper {
    flex-wrap: wrap;
    justify-content: center;
  }

  #mt-topbar #top-navigation {
    width: 100%;
    text-align: center;
  }

  .site-branding a .custom-logo,
  .header--layout-one .site-branding a .custom-logo {
    height: 70px;
  }

  .header--layout-default .site-branding {
    width: 80%;
  }
}

/* Featured Section */
@media(max-width:1400px) {
  #featured-section.column-5 .featured-items-wrapper .single-item-wrap {
    width: 31.33%;
  }

  #featured-section.column-5 .featured-items-wrapper .single-featured-wrap,
  #featured-section.column-4 .featured-items-wrapper .single-featured-wrap {
    width: 31.33%;
  }
}

@media(max-width:992px) {

  #featured-section.column-5 .featured-items-wrapper .single-item-wrap,
  #featured-section.column-4 .featured-items-wrapper .single-item-wrap,
  #featured-section.column-3 .featured-items-wrapper .single-item-wrap {
    width: 48%;
  }

  #featured-section.column-5 .featured-items-wrapper .single-featured-wrap,
  #featured-section.column-4 .featured-items-wrapper .single-featured-wrap,
  #featured-section.column-3 .featured-items-wrapper .single-featured-wrap {
    width: 48%;
  }

}

@media(max-width:767px) {
  .featured-categories--layout-default .section-title-wrapper {
    width: 100%;
    float: none;
  }

  .featured-categories--layout-default .section-title-wrapper {
    height: auto;
  }

  .featured-categories--layout-one:before {
    top: 230px;
  }

  #featured-section .section-title-wrapper .section-title {
    font-size: 22px;
  }

  .featured-categories--layout-one.featuredCarousel .featured-carousel-control .featuredCarousel-controls__prev {
    margin-right: 0;
  }

  #featured-section.column-5 .featured-items-wrapper .single-item-wrap,
  #featured-section.column-4 .featured-items-wrapper .single-item-wrap,
  #featured-section.column-3 .featured-items-wrapper .single-item-wrap,
  #featured-section.column-2 .featured-items-wrapper .single-item-wrap {
    width: 98%;
  }

  #featured-section.column-5 .featured-items-wrapper .single-featured-wrap,
  #featured-section.column-4 .featured-items-wrapper .single-featured-wrap,
  #featured-section.column-3 .featured-items-wrapper .single-featured-wrap,
  #featured-section.column-2 .featured-items-wrapper .single-featured-wrap {
    width: 98%;
  }

  .featured-categories--layout-default .section-title-wrapper {
    text-align: center;
  }

  .featured-categories--layout-default .featured-items-wrapper {
    width: 100%;
  }

  .mt-page-header.background-image-page-header {
    height: 200px;
  }
}

@media(max-width:320px) {
  #featured-section .section-title {
    font-size: 18px;
  }
}

/* Single Page */

@media(max-width:1500px) {

  .related-posts-wrapper.column-6 .related-post,
  .related-posts-wrapper.column-5 .related-post {
    width: 23%;
  }
}

@media(max-width:1400px) {
  .single--layout-four article .post-title-wrapper .cat-links {
    display: block;
  }

  .single--layout-four .meta-content-wrapper span.byline {
    padding-left: 0;
  }

  .single--layout-four .meta-content-wrapper span.byline:before {
    display: none;
  }
}

@media(max-width:1200px) {
  .entry-author-box.author-box--layout-one {
    width: 100%;
  }
}

@media(max-width:991px) {
  .entry-author-box.author-box--layout-two {
    width: 100%;
  }

  .comments-area .comment-form .comment-form-author,
  .comments-area .comment-form .comment-form-email,
  .comments-area .comment-form .comment-form-url {
    width: 100%;
  }

  .single--layout-two article.post .cat-links a {
    font-size: 12px;
  }

  .entry-author-box.author-box--layout-default .post-author-info {
    width: 100%;
  }

  .related-posts-wrapper.column-6 .related-post,
  .related-posts-wrapper.column-5 .related-post,
  .related-posts-wrapper.column-4 .related-post,
  .related-posts-wrapper.column-3 .related-post {
    width: 48%;
  }

  .related-posts--layout-default .related-post .post-content-wrapper {
    background: rgba(0, 0, 0, 0.2);
    opacity: 1;
  }

  .related-posts--layout-default .related-post .post-content-wrapper .related-post-title a {
    color: #fff;
  }

  .single--layout-three .image-content-wrapper .entry-header {
    width: 100%;
  }

  .entry-author-box.author-box--layout-default .post-author-info {
    width: 70%;
  }
}

@media(max-width:767px) {
  .single-post-navigation .nav-links a span.post-title {
    font-size: 18px;
  }

  .entry-author-box.author-box--layout-one {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .entry-author-box.author-box--layout-one .article-author-avatar {
    margin-right: 0;
  }

  .single-post-navigation.post-navigation--layout-one .nav-links {
    flex-wrap: wrap;
  }

  .single-post-navigation.post-navigation--layout-one .post-navigation .nav-next {
    width: 100%;
  }

  .post-navigation--layout-two .nav-links a {
    font-size: 14px;
  }

  .related-posts-wrapper.column-6 .related-post,
  .related-posts-wrapper.column-5 .related-post,
  .related-posts-wrapper.column-4 .related-post,
  .related-posts-wrapper.column-3 .related-post,
  .related-posts-wrapper.column-2 .related-post {
    width: 98%;
  }

  .single-post .entry-thumbnail .post-thumb {
    height:auto;
  }

  .single--layout-two article.post .image-content-wrapper {
    top: 50px;
  }

  .single--layout-two article.post .image-content-wrapper .entry-title {
    font-size: 24px;
  }

  .single-post article.post .entry-title {
    font-size: 24px;
  }

  .single--layout-two article.post .single-entry-meta span a {
    font-size: 12px;
  }

  .single--layout-two article.post .entry-content {
    width: 90%;
  }

  .single--layout-two .entry-author-box {
    width: auto;
  }

  .single--layout-four article .post-title-wrapper {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .single--layout-four article .post-title-wrapper .meta-content-wrapper {
    margin-bottom: 10px;
  }

  .single--layout-four article .post-title-wrapper .meta-content-wrapper,
  .single--layout-four article .post-title-wrapper .entry-header {
    width: 100%;
  }

  .entry-author-box.author-box--layout-one .article-author-avatar {
    width: 100%;
  }

  .entry-author-box.author-box--layout-default .article-author-avatar {
    margin-right: 0;
  }

  .entry-author-box.author-box--layout-default {
    justify-content: center;
    text-align: center;
  }

  .entry-author-box.author-box--layout-default .post-author-info {
    width: 100%;
  }

}


/* Responsive menu toggle */
@media(max-width:991px) {
  #masthead .primary-menu-wrap {
    position: fixed;
    top: 0;
    right: -300px;
    width: 400px;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    height: 100%;
    z-index: 9999;
    padding: 70px 30px;
    background: #fff;
    transition: 0.5s;
    height: 100%;
    overflow: scroll;
  }

  .logged-in #masthead .primary-menu-wrap {
    padding-top: 80px;
  }

  .logged-in .main-menu-close {
    top: 50px;
  }

  .logged-in .scroll-up .sticky-elements,
  .logged-in .scroll-down .sticky-elements {
    padding-top: 44px;
  }

  #masthead .primary-menu-wrap.menu-active {
    right: 0;
    opacity: 1;
    visibility: visible;
  }

  #masthead .primary-menu-wrap.menu-active #primary-menu,
  #masthead .primary-menu-wrap.menu-active #primary-menu>ul {
    display: block;
  }

  #masthead .primary-menu-wrap.menu-active #primary-menu li {
    display: block;
    text-align: center;
    border-bottom: 2px dotted #ccc;
    padding: 10px 0;
    margin: 0;
  }

  #masthead .primary-menu-wrap.menu-active #primary-menu li:last-of-type {
    border-bottom: none;
  }

  #masthead .primary-menu-wrap.menu-active #primary-menu li a {
    padding: 5px;
    display: block;
    font-weight: 600;
  }

  .main-menu-close {
    display: block;
    font-size: 28px;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
  }

  #site-navigation #primary-menu li.menu-item-has-children a:after,
  #site-navigation ul li.menu-item-has-children>a::after,
  #site-navigation ul li.page_item_has_children>a::after {
    display: none;
  }

  #masthead #primary-menu li .sub-toggle {
    position: absolute;
    right: 0;
    top: 15px;
    padding: 0 10px !important;
    background: #eee;
    color: #555;

  }

  #site-navigation #primary-menu li {
    position: relative;
  }

  #site-navigation #primary-menu li .sub-menu,
  #site-navigation #primary-menu li .children {
    box-shadow: none;
    position: static;
    transition: none;
    min-width: auto;
    width: 100%;
    float: none;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  #masthead #site-navigation #primary-menu li .sub-menu li,
  #masthead #site-navigation #primary-menu li .children li {
    border-bottom: none;
    padding: 3px;
  }

  #masthead #site-navigation #primary-menu li .sub-menu li a,
  #masthead #site-navigation #primary-menu li .children li a {
    border-top: none;
    font-weight: 500;
    padding: 10px;
  }
}

@media(max-width:767px) {
  #masthead .primary-menu-wrap {
    width: 300px;
    padding: 50px 30px;
  }
}

@media(max-width:600px) {

  .logged-in .scroll-up .sticky-elements,
  .logged-in .scroll-down .sticky-elements {
    padding-top: 10px;
  }

  .logged-in .is-sticky #masthead.header--layout-default,
  .logged-in #masthead.header--layout-one .is-sticky #header-sticky,
  .logged-in .is-sticky #masthead.header--layout-two,
  .logged-in #masthead.header--layout-three .is-sticky #header-sticky {
    top: 0 !important;
  }
}

/* 404 Error Page */
@media(max-width:1200px) {
  .error--layout-two .error-404 {
    padding: 50px;
  }

  .error404 .error-404 .page-content .search-form .search-field {
    width: auto;
  }
}

@media(max-width:991px) {
  .error--layout-two .error-404 {
    padding-right: 0;
  }

  .error--layout-two .error-404 .page-caption {
    font-size: 175px;
  }

  .error--layout-two .error-404 .page-header,
  .error--layout-two .error-404 .page-content {
    padding-left: 280px;
  }

}

@media(max-width:767px) {
  .error--layout-default .error-404 {
    padding: 0 15px 50px 15px;
  }

  .error--layout-default .error-404 .page-caption {
    font-size: 130px;
  }

  .error404 .error-404 .page-content .search-form .search-field {
    width: auto;
  }

  .error--layout-one .error-404 {
    padding: 40px 0;
  }

  .error--layout-one .error-404 .page-caption {
    font-size: 130px;
  }

  .error--layout-one .error-404 .page-header {
    top: 35%;
  }

  .error--layout-one .error-404 .page-header h1 {
    font-size: 24px;
  }

  .error--layout-two .error-404 {
    padding-left: 0;
    padding-top: 0;
    text-align: center;
  }

  .error--layout-two .error-404 .page-caption {
    position: relative;
  }

  .error--layout-two .error-404 .page-header,
  .error--layout-two .error-404 .page-content {
    padding-left: 0;
  }
}

/* Footer Section */
@media(max-width:1400px) {
  #colophon .footer-widget--four-columns .footer-widget-wrapper .footer-widget {
    padding: 0;
  }
}

@media(max-width:1200px) {
  #colophon .footer-widget--four-columns .footer-widget-wrapper .footer-widget {
    width: 31.33%;
  }

}

@media(max-width:991px) {
  #colophon .footer-bottom-wrapper {
    flex-direction: column;
  }

  #colophon #bottom-area .site-info {
    margin-bottom: 15px;
  }

  #colophon #bottom-area .footer-navigation {
    margin-bottom: 15px;
  }

  #colophon .widget-area .footer-widget-wrapper .footer-widget {
    width: 48%;
    padding: 0 15px;
  }

  #colophon .widget.matina_latest_posts .posts-wrapper .single-post-wrap .post-thumb {
    width: 15%;
  }

  .widget.matina_latest_posts .posts-wrapper .single-post-wrap .post-content-wrap {
    width: 85%;
  }

  #colophon .footer-widget .widget {
    margin-bottom: 20px;
  }

  .footer--layout-default .footer-bottom-wrapper .site-info,
  .footer--layout-default .footer-bottom-wrapper .footer-navigation,
  .footer--layout-default .footer-bottom-wrapper .footer-social-icons {
    width: 100%;
    text-align: center;
    float: none;
  }

  .footer--layout-default .footer-bottom-wrapper .matina-social-icons-wrapper {
    justify-content: center;
  }

  .footer--layout-three .footer-bottom-wrapper .bottom-elements-wrapper .left-content-wrap,
  .footer--layout-three .footer-bottom-wrapper .bottom-elements-wrapper .middle-content-wrap,
  .footer--layout-three .footer-bottom-wrapper .bottom-elements-wrapper .right-content-wrap {
    width: 100%;
    text-align: center;
    float: none;
  }

  .footer--layout-three .footer-bottom-wrapper .bottom-elements-wrapper .right-content-wrap {
    margin-top: 20px;
  }

  .footer--layout-four .footer-bottom-wrapper .elements-content-wrap .site-info,
  .footer--layout-four .footer-bottom-wrapper .elements-content-wrap .footer-navigation,
  .footer--layout-four .footer-bottom-wrapper .elements-content-wrap .footer-social-icons {
    width: 100%;
    float: none;
    text-align: center;
  }

  .footer--layout-four .footer-bottom-wrapper .matina-social-icons-wrapper {
    justify-content: center;
  }
}

@media(max-width:767px) {
  #colophon .footer-bottom-wrapper {
    font-size: 14px;
  }

  #colophon .footer-navigation ul {
    text-align: center;
  }

  #colophon .footer-navigation #footer-menu li {
    padding: 5px 10px;
  }

  #colophon .widget.matina_latest_posts .posts-wrapper .single-post-wrap .post-thumb {
    width: 25%;
  }

  .widget.matina_latest_posts .posts-wrapper .single-post-wrap .post-content-wrap {
    width: 75%;
  }

  #colophon .widget-area .footer-widget-wrapper .footer-widget {
    width: 98%;
    padding: 0 30px;
  }

  .mt-container {
    margin: 0 3%;
  }

}

/* Widget Area */
@media(max-width:991px) {

  .right-sidebar #primary,
  .right-sidebar #secondary,
  .left-sidebar #primary,
  .left-sidebar #secondary {
    width: 100% !important;
  }

  .no-sidebar-center #primary {
    width: 100% !important;
  }

}