/*

Theme Name: Windhager

Theme URI: https://www.spetsymarketing.com

Description: Windhager Eesti custom theme

Author: Kristjan Tiido

*/

/* Super general */
button:hover {
	background-color: initial !important;
}

a,
a:visited {
	color: #C20012;
}

@import url('https://fonts.googleapis.com/css2?family=Amiko&display=swap');

.stratum-image-hotspot__tooltip-content {
	font-family: 'Amiko', sans-serif !important;
	line-height: 22px !important;
	font-weight: 400 !important;
	font-size: 16px !important;
	color: #26323d !important;
}


/* Mobile menu styling */

.elementskit-menu-overlay {
	display: none;
}

.elementskit-menu-close {
	height: 40px !important;
	width: 40px !important;
	border: 0 !important;
/* 	background-image: url(http://windhager.spetsymarketing.com/wp-content/uploads/2023/02/windhager_close_red.png); */	
	background-size: 100%;
}

.elementskit-menu-close text {
	display: none;
}

.elementskit-menu-hamburger {
	width: 40px !important;
	height: 40px !important;
	padding: 0 !important;
	border: 0 !important;

/* 	background-image: url(http://windhager.spetsymarketing.com/wp-content/uploads/2023/02/burger_windhager_red.png); */
	background-size: auto 100%;
	background-repeat: no-repeat;
	border-radius: 0 !important;
}

.elementskit-menu-hamburger-icon {
	display: none !important;
}

.elementskit-submenu-indicator {
	border: 0 !important;
	border-left: 1px solid black;
	border-radius: 0 !important;
}

@media (max-width: 1024px) {
	.elementskit-submenu-indicator {

		font-size: 18px !important;
	}
}

/* Desktop menu styling */

.elementskit-dropdown {
	padding: 0 !important;
	box-shadow: 0 0 0 !important;
}

.menu-item .dropdown-item {
	font-size: 15px !important;
	color: #333333 !important;

}

.menu-item .dropdown-item:hover {
	background-color: lightgray !important;
	color: #C20012 !important;
}

/* Whole header section styling */

.windhager-header {
	position: fixed !important;
	width: 100% !important;
	left: 0;
	z-index: 999 !important;
}

/* Boxes */

.windhager-category-5 .elementor-widget-wrap,
.windhager-boxes .elementor-widget-wrap {
	overflow: hidden;
}

.windhager-boxes .windhager-box .elementor-element-populated {
	overflow: hidden !important;
}

/* Header menu, mobile menu, mega menu stylings */

.windhager-mega .elementor-widget-heading a:hover,
.windhager-mega .elementor-widget-heading h2:hover {
	color: #C20012 !important;
}

.elementskit-megamenu-panel {
	right: -96px !important;
	max-width: 1100px !important;
	min-width: 900px;
}

@media (max-width: 1200px) {
	.elementskit-megamenu-panel {
		max-width: 900px !important;
		right: -100px !important;
	}

}

@media (max-width: 1024px) {
	.windhager-header {
		height: 120px !important;
	}
}

.windhager-boxes .windhager-box .elementor-element-populated {
	overflow: hidden !important;
}

/* Tablet view, mobile */
@media (max-width: 1024px) {
	.windhager-mega {
		background-color: #F7F7F7 !important;
	}

	.elementskit-megamenu-panel {
		min-width: 0 !important;
	}

	.windhager-icon-rotate {
		transform: rotate(180deg);
	}

	/* Stack menu categories in tablet 	view in mega menu */

	.elementskit-dropdown-open .elementor-section .elementor-container {
		flex-direction: column !important;
	}

	.elementskit-dropdown-open .elementor-section .elementor-container .elementor-column {
		width: 100% !important;
	}

	.menu-item {
		background-color: #F7F7F7;
	}

	#menu-windhager {
		padding-top: 60px;
	}
}

.elementskit-submenu-indicator {
	transition: .4s;
}

.elementskit-menu-close {
	margin-right: 30px !important;
}

.elementskit-menu-overlay {
	background-color: #c20012a8 !important;
}

#ekit-megamenu-windhager {
	padding-bottom: 0 !important;
}

/* Site scrolled - header shrink classes*/

@media (min-width: 1024px) {

	#menu-windhager,
	.windhager-header .attachment-full {
		transition: .5s;
	}

	.windhager-header {
		transition: height .5s !important;
		height: 120px;
	}

	.windhager-header-space {
		transition: height .5s !important;
		height: 120px;
	}

	.windhager-header .attachment-full {
		position: relative;
		height: 150px;
		top: 0;
	}

	.windhager-scrolled-1 {
		height: 90px !important;
	}

	#menu-windhager {
		position: relative;
		top: 0;
	}

	.windhager-scrolled-2 {
		top: -15px !important;
	}

	.windhager-scrolled-3 {
		height: 88px !important;
		top: -10px !important;
	}
}

.windhager-category-2 .elementor-container {
	justify-content: center;
}

.windhager-category-2 .elementor-container .elementor-column {
	flex-basis: 30%;
}

@media (max-width: 720px) {
	.windhager-category-2 .elementor-container {
		flex-direction: column;
	}
}

.windhager-selected svg {
	filter: brightness(100);
}

.windhager-category-2 .elementor-column:hover {
	color: #C20012;
}

.windhager-category-2 .elementor-column {
	transition: .1s;
}

.hover-underline:hover {
	text-decoration: underline;
	text-decoration-color: white;
}

.wh-articles {
	display: flex;
}
.wh-articles a {
	text-decoration: none;
}

.wh-article {
	flex-basis: 33.33%;
  	flex-grow: 1;
	min-height: 450px;
	max-height: 600px;
	position: relative;
	cursor: pointer;
}

.wh-article-img {
	position: absolute;
	height: 100%;
	width: 100%;
	background-size: cover;
	background-position: center;
	transform: scale(1.005);
	filter: brightness(.6);
	transition: .3s;
}

.wh-article-img1 {
	background-image: url("https://www.windhager.ee/wp-content/uploads/2023/03/Holzheizung_Produktuebersicht.jpg");
}
.wh-article-img2 {
	background-image: url("https://www.windhager.ee/wp-content/uploads/2023/02/pellets-1.jpg");
}
.wh-article-img3 {
	background-image: url("https://www.windhager.ee/wp-content/uploads/2023/03/windhager-die-heizung-header-pelletslager-1.jpg");
}
.wh-article-img4 {
	background-image: url("https://www.windhager.ee/wp-content/uploads/2023/03/windhager-die-heizung-header-hackschnitzel.jpg");
}

.wh-content-space {
	height: 140px;
}

.wh-article-content {
	position: relative;
	height: 50%;
	bottom: 0;
	padding: 0 20px;

	font-family: 'Amiko', sans-serif;
	color: white;
}

.wh-article-title {
	transition: .5s;
	font-size: 30px;
	font-weight: 600;
}
.wh-article-title::after {
	content: "";
	position: relative;
	display: block;
	margin-top: 6px;
	height: 2px;
	width: 20%;
	min-width: 80px;
	background-color: #D32302;

}

.wh-article-more {
	font-size: 18px;
	transition: .5s;
	opacity: 0;
	height: 20px;
}

.wh-article-more::after {
	content: "";
	display: inline-block;
	position: relative;
	height: 20px;
	margin-left: 10px;
	width: 20px;
	top: 5px;
	background-image: url("https://cdn.iconscout.com/icon/free/png-512/arrow-right-3601684-3002253.png?f=avif&w=256");
	background-size: 100%;
	background-repeat: no-repeat;
	filter: invert(100);
}

.wh-article-more-hover {
	opacity: 1;
	transform: translateX(30px);
}

.wh-article-title-hover {
	transform: translateY(-20%);
}

@media (max-width: 1000px) {
	.wh-articles {
		flex-direction: column;
	}

	.wh-article {
		width: 100%;
	}
	.wh-article-more {
		opacity: 1;
		margin-top: 20px;
		margin-left: 10px;
	}
}

/* Contact prompt Pop-up */

#windhager-popup {
	display: none;
	position: fixed;
	height: 100%;
	width: 100%;
}
#popup-body {
	position: fixed;
	display: flex;
	flex-direction: row;
	top: 200px;
	left: 50%;
	transform: translateX(-50%);
	width: 85%;
	max-width: 800px;
	max-height: 70%;
	border-radius: 20px;
	z-index: 99;
	text-align: center;
	background-color: white;
	overflow: auto;
}

#popup-left {
	width: 50%;
	padding-top: 20px;
	padding-left: 20px;
}
#popup-right {
	width: 50%;
	padding-right: 20px;
}

#popup-overlay {
	position: fixed;
	height: 100%;
	width: 100%;
	left: 0;
	top: 0;
	z-index: 98;
	background-color: #191a1a66;
}
#popup-title {
	color: #26323d;
	font-size: 20px;
	text-align: center;
	padding: 15px;
}
#popup-no {
	margin: 5px;
	color: #D32302;
	padding: 8px 25px;
	border-radius: 10px;
	border: solid 1px #D32302;
	cursor: pointer;
}
#popup-form {
	padding: 10px;
	margin: 20px auto;
	max-width: 80%;
}
#windhager-popup .wpcf7-form-control {
	min-height: 30px;
	border-radius: 10px;
	border: 1px solid #D32302;
	padding-left: 10px;
	width: 100%;
}
#windhager-popup label {
	margin-bottom: 5px;
}
#windhager-popup #popup-left p {
	text-align: center;
	font-size: 14px;
	padding: 20px;
	color: #404040;
}
#windhager-popup #popup-form p {
	text-align: start;
}
#windhager-popup .wpcf7-submit {
	cursor: pointer;
    background-color: red;
    color: white;
    padding: 8px 25px;
}
#windhager-popup .wpcf7-textarea {
	max-height: 100px;
    max-width: 100%;
	padding-top: 10px;
}
@media (max-width: 800px) {
	#popup-body {
		flex-direction: column;

	}
	#popup-left {
		width: auto;
		padding: 20px 20px 0 20px;
	}
	#popup-right {
		width: auto;
		padding: 0 20px 20px 20px;
	}
	#popup-form {
		margin-top: 0;
	}
}