/*
Theme Name: Awedis Child-Theme
Theme URI: https://www.awedis.de/
Description: Child Theme auf der Basis vom Awedis-Theme
Author: awedis
Author url: https://www.wyld.zone
Version: 1.0
License: GNU General Public License
License URI: http://www.opensource.org/licenses/GPL-3.0
Template: awedis
Template Version: 3.6.0
Tags: blog, custom-menu, featured-images, threaded-comments, translation-ready, right-sidebar, custom-background, e-commerce, theme-options, sticky-post, full-width-template
*/

/* open-sans-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: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/open-sans-v43-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/open-sans-v43-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* open-sans-500 - 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: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/open-sans-v43-latin-500.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/open-sans-v43-latin-500.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* open-sans-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: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/open-sans-v43-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/open-sans-v43-latin-700.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}


:root {
  --bs-modal-width: 100%;
}

html{font-size:21px;font-family: 'Open Sans', sans-serif; overflow-x: hidden;}
body{color: #000;font-family: 'Open Sans', sans-serif;overflow-x: hidden;line-height:1.7}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, pre{font-weight: 700;text-decoration:none;border-bottom:none;color:#535353;}
#main h1, #main .h1, #main .h1 h3{font-size:3rem;line-height:1.13;margin-bottom: .75rem; }
h1:after, .h1:after{width:200px;height:2px;background-color: #c70000;content: ' ';display:block;margin-left:-100px;margin-top:1.5rem;}
h2, .h2 h3, .h2 h4, .h2 h1{font-size:2rem;}
h3, .h3 h4{font-size:1.5rem;}
h4, .h4{font-size:1.25rem;}
.borderRadiusTlBl img{border-top-left-radius: 10px;border-bottom-left-radius: 10px;}

#main .smallHeadline *{font-size: .86rem !important;text-transform:uppercase;}
#main .smallHeadline:after{width:94px;height:2px;background-color: #c70000;content: ' ';display:block;margin-left:-47px;margin-top:.75rem;}

nav#header{padding-top: 0;padding-bottom:0;background-color: #fff;box-shadow: 0px 5px 12px 0px rgba(0,0,0,0.5);-webkit-box-shadow: 0px 5px 12px 0px rgba(0,0,0,0.5);-moz-box-shadow: 0px 5px 12px 0px rgba(0,0,0,0.5);}
.navbar-brand img{height:78px;}
.navbar-brand img.okaSlogan{max-height: 20px;}
.navbar-brand img.okaSloganMobile{max-height: 40px;}
.headContact{color:#fff;font-weight: 500;font-size:.85rem;position: absolute;top:0;right:0;display: inline-block;background-color:#EA1212;border-bottom-left-radius: 10px;border-bottom-right-radius: 10px;padding: 10px 30px;}
.headContact a{color:#fff;}
#header.navbar > .container, #header.navbar > .container-fluid{display: block;}
#header.navbar > .container{padding-top: 20px;padding-bottom: 20px;}
#header.navbar > .container-fluid{background-color:#a0a0a0;}
#header.navbar > .container-fluid:hover{background-color:#EA1212; }

.nav-link{color: #fff;font-weight:700;}
.navbar-nav .nav-link.active, .navbar-nav .nav-link.show, .navbar-nav .nav-link:hover{background-color: #535353;color:#fff;}
#mega-menu-wrap-main-menu #mega-menu-main-menu li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator{display: none;}

/*
.rtmegamenu-contents.sub-menu.submenu{background-color: #535353 !important;color:#fff;}
.rtmegamenu-contents.sub-menu.submenu a{color: #fff;}
.submenu-parent-icon{display: none;}
.megaMenuTextLink a, .megaMenuLoesungen li, .megaMenuLoesungen a{font-size: .85rem !important;line-height:1.14;font-weight:bold;display: block;margin-bottom: 20px;}
.megaMenuTextLink a:after{width:94px;height:2px;background-color: #c70000;content: ' ';display:block;margin-left:-20px;margin-top:.75rem;}
.megaMenuLoesungen .megaMenuTextLink a{margin-bottom: 0;}
.megaMenuLoesungen ul{list-style: none;}
.megaMenuLoesungen li, .megaMenuLoesungen li a{margin-bottom: 0;font-weight: 400;}
.megaMenuLoesungen li{margin-bottom: 10px;}
.megaMenuLoesungen li::before{content:'>';left:10px;position: absolute;}
*/

#header #mega-menu-wrap-main-menu #mega-menu-main-menu li.mega-menu-row{max-width: 1320px;margin: 0 auto;float: none;}
.widget_media_image img{border-radius:10px;border:2px solid #fff;}
.widget_text a, .widget_text li, .widget_text a{font-size: .85rem !important;line-height:1.14;font-weight:bold;display: block;margin-bottom: 20px;color:#fff;hyphens: auto;}
.widget_text a:after{width:94px;height:2px;background-color: #c70000;content: ' ';display:block;margin-left:-30px;margin-top:.75rem;}
.widget_text ul a:after{display:none;}
.widget_text .widget_text ul a{margin-bottom: 0;}
.widget_text ul{list-style: none;padding-left:20px;}
.widget_text li, .widget_text li a{margin-bottom: 0;font-weight: 400;}
.widget_text li{margin-bottom: 10px;}
.widget_text li::before{content:'>';left:15px;position: absolute;}
.megaMenuLoesungen .mega-sub-menu{align-items: flex-start;}

#main{margin-top:165px;}
.elementor-top-section.elementor-section.elementor-section-boxed{margin-left: -10px;margin-right: -10px;}
.elementor-section.elementor-section-boxed > .elementor-container{max-width: 1340px;}

/* Breadcrumbs */
.breadcrumb, .breadcrumb a{font-size: .76rem;color:#000;line-height: 1.1;}
.breadcrumb a.homeLink, .breadcrumb span{margin-left: 5px;margin-right: 5px;}
.breadcrumb a.homeLink{margin-left: 0;}

/* Startseite: Lösungen Übersicht */
.loesungenCat.elementor-top-section.elementor-section.elementor-section-boxed {background-color:#c70000;margin-left: 0;margin-right: 0;border-radius:14px;}
.loesungenCat .elementor-widget-text-editor a{color:#fff;margin-left:45px;font-size:1.43rem;font-weight:bold;position:relative;padding-left:30px;display: block;}
.loesungenCat .elementor-widget-text-editor a::before{content:'>';position: absolute;left:0;top:0;font-weight:bold;}
/* Startseite: Kundenzitat */
.redCaller{color: #fff;padding-top:120px;padding-bottom: 80px;margin-top: 120px;margin-bottom: 60px;}
.redCaller::before{  content: "";
  position: absolute;
  width: 200%;
  height: 100%;
  top: 0;
  left: -50%;
  z-index: -1;
  background-color: #c70000; /* Fallback background color */
  background-size: cover; /* Cover entire pseudo-element area */
  transform: rotate(-3deg); /* css rotate background image, css background rotate */
}
.redCaller blockquote p{font-size:1.66rem;font-weight:bold; }
.redCaller p{font-weight: bold;font-size:1.15rem;}

/* Übersichtsseiten */
.pageOverview .col-lg-4, .pageOverview .col-md-4{margin-bottom: 30px;}
.pageOverview a{color: #535353;line-height:1.25}
.pageOverview a:hover{color: #EA1212;}
.pageOverview img{border-radius:10px;}
.pageOverview span{display: block;font-weight:bold;font-size:1.1rem;margin-top:10px;padding-left:20px;position: relative;}
.pageOverview span::before{content:'>';position:absolute;left:0;}

/* Projekt-Slider */
div.slick-track{min-width: 100% !important;}
.slick-prev::before, .slick-next::before{color:#c70000;}
.projektSlider div.slick-slide{margin: 0 15px;}
.projektSlider a{color: #535353;}
.slideTitle{font-size:1.1rem;font-weight: bold;margin-bottom: 0;}
.slideProduktLinks{font-weight: 400;}
.slick-prev, .slick-next{z-index: 1;}
.slick-next{right: -10px;}
.slick-next::before{
  width: 0;
  height: 0;
  border-style: solid;
  border-top: 22px solid transparent;
  border-bottom: 22px solid transparent;
  border-left: 37px solid #ea1212;
  border-right: 0;content: '';
  display: block;
}
.slick-prev::before{
  width: 0;
  height: 0;
  border-style: solid;
  border-top: 22px solid transparent;
  border-bottom: 22px solid transparent;
  border-right: 37px solid #ea1212;
  border-left: 0;content: '';
  display: block;
}

/* Projekt-Detailseiten */
.single-projekt #main{margin-top:195px;}

#footer{background-color:transparent;color:#fff;position: relative;overflow: hidden;padding-top: 200px;height: 490px;}
#footer::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: 20%;
  left: -50%;
  z-index: -1;
  background-color: #535353; /* Fallback background color */
  background-size: cover; /* Cover entire pseudo-element area */
  transform: rotate(-3deg); /* css rotate background image, css background rotate */
}
#footer a{color:#fff;}
@media (min-width: 992px) {
	.navbar-expand-lg {-ms-flex-wrap: wrap;flex-wrap: wrap;}
	.nav-link{margin-left: 10px;margin-right: 10px;}
}
@media (min-width: 1200px) {
	.okaSloganMobile{display: none;}
	.mega-sub-menu{display: flex !important;align-items:flex-end;flex-wrap:wrap;}
	#mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-item{margin: 0 30px;}
	#mega-menu-main-menu .footerGeneralLinks, #mega-menu-main-menu .footerGeneralInfos, #mega-menu-main-menu .headContact{display: none;}
	.projektSlider .slick-prev, .projektSlider .slick-next{top: 90px;}
	.footerGeneralLinks{display: flex;justify-content: space-between;}
}
@media (min-width: 1400px) {
	.projektSlider .slick-prev, .projektSlider .slick-next{top: 108px;}
}
@media (max-width: 1399px) {
	/* Master-Slider */
	.n2-ss-text {font-size:45px !important;}
}
@media (max-width: 1199px) {
	html,body{font-size:18px;}
	.container, .container-lg, .container-md, .container-sm{max-width: 100%;}
	#header{display: flex;}
	.okaSlogan{display: none;}
	#header.navbar > .container, #header.navbar > .container-fluid{display: flex;flex-wrap: nowrap;}
	#header.navbar > .container {width: calc(100% - 100px);}
	#header.navbar > .container-fluid{width: 100px;}
	.headContact{position: relative;width:100%;text-align: center;margin-bottom: 0;}
	#header.navbar > .container-fluid, #header.navbar > .container-fluid:hover{background-color: transparent;}
	#header #mega-menu-main-menu{padding: 120px 30px 30px 30px !important;}
	#mega-menu-wrap-main-menu .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner, #mega-menu-wrap-main-menu .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::before, #mega-menu-wrap-main-menu .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::after{background-color:#ea1212; }
	#mega-menu-wrap-main-menu .mega-menu-toggle.mega-menu-open ~ button.mega-close{position: absolute;}
	
	.megaMenuProdukte .mega-menu-row > .mega-sub-menu{display: flex !important;flex-wrap: wrap;align-items: flex-end;}
	.megaMenuProdukte .mega-menu-row > .mega-sub-menu > li:nth-child(odd){width: 33.3333% !important;}
	.megaMenuProdukte .mega-menu-row > .mega-sub-menu > li:nth-child(even){width: 66.6666% !important;}
	.megaMenuLoesungen .mega-menu-row > .mega-sub-menu{display: flex !important; }
	.megaMenuLoesungen .mega-menu-row > .mega-sub-menu > li{width: 33.3333% !important;}
	
	#mega-menu-main-menu .footerGeneralLinks, #mega-menu-main-menu .footerGeneralInfos{padding: 30px 10px 0 10px;color:#fff;font-weight:bold;font-size:.8rem;}
	#mega-menu-main-menu .footerGeneralLinks a, #mega-menu-main-menu .headContact a{display: block;color:#fff;font-weight:bold;font-size:.8rem !important;}
	#mega-menu-main-menu .headContact{background-color: transparent;text-align: left;border:none;padding: 30px 10px 0 10px;}
	#mega-menu-main-menu .headContact span{display: none;}
	
	.slick-prev{left: 5px;}
	.slick-next{right: 20px;}
}
@media (max-width: 991px) {
	#navbar.collapse:not(.show){display: block;}
	.n2-ss-text {font-size:35px !important;}
	.redCaller blockquote p{font-size:1.4rem;padding-left: 30px;padding-right: 30px; }
}
@media (max-width: 767px) {
    html,body{font-size:16px;}
	#main h1, #main .h1, #main .h1 h3{font-size:2rem;}
	h2, .h2 h3, .h2 h4, .h2 h1{font-size:1.66rem;}
	h3, .h3 h4{font-size:1.33rem;}
	h4, .h4{font-size:1.15rem;}
	
	.navbar-brand img{max-height: 45px;}
	.navbar-brand img.okaSloganMobile{max-height: 25px;}
	.megaMenuLoesungen .mega-menu-row > .mega-sub-menu{display: block !important;}
	.megaMenuLoesungen .mega-menu-row > .mega-sub-menu > li{width: 100% !important;}

	.loesungenCat .elementor-widget-text-editor p{margin-top: 12px;}
}
@media (max-width: 479px) {
	.n2-ss-text {font-size:30px !important;}
}