/* 
Theme Name:		 LunchIdag
Theme URI:		 https://figant.com
Description:	 LunchIdag is a child theme of Foogra Theme, created by ChildTheme-Generator.com
Author:			 FiGANT
Author URI:		 https://figant.com
Template:		 foogra
Version:		 1.0.0
Text Domain:	 lunchidag
*/

/*
    Add your custom styles here
*/

/* Form steps styles */
.form-steps-container {
	margin-bottom: 30px;
	padding: 20px;
	background-color: #f9f9f9;
	border-radius: 5px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-steps {
	display: flex;
	margin-bottom: 15px;
	position: relative;
}

.form-steps:after {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 2px;
	background-color: #ddd;
	z-index: 1;
}

.form-step {
	flex: 1;
	text-align: center;
	padding: 15px;
	position: relative;
	opacity: 0.7;
	z-index: 2;
}

.form-step.active {
	opacity: 1;
	font-weight: bold;
}

.form-step.completed {
	opacity: 1;
}

.form-step .step-number {
	display: inline-block;
	width: 36px;
	height: 36px;
	line-height: 36px;
	border-radius: 50%;
	background-color: #e0e0e0;
	color: #333;
	margin-right: 10px;
	position: relative;
	z-index: 2;
}

.form-step.active .step-number,
.form-step.completed .step-number {
	background-color: #ff8041;
	color: white;
}

.step-description {
	background-color: #fff;
	padding: 15px;
	border-radius: 4px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.step-description p {
	display: none;
	margin: 0;
	color: #666;
}

.step-description p.active {
	display: block;
}

.step-navigation {
	display: flex;
	justify-content: space-between;
	margin-top: 20px;
	margin-bottom: 20px;
}

.step-navigation button {
	padding: 10px 25px;
	background-color: #ff8041;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-weight: 500;
	transition: all 0.2s;
}

.step-navigation button:hover {
	background-color: #e76a28;
}

.step-navigation button:disabled {
	background-color: #cccccc;
	cursor: not-allowed;
}

.step-navigation button.prev-step {
	background-color: #f0f0f0;
	color: #333;
}

.step-navigation button.prev-step:hover {
	background-color: #e0e0e0;
}

.form-error-message {
	color: #d63638;
	margin-top: 10px;
	padding: 10px;
	background-color: #ffeeee;
	border-left: 4px solid #d63638;
	display: none;
}

.cmb-row.has-error {
	background-color: rgba(255, 238, 238, 0.5);
	border-left: 3px solid #d63638;
	padding-left: 15px !important;
}

/* Step 2 sections style - important to ensure they don't show on page load */
.step-2-section {
	display: none !important;
}

/* When step 2 is active, override the important display none */
body .step-2-section.active-step {
	display: block !important;
}

.step-2-navigation {
	display: none !important;
}

body .step-2-navigation.active-step {
	display: flex !important;
}

label[for='_listing_lunch_menu'] {
	font-size: 1rem;
}
div#apus-header-mobile .logo img {
	width: 50% !important;
}

[class*='week-number'] {
	width: 100% !important;
}
[class*='latest-modified'] {
	display: none !important;
}

.listing-grid-v2 {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
}

.listing-grid-v2 .listing-thumbnail-wrapper {
	height: 100%;
}
.hours-last label:nth-child(2) {
	display: none;
}
.listing-grid-v2 .listing-thumbnail-wrapper img {
	object-fit: cover;
	height: 100%;
	width: 100%;
}
.apus-footer {
	color: white !important;
}
.listing-grid-v2 .menu-grid,
.listing-content_short {
	padding: 15px;
}

.listing-grid-v2 .menu-grid .title {
	font-size: 1.2rem;
	margin-bottom: 10px;
}

.listing-content_short .title {
	font-size: 1rem;
	margin-bottom: 7px;
}

.listing-content_short p {
	margin: 0;
	font-size: 0.8rem;
}

.listing-grid-v2 .menu-price-item {
	margin-bottom: 10px;
}

.menu-price-item .title-price {
	font-size: 1rem;
	margin-bottom: 5px;
	font-weight: 500;
}

.listing-grid-v2 .menu-price-item .description {
	font-size: 0.9rem;
}

.listing-grid-v2 .to-menu-link-text {
	font-size: 0.9rem;
	color: #ff8041;
	text-decoration: underline;
	cursor: pointer;
}

.category-banner-inner.has-image .inner,
.category-banner-inner.has-image .inner .title {
	color: black !important;
}
.category-banner-inner.has-image .inner {
	position: relative !important;
	background: none !important;
}

i.arrow_carrot-right,
i.arrow_carrot-left {
	color: #949494;
}
.apus-social-share .title {
	padding: 0 10px;
	text-align: center;
	font-size: 1.1rem;
	padding-bottom: 5px;
}
.to-menu-link h5 {
	font-size: 12px;
	text-decoration: underline;
	color: #444;
	font-weight: 400;
}

.listing-grid-v2.listing-item .listing-image img {
	object-fit: cover;
	width: 100%;
}
@media (min-width: 1024px) {
	.listing-grid-v2.listing-item .listing-image img {
		min-height: 293px;
	}
	.listing-grid-v2 .menu-grid {
		min-height: 109px;
	}
	.page-template-page-listings .listing-grid-v2.listing-item .listing-image img {
		min-height: 295px;
	}
}

.listing-grid-v2 .no-menu-message {
	font-style: italic;
	color: #666;
	padding: 10px 0;
}

.listing-grid-v2 .menu-price-item .price,
.listing-detail-photo .menu-price-item .price {
	font-weight: bold;
	color: #ff8041;
}

.menu-price-item .title-price-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	width: 100%;
}

.menu-price-item .title-price {
	padding-right: 5px;
	background: #fff; /* Match this with your background color */
}

.menu-price-item .price {
	order: 2;
	padding-left: 5px;
	background: #fff; /* Match this with your background color */
	white-space: nowrap;
}

.menu-price-item .title-price-wrapper::after {
	content: '';
	flex: 1;
	border-bottom: 1px dotted #ccc;
	margin: 0 5px;
	position: relative;
	bottom: 5px;
}

.listing-detail-photo .menu-price-item .description {
	margin-bottom: 10px;
}

.listing-single-gallery-wrapper.single-thumbnail-image img {
	object-fit: cover !important;
	width: 100% !important;
	object-position: center;
	max-height: 500px;
}

/* Import parent theme styles */
@import url('../foogra/style.css');

/* Style for website button */
.btn-website {
	display: inline-flex;
	align-items: center;
	padding: 5px 10px;
	margin-right: 10px;
	background-color: #f8f9fa;
	color: #444;
	border-radius: 4px;
	text-decoration: none;
	transition: all 0.2s;
}

.btn-website i {
	margin-right: 5px;
}

.btn-website:hover {
	background-color: #e9ecef;
	color: #000;
	text-decoration: none;
}

/* Listing header action buttons layout */
.list-action.float-md-end {
	gap: 10px;
	display: flex;
	flex-wrap: wrap;
}

/* Print menu button */
.btn-print-menu {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 10px;
	margin-right: 10px;
	background-color: #f8f9fa;
	color: #444;
	border: 1px solid #ddd;
	border-radius: 4px;
	text-decoration: none;
	font-size: 14px;
	transition: all 0.2s;
}
.btn-print-menu i {
	margin-right: 3px;
}
.btn-print-menu:hover {
	background-color: #ff8041;
	color: #fff;
	border-color: #ff8041;
	text-decoration: none;
}
.title-wrapper h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}
/* Additional CSS to fix form steps visibility issues */
/* These styles will override any other CSS rules affecting the step sections */
html body .step-2-section {
	display: none !important;
}

html body .step-2-section.active-step {
	display: block !important;
}

html body .step-2-navigation {
	display: none !important;
}

html body .step-2-navigation.active-step {
	display: flex !important;
}

/* Fix for form steps on mobile */
@media (max-width: 768px) {
	.form-steps-container {
		padding: 15px 10px;
	}

	.form-step .step-text {
		font-size: 14px;
	}

	.form-step .step-number {
		width: 30px;
		height: 30px;
		line-height: 30px;
		margin-right: 5px;
	}

	.step-navigation button {
		padding: 8px 15px;
		font-size: 14px;
	}
}

/* Form Steps - Improve Back Button Styling */
.step-2-navigation .prev-step {
	background-color: white !important;
	color: #444 !important;
	padding: 10px 20px !important;
	border-radius: 4px !important;
	cursor: pointer !important;
	font-weight: 500 !important;
	transition: all 0.2s !important;
	display: inline-block !important;
	border: none !important;
	margin-right: auto !important;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
	position: relative !important;
	z-index: 9999 !important;
	opacity: 1 !important;
	visibility: visible !important;
}
.menu-price-item .description {
	display: block !important;
}
.step-2-navigation .prev-step:hover {
	background-color: #d0d0d0 !important;
	color: #222 !important;
}

.step-2-navigation .prev-step:before {
	content: '« ';
	margin-right: 5px;
}

/* Make sure step 2 navigation is properly structured */
.step-2-navigation.active-step {
	display: flex !important;
	justify-content: space-between !important;
	margin: 20px 0 !important;
	width: 100% !important;
	opacity: 1 !important;
	visibility: visible !important;
	position: relative !important;
	z-index: 9990 !important;
	min-height: 50px !important;
}

/* Form Steps - Navigation and Button Styling */
.step-2-navigation .submit-button-container {
	display: flex;
	justify-content: flex-end;
}

.menu-price-item .image {
    width: 160px;
    height: 160px;
    overflow: hidden;
    border-radius: 3px;
}


.step-2-navigation .submit-button-container button {
	background-color: #ff8041 !important;
	color: white !important;
	padding: 10px 25px !important;
	border-radius: 4px !important;
	font-weight: 500 !important;
	transition: all 0.2s !important;
	border: none !important;
}

.step-2-navigation .submit-button-container button:hover {
	background-color: #e76a28 !important;
}
.apus-breadscrumb .bread-title,
.megamenu > li > a {
	text-transform: none !important;
}
/* Make the navigation responsive */
@media (max-width: 768px) {
	.step-2-navigation.active-step {
		flex-direction: column;
		gap: 15px;
	}

	.step-2-navigation .prev-step,
	.step-2-navigation .submit-button-container {
		width: 100%;
		text-align: center;
	}

	.step-2-navigation .submit-button-container {
		justify-content: center;
	}
}

.kategorier-menu-item button:after {
	display: none;
}

div.cmb2-wrap .select2-container--default.select2-container .select2-selection--single .select2-selection__rendered {
	line-height: 25px !important;
}

/* Custom Styles for Listing Info Section */
.listing-info {
	background-color: #f9f9f9; /* Light grey background */
	border: 1px solid #eee; /* Light border */
	border-radius: 8px; /* Rounded corners */
	padding: 20px; /* Padding around the content */
	margin-top: 30px; /* Space above the section */
}

.listing-info .info-item {
	display: flex; /* Use flexbox for alignment */
	align-items: center; /* Vertically align items in the center */
	margin-bottom: 15px; /* Space below each item */
	padding-bottom: 15px; /* Padding below each item for separation line */
	border-bottom: 1px dashed #ddd; /* Dotted separator line */
}

.listing-info .info-item:last-child {
	margin-bottom: 0; /* No margin for the last item */
	border-bottom: none; /* No border for the last item */
	padding-bottom: 0;
}

.listing-info .info-item i {
	font-size: 24px; /* Icon size */
	color: #555; /* Icon color */
	margin-right: 15px; /* Space between icon and text */
	flex-shrink: 0; /* Prevent icon from shrinking */
}

.listing-info .info-item strong {
	font-weight: 600; /* Bolder text for the label */
	color: #333; /* Darker text color for label */
	margin-right: 8px; /* Space after the label */
}

.listing-info .info-item span {
	color: #666; /* Text color for the value */
	font-size: 0.95em;
}
