/*
Theme Name:     Ronmi Child
Theme URI:      http://wpdemo.archiwp.com/ronmi/
Description:    Make your modifications to [Parent Theme] in this child theme.
Author:         OceanThemes
Author URI:     http://oceanthemes.net/
Version:        1.0.5
Template:       ronmi
License:      	GNU General Public License v2 or later
License URI:  	http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  	ronmi-child
*/

/* =Theme customization starts here
------------------------------------------------------- */
.single.single-post .page-header{
	display:none;
}
.page-header {
	box-shadow: inset 0 0 0 1000px rgba(0,0,0,.2);
}

/* Replaces the one rule that lived in Elementor Pro custom CSS on the mobile menu. */
.mobile-menu button {
	background: transparent !important;
}

/*
 * Contact Form 7 submits stand in for the Elementor Pro form buttons.
 * Quote forms (class allo-quote) used a medium button, 12px radius, centered.
 * The footer signup (class allo-signup) used a small pill button.
 */
.wpcf7 input.wpcf7-submit {
	display: inline-block;
	width: auto;
	line-height: 1;
	background-color: var(--e-global-color-7ef8419, #035b65);
	color: #fff;
	text-align: center;
	border: none;
	cursor: pointer;
	transition: all .3s;
	-webkit-appearance: none;
	appearance: none;
	box-shadow: none;
}

form.allo-quote {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 10px;
	row-gap: 10px;
}

form.allo-quote > p {
	margin: 0;
}

form.allo-quote > p:has(textarea),
form.allo-quote > p:has(input.wpcf7-submit),
form.allo-quote > .wpcf7-response-output {
	grid-column: 1 / -1;
}

form.allo-quote label {
	display: block;
}

form.allo-quote input.wpcf7-text,
form.allo-quote textarea.wpcf7-textarea {
	width: 100%;
	max-width: 100%;
}

form.allo-quote p:has(input.wpcf7-submit) {
	text-align: center;
}

@media (max-width: 767px) {
	form.allo-quote {
		grid-template-columns: 1fr;
	}
}

form.allo-quote input.wpcf7-submit {
	font-size: 16px;
	padding: 15px 30px;
	min-height: 47px;
	border-radius: 12px;
}

form.allo-quote input.wpcf7-submit:hover,
form.allo-quote input.wpcf7-submit:focus {
	background-color: var(--e-global-color-9319a42, #000);
	color: #fff;
}

form.allo-signup input.wpcf7-submit {
	font-size: 15px;
	padding: 12px 24px;
	min-height: 40px;
	border-radius: 100px;
}

form.allo-signup input.wpcf7-submit:hover,
form.allo-signup input.wpcf7-submit:focus {
	background-color: #fff;
	color: #000;
}

/*
 * Conversion bands. Teal #035B65 and dark #23272A are the Elementor
 * primary and the footer background. The white button is the same pair,
 * reversed, so it stays visible on the teal band.
 */
.allo-cta--band {
	background-color: #035b65;
	color: #fff;
	padding: 48px 20px;
	text-align: center;
}

.allo-cta__inner {
	max-width: 720px;
	margin: 0 auto;
}

.allo-cta__title {
	margin: 0 0 18px;
	color: #fff;
	font-family: "Palatino Linotype", Palatino, "Book Antiqua", serif;
	font-size: 32px;
	font-weight: 400;
	line-height: 1.25;
}

.allo-cta__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px 24px;
}

.allo-cta__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	max-width: 100%;
	padding: 15px 30px;
	min-height: 47px;
	border-radius: 12px;
	background-color: #035b65;
	color: #fff;
	font-family: Lexend, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.35;
	text-align: center;
	text-decoration: none;
	white-space: normal;
}

.allo-cta--band .allo-cta__button {
	background-color: #fff;
	color: #035b65;
}

.allo-cta__button:hover,
.allo-cta__button:focus {
	background-color: #23272a;
	color: #fff;
}

.allo-cta__phone {
	color: #035b65;
	font-family: Lexend, sans-serif;
	font-size: 16px;
	line-height: 1.4;
	text-decoration: none;
}

.allo-cta--band .allo-cta__phone {
	color: #fff;
}

.allo-cta__phone:hover,
.allo-cta__phone:focus {
	text-decoration: underline;
}

.allo-cta__button:focus-visible,
.allo-cta__phone:focus-visible,
.allo-contact-bar a:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.allo-cta--footer {
	margin: 0 0 28px;
}

.allo-cta--footer .allo-cta__phone {
	display: inline-block;
	margin-top: 12px;
	color: #bbbbbc;
}

.allo-cta--footer .allo-cta__phone:hover,
.allo-cta--footer .allo-cta__phone:focus {
	color: #fff;
}

.allo-cta--portfolio .allo-cta__button {
	max-width: 36em;
}

/* Full-width row inside the Referenciák masonry grid. */
.projects-grid .project-item.allo-cta-item,
.projects-grid.pf_2_cols .project-item.allo-cta-item,
.projects-grid.pf_3_cols .project-item.allo-cta-item,
.projects-grid.pf_4_cols .project-item.allo-cta-item {
	width: 100%;
}

.project-item.allo-cta-item .allo-cta--band {
	padding: 28px 16px;
}

.allo-contact-bar {
	display: none;
}

@media (max-width: 767px) {
	.allo-cta__title {
		font-size: 26px;
	}

	body.allo-has-contact-bar {
		padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
	}

	.allo-contact-bar {
		display: flex;
		position: fixed;
		z-index: 1001;
		left: 0;
		right: 0;
		bottom: 0;
		box-sizing: border-box;
		height: calc(56px + env(safe-area-inset-bottom, 0px));
		padding: 0 12px env(safe-area-inset-bottom, 0px);
		align-items: center;
		gap: 8px;
		background-color: #23272a;
	}

	.allo-contact-bar__call {
		display: flex;
		flex: 0 0 44px;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		border: 1px solid rgba(255, 255, 255, 0.4);
		border-radius: 50%;
		color: #fff;
	}

	.allo-contact-bar__quote {
		display: flex;
		flex: 1 1 auto;
		align-items: center;
		justify-content: center;
		min-height: 44px;
		border-radius: 12px;
		background-color: #035b65;
		color: #fff;
		font-family: Lexend, sans-serif;
		font-size: 16px;
		line-height: 1;
		text-decoration: none;
	}

	.allo-contact-bar__quote:hover,
	.allo-contact-bar__quote:focus,
	.allo-contact-bar__call:hover,
	.allo-contact-bar__call:focus {
		background-color: #fff;
		color: #035b65;
	}

	body.allo-has-contact-bar #back-to-top.show {
		bottom: calc(56px + 16px + env(safe-area-inset-bottom, 0px));
		z-index: 1002;
	}
}

/*
 * Mobile homepage hero. The slider keeps its desktop layout.
 * On a phone the project photo sits above the type, because the
 * kitchen image is too light for white text under a 40% veil.
 */
.allo-hero-secondary {
	display: none;
}

@media (max-width: 767px) {
	.elementor-9871 .elementor-element.elementor-element-6b03076 .ot-site-logo img {
		width: 72px !important;
		height: auto !important;
	}

	body.home #site-header.header-transparent,
	body.home #site-header.header-transparent .elementor-section:not(.is-stuck, .ot-mega-menu, .ot-side-menu) {
		position: relative;
		background-color: #fff !important;
	}

	/*
	 * Slider Revolution size-contains the module, so the hero height
	 * has to be set explicitly. The photo is the top band; the type
	 * sits on the grey below it.
	 */
	#SR7_1_1 {
		--allo-photo: 45vh;
		height: calc(var(--allo-photo) + 290px) !important;
		overflow: hidden;
	}

	#SR7_1_1 sr7-adjuster {
		display: none !important;
	}

	#SR7_1_1 sr7-content,
	#SR7_1_1-1 {
		position: absolute !important;
		inset: 0 !important;
		width: 100% !important;
		height: 100% !important;
		min-height: 0 !important;
		transform: none !important;
	}

	#SR7_1_1 sr7-content {
		display: block !important;
	}

	#SR7_1_1-1 {
		background-color: #efeeec;
		overflow: hidden;
	}

	#SR7_1_1-1::before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		z-index: 1;
		display: block;
		width: 100%;
		height: var(--allo-photo);
		background-image:
			linear-gradient(rgba(35, 39, 42, 0.35), rgba(35, 39, 42, 0.35)),
			url("/wp-content/uploads/2024/06/Kezdolap_1_v3.jpg");
		background-size: cover;
		background-position: center 32%;
		pointer-events: none;
	}

	#SR7_1_1-1-0,
	#SR7_1_1-1 > sr7-mask:has(#SR7_1_1-1-0) {
		position: absolute !important;
		width: 1px !important;
		height: 1px !important;
		margin: -1px !important;
		padding: 0 !important;
		overflow: hidden !important;
		clip: rect(0, 0, 0, 0) !important;
		clip-path: inset(50%) !important;
		white-space: nowrap !important;
		border: 0 !important;
	}

	#SR7_1_1-1-0 {
		display: block !important;
	}

	#SR7_1_1-1-4,
	#SR7_1_1-1-5,
	#SR7_1_1-1-6,
	#SR7_1_1-1-7,
	#SR7_1_1-1-8,
	#SR7_1_1-1-9,
	#SR7_1_1-1 > sr7-mask:has(#SR7_1_1-1-9),
	#SR7_1_1 .sr7-arrows,
	#SR7_1_1 sr7-arrow,
	#SR7_1_1 .sr7-bullets {
		display: none !important;
	}

	#SR7_1_1-1 > sr7-mask:has(#SR7_1_1-1-1),
	#SR7_1_1-1 > sr7-mask:has(#SR7_1_1-1-2),
	#SR7_1_1-1 > sr7-mask:has(#SR7_1_1-1-3) {
		position: absolute !important;
		right: auto !important;
		bottom: auto !important;
		left: 20px !important;
		z-index: 2;
		transform: none !important;
		height: auto !important;
		overflow: visible !important;
		margin: 0 !important;
	}

	#SR7_1_1-1-1,
	#SR7_1_1-1-2,
	#SR7_1_1-1-3 {
		position: relative !important;
		top: 0 !important;
		left: 0 !important;
		right: auto !important;
		bottom: auto !important;
		transform: none !important;
		height: auto !important;
		margin: 0 !important;
	}

	#SR7_1_1-1 > sr7-mask:has(#SR7_1_1-1-1),
	#SR7_1_1-1 > sr7-mask:has(#SR7_1_1-1-2) {
		width: calc(100% - 40px) !important;
	}

	#SR7_1_1-1-1,
	#SR7_1_1-1-2 {
		width: 100% !important;
	}

	#SR7_1_1-1 > sr7-mask:has(#SR7_1_1-1-1) {
		top: calc(var(--allo-photo) + 16px) !important;
	}

	#SR7_1_1-1-1 {
		display: block !important;
	}

	#SR7_1_1-1 > sr7-mask:has(#SR7_1_1-1-2) {
		top: calc(var(--allo-photo) + 112px) !important;
	}

	#SR7_1_1-1-2 {
		display: block !important;
		color: #2a2b2f !important;
		font-size: 16px !important;
		line-height: 1.4 !important;
	}

	#SR7_1_1-1 > sr7-mask:has(#SR7_1_1-1-3) {
		top: calc(var(--allo-photo) + 172px) !important;
		width: auto !important;
	}

	#SR7_1_1-1-3 {
		display: inline-block !important;
		width: auto !important;
	}

	#SR7_1_1-7 {
		display: none !important;
	}

	.allo-hero-secondary {
		position: absolute !important;
		top: calc(var(--allo-photo) + 228px) !important;
		right: auto !important;
		bottom: auto !important;
		left: 20px !important;
		z-index: 2;
		transform: none !important;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		width: auto !important;
		min-height: 43px;
		padding: 8px 18px;
		border: 1px solid #035b65;
		border-radius: 30px;
		background: transparent;
		color: #035b65;
		font-family: Lexend, sans-serif;
		font-size: 15px;
		font-weight: 500;
		line-height: 1.2;
		text-align: center;
		text-decoration: none;
	}

	.allo-hero-secondary:hover,
	.allo-hero-secondary:focus {
		background-color: #035b65;
		color: #fff;
	}

	#SR7_1_1-1-3:focus-visible,
	.allo-hero-secondary:focus-visible {
		outline: 2px solid #035b65;
		outline-offset: 3px;
	}
}
