/*
 Theme Name:  MLW Child Theme for Privatpension Xanten
 Theme URI:    https://www.privatpension-xanten.com
 Description:  Child Theme for Divi
 Author:       Maiko Lohel
 Author URI:   https://maikolohel.de
 Template:     Divi
 Version:      1.0.0
*/

/*****Add any custom CSS below this line*****/
#top-header {
	display: none;
}

#et-footer-nav .container, 
#footer-bottom .container,
#footer-info {
	text-align: center;
}

#footer-info {
	float: none;
}

.mobile_menu_bar {
  padding-bottom: 8px !important;
}

#et-top-navigation {
  padding-top: 8px !important;
}

#mlw-sidebar {
	display: none;
}

#main-header {
	position: relative !important;
	background: white !important;
	width: 100% !important;
}

#top-menu li a {
	color: white;
	padding-top: 12px !important;
	padding-bottom: 4px !important;
	text-shadow: 0 0.1em 0.5em black !important;
}

#top-menu li a:hover {
	color: white !important;
	opacity: 1 !important;
	border-bottom: 1px solid;
}

#top-menu li.current_page_item a {
	border-bottom: 1px solid;
}


.et_pb_section_first {
	padding-top: 0 !important;
}

@media screen and (min-width: 981px) {
	#mlw-sidebar {
		display: block;
	}
	
	#main-header {
		position: absolute !important;
		top: 0;
		background: transparent !important;
	}
	
	.et_pb_section_first {
		padding-top: 24px !important;
	}

}

#menu-seitennavigation .menu-item {
	margin-bottom: 0em!important;
	line-height: 2em;
}

#menu-seitennavigation .menu-item > a {
	position: relative;
}

#menu-seitennavigation .menu-item > a:hover {
	color: black;
	border-bottom: 1px solid;
}


#menu-seitennavigation .current-item {
	color: black;
	font-weight: bold;
}

#menu-seitennavigation .current-item::after {
	position: absolute;
	top: 0;
	right: -1em;
	display:flex;
    justify-content:center;
    align-items:center;
	height: 100%;
	font-family: 'ETmodules';
	content: "\0045";
}

.mlw-sidebar-link {
	text-decoration: none !important;
	font-style: italic;
	color: #928F82 !important;
}
.mlw-sidebar-link:hover {
	text-decoration: underline !important;;
	color: black !important;
}

#footer-widgets .footer-widget li::before {
	display: none;
}

.mlw-button {
	border: 2px solid white !important;
	border-radius: 3px !important;
	background-color: transparent !important; 
	color: white !important;
	padding: 0.5em !important;
	transition: all 300ms ease !important;
}

.mlw-button:hover {
	border-color: transparent !important;
	background-color: #eeeece !important;
	color: #444444 !important;
}

.wpforms-field-label-inline::after { content: "*"; color: #ffa0a0; padding-left: 8px; }

.mlw-wpforms-link {
	text-decoration: none !important;
	font-style: italic;
	color: #EAE5D0 !important;
}
.mlw-wpforms-link:hover {
	text-decoration: underline !important;
	color: #ffffff !important;
}

.wpforms-error, .wpforms-required-label {
	color: #ffa0a0 !important;
}