/*
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
 * --e-global-color-primary: #170049;
    --e-global-color-secondary: #FF437D;
    --e-global-color-text: #FFFFFF;
    --e-global-color-accent: #170049;
 * */
a{
	color: var(--e-global-color-secondary);
}
.btn-custom span.elementor-button-text {
    height: 49px;
    background: var(--e-global-color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 27px;
    border-radius: 30.5px;
}
.btn-custom-white span.elementor-button-text{
	background: var(--e-global-color-text);
}
.btn-custom span.elementor-button-icon {
    width: 49px;
    height: 49px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--e-global-color-primary);
}
.btn-custom-white span.elementor-button-icon{
	background: var(--e-global-color-text);
}
.btn-custom span.elementor-button-content-wrapper:hover span.elementor-button-text{
	background: #FFD9E5;
	border: #170049 solid 1px;
	color: #170049;
}
.btn-custom span.elementor-button-content-wrapper:hover span.elementor-button-icon{
	background: var(--e-global-color-secondary);
}
.btn-custom span.elementor-button-content-wrapper:hover .elementor-button-icon svg * {
    stroke: var(--e-global-color-text);
}
.btn-custom .elementor-button-icon svg{
	width: 25px;
}

.main-menu .elementor-nav-menu>li>a {
    position: relative;
}
div#site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    transform: translateY(0);
    opacity: 1;
    transition: all 0.4s ease;
}
body.is-open-menu #site-header {
  transform: translateY(-100%);
  opacity: 0;
}
header .elementor-nav-menu>li>a:after{
	display: none;
}
header .elementor-nav-menu>li>a:before {
    content: '';
    position: absolute;
    bottom: 6px;
    width: 97%;
    height: 2px;
    background: transparent !important;
    z-index: 222;
    opacity: 1 !important;
    left: 50%;
    transform: translateX(-50%) !important;
}
header .elementor-nav-menu>li.current-menu-item>a:before,header .elementor-nav-menu>li:hover>a:before{
	background: #FF437D !important;
}

.openSearchBox{
	cursor: pointer;
}
div#searchBox {
    display: none;
	transition: all .3s ease-out;
}

.menu-humburgur-icon {
    width: 43px;
    height: 43px;
    background: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

span.menu-line {
    display: inline-block;
    width: 17px;
    height: 2px;
    background: #170049;
}
.menu-humburgur-icon.open .menu-line-1{
	transform: translateY(4px) rotatez(45deg);
}
.menu-humburgur-icon.open .menu-line-2{
	display: none;
}
.menu-humburgur-icon.open .menu-line-3{
	transform: translateY(-3px) rotatez(-45deg);
}
div#searchBox.open {
    display: block;
}
body.menu--open{
	overflow: hidden;
}
body.menu--open .header-inner {
    border-radius: 35px;
	max-height: 100vh;
	overflow: auto;
}
@media (max-height: 400px){
	body.menu--open .header-inner{
		padding-bottom: 50px;
	}
}
/* body.home {
    background: #EEF2FD;
} */
div#goTop {
    cursor: pointer;
}
[class*="ShareButton__Button"] {
    background: none !important;
    padding: 0 !important;
    font-size: 16px !important;
}
[class*="ShareButton__Button"]:hover{
	color: var(--e-global-color-primary) !important;
}
.es-grid-layout > div {
    box-shadow: 0px 0px 8px 0px #00000017;
    border-radius: 21px !important;
    overflow: hidden;
	border: 3px solid #FFF;
}
[class*="MediaImage__Container"]{
	border-radius: 17px !important;
	overflow: hidden;
}
.es-grid-layout > div > [class*="Container-sc-"] {
    height: 100%;
}
.es-grid-layout {
	gap: 60px !important;
}
.sm_custom_blog_grid_pagenavi {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 47px 0 0
}

.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid #170049;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 500;
    line-height: 26px;
    color: #170049;
}

span.page-numbers.current,.page-numbers:hover {
    background: #FFD9E5;
    border: 1px solid #170049;
    color: #170049;
}

.next.page-numbers,.prev.page-numbers {
    width: 48px;
    height: 48px;
    border: 1px solid #170049;
}
.next.page-numbers:hover, .prev.page-numbers:hover {
    background: #FFD9E5;
}

.next.page-numbers:hover svg *, .prev.page-numbers:hover svg * {
    stroke: #170049;
}
@media (max-width: 1024px){
	header .elementor-nav-menu>li>a:before{
		display: none !important;
	}
	header .elementor-nav-menu>li.current-menu-item>a,header .elementor-nav-menu>li:hover>a{
		text-decoration: underline;
		color: var(--e-global-color-secondary);
	}
	#news-sidebar-right, #newsSideBar{
		padding-top: 0 !important;
	}
}
@media (max-width: 992px){
	.es-grid-layout {
        gap: 20px !important;
    }
}
@media (max-width: 640px){
	div#searchBox{
		width: 100%;
	}
	.es-grid-layout > div {
		border-radius: 17px !important;
	}
	.es-grid-layout {
		gap: 30px !important;
	}
}
.elementor-widget-video.video--playing{
	z-index: 33;
}
.frm_request_upload_photo span.modern-title:before {
	content: 'Foto der Ansprechperson hochladen';
    font-size: 14px !important;
    color: #170049;
    font-family: "Outfit", Sans-serif;
}

.frm_request_upload_downloads span.modern-title:before {
    content: 'Dateien hinzufügen';
}
.frm_request_upload_offer_logo span.modern-title:before {
    content: 'Logo der Trägereinrichtung hochladen';
}
.alt-heading h2 a {
    text-shadow: #000 -3px 3px 20px;
}