/*
 * AstronomyClub responsive enhancements
 * Added by Celestial Web Development
 */

img,
iframe,
embed,
object,
video {
  max-width: 100%;
  height: auto;
}

.entry-content table,
.widget table,
#wp-calendar,
.wp-block-calendar table,
.tribe-events-calendar-month__table,
.tribe-events .tribe-events-calendar-month,
.tribe-common .tribe-common-l-container,
.fc,
.mec-calendar,
.em-calendar,
.ai1ec-calendar,
.ect-calendar {
  max-width: 100%;
}

@media screen and (max-width: 1024px) {
  .mh-wrapper,
  .mh-header-1,
  .mh-header-2,
  .mh-slider-content,
  .mh-spotlight-widget,
  .mh-author-bio-widget,
  .mh-posts-horizontal-widget,
  .mh-posts-lineup-content {
    padding-left: 18px;
    padding-right: 18px;
  }

  .mh-main-nav li a,
  .mh-extra-nav li a,
  .mh-footer-nav li a {
    padding-left: 12px;
    padding-right: 12px;
  }

  .mh-header-nav li a {
    padding-left: 12px;
    padding-right: 12px;
  }

  .entry-content table,
  .widget table,
  .wp-block-calendar table,
  #wp-calendar,
  .tribe-events-calendar-month__table,
  .fc-scrollgrid,
  .mec-calendar table,
  .em-calendar,
  .ai1ec-calendar-view,
  .ect-calendar {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .entry-content table tbody,
  .entry-content table thead,
  .entry-content table tfoot,
  .entry-content table tr,
  .entry-content table th,
  .entry-content table td {
    white-space: nowrap;
  }

  .tribe-events .tribe-events-calendar-month,
  .tribe-events .tribe-events-view,
  .tribe-events .tribe-common-g-row,
  .tribe-common .tribe-common-l-container,
  .fc-view-harness,
  .mec-wrap,
  .ai1ec-calendar-view-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .tribe-events-calendar-month__table,
  .fc-scrollgrid,
  .mec-calendar table,
  .em-calendar,
  .ai1ec-month-view,
  .ect-calendar {
    min-width: 720px;
  }
}

@media screen and (max-width: 900px) {
  .mh-site-logo img,
  .custom-logo-link img {
    max-width: 100%;
    height: auto;
  }

  .mh-header-widget-2 img,
  .mh-footer-widget img,
  .mh-widget img {
    height: auto;
  }

  .mh-content,
  .mh-sidebar,
  .mh-right-sb #main-content,
  .mh-left-sb #main-content,
  .mh-home-content,
  .mh-home-sidebar,
  .mh-home-area-3,
  .mh-home-area-4 {
    width: 100%;
    float: none;
    margin-left: 0;
    margin-right: 0;
  }

  .mh-home-area-4,
  .mh-sidebar,
  .mh-home-sidebar {
    margin-top: 20px;
  }
}

@media screen and (max-width: 767px) {
  .mh-wrapper,
  .mh-header-1,
  .mh-header-2,
  .mh-slider-content,
  .mh-spotlight-widget,
  .mh-author-bio-widget,
  .mh-posts-horizontal-widget,
  .mh-posts-lineup-content,
  .mh-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .mh-site-identity,
  .mh-site-logo,
  .mh-site-logo a,
  .mh-site-logo img,
  .custom-logo-link {
    width: 100%;
    text-align: center;
  }

  .mh-header-title,
  .entry-header .entry-title,
  h1 {
    word-break: break-word;
  }

  .mh-posts-grid-thumb,
  #mh-mobile .mh-custom-posts-thumb-xl,
  #mh-mobile .mh-posts-list-thumb,
  #mh-mobile .mh-posts-focus-thumb-small {
    max-width: 100px;
  }

  .tribe-events .tribe-events-calendar-list__event-date-tag,
  .tribe-events .tribe-events-calendar-list__event-date-tag-datetime {
    min-width: 0;
  }
}

@media screen and (max-width: 480px) {
  .mh-wrapper,
  .mh-header-1,
  .mh-header-2,
  .mh-slider-content,
  .mh-spotlight-widget,
  .mh-author-bio-widget,
  .mh-posts-horizontal-widget,
  .mh-posts-lineup-content,
  .mh-footer {
    padding-left: 14px;
    padding-right: 14px;
  }

  .entry-content table,
  .widget table,
  .wp-block-calendar table,
  #wp-calendar {
    font-size: 13px;
  }

  input[type=text],
  input[type=email],
  input[type=tel],
  input[type=url],
  input[type=password],
  textarea,
  select {
    max-width: 100%;
  }
}
