/*
Theme Name: Impreza Child
Template: Impreza
Version: 1.0
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
*/

/* GLOBAL STYLES */

* {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

.l-main ul,
.l-section ul {
	list-style-type:square;
	margin-left: 1rem;
}

.l-main ol,
.l-section ol {
	margin-left: 1.1rem;
}

.l-header.bg_transparent:not(.sticky) .w-btn.us-btn-style_4 {
	border-color: #fff !important;
	color: #fff !important;
}

.l-header.bg_transparent:not(.sticky) .w-btn.us-btn-style_4:hover {
	background-color: #fff !important;
	color: #151F0E !important;
}

.w-grid-item.type-post .type_image {
	margin-bottom: 1.4rem;
}

.w-grid-item.type-post .type_image {
	overflow: hidden;
}

.w-grid-item.type-post .type_image img {
	 transition: transform 500ms ease-out;
}

.w-grid-item.type-post .w-grid-item-h:hover .type_image img {
	transform: scale(1.1);
}

.w-grid-item.type-post .post_title {
	font-size: 1.2rem;
}

.w-grid-item.type-post .w-html {
	position: relative;
	display: flex;
	width: 67px;
	justify-content: flex-end;
}

.w-grid-item.type-post .w-html:before {
	content: "";
	position: absolute;
	right: 2px;
	top: 50%;
	transform: translateY(-50%);
	height: 1.4px;
	width: 34px;
	background-color: #151F0E;
	transition: width 500ms ease-out;
}

.w-grid-item.type-post .w-grid-item-h:hover .w-html:before {
	width: 65px;                   
}

.owl-carousel.navstyle_square>.owl-nav button {
	height: 2rem;
}

.owl-carousel.navstyle_square>.owl-nav button:hover {
	background: none !important;
}

.owl-prev:after {
	content: "";
	width: 51px;
	height: 12px;
	background-image: url(assets/arrow-right.svg);
	background-size: 100% 100%;
}

.owl-next:after{
	content: "";
	width: 51px;
	height: 12px;
	background-image: url(assets/arrow-left.svg);
	background-size: 100% 100%;
}

.w-popup-box.animation_slideBottom .w-popup-box-content {
	padding: 0 !important;
}

.w-popup-closer {
	height: 80px;
}

.w-popup-closer:before {
	font-family: var(--font-family, inherit);
	position: absolute;
	content: "SULGE";
	font-size: 14px;
	color: #fff;
	right: 65px;
	top: 0;
}

.w-popup-closer:after {
	content: "";
	position: absolute;
	top: 50%;
	right: 1rem;
	width: 36px;
	height: 36px;
	background-size: 100% 100%;
	background-image: url(assets/close-btn.svg);
	background-position: right center;
	transform: translateY(-50%);
	transition: transform 420ms ease-out;
}

.w-popup-closer:hover:after {
	transform: translateY(-50%) scale(1.2) rotate(105deg);
}

@media (max-width: 599px) {
	.w-btn-wrapper .w-btn {
		font-size: 14px !important;
	}
}

/*-------------------- FRONT PAGE --------------------*/

.hero-section:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 35%;
	background: linear-gradient(180deg,rgba(0, 0, 0, 0.2) 0%,rgba(0, 0, 0, 0) 100%);
	pointer-events: none;
	z-index: 1;
}

.hero-section:after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 35%;
	background: linear-gradient(180deg,rgba(0, 0, 0, 0) 0%,rgba(0, 0, 0, 0.2) 100%);
	pointer-events: none;
}

.hero-section .l-section-h {
	z-index: 1;
}

.hero-section .w-image img {
	min-height: 550px;
	max-height: 700px;
	width: 100%;
}

.hero-section .w-vwrapper {
	position: absolute;
	left: 5vmin;
	bottom: 8.5%;
}

.about-me h2 {
	margin-bottom: 1.5rem;
	font-size: 1.6rem;
}

.services-grid h2 {
	margin-bottom: 3rem;
	font-size: 2.5rem;
}

.services-grid .w-popup-trigger.type_image {
	overflow: hidden;
}

.services-grid .w-popup-trigger.type_image img {
 	transition: transform 500ms ease-out;
}

.services-grid .w-popup-trigger.type_image:hover img {
	transform: scale(1.1);
	opacity: 1;
}

.services-grid .w-popup-trigger.type_image:after {
	content: "";
	position: absolute;
	top: 15px;
	right: 15px;
	width: 40px;
	height: 40px;
	background-image: url(assets/service-arrow.svg);
	background-size: 100% 100%;
	transition: transform 500ms ease-out;
}

.services-grid .w-popup-trigger.type_image:hover:after {
	transform: rotate(45deg);
}

.services-grid .g-cols.wpb_row {
	margin-bottom: 1.2rem;
}

.services-grid h4 {
	padding-right: 1.2rem;
	pointer-events: none;
	position: absolute;
	font-size: 1.6rem;
	color: #fff;
	bottom: 1rem;
	left: 1rem;
}

.service-popup .g-cols.stacking_default.via_grid.mobiles-cols_1 {
	grid-template-columns: 100%;
}

.service-popup .g-cols.stacking_default.reversed>div:last-of-type {
	order: -1;
}

.service-popup .wpb_column:first-child .vc_column-inner > .wpb_text_column {
	padding: 5%;
}

.service-popup .w-hwrapper {
	background-color: #EEE5D2;
	position: relative;
	padding: 2.5rem 5%;
	margin-top: auto;
	gap: 1rem;
}

.service-popup .w-hwrapper p {
	font-size: 20px;
}

.service-popup .w-hwrapper strong {
	font-size: 2rem;
}

.service-popup .w-hwrapper em {
	vertical-align: top;
	font-style: normal;
	line-height: 1.1;
	font-size: 14px;
}

.service-popup .wpb_column:last-child .w-image img {
	width: 100%;
}

.cta-section {
	padding: 1.25rem !important;
}

.cta-section .w-vwrapper {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
}

.cta-section .wpb_text_column {
	max-width: 950px;
	margin: 0 auto 1rem;
	width: 90%;
}

.cta-section h2 {
	font-size: 2.5rem;
}

.cta-section .w-image img {
	min-height: 500px;
	max-height: 860px
}

.blog-carousel .wpb_text_column {
	margin-bottom: 2.5rem;
}

.blog-carousel .wpb_text_column h2 {
	font-size: 2.5rem;
}

@media (min-width: 500px) {
	.service-popup .w-hwrapper {
		justify-content: space-between;
	}
	.service-popup .w-hwrapper .w-btn-wrapper {
		width: fit-content;
	}
}

@media (min-width: 600px) {
	.about-me h2 {
		margin-bottom: 2.2rem;
		font-size: 2.5rem;
	}
	.services-grid  h2 {
		margin-bottom: 5rem;
		font-size: 3.75rem;
	}
	.services-grid .w-popup-trigger.type_image:after {
		top: 25px;
		right: 25px;
	}
	.services-grid h4 {
		padding-right: 2.5rem;
		bottom: 2rem;
		left: 2rem;
	}
	.cta-section {
		padding: 1.8rem !important;
	}
	.cta-section .wpb_text_column {
		margin-bottom: 3rem;
	}
	.cta-section h2 {
		font-size: 3.75rem;
	}
	.blog-carousel .wpb_text_column {
		margin-bottom: 3rem;
	}
	.blog-carousel .owl-nav {
		justify-content: flex-end !important;
		top: -2.5rem;
	}

}

@media (min-width: 800px) {
	.hero-section .wpb_text_column h1 {
		font-size: 5.6rem;
	}
	.about-me h2 {
		margin-bottom: 3.1rem;
		font-size: 3.1rem;
	}
	.services-grid h2 {
		margin-bottom: 7.5rem;
		font-size: 5.5rem;
	}
	.service-popup .wpb_column:first-child > .vc_column-inner {
		flex-direction: column;
		display: flex;
		height: 100%;
	}
	.service-popup .wpb_column:last-child .vc_column-inner, 
	.service-popup .wpb_column:last-child .vc_column-inner .w-image {
		height: 100%;	
	}
	.cta-section {
		padding: 2.5rem !important;
	}
	.cta-section .wpb_text_column {
		margin-bottom: 4.3rem;
	}
	.cta-section h2 {
		font-size: 5.5rem;
	}
	.cta-section .wpb_text_column p {
		font-size: 1.3rem;
	}
	.blog-carousel .wpb_text_column {
		margin-bottom: 3.7rem;
	}
	.blog-carousel .wpb_text_column h2 {
		font-size: 3.1rem;
	}
	.blog-carousel .owl-nav {
		top: -3.7rem;
	}
}

@media (min-width: 1000px) {
	.service-popup .g-cols.stacking_default.via_grid.mobiles-cols_1 {
		grid-template-columns: 3fr 2fr;
	}
	.service-popup .g-cols.stacking_default.reversed>div:last-of-type {
		order: 1;
	}
	.service-popup .wpb_column:first-child .vc_column-inner > .wpb_text_column {
		padding: 10% 10% 5%;
	}
	.service-popup .w-hwrapper {
		padding: 2.5rem 10%;
	}
	.service-popup .w-hwrapper .w-btn-wrapper {
		width: fit-content;
	}
}

@media (min-width: 1400px) {
	.hero-section .w-vwrapper {
		left: calc((100vw - var(--site-content-width)) / 2);
	}
	.about-me {
		padding-top: 8rem !important;
		padding-bottom: 9rem !important;
	}
	.services-grid {
		padding-top: 8rem !important;
		padding-bottom: 9rem !important;
	}
	.blog-carousel {
		padding-top: 8rem !important;
		padding-bottom: 9rem !important;
	}
}

/*-------------------- ASK FOR AN OFFER --------------------*/

.contact-form h1 {
	margin-bottom: 2rem;
	font-size: 2.5rem;
}

.contact-form h2 {
	margin-bottom: 1.5rem;
}

.form-container label,
.form-container .label {
	margin-bottom: 1rem;
	font-weight: 700;
}

.form-container .wpcf7-form-control-wrap label {
	align-items: flex-start;
	margin-bottom: 0.5rem;
	font-weight: 400;
}

.form-container span[data-name="teenus"] {
	margin-bottom: 2rem;
}

.form-container span[data-name="alusmaterjalid"] {
	margin-bottom: 1rem;
}

.form-container .wpcf7-radio {
	display: flex;
	gap: 2rem;
}

.form-container input[type=radio] {
	border-radius: 0 !important;
}

.form-container input[type=radio]:before {
	content: '\f00c';
	font-family: fontawesome;
	font-weight: 900;
	vertical-align: top;
	background: none;
	width: 100%;
	height: 100%;
	margin: 0;
}

.form-container .wpcf7-textarea {
	margin-bottom: 2rem;
}

.form-container .codedropz-upload-handler {
	background-image: url(assets/upload-border.png);
	background-size: 100% 100%;
	border: none;
}

.form-container .codedropz-upload-container {
	padding: 2rem 1rem;
}

.form-container .codedropz-upload-inner {
	display: flex;
	gap: 0.2rem;
	justify-content: center;
	flex-wrap: wrap;
	padding-top: 1.2rem;
	background-image: url(assets/upload-icon.svg);
	background-size: 14px 16px;
	background-position: top center;
	background-repeat: no-repeat;
}

.form-container .codedropz-upload-inner:before {
	position: absolute;
	left: 50%;
	top: 0;
	width: 14px;
	height: 16px;
	transform: translateX(-50%);
	background-image: url(assets/upload-icon.svg);
	background-size: 100% 100%;
}

.form-container .codedropz-upload-inner .codedropz-btn-wrap {
	text-decoration: underline;
}

.form-container .dnd-upload-status .dnd-upload-details .dnd-progress-bar span {
	padding-right: 0.2rem;
	font-weight: 700;
}

.form-container .form-subcontainer:last-child .wpcf7-form-control-wrap {
	margin: 1rem 0 2rem;
}

.form-submit .wpcf7-form-control-wrap {
	margin-bottom: 1rem !important;
}

.form-submit .wpcf7-turnstile {
	margin-bottom: 1rem;
}

.form-submit a {
	text-decoration: underline;
}

.form-submit .wpcf7-acceptance .wpcf7-list-item-label {
	font-weight: 400;
	opacity: 0.6;
}

@media (max-width: 799px) {
	.form-container .form-subcontainer:first-child {
		margin-bottom: 2.5rem;
	}
	.form-container .form-subcontainer:last-child h2 {
		display: none;
	}
}

@media (min-width: 600px) {
	.contact-form h1 {
		margin-bottom: 2.5rem;
	}
	.contact-form h2 {
		margin-bottom: 2rem;
	}

} 

@media (min-width: 800px) {
	.contact-form h1 {
		margin-bottom: 3.7rem;
		font-size: 3.1rem;
	}
	.contact-form h2 {
		margin-bottom: 2.5rem;
	}
	.form-container {
		justify-content: space-between;
		position: relative;
		display: flex;
	}
	.form-container:after {
		content: "";
		position: absolute;
		left: 50%;
		top: 0;
		width: 1px;
		height: 100%;
		background-color: rgba(21, 31, 14, 0.15);
	} 
	.form-subcontainer {
		width: 45%;
	}
}

@media (min-width: 1300px) {
	.form-container span[data-name="teenus"] {
		margin-bottom: 1.4rem;
	}
	.form-container .wpcf7-checkbox {
		grid-template-columns: 1fr 1fr;
		display: grid;
	}
}

/*-------------------- BLOG POST --------------------*/

.post-header {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.post-header .us_tile_additional_image:after,
.post-header .post_image:after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to bottom,rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.post-header .us_tile_additional_image img,
.post-header .post_image img {
	min-height: 550px;
	max-height: 700px;
	object-fit: cover;
}

.post-header .post_title {
	position: absolute;
	max-width: 900px;
	width: 90%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.post-content .post_content {
	max-width: 900px;
	margin: 0 auto;
}

.post-content .post_content .l-section:first-child {
	padding-top: 0 !important;
}

.post-content .post_content .l-section:last-child {
	padding-bottom: 0 !important;
}

/*-------------------- FOOTER --------------------*/

.footer-heading {
	padding-bottom: 0 !important;
}

.footer-heading .wpb_text_column {
	margin-bottom: 1.8rem;
	opacity: 0.4;
}

.footer-contact .wpb_text_column a {
	font-size: 1.25rem;
}

.copyright .wpb_text_column:last-child {
	opacity: 0.4;
}

@media (min-width: 600px) {
	.footer-heading .wpb_text_column {
		margin-bottom: 2.5rem;
	}
}

@media (min-width: 800px) {
	.footer-heading .wpb_text_column {
		margin-bottom: 4.3rem;
	}
}

@media (min-width: 1400px) {
	.footer-heading {
		padding-top: 8rem !important;
	}
}