/* Viewport Size 979px */
@media screen and (max-width: 979px) {
  .header-logo a {
    font-size: 80px !important;
    line-height: 1 !important;
  }

  .site-description {
    font-size: 13px !important;
  }

  #top-bar>div,
  #main-nav>div,
  #featured-links,
  .main-content,
  .page-footer-inner,
  .featured-slider-area.boxed-wrapper {
    padding-left: 30px;
    padding-right: 30px;
  }

  .slider-item-bg,
  #featured-slider.boxed-wrapper .slider-item-bg {
    height: 500px;
  }

  #top-menu,
  top-menu-container,
  .main-menu-container,
  #main-menu {
    display: none;
  }

  #main-nav {
    text-align: right !important;
    min-height: auto !important;
    margin-right: 0 !important;
  }

  #main-nav .boxed-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .mobile-menu-btn {
    display: inline-block;
    padding: 0 !important;
    font-size: 32px !important;
    color: #ffffff;
  }

  .main-nav-sidebar {
    position: absolute;
    top: 0px;
    left: 30px;
    z-index: 1;
    float: none;
    margin: 0;
  }

  .main-nav-icons {
    position: absolute;
    top: 0px;
    right: 30px;
    z-index: 2;
    float: none;
    margin: 0;
  }

  #main-nav {
    text-align: center !important;
  }

  .mini-logo {
    position: absolute;
    left: auto;
    top: 0;
  }

  .mini-logo a {
    max-width: 80px !important;
  }

  .main-nav-sidebar~.mini-logo {
    margin-left: 20px;
  }

  .main-container {
    width: 100% !important;
    margin: 0 !important;
  }

  .sidebar-left,
  .sidebar-right {
    width: 100% !important;
    padding: 0 !important;
  }

  .sidebar-left-wrap,
  .sidebar-right-wrap,
  .footer-widgets .tunga-widget {
    float: none !important;
    width: 65% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .featured-slider-area.boxed-wrapper {
    padding: 0 !important;
  }

  #featured-slider .slick-arrow {
    display: none !important;
  }

  .tunga-sidebar-right-wrap {
    position: fixed;
    top: 0;
    right: -80%;
    width: 80%;
    height: 100%;
    background-color: #1f1f1f;
    z-index: 10002;
    transition: right 0.3s;
  }

  .entry-header.open-sidebar-right {
    left: -80%;
  }

  .tunga-sidebar-right-wrap.open-sidebar-right {
    right: 0;
  }

  .page-content.open-sidebar-right {
    margin-right: 80%;
  }

  .tunga-sidebar-right-wrap {
    display: block;
  }

  .tunga-sidebar-right-wrap {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    overflow: hidden;
    color: rgb(0 0 0 / 0.8);
  }

  .tunga-sidebar-right-wrap .mobile-logo {
    padding: 23px 20px;
  }

  .tunga-sidebar-right-wrap .tunga-sidebar-right {
    padding: 0 20px;
  }

  .tunga-sidebar-right-wrap ul {
    list-style: none;
    display: block;
    padding: 0;
    margin: 0;
  }

  .tunga-sidebar-right-wrap ul li {
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    position: relative;
    padding: 0;
    margin: 0;
    color: rgb(0 0 0 / 0.8);
    border-color: rgb(0 0 0 / 0.15);
  }

  .tunga-sidebar-right-wrap ul li a {
    color: #979797;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding-top: 17px;
    padding-bottom: 17px;
    transition: color 150ms;
  }

  .tunga-sidebar-right-wrap ul li a:after {
    border-color: #3f3f3f;
    inset-inline-end: 0;
    content: "";
    border-bottom-width: 1px;
    border-bottom-style: solid;
    display: block;
    position: absolute;
    inset-inline-start: 0;
    bottom: 0;
  }
}

/* Viewport Size 768px */
@media screen and (max-width: 768px) {

  .slider-item-bg,
  #featured-slider.boxed-wrapper .slider-item-bg {
    height: 360px;
  }

  .slider-content,
  .slider-read-more {
    display: none !important;
  }

  .slider-categories {
    margin-bottom: 8px !important;
    letter-spacing: 1px;
    font-size: 10px !important;
  }

  .slider-dots li {
    width: 11px;
    height: 11px;
    margin-right: 7px;
  }

  #featured-links .featured-link {
    width: 100% !important;
    margin-right: 0 !important;
    margin-bottom: 20px;
  }

  #featured-links .featured-link:last-of-type {
    margin-bottom: 0;
  }

  .comments-area {
    margin-bottom: 50px;
  }

  .comment-form-author input,
  .comment-form-email input,
  .comment-form-url input,
  .wpcf7 input[type="text"],
  .wpcf7 input[type="email"],
  .wpcf7 input[type="url"] {
    width: 100% !important;
  }

  .scrolltop {
    right: 30px;
    bottom: 60px;
  }

  .slider-dots {
    bottom: 10px;
    margin-bottom: 0;
  }
}

/* Viewport Size 640px */
@media screen and (max-width: 640px) {

  .slider-item-bg,
  #featured-slider.boxed-wrapper .slider-item-bg {
    height: 330px;
  }

  .related-posts section {
    width: 100%;
    margin: 0 0 25px;
  }

  .related-posts {
    padding-bottom: 0;
  }

  .sidebar-left-wrap,
  .sidebar-right-wrap,
  .related-posts section img,
  .footer-widgets .tunga-widget {
    width: 100% !important;
  }

  #page-header .entry-header {
    height: auto;
    padding: 70px 0;
  }

  .header-logo {
    padding-top: 0 !important;
  }

  .header-logo a {
    font-size: 45px !important;
    line-height: 1 !important;
  }

  .blog-grid>li {
    width: 100% !important;
    margin-right: 0 !important;
  }

  [data-layout*="list"] .blog-grid .post-media,
  [data-layout*="list"] .blog-grid .post-content-wrap {
    float: none !important;
    width: 100% !important;
    padding: 0 !important;
  }

  [data-layout*="list"] .blog-grid .post-media {
    margin: 0 auto 20px auto;
  }

  .blog-grid .post-header,
  .blog-grid .read-more,
  [data-layout*="list"] .blog-grid .post-content-wrap {
    text-align: center !important;
  }

  .footer-copyright .copyright-info,
  .footer-copyright .credit,
  .footer-copyright .footer-socials {
    width: 100%;
    float: none;
    text-align: center;
  }

  .footer-copyright .footer-socials {
    margin-top: 12px;
  }

  .sidebar-alt {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .sticky {
    padding: 20px !important;
  }

  .slider-info {
    padding: 10px;
  }

  .post-slider .prev-arrow,
  .post-slider .next-arrow {
    padding: 0 10px !important;
    margin-top: -14px !important;
    font-size: 30px !important;
  }

  .post-content>p:first-of-type:first-letter {
    font-family: inherit !important;
    float: none !important;
    margin: 0 !important;
    font-size: inherit !important;
    line-height: inherit !important;
    text-align: inherit !important;
    text-transform: inherit !important;
    color: inherit !important;
  }

  .tunga-instagram-widget .meks-instagram-widget>div,
  .tunga-instagram-widget #sbi_images>div {
    display: none !important;
  }

  .tunga-instagram-widget .meks-instagram-widget>div:nth-child(-n + 4),
  .tunga-instagram-widget #sbi_images>div:nth-child(-n + 4) {
    display: block !important;
  }
}

/* Viewport Size 480px */
@media screen and (max-width: 480px) {

  #top-bar>div,
  #main-nav>div,
  #featured-links,
  .main-content,
  .page-footer-inner {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .slider-item-bg,
  #featured-slider.boxed-wrapper .slider-item-bg {
    height: auto;
  }

  #featured-slider .prev-arrow,
  #featured-slider .next-arrow,
  .single-navigation {
    display: none !important;
  }

  .slider-title {
    font-size: 28px;
    line-height: 30px;
    margin-bottom: 18px;
  }

  .post-title,
  .page-title {
    font-size: 33px;
    line-height: 38px !important;
  }

  .main-nav-sidebar {
    left: 20px !important;
  }

  .main-nav-icons {
    right: 20px !important;
  }

  .comment-reply-link {
    display: block;
    float: none;
    margin: 0;
  }
}

/* Viewport Size 320px */
@media screen and (max-width: 320px) {
  .post-content {
    text-align: left;
  }
}

/* Wp def gallery */
@media screen and (min-width: 950px) {

  .gallery-columns-2 .gallery-item:nth-child(2n + 2),
  .gallery-columns-3 .gallery-item:nth-child(3n + 3),
  .gallery-columns-4 .gallery-item:nth-child(4n + 4),
  .gallery-columns-5 .gallery-item:nth-child(5n + 5),
  .gallery-columns-6 .gallery-item:nth-child(6n + 6),
  .gallery-columns-7 .gallery-item:nth-child(7n + 7),
  .gallery-columns-8 .gallery-item:nth-child(8n + 8),
  .gallery-columns-9 .gallery-item:nth-child(9n + 9) {
    margin-right: 0 !important;
  }

  .gallery-columns-2 .gallery-item:nth-child(2n + 2)+li,
  .gallery-columns-3 .gallery-item:nth-child(3n + 3)+li,
  .gallery-columns-4 .gallery-item:nth-child(4n + 4)+li,
  .gallery-columns-5 .gallery-item:nth-child(5n + 5)+li,
  .gallery-columns-6 .gallery-item:nth-child(6n + 6)+li,
  .gallery-columns-7 .gallery-item:nth-child(7n + 7)+li,
  .gallery-columns-8 .gallery-item:nth-child(8n + 8)+li,
  .gallery-columns-9 .gallery-item:nth-child(9n + 9)+li {
    clear: both;
  }
}

@media screen and (max-width: 950px) {
  .gallery-item {
    width: -webkit-calc((100% - (5px * 1)) / 2 - 1px) !important;
    width: calc((100% - (5px * 1)) / 2 - 1px) !important;
  }

  .gallery-item:nth-child(2n + 2) {
    margin-right: 0 !important;
  }

  .gallery-columns-1 .gallery-item {
    width: 100% !important;
  }
}

@media screen and (max-width: 480px) {
  .gallery-item {
    width: 100% !important;
    float: none !important;
  }
}

/* WooCommerce */
@media screen and (max-width: 768px) {

  .woocommerce .page-content ul.products li.product,
  .woocommerce-page .page-content ul.products li.product,
  .woocommerce-page[class*="columns-"] .page-content ul.products li.product,
  .woocommerce[class*="columns-"] .page-content ul.products li.product {
    width: 48% !important;
    float: left;
    clear: both;
  }

  .woocommerce .woocommerce-checkout-review-order table.shop_table,
  .woocommerce-checkout-review-order .woocommerce-checkout-payment,
  .woocommerce .cart-collaterals .cross-sells ul.products li,
  .woocommerce-page .cart-collaterals .cross-sells ul.products li {
    float: none;
    width: 100%;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation {
    width: 100%;
    margin-bottom: 40px;
  }

  .woocommerce ul.products li.product:nth-child(odd),
  .woocommerce-page ul.products li.product:nth-child(odd) {
    margin-right: 4% !important;
  }

  .woocommerce ul.products li.product:nth-child(even),
  .woocommerce-page ul.products li.product:nth-child(even) {
    margin-right: 0 !important;
  }

  .woocommerce .woocommerce-checkout-review-order table.shop_table,
  .woocommerce-checkout-review-order .woocommerce-checkout-payment {
    float: none !important;
    width: 100% !important;
  }
}

@media screen and (max-width: 640px) {

  .woocommerce .page-content ul.products li.product,
  .woocommerce-page .page-content ul.products li.product,
  .woocommerce-page[class*="columns-"] .page-content ul.products li.product,
  .woocommerce[class*="columns-"] .page-content ul.products li.product {
    width: 100% !important;
    float: none;
    clear: both;
  }

  .woocommerce-page table.cart td.actions .coupon .input-text {
    margin-bottom: 7px;
  }

  .woocommerce-page table.cart td.actions .coupon .input-text+.button {
    display: block;
    float: none !important;
  }

  .woocommerce .woocommerce-ordering {
    float: left;
    margin-bottom: 25px;
  }

  .woocommerce .woocommerce-result-count,
  .woocommerce-page .woocommerce-result-count {
    float: none;
  }
}

/* Page Header */
@media screen and (max-width: 1280px) {
  /* .entry-header {
    height: 430px !important;
  } */
}

@media screen and (max-width: 1080px) {
  /* .entry-header {
    height: 350px !important;
  } */

  .logo-img {
    max-width: 400px !important;
  }
}

@media screen and (max-width: 880px) {
  /* .entry-header {
    height: 290px !important;
  } */

  .logo-img {
    max-width: 300px !important;
  }
}

@media screen and (max-width: 750px) {
  /* .entry-header {
    height: 250px !important;
  } */

  .logo-img {
    max-width: 250px !important;
  }
}

@media screen and (max-width: 690px) {
  .logo-img {
    max-width: 200px !important;
  }
}

@media screen and (max-width: 550px) {
  #page-wrap {
    overflow-x: hidden;
  }

  .entry-header {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    background: #1e1e1e;
    height: auto !important;
    padding: 10px 0 !important;
    transition: margin-right 0.3s !important;
  }

  #main-nav {
    text-align: right !important;
    min-height: auto !important;
    margin-right: 0 !important;
  }

  #main-nav .boxed-wrapper {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .page-content {
    display: flex;
    height: 100%;
    padding-top: 80px !important;
    flex-wrap: wrap;
  }

  .page-content>.featured-slider-area,
  .page-content>.container {
    transition: margin-right 0.3s;
  }

  .page-content>.featured-slider-area {
    width: 100%;
    height: auto;
  }
}