/*
 Theme Name:     Kobbenthaler Hof
 Theme URI:      https://alpakas-vom-kobbenthal.de
 Description:    Divi Child-Theme Kobbenthaler Hof
 Author:         Lars Wagner - Werbeagentur De Knuydt GmbH
 Author URI:     https://werbeagentur-deknuydt.de
 Template:       Divi
 Version:        1.0.0
*/
 
/* Ab hier kannst du deine CSS-Anpassungen eintragen
------------------------------------------------------- */

/* yeseva-one-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: 'Yeseva One';
  font-style: normal;
  font-weight: 400;
  src: url('https://alpakas-vom-kobbenthal.de/wp-content/themes/divi-child/fonts/yeseva-one-v22-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('https://alpakas-vom-kobbenthal.de/wp-content/themes/divi-child/fonts/yeseva-one-v22-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* 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('https://alpakas-vom-kobbenthal.de/wp-content/themes/divi-child/fonts/open-sans-v40-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('https://alpakas-vom-kobbenthal.de/wp-content/themes/divi-child/fonts/open-sans-v40-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

body {
	font-family: 'Open Sans';
}

h1, h2, h3, h4, h5, h6, #top-menu-nav a, .et_pb_fullwidth_header_subhead {
	font-family: 'Yeseva One';
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}


.footer-widget li:before {
	display: none;
}
/* Logo */
#logo {
  max-height: inherit;
}
.et_pb_svg_logo #logo {
  height: 70%;
}

/* Top Menu */
 #top-menu li {
   font-size: 1.5rem;

   & a:hover {
     opacity: 1 !important;
   }
}
 
  #top-menu>li>a:hover:before,
  #top-menu>li.current_page_item>a:before {
   display: block;
   position: absolute;
   top: -1.5rem;
   left: -.75rem;
   content: "";
   background: url("/wp-content/uploads/2024/04/hufe_braun.svg") no-repeat;
   width: 9rem;
   height: 5rem;
   background-size: 9rem;
   filter: opacity(10%);
   z-index: -1;

 }
 
 #top-menu>li.current_page_item>a:hover:before, 
 #top-menu>li.current_page_item>a:before {
   background: url("/wp-content/uploads/2024/04/hufe_hellbraun.svg") no-repeat;
   color: #AA8D58;
   width: 9rem;
   height: 5rem;
   background-size: 9rem;
 }

header.et-fixed-header #top-menu>li>a:hover:before, 
header.et-fixed-header #top-menu>li>a:before {
	height: 4.3rem;	
}

 #top-menu li li {
	 padding:0;
	 width: 100%;
	 line-height: 1.5rem;
 }
 #top-menu li li a {
	 padding: 0.5rem 1rem;
	 width: auto;
	 white-space: nowrap;
 }
 
 .nav li ul {
	 width: auto;
 }

/* Hamburger Menü */

