@media screen and (max-width: 1599px) {
  .mlg_ad[data-position="sticky_left"],
  .mlg_ad[data-position="sticky_right"] {
    display: none !important;
  }
}

@media screen and (max-width: 1024px) {
  /* Main Header */
  .mlg_main-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 40;
  }
  body.admin-bar .mlg_main-header {
    top: 32px;
  }
  .mlg_main-header .mlg_mh-desktop {
    display: none;
  }
  .mlg_main-header .mlg_mh-mobile {
    display: block;
  }
  .mlg_d-main-menu {
    display: block !important;
  }
  .mlg_d-sidebar {
    display: none;
  }
}

@media screen and (min-width: 600px) and (max-width: 782px) {
  body.admin-bar .mlg_main-header {
    top: 46px;
  }
  body.admin-bar .mlg_drawer .mlg_d-content {
    height: calc(100% - 46px);
  }
}

@media screen and (max-width: 600px) {
  body.admin-bar .mlg_main-header {
    top: 0;
  }
  body.admin-bar .mlg_drawer .mlg_d-content {
    height: 100%;
  }
}

@media screen and (max-width: 768px) {
  /* General */
  .container {
    max-width: 480px;
  }

  .mlg_ad .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Single Post : Footer */
  .mlg_post-single .mlg_p-footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .mlg_post-single .mlg_p-comments-count-number {
    display: inline;
  }
  .mlg_post-single .mlg_p-comments-count-label {
    display: none;
  }
  .mlg_post-single .mlg_p-views span:last-child {
    display: none;
  }
  .mlg_post-single .mlg_p-footer .mlg_p-share .mlg_p-sh-label {
    display: none;
  }

  /* Single Post : Author Bio */
  .mlg_p-author-bio {
    padding: 1.5rem;
  }

  /* Single Post : Navigation */
  .mlg_p-navigation .mlg_p-nav-next {
    text-align: left;
  }
  .mlg_p-navigation .mlg_p-nav-prev,
  .mlg_p-navigation .mlg_p-nav-next {
    padding: 1.5rem !important;
  }

  /* Single Post : Related Posts */
  .mlg_p-related {
    padding: 1.5rem !important;
  }
}

@media screen and (max-width: 720px) {
  .mlg_main-footer {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  .mlg_site-design-2 .mlg_mf-gallery {
    margin-top: -1.5rem;
    margin-bottom: 1.5rem;
  }
  .mlg_footer-menu {
    display: none;
  }

  /* Single Post : Pagination */
  .mlg_post-single .mlg_p-content .mlg_p-pagination {
    display: flex;
    flex-direction: column-reverse;
  }
  .mlg_post-single .mlg_p-content .mlg_p-pagination > div {
    margin: 0.5rem 0;
  }

  .mlg_site-design-2 .mlg_mh-items .mlg_drawer-open {
    margin-left: 0;
  }
}

@media screen and (max-width: 480px) {
  .mlg_ad[data-position="sticky_header"],
  .mlg_ad[data-position="sticky_footer"] {
    display: block;
    position: fixed;
    top: 0;
    height: 60px;
    width: 100%;
    padding: 0 !important;
    text-align: center;
    z-index: 45;
    background-color: #fff;
  }
  .mlg_ad[data-position="sticky_footer"] {
    top: auto;
    bottom: 0;
  }
  .mlg_ad + .mlg_main-header {
    padding-top: 60px;
  }
  .mlg_featured-posts .mlg_carousel {
    margin-bottom: 0 !important;
  }
  .mlg_featured-posts .mlg_post.mlg_p-style-cover .mlg_p-image:before {
    padding-top: 92% !important;
  }

  /* Single Post : Navigation */
  .mlg_p-navigation .mlg_p-nav-prev {
    margin-bottom: 1rem;
  }
  .mlg_p-navigation .row,
  .mlg_p-navigation .col-md-6 {
    display: block;
  }
}
