/*
Theme Name:     Divi Child Theme
Description:    Child Theme for Divi Theme
Author:         Christoph Walter
Author URI:     http://www.pas-solutions.ch/
Template:       Divi
Version:        1.0
*/
@import url(../Divi/style.css);

/*****************************
Schrift für Eisteeseite
*****************************/

@font-face {
    font-family: 'Antique-Olive';
    src: url('https://www.holderhof.ch/wp-content/themes/Divi-Child/fonts/Antique-Olive-Bold.woff2') format('woff2'),
    url('https://www.holderhof.ch/wp-content/themes/Divi-Child/fonts/Antique-Olive-Bold.woff') format('woff'),
	url('https://www.holderhof.ch/wp-content/themes/Divi-Child/fonts/Antique-Olive-Bold.ttf') format('truetype'); /* Fallback */
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

#et-main-area body {
	font-family:"VAG Rounded LT W01 Light", Helvetica, sans-serif;
    font-weight: normal;
    font-style: normal;
}

#et-main-area h1, #et-main-area h2, #et-main-area h3, #et-main-area h4, #footer-navigation h3 {
	 font-family:"VAG Rounded LT W01 Bold", Helvetica, sans-serif;
}

footer h3 {
	font-size: 20px;
}

footer h3, footer h4 {
	font-family:"VAG Rounded LT W01 Light", Helvetica, sans-serif !important;
}

#main-header {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.et_pb_blog_grid .et_pb_post, .et_pb_title_container {
    word-wrap: normal;
}

/*****************************
Home
*****************************/

.home .et_pb_slide_image, .home  .et_pb_slide_video  {
    width: 27.25%;
    margin-right: 5.5%;
}

.et_pb_slide_with_image .et_pb_slide_description, .et_pb_slide_with_image .et_pb_slide_description {
    width: 67.25%;
}

.et_pb_blog_grid h2.entry-title {
	font-family:"VAG Rounded LT W01 Light", Helvetica, sans-serif;
}

/*****************************
Suche
*****************************/

#et_top_search {
    margin: 8px 0 0 22px;
}

.search-results #sidebar, .search-results .post-meta  {
	display: none;
}

.search-results .et_pb_post {
    margin-bottom: 30px;
}

@media (min-width: 981px) {
.search-results	#main-content .container:before {
    content: none;
}

.search-results #left-area {
    width: 100%;
}

.search-results #left-area {
    padding-right: 0% !important;
}
}


/*****************************
Home Alternative
*****************************/

.page-id-2 .et_pb_slide_image, .page-id-2  .et_pb_slide_video  {
    width: 27.25%;
    margin-right: 5.5%;
}

.page-id-2 #top-menu li a {
    font-size: 18px;
    color: black ;
}

/*****************************
Home Alternative 2
*****************************/

.page-id-633 .et_pb_slide_image {
    width: 27.25%;
    margin-right: 5.5%;
}

.page-id-633 #top-menu li a {
    font-size: 18px;
    color: black ;
    font-weight: 600;
}

.page-id-633 #main-header .container {
    width: 90%;
    max-width: 100%;
}

.page-id-633 #top-menu li a {
    font-size: 20px;
    color: black;
    font-weight: 500;
}

/*****************************
Navigation
*****************************/

.nav li ul {
    padding: 10px 0;
}

#top-menu li li {
    padding: 0 0px;
}

#top-menu li li a {
    font-size: 16px;
    width: 240px;
}

#top-menu li {
    padding-right: 17px;
}

.wpml-ls-item {
	padding-right: 10px !important;
}

.wpml-ls-item a {
	bottom: -3px;
}

#et-top-navigation {
    font-weight: initial;
}

#et-secondary-nav .menu-item-has-children>a:first-child:after, #top-menu .menu-item-has-children>a:first-child:after {
    content: none;
}

#et-secondary-nav .menu-item-has-children>a:first-child, #top-menu .menu-item-has-children>a:first-child {
    padding-right: 0px;
}

.bewerbung a {    
	background-color: #457f47;
    padding-bottom: 10px !important;
    color: #FFF !important;
    padding: 10px;
    border-radius: 3px;
    font-size: 14px !important;
    text-transform: uppercase;
}

.et-fixed-header #top-menu .bewerbung a {    
    color: #FFF !important;
}

.mobile_menu_bar:before {
    font-size: 64px;
}

#et_mobile_nav_menu .wpml-ls-item {
	float: right;
}

#et_mobile_nav_menu .et_first_mobile_item {
	clear: both;
}

#et_mobile_nav_menu .wpml-ls-first-item {
    margin-left: 0px;
}

/* Die Breite des mobilen breakpoint von Divi selber setzen */
@media only screen and ( max-width: 1410px ) {
#top-menu-nav, #top-menu {display: none;}
#et_mobile_nav_menu {display: block;}
#et_search_icon:before {
    font-size: 30px;
}
#et_top_search {
    margin: 18px 0 0 22px;
}
}

/*****************************
Blog Single Page
*****************************/

.single .et_pb_title_container h1.entry-title {
	padding-bottom: 0px;
}

 h3 {
    font-size: 17px;
}


.single .et_pb_widget ul li {    
	margin-bottom: 2px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 2px;
    font-size: 15px;
}




/*****************************
Produkte
*****************************/

.produktetabelle table tr td {
    border-top: 1px solid #eee;
    padding: 4px 5px;
}

.produktetabelle table tr td img {
	 vertical-align: middle;
}   

.produktetabelle table tr:first-child {
	background-color:#673060;
	color:#FFF;
}

.produktetabelle table tr:nth-child(2) {
	background-color:#f7f7f7;
	font-size: 14px;
}

.produktetabelle table tr:nth-child(1) td:nth-child(1), .produktetabelle table tr:nth-child(1) td:nth-child(2) {
	border-right: 2px solid #FFF !important;
}

.produktetabelle table {
    border-left: none !important;
    border-right: none !important;
}

.mfp-bottom-bar {
	display: none;
}

.timeline ul {    
	border-top: 1px solid #EEE;
	margin-left:0px;
	padding-left: 0px;
	margin-top: 10px;
}

.timeline ul li {    
	border-bottom: 1px solid #DDD;
    line-height: 36px;
    list-style-type: none;
}

/*****************************
Fusszeile
*****************************/

#footer-info {
    float: none;
    font-size: 15px !important;
    font-weight: 400;
}

#footer-info a {
    font-weight: initial;
}


@media all and (min-width: 981px) {
.et-fixed-header #top-menu-nav #top-menu li.bewerbung>a, .et-fixed-header #top-menu-nav #top-menu li.bewerbung>a {
    color: #FFF!important;
}
}
@media all and (min-width: 361px) and (max-width: 980px) {}
@media all and (max-width: 360px) {}
@media (max-width: 767px) {}
@media (max-width: 980px) {
#et_top_search {
    margin: 8px 20px 0 23px;
}
}
@media (max-width: 1400px) {}
@media (max-width: 1280px) {}
@media only screen and (min-width: 1350px) {}
@media (max-width: 479px) {
	.et_pb_post h2 {
    font-size: 16px;
    padding-bottom: 10px;
}
}

/**** This hides the sub menu items on mobile ****/
#page-container .mobile_nav li ul.hide {
    display: none !important;
}
/**** This adjusts the positioning and the background transparency of the parent menu item on mobile ****/
#page-container .mobile_nav .menu-item-has-children {
    position: relative;
}
#page-container .mobile_nav .menu-item-has-children > a {
    background: transparent;
}
/**** This styles the icon and moves it to the right ****/
#page-container .mobile_nav .menu-item-has-children > a + span {
    position: absolute;
    right: 0;
    top: 0;
    padding: 10px 20px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    z-index: 3;
}
/**** Here you can swap out the actual icons ****/
#page-container span.menu-closed:before {
    content: "\4c";
    display: block;
    color: #000;
    font-size: 16px;
    font-family: ETmodules;
}
#page-container span.menu-closed.menu-open:before {
    content: "\4d";
}