/*
 Theme Name:   Divi Child Theme
 Description:  Divi Child Theme
 Author:       Astrid Brueckner | basstrid
 Template:     Divi
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  ab
*/


/*_______________________*/


::selection {
	color:#fff; /*kann man auch weglassen, wenn Schrift gleich bleibt*/
	background: #5D6148;
}

::marker {color:#5D6148;}

h1 {
	padding-bottom: 2px;
}

/*für unsichtbare H1*/
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap; /* Verhindert Zeilenumbruch */
    border: 0;
}


/*_____________MENÜ________________*/
/*Untermenü Schriftdicke auf 400 setzen*/
#top-menu li li a {
    	font-weight: 400 !important;}

/*Untermenü Schriftdicke auf 400 setzen und grauen Hintergrund entfernen - nur Mobil*/
.et_mobile_nav_menu .mobile_nav.opened .et_mobile_menu .menu-item-has-children>a,
#mobile_menu .menu-item a {
		background-color: rgba(0,0,0,0);
    	font-weight: 400 !important;}



/*Im mobilen Menü bei den Elterneinträgen KEINE Hintergrundfarbe anzeigen*/
@media (max-width: 980px) {
	.et_mobile_menu .menu-item-has-children>a{
		background: rgba(0,0,0,0) !important;}
}



/*__________Aktiven Menülink fett machen________________*/


#top-menu li.current_page_item>a {
    font-weight: 700 !important;
	color: #383B2B !important;
}

/*Mobiles Menü Großbuchstaben*/
.et_mobile_menu li a {
	text-transform: uppercase !important;
}

.nav li li {
	line-height: 1.4rem;
}



/*A11y*/
#main-header #et-top-navigation nav>ul>li>a {
    padding-bottom: 0;
}
#main-header #et-top-navigation nav>ul>li {
    padding-bottom: 33px;
}

/*Schiebt das Submenü an die richtige Stelle nach unten*/
#top-menu li:not(.mega-menu) ul, 
#et-secondary-nav li ul, 
.dtb-menu ul.et-menu li:not(.mega-menu) ul, 
.et-db #et-boc .et-l .dtb-menu .nav li:not(.mega-menu) ul {
	  transform: translateY(33px);
}





/*_______________________________________________________________________________________*/

/*Button rechtsbündig bei den Angebotsboxen Startseite*/
.button-right {
	position: absolute;	
	right: 0px;
	left: auto;
	top: auto;
	bottom: -15px;
	width: fit-content;
}

@media screen and (max-width: 980px) {
	.button-right {
		bottom: -20px;  /*damit er nicht am unteren Rand klebt*/
	}
}

@media screen and (max-width: 780px) {
	.button-right {
		bottom: -20px;  /*damit er nicht am unteren Rand klebt*/
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	top: auto;
	bottom: -20px;
	right: auto;
		width: fit-content;
	}
}

/* Follow-the-mouse Button Hover Effect */
.dlov-button {
	overflow: hidden;
	z-index: 2;
	background: #5d6148;
	display: inline-block;
}
.et_pb_button .dlov-cursor {
	width: 0;
	height: 0;
	background-color: #fcdd6a;
	/* mix-blend-mode: soft-light; */
	z-index: -1;
	border-radius: 100px;
	position: absolute;
	pointer-events: none;
	transition: width 0.4s linear, height 0.4s linear;
	transform: translate(-20%, -20%);
}
.et_pb_button:hover .dlov-cursor {
	width: 80px;
	height: 80px;
}
.et_pb_button:active .dlov-cursor {
	width: 300px;
	height: 300px;
}



/*Blume nach der kleinen ÜBerschriftenbox fix einbauen*/
.ornament.et_pb_text h2 {
	position:relative; /*damit wir die Ornamente absolut positionieren können, müssen wir den umgebenden Container = die Überschrift relativ setzen*/
	display:inline-block; /*damit der Container nicht block ist, sondern so klein wie der Inhalt*/
	padding: 16px 16px;
/*	margin-left: -9vw;*/
	text-align: center;
	margin-top: 50px;
}

.ornament h2:after {
              content: '';
              background-image:url('https://julia-zeiner-ergotherapie.at/wp-content/uploads/2025/07/gelb-blume-transparent.svg');
              display: inline-block;
              background-size: 100% auto;
              background-repeat:no-repeat;
              width: 40px; /*wenn wir das Bild als Hintergrund nehmen, können wir ganz einfach die Größe definieren*/
              height: 40px;
              position: absolute;
			top: 0px;
			right:-5px;
			z-index: 9999;
}

@media screen and (max-width: 780px) {
	.ornament h2:after {
              content: '';
              background-image:url('https://julia-zeiner-ergotherapie.at/wp-content/uploads/2025/07/gelb-blume-transparent.svg');
              display: inline-block;
              background-size: 100% auto;
              background-repeat:no-repeat;
              width: 40px; /*wenn wir das Bild als Hintergrund nehmen, können wir ganz einfach die Größe definieren*/
              height: 40px;
              position: absolute;
			top: 0px;
			right:15px;
			z-index: 9999;
}
}

/*ODER AufzÃ¤hlungszeichen Abstand */
/*Besser: Abstand vor und nach den Punkten machen, dann ist auch zwischen Überschrift und erstem Aufzählungszeichen ein Abstand*/
.et_pb_text ul li {
    padding-top: 5px;
	padding-bottom: 5px;
}

/*für nummerierte Listen*/
.et_pb_text ol li {
   padding-top: 5px;
	padding-bottom: 5px;
}

/*für Aufzählungszeichen im Informationstext Modul*/
.entry-content ul li {
    padding-top: 5px;
    padding-bottom: 5px;
}

/*Infotext Blurb ausrichten*/
.et_pb_blurb_position_left .et_pb_blurb_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.et_pb_blurb_position_left .et_pb_blurb_content {
    display: flex;
}
.et_pb_blurb_position_left .et_pb_blurb_content p {
    margin: 0;
}

.et_pb_blurb_position_left  .et_pb_main_blurb_image {
    width: auto;
    margin-bottom: 0;
}

.et_pb_blurb_position_left .et_pb_module_header {
    padding-bottom: 0;
}



/*GRID AUF WORKSHOPSEITE*/
@media only screen and (min-width: 900px) {
.parent {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(2, 1fr);
grid-column-gap: 0px;
grid-row-gap: 0px;
}

.div1 { grid-area: 1 / 1 / 3 / 3; }
.div2 { grid-area: 1 / 3 / 2 / 4; }
.div3 { grid-area: 1 / 4 / 2 / 5; }
.div4 { grid-area: 2 / 3 / 3 / 4; }
.div5 { grid-area: 2 / 4 / 3 / 5; }
}