/*
 Theme Name: Divi Child Institute
 Theme URI:
 Description: Divi Child Theme for .institute
 Author: millepondo services
 Author URI: www.millepondo.de
 Template: Divi
 Version: 1.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Tags: Divi Child Theme
*/


body { font-family: 'Lato', Arial, sans-serif; font-size: 14px; color: #666; background-color: #fff; line-height: 1.7em; font-weight: 500; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
/*********************************
 custom styles - copy from style.css in parent theme
 *********************************/

#logo {
    max-height: 100%;
}

#footer-info a {
    font-weight: 500;
}

.et_pb_slide_description h2 {
    margin-bottom: 25px;
}


.et-pb-controllers .et-pb-active-control { background-color: #5b5b5b !important; } 


/*
* HEADER
*/

/* Logo */

#logo{
	max-width: 250px;
}
@media screen and (max-width: 980px){
	.logo_container{
		padding: 5px 0;
	}
	.et_header_style_left #logo, 
	.et_header_style_split #logo{
		max-width: 40%!important;
	}
}
@media screen and (max-width: 480px){
	.et_header_style_left #logo, 
	.et_header_style_split #logo{
		max-width: 50%!important;
	}	
}

/*
* Content
*/

.header-content h3{
	line-height: 28px;
}
@media screen and (max-width: 980px){
	.et_pb_section,
	.et_pb_fullwidth_header{
		padding:10px 0!important;
	}
}
@media screen and (max-width: 480px){
	h1{
		font-size: 20px!important;
		line-height: 30px!important;
	}
	h2{
		font-size: 18px!important;
	}
	h3{
		font-size: 16px!important;
	}
	.et_pb_blurb h4 a,
	h4 {
		font-size: 16px!important;
	}
	.header-content h3{
		font-size: 18px;
		line-height: 25px;
	}
	/*Container*/
	.container, 
	.et_pb_row{
		width: 90%!important;
	}
	.et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content,
	.et_pb_slider .et_pb_container{
		width: 100%!important;
	}
	.et_pb_slider .et_pb_container h2 a{
		font-size: 22px;
	}
	/*Buttons*/
	.et_pb_fullwidth_header .et_pb_fullwidth_header_container .et_pb_button_one{
		margin-right: 0!important;
		line-height: 20px!important;
	}
	.et_pb_button{
		font-size: 15px!important;
		line-height: 18px!important;
	}
}

/*
* SIDEBAR
*/
@media (max-width: 980px){
	.et_right_sidebar #sidebar{
		border-top: 1px solid #e2e2e2;
		margin-top: 20px;
		padding-top: 20px;
	}	
}
/*
* Widgets
*/
#sidbear .widget_recent_entries{

}
.et_pb_widget li,
.et_pb_widget a{
	line-height: 18px!important;
}

/*
* Glossar, Blog und Presse
*/
/*article*/
article.et_pb_post{
	margin-bottom: 10px;
}


/*Headlines*/
h2.overview-headline{
	padding-bottom: 0;
}
.et_pb_post h2 a:hover, .et_pb_portfolio_item h3 a:hover{
	color: #1da520;
}
#left-area .et_pb_post h2{
	margin-bottom: 10px;
}
/*Postmeta*/
#left-area .post-meta {
	display: none;
	padding-bottom:0!important;
}
#left-area .post-meta a{
	color: #929292!important;
	font-style: italic;
}
#left-area .post-meta a:hover{
	color: #1da520;	
}
/*Mehr Link unter Auszug*/
#left-area .more-link{
	position: relative;
	padding-left: 15px;
	margin-top: 10px;
	display: block;
	color: #666;
}
#left-area .more-link:hover{
	color: #1da520;
}
#left-area .more-link:before{
	font-family: 'ETmodules';
    content: "5";
    font-size: 16px;
    position: absolute;
    left: -4px;
    top: 0;
    font-weight: 800;
}

/*Glossarsuche*/
.widget_encyclopedia_search{

}
.widget_encyclopedia_search form{
	position: relative;
}
.widget_encyclopedia_search form .screen-reader-text{
	visibility: hidden;
	position: absolute;
	z-index: 1;
}
.widget_encyclopedia_search form input[type="text"]{
	width: 100%;
	padding:8px 5px;
}
.widget_encyclopedia_search form button[type="submit"]{
	border:2px solid #1da520;
	background: #fff;
	height: 31px;
	cursor: pointer;
	color: #1da520;
	margin-top: 5px;
	width: 100%;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	font-weight: 600;
}
.widget_encyclopedia_search form button[type="submit"]:hover{
	border:2px solid #efefef;
	background: #efefef;
}

/* Formular Fehlermeldung*/
.et-pb-contact-message{
	color: #fff;
	background:#c01d1d;
	padding: 5px;
}
.et-pb-contact-message ul{
	margin:0 0 10px 0;
	padding:10px!important;

}
.et-pb-contact-message ul:before{
	content:"Bitte füllen Sie folgende Felder aus";
	color: #fff;
	font-weight: bold;
}
.et-pb-contact-message ul li {
	color: #fff;
	list-style: none;
	margin:0;
	padding:0;
}

#et-main-area .et_pb_contact p .et_contact_error{
	border-color:#c01d1d!important; 
}

/*Formular*/
textarea,
input[type="text"],
input[type="email"]{
	font-family: 'Lato', Arial, sans-serif!important;
}

/*Cookie bla*/
#cookie-banner {
	position: absolute;
	background-color: #0A71B3;
	color: #ffffff;
	z-index: 900;
	top: 100px;
	left: 10px;
	padding: 1em;
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}
#cookie-banner a{
	color: #ffffff;
	text-decoration: underline;
}
@media only screen and (min-width: 993px) {
	#cookie-banner{
		position: fixed;
		top: 25%;
		left: 25%;
	}
}