/**
Theme Name: Empathie macht Schule - Child
Author: thatweb
Author URI: https://www.thatweb.de
Description: CHild Theme für Empathie macht Schule
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: empathie-macht-schule
Template: astra
*/

/* yellow_light #fff5d8;
	blue_light #e8f5fe;
	green_light #c1d886;
*/

/* 
 * FONTS
*/
b, strong {
    font-weight: 600!important;
}

/* Header */
@media only screen and (min-width: 1200px) { 
	.ast-hfb-header .site-header {
    margin-left: calc((100vw - 1200px) / 2);
    margin-right: calc((100vw - 1200px) / 2);
	}
}
.site-header-above-section-left {
	align-items: flex-start!important;
}

/* Toggle */
.ems_toggle_icon {
	display: block;
	width: 40px!important;
    height: 40px!important;
	cursor: pointer;
}
.ems_menu_toggle {
	position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 600vw;
    height: 600vh;
    padding: 4em;
    background-color: #7b912a;
	display: none;
	overflow: hidden;
    overflow-y: scroll;
}
.ems_menu_scroll {
	height: 4096px;
	overflow: auto;
}
.ems_menu_toggle ul{
	position: absolute;
	z-index: 1001;
	top: 50px;
	left: 50%;
	list-style: none;
	margin: 0;
	padding: 0;
}
.ems_menu_toggle ul li ul{
	position: relative;
	list-style: none;
	top: -0.5em;
	left: 1.5em;
}
ul.ems_main_menu li a span{
	font-size: 1.75em;
    font-family: Avenir, Helvetica, Arial, sans-serif !important;
    line-height: 1.75em;
    font-weight: 500;
	color: #fff;
	text-transform:uppercase;
}
ul.ems_main_menu li ul li a span{
	font-size: 1.55em;
    font-family: Avenir, Helvetica, Arial, sans-serif !important;
    line-height: 1.65em;
    font-weight: 500;
	color: #fff;
	text-transform:uppercase;
}
.ast-mobile-svg {
    fill: var(--ast-global-color-0);
	width: 40px!important;
    height: 40px!important;
}
.ast-close-svg {
	display: none;
}
.ast-menu2-svg {
	
}


/* Bild HG und Scroll */
.home .entry-content {
    margin: 0;
    overflow: scroll;
    height: 100vh;
    scroll-snap-type: y mandatory;
	background-image: url('/wp-content/uploads/2025/01/Hintergrund_1.png')!important;
    background-position: center;
    background-size: cover;
}
@media only screen and (max-width: 740px) { 
	.home .entry-content {
	margin: 0;
  overflow: hidden;
  height: auto;
	scroll-snap-type:none;
		background: #8c9b62;
	background-image: url('/wp-content/uploads/2025/02/Hintergrund_1_1.png')!important;
  background-attachment: fixed;
	background-position: left top;
	background-size: 100vw 100vh;
	background-repeat: no-repeat;
	
 }
}

.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
    margin-bottom: 0!important;
	margin-top: 0!important;
}

/* Schriftarten Footer -> */
footer {
    font-size: 16px; /* Basis für Footer */
}
/* <- Schriftarten Footer */
/* Schriftarten Home -> */

body.home {
    font-size: 16px; /* Basis für Startseitenstile */
}
 .home .entry-content h1, .home .entry-content h2, .home .entry-content h3, .home .entry-content h4, .home .entry-content h5 .home .entry-content h6 {
    margin-bottom: 20px!important;
	margin-top: 0!important;
}
.ems_home_font {
		color: var(--ast-global-color-0)!important;
	}

.home h1 {
	font-family: Archer, Helvetica, Arial, sans-serif;
	font-size: 4.5em!important;
	line-height:1.3em!important;
	 margin-bottom: 20px!important;
	margin-top: 0!important;
}
.home h2 {
	font-family: Archer, Helvetica, Arial, sans-serif;
	font-size: 3.25em!important;
	line-height:1em!important;
	padding: 0;
	 margin-bottom: 20px!important;
	margin-top: 0!important;
}
.home h2.h2_long {
		font-size: 3.25em!important;
		line-height:1em!important;
		padding: 1.25em 0;
	 margin-bottom: 20px!important;
	margin-top: 0!important;
	}
.home h3 {
	
	font-size: 2.1em!important;
	line-height:1.3em!important;
	 margin-bottom: 20px!important;
	margin-top: 0!important;
}
.home h4 {
	
	font-size: 1.9em!important;
	line-height:1.2em!important;
	 margin-bottom: 20px!important;
	margin-top: 0!important;
}
.home h5 {
	font-weight: 400!important;
	font-size: 1.55em!important;
	line-height:1.2!important;
	 margin-bottom: 20px!important;
	margin-top: 0!important;
}
.home h6 {
	font-size: 1em!important;
	line-height:1em!important;
	 margin-bottom: 20px!important;
	 margin-top: 0!important;
}

@media only screen and (max-height: 900px) { 
	.ems_home_font {
		font-size: 3em!important;
    line-height: 1em!important;
	}
	.home h1 {
	font-size: 3em!important;
	line-height:1em!important;
	}
	.home h2 {
		font-size: 2.5em!important;
		line-height:1.1em!important;
	}
	.home h2.h2_long {
		font-size: 2.5em!important;
		line-height:1em!important;
		padding: 1.25em 0;
	}
	.home h3 {
		font-size: 1.9em!important;
		line-height:1.2em!important;
	}
	.home h4 {
		font-size: 1.3em!important;
		line-height:1.1em!important;
	}
	.home h5 {
		font-size: 1.3em!important;
		line-height:1.2em!important;
	}
	.home h6 {
		font-size: 1em!important;
		line-height:1em!important;
		}
}
@media only screen and (max-width: 740px) { 
	.ems_home_font {
		font-size: 2em!important;
    line-height: 1em!important;
	}
	.home h1 {
	font-size: 2em!important;
	line-height:1em!important;
	}
	.home h2 {
		font-size: 2.2em!important;
		line-height:1.1em!important;
	}
	.home h2.h2_long {
		font-size: 2.2em!important;
		line-height:1em!important;
		padding: 1.25em 0;
	}
	.home h3 {
		font-size: 1.7em!important;
		line-height:1.2em!important;
	}
	.home h4 {
		font-size: 1.2em!important;
		line-height:1.1em!important;
	}
	.home h5 {
		font-size: 1.2em!important;
		line-height:1.2em!important;
	}
	.home h6 {
		font-size: 1em!important;
		line-height:1em!important;
		}
	.home h1, .home h2, .home h3, .home h4, .home h5, .home h6 {
    	margin-bottom: 20px; 
	}
}
}
/* <- Schriftarten Home */

/* Navigation -> */
.wp-block-navigation__responsive-container-close svg, .wp-block-navigation__responsive-container-open svg {
	fill: var(--ast-global-color-0)!important;
  display: block;
  height: 4em;
  pointer-events: none;
  width: 4em;
}
.ems_hamburger_menu button:focus, .ems_hamburger_menu .menu-toggle:hover, .ems_hamburger_menu button:hover {
	color: var(--ast-global-color-0)!important;
  background-color: transparent!important;
  border-color: transparent!important;
}
.ems_hamburger_menu .wp-block-navigation__responsive-container-close {
    position: fixed;
    left: 5px;
    top: 3.15em;
}
.ems_hamburger_menu li.wp-block-navigation-item {
	color: #FFFFFF!important;
	font-size: 2em;
  font-family: Avenir, Helvetica, Arial, sans-serif!important;
	line-height: 1.75em;
	font-weight: 500;
}
.ems_hamburger_menu li.wp-block-navigation-item a:focus {
	outline: none;
}

.ems_hamburger_menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding: 6em 6em;
}
.ems_hamburger_menu .wp-block-navigation__responsive-container {
	background-color: #2e430198!important;
}

/* <- Navigation */ 

/* ems_liste -> */
.home h5.ems_liste {
	margin-bottom: 0!important;
	font-size: 1.45em;
  	font-family: Avenir, Helvetica, Arial, sans-serif!important;
	font-style: italic;
  	line-height: 1em;
	font-weight: 500;
	color: #9F1880!important;
	text-shadow: 1px 1px 1px #FFCC00!important;
	margin-bottom: -0.15em!important;
	padding-left:4em!important;
	text-indent: -0.7em;
}
@media only screen and (max-width: 767px) {
	.home h5.ems_liste {
	color: #FFCC00!important;
	text-shadow: 1px 1px 1px #BEC7C5!important;
	padding-left:0em!important;
	text-indent: -0.7em;
	}
}
.home h5.ems_liste:before {
    content: "* ";
    color: #FFFFFF!important;
}
.home h5.ems_liste:before {
    content: "* ";
    color: #FFFFFF!important;
}
/* <- ems_liste */

/* Team -> */
.home h2.uagb-image-heading {
	text-align:center;
	font-size: 2em!important;
	line-height:1.25em!important;

}
.home .ems_team_image {
	max-width: 22vw !important;
}
@media only screen and (max-width: 1500px) {
	.home .ems_team_image {
		max-width: 29.333vw !important;
	}
}


/* <- Team */
.home h5.ems_light {
	font-weight: 400!important;
}



.ems_scroll_element {
	height: 100vh;
  scroll-snap-align: start;
}
.ems_scroll_element_2vh {
  scroll-snap-align: start;
}
.ems_scroll_element_center {
	height: 100vh;
  	scroll-snap-align: center;
}
.ems_scroll_element_footer {
	min-height: 300vh;
	scroll-snap-align: start;
}
.ems_scroll_element_none {
	height: 100vh;
  scroll-snap-align: none;
}
.ems_100vh {
	height:100vh!important;
}
.ems_100vh {
	width: 100vw!important;
}
@media only screen and (max-width: 600px) {
	.ems_direction_rev {
	display: flex!important;
	flex-wrap: wrap!important;
	}
	.ems_direction_rev:nth-child(1) {
		order: 2;
	}
	.ems_direction_rev:nth-child(2) {
			order: 1;
	}
}

.hidden {
	display: none!important;
}
.ems_order_1 {
	order:1;
}
.ems_order_2 {
	order:1;
}
.ems_order_3 {
	order:1;
}
.ems_order_4 {
	order:1;
}

.ems_shadow_black {
	text-shadow: 2px 2px 4px #363137;
}

.path_blau {
	fill: #009EE2!important;
}
.path_gelb {
	fill: #FFCC00!important;
}
.path_lila {
	fill: #8CBD22!important;
}
.path_gruen {
	fill: #8CBD22!important;
}
.width_25vw img {
	width: calc(100%/4)!important;
	height: auto;
}
.ems_rotate_m25 {
	transform: rotate(-25deg);
}
.ems_rotate_m15 {
	transform: rotate(-15deg);
}
.ems_rotate_25 {
	transform: rotate(25deg);
}
.ems_rotate_15 {
	transform: rotate(15deg);
}
.ems_zitat {
	font-size: 2.35em;
  	font-family: Archer, Helvetica, Arial, sans-serif;
	font-style: italic;
  	line-height: 1.1em;
	font-weight: 600;
	color: #363137;
}
.ems_zitat:before {
	content: "„";
	color: #fff;
}
.ems_zitat:after {
	content: "”";
	color: #fff;
}
.ems_zitat_source {
	font-size: 2.15em;
  font-family: Archer, Helvetica, Arial, sans-serif;
	font-style: italic;
  line-height: 1.1em;
	font-weight: 600;
	color: #FFF!important;
}
@media only screen and (max-width: 1550px) {
	.ems_zitat_gross {
		padding: 3em 0em 3em 3em!important;
	}
}
@media only screen and (max-width: 1115px) {
	.ems_zitat {
	font-size: 1.95em;
  line-height: 1.1em;
	}

	.ems_zitat_source {
		font-size: 1.75em;
		line-height: 1.1em;
	}
}
@media only screen and (max-width: 850px) {
	.ems_zitat {
	font-size: 1.75em;
  line-height: 1.1em;
	}

	.ems_zitat_source {
		font-size: 1.45em;
		line-height: 1.1em;
	}
}
@media only screen and (max-width: 767px) {
	.ems_zitat {
	font-size: 1.45em;
  line-height: 1.1em;
	}

	.ems_zitat_source {
		font-size: 1.25em;
		line-height: 1.1em;
	}
}

/* Block Weiterbildungen */

.home_spacing_block_weiterbildungen { 
	margin-top:-20em!important;
}
@media only screen and (max-width: 2275px) {
	.home_spacing_block_weiterbildungen { 
	margin-top:0em!important;
	}
}
@media only screen and (max-width: 1900px) {
	.home_spacing_block_weiterbildungen { 
	margin-top:10em!important;
	}
}
@media only screen and (max-width: 1490px) {
	.home_spacing_block_weiterbildungen { 
	margin-top:15em!important;
	}
}

/* Team Bild */

@media only screen and (max-width: 1200px) {
	.wp-block-uagb-container.ems_team_image {
		max-width:49vw!important;
		width:40vw!important;
	}
}
@media only screen and (max-width: 976px) {
	.wp-block-uagb-container.ems_team_image {
		max-width:98vw!important;
		width:100%!important;
	}
}

/* Content Elemente und Helper */
.ems_block_content {
	padding: 2em!important;
}
.ems_yellow_light {
	background-color:#fff5d8;
}
.ems_blue_light {
	background-color:#e8f5fe;
}
.ems_green_light {
	background-color:#c1d886;
}


/* Buttons */
.ems_button_gruen_gelb a{
	font-size: 1.2em!important;
  font-family: Avenir, Helvetica, Arial, sans-serif!important;
	font-weight: 700!important;
	color: #FFF!important;
	background: none!important;
	background-image: url("/wp-content/uploads/2025/01/button_gruen_gelb.svg")!important;
	background-position: center!important;
	background-repeat: no-repeat!important;
	background-size: cover!important;
	
	border: none!important;
	min-width: 170px!important;
	min-height: 170px!important;
	padding-top: 60px!important;
	
}

/* NINJA FORMS */
.nf-field-label .nf-label-span, .nf-field-label label {
    font-weight: 400!important;
}
.label-above .nf-field-label {
    margin-top: 1.25em!important;
}

.ems_clip_polygon2 img.wp-block-cover__image-background {
clip-path:url("#form2");
}
.ems_clip_polygon path{
	transform-box: fill-box; 
}
.ems_ellipse img.wp-block-cover__image-background{ 
	
	clip-path: path('M158.91,13.78c37.99-22.11,85.9-17.25,118.67,12.05l93.58,83.65c32.77,29.3,42.95,76.36,25.22,116.59l-50.64,114.85c-17.74,40.22-59.35,64.45-103.09,60.01l-124.88-12.67c-43.73-4.44-79.64-36.54-88.93-79.5L2.3,186.06c-9.29-42.96,10.14-87.03,48.13-109.14L158.91,13.78Z');
}
.ems_clip_polygon {
	
	clip-path: path('M158.91,13.78c37.99-22.11,85.9-17.25,118.67,12.05l93.58,83.65c32.77,29.3,42.95,76.36,25.22,116.59l-50.64,114.85c-17.74,40.22-59.35,64.45-103.09,60.01l-124.88-12.67c-43.73-4.44-79.64-36.54-88.93-79.5L2.3,186.06c-9.29-42.96,10.14-87.03,48.13-109.14L158.91,13.78Z');
}
