/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
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: 1.0.1
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
*/

:root {
	--page-lr-margin: 7vw;
	--page-lr-margin-mobile: 2vw;
	--just-font-offset: -5px;

	--global-space: 7vw;
	--global-space-mobile: 7vw;
	
	--global-margin-space: 7vw;
	--global-margin-space-mobile: 2vw;
}

* {
	text-underline-offset: 4px;
}

.font-offset {
	margin-left: var(--just-font-offset)!important;
}

.elementor-nav-menu--layout-horizontal li.current_page_item a.elementor-item-active:after {
	content: '';
	background-image: url('/wp-content/uploads/2024/05/Head-Sipka.svg');
	width: 22px;
	height: 27px;
	position: absolute;
	left: 50%;
	transform: translatex(-50%);
	bottom: -24px;
}

body {
	padding-left: var(--page-lr-margin)!important;
	padding-right: var(--page-lr-margin)!important;

	
}
.brummel-m-top {
	margin-top: var(--global-margin-space)!important;
}
.brummel-m-bottom {
	margin-bottom: var(--global-margin-space)!important;
}
.brummel-m-left {
	margin-left: var(--global-margin-space)!important;
}
.brummel-m-right {
	margin-right: var(--global-margin-space)!important;
}
.brummel-p-top {
	padding-top: var(--global-space)!important;
}
.brummel-p-top-half {
	padding-top: calc( var(--global-space) / 2 )!important;
}
.brummel-p-bottom {
	padding-bottom: var(--global-space)!important;
}
.brummel-p-bottom-more {
	padding-bottom: calc( var(--global-space) * 1.72 )!important;
}
.brummel-p-left {
	padding-left: var(--global-space)!important;
}
.brummel-p-right {
	padding-right: var(--global-space)!important;
}
.gap-r .e-con-inner {
	grid-row-gap: var(--global-space)!important;
}
.gap-c .e-con-inner {
	grid-column-gap: var(--global-space)!important;
}
.grid-gap-r .elementor-loop-container.elementor-grid {
	grid-row-gap: var(--global-space)!important;
}
.grid-gap-c .elementor-loop-container.elementor-grid {
	grid-column-gap: var(--global-space)!important;
}
.element-width-half {
	width: calc( ( 100vw - var(--global-space) ) / 2 )!important;
}
.element-width-half-historie-autori-text {
	width: calc( ( 100% - var(--global-space) ) * 0,53 )!important;
}
.element-width-half-historie-autori-foto {
	width: calc( ( 100% - var(--global-space) ) * 0,47 )!important;
}

#stickyheaders{
    transition : transform 0.34s ease;
    }
.headerup{
    transform: translateY(-125px); /*adjust this value to the height of your header*/
}

.elementor-nav-menu li.mobile-only,
.elementor-nav-menu--layout-horizontal .elementor-nav-menu>li.mobile-only{
	display: none;
}

@media screen and (max-width: 768px) {
	.elementor-nav-menu li.mobile-only,
	.mobile-only{
		display: block;
	}

}
@media screen and (max-width: 1150px) {
	body {
		padding-left: var(--page-lr-margin-mobile)!important;
		padding-right: var(--page-lr-margin-mobile)!important;
	}
	.brummel-m-top {
	margin-top: var(--global-margin-space-mobile)!important;
	}
	.brummel-m-bottom {
		margin-bottom: var(--global-margin-space-mobile)!important;
	}
	.brummel-m-left {
		margin-left: var(--global-margin-space-mobile)!important;
	}
	.brummel-m-right {
		margin-right: var(--global-margin-space-mobile)!important;
	}
	.brummel-p-top {
			padding-top: var(--global-space-mobile)!important;
	}
	.brummel-p-top-half {
		padding-top: calc( var(--global-space-mobile) / 2 )!important;
	}
	.brummel-p-bottom {
		padding-bottom: var(--global-space-mobile)!important;
	}
	.brummel-p-bottom-more {
		padding-bottom: calc( var(--global-space-mobile) * 1.72 )!important;
	}
	.brummel-p-left {
		padding-left: var(--global-space-mobile)!important;
	}
	.brummel-p-right {
		padding-right: var(--global-space-mobile)!important;
	}
	.gap-r .e-con-inner {
		grid-row-gap: var(--global-space-mobile)!important;
	}
	.gap-c .e-con-inner {
		grid-column-gap: var(--global-space-mobile)!important;
	}
	.grid-gap-r .elementor-loop-container.elementor-grid {
		grid-row-gap: var(--global-space-mobile)!important;
	}
	.grid-gap-c .elementor-loop-container.elementor-grid {
		grid-column-gap: var(--global-space-mobile)!important;
	}
	.element-width-half {
		width: 100%!important;
	}
	.element-width-half-historie-autori-text {
		width: 100%!important;
	}
	.element-width-half-historie-autori-foto {
		width: 100%!important;
	}
}

