/*
Theme Name: Divi-Child-Theme
Theme URI: http://www.elegantthemes.com/gallery/divi/
Description: Child theme for the Divi theme
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Template: Divi
Version: 1.0.0
*/
 
/* =Ab hier kannst du deine CSS-Anpassungen eintragen
------------------------------------------------------- */

/* DAMIT DIE SEITE BEIM LADEN NICHT SPRINGT.
#page-container {
padding-top: 80px !important;
}

#main-header {
top: 50px !important;
}

header#main-header {
z-index: 99990;
}

.admin-bar #main-header {
top:81px!important;
}


#main-content {
  padding-top: 50px !important;
}
*/

#page-container { overflow:hidden; }


@media all and (min-width: 981px) {
                .et_fullwidth_secondary_nav #top-header .container {
                    width:100%;
                    max-width: 100%;
                    padding-right: 40px;
                    padding-left: 30px;
					padding-top: 25px;	
                }
	


/*********** Menu Container Einstellungen ********************/
/* 
.et_fullwidth_nav #main-header .container {
    width: 100%;
    max-width: 100%;
    padding-right: 20px;
    padding-left: 15px;
}

/*********** Secondary menu Einstellungen ********************/
/* 
 .et_fullwidth_secondary_nav #top-header .container {
  width:100%;
  max-width:100%;
  padding-top:20px;
  padding-right:20px;
  padding-left:20px;
 }

/* 
.et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content {
    margin: 20px auto;
    width: 100%;
    max-width: 1200px;
}

.et_pb_fullscreen .et_pb_fullwidth_header_container {
    height: 10px;
    min-height: 100vh;
    width: 90%;
    max-width: none;
}
*/

body {
        font-weight: 300;
    }




#left-area ul, .comment-content ul, .entry-content ul, .et-l--body ul, .et-l--footer ul, .et-l--header ul, body.et-pb-preview #main-content .container ul {
    list-style-type: disc;
    line-height: 25px;
}

/* overhanging logo*/
 
#top-header {
  z-index: 2;
}
#main-header {
  z-index: 1;
}
header {
    position: relative;
    z-index: 999;
}




@media only screen and (min-width: 981px){
#main-header .logo_container {
  top: -32px;
  width: 360px;
  z-index: 100;
}
.et_header_style_left .logo_container {
position: absolute;
height: 140%;
width: 100%;
}
}


@media all and (max-width: 479px) {
  #main-header .logo_container {
    top: 0px;
  }
  #logo {
    max-height: 70%;
  } 
	.et_header_style_left .logo_container {
    position: absolute;
    height: 100%;
}
	
}

/** hide divi secondary menu on mobile **/
@media(max-width: 767px)
{
  #top-header {display: none;}
}



/* Set the "shrunken" logo height */
@media only screen and ( min-width:981px ) {
    .et-fixed-header #logo {
		max-height: 90px!important;
		padding-top: 45px !important;
		padding-bottom: 5px !important;
	}
}

/* here is a fluent solution: hide secondary bar on scroll */

#top-header {
overflow:hidden;
max-height:50px;
transition:max-height .1s ease;
}
#top-header.et-fixed-header {
max-height:0;
}
#main-header {
transition:top .1s ease;
}
#main-header.et-fixed-header {
top:0!important;
}
.admin-bar #main-header.et-fixed-header {
top:32px!important;
}


/* secondary social icons nach rechts */
@media only screen and (min-width: 768px)
{
#top-header #et-info
{float:right;}
#top-header #et-info .et-social-icons
{float:right;}
}

.et_fullwidth_nav #main-header .container {

    width: 100%!important;
    max-width: 100%!important;
    padding-right: 25px;
    padding-left: 25px;
}




/* changing line spacing in lists */
.entry-content li{
padding-bottom: 12px !important;
}

/*apply a blur or other filter effect to the background image*/
.pa-background-filter .et_pb_parallax_css {
	filter: blur(50px); /* Adjust the blur amount as needed */
	-webkit-filter: blur(50px); /* For Safari */
}


#logo{max-width:500px;}

#top-menu .menu-item-has-children > a:first-child::after, .fullwidth-menu .menu-item-has-children > a:first-child::after, #et-secondary-nav .menu-item-has-children > a:first-child::after {
display: none;
}


.et_pb_gallery_fullwidth .et_pb_gallery_image img {
   max-width: 100% !important;
max-height: 550px !important;
object-fit: cover; /* container */
}



.et_mobile_menu li a, .nav li li a {
    font-size: 20px;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

/* style the opened mobile menu hamburger (make it an 'X') */  
div.mobile_nav.opened .mobile_menu_bar:before {
    font-family: "ETmodules";
    content: "\4d"; 
}


/* color both the open and close hamburgers */
div.mobile_nav.opened .mobile_menu_bar:before, div.mobile_nav.closed .mobile_menu_bar:before {
    color: #000000; 
}




/* Hide footer */

#main-footer {
    height: 0 !important;
    overflow: hidden;
}




/* Menu Schriftgrösse verkleinert sich bei gewisser Breite*/

/***********bis 3000 ********************/
@media (max-width: 3000px) {  
 #top-menu li, #top-menu li a {
 font-size: 23px !important;
  font-weight: 400 !important;
 padding-right: 8px !important;
 }
#logo{max-width:500px;}

}
#top-menu .sub-menu li a {
   font-size: 18px!important; /* Font size dropdown */
   line-height: 1.2em;
   width: 100%;
   color: #000000;
   border-bottom: 1px solid #666666; /* Border bottom menu item color */
}








/* 2 Columns Tablet */
@media all and (min-width: 768px) and (max-width: 980px) {
    .two-col-tab .et_pb_column {
        width:47.25% !important;
    }
.two-col-tab .et_pb_column:nth-last-child(-n+2) {
        margin-bottom:0;
    }
    .two-col-tab .et_pb_column:not(:nth-child(2n)) {
        margin-right:5.5% !important;
    }
}


/* 3 Columns Tablet */
@media all and (min-width: 768px) and (max-width: 980px) {
    .three-col-tab .et_pb_column {
        width:29.6667% !important;
    }

.three-col-tab .et_pb_column:nth-last-child(-n+3) {
        margin-bottom:0;
    }

    .three-col-tab .et_pb_column:not(:nth-child(3n)) {
        margin-right:5.5% !important;
    }
}


/* ##### DROPDOWN MENU STYLES ##### */

#top-menu .sub-menu {
   background-color: #FFFFFF; /* Background color dropdown */
   border-top: 0px solid #000000; /* Top border color dropdown */

}

#top-menu .sub-menu li a {
   font-size: 17px; /* Font size dropdown */
   line-height: 1.2em;
   width: 100%;
   color: #000000;
   border-bottom: 0px solid #666666; /* Border bottom menu item color */
}

.sub-menu li:hover {
   background-color: rgba(0,0,0,0.2); /* Hover color menu item */
}

.sub-menu .current_page_item {
  /* background-color: #4070a9; /* Current menu item color dropdown */
	color: #000;
}

#top-menu .sub-menu li {
   padding-left: 0px;
   padding-right: 0px;
   width: 100%;
}

#top-menu li li a {
   padding-top: 10px;
   padding-bottom: 8px;
}

#top-menu .sub-menu {
   padding-top: 0px;
   padding-bottom: 0px;
}

.nav ul li a:hover {
   opacity: 1;
   background-color: rgba(0,0,0,0);
}


/* ##### DROPDOWN MENU WIDTH ##### */

.nav li ul {
   width: 220px !important; /* Width of the dropdown menu */
}

.nav li li ul {
   left: 220px !important; /* Use the same size as above */
}

#top-menu li li a {
	width: 180px;
  /* width: 200px; /* Make this 40 less then the width of the dropdown menu */
}
}

/*Shows last menu item drop down within the page*/
.drop-menu ul {
right: -22px !important;
}

/* #### Collaping Mobile Menu #### */

ul.et_mobile_menu li.menu-item-has-children .mobile-toggle-icon::after,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle-icon::after {
	color: #ffffff; /* Icon color */
	background: #dc2b19; /* Icon background color */
	top: 10px;
	position: relative;
	font-family: "ETModules";
	content: '\33';
	border-radius: 50%;
	padding: 3px;
}

ul.et_mobile_menu li.menu-item-has-children.mobile-toggle-open>.mobile-toggle-icon::after,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children.mobile-toggle-open>.mobile-toggle-icon::after {
	content: '\32';
}

.et_mobile_menu .menu-item-has-children>a {
    font-weight: 600 !important; 
}

ul.et_mobile_menu li.menu-item-has-children .mobile-toggle-icon,
ul.et_mobile_menu li.page_item_has_children .mobile-toggle-icon,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle-icon,
.et-db #et-boc .et-l ul.et_mobile_menu li.page_item_has_children .mobile-toggle-icon {
	width: 44px;
	height: 100%;
	padding: 0px !important;
	max-height: 44px;
	border: none;
	position: absolute;
	right: 0px;
	top: 0px;
	z-index: 999;
	background-color: transparent;
}

ul.et_mobile_menu>li.menu-item-has-children,
ul.et_mobile_menu>li.page_item_has_children,
ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.page_item_has_children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children {
	position: relative;
}

.et_mobile_menu .menu-item-has-children>a,
.et-db #et-boc .et-l .et_mobile_menu .menu-item-has-children>a {
	background-color: transparent;
}

ul.et_mobile_menu .menu-item-has-children .sub-menu,
#main-header ul.et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu {
	display: none !important;
	visibility: hidden !important;
}

ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
#main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
.et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible {
	display: block !important;
	visibility: visible !important;
}

ul.et_mobile_menu li.menu-item-has-children .mobile-toggle-icon,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle-icon {
	text-align: center;
	opacity: 1;
}
	
	.et_pb_text sup,       /* Text Module */
.et_pb_blurb sup,      /* Blurb Module */
.et_pb_slider sup,     /* Slider Module */
.et_pb_testimonial sup,  /* Testimonial Module */
.et_pb_accordion_item sup,   /* Accordion Module */
.et_pb_toggle sup,       /* Toggle Module */
.et_pb_cta sup   /* Call to Action Module */ 
{
    font-size: 75%; /* adjust as needed */
    bottom: 0.5em; /* increase to raise the superscript - the default value is 0.8em */
}


.dsm_mega_menu_0_tb_header .dsm-mega-menu-container .dsm-root-menu {
        overflow: visible !important;
        display: inherit;
        line-height:35px!important;
    }

@media (max-width: 980px) {  
.dsm-submenu-link {
	justify-content: center !important;
}
  }
