@charset "UTF-8";

/*======================================
Theme Name: REHA aktiv
Theme URI: https://www.kraehativ-design.de/
Description: copyright © 2021 – krähativ design GmbH, Werbeagentur Heidenheim. Alle Rechte vorbehalten.
Version: 1.0
Author: krähativ design GmbH
Author URI: https://www.kraehativ-design.de/
Template: Divi
======================================*/

@import url(./css/all.min.css);

/* Fonts */

@font-face { /* pt-sans-regular - latin */
	font-family: 'PT Sans';
	font-style: normal;
	font-weight: 400;
	src: local(''),
	url('/wp-content/themes/reha-aktiv/webfonts/pt-sans-v12-latin-regular.woff2') format('woff2'),
	url('/wp-content/themes/reha-aktiv/webfonts/pt-sans-v12-latin-regular.woff') format('woff');
}
@font-face { /* pt-sans-700 - latin */
	font-family: 'PT Sans';
	font-style: normal;
	font-weight: 700;
	src: local(''),
	url('/wp-content/themes/reha-aktiv/webfonts/pt-sans-v12-latin-700.woff2') format('woff2'),
	url('/wp-content/themes/reha-aktiv/webfonts/pt-sans-v12-latin-700.woff') format('woff');
}
@font-face { /* pt-sans-italic - latin */
	font-family: 'PT Sans';
	font-style: italic;
	font-weight: 400;
	src: local(''),
	url('/wp-content/themes/reha-aktiv/webfonts/pt-sans-v12-latin-italic.woff2') format('woff2'),
	url('/wp-content/themes/reha-aktiv/webfonts/pt-sans-v12-latin-italic.woff') format('woff');
}
@font-face { /* pt-sans-700italic - latin */
	font-family: 'PT Sans';
	font-style: italic;
	font-weight: 700;
	src: local(''),
	url('/wp-content/themes/reha-aktiv/webfonts/pt-sans-v12-latin-700italic.woff2') format('woff2'),
	url('/wp-content/themes/reha-aktiv/webfonts/pt-sans-v12-latin-700italic.woff') format('woff');
}

@font-face{
	font-family:"Optima";
    font-weight: 400;
	src:url("./webfonts/5962253/e843ecbd-4830-44a4-a280-c2500c9d3fdb.woff2") format("woff2"),url("Fonts/5962253/fc030506-195b-41d1-b305-50c3a5ebd5a2.woff") format("woff");
}
@font-face{
	font-family:"Optima";
    font-weight: 900;
	src:url("./webfonts/5962257/cb23a886-31be-4b27-8066-bcffc1b403e7.woff2") format("woff2"),url("Fonts/5962257/b77553ff-1bf7-4538-beff-864921032f9d.woff") format("woff");
}


/* Misc */

:root {
	--text-color: #565655;
	--color-pink: #f296a3;
    --blue-primary: #2F2483;
    --blue-secondary: #4691CF;
    --blue-tertiary: #8DBBBA;
}
body { font-family: 'PT Sans' }

.hide-link-colors a { color: var(--text-color) }

h1, h2, h3, h4 { font-family: 'Optima'; font-weight: 900 }

/* Slider */

#homepage-slider-wrapper .et-pb-controllers { bottom: 50px }
#homepage-slider-wrapper .et-pb-controllers a {
	margin-right: 20px;
	width: 47px;
}
#homepage-slider-wrapper .et-pb-controllers>a:last-of-type { margin-right: 0 !important }
#homepage-slider-wrapper::after {
	background: linear-gradient(0deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%);
	position: absolute;
	width: 100%;
	height: 25%;
	content: "";
	z-index: 2;
	bottom: 0;
	left: 0;
}
#homepage-slider-scroll:hover { cursor: pointer }
#homepage-slider-scroll {
	transform: translate(-50%,-50%);
	position: absolute;
	font-weight: 600;
	font-size: 50px;
	bottom: 120px;
	color: #fff;
	left: 50%;
}

@media only screen and ( max-width: 980px ) {
	#homepage-slider-scroll {
		font-size: 40px;
	}
}

/* Collapse */

.text-collapse.active>i::before { content: "\f102" }
.text-collapse:hover { cursor: pointer; }
.text-collapse-wrapper:not(.active) {
	margin: 0px !important;
	overflow: hidden;
	opacity: 0;
}
.text-collapse-wrapper {
	transition: max-height 0.3s, margin 0.3s, opacity 0.3s;
	max-height: 0px;
	opacity: 1;
}

/* Mobile Menu */

@media only screen and ( max-width: 980px ) {
	#footer-menu .et_mobile_nav_menu>.mobile_nav>.et_mobile_menu {
		justify-content: left;
		box-shadow: none;
		display: flex;
		padding: 0;
		border: 0;
		gap: 20px
	}
	#footer-menu .et_mobile_nav_menu>.mobile_nav>.mobile_menu_bar {
		display: none;
	}
	.main-menu #mobile_menu1,
	.main-menu #mobile_menu2 {
		transform: translate(-50%,70px);
		background-color: #fff !important;
		width: 200%;
	}
	.main-nav-wrapper .et_pb_row--with-menu {
		margin-bottom: 0 !important;
	}
	#footer-menu .et_mobile_menu li a  {
		padding: 0 !important;
	}
	#footer-menu .et_mobile_menu {
		border: 0 !important;
	}
}

.main-menu .et_pb_menu_inner_container {
	width: 100% !important;
}

@media screen and ( max-width: 980px ) {
	.et_header_style_left .logo_container{
		padding-left: 25px;
	}
	.et_header_style_centered #main-header .mobile_nav {
		background-color: transparent;
	}
	.mobile_nav.closed .select_page {
		display: none;
	}
	.et-fixed-header#main-header {
		background-color: transparent !important;
	}
}

.et_mobile_menu {
	border-top: 3px solid #283fc0 !important;;
	background-color: #fff !important;
	top: 0 !important;
	padding: 20% 0;
}
.et_mobile_menu li a {
	letter-spacing: 1px;
	text-align: center;
	font-size: .8em;
	padding: 15px 0;
	border: 0;
}
.mobile_nav ul#mobile_menu .current_page_item > a { color: #283fc0 }
.mobile_nav ul#mobile_menu li ul li a {
	font-size: .8em !important;
	color: #363636 !important;
	padding-top: 0.2em;
	margin: auto;
}
.et_mobile_menu li a:hover {
	-webkit-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
	color: #999;
}
.mobile_menu_bar:before {
	color: #363636 !important;
	padding-right: 25px;
}
.mobile_nav.opened .mobile_menu_bar:before {
	content: "\4d";
	z-index: 99999;
}

/* NESTING MOBILE MENU SETTINGS */
#et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before { content: '\4d' }
#top-menu .menu-item-has-children .menu-item-has-children > a:first-child::after, 
#et-secondary-nav .menu-item-has-children .menu-item-has-children > a:first-child::after { content: '5' }
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children { position: relative }
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle {
	background-color: rgba(0,0,0,0.03);
	position: absolute;
	border-radius: 50%;
	text-align: center;
	line-height: 36px;
	cursor: pointer;
	height: 36px;
	width: 36px;
	right: 10px;
	z-index: 1;
	top: 6px;
}
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped { background-color: rgba(0,0,0,0.1) }
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle::before {
	font-family: "ETmodules" !important;
	font-weight: normal;
	font-style: normal;
	font-variant: normal;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	line-height: 36px;
	font-size: 24px;
	text-transform: none;
	content: '\33';
}
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped::before { content: '\32' }
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle ~ ul.sub-menu {
	display: none !important;
	padding-left: 0;
}
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped ~ ul.sub-menu {
	display: block !important;
	background-color: rgba(0,0,0,0.03);
}
#main-header #mobile_menu.et_mobile_menu li li { padding-left: 0 }
#main-header #mobile_menu.et_mobile_menu li a, 
#main-header #mobile_menu.et_mobile_menu li li a,
#main-header #mobile_menu.et_mobile_menu li li li a {
	padding-left: 20px;
	padding-right: 20px;
}
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children .sub-menu-toggle + a { padding-right: 20px }
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children > a {
	background-color: transparent;
	font-weight: inherit;
}
#main-header #mobile_menu.et_mobile_menu li.current-menu-item > a { font-weight: bolder }

/* Sticky navigation */

#sticky-nav { transition: opacity 0.5s; z-index: 200; }
#sticky-nav.active { opacity: 1 }
body.home #sticky-nav:not(.active) {
	pointer-events: none;
	opacity: 0;
}

#sticky-nav .et_pb_css_mix_blend_mode_passthrough {
    margin-bottom: 0;
}

@media only screen and ( min-width: 981px ) {
	.main-nav-wrapper .et_pb_menu__wrap {
		flex-direction: column;
		align-items: flex-end;
		display: flex;
	}
}

#sticky-nav::after,
.nav-accent::after {
    background-image: url('/wp-content/themes/reha-aktiv/assets/farbmuster.svg');
    background-position: center;
    transform: translateY(100%);
    background-size: cover;
    position: absolute;
    height: 5px;
    content: "";
    width: 100%;
    bottom: 0;
}

/* Aktuelles */

#aktuelles-light .grid-posts .et_pb_section>.et_pb_with_border {
    background-color: #fff !important;
}
#aktuelles-light .grid-posts .et_pb_section>.et_pb_row>.et_pb_column>.et_pb_with_border {
    border-color: #fff !important;
}

/* Maps */

.google-maps-wrapper>div:first-of-type {
    height: 100%;
}

.google-maps-wrapper iframe {
    height: 100% !important;
    width: 100% !important;
}

/* Form */

.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap textarea {
	border: 1px solid #dddddd !important;
	padding: 15px !important;
	margin-bottom: 20px;
	margin-top: 10px;
	font-size: 20px;
	width: 100%;
}

.wpcf7 label {
	font-family: 'Optima';
	padding-bottom: 10px;
	font-weight: 700;
	font-size: 24px;
}

.wpcf7 input[type=submit] {
	border: 5px solid var(--color-pink);
	color: var(--color-pink);
	background-color: #fff;
	font-family: 'Optima';
    font-weight: 900;
	line-height: 1.7em;
	font-size: 30px;
	padding: 0 8px;
}
.wpcf7 input[type=submit]:hover {
	cursor: pointer;
}

.et-readmore-toggle>.et_pb_toggle_title::before {
    font-family: "Font Awesome 5 Pro" !important;
    color: var(--blue-primary) !important;
    font-size: 14px !important;
    content: "\f322";
}
.et-readmore-toggle>.et_pb_toggle_title.open::before {
    content: "\f102";
}
.et-readmore-toggle.tertiary>.et_pb_toggle_title::before {
    color: var(--blue-tertiary) !important;
}
.et-readmore-toggle.secondary>.et_pb_toggle_title::before {
    color: var(--blue-secondary) !important;
}
.et-readmore-toggle.et_pb_toggle_0.et_pb_toggle .et_pb_toggle_title {
    padding-right: 20px !important;
}
.mfp-figure::after {
    background: none !important;
    box-shadow: none !important;
}

/* Accords */

#custom-accords .et_pb_toggle_title::before {
    color: var(--blue-primary);
    content: "\e060";
    font-size: 20px;
}

.et_pb_toggle_content a[target="_blank"]::after {
    font-family: "Font Awesome 5 Pro";
    color: var(--blue-primary);
    margin-left: 5px;
    font-weight: 400;
    content: "\f324";
    font-size: 14px;
}