/*
 Theme Name:   DIVI CHILD
 Theme URI:    https://sitevertreiber.de
 Description:  A Child Theme built for Divi on Divi Space
 Author:       SITEVERTREIBER
 Author URI:   https://www.sitevertreiber.de
 Template:     Divi
 Version:      3.X
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/
/* open-sans-regular - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url(//www.maler-hagel.de/wp-content/themes/Divi-Space-Child/fonts/open-sans-v27-latin-regular.eot); /* IE9 Compat Modes */
    src: local(''),
         url(//www.maler-hagel.de/wp-content/themes/Divi-Space-Child/fonts/open-sans-v27-latin-regular.eot?#iefix) format('embedded-opentype'), /* IE6-IE8 */
         url(//www.maler-hagel.de/wp-content/themes/Divi-Space-Child/fonts/open-sans-v27-latin-regular.woff2) format('woff2'), /* Super Modern Browsers */
         url(//www.maler-hagel.de/wp-content/themes/Divi-Space-Child/fonts/open-sans-v27-latin-regular.woff) format('woff'), /* Modern Browsers */
         url(//www.maler-hagel.de/wp-content/themes/Divi-Space-Child/fonts/open-sans-v27-latin-regular.ttf) format('truetype'), /* Safari, Android, iOS */
         url(//www.maler-hagel.de/wp-content/themes/Divi-Space-Child/fonts/open-sans-v27-latin-regular.svg#OpenSans) format('svg'); /* Legacy iOS */
  }
  /* open-sans-500 - latin */
  @font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 500;
    src: url(//www.maler-hagel.de/wp-content/themes/Divi-Space-Child/fonts/open-sans-v27-latin-500.eot); /* IE9 Compat Modes */
    src: local(''),
         url(//www.maler-hagel.de/wp-content/themes/Divi-Space-Child/fonts/open-sans-v27-latin-500.eot?#iefix) format('embedded-opentype'), /* IE6-IE8 */
         url(//www.maler-hagel.de/wp-content/themes/Divi-Space-Child/fonts/open-sans-v27-latin-500.woff2) format('woff2'), /* Super Modern Browsers */
         url(//www.maler-hagel.de/wp-content/themes/Divi-Space-Child/fonts/open-sans-v27-latin-500.woff) format('woff'), /* Modern Browsers */
         url(//www.maler-hagel.de/wp-content/themes/Divi-Space-Child/fonts/open-sans-v27-latin-500.ttf) format('truetype'), /* Safari, Android, iOS */
         url(//www.maler-hagel.de/wp-content/themes/Divi-Space-Child/fonts/open-sans-v27-latin-500.svg#OpenSans) format('svg'); /* Legacy iOS */
  }
  /* open-sans-700 - latin */
  @font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url(//www.maler-hagel.de/wp-content/themes/Divi-Space-Child/fonts/open-sans-v27-latin-700.eot); /* IE9 Compat Modes */
    src: local(''),
         url(//www.maler-hagel.de/wp-content/themes/Divi-Space-Child/fonts/open-sans-v27-latin-700.eot?#iefix) format('embedded-opentype'), /* IE6-IE8 */
         url(//www.maler-hagel.de/wp-content/themes/Divi-Space-Child/fonts/open-sans-v27-latin-700.woff2) format('woff2'), /* Super Modern Browsers */
         url(//www.maler-hagel.de/wp-content/themes/Divi-Space-Child/fonts/open-sans-v27-latin-700.woff) format('woff'), /* Modern Browsers */
         url(//www.maler-hagel.de/wp-content/themes/Divi-Space-Child/fonts/open-sans-v27-latin-700.ttf) format('truetype'), /* Safari, Android, iOS */
         url(//www.maler-hagel.de/wp-content/themes/Divi-Space-Child/fonts/open-sans-v27-latin-700.svg#OpenSans) format('svg'); /* Legacy iOS */
  }
a {
    color: #00A9E3;
}
.uberuns {
    padding-right:20% !Important;
}
@media screen and (max-width: 1550px) {
    .uberuns {
        padding-right:15% !Important;
    }
}
@media screen and (max-width: 767px) {
    .uberuns {
        padding-right:40px !Important;
    }
}
.sociallinks {
    display: inline-block;
    margin-bottom:15px;
}
.sociallinks a{
    color: #fff;
}
.links {
    float: left;
    margin-right: 5px;
}
.single .et_pb_post {
    margin-bottom: 0px;
}
H2 {
    padding-left: 62px;
}
h2::before {
	content: url(https://www.maler-hagel.de/wp-content/uploads/2023/05/hineuicon.svg);
	position: absolute;
	width: 71px;
	height: 101px;
	top: -10px;
    left: 0;
}
#termin h2::before {
	content: url(https://www.maler-hagel.de/wp-content/uploads/2023/05/h2icon.png);
	position: absolute;
	width: 71px;
	height: 101px;
	top: -20px;
    left: 0;
}



/* MENU */
.et_header_style_centered #main-header div#et-top-navigation {
    padding-top: 15px;
}

/* Post-Slider */
.et_pb_slide_image, .et_pb_slide_video {
    width: 100% !Important;
    margin-right: 0;
}
.et_pb_slide_description h2.et_pb_slide_title {
    display: none;
}
.et_pb_post_slider_image_top .et_pb_slide_image {
    margin: 0% auto 0 !important;
}
.et_pb_slider .et_pb_container {
    width: 100% !important;
    max-width: 100% !important;
}
.et_pb_slide {
    padding: 0;
}
.et_pb_slides .et_pb_slider_container_inner {
    display: block;
}
.et_pb_slide_description, .et_pb_slider_fullwidth_off .et_pb_slide_description {
    padding: 0% 8%;
    padding-top: 0%;
    padding-bottom: 0%;
}
.et-fixed-header #top-menu li.current-menu-item > a{
    color: #666666 !Important;
}
.et-fixed-header .et_menu_container {
    box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
}
.spezial .et_pb_row {
    padding: 0px 0;
}
.et_pb_slide:first-child .et_pb_slide_image img.active,
.et-pb-active-slide .et_pb_slide_image,
.et-pb-active-slide .et_pb_slide_description {
    -webkit-animation-duration: .1s;
    -moz-animation-duration: .1s;
    -ms-animation-duration: .1s;
    -o-animation-duration: .1s;
    animation-duration: .1s;
    -webkit-animation-delay: .1s;
    -moz-animation-delay: .1s;
    -ms-animation-delay: .1s;
    -o-animation-delay: .1s;
    animation-delay: .1s;
}
/* CONTENT */
#flex {
	display: flex;
	flex-direction: column;
	justify-content: center;	
	}
.et_pb_text_inner a.smallblue {
	background: #fff !Important;
	border: 2px solid #666 !Important;
	color: #666 !Important;
	font-size: 18px;
	text-transform: uppercase;
	padding: .5em 1em !Important;
	border-radius: 2px !Important;
}
.et_pb_text_inner a.smallblue:hover {
	border: 2px solid #00A9E7 !Important;
	color: #00A9E7 !Important;
}

.forminator-button-submit span{
	font-size: 18px !Important;
	text-transform: uppercase !Important;
	padding: .5em 1em !Important;
}
.forminator-button-submit{
	padding: .5em 1em !Important;
}
.et-db #et-boc .et_pb_module .forminator-ui.forminator-custom-form[data-design=material] .forminator-button span[aria-hidden]:not([class*=forminator-icon-]), 
.forminator-ui.forminator-custom-form[data-design=material] .forminator-button span[aria-hidden]:not([class*=forminator-icon-]) {
    background-color: transparent !Important;
}
#showroom .fluid-width-video-wrapper {
	padding-top: 177% !important;
}

/* FOOTER */
#footer-bottom {
    display:none;
}
.et_pb_column {
    border-right: 0px solid #808080 !important;
}
.footerZeile {
    border-right: 1px solid #808080 !important;
}


/*Logo*/
.et_header_style_centered #logo {
    display: none;
}

.et_header_style_centered #et_mobile_nav_menu {
    margin-top: 0px;
}
.et_header_style_centered #main-header {
    padding: 0px 0;
}

.mobile_menu_bar::before {
    color: #ffffff;
}
.et_mobile_menu {
    background-color: #ffffff !Important;
    border-color: #ffffff;
}
.et_mobile_menu li a {
    color: #666666 !important;
}
.et_header_style_centered #top-menu>li>a {
    padding-top: 1em;
}
.et-pb-arrow-next, .et-pb-arrow-prev {
    top: 35%;
    margin-top: -24px;
    font-size: 100px;
}
.et_header_style_centered header#main-header .logo_container {
    display: none;
}

@media screen and (max-width: 1100px) {
	h2 {
		font-size: 30px !Important;
	}
}
@media screen and (max-width: 980px) {
    .et-pb-arrow-next, .et-pb-arrow-prev {
        top: 25%;
        margin-top: -24px;
        font-size: 100px;
    }
	.footerZeile {
    	border-right: 0 !important;
	}
	#flex {
		display: block;	
	}
}
@media screen and (max-width: 480px) {
    .et-pb-arrow-next, .et-pb-arrow-prev {
        top: 15%;
        margin-top: -24px;
        font-size: 48px;
    }
}
@media screen and (max-width: 767px) {
    .et_pb_text_1 {
        background-size: 50px !Important;
	}
    h2 {
        padding-left: 40px;
    }
	#termin h2::before,
	h2::before {
		transform: scale(.7);
		top: -20px;
		left: -11px;
	}
}


/* ### PORTFOLIO ### */
.post-meta a{
    pointer-events: none;
}
.et_pb_portfolio_items {
    display: flex;
    flex-wrap: wrap;
}
.et_pb_filterable_portfolio .et_pb_portfolio_filters {
    margin: 0 ;
}
.et_pb_portfolio_item[id^='post-'] {
    width: 98% !important; /*Change this number to value 3 in the calculator (don't remove the '%') */
    margin: 2% 2% !important;
}
@media screen and (min-width: 479px) {
    .et_pb_portfolio_item[id^='post-'] {
        width: 49% !important; /*Change this number to value 3 in the calculator (don't remove the '%') */
        margin: 2% 2% 0 0 !important;
    }

    .et_pb_portfolio_item[id^='post-']:nth-child(even) {
        width: 49% !important; /*Change this number to value 3 in the calculator (don't remove the '%') */
        margin: 2% 0 0 0!important;
    }
}


@media screen and (min-width: 1024px) {
    .et_pb_portfolio_item[id^='post-'], .et_pb_portfolio_item[id^='post-']:nth-child(2n) {
        width: 32% !important; /*Change this number to value 3 in the calculator (don't remove the '%') */
        margin: 2% 2% 0 0 !important;
    }

    .et_pb_portfolio_item[id^='post-']:nth-child(3n) {
        width: 32% !important; /*Change this number to value 3 in the calculator (don't remove the '%') */
        margin: 2% 0 0!important;
    }
}

.ds-library-grid.et_pb_filterable_portfolio .et_pb_portfolio_filters li {
    float: left;
    margin: 0 0 2% 0;
    text-align: center;
    width: auto;
}

.et_pb_filterable_portfolio .et_pb_portfolio_filters li a {
    margin: -1px -1px 0 0;
    padding: 10px 20px;
    border: 0px solid #e2e2e2;
}
.et_pb_filterable_portfolio .et_pb_portfolio_filters li a.active {
    background-color: #ffffff;
}
.et_pb_filterable_portfolio .et_pb_portfolio_filters li a:hover {
    color: #333;
    background-color: #ffffff;
}


/*This sets the width of the filter buttons on smaller screens, you really want to leave these as they are or your buttons will be too small*/
@media only screen and (max-width: 1280px) {
    .ds-library-grid.et_pb_filterable_portfolio .et_pb_portfolio_filters li {
        margin: 0 !important;
        width: auto;
    }
    .ds-library-grid.et_pb_filterable_portfolio .et_pb_portfolio_filters li a{
        border-right: 0;
    }

    .ds-library-grid.et_pb_filterable_portfolio .et_pb_portfolio_filters li:nth-child(3n+3) {
        margin-right: 0;
    }
    .prev-title {
        display:none;
    }
}

@media only screen and (max-width: 767px) {
    .ds-library-grid.et_pb_filterable_portfolio .et_pb_portfolio_filters li {
        margin: 0 !important;
        width: auto !important;
    }

    .ds-library-grid.et_pb_filterable_portfolio .et_pb_portfolio_filters li:nth-child(2n) {
        margin-right: 0 !important;
    }
}

@media only screen and (max-width: 479px) {
    .ds-library-grid.et_pb_filterable_portfolio .et_pb_portfolio_filters li {
        margin-right: 0;
        width: 100%;
        margin-bottom: 10px;
    }

    .ds-library-grid.et_pb_filterable_portfolio .et_pb_portfolio_filters {
        margin: -30px 0 40px !important;
    }
}

/*Ensures portfolio images display on mobile and tablets, you don't need to touch this*/
@media only screen and ( max-width: 980px) {
    .ds-library-grid .et_portfolio_image img {
        width: 100%;
    }
}