/* 
Theme Name: DD Locations v3
Theme URI: https://github.com/elementor/hello-theme-child/
Description: DD location subsite child theme v3 - Hello Elementor main theme
Author: Steve Wilder
Author URI: https://elementor.com/
Template: hello-elementor
Version: 3.0.0
Text Domain: dd-locations-v3
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* NEW ADDED CSS */

.event-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background-color: #f1f1f1;
  border-radius: 16px;
  padding: 24px;
  max-width: 1200px;
  margin: 20px auto;
  font-family: 'Arial', sans-serif;
  gap: 20px;
  flex-wrap: wrap;
}

.event-info {
  flex: 1 1 60%;
}

.event-info h2 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 10px;
  color: #1a1a1a;
}

.event-info p {
  margin: 0 0 15px;
  font-size: 16px;
  color: #1a1a1a;
}

.event-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.ticket-button {
  background-color: #f73828;
  color: white !important;
  font-weight: bold;
  font-size: 18px;
  padding: 10px 22px;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.ticket-button:hover {
  background-color: #d82d1e;
}

.event-details p {
  margin: 0;
  font-size: 15px;
  color: #444;
  flex: 1 1 100%;
}

.event-details strong {
  color: #222;
}

.event-details em {
  color: #666;
  font-style: italic;
}

.event-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.event-image img {
  width: 120px;
  height: auto;
  border-radius: 10px;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
}

/* ✅ Mobile responsiveness */
@media only screen and (max-width: 768px) {
  .event-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-info {
    width: 100%;
    text-align: center;
  }
  
  .event-image {
  	display: none;
  }

  .event-info h2, .event-info p, .event-details p {
    text-align: center;
  }

  .event-details {
    justify-content: center;
  }

  .ticket-button {
    margin-bottom: 10px;
  }
  
  h1.entry-title {
  	font-size: 1.5rem !important;
  }
}

.month-header {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 1.5rem;
  font-family: sans-serif;
}

.month-header::after {
  content: "";
  flex-grow: 1;
  height: 2px;
  background-color: gray;
  margin-left: 1rem;
}




/* Add your custom styles here */

main {
}

.buy-tickets-link a {
	color: red !important;
}

.hidden {
	display: none !important;
}

.site-main {
	max-width: 100% !important;
}

.nowrap {
	white-space: nowrap;
}

h1, h1.entry-title {
	text-align: center !important;
	font-family: 'Special Elite', 'Times New Roman', serif !important;
	text-transform: capitalize !important;
    font-weight: normal !important;
    font-style: normal;
    color: white !important;
	margin: 0 0 0 0;
	font-size: 2.5rem;
}

h2 {
	font-size: 2rem !important;
}

h3 {
	font-size: 1.75rem !important;
}

h4 {
	font-size: 1.5rem !important;
}

ul.elementor-nav-menu li a, .sb-relative, .wpseo-business-name, h5 {
	font-family: 'Montserrat', 'Arial', sans-serif !important;
	font-weight: bold;
}

.wpseo-extra-comment {
	font-style: italic;
}

input[name="quantity"], input[name="ign-donation"] {
	width: 5em !important;
}

#dd-template-location-menu-container img, #dd-template-location-menu-container source, #dd-template-location-menu-container picture {
	object-fit: cover;
}

.dd-template-title {
	display: flex;
	background-image: url(https://www.thedinnerdetective.com/_images/detectives-header-bkgd.webp);
	background-position: center center;
	background-size: cover;
	background-repeat: none;
	min-height: 25vh;
	flex-direction: column;
	justify-content: center;
}

.dd-template-content {
	padding: 20px 15px 20px 15px;
	background: rgb(208,208,208);
	background: linear-gradient(90deg, rgba(208,208,208,1) 0%, rgba(255,255,255,1) 2%, rgba(255,255,255,1) 98%, rgba(208,208,208,1) 100%);
}

.sb-item-text .sb-fs {
   overflow: hidden;
   display: -webkit-box;
   -webkit-line-clamp: 2; /* number of lines to show */
           line-clamp: 2; 
   -webkit-box-orient: vertical;
}


#menu-choices li {
	text-transform: capitalize;
}

.elementor-button-text:hover {
	color: yellow !important;
}


#menu-choices ul li {
	font-weight: bold !important;
	margin: 5px 0 5px 0 !important;
}

#menu-choices ul li ul li {
	font-weight: normal !important;
}

#menu-choices ul li ul li ul li {
	font-style: italic !important;
	font-weight: normal !important;
}

.populate-posts {
	background-color: lightyellow !important;
	border-radius: 10px !important;
	padding: 10px !important;
}

.populate-posts label {
	font-weight: bold !important;
}



/*
begin woocommerce
*/

#billing_company_field,
#suspect_package_field,
#event_id_number_field,
#event_date_field,
#event_date_reminder_field,
#event_date_thanks_field,
#event_reminder_time,
#event_thanks_time,
#show_script_field {
	display: none !important;
}

.checkout-countdown-wrapper {
	background-color: black;
	padding: 10px;
	color: white;
	font-weight: bold;
	font-size: large;
	text-align: center;
}

.checkout-button, #place_order {
	background-color: red !important;
	text-transform: capitalize !important;
	border-radius: 10px !important;
	color: white !important;
}

li.product {
	background-color: whitesmoke !important;
	border-radius: 10px !important;
}

li.product a.button {
	background-color: white !important;
}

h1.product_title {
	color: black !important;
}

.woocommerce-error, .woocommerce-info {
	border-top: 0px;
	padding: 0px;
	margin-bottom: 15px;
}

.woocommerce-info {
	background-color: aliceblue;
	padding: 10px;
	border: 1px solid blue;
	text-align: center !important;
}

.woocommerce-error::before, .woocommerce-info::before {
	content: none !important;
}

.woocommerce-form-coupon-toggle div {
	text-align: center;
}

.woocommerce-terms-and-conditions {
	display: inline-block !important;
	max-height: 400px !important;
	padding: 10px !important;
}

#terms-conditions-short {
	font-size: 12px;
}

.woocommerce-billing-fields,
#order_review_heading {
	text-transform: capitalize;
}

#customer_details .col-1 {
	width: 100%;
}

#wc-authorize-net-cim-credit-card-account-number {
	background-image: none !important;
}

@media only screen and (min-width: 769px) {
	#billing_address_1_field, #shipping_address_1_field {
		width: 55%;
		float: left;
		clear: none;
	}
	#billing_address_2_field, #shipping_address_2_field {
		width: 40%;
		float: right;
		clear: none;
		margin-top: 32px;
	}
	#billing_city_field, #shipping_city_field {
		width: 45%;
		float: left;
		clear: none;
		margin-right: 5%;
	}
	#billing_state_field, #shipping_state_field {
		width: 20%;
		float: left;
		clear: none;
	}
	#billing_postcode_field, #shipping_postcode_field {
		width: 25%;
		float: right;
		clear: none;
	}
	#billing_phone_field {
		width: 47%;
		float: left;
		clear: none;
	}
	#billing_email_field {
		width: 47%;
		float: right;
		clear: none;
	}
	#entree_1_count_field,
	#entree_2_count_field,
	#entree_3_count_field,
	#entree_4_count_field {
		width: 23%;
		margin-right: 2%;
		clear: none;
	}
	#entree_2_count_field,
	#entree_3_count_field,
	#entree_4_count_field {
		float: left;
	}
	#dietary_checkbox_field {
		clear: both;
	}
}

@media only screen and (max-width: 768px) {
	#billing_first_name_field,
	#billing_last_name_field {
		width: 100%;
	}
	.gform_button,
	#entree_1_count_field,
	#entree_2_count_field,
	#entree_3_count_field,
	#entree_4_count_field,
	#coupon_code,
	div.coupon .button,
	input.donate_btn {
		width: 100% !important;
	}
	div.donation {
		text-align: center;
	}
	#coupon_code {
		margin-bottom: 10px;
	}
	a.wecb_emptycart {
		text-align: center;
	}
	.gform_previous_button,
	.gform_next_button {
		width: 75% !important;
	}
	form.woocommerce-checkout {
		margin: 0 15px 0 15px;
	}
}


/*
end woocommerce
*/