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

.mt-0 {
  margin-top: 0 !important;
}
.mt-1 {
  margin-top: 0.25rem !important;
}
.mt-2 {
  margin-top: 0.5rem !important;
}
.mt-3 {
  margin-top: 1rem !important;
}
.mt-4 {
  margin-top: 1.5rem !important;
}
.mt-5 {
  margin-top: 3rem !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}
.mb-1 {
  margin-bottom: 0.25rem !important;
}
.mb-2 {
  margin-bottom: 0.5rem !important;
}
.mb-3 {
  margin-bottom: 1rem !important;
}
.mb-4 {
  margin-bottom: 1.5rem !important;
}
.mb-5 {
  margin-bottom: 3rem !important;
}

.pt-0 {
  padding-top: 0 !important;
}
.pt-1 {
  padding-top: 0.25rem !important;
}
.pt-2 {
  padding-top: 0.5rem !important;
}
.pt-3 {
  padding-top: 1rem !important;
}
.pt-4 {
  padding-top: 1.5rem !important;
}
.pt-5 {
  padding-top: 3rem !important;
}

.pb-0 {
  padding-bottom: 0 !important;
}
.pb-1 {
  padding-bottom: 0.25rem !important;
}
.pb-2 {
  padding-bottom: 0.5rem !important;
}
.pb-3 {
  padding-bottom: 1rem !important;
}
.pb-4 {
  padding-bottom: 1.5rem !important;
}
.pb-5 {
  padding-bottom: 3rem !important;
}

.q_desktop_hide {
  display: none;
}

.q_events_wrapper {
  max-width: unset !important;
}

.q_events_wrapper p {
  line-height: 20px;
  font-size: 16px;
  color: #666;
}

.q_events_wrapper i {
  color: rgba(2,31,63,.57);
  height: 20px;
  margin-right: 5px;
  width: 20px;
}

.list .q_event_single {
  border: 1px solid #666 !important;
  border-radius: 2px;
  display: flex;
  margin-bottom: 20px;
  min-height: 182px;
  padding-right: 30px;
  width: 100%;
}

.list .q_event_picture {
  margin-right: 10px;
  border-radius: 10px 0 0 10px;
}

.list .q_event_picture img {
  display: block;
  min-height: 100%;
  object-fit: cover;
  width: 180px;
}

.list .q_event_details {
  max-width: 60%;
  min-width: 60%;
}

.q_event_details {
  display: flex;
  flex-direction: column;
  margin-right: auto;
  padding: 5px 0;
}

.q_event_name {
  font-size: 22px;
  font-weight: bold;
  color: #000 !important;
}

.q_event_comment {
  font-size: 13px;
}

.q_event_subtitle {
  font-size: 16px;
}

.list .q_event_location {
  border-right: 1px solid #333 !important;
  margin: auto 30px auto 0;
  padding-right: 30px;
  text-align: center;
  width: 25%;
}

.q_event_location i {
  width: 48px;
  height: 48px;
}

.q_event_location i::before {
  font-size: 48px;
}

.list .q_event_ticket {
  margin: auto 0 auto auto;
  position: relative;
  text-align: center;
  width: 15%;
}

.q_event_ticket .dashicons {
  color: #333;
  width: 48px;
  height: 48px;
}

.q_event_ticket .dashicons::before {
  font-size: 48px;
}

.q_events_wrapper .q_event_price {
  font-size: 22px;
  margin-top: 5px;
}

.q_event_single .q_event_systems {
	display: flex;
	font-size: 12px;
	justify-content: space-between;
	margin-top: 10px;
	flex-wrap: wrap;
}

.q_event_single .q_event_systems a:nth-child(n+3) {
	margin-top: 10px;
}
.list .q_event_single .q_event_systems a:nth-child(n+2) {
	margin-top: 5px;
}

.q_event_single .q_event_systems a.button {
  align-items: center;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  padding: 10px 5px;
  width: 48%;
  font-size: 12px;
  line-height: 15px;
  text-align: center;
}
.entry .entry-content .q_event_single .q_event_systems a.button {
	display: flex;
}

.list .q_event_single .q_event_systems a.button {
	width: 100%;
}

.q_event_single .q_event_systems a.button:hover {
  background: #4da1ff;
}

.q_event_single .q_event_systems a.button:only-child {
  width: 100% !important;
  color: #FFF;
}
.q_event_systems .button {
  background: linear-gradient(130deg,#636aff,#4da1ff) !important;
}
.q_event_systems .button:hover {
  background: #4da1ff !important;
  text-decoration: none;
}
.q_event_systems.ticket_ausverkauft .button,
.q_event_systems.ticket_ausverkauft .button:hover {
  background: #970202 !important;
}
.q_event_systems.ticket_folgen .button,
.q_event_systems.ticket_folgen .button:hover {
  background: rgba(2,31,63,.57) !important;
}

.list .q_event_picture_details {
  width: 60%;
  display: flex;
  flex-direction: row;
  /* flex-wrap: wrap; */
}

.q_events_wrapper.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.q_events_wrapper.grid .q_event_single {
  border: 1px solid #666 !important;
  border-radius: 10px;
  margin-bottom: 20px !important;
  margin-right: 20px;
  width: calc((100% - 40px) / 3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.q_events_wrapper.grid .q_event_single:nth-child(3n) {
  margin-right: 0;
}

.grid .q_event_picture img {
  border-radius: 10px 10px 0 0;
  display: block;
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.grid .datetime-location-ticket-wrapper {
  padding: 10px;
}

.grid .q_event_details {
  padding: 10px;
}

.grid .datetime-location-ticket {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.grid .datetime-location {
  width: 60%;
}

.grid .q_event_ticket {
  display: flex;
  justify-content: flex-end;
  width: 40%;
}

.grid .q_event_ticket .dashicons::before {
  font-size: 24px;
}
.grid .q_event_ticket .dashicons {
  margin-right: 5px;
  height: 24px;
  width: 24px;
}

.grid .q_event_location {
  display: flex;
  /*flex-wrap: wrap;*/
}
.grid .q_event_location i::before {
  font-size: 18px;
  vertical-align: top;
}
.grid .q_event_location i {
  width: 20px;
  height: 20px;
}

.grid .q_event_schedule p {
  display: flex;
}
.grid .q_event_schedule {
  display: flex;
  flex-wrap: wrap;
}

.grid .q_event_single .q_event_systems {
  min-height: 25px;
}

.grid .q_event_location_name {
  white-space: pre;
}

.grid i::before {
  vertical-align: middle;
}

.genre-typ span {
  background-color: rgba(2,31,63,.57);
  border-radius: 10px;
  color: #fff;
  font-size: 12px;
  padding: 2px 5px;
}

.verlegen_info {
  background-color: #f8f26c;
}

.nachholtermin_info {
  background-color: #1bd89e;
}

.new_location_info {
  background-color: #fe667b;
}

.q_event_moved_info span {
  border-radius: 15px;
  color: #000000;
  display: inline-block;
  font-size: 9px;
  padding: 0px 5px;
  vertical-align: text-bottom;
}

.grid .q_event_moved_info {
  flex-shrink: 0;
  text-align: right;
  display: revert;
}

.grid .q_event_details {
  flex-direction: column;
  justify-content: space-between;
}

.list .q_event_moved_info {
  display: flex;
  flex-wrap: wrap;
}

.list .q_event_moved_info span {
  margin-bottom: 3px;
  margin-right: 3px;
  padding-bottom: 0;
  padding-top: 0;
}

.artist_list .genre-typ {
  background-color: rgba(2,31,63,.57);
  border-radius: 10px;
  color: #fff;
  font-size: 12px;
  padding: 2px 5px;
}
.artist_list .q_event_single {
  display: flex;
  justify-content: space-between;
  padding: 10px;
}
.artist_list .q_event_single:nth-child(2n + 1) {
  background-color: #e0e2e3;
}
.artist_list .q_event_left {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
.artist_list .q_event_details {
  display: inline-block;
  padding: 0;
  align-self: center;
}
.artist_list .q_event_event_date {
  background-color: #00aeef;
  margin-right: 10px;
  padding: 5px;
  text-align: center;
}
.artist_list .q_event_event_date p {
  color: #000000;
}
.artist_list .q_event_event_date .event_day_short {
  font-size: 18px;
  font-weight: 700;
}
.artist_list .event_date {
  font-size: 14px;
}
.artist_list .q_event_schedule i {
  height: 14px;
  width: 14px;
}
.artist_list .q_event_schedule i::before {
  font-size: 14px;
}
.q_event_location_moved_info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.artist_list .q_event_schedule {
  display: flex;
  flex-wrap: wrap;
  margin-top: 3px;
  margin-right: 10px;
}
.artist_list .q_event_schedule > div {
  display: flex;
  align-items: center;
}
.artist_list .q_event_location {
  margin-right: 20px;
}
.artist_list .q_event_price {
  display: inline-block;
  width: max-content;
}
.artist_list .q_event_ticket .dashicons {
  height: 20px;
  vertical-align: baseline;
  width: 20px;
}
.artist_list .q_event_ticket .dashicons::before {
  font-size: 20px;
}
.artist_list .q_event_single .q_event_systems {
  margin-top: 0px;
}
.artist_list .q_event_ticket {
  text-align: right;
}
.artist_list .q_event_ticket .event_price {
  width: max-content;
}
.artist_list .artist-genre-typ-info {
  display: inline-block;
}

.q_events_kontaktdaten p {
  color: rgba(2,31,63,.57);
  line-height: 1;
}

.q_event_details .q_event_info {
  float: left;
}

.list .q_event_info {
  margin-bottom: 5px;
}

.artist_list .q_event_single .q_event_systems a.button {
  padding: 3px 5px;
}

span.artist_name_program {
  color: #000;
}

.q_events_wrapper.list .q_event_schedule p, .q_events_wrapper.grid .datetime-location p {
  font-size: 14px;
}
.q_event_location_new, .q_event_location_old {
  line-height: 15px;
  display: inline-block;
}

.q_event_location_area {
  width: calc(100% - 25px);
  line-height: 15px;
}

.q_event_location_area p {
  display: inline;
}
.q_event_location_old {
  position: relative;
}
.artist_list .q_event_location_area, .list .q_event_location_area {
  width: auto;
}
.q_event_location_old p {
  text-decoration: line-through;
  text-decoration-color: #fe667b;
}
.q_event_location_name_old, .q_event_city_old {
  font-size: 13px !important;
}
p.q_event_subtitle {
  font-size: 14px;
}
.q_events_wrapper.list p.q_event_name {
  font-size: 18px;
  font-weight: bold;
  color: #000;
}

.grid .main_artist p.q_event_subtitle {
  font-size: 16px;
}
.grid .q_event_single.main_artist.no-event-details {
  justify-content: start;
}

.list .main_artist p.q_event_subtitle {
  font-size: 16px;
}

.q_events_wrapper.list .q_event_single.main_artist.no-event-details .q_event_schedule p {
  font-size: 16px;
}

.artist_list .q_event_single.main_artist.no-event-details .q_event_left {
  align-items: center;
}

p.q_event_fblink span {
  margin-left: -1px;
  font-size: 18px;
}
.q_event_moved_info .q_event_fblink span {
  font-size: 18px;
}
.q_event_fblink a {
  color: #333;
  text-decoration: none !important;
}
.q_event_fblink a:hover, .q_event_fblink a:hover .dashicons {
  color: #008ec2;
}
.artist_list span.q_event_fblink {
  position: relative;
  top: 1px;
  margin-right: 10px;
}
.artist_list .q_event_single.main_artist.no-event-details .q_event_info {
  display: none;
}
.q_event_systems.ticket_folgen a:hover,
.q_event_systems.ticket_ausverkauft a:hover {
  cursor: default !important;
}

.ellipsis_long_text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-12 {
  font-size: 12px!important;
}
.q_event_moved_info {
  display: inline-block;
}
.q_events_wrapper .q_event_schedule p {
  font-size: 14px;
}

span.artist-list-comment {
  font-size: 10px;
  line-height: 10px;
}

/* ========================================
   EVENT POPUP MODAL STYLES
   ======================================== */

.q_event_popup_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 99999;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.q_event_popup_overlay.active {
  display: flex;
}

.q_event_popup_modal {
  background: #fff;
  border-radius: 12px;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: popupFadeIn 0.3s ease-out;
}

@keyframes popupFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.q_event_popup_close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #333;
  transition: all 0.2s ease;
  z-index: 10;
}

.q_event_popup_close:hover {
  background: rgba(0, 0, 0, 0.2);
  transform: rotate(90deg);
}

.q_event_popup_header {
  position: relative;
  padding: 25px;
  display: flex;
  gap: 20px;
  border-bottom: 1px solid #eee;
}

.q_event_popup_image {
  width: 150px;
  height: 150px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}

.q_event_popup_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.q_event_popup_title_area {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.q_event_popup_title {
  font-size: 28px;
  font-weight: 700;
  color: #000;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.q_event_popup_subtitle {
  font-size: 18px;
  color: #666;
  margin: 0 0 12px 0;
}

.q_event_popup_badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.q_event_popup_badge {
  background: rgba(2, 31, 63, 0.57);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.q_event_popup_body {
  padding: 25px;
}

.q_event_popup_info_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 25px;
}

.q_event_popup_info_item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.q_event_popup_info_item i {
  font-size: 20px;
  color: #00aeef;
  width: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.q_event_popup_info_content {
  flex: 1;
}

.q_event_popup_info_label {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.q_event_popup_info_value {
  font-size: 16px;
  color: #333;
  font-weight: 500;
}

.q_event_popup_section {
  margin-bottom: 25px;
}

.q_event_popup_section_title {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #00aeef;
  display: inline-block;
}

.q_event_popup_hinweise {
  background: #fff8e1;
  border-left: 4px solid #ffc107;
  padding: 15px;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  color: #5d4e37;
  line-height: 1.6;
}

.q_event_popup_pressetext {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  text-align: justify;
}

.q_event_popup_footer {
  padding: 20px 25px;
  background: #f8f9fa;
  border-top: 1px solid #eee;
  border-radius: 0 0 12px 12px;
}

.q_event_popup_tracking {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.q_event_popup_tracking_label {
  font-size: 12px;
  color: #666;
  font-weight: 500;
}

.q_event_popup_tracking_input {
  flex: 1;
  min-width: 200px;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
  background: #fff;
  font-family: monospace;
}

.q_event_popup_tracking_input:focus {
  outline: none;
  border-color: #00aeef;
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.1);
}

.q_event_popup_copy_btn {
  background: linear-gradient(130deg, #636aff, #4da1ff);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.q_event_popup_copy_btn:hover {
  background: #4da1ff;
  transform: translateY(-1px);
}

.q_event_popup_copy_btn.copied {
  background: #28a745;
}

/* Ticket Buttons in Popup */
.q_event_popup_ticket_buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.q_event_popup_ticket_btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(130deg, #636aff, #4da1ff);
  color: #fff !important;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(99, 106, 255, 0.3);
}

.q_event_popup_ticket_btn:hover {
  background: linear-gradient(130deg, #4da1ff, #636aff);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 106, 255, 0.4);
}

.q_event_popup_ticket_btn .dashicons {
  font-size: 18px;
  width: 18px;
  height: 18px;
}

.q_event_popup_ticket_status {
  text-align: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
}

.q_event_popup_ticket_status.folgen {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffc107;
}

.q_event_popup_ticket_status.ausverkauft {
  background: #e2e3e5;
  color: #383d41;
  border: 1px solid #6c757d;
}

.q_event_popup_ticket_status.geschlossen {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #dc3545;
}

/* Status Badges in Popup */
.q_event_popup_status_badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.q_event_popup_status_badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.q_event_popup_status_badge .dashicons {
  font-size: 14px;
  width: 14px;
  height: 14px;
}

.q_event_popup_status_badge.verlegen {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffc107;
}

.q_event_popup_status_badge.nachholtermin {
  background: #d1ecf1;
  color: #0c5460;
  border: 1px solid #17a2b8;
}

.q_event_popup_status_badge.new-location {
  background: #d4edda;
  color: #155724;
  border: 1px solid #28a745;
}

.q_event_popup_status_badge.abgesagt {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #dc3545;
}

.q_event_popup_status_badge.ausverkauft {
  background: #e2e3e5;
  color: #383d41;
  border: 1px solid #6c757d;
}

/* Dashicons in Popup Info Grid */
.q_event_popup_info_item .dashicons {
  font-size: 22px;
  width: 24px;
  height: 24px;
  color: #00aeef;
  flex-shrink: 0;
  margin-top: 2px;
}

/* New/Old Location Display in Popup */
.q_event_popup_new_location {
  display: block;
  font-weight: 600;
  color: #155724;
}

.q_event_popup_old_location {
  display: block;
  font-size: 13px;
  color: #dc3545;
  text-decoration: line-through;
  margin-top: 4px;
}

/* Room Name in Popup */
.q_event_popup_room {
  color: #666;
  font-weight: 400;
  font-size: 14px;
}

/* Copy Button Dashicon */
.q_event_popup_copy_btn .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
}

/* Clickable event container styling */
.q_events_wrapper .q_event_single {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.q_events_wrapper .q_event_single:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Prevent click on ticket buttons from triggering popup */
.q_events_wrapper .q_event_systems {
  position: relative;
  z-index: 10;
}

.q_events_wrapper .q_event_systems a {
  cursor: pointer;
}

/* Mobile Responsive */
@media (max-width: 600px) {
  .q_event_popup_header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .q_event_popup_image {
    width: 120px;
    height: 120px;
  }
  
  .q_event_popup_title {
    font-size: 22px;
  }
  
  .q_event_popup_info_grid {
    grid-template-columns: 1fr;
  }
  
  .q_event_popup_tracking {
    flex-direction: column;
    align-items: stretch;
  }
  
  .q_event_popup_tracking_input {
    min-width: unset;
  }
  
  .q_event_popup_status_badges {
    justify-content: center;
  }
}