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

/*** THEME ***/
:root {
	--ph: calc(1rem + 0.5vw); /* horizontal padding */
	--pv: 6rem; /* vertical padding */
	--hxl: 3rem; /* heading large */
	--hl: 2.625rem; /* heading large */
	--hm: 1.75rem; /* heading medium */
	--hs: 1.25rem; /* heading small */
	--hxs: 1.125rem; /* heading small */
	--boxradius: 1.25rem;
	--buttonradius: 0.625rem;
}

@media (max-width: 1366px) {
	:root {
		--pv: 4rem; 
		--hxl: 2.25rem;
		--hl: 1.75rem;
		--hm: 1.5rem;
		--hs: 1.25rem;
		--hxs: 1.125rem;
	}
}

@media (max-width: 1024px) {
	:root {
		--pv: 4rem; 
		--hxl: 2.5rem;
	}
}

@media (max-width: 767px) {
	:root {
		--pv: 3.5rem; 
		--hxl: 2.0rem;
		--hl: 1.5rem;
		--hm: 1.25rem;
		--hs: 1.125rem;
	}
}

*, :after, :before {
    box-sizing: border-box;
}
a{text-decoration: none}
body{font-size: 18px; font-weight: 300; line-height: 1.5, color: #000000; font-family: var(--e-global-typography-text-font-family), Sans-serif;}
html, body, .elementor-widget-text-editor, .elementor-heading-title {
	margin: 0;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
p {margin-block: 0 20px;}
p:last-child {margin-block-end: 0;}

/* Nur Textlinks */
p a:not(:has(img, button,.elementor-element)),
.elementor-widget-text-editor a:not(:has(img, button,.elementor-element)),
.elementor-widget-theme-post-content a:not(:has(img, button)) {
  background: linear-gradient(180deg, transparent calc(100% - 1px), var(--e-global-color-secondary) 0);
}

p a:not(:has(img, button,.elementor-element)):hover,
.elementor-widget-text-editor a:not(:has(img, button,.elementor-element)):hover,
.elementor-widget-theme-post-content a:not(:has(img, button)):hover {
  background: linear-gradient(180deg, transparent calc(100% - 1px), var(--e-global-color-accent) 0);
}

p a:has(img, button),
.elementor-widget-theme-post-content a:has(img, button,.e-con-inner,.elementor-element){
  background: none !important;
}


h1,h2,h3,h4,h5,h6, .elementor-widget-theme-post-content:is(h1,h2,h3,h4,h5,h6){
	font-family: var(--e-global-typography-primary-font-family), Sans-serif;
	color: var(--e-global-color-primary);
	line-height: var(--e-global-typography-primary-line-height);
	font-weight: var(--e-global-typography-primary-font-weight);
	margin-block-start: 0;
    margin-block-end: 0;
}
h2{
	font-size: var(--hl);
}
h3{
	font-size: var(--hm);
}
h4{
	font-size: var(--hs);
}

.elementor-widget-theme-post-content h2:not(.elementor-heading-title) {
  margin-block-start: 3.1rem;
  margin-block-end: 1.3rem;
}
.elementor-widget-theme-post-content h2:first-child {
  margin-block-start: 0rem;
}
.h-spacing h3, .elementor-widget-theme-post-content h3:not(.elementor-heading-title) {
  margin-block-start: 2.2rem;
  margin-block-end: 0.9rem;
}
.h-spacing h4, .elementor-widget-theme-post-content h4:not(.elementor-heading-title) {
  margin-block-start: 1.6rem;
  margin-block-end: 0.6rem;
}
.h-spacing h5, .elementor-widget-theme-post-content h5:not(.elementor-heading-title) {
  margin-block-start: 1.3rem;
  margin-block-end: 0.6rem;
}
.no-block-margin :is(h2, h3, h4, h5) {
  margin-block-start: 0rem;
  margin-block-end: 0rem;
}

.overflow-hidden, .elementor .e-off-canvas__content{
	overflow: hidden;
}


/* header */
.i-header{
	transition: all .3s ease-out;
}
.sticky .i-header{
	transition: .3s ease-out;
 	margin: 0;
	background-color: rgba(57, 34, 68, 0.7);
	backdrop-filter: blur(10px);
}

.sticky.single-kernelement .i-header{
	background-color: var(--accent-color);
	backdrop-filter: none;
}
.single-kernelement .searchbar, .single-kernelement .search-icon{
	display: none;
}


::-webkit-search-cancel-button {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  background: url('data:image/svg+xml;utf8,<svg fill="white" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M14.348 5.652a.5.5 0 0 0-.707 0L10 9.293 6.36 5.652a.5.5 0 0 0-.707.707L9.293 10l-3.64 3.64a.5.5 0 1 0 .707.707L10 10.707l3.64 3.64a.5.5 0 0 0 .707-.707L10.707 10l3.64-3.64a.5.5 0 0 0 0-.707z"/></svg>') no-repeat center;
  cursor: pointer;
}




/* members and user roles */
.members-access-error{
	padding: 180px 25px 100px;
	min-height: 50vh;
	text-align: center;
	background-color: var(--e-global-color-7b31b13);
	color: #fff
}







