/*
Theme Name: Divi Child Theme
Description: Divi Child Theme
Author:  Sebastian Schmiedel
Author URI:  https://www.cayou-media.de
Template: Divi
Version:  1.0
*/

/* lato-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  src: url('./fonts/lato-v25-latin-300.eot'); /* IE9 Compat Modes */
  src: url('./fonts/lato-v25-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./fonts/lato-v25-latin-300.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('./fonts/lato-v25-latin-300.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('./fonts/lato-v25-latin-300.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('./fonts/lato-v25-latin-300.svg#Lato') format('svg'); /* Legacy iOS */
}

/* lato-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: italic;
  font-weight: 300;
  src: url('./fonts/lato-v25-latin-300italic.eot'); /* IE9 Compat Modes */
  src: url('./fonts/lato-v25-latin-300italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./fonts/lato-v25-latin-300italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('./fonts/lato-v25-latin-300italic.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('./fonts/lato-v25-latin-300italic.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('./fonts/lato-v25-latin-300italic.svg#Lato') format('svg'); /* Legacy iOS */
}

/* lato-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/lato-v25-latin-regular.eot'); /* IE9 Compat Modes */
  src: url('./fonts/lato-v25-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./fonts/lato-v25-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('./fonts/lato-v25-latin-regular.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('./fonts/lato-v25-latin-regular.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('./fonts/lato-v25-latin-regular.svg#Lato') format('svg'); /* Legacy iOS */
}

/* lato-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: url('./fonts/lato-v25-latin-italic.eot'); /* IE9 Compat Modes */
  src: url('./fonts/lato-v25-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./fonts/lato-v25-latin-italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('./fonts/lato-v25-latin-italic.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('./fonts/lato-v25-latin-italic.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('./fonts/lato-v25-latin-italic.svg#Lato') format('svg'); /* Legacy iOS */
}

/* lato-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: url('./fonts/lato-v25-latin-700.eot'); /* IE9 Compat Modes */
  src: url('./fonts/lato-v25-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./fonts/lato-v25-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('./fonts/lato-v25-latin-700.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('./fonts/lato-v25-latin-700.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('./fonts/lato-v25-latin-700.svg#Lato') format('svg'); /* Legacy iOS */
}

/* lato-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: url('./fonts/lato-v25-latin-700italic.eot'); /* IE9 Compat Modes */
  src: url('./fonts/lato-v25-latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./fonts/lato-v25-latin-700italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('./fonts/lato-v25-latin-700italic.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('./fonts/lato-v25-latin-700italic.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('./fonts/lato-v25-latin-700italic.svg#Lato') format('svg'); /* Legacy iOS */
}

/* =Theme customizations
------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend {
	border: 0;
	font-family: inherit;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
	font-family: 'Lato', Arial, sans-serif;
	font-weight:400;
	letter-spacing:0;
}

/*Header*/
body #main-header,
body .et-fixed-header#main-header {
	background: linear-gradient(135deg,  rgba(10,44,81,1) 0%,rgba(10,44,81,1) 40%,rgba(10,44,81,1) 41%,rgba(1,6,25,1) 100%);
	-webkit-box-shadow: 0 0 7px rgba(0,0,0,.5) !important;
	-moz-box-shadow: 0 0 7px rgba(0,0,0,.5) !important;
  box-shadow: 0 0 7px rgba(0,0,0,.5) !important;	
}



/*Footer*/
#footer-widgets {
	padding: 32px 0 0;
}

.et_pb_gutters3 .footer-widget {
	margin-bottom: 24px;	
}

body #main-footer {
	background: radial-gradient(ellipse at center,  rgba(10,44,81,1) 0%,rgba(1,6,25,1) 100%);
}

body #main-footer .et_pb_widget {
  float: none;
  text-align: center;
}

body #main-footer img {
	max-width:120px !important;
	margin:0 auto;
}

#footer-widgets .footer-widget li {
  padding-left: 0;
  margin-bottom: 6px;
}

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

#footer-info {
  text-align: center;
  width: 100%;
}

/*Teaser*/
.teaser .et_pb_row {
  min-height: 60vh; 
  display: flex; 
  align-items: stretch;
}

.teaser .et_pb_column_0 {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.teaser .et_pb_column_1 {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;  
  align-items: center;        
  padding-bottom: 0;       
}

.teaser .et_pb_column_1 .et_pb_module {
  margin-bottom: 0;
}

.teaser .slider_text {
  align-self: stretch;   
  margin: 0 0 30px 0;          
  padding: 30px 48px 24px 50px;
  background-color: rgba(10,44,81,0.95);
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%); 
}

.teaser .slider_text p, 
.teaser .slider_text p:last-of-type {
  padding: 0 0 4px 0 !important;
  text-align: left;
}

.teaser .et_pb_column_1 p {
  padding: 0 0 0 0 !important;
  text-align: left;
}

.teaser .et_pb_column_1 img {
	margin:0 0 0 24px;
}

@media only screen and (min-width: 1350px) {
  .et_pb_section.teaser {
    padding: 0;
  }
}

@media (max-width: 980px) {
  .teaser .et_pb_row { min-height: 420px; }
  .teaser .slider_text { 
    clip-path: none; 
    margin-bottom: 20px; 
    padding-left: 30px;
    padding-right: 30px;
  }

  .teaser .et_pb_column_1 {
    justify-content: center; 
    padding-bottom: 16px;
  }

  .teaser .right-logos {
    position: relative;
    width: 100%;
    height: auto;
    padding: 16px 0;
  }
}

.teaser .slider_text strong {
	font-size: 32px;
	line-height:40px;
	font-weight:300;
	text-transform:uppercase;
	font-style:italic;
	color:#d0a540;
}

.teaser .slider_text em {
	font-size: 20px;
	font-style:italic;
	line-height:24px;
	font-weight:400;
	color:#fff;
}

/*Post*/
.single .et_pb_post {
  margin-bottom: 0;
  padding-bottom: 0;
}

.et_pb_pagebuilder_layout.single.et_full_width_page:not(.et-tb-has-body) .et_post_meta_wrapper {
  max-width: 1024px;
  padding-top: 48px;
}

.et_pb_pagebuilder_layout.single.et_full_width_page:not(.et-tb-has-body) #main-content .et_pb_row {
  width: 80%;
  max-width: 1024px;
}

.et_pb_blog_grid h2 {
	position: relative;
	padding-left: 0;
	margin-bottom: 0;	
	padding-bottom: 0;
  text-transform: none;
  line-height:1.4em;
}

.et_pb_blog_grid h2:before {
	display:none;
}

.et_pb_post .entry-featured-image-url {
  margin-bottom: -12px;
}

.et_pb_blog_grid .et_pb_post {
  border: 1px solid #d0a540;
}

/*Schriften*/
p {
	padding:0 0 16px 0 !important;	
	text-align:justify;
}

p:last-of-type {
  padding-bottom: 0 !important;	
}

.schrift_linksbuendig p, .schrift_linksbuendig p:last-of-type {
	text-align:left;
}

.et_pb_text_align_center p, .et_pb_media_alignment_center p {
	text-align:center;	
}

a {
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;	
}

a:hover {
	opacity:0.8;
}

a.et_pb_button:hover {
	opacity:1;
}


h1, h2, h3 {
  padding-bottom: 24px;
  font-weight:300;
  text-transform:uppercase;
}

h4, h5, h6 {
  padding-bottom: 24px;
  font-weight:400;
  text-transform:uppercase;
}

h1 {
	position: relative;
	padding-left: 22px;
	margin-bottom: 20px;
}

h1::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 4px;
	height: 30px;
	background: #d0a540;
	border-radius: 0;
}

h2 {
	position: relative;
	padding-left: 22px;
	margin-bottom: 20px;
}

h2::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 4px;
	height: 30px;
	background: #d0a540;
	border-radius: 0;
}

h3 {
	position: relative;
	padding-left: 22px;
	margin-bottom: 20px;
}

h3::before {
	content: "";
	position: absolute;
	left: 0;
	top: -2px;
	width: 4px;
	height: 30px;
	background: #d0a540;
	border-radius: 0;
}

h1:has(+ h2) {
  padding-bottom: 0;
}

p + h1, p + h2, p + h3, p + h4, p + h5, p + h6 {
	margin-top: 12px;
}

hr { 
	background-color: #010619;
	display: block;
	height: 1px;
	border-color: #010619;
	border: 0;
	padding: 0;
	margin-top: 24px;
	margin-bottom: 24px;
	width:100%;
}

hr + h1, hr + h2, hr + h3 {
	padding-top: 24px;
}

h1 + hr, h2 + hr, h3 + hr {
	margin-top: 12px;
}

small {
	font-size:12px;
	line-height:14px;
}

strong {
	font-weight:600;
}

em {
	font-style:italic;
}

#main-content .et_pb_text ul {
	margin:24px 0 24px 3px;
	padding:0;
}

#main-content .et_pb_text li {
	margin:0;
	padding:0 0 10px 32px;
	list-style:none;
	position:relative;
}

#main-content .et_pb_text li:before {
	color: #d0a540;
	font-family: "ETmodules";
	content: "\4e";
	margin: 0 0 0 0;
	font-size:20px;
	font-weight:300;
 	position: absolute;
  top:0;
  left:-5px;
  border:none;
}

#main-content .et_pb_text h1 + ul, 
#main-content .et_pb_text h2 + ul, 
#main-content .et_pb_text h3 + ul, 
#main-content .et_pb_text h4 + ul, 
#main-content .et_pb_text h5 + ul,
#main-content .et_pb_text h6 + ul {
	margin-top:0px;
}

#main-content .et_pb_text p + ul {
	margin-top:12px;
}

/*Form */
div.wpcf7 {
	margin-top:0;
}

div.wpcf7 form {
	padding:0;
}

div.wpcf7 label {
	font-size:11pt;
	color:#474644;
}

div.wpcf7 .wpcf7-form-control {
	max-width: 100%;
}

div.wpcf7 input, 
div.wpcf7 textarea,
div.wpcf7 select {
	background:#fff;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	border: 1px solid #DADFE5;
	border-radius: 0;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	padding: 12px;
	outline: none;
	width: 100%;
	font-size:15px;
	-webkit-border-radius: 3px;
	-moz-border-radius:3px;
	border-radius: 3px;	
}

span.wpcf7-list-item {
  display: inline-block;
  margin: 0 0 0 0;
}

div.wpcf7 span.wpcf7-list-item-label {
  display: inline-block;
  width:auto;
}

div.wpcf7 input[type="radio"] {
  display: inline-block;
  width:auto;
  margin:0 12px 0 6px;
}

div.wpcf7 select {
	/*margin-bottom: 8px;*/
}

div.wpcf7 textarea {
	min-height: 100px;
	height:160px;
}

div.wpcf7 input[type='checkbox'] {
	display:inline;
	width:auto;
	margin: 0 3px 0 0;
}

div.wpcf7 .accept-this .wpcf7-not-valid-tip {
	display:inline;	
}

div.wpcf7 input:focus, 
div.wpcf7 textarea:focus,
div.wpcf7 select:focus {
	border:1px solid #52C316;
	background:#fff;
	color:#4e4e4e;
	-webkit-box-shadow: 0px 0px 4px 0px rgba(82,195,22,1);
	-moz-box-shadow: 0px 0px 4px 0px rgba(82,195,22,1);
	box-shadow: 0px 0px 4px 0px rgba(82,195,22,1);
}

div.wpcf7 .et_pb_column {
	margin-bottom: 12px;
}

div.wpcf7 button {
	display:block;
	margin: 12px 0 0 0;
	text-align:center;
	color:#fff; 
	background: linear-gradient(135deg,  rgba(10,44,81,1) 0%,rgba(10,44,81,1) 40%,rgba(10,44,81,1) 41%,rgba(1,6,25,1) 100%);
	font-size:19px;
	line-height:1.5em;
	font-weight:400;
	text-transform:uppercase;
	border:none;
	cursor:pointer;
	padding:10px 0;
	opacity:1;	
	width:100%;
	font-family: 'Lato',Helvetica,Arial,Lucida,sans-serif;
	-webkit-border-radius: 8px;
	-moz-border-radius:8px;
	border-radius: 8px;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;	
	text-shadow:none !important;
 	position: relative;
}

div.wpcf7 button:hover {
	color:#fff; 
	background: linear-gradient(135deg,  rgba(10,44,81,1) 0%,rgba(10,44,81,1) 40%,rgba(10,44,81,1) 41%,rgba(1,6,25,1) 100%);
	opacity:0.8;	
  -webkit-transition: opacity 0.5s linear;
  -moz-transition: opacity 0.5s linear;
  -ms-transition: opacity 0.5s linear;
  -o-transition: opacity 0.5s linear;
  transition: opacity 0.5s linear;			
}	

div.wpcf7 button:after {
	color: #fff;
	font-family: "ETmodules";
	content: "\35";
	margin: 0 0 0 0;
	font-size:30px;
 	position: absolute;
  top:8px;
  right:12px;
	font-weight:400;
}

div.wpcf7 button:hover:after {
	color:#fff;	
}

div.wpcf7-validation-errors {
	border: none;
}

div.wpcf7-response-output {
	border: none;
	margin: 2% 0 4% 0;
	padding: 0;
	color: #C81C44;
	text-align:center;
	border:0!important;
}

div.wpcf7-response-output.wpcf7-mail-sent-ok {
	color:#398f14;
	font-weight:600;
}

span.wpcf7-not-valid-tip {
	color: #C81C44;	
	font-size: 0.9em;
	display: inline;
}

::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color:    #474644;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:    #474644;
   opacity:  1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:    #474644;
   opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color:    #474644;
}
::-ms-input-placeholder { /* Microsoft Edge */
   color:    #474644;
}

::placeholder { /* Most modern browsers support this now. */
   color:    #474644;
}