/*
	Theme Name: ChildTheme
	Theme URI: http://www.stereoweb.ch
	Description: 2018 Vorlage
	Version: 1.0.0
	Author: stereoweb.ch
	Author URI: https://www.stereoweb.ch
	Tags: theme-options
	Template: Divi
*/

@import url(../Divi/style.css);
@import url(css/20-jahre-erfahrung.css);
@import url(css/megamenu.css);
@import url(css/responsive-menu.css);
/*
Rot: #9A1914;
Dunkel-Grau: #575757;
Schrift-Grau (etwas heller als dunkel): #7F7F7F;
Heller-Hell-Grau: #eaeaea;
Hell-Grau: #C6C6C6;
Dunkel-Grün: #006606;
Hell-Grün: ; #02970D;
*/

* { margin: 0; padding: 0; }
td, th { vertical-align: top; text-align: left; padding-left: 0!important; }
table, tr, td, th { border: none!important; }

/* Header */
#main-header { -webkit-box-shadow: 0 0 0 rgba(0,0,0,0)!important; box-shadow: 0 0 0 rgba(0,0,0,0)!important; }
/*#main-header .et_menu_container { cursor: url('https://rjmc.stereoweb.ch/wp-content/themes/childTheme/images/cursor-pfeil.png') 0 0, pointer; }*/
#main-header .et_menu_container li a:hover, #main-header .logo_container a { cursor: url('https://rjmc.stereoweb.ch/wp-content/themes/childTheme/images/cursor-pfeil.png') 3 3, pointer; }
#top-menu-nav li a:hover { color: #9A1914; }
#top-menu li.current-menu-item>a { color: #9A1914!important; }
#main-header .et_menu_container li[aria-expanded="true"] a { color: #9A1914!important; }
/* Header */

/* Logo */
.et_header_style_left .logo_container { width: auto!important; -webkit-box-shadow: 0px 7px 16px 5px rgba(0,0,0,0.28); 
box-shadow: 0px 7px 16px 5px rgba(0,0,0,0.28); background-color: #9a1914!important; height: 108px!important; padding: 20px 30px!important;  }
/* Logo */

/* Kontaktknopf auf allen Seiten */
.kontakt-btn { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom))/* Für iPhone Sichtbereich */; z-index: 9999; padding: 11px 20px 12px 20px; border-radius: 50px; border: 2px solid #9A1914; background-color: #9A1914; color: #ffffff; }
.kontakt-btn a { color: #ffffff; font-size: 24px; font-weight: bold; }
.kontakt-btn:hover { background-color: #ffffff; }
.kontakt-btn:hover a { color: #9A1914; }
/* Kontaktknopf auf allen Seiten */

/* Hauptnavigation */
header #et-top-navigation #top-menu-nav {  }
header #et-top-navigation #top-menu-nav li:last-child.current-menu-item::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 72px;
    height: 27px; /* an Bild anpassen */
    transform: translateX(-50%);
    background: url('https://rjmc.stereoweb.ch/wp-content/themes/childTheme/images/untermenu-ausgeplappt.png')
                no-repeat center center;
    background-size: 72px auto;
    opacity: 1;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
/* Hauptnavigation */

/* Überlappung vom Inhalt */
body:not(.wp-admin) #page-container .entry-content .et_pb_section_2 { padding-top: 0!important; border: 1px solid #ffffff; /* Wird gebraucht damit die Überlappung sichtbar wird */ }
body:not(.wp-admin) #page-container .entry-content .et_pb_section_2 .et_pb_row:first-child { width: calc(80% + 100px); max-width: 1220px; padding: 35px 50px 15px 50px!important; background-color: #ffffff; border-radius: 36px 36px 78px 24px!important; margin-top: -68px!important; }
body.home #page-container .entry-content .et_pb_section_2 .et_pb_row:first-child { padding: 45px 50px 15px 50px!important;  }
/* Überlappung vom Inhalt */

/* Pfeil nach unten */
.pfeil-nach-unten { display: none; cursor: pointer; }
.inhalt { position: relative; }
.inhalt .pfeil-nach-unten { position: absolute; top: -92px; right: 60px; z-index: 100; }
.inhalt .pfeil-nach-unten img { width: 92px; height: auto; }
/* Pfeil nach unten */


/* Unternavigation Firma */
#subnavigation-wrapper { display: none; }
body.seite-firma #subnavigation-wrapper { display: block; position: relative; background: linear-gradient(0deg,rgba(254, 254, 254, 1) 52%, rgba(236, 236, 236, 1) 100%); }
#subnavigation-wrapper .menu-unternavigation-firma-container { max-width: 1120px; width: 80%; margin: auto; }
#subnavigation-wrapper .menu-unternavigation-firma-container #menu-unternavigation-firma { display: flex; justify-content: space-between; padding: 8px 0 8px 210px; } /* ul */
#subnavigation-wrapper .menu-unternavigation-firma-container #menu-unternavigation-firma li {  }
#subnavigation-wrapper .menu-unternavigation-firma-container #menu-unternavigation-firma li a { font-size: 16px!important; text-transform: uppercase; color: #575757; }
#subnavigation-wrapper .menu-unternavigation-firma-container #menu-unternavigation-firma li a:hover { color: #9A1914; cursor: url('https://rjmc.stereoweb.ch/wp-content/themes/childTheme/images/cursor-pfeil.png') 3 3, pointer; }
#menu-unternavigation-firma a.active { color: #9A1914!important; }
/* Unternavigation Firma */

/* Startseite */
body.home #page-container .entry-content .et_pb_section_1 h1 { margin-bottom: 30px!important; }
body.home #page-container .entry-content .et_pb_section_1 h2 { margin-bottom: 20px!important; }
body.home #page-container .entry-content .et_pb_section_1 h3 { margin-bottom: 10px!important; }
body.home #page-container .entry-content .et_pb_section_1 h3:last-child { margin-bottom: 0!important; }
/* Startseite */

/* Dienstleistungskacheln auf Startseite */
.et_pb_section_2 .et_pb_blurb_content .et_pb_main_blurb_image { margin-bottom: 18px!important; }
.et_pb_section_2 .et_pb_blurb_content h4 { font-size: 20px!important; padding-bottom: 12px!important; }
/* Dienstleistungskacheln auf Startseite */

/* 1️⃣ Hintergrund-Span weiter Parallaxen lassen */
.et_pb_section_0 .et_parallax_bg_wrap {
  z-index: 0 !important; /* Hintergrund bleibt unten */
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Inhalt */
.et_pb_section hr { width: 115px; height: 10px; background-color: #9A1914; border: 0; margin: 36px auto 0 auto!important; }

.et_pb_button_module_wrapper a { background-color: #9A1914!important; color: #ffffff!important; font-weight: bold!important; padding: 8px 18px 10px 18px!important; border-radius: 50px; border-color: #9A1914!important; display: inline-block; transition: transform 0.2s ease; }
.et_pb_button_module_wrapper a:hover { transform: scale(1.3); }
/* Inhalt */

/* 2️⃣ Row_0 über allen anderen Rows platzieren */
.et_pb_section_0 .et_pb_row_0 {
  position: relative !important; /* innerhalb Section */
  z-index: 10 !important;       /* über Row_1 */
}

/* 3️⃣ Row_1 darunter */
.et_pb_section_0 .et_pb_row_1 {
  position: relative !important;
  z-index: 11 !important;
}

/* 3️⃣ Row_1 darunter */
.et_pb_section_0 .et_pb_row_2 {
  position: relative !important;
  z-index: 1 !important;
}

/* Referenzen */
.et_pb_module { overflow: visible!important; }
.owl-carousel .owl-nav .owl-prev{ left: -70px!important; }
.owl-carousel .owl-nav .owl-next { right: -69px!important; }
.owl-carousel .owl-item .dp_oc_image_content { line-height: 1.4em!important; text-transform: uppercase; }
.owl-carousel .owl-item .dp_oc_image_content a { color: #575757!important; }
.owl-carousel .owl-dots { margin-top: 15px!important; }
/* Referenzen */

/* Linksammlung */
.linksammlung { padding-top: 30px!important; }
.linksammlung .et_pb_column_1_3 { width: 31.4667%!important; }
.linksammlung .et_pb_column { margin-right: 2.8%!important; }
.linksammlung .et_pb_row .et_pb_column:last-child { margin-right: 0!important; }
.linksammlung .et_pb_text .et_pb_text_inner { background-color: #eaeaea!important; border-radius: 8px!important; padding: 22px 20px 27px 20px!important;
	background-image: url('images/pfeil-hintergrund-links.png');
	background-repeat: no-repeat;
	background-size: 40px 40px;
	background-position: right bottom;
	transition: background-size 0.4s ease; }
	.linksammlung .et_pb_text .et_pb_text_inner:hover { background-size: 58px 58px; }
.linksammlung .et_pb_text_inner p:has(a) { margin-top: 16px; margin-bottom: 13px; }
.linksammlung .et_pb_text_inner p a { background-color: #9A1914!important; color: #ffffff!important; font-weight: bold!important; padding: 8px 18px 10px 18px!important; border-radius: 50px; display: inline-block; transition: transform 0.2s ease; }
.linksammlung .et_pb_text_inner p a:hover { transform: scale(1.3); }
/* Linksammlung */


/* Seite Firma */
.seite-firma .et_section_regular:not(:first-child) { padding: 0 0 10px!important; }  
/* Seite Firma */

/* Footer */
#main-footer { background-image: url('images/brandschutz-hintergrund-sw.png'); background-repeat: no-repeat; background-position: right center; background-size: cover; }
#main-footer #footer-widgets ul { list-style: none!important; }
#main-footer #footer-widgets ul li { padding-left: 0!important; margin-bottom: 0!important; }
#main-footer #footer-widgets .footer-widget li:before { content: none !important; }
#main-footer #footer-widgets ul li a:hover { color: #ffffff!important; }
#main-footer #footer-widgets .title { margin-left: 0!important; }
/* Footer */


@media screen and (min-width:1321px) and (max-width:1460px) {
	#top-menu-nav #top-menu li { padding-right: 18px!important; }
	#top-menu-nav #top-menu li:last-child { padding-right: 0 !important; }
	#top-menu-nav #top-menu li a { font-size: 19px; }
}
@media screen and (min-width:1025px) and (max-width:1320px) {
	#top-menu-nav #top-menu li { padding-right: 14px!important; }
	#top-menu-nav #top-menu li:last-child { padding-right: 0 !important; }
	#top-menu-nav #top-menu li a { font-size: 18px; }
	.inhalt .pfeil-nach-unten { position: absolute; top: -75px; right: 25px; z-index: 100; }
	.inhalt .pfeil-nach-unten img { width: 72px; height: auto; }
}
@media screen and (max-width:1240px) {
	#page-container { padding-top: 0!important; }
	#subnavigation-wrapper { display: none!important; }
	#main-header { z-index: 9999!important; }
	.et_header_style_left .logo_container { padding: 14px 25px 15px 24px!important; }
	.et_header_style_left .logo_container #logo { max-width: 100%!important; }
}
@media screen and (max-width:980px) {
	html, body { overflow-x: hidden; }
	h1, h2, h3, h4 { hyphens: auto!important; overflow-wrap: break-word!important; }
	#main-header .container { width: 100%!important; } /* setzt Logo links an den Rand */
	#main-content .et_pb_row { width: 92%!important; }
	body.home #page-container .entry-content .et_pb_section_2 .et_pb_row:first-child { padding: 45px 10px 15px 10px!important;  }
	.inhalt .pfeil-nach-unten { position: absolute; top: -70px; right: 15px; z-index: 100; }
	.inhalt .pfeil-nach-unten img { width: 66px; height: auto; }
	.linksammlung .et_pb_column_1_3 { width: 100%!important; }
	.linksammlung .et_pb_column { margin-right: 0!important; }
}
@media screen and (min-width:981px) and (max-width:1240px) {
	#main-content .et_pb_section_1 { padding: 130px 0 100px 0!important; }
}
@media screen and (min-width:741px) and (max-width:980px) {
	#main-content .et_pb_section_1 { padding: 120px 0 80px 0!important; }
	body:not(.wp-admin) #page-container .entry-content .et_pb_section_2 #zeile-mobile { background-color: #ffffff; /*width: 96%!important;*/ padding: 72px 72px!important; border-radius: 28px 28px 0 0!important; margin-top: -68px!important; } /* weisses Feld mit den Runden Ecken oben */
	#zeile-mobile .et_pb_column_1_2 .et_pb_blurb { margin-bottom: 40px!important; }
	#zeile-mobile .et_pb_column_1_2 { width: 45%!important; margin-right: 10%!important; } 
	#zeile-mobile .et_pb_column_1_2:last-child { margin-right: 0!important; }
	#zeile-mobile .et_pb_column_1_2 h4 a { font-size: 20px!important; font-weight: 500!important; }
}
@media screen and (min-width:401px) and (max-width:740px) {
	#main-content .et_pb_section_1 { padding: 120px 0 70px 0!important; }
	body:not(.wp-admin) #page-container .entry-content .et_pb_section_2 .et_pb_row:first-child { padding: 22px 24px 15px 22px!important; border-radius: 24px 24px 0 0!important; }
	body:not(.wp-admin) #page-container .entry-content .et_pb_section_2 #zeile-mobile { background-color: #ffffff; width: 96%!important; padding: 20px 20px!important; border-radius: 20px 20px 0 0!important; margin-top: -68px!important; } /* weisses Feld mit den Runden Ecken oben */
	#zeile-mobile .et_pb_column_1_2 { width: 49%!important; margin-right: 2%!important; } 
	#zeile-mobile .et_pb_column_1_2:last-child { margin-right: 0!important; }
	#zeile-mobile .et_pb_column_1_2 .et_pb_blurb { border-width: 3px!important; }
	#zeile-mobile .et_pb_column_1_2 h4 a { font-size: 17px!important; font-weight: 300!important; }
	/* Kontaktknopf auf allen Seiten */
	.kontakt-btn { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom))/* Für iPhone Sichtbereich */; padding: 8px 18px 9px 18px; border-radius: 50px; border: 0px solid #9A1914; }
	.kontakt-btn a { font-size: 21px; }
	/* Kontaktknopf auf allen Seiten */
}
@media screen and (max-width:400px) {
	#main-content .et_pb_section_1 { padding: 120px 0 70px 0!important; }
	body:not(.wp-admin) #page-container .entry-content .et_pb_section_2 .et_pb_row:first-child { padding: 22px 24px 15px 22px!important; border-radius: 22px 22px 0 0!important; }
	body:not(.wp-admin) #page-container .entry-content .et_pb_section_2 #zeile-mobile { background-color: #ffffff; width: 96%!important; padding: 16px 16px!important; border-radius: 20px 20px 0 0!important; margin-top: -68px!important; } /* weisses Feld mit den Runden Ecken oben */
	#zeile-mobile .et_pb_column_1_2 { width: 49%!important; margin-right: 2%!important;} 
	#zeile-mobile .et_pb_column_1_2:last-child { margin-right: 0!important; }
	#zeile-mobile .et_pb_column_1_2 .et_pb_blurb { border-width: 2px!important; }
	#zeile-mobile .et_pb_column_1_2 h4 a { font-size: 17px!important; font-weight: 300!important; }
	/* Kontaktknopf auf allen Seiten */
	.kontakt-btn { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom))/* Für iPhone Sichtbereich */; padding: 8px 18px 9px 18px; border-radius: 50px; border: 0px solid #9A1914; }
	.kontakt-btn a { font-size: 21px; }
	/* Kontaktknopf auf allen Seiten */
}

/* iPad 4 Breite 768px hoch */
@media screen and (min-width:768px) and (max-width:1024px) and (orientation : portrait) {
	
}

/* iPad 4 Breite 1024px breit */
@media screen and (min-width:768px) and (max-width:1024px) and (orientation : landscape) {

}

/* iPhone 4 Breite 320px hoch */
@media screen and (min-width:320px) and (max-width:767px) and (orientation : portrait) {

}

/* iPhone 4 Breite 480px breit (alter Wert and (max-width:767px)) */
@media screen and (min-width:320px) and (max-width:980px) and (orientation : landscape) {

}




