/*

Theme Name: X – MnM Child Theme
Theme URI: http://theme.co/x/
Author:       Curtis Fraser
Author URI:   http://curtisfraser.com
Description: Make all of your modifications to X in this child theme.
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Template: x
*/

@media print {
  a[href]:after {
    content: none !important;
  }

  .x-breadcrumb-wrap {
    display: none;
  }

  .x-scroll-top {
    display: none;
  }

  #tablesorter {
    max-width: 2480px;
    width: 100%;
  }
  #tablesorter td {
    width: auto;
    overflow: hidden;
    word-wrap: break-word;
  }

  table#tablesorter th,
  table#tablesorter td {
    padding: 0;
  }
}

p {
  margin: 0 0 1.15em;
}

ul,
ol {
  padding: 0;
  margin: 0 0 1.15em 1.655em;
}

table th,
table td {
  padding: 0.5em 0.425em;
  line-height: 1.3;
  text-align: left;
  vertical-align: middle;
}

.x-navbar .desktop .sub-menu a {
  font-weight: 700;
}

.entry-content {
  font-size: 15px;
}

.page-id-6 .entry-content {
  overflow-x: auto;
}

.entry-content .print_event table th,
.entry-content .print_event table td {
  padding: 0 0 0 5px !important;
}

.entry-content .print_event tr.empty_event_row td {
  padding: 12px !important;
}

.entry-content .print_event table td {
  border: 1px solid #000;
}

.entry-content table thead th {
  background-color: #373737;
  color: #fff;
  vertical-align: bottom;
}

.entry-content table tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.05);
}

.x-navbar .desktop .x-nav > li > a:not(.x-btn-navbar-woocommerce) {
  padding-left: 20px !important;
  padding-right: 20px !important;
}

/* Print Trip Page */
.print_event table thead th {
  background-color: #fff;
  color: #000;
}

.print_event .empty_event_row td {
  padding: 20px 0;
  border-bottom: 1px solid #f2f2f2;
}

.print_event {
  padding: 0 25px 25px;
  color: #272727;
}

.print_event .event_title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
}

.print_event .event_date {
  text-align: center;
  font-size: 1.2rem;
}

.print_event .locations_table {
  margin: 15px 0 30px;
}

.print_event .leader_wrapper {
  margin-bottom: 20px;
}

.print_event .event_day_leader {
  text-align: center;
}

.print_event .registration_table {
  margin-top: 10px;
}

.print_event .registration_table thead th:nth-child(1),
.print_event .registration_table thead th:nth-child(2),
.print_event .registration_table thead th.hike-num,
.print_event .registration_table thead th:nth-child(7),
.print_event .registration_table thead th:nth-child(8), 
.print_event .registration_table thead th:nth-child(9) {
  width: 35px;
}

.print_event .registration_table thead th:nth-child(4) {
  width: 80px;
}

.print_event .registration_table thead th:nth-child(5) {
  width: 230px;
}

.print_event .registration_table thead th.event-user-name {
  width: 190px;
}

/* club documents */
.entry-title .x-icon {
  margin-right: 10px;
}

.archive .x-main .hentry {
  padding-top: 20px;
  margin-top: 20px;
  padding-left: 20px;
}

.archive .x-main .hentry:last-of-type {
  border-bottom: 0;
  padding-bottom: 25px;
}

/* loader */
.loader {
  width: 160px;
}

.loader div {
  width: 12px;
  height: 12px;
  margin: 2px;
  display: inline-block;
  animation: ballBeat 0.7s 0s infinite linear;
  background-color: #aaa;
  border-radius: 100%;
}

.loader div:nth-child(2n-1) {
  animation-delay: -0.35s !important;
}

@keyframes ballBeat {
  50% {
    opacity: 0.2;
    transform: scale(0.75);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

button.loading {
  font-size: 0 !important;
}

/* override archive page css for club document */
.post-type-archive-club_document .x-container.main:before,
.post-type-archive-special_events .x-container.main:before,
.single-gallery .x-container.main:before,
.single-map .x-container.main:before,
.single-trip .x-container.main:before,
.single-pool .x-container.main:before,
.single-special_events .x-container.main:before {
  left: -5000em;
}

.post-type-archive-special_events .entry-header .p-meta span:first-child {
  display: none;
}

.post-type-archive-special_events .entry-header .p-meta > span {
  font-size: 15px;
}

.x-colophon.bottom .x-colophon-content,
.x-colophon.bottom .x-colophon-content a {
  color: #eee;
  font-size: 13px;
}

.widget_trip_title {
  font-style: normal;
  font-weight: 300;
  text-transform: uppercase;
  font-size: 25px;
  text-align: center;
  color: #000;
}

.widget_trip_date {
  font-style: normal;
  font-weight: 300;
  font-size: 18px;
  text-align: center;
  color: #000;
  margin-bottom: 10px;
}

.reg_widget_wrapper {
  border: 1px solid #000;
  border-radius: 5px;
  padding: 20px;
  max-width: 800px;
  margin: 20px auto;
}

.reg_widget_wrapper .widget_field_header {
  font-weight: 700;
  font-size: 18px;
}

.reg_widget_wrapper .widget_field_wrapper {
  margin-bottom: 10px;
  font-size: 15px;
}

.reg_widget_wrapper .trip_wrapper {
  margin-bottom: 10px;
}

.reg_widget_wrapper .trip_wrapper .trip_registration {
  display: flex;
  width: 100%;
  justify-content: space-around;
  margin-bottom: 20px;
}

.reg_widget_wrapper .trip_wrapper .trip_registration > div {
  display: flex;
  align-items: center;
}
.reg_widget_wrapper .trip_wrapper .trip_registration .trip_reg_info {
  margin-right: 15px;
}

.reg_widget_wrapper .trip_wrapper .trip_registration .status-box {
  border: 1px solid #d3d3d3;
  padding: 5px 8px;
  border-radius: 4px;
}

.reg_widget_wrapper .day_leader_wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.reg_widget_wrapper .button_trip_wrapper {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.reg_widget_wrapper .trip_form_success,
.reg_widget_wrapper .reg_closed,
.reg_widget_wrapper .trip_form_dereg_success {
  text-align: center;
  font-size: 1.4em;
}

.reg_widget_wrapper .who_registered a {
  font-weight: 700;
}

.reg_widget_wrapper .next_trip_header {
  text-align: center;
  font-size: 1.8em;
  border-bottom: 1px solid #d3d3d3;
  margin-bottom: 10px;
}

.reg_widget_wrapper .next_trip {
  margin-bottom: 10px;
  border-bottom: #d3d3d3 dashed 1px;
  padding-bottom: 10px;
}

.reg_widget_wrapper .trips_wrapper .next_trip:last-child {
  border-bottom: 0px;
}

.reg_widget_wrapper .next_trip .next_title {
  font-size: 1.2em;
}

.reg_widget_wrapper .next_trip .next_date {
  font-size: 0.9em;
}

.register-wrapper .trip-info-faq {
  font-size: 13px;
  margin-top: 10px;
}

.reg_widget_wrapper .login-form-wrapper {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.reg_widget_wrapper .login-form-wrapper .forgot-pass-link {
  font-size: 24px;
}

#event_signup_form {
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 100%;
}

#event_signup_form div {
  display: flex;
  justify-content: center;
}

#event_signup_form #trip_level {
  max-width: 100%;
}

#level_selector {
  display: flex;
  align-items: center;
  flex-direction: column;
}

button.fancy-button#trip-deregister,
button.fancy-button#trip-register {
  justify-content: center;
  flex-direction: column;
  align-items: center;
  width: 220px;
  display: flex;
  box-shadow: none;
}

button.fancy-button#trip-register {
  background: #1aab8a;
  
}

button.fancy-button#trip-deregister {
  background: #fa8072;
}

button.fancy-button#trip-register:hover,
button.fancy-button#trip-deregister:hover {
  background: #fff;
}

button.fancy-button {
  color: #fff;
  border: none;
  position: relative;
  height: 60px;
  font-size: 1.6em;
  padding: 0 2em;
  cursor: pointer;
  transition: 800ms ease all;
  outline: none;
}
button.fancy-button:hover {
  background: #fff;
  color: #1aab8a;
}
button.fancy-button:before,
button.fancy-button:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 2px;
  width: 0;
  background: #1aab8a;
  transition: 400ms ease all;
}
button.fancy-button:after {
  right: inherit;
  top: inherit;
  left: 0;
  bottom: 0;
}
button.fancy-button:hover:before,
button.fancy-button:hover:after {
  width: 100%;
  transition: 800ms ease all;
}

/* sort table */
#tablesorter th {
  cursor: pointer;
}

#tablesorter th:hover {
  text-decoration: underline;
}

#tablesorter th.sorted_down,
#tablesorter th.sorted_up {
  text-decoration: underline;
}

#tablesorter th.sorted_down:after,
#tablesorter th.sorted_up:after {
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  content: "";
  display: inline-block;
  height: 0;
  margin-left: 2px;
  vertical-align: middle;
  width: 0;
}

#tablesorter th.sorted_down:after {
  border-top: 5px solid #909090;
}

#tablesorter th.sorted_up:after {
  border-bottom: 5px solid #909090;
}

/* Gallery */
.gallery_row {
  padding: 20px 0 20px 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 140%;
}

.gallery_row a {
  padding-left: 20px;
  font-size: 120%;
}

.location-gallery-images {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.location-gallery-images .location-gal-image {
  margin-right: 10px;
  margin-bottom: 20px;
  max-width: 220px;
  text-align: center;
}

.location-gal-image a,
.location-gallery-images .gallery-image {
  margin-bottom: 5px;
}

.location-gallery-images .gallery-image-caption {
  font-size: 14px;
}

/* Upcoming Trips */
.upcoming-trips article {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 20px;
  margin-top: 20px;
  padding-left: 20px;
}

.upcoming-trips article:first-of-type {
  margin-top: 0;
}

.upcoming-trips .trip_open {
  font-weight: 700;
}

.upcoming-trips .archive_trip_date {
  margin-bottom: 5px;
}

.trip-single .trip-registration {
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
}

.trip-single .button_trip_wrapper {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.trip-single .trip-registration .reg_closed {
  text-align: center;
}

.trip-single .trip-info {
  margin-bottom: 10px;
}

.trip-single .trip-single-info {
  margin-bottom: 20px;
}

.trip-single .trip-header {
  font-weight: 600;
  margin-bottom: 3px;
}

.single-trip header.x-header-landmark > div,
.single-pool header.x-header-landmark > div,
.single-special_events header.x-header-landmark > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1.4);
  }
  50% {
    transform: scale(1);
  }
}

.x-slider-scroll-bottom {
  animation: pulse 2s cubic-bezier(0.22, 0.22, 0.56, 0.54) infinite alternate;
}

.x-breadcrumb-wrap {
  font-size: 14px;
}

.x-breadcrumb-wrap a {
  color: #7e8082 !important;
}

.x-breadcrumb-wrap span i {
  color: #7e8082;
}

.home .x-brand {
  display: none;
}

.home nav.x-nav-wrap {
  display: flex;
  justify-content: center;
}

.x-navbar .desktop .x-nav > .current-menu-item > a,
.x-navbar .desktop .x-nav > li > a:hover {
  box-shadow: 0 2px 0 0 #efe931 !important;
}

#menu-footer-menu li a {
  color: #fff;
}

/* Maps */
.location-section-header {
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 20px;
}

.x-icon-map-marker {
  margin-right: 10px;
  font-size: 25px;
}

@media (max-width: 979px) {
  nav.x-nav-wrap.desktop {
    display: none;
  }
}

.signup_details .signup_title {
  text-align: center;
}

table.signup_table {
  table-layout: fixed;
}

table.signup_table td {
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    height: 35px;
}

table.signup_table tbody {
  border-bottom: 1px solid #000;
}

.day-leader__filter .export_csv {
  margin-top:20px;
}

.day-leader__filter .print_trips_for_user {
  display: flex;
  align-items: center;
  flex-direction: row;
}

.day-leader__filter .print_trips_for_user input, .day-leader__filter .print_trips_for_user span {
  margin:0;
  margin-right: 10px;
}

.directors_table ul {
  list-style: none;
  margin-left: 0;
}

.directors_table ul li:not(:last-child) {
  margin-bottom: 10px;
}

.day_leader_check {
  margin-bottom: 10px;
}

.day_leader_check input {
  margin-right: 5px;
}

/** National Park Page **/
.national_park_title {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-weight: 700;
  font-size: 0.8rem;
}

.park_table_wrapper .national_park_table {
  width: 90%;
  margin: 0 auto;
  font-size: 0.95rem;
}

.national_park_header .national_park_info_table {
  width: 90%;
  margin: 0 auto;
  margin-bottom: 20px;
  font-size: 0.85rem;
}

/* Add borders to national_park_table cells */
.national_park_table th,
.national_park_table td {
  border: 1px solid #ccc;
  border-top: 1px solid #ccc !important;
  font-size: 0.85rem;
  padding: 4px !important;
}
