/* 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+ */
}
/* open-sans-italic - 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: italic;
  font-weight: 400;
  src: url('../fonts/open-sans-v43-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-600 - 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: 600;
  src: url('../fonts/open-sans-v43-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-800 - 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: 800;
  src: url('../fonts/open-sans-v43-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


html, body {
    margin:0;
    padding:0;
	height:100%;
	background-color:#fff;
}

body {
  font-family: 'Open Sans',Arial,sans-serif;
	font-weight:100;
	font-size:0.9em;
    overflow-x:hidden;
    color:#231f20;
    /*max-width:1920px;*/
    margin: 0 auto;
}

.invisible {
  display:none;
}


strong {
  font-family: 'Open Sans';
  font-weight:600 !important;
}

#wrapper {
  width:100%;
  height:100%;
}

#header{
  position: fixed;
  top: 0;
  z-index: 100;  
  width:100%;
  height:205px; /*23%;*/ /*205px;*/
  background-color:#fff;
  box-shadow: 0 0 7px rgba(0,0,0,0.1);
  background-image:url(/files/ruf-eiderstedt/images/design/Logo.png);
  background-size:18%;  /*22% */
  background-repeat:no-repeat;
  background-position:33px 4px;
  transition: all 0.3s ease;
}


#header.shrunk {
  height:140px;
  background-size:11%; /*15%*/
  background-position:28px 2px;
  transition: all 0.3s ease;
}


.mod_navigation {
  float:right;
  margin-top:70px;
  margin-right:80px;
  height:125px;  
  text-transform: uppercase;
  font-size:1.1em;
  transition: all 0.3s ease;  
}



/* Elternliste inline anordnen */
.mod_navigation .level_1 {
  display: flex; /* Inline-Anordnung der Listenelemente */
  list-style: none; /* Entfernt Standard-Bullets */
  padding: 0;
  height:115px;
}

/* Styling der Elternelemente */
.mod_navigation .level_1 li {
  margin-right: 30px; /* Abstand zwischen den Elternelementen */
  position: relative; /* Referenzpunkt für absolut positionierte Child-Liste */
  text-decoration: none;
  cursor: pointer;
  font-weight:600;
  transition: all 0.8s ease;   
}

.mod_navigation .submenu {
  padding-bottom:0px;
}
/************/

/* Styling der Child-Liste */
.mod_navigation .level_2 {
  display: none; /* Versteckt die Child-Liste standardmäßig */
  position: absolute; /* Absolut positioniert relativ zum Eltern-li */
  top: 100%; /* Abstand von 10px unterhalb des Eltern-li */
  left: 0; /* Ausrichtung am linken Rand des Eltern-li */
  list-style: none; /* Entfernt Standard-Bullets */
  padding: 0;
  background: #fff; /* Hintergrund für Sichtbarkeit */
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.1);
  border-top: 3px solid #1d71b8; /* Rahmen oben */
  min-width: 160px; /* Mindestbreite für Konsistenz */
}

/* Child-Liste bei Hover anzeigen */
.mod_navigation .submenu:hover .level_2 {
  display: block; /* Zeigt die Child-Liste bei Hover */
}

/* Hover für Eltern-Element, um Submenü anzuzeigen */
.mod_navigation .level_1 li.submenu:hover .level_2 {
  display: block; /* Zeigt die Child-Liste bei Hover über dem Eltern-li */
}

/***********/



/* Styling der Child-Listenelemente (untereinander) */
.mod_navigation .level_2 li {
  display: block; /* Vertikale Anordnung */
  width:160px;
  margin:5px;
  padding: 10px 20px; /* Optional: Innenabstand für bessere Optik */
}

.mod_navigation .level_2 li:hover {
  background-color:#eee;
}

.mod_navigation li a {
  color: #555;
  text-decoration: none;
}

.mod_navigation .level_1 .active .level_2 .active a{
  color:#1d71b8;
  font-weight:600;  
  transition: all 0.8s ease;  
}

.mod_navigation .level_1 .active .level_2 .active a:hover{
  color:#2fa7ff;
  font-weight:600;  
  transition: all 0.8s ease;
}

.mod_navigation .active {
  color:#1d71b8;
  font-weight:600;  
}

.mod_navigation .active:hover{
  color:#2fa7ff;
  font-weight:600;
}

nav.mod_navigation li.forward.trail.submenu > strong:after,
nav.mod_navigation li.submenu.trail > a:after,
nav.mod_navigation li.submenu.sibling > a:after {
  content: "";
  display: inline-block;
  width: 10px; /* Breite des Bildes anpassen */
  height: 10px; /* Höhe des Bildes anpassen */
  background-image: url('/files/ruf-eiderstedt/images/design/pfeildown.png'); /* Pfad zum Bild */
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle; /* Optional: Vertikale Ausrichtung */
  margin-left: 5px; /* Abstand zwischen Text und Bild */
}

nav.mod_navigation li.forward.trail.submenu > strong,
nav.mod_navigation li.submenu.trail > a {
  font-weight:600 !important;
  color:#1d71b8;
  cursor:default;
}




/* Mobiles Menü */
.mod_mobile_menu {
	display:none;
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:80px;
	z-index:20000;
	background-color:#fff;
	background-image: url("/files/ruf-eiderstedt/images/design/Logo.jpg");
	background-size:120px !important;
	background-position:15px 15px;
	background-repeat: no-repeat;
	font-size:1.1em;
	text-align:right;
}



.mod_mobile_menu .mobile_menu_wrapper{
    width:50%;
}    

.mod_mobile_menu img,
.mobile_menu #closepic{
	margin-right:10px;
	width:50px;
	height:auto;
}

.mobile_menu {
	position:fixed;
	top:0;
	right:0;
	z-index:20000;
	background-color:#fff;
	font-size:1.3em;
}

.mobile_menu .inner{
	z-index: 20000;
	background-color:#fff;	
	color:#555;
}

.mobile_menu ul {
	margin-top:5px;
	margin-bottom:0px;
}

.mobile_menu li {
  list-style-type:none;
  padding-top:15px;	
  padding-bottom:15px;	
  font-weight:500;
}	

.mobile_menu li a{
   color:#555;
   text-decoration:none;
}

.mobile_menu li a:hover{
   color:#1d71b8;
   text-decoration:none;
}

.mobile_menu li.active{
   color:#1d71b8;
   text-decoration:none;
}


.headerbild {
  margin:0;
  padding:0;
  width:100%;
  height:auto;
}

.headerbild figure {
  margin:0;
  padding:0;
}

.headerbild img {
  margin-top:175px;
  width:100%;
}

#container .page {
  width:65%;
  margin:50px auto;
  color:#555;
}

h1, h2 ,h3 {
  font-family: 'Open Sans';
  font-weight: 400;
  color:#333;
}



.blau h1 {
  color:#1d71b8;
}

.Element0 {
   width:100%;
}

.Element0 h3 a{
  text-decoration:none;
  color:#555;
}


.Element1,
.Element2,
.Element3 {
   float:left;
   width:33%;
   text-align:center;
   font-size:1.5em;
}

.Element1 h3,
.Element2 h3,
.Element3 h3 {
    font-weight:normal;
    font-size:1.0em;
    color:#555;
}


.ElementTextKlein {
    font-size:0.65em;
}

.clear {
  clear:both;
  margin-bottom:50px;
}

.MoinText strong {
   font-weight:bold;
}

.VRLogo {
  width:320px;
  height:auto;
  margin: 50px auto;
  padding-bottom:50px;
}

.VRLogo img {
  width:320px;
  height:auto;

}

.aktuelles {
   width:200px;
   margin:0 auto;
   margin-bottom:50px;
}

.ueberuns {
   width:215px;
   margin:0 auto;
   margin-bottom:50px;
}

.reitunterricht {
   width:215px;
   margin:0 auto;
   margin-bottom:50px;
}

.reitunterricht img {
  width:85%;
  height:auto;
}

.AktuellesBild {
  margin-top:50px;  
}

.AktuellesBild img {
  width:100%;
  height:auto;
}


.Vorstandsboxen .content-text {
  float:left;
  width:220px;
  min-height:125px;
  background-color:#eee;
  border:1px solid #ccc;
  border-radius:10px;
  margin:20px;
  padding:8px;
  padding-right:20px;
  padding-left:20px;
}

.Schulpferde {
  width:100%;
  text-align:center;
  margin-top:50px;
  margin-bottom:50px;
}

.Schulpferde .Schulpferdbox {
  float:left;
  width:50%;
}

.Schulpferde .Schulpferdbox img {
    width:80%;
    height:auto;
    text-align:center;
}


.ButtonPreisliste {
  width:100px;
  height:50px;
  margin:30px auto;
  margin-bottom:30px;
  padding:1px;
  padding-left:20px;
  padding-right:20px;
  font-size:1.2em;
  font-weight:600;
  background-color:#1d71b8;
  color:#fff;
  cursor: pointer;
  position: relative;  /* Wichtig für :after-Positionierung */  
  transition: all 0.2s ease;
}

.ButtonPreisliste:hover {
  width:115px;
  border-radius:10px;
}

.ButtonPreisliste:after {
    content: '>'; /* Pfeil-Zeichen */
    position: absolute; /* Absolut innerhalb des <a>-Tags */
    right: 15px; /* Abstand rechts vom Text */
    top: 52%; /* Vertikale Zentrierung */
    transform: translateY(-50%); /* Korrektur für vertikale Mitte */
    opacity: 0; /* Unsichtbar standardmäßig */
    color:#fff;
    transition: opacity 0.3s;
}

.ButtonPreisliste:hover:after {
    opacity: 1;
}

.ButtonPreisliste a {
  text-decoration:none;
  color:#fff;
}


.ButtonBeitritt {
  width:165px;
  height:55px;
  margin:30px auto;
  margin-bottom:30px;
  padding:1px;
  padding-left:20px;
  padding-right:20px;
  font-size:1.2em;
  font-weight:600;
  background-color:#1d71b8;
  color:#fff;
  cursor: pointer;
  position: relative;  /* Wichtig für :after-Positionierung */  
  transition: all 0.2s ease;
}

.ButtonBeitritt:hover {
  width:180px;
  border-radius:10px;
}

.ButtonBeitritt:after {
    content: '>'; /* Pfeil-Zeichen */
    position: absolute; /* Absolut innerhalb des <a>-Tags */
    right: 10px; /* Abstand rechts vom Text */
    top: 52%; /* Vertikale Zentrierung */
    transform: translateY(-50%); /* Korrektur für vertikale Mitte */
    opacity: 0; /* Unsichtbar standardmäßig */
    color:#fff;
    transition: opacity 0.3s;
}

.ButtonBeitritt:hover:after {
    opacity: 1;
}

.ButtonBeitritt a {
  text-decoration:none;
  color:#fff;
}


.Mitglied {
  width:100%;
  text-align:left;
  margin-top:50px;
  margin-bottom:50px;
  overflow:auto;
}

.Mitglied .Mitgliedbox1 {
  float:left;
  width:69%;
}

.Mitglied .Mitgliedbox2 {
  float:left;
  width:30%;
}

.tablePreise{
  min-width:80px;
}

.Kontakt input, textarea {
  -webkit-appearance: none;
  background-color: #eee;
  width: 100%;
  border-width: 0;
  border-radius: 0;
  color: #999;
  font-size: 14px;
  padding: 16px;
}

.Kontakt .widget-submit {
  font-family: inherit;
  margin: 0 0 0 18px;
  cursor: pointer;
  border: 0;
  float:right;
   background-color: transparent;
}

.submit2 {
  font-size: 20px;
  font-weight: 500;
  padding: .3em 1em;
  line-height: 1.7em !important;
  background-color: transparent;
  background-size: cover;
  background-position: 50%;
  background-repeat: no-repeat;
  border: 2px solid;
  border-radius: 3px;
  color: #2ea3f2;
  background-image:none;
  -webkit-transition-duration: .2s;
  transition-duration: .2s;
  -webkit-transition-property: all !important;
  transition-property: all !important;
}

.submit .ButtonSenden {
  width:150px;
  height:55px;
  margin:30px auto;
  margin-bottom:30px;
  padding:1px;
  padding-left:20px;
  padding-right:20px;
  font-size:1.2em;
  font-weight:bold;
  color: #2ea3f2;
  background-color: transparent;
  background-image:none;
  border: 2px solid #2ea3f2;
  border-radius: 3px;
  cursor: pointer;
  position: relative;  /* Wichtig für :after-Positionierung */  
  transition: all 0.2s ease;
}

.submit .ButtonSenden:hover {
  width:165px;
  background-color:#eee;
  border-radius:10px;
}

.submit .ButtonSenden:after {
    content: '>'; /* Pfeil-Zeichen */
    position: absolute; /* Absolut innerhalb des <a>-Tags */
    right: 20px; /* Abstand rechts vom Text */
    top: 52%; /* Vertikale Zentrierung */
    transform: translateY(-50%); /* Korrektur für vertikale Mitte */
    opacity: 0; /* Unsichtbar standardmäßig */
    color: #2ea3f2;
    transition: opacity 0.3s;
}

.submit .ButtonSenden:hover:after {
    opacity: 1;
}


.noHeaderpic {
  display:block;
  height:205px;
}





#footer {
  width:100%;
  margin-top:50px;
  padding-bottom:10px;
  color:#555;  
}

#footer .Tail {
  width:65%;
  margin:50px auto;
}

#footer .Tail ul {
  margin-left:-40px;
}

#footer  .Tail ul li {
  display: inline;
  text-decoration: none;
  cursor: pointer;
  margin-right:30px;
  font-weight:bold;
  color:#aaa;
}

#footer  .Tail ul li a {
  text-decoration: none;  
  color:#aaa;
}  

#footer .ButtonUp {
  position:relative;
  right:-40px;
  float:right;
  cursor:pointer;
}



iframe {
   margin: 0;
   padding: 0;
   border: none; 
   width:500px;
   height:1000px;
   text-align:center;
   overflow: hidden;
}