/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals {
  float: none !important;
}

.wps_etmfw_events_section,
.wps_etmfw_input_ticket_section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 10px;
}

.wps_etmfw_events_section label,
.wps_etmfw_input_ticket_section label {
  flex: 0 0 25%;
  max-width: 25%;
}

select#wps_etmfw_event_selected {
  flex: 0 0 75%;
  max-width: 75%;
}

input#wps_etmfw_imput_ticket {
  flex: 0 0 75%;
  max-width: 75%;
  margin: 0;
}

input#wps_etmfw_chckin_email {
  flex: 0 0 75%;
  max-width: 75%;
  margin: 0;
}

.wps_etmfw--loader-btn-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.wps_etmfw_checkin_button_section {
  flex: 0 0 15%;
  max-width: 115px;
}

div#wps_etmfw_checkin_loader img {
  width: 25px;
  height: auto;
  margin-left: 50px;
}

div#wps_etmfw_edit_info_loader img {
  width: 25px;
  height: auto;
  position: relative;
  top: 5px;
}

#wps_etmfw_edit_info_loader {
  display: none;
}

#wps_etmfw_checkin_loader {
  display: none;
}

#wps_etmfw_event_map {
  width: 60%;
  height: 350px;
  margin-bottom: 10px;
}

.wps_check_in_error {
  /* this class should be added only when the message is displayed otherwise the bs color is visible everytym*/
  background: #e2401c;
  padding: 16px 20px;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  margin: 20px 0;
}

.wps_check_in_success {
  /* this class should be added only when the message is displayed otherwise the bs color is visible everytym*/
  background: #1a6f1a;
  padding: 16px 20px;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  margin: 20px 0;
}

.wps_etmfw_addition_info_section input {
  width: 99% !important;
  max-width: 99% !important;
}

.wps-form-group__control label {
  margin-top: 8px;
  margin-left: 5px;
  margin-bottom: 8px;
  line-height: 1;
}

.wps-form-group__control div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.wps_etmfw_view_ticket_section,
.wps_etmfw_calendar_section {
  display: inline-block;
  margin: 5px 0;
}

/* .wps_etmfw_view_ticket_section {
  margin-right: 5px;
} */

.wps_etmfw_view_ticket_section a,
.wps_etmfw_calendar_section a {
  padding: 7px 25px;
  border: 2px solid #28303d;
}

.wps_etmfw_view_ticket_section a:hover,
.wps_etmfw_calendar_section a:hover {
  background: #ffffff !important;
  color: #28303d !important;
}

span#wps_etmfw_edit_ticket {
  font-size: 20px;
  font-weight: 400;
  display: block;
  margin: 10px 0;
  text-decoration: underline;
  cursor: pointer;
}

#wps_etmfw_edit_ticket_form input {
  width: 50%;
}

input#wps_etmfw_save_edit_ticket_info_btn {
  margin-top: 15px;
  width: auto;
}

form#wps_etmfw_edit_ticket_form {
  display: none;
}

form.wps_etmfw_show_ticket_form {
  display: block !important;
}

div#wps_etmwf_event_date img,
div#wps_etmwf_event_time img,
div#wps_etmwf_event_venue img {
  display: inline-block;
  margin-right: 5px;
  max-width: 24px;
}

.fc-header-toolbar.fc-toolbar {
  display: block;
}

.fc-toolbar-chunk {
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wps-form-group__control input[type="checkbox"],
.wps-form-group__control input[type="radio"] {
  width: auto !important;
  margin-bottom: 3px;
}

/* form.cart {
  flex-direction: column;
  align-content: flex-start;
} */

.wps_etmfw_product_wrapper {
  flex: 1 0 100%;
}

.product-type-event_ticket_manager form.cart {
  display: flex;
  flex-wrap: wrap;
}

.woocommerce .product-type-event_ticket_manager form.cart .wps_etmfw_product_wrapper+div.quantity {
  margin: 0 10px 0 0;
}

.woocommerce .product-type-event_ticket_manager form.cart .wps_etmfw_product_wrapper+div.quantity input,.woocommerce .product-type-event_ticket_manager form.cart .wps_etmfw_product_wrapper~button {
  margin: 0;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
  margin-bottom: 2.617924em;
  background-color: #0f834d;
  margin-left: 0;
  border-radius: 2px;
  color: #fff;
  clear: both;
  border-left: 0.6180469716em solid rgba(0, 0, 0, 0.15);
  padding: 1em 2em 1em 3.5em;
  position: relative;
  list-style: none outside;
}

div#wps_etmfw_event_map {
  margin: 10px 0px;
}

#wps-calendar.fc-daygrid.fc-dayGridMonth-view.fc-view,
#wps-calendar.fc-timegrid.fc-timeGridDay-view.fc-view,
#wps-calendar.fc-timegrid.fc-timeGridWeek-view.fc-view {
  overscroll-behavior-x: auto;
  overflow: scroll;
  width: 100%;
}

.fc-scrollgrid.fc-scrollgrid-liquid {
  table-layout: auto;
}

#wps-calendar.fc-view-harness.fc-view-harness-active {
  height: 250px !important;
}

.fc-day {
  width: 40px;
}

.wps-edit-form-group div {
  display: flex;
  flex-wrap: wrap;
}

.wps-edit-form-group div #wps_etmfw_radio {
  width: auto;
}

@media only screen and (max-width: 768px) {
  .product-remove {
    display: none !important;
  }

  input#coupon_code {
    margin-bottom: 20px;
  }
}

@media only screen and (max-width: 540px) {

  .wps_etmfw_view_ticket_section,
  .wps_etmfw_calendar_section {
    display: block;
    text-align: center;
  }

  a.wps_etmfw_add_event_calendar,
  a.wps_view_ticket_pdf {
    display: block;
  }

  .fc-toolbar-chunk {
    display: flex;
    margin-bottom: 10px;
  }

  .fc .fc-toolbar {
    display: block;
  }
}

.etmfw_expiration_message {
  color: red;
  font-size: 25px;
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--wps-myevent-tab a:before {
  content: "\f2ce";
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--event-ticket a:before {
  content: "\f274";
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

img.wps_resend_image {
  background: #70b3b5;
  width: 45px;
}

#wps_share_ticket_lable {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 15px;
}

#wps_etmfw_error_message {
  font-size: 12px;
  color: white;
  margin: 10px 0;
}

.wps_etmfw_events_section,
.wps_etmfw_input_ticket_section {
  margin: 0 0 15px;
  flex-wrap: nowrap;
}

.wps_etmfw_events_section label,
.wps_etmfw_input_ticket_section label {
  font-size: 18px;
}

#wps_etmfw_event_selected {
  min-height: 40px;
  margin: 0;
}

#wps_select_user {
  margin: 0 0 15px;
  min-height: 40px;
}

#wps_etmfwp_checkin_button {
  min-height: 40px;
  padding: 10px;
}

input#wps_etmfw_chckin_email,
input#wps_etmfw_imput_ticket {
  min-height: 40px;
}

@media screen and (max-width: 580px) {

  .wps_etmfw_events_section,
  .wps_etmfw_input_ticket_section {
    align-items: flex-start;
    flex-direction: column;
    margin: 0 0 15px;
  }

  .wps_etmfw_events_section label,
  .wps_etmfw_input_ticket_section label {
    flex: 1;
    max-width: 100%;
    font-size: 18px;
  }

  select#wps_etmfw_event_selected {
    flex: 1;
    max-width: 100%;
    width: 100%;
  }

  input#wps_etmfw_chckin_email,
  input#wps_etmfw_imput_ticket {
    width: 100%;
    flex: 1;
    max-width: 100%;
  }
}

/* Event Listing using shortcode start */

:root {
  --wps-etmw-pc: #4BB543;
}

#wps-product-loader {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
}

.wps-etmw_search-input-wrap * {
  color: #000;
}

#wps-etmw_search {
  container-type: inline-size;
  container-name: card-container;
  position: relative;
}

#wps-etmw_search * {
  box-sizing: border-box;
}

#wps-etmw_search .wps-etmw_search-input {
  position: relative;
}

#wps-etmw_search .wps-etmw_search-input img {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  left: 13px;
  opacity: 0.2;
}

#wps-etmw_search .wps-etmw_search-input input#wps-search-event {
  width: 100%;
  padding: 13px 90px 13px 42px;
  min-height: 33px;
  font-size: 14px;
  background: transparent;
  box-shadow: none;
  border: 1px solid #E0E0E0;
  border-radius: 5px;
  margin: 0;
  line-height: 1.5;
  height: auto;
}

#wps-etmw_search .wps-etmw_search-input input#wps-search-event:focus {
  outline: none;
}

.wps-etmw_si-wrap {
  position: relative;
}

.wps_select_event_listing_type-wrap {
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translate(0, -50%);
  display: flex;
  align-items: center;
  gap: 5px;
}

.wps_select_event_listing_type-wrap input[type=radio] {
  display: none;
}

.wps_select_event_listing_type-wrap input[type=radio]+label {
  padding: 6px;
  border-radius: 3px;
  margin: 0;
  cursor: pointer;
  line-height: 1;
}

.wps_select_event_listing_type-wrap input[type=radio]+label img {
  vertical-align: middle;
}

.wps_select_event_listing_type-wrap input[type=radio]:checked+label {
  background: var(--wps-etmw-pc);
  color: #fff;
}

.wps_select_event_listing_type-wrap input[type=radio]:checked+label img {
  filter: invert(1);
}

/* List */

#wps-search-results {
  display: grid;
  gap: 30px;
  margin: 60px 0 0;
}

#wps-search-results>a {
  background: transparent;
  padding: 10px;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border: none;
  margin: 0;
  border-radius: 5px;
  transition: transform 0.2s ease-in-out;
}

#wps-search-results>a:hover {
  transform: scale(1.02);
}

#wps-search-results>a:after {
  display: none;
}

#wps-search-results>a:focus {
  outline: none;
}

#wps-search-results .wps-etmw_single-event {
  display: flex;
  gap: 30px;
}

#wps-search-results .wps-etmw_single-event img {
  max-width: 140px;
  aspect-ratio: 1;
  object-fit: cover;
  flex: 0 0 140px;
  border-radius: 5px;
}

#wps-search-results .wps-etmw_single-event .wps-etmw_prod-desc {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

#wps-search-results .wps-etmw_single-event .wps-etmw_prod-desc h4 {
  font-size: 18px;
  margin: 0;
  font-weight: 600;
  line-height: 1.25;
  max-width: 400px;
  text-align: left;
}

#wps-search-results .wps-etmw_single-event .wps-etmw_prod-venue,
#wps-search-results.wps_card .wps-etmw_single-event .wps-etmw_all-date {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

#wps-search-results .wps-etmw_single-event .wps-etmw_prod-venue img,
#wps-search-results .wps-etmw_single-event .wps-etmw_all-date img {
  height: 16px;
  width: 16px;
  margin: 2px 5px 0 0;
  display: inline-block;
  vertical-align: text-bottom;
}

#wps-search-results .wps-etmw_single-event .wps-etmw_prod-price {
  text-align: left;
  margin-top: 10px;
}

#wps-search-results .wps-etmw_single-event .wps-etmw_prod-price span {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 900;
  color: var(--wps-etmw-pc);
  margin: 0;
  display: inline-block;
}

#wps-search-results .wps-etmw_single-event .wps-etmw_all-date {
  display: flex;
  align-items: center;
  gap: 100px;
  font-size: 14px;
  color: #333;
  font-weight: 400;
}

#wps-search-results .wps-etmw_single-event .wps-etmw_all-date span {
  position: relative;
  display: inline-block;
}

#wps-search-results .wps-etmw_prod-date {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  text-align: center;
  font-weight: 400;
  justify-content: center;
}

#wps-search-results .wps-etmw_prod-date .wps-etmw_prod-date-in {
  flex: 1;
  padding: 13px 20px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  max-height: 106px;
  gap: 4px;
  justify-content: center;
  min-width: 96px;
  /* aspect-ratio: 1; */
}

#wps-search-results .wps-etmw_prod-date .wps-etmw_start-time-day {
  font-size: 24px;
  color: #7C7C7C;
}

#wps-search-results .wps-etmw_prod-date .wps-etmw_start-time-date {
  font-size: 44px;
  color: var(--wps-etmw-pc);
}

#wps-search-results .wps-etmw_prod-date span {
  display: inline-block;
  line-height: 1;
}

#wps-search-results.wps_card .wps-etmw_single-event .wps-etmw_start-time-month {
  line-height: 1;
  display: inline-block;
  font-size: 14px;
}

#wps-search-results .wps-etmw_single-event .wps-etmw_all-date span {
  line-height: 1.5;
  text-transform: capitalize;
  text-align: left;
}

/* Card*/

#wps-search-results.wps_card {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}

#wps-search-results.wps_card .wps-etmw_single-event {
  flex-direction: column;
  gap: 20px;
  position: relative;
  height: 100%;
}

#wps-search-results.wps_card .wps-etmw_single-event img {
  max-width: 100%;
  flex: 1;
  aspect-ratio: 1.5;
}

#wps-search-results.wps_card .wps-etmw_single-event .wps-etmw_prod-desc h4 {
  font-size: 18px;
}

#wps-search-results.wps_card .wps-etmw_single-event .wps-etmw_prod-date {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 5px;
  gap: 0;
}

#wps-search-results.wps_card .wps-etmw_single-event .wps-etmw_prod-date-in {
  border: none;
  border-bottom: 1px solid #fff;
  border-radius: 0;
}

#wps-search-results.wps_card .wps-etmw_single-event .wps-etmw_start-time-month {
  color: #fff;
  padding: 8px 5px;
}

#wps-search-results.wps_card .wps-etmw_single-event .wps-etmw_start-time-day {
  color: #fff;
}

#wps-search-results.wps_card .wps-etmw_single-event .wps-etmw_prod-price {
  font-size: 12px;
  border-top: 1px solid #f0f0f0;
  padding: 15px 0 10px;
  border-radius: 0;
  line-height: 1;
}

#wps-search-results.wps_card .wps-etmw_single-event .wps-etmw_prod-desc h4 {
  margin: 0;
  flex: 1;
}

#wps-search-results.wps_card .wps-etmw_single-event .wps-etmw_prod-price span {
  font-size: 18px;
  line-height: 1;
  display: inline-block;
}


/* Pagination start */

.wps_woocommerce-pagination {
  grid-column: 1 / -1;
}

.wps_woocommerce-pagination ul {
  margin: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: center;
}

.wps_woocommerce-pagination ul li a,
.wps_woocommerce-pagination ul li span {
  display: inline-flex;
  line-height: 1;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  background: #f1f1f1;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
}

.wps_woocommerce-pagination ul li a img{
  width: 16px;
  height: 16px;
}

.wps_woocommerce-pagination ul li {
  padding: 0;
  list-style: none;
  line-height: 0;
}

.wps_woocommerce-pagination ul li a:hover,
.wps_woocommerce-pagination ul li span.current {
  background: var(--wps-etmw-pc);
  color: #fff;
}

.wps_woocommerce-pagination ul li a:hover img {
 filter: invert(1);
}

/* Pagination end */
@container card-container (max-width: 1040px) {

  /* card */

  #wps-search-results.wps_card {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }

}

@container card-container (max-width: 992px) {

  /* List */

  #wps-search-results.wps_list .wps-etmw_single-event .wps-etmw_all-date {
    gap: 40px;
  }

  /* card */

  #wps-search-results.wps_card {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }

}

@container card-container (max-width: 768px) {

  /* List */

  #wps-search-results.wps_list .wps-etmw_single-event {
    flex-wrap: wrap;
    position: relative;
  }

  #wps-search-results.wps_list .wps-etmw_single-event .wps-etmw_prod-desc {
    order: 1;
  }

  #wps-search-results.wps_list .wps-etmw_prod-date {
    justify-content: flex-start;
  }

  #wps-search-results.wps_list .wps-etmw_single-event img {
    flex: 1 0 100%;
    max-width: 100%;
    aspect-ratio: 1.5;
  }

}

@container card-container (max-width: 620px) {

  #wps-search-results .wps-etmw_single-event {
    gap: 20px;
  }

  .wps_select_event_listing_type-wrap {
    display: none;
  }

  #wps-etmw_search .wps-etmw_search-input input#wps-search-event {
    padding: 13px 13px 13px 42px;
  }


  #wps-search-results.wps_card {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

/* Event Listing using shortcode end */

/* Form layout fixes start */
.wps_etmfw_event_info_section,
.wps_etmfw_addition_info_section {
    margin-bottom: 15px;
}

.wps_etmfw_sub_wrapper {
    position: relative;
    padding: 10px;
    border: 1px solid #dcdcdc;
    margin: 10px 0 0;
}

.wps_etmfw_div_close {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 24px;
    transform: rotate(45deg);
    line-height: 0;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f00;
    cursor: pointer;
}

.wps_etmfw_product_wrapper .wps_etmfw_addition_info_section input,
.wps_etmfw_product_wrapper .wps_etmfw_addition_info_section textarea {
    width: 100%;
    margin: 0 0 10px;
    min-height: 30px;
    font-size: 16px;
    padding: 8px 10px;
    line-height: 1.25;
}

.wps_class_add_more_people {
    display: block;
    width: 100%;
    min-height: 30px;
    cursor: pointer;
    margin: 15px 0;
}

.wps_class_add_more_people span {
    font-size: 16px;
    border: 1px solid;
    display: inline-block;
    padding: 5px 10px;
}

.wps_etmfw_addition_info_section input[type="text"], .wps_etmfw_addition_info_section input[type="email"], .wps_etmfw_addition_info_section textarea, .wps_etmfw_addition_info_section input[type="number"], .wps_etmfw_addition_info_section input[type="date"] {
  max-width: 400px !important;
  display: block;
}
.wps_etmfw_addition_info_section input[type="radio"] {
  margin: 0;
}

.wps_etmfw_addition_info_section .wps-form-group {
  margin: 0 0 10px;
}

.wps_etmfw_sub_wrapper {
  display: inline-block;
  width: 100%;
  max-width: 400px;
}
/* Form layout fixes end */