/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
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
*/

/* Add your custom styles here */
/* General */
@media ( min-width: 992px ) {
	body.home .footer-content {
		padding-bottom: 160px;
	}
}
#hide-header {
	transition: top .3s;
}
.elementor-widget-image a {
	width: 100%;
}
/* Elementor Widget - Text */
.elementor-widget-text-editor > :last-child {
	margin-bottom: 0;
}
.elementor-widget-text-editor.link-underline a {
	text-decoration: underline;
}
/* Hero form */
.hero-form {
	display: grid;
	grid-template-columns: 1.2fr repeat(4, 1fr) 1.2fr;
}
.hero-form-col {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 26px 0;
}
.hero-form-col:not(:last-of-type) {
	border-right: 1.5px solid #EDE0D1;
}
.input-container {
	align-items: center;
	row-gap: 14px;
}
.input-container label {
	color: #EDE0D1;
	font-size: 20px;
	font-weight: 500;
}
.input-container input {
	max-width: 180px;
	border: none;
	border-radius: 0;
	background-color: transparent;
	color: #EDE0D1;
	font-size: 20px;
}
.input-container input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
	cursor: pointer;
}
input[type="date"] {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" fill="%23EDE0D1"><path d="M128 8c0-4.4-3.6-8-8-8s-8 3.6-8 8l0 56L64 64C28.7 64 0 92.7 0 128l0 48 0 16 0 96 0 16 0 96 0 16 0 32c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-32 0-16 0-96 0-16 0-96 0-16 0-48c0-35.3-28.7-64-64-64l-48 0 0-56c0-4.4-3.6-8-8-8s-8 3.6-8 8l0 56L128 64l0-56zM432 288l-128 0 0-96 128 0 0 96zM288 192l0 96-128 0 0-96 128 0zm-144 0l0 96L16 288l0-96 128 0zM16 304l128 0 0 96L16 400l0-96zm0 112l128 0 0 80-80 0c-26.5 0-48-21.5-48-48l0-32zm144 80l0-80 128 0 0 80-128 0zm144 0l0-80 128 0 0 32c0 26.5-21.5 48-48 48l-80 0zm128-96l-128 0 0-96 128 0 0 96zM112 80l0 40c0 4.4 3.6 8 8 8s8-3.6 8-8l0-40 192 0 0 40c0 4.4 3.6 8 8 8s8-3.6 8-8l0-40 48 0c26.5 0 48 21.5 48 48l0 48L16 176l0-48c0-26.5 21.5-48 48-48l48 0zM288 400l-128 0 0-96 128 0 0 96z"/></svg>');
	background-repeat: no-repeat;
	background-position: right 19px center;
    background-size: 14px;
}
.input-container input[type="number"] {
	text-align: center;
}
.hero-form-title {
	margin: 0;
	color: #EDE0D1;
}
.hero-form-button {
	align-self: flex-end;
}

/* Title with line before */
.title-with-line-before {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 14px;
}
.title-with-line-before:before {
	content: " ";
	height: 1px;
	width: 40px;
	background-color: #332822;
}

/* Title with upper line */
.title-with-upper-line:before {
	content: " ";
	display: block;
	height: 0px;
	max-width: 150px;
	width: 100%;
	margin-bottom: 10px;
	border-top: 1.5px solid #332822;
}
.title-with-upper-line.alt:before {
	border-color: #EDE0D1;
}

/* Mobile Menu Toggler */
.mobile-menu-toggler .elementor-icon-wrapper {
	display: flex;
}

/* Hover Card */
.hover-card {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
@media ( min-width: 992px ) {
	.hover-card-content {
		max-height: 0;
		opacity: 0;
		overflow: hidden;
		transition: max-height 0.6s ease, opacity 0.6s ease;
	}
	.hover-card:hover .hover-card-content {
		max-height: 400px; /* or something large enough */
		opacity: 1;
	}
}

/* GForm - Hirlevel */
#gform_wrapper_1 .gform_description {
	display: none;
}
#gform_1 .gform_fields {
	display: flex;
	flex-direction: column;
	row-gap: 26px;
}
#gform_1 .gform_fields input[type="email"] {
	padding-left: 0;
	padding-right: 0;
	border: none;
	border-bottom: 1.5px solid #EDE0D1;
	border-radius: 0;
	background-color: transparent;
	color: #EDE0D1;
}
#gform_1 .gform_fields input[type="submit"] {
	border: 1.5px solid #EDE0D1;
	border-radius: 0;
	background-color: #5D6849;
	color: #EDE0D1;
	font-size: 16px;
	font-weight: 400;
	text-transform: uppercase;
	transition: background-color .3s, color .3s;
}
#gform_1 .gform_fields input[type="submit"]:hover {
	background-color: #EDE0D1;
	color: #332822;
}
#gform_1 .gform-footer {
	display: none;
}
@media ( min-width: 992px ) {
	#gform_1 .gform_fields {
		display: grid;
		grid-template-columns: 1fr 160px;
		column-gap: 40px;
	}
	#gform_1 .gform_fields .gfield--type-email {
		grid-column: 1;
	}
	#gform_1 .gform_fields .gfield--type-submit {
		grid-column: 2;
		align-self: flex-start;
	}
}

/* Szallod Carousel Controls */
#szalloda-carousel-prev,
#szalloda-carousel-next {
	cursor: pointer;
}

/* Custom Accordion */
.custom-accordion .e-n-accordion {
	display: flex;
	flex-direction: column;
	row-gap: 1.5px;
}
.custom-accordion .e-n-accordion .e-n-accordion-item {
	border: 1.5px solid #C7B9A8;
}
.custom-accordion.alt .e-n-accordion .e-n-accordion-item {
	border-color: #EDE0D1;
}

/* Custom Gallery */
.custom-gallery .e--pointer-underline .elementor-item:after {
	height: 1.5px;
}

/* Program */
.program-wrapper {
    position: relative;
    max-height: 110px; /* visible area */
    overflow: hidden;
}
.program-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(237, 224, 209 ,0), rgba(237, 224, 209 ,1));
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.program-wrapper.open {
    max-height: none;
}
.program-wrapper.open::after {
    opacity: 0;
}
.program-toggle-btn {
	cursor: pointer;
}

/* Main Navigation */
@media ( min-width: 992px ) {
	#main-desktop-menu .elementor-nav-menu > .menu-item:hover a,
	#main-desktop-menu .elementor-nav-menu > .current-menu-item a {
		font-weight: 600;
	}
}