/** Header  styles **/

.main-menu i {
	display: none;
}

.elementor-button.elementor-button-link .elementor-button-content-wrapper .elementor-button-text {
font-family: var(--headings-font-family) !important;
}
.nav-open .mobile-controls button {
	display: none;
}
.mobile-nav button.toggle svg{
	fill: #0f131a;
}

.main-menu li:hover a,
.main-menu li:focus a,
.main-menu li.current-menu-item,
.main-menu li.current-menu-ancestor a,
.sub-menu li:hover a,
.sub-menu li:focus a,
.sub-menu li.current-menu-item a,
.sub-menu li.current-menu-ancestor a {
	text-decoration: underline;
}

body.page-id-23:not(.mobile-menu) .main-menu li:hover a,
body.page-id-23:not(.mobile-menu) .main-menu li:focus a,
body.page-id-23:not(.mobile-menu) .main-menu li.current-menu-item,
body.page-id-23:not(.mobile-menu) .main-menu li.current-menu-ancestor a,
body.page-id-23:not(.mobile-menu) .sub-menu li:hover a,
body.page-id-23:not(.mobile-menu) .sub-menu li:focus a,
body.page-id-23:not(.mobile-menu) .sub-menu li.current-menu-item a,
body.page-id-23:not(.mobile-menu) .sub-menu li.current-menu-ancestor a {
	text-decoration-color: #fff;
}


.mobile-menu .mobile-nav{
    padding:0;
}

.mobile-menu .site-header li a span{
    font-family: "Instrument Serif";
    font-size: 1.75rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.925rem;
}

.mobile-menu .main-navigation ul li, .mobile-menu .mega-section ul.mega li{
    border-color: #0F131A;
}

.mobile-menu .contact-widget.inline {
    flex-wrap: wrap;
    margin:2rem 0
}

.mobile-menu .contact-widget.inline h4{
    width: 100%;
    margin:0;
}

/*Contact form 7*/

.entry-content form input,
.entry-content form textarea {
	font-family: "Instrument Serif";
}
.entry-content form input::placeholder,
.entry-content form textarea::placeholder {
	color: #eceeed;
	font-size: 16px;
}
.entry-content form input:not([type="submit"]),
.entry-content form textarea {
	padding: 18px 19px;
	width: 100%;
	background-color: transparent;
	border: 1px solid #eceeed;
	color: #fff;
}
.entry-content form textarea {
	resize: none;
}
.entry-content.content-wrapper form input[type="submit"] {
	background-color: #eceeed;
	border: 1px solid #eceeed;
	color: #202937;
	text-align: center;
	font-family: "Instrument Serif";
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 130%; /* 20.8px */
	text-transform: uppercase;
}
.entry-content.content-wrapper form input[type="submit"]:hover {
	background-color: #d0d4d1;
}
.entry-content form p.active input,
.entry-content form p.active textarea {
	background-color: transparent;
}
.entry-content form input:not([type="submit"]):active,
.entry-content form input:not([type="submit"]):focus,
.entry-content form textarea:active,
.entry-content form textarea:focus {
	background-color: #eceeed2e;
}

/*Footer*/

#footer.site-footer {
	margin: auto;
	width: 100%;
	padding: 7rem 2rem 0rem 2rem;
	font-family: Manrope;
}
.site-footer .footer-panel {
	padding-top: 6rem;
	padding-bottom: 0;
}
.site-footer .footer-panel p {
	font-size: 0.75rem;
}
.menu-vara-hus-container ul .sub-menu,
.menu-sa-gar-det-till-container ul .sub-menu {
	text-decoration: none;
	list-style-type: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.38rem;
	padding-top: 0.38rem;
}

.menu-vara-hus-container > ul.menu > li > a,
.menu-sa-gar-det-till-container > ul.menu > li > a,
.menu-kontakt-container {
	font-weight: 700;
}

.footer-widgets .footer-column:nth-child(4) a {
	text-decoration: underline;
}
.footer-widgets .footer-column:nth-child(2),
.footer-widgets .footer-column:nth-child(1),
.footer-widgets .footer-column:nth-child(4) {
	flex-grow: 1;
}
.footer-widgets .footer-column:nth-child(2) {
	justify-content: stretch;
	gap: 1.19rem;
	flex-grow: 1;
}

.footer-widgets .footer-column:nth-child(3) {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-grow: 2;
}
.footer-widgets .footer-column:nth-child(5) .contact-widget {
	margin-bottom: 2rem;
}
.custom-html-widget {
	display: flex;
	justify-content: center;
	flex-direction: column;
}
.site-footer .widget-title {
	font-size: 1rem;
	margin-bottom: 0.38rem;
}

@media screen and (max-width: 1024px) {
	.footer-widgets .footer-column:nth-child(3) {
		order: 5;
		width: 100%;
	}
}
@media screen and (max-width: 800px) {
	#footer.site-footer {
		padding: 3.8rem 1rem;
		font-size: 0.875rem;
	}
	.site-footer .widget-title {
		font-size: 0.875rem;
	}
	.site-footer .footer-widgets {
		justify-content: flex-start;
	}
	.footer-widgets .footer-column:nth-child(1),
	.footer-widgets .footer-column:nth-child(2),
	.footer-widgets .footer-column:nth-child(4),
	.footer-widgets .footer-column:nth-child(5) {
		width: 45%;
	}

	.footer-widgets .footer-column:nth-child(3) {
		order: 5;
		width: 100%;
	}
	.footer-widgets .footer-column:nth-child(1) {
		order: 3;
	}
	.footer-widgets .footer-column:nth-child(2) {
		order: 4;
	}
	.footer-widgets .footer-column:nth-child(4) {
		order: 0;
	}
	.footer-widgets .footer-column:nth-child(3) {
		order: 2;
	}

	.footer-widgets .footer-column:nth-child(3) {
		order: 5;
		width: 100%;
	}

	@media screen and (max-width: 525px) {
		#footer.site-footer {
			padding: 3.8rem 1rem 1rem 1rem;
		}
		.site-footer .footer-panel {
			display: flex;
			flex-direction: column-reverse;
			justify-content: flex-start;
			align-items: flex-start;
			gap: 0;
		}
		.footer-widgets .footer-column:nth-child(3) .widget,
		.footer-widgets .footer-column:nth-child(3) .widget img {
			width: 100%;
		}

		.footer-widgets .footer-column:nth-child(4),
		.footer-widgets .footer-column:nth-child(1) {
			width: 45%;
		}

		.footer-widgets .footer-column:nth-child(2),
		.footer-widgets .footer-column:nth-child(5) {
			width: 45%;
		}

		.footer-widgets {
			gap: 1.2rem;
		}
		.footer-widgets .footer-column:nth-child(3) {
			margin-top: 7rem;
		}
	}
}

/*Header*/

 .site-header.mega .header-inner.mega-section {
	display: none;
} 
.site-header.mega .header-inner.mega-section.open {
	display: flex;
	position: relative;
}
 .site-header.mega .header-inner.mega-section.open .sub-menu.mega:not(.open) {
	display: none;
}

.header-inner.mega-section.open ul {
	padding-top: 0;
	gap: 1rem;
	position: absolute;
}
.site-header .mobile-only {
	display: none;
}
.site-header .header-inner .sub-menu {
	gap: 0;
	display: flex;
	justify-content: center;
	align-items: center;
}
.site-header .header-inner .sub-menu.mega > li {
	flex-basis: auto;
	width: auto;
}

.site-header .header-inner .sub-menu.mega.open li a {
	padding: 0;
	text-transform: uppercase;
	font-size: 0.875rem;
}
.site-header {
	padding-top: 3rem;
	position: static;
}
/*nuvarande*/
/* .site-header .header-inner {
	display: flex;
	flex-direction: column;
} */
.site-header .header-inner {
	display: flex;
	flex-direction: row;
	align-items: center;
    justify-content: space-between;
}
.site-header .main-menu {
	color: #0f131a;
	text-align: center;
	font-family: Manrope;
	font-size: 1rem;
	font-style: normal;
	font-weight: 700;
	line-height: 130%; /* 1.3rem */
	text-transform: uppercase;
}

.site-header .custom-logo {
	max-width: 15rem;
	margin-bottom: 2.87rem;
}
@media screen and (min-width: 426px) {
	.site-header .header-inner {
		flex-direction: column;
	}
}

@media screen and (max-width: 425px) {
	.site-header {
		padding-top: 0;
	}
	/* .site-header .header-inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	} */
	.site-header .custom-logo {
		margin-bottom: 0;
	}
	.site-header .header-brand {
		margin-left: 0.7rem;
		
	}

	.mobile-menu .site-header.nav-open .mobile-widget:not(.shrink) {
		margin: 0;
		top: 0;
		max-width: 200px;
		left: 0;
	}
	.mobile-menu .mobile-nav span {
		display: none;
	}
	.mobile-menu .site-header li {
		font-size: 1.75rem;
		font-family: "Instrument Serif";
		font-weight: 400;
		line-height: 1.925rem;
	}
}

/*Animationer*/

.hover-box-parent .hover-box_container_bg {
	background-image: url("https://dev.spajder.io/gestrikehus/wp-content/uploads/2025/10/gestrikehus_12.png");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	height: 100%;
	position: absolute;
	right: 0;
	top: 0;
	width: 50%;
	transition: all 400ms ease-in-out;
}
.hover-box_container-1,
.hover-box_container-2,
.hover-box_container-3,
.hover-box_container-4 {
	opacity: 0.6;
	transition: 300ms ease-in-out;
}

.hover-box_container-1:hover,
.hover-box_container-2:hover,
.hover-box_container-3:hover,
.hover-box_container-4:hover {
	opacity: 1;
	transition: 300ms ease-in-out;
}
.hover-box-parent .hover-box_container-1:hover ~ .hover-box_container_bg {
	background-image: url("https://dev.spajder.io/gestrikehus/wp-content/uploads/2025/10/gestrikehus_12.png");
}
.hover-box-parent .hover-box_container-2:hover ~ .hover-box_container_bg {
	background-image: url("https://dev.spajder.io/gestrikehus/wp-content/uploads/2025/10/gestrikehus_start3.png");
}

.hover-box-parent .hover-box_container-3:hover ~ .hover-box_container_bg {
	background-image: url("https://dev.spajder.io/gestrikehus/wp-content/uploads/2025/10/gestrikehus_start4.png");
}
.hover-box-parent .hover-box_container-4:hover ~ .hover-box_container_bg {
	background-image: url("https://dev.spajder.io/gestrikehus/wp-content/uploads/2025/10/gestrikehus_start5.png");
}

.anitate-header {
	position: relative;
}
.animate-header:hover .mellanhander {
	transition: 400ms ease-in-out;
	transform: rotateZ(2deg);
}
.animate-header:hover .enkelt_start {
	transition: 400ms ease-in-out;
	transform: rotateZ(-2deg) translateY(-40px);
}
.animate-header:hover .hemkansla {
	transition: 400ms ease-in-out;
	transform: translateX(40px) rotateZ(-15deg);
}
.animate-header:hover .hallbara-val {
	transition: 400ms ease-in-out;
	transform: rotateZ(-5deg);
}
@media screen and (max-width: 786px) {
	.animate-header:hover .mellanhander,
	.animate-header:hover .enkelt_start,
	.animate-header:hover .hemkansla,
	.animate-header:hover .hallbara-val {
		transform: none;
	}
}

@media screen and (max-width: 1024px) {

	
	.hover-box_container-1,
	.hover-box_container-2,
	.hover-box_container-3,
	.hover-box_container-4 {
		opacity: 1;
	}
	.hover-box_container-1:hover,
	.hover-box_container-2:hover,
	.hover-box_container-3:hover,
	.hover-box_container-4:hover {
		opacity: 1;
	}
	.animate-header:hover .mellanhander,
	.animate-header:hover .enkelt_start,
	.animate-header:hover .hemkansla,
	.animate-header:hover .hallbara-val {
		transform: none;
	}
}

/*Om oss */
body.page-id-23:not(.mobile-menu) .site-header.mega,
body.page-id-23:not(.mobile-menu) .site-header.scroll,
body.page-id-23:not(.mobile-menu) .site-header.static {
	background-color: #202937;
}
body.page-id-23 .site-header .sub-menu {
	color: #fbfcfd;
}
body.page-id-23:not(.mobile-menu) .site-header .main-menu > li a {
	color: #fbfcfd;
	text-align: center;
	font-family: Manrope;
	font-size: 1rem;
	font-style: normal;
	font-weight: 700;
	line-height: 130%; /* 1.3rem */
	text-transform: uppercase;
}

@media (min-width: 426px) {
    .logo-desktop { display: block; }
    .logo-mobile { display: none; }
}

/* Mobil: 425px och neråt */
@media (max-width: 425px) {
    .logo-desktop { display: none; }
    .logo-mobile { display: block; }
}

