html {
 /* Scrollbar immer anzeigen */
 /*
 overflow: -moz-scrollbars-vertical;
 overflow: scroll;
 */
 /* oder */

 overflow-y: scroll;
}

body {
 background-color: #eaeae3;
}

.ym-wrapper {
  min-width: 0px; /* 760px; */
  max-width: 1280px;
  margin: 1em auto 1em auto;
  background-color: #ffffff;
  border-bottom: 1em solid #444444;
}

.ym-col1 { float: left; width: 200px; } /* sidebar */
.ym-col3 { margin: 0 0 0 200px; } /* content */
/*
.ym-col2 { width: 25%; }
.ym-col3 { margin-left: 200px; margin-right: 25%; }
*/

.ym-wbox {
 padding-bottom: 0.5em;
}

/* Menues */

.sof-firstrow {
 background: #515128 url('../bilder/notenschluessel.png') left center no-repeat;
	height: 34px;
}



.sof-toprow {
 padding: 0px;
 background-color: inherit;
}

.sof-topmenu {
 color: #FFFFFF;
 font-size: 0.9em;
 background-color: inherit; /* #FFFFFF; */ /* #2D2D2D; */
}

.sof-topmenu ul li a {
 color: #FFFFFF;
 text-shadow: none;
}

.sof-topmenu ul li.on a {
 font-weight: bold;
}

ul.sof-topmenu-ul {
 padding: 0px;
 font-size: 0.95em;
margin-left: 30px;
}

.sof-mainmenu ul li a /* , .ym-hlist ul li strong */ {
 background: none repeat scroll 0 0 #afaf9c;
 color: #ffffff;
 display: block;
 font-size: 1em;
 font-weight: normal;
 line-height: 2em;
 padding: 0 0.5em;
 text-decoration: none;
 text-shadow: none;
 width: auto;
}

.ym-hlist ul li.active a {
 font-weight: bold;
}

.sof-mainmenu {
 background: none;
 background-color: #afaf9c; /* #F5F5F5; */ /* #F8F8FF; */
}

.sof-mainmenu ul li {
 margin: 0 1.5em 0 0;
}

.sof-mainmenu ul li a {
  line-height: 1.5em;
  padding: 0.2em 0.5em
}

.ym-hlist ul li a:focus, .ym-hlist ul li a:hover, .ym-hlist ul li a:active {
 border-radius: 0;
 color: #ffffff;
}

.ym-hlist ul li.active {
  background: none;
  color: #000000;
  border-radius: 0;
  /* border-bottom: 2px solid #4986E7; */ /* #9FC6E7; */ /* #C23B22; */
}

.schulleben .ym-hlist ul li.active  {
  border-bottom: 2px solid #FF4444;
}

.ym-hlist ul li.active strong, .ym-hlist ul li.active a:focus, .ym-hlist ul li.active a:hover, .ym-hlist ul li.active a:active {
  /* background: none repeat scroll 0 0 rgba(0, 0, 0, 0); */
  /* color: #000000; */
  /* text-decoration: none; */
}

.sof-leftmenubox {
 /* padding-left: 5px; */
}

.sof-leftmenu {
 margin-top: 1em;
 margin-left: 0em;
 list-style-type: none;
 font-size: 0.8em;
}

.sof-leftmenu ul {
 margin-left: 0em;
 margin-bottom: 0em;
 list-style-type: none;
}

.sof-leftmenu li {
 line-height: 1.5em;
 margin-top: 0.5em;
}

.sof-leftmenu li.active {
 font-weight: bold;
}

.sof-leftmenu li.active > ul {
 font-weight: normal;
}

.sof-terminbox {
 margin-top: 1em;
 /*
 background-color: #d9dbcf;
 padding-top: 6px;
 padding-bottom: 6px;
 */
}

.sof-imagerow {
 line-height: 0px;
 padding: 0em;
 position: relative;
}

.sof-level-1 {
/*	
 border-right: 8px solid #C23B22;
*/
}

.sof-contentbox {
 /*
 border-left: 4px solid #C23B22;
 border-top: 4px solid #C23B22;
 */
 
  /*
 border-right: 4px solid #C23B22;
 border-bottom: 4px solid #C23B22;
 */
 
}

.sof-content {
 padding-top: 0.66em;
}

span.weiterlesen {
 display: block;
 text-align: right;
 margin-bottom: 0.75em;
}

.sof-galerie {
 padding: 0.5em 0;
 border-top: 2px solid #E5E5E5;
 border-bottom: 2px solid #E5E5E5;
}

/* Typografie */
html * {
  font-size: 100%;
  font-family: 'Open Sans', sans-serif;
}
  
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
  color: #161e21;
  margin: 0;
}

h1 {
   /* font-size: 21px; */
   font-size: 150%;
   line-height: 1.25;
   margin: 0 0 0.5em 0;
 }

 h2 {
   /* font-size: 21px; */
   font-size: 150%;
   line-height: 1.25;
   margin: 0 0 0.5em 0;
 }

 h3 {
   /* font-size: 21px; */
   font-size: 150%;
   line-height: 1.25;
   margin: 0 0 0.5em 0;
 }

 h4 {
   /* font-size: 21px; */
   font-size: 150%;
   line-height: 1.25;
   margin: 0 0 0.5em 0;
 }
 
 .schulleben h4 {
 }

 h5 {
   /* font-size: 18px; */
   font-size: 128.57143%;
   line-height: 1.16667;
   margin: 0 0 1.16667em 0;
 }
 
 .startseite h5 {
  margin: 0 0 0.25em 0;
 }

 h6 {
   /* font-size: 14px; */
   font-size: 100%;
   font-weight: bold;
   line-height: 1.5;
   margin: 0 0 1.5em 0;
 }
 
 .sof-content h6 {
  margin: 0 0 0.5em 0;
 }

/* --- general text formatting | Allgemeine Textauszeichnung ------------------------------------------ */
p {
  font-size: 100%;
  line-height: 1.5em;
  margin: 0 0 0.8em 0;
}

blockquote,
cite,
q {
  font-family: 'Open Sans', sans-serif;
  font-style: italic;
}

blockquote {
  background: transparent;
  color: #666666;
  margin: 0em 0 0 1.5em;
}

strong,
b {
  font-weight: bold;
  font-family: 'Open Sans', sans-serif;
}

em,
i {
  font-family: 'Open Sans', sans-serif;
  font-style: italic;
}

big {
  /* font-size: 16px; */
  font-size: 114.28571%;
  line-height: 1.3125;
}

small {
  /* font-size: 12px; */
  font-size: 85.71429%;
  line-height: 1.75;
}

pre,
code,
kbd,
tt,
samp,
var {
  font-size: 100%;
}

pre {
  font-size: 100%;
  line-height: 1.5;
  margin: 0 0 1.5em 0;
  white-space: pre;
  white-space: pre-wrap;
  word-wrap: break-word;
}

pre,
code {
  color: #880000;
}

acronym,
abbr {
  border-bottom: 1px #aaa dotted;
  font-variant: small-caps;
  letter-spacing: .07em;
  cursor: help;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

mark {
  background: yellow;
  color: black;
}

hr {
  color: #fff;
  background: transparent;
  margin: 0 0 0.75em 0;
  padding: 0 0 0.67857em 0;
  border: 0;
  border-bottom: 1px #E5E5E5 /* #9FC6E7 */ solid;
}

.dimmed {
  color: #888888;
}

.sof-small {
 font-size: 0.8em;
}

.sof-topic {
  font-weight: bold;
}

/*--- Links ----------------------------------------------------------------------------------------- */
a {
  color: #515128; /* #4986E7; */ /*#9FC6E7; */ /* #4d87c7; */
  background: transparent;
  text-decoration: none;
}

.schulleben a {
  color: #515128;
}

a:active {
}

/* (en) maximum constrast for tab focus - change with great care */
/* (en) Maximaler Kontrast für Tab Focus - Ändern Sie diese Regel mit Bedacht */
a:hover,
a:focus {
  /* background-color: #4d87c7; */
  background-color: transparent;
  color: #515128;
  text-decoration: none;
}

.sof-content a {
 color: #515128;
}

.sof-content a:hover, .sof-content a:focus {
 color: #515128;
}

.sof-titel {
 bottom: 20px;
 /* float: right; */
 position: absolute;
 right: 20px;
}

/* --- images ------------------ */
img,
figure {
  margin: 0;
}

.flexible {
  /* margin-bottom: 1.5em; */
  max-width: 100%;
  height: auto;
}

/* IE6 workaround - 2% space for possible borders */
* html .flexible {
  width: 98%;
}

.sof-start-image {
 max-width: 410px;
 max-height: 220px;
 overflow: hidden;
 text-align: center;
}

.l_table {
 width: 100%;
}

.l_table td {
 padding: 4px 0px;
}

.l_name {
 width: 75%;
 font-weight: bold;
}

.l_datum {
 
}

.l_endung {
}

.l_groesse {
 text-align: right;
}

.verweisbox {
 border-top: 2px solid #A5A4A2;
 margin-top: 0.5em;
 padding-top: 0.5em;
}

ul.verweisbox {
 margin-left: 0em;
 padding-left: 0.25em;
 color: #A5A4A2;
}

ol ul {
  list-style-type: disc;
}

.float-left {
  float:left;
  display:inline;
  margin: 0 1em 0 0;
}

.float-right {
  float:right;
  display:inline;
  margin: 0 0 0 1em;
}

/* Responsive */
@media screen and ( max-width: 760px )  {

 .ym-wrapper {
  margin: 0em auto 0em auto;
 }
 
  /* linearization for column module */
  .linearize-level-1,
  .linearize-level-1 > [class*="ym-col"] {
    display: block;
    float: none;
    padding: 0;
    margin: 0;
    width: 100% !important;
  }

  /* reset defined gutter values */
  .linearize-level-1 > [class*="ym-col"] > [class*="ym-cbox"] {
    overflow: hidden; /* optional for containing floats */
    padding: 0;
    margin: 0;
  }
  
  .linearize-level-1 > [class*="ym-col"] > [class*="sof-contentbox"] {
    margin-top: 1em;
  }
  
  .ym-col1 {
   width: 100%;
   float: none;
  }
  
  .ym-col3 {
   width: 100%;
   float: none;
  }
  
  /* linearization for grid module */

  .linearize-level-1,
  .linearize-level-1 > [class*="ym-g"] {
    display: block;
    float: none;
    padding: 0;
    margin: 0;
    width: 100% !important;
  }

  /* reset defined gutter values */

  .linearize-level-1 > [class*="ym-g"] > [class*="ym-gbox"] {
    overflow: hidden;
    padding: 0;
    margin: 0;
  }

  
  .sof-contentbox {
    border-left: none;
    border-right: none;
    border-bottom: none;
    /* border-top: none; */
  }
  
  span.weiterlesen {
   text-align: left;
  }
  
  .ym-hlist ul {
   display: block;
   width: 100%;
   padding: 0px;
  }
  
  .ym-hlist ul li {
   display: block;
   width: 100%;
   float: none;
   margin: 0px;
  }
  
  .sof-leftmenu ul li {
   display: block;
   width: 100%;
   float: none;
  }
  
  .sof-leftmenu ul li a {
   display: block;
   width: 100%;
   float: none;
  }
  
  .sof-toprow {
   width: 100%;
  }
  
  .sof-start-image {
   margin: 0px auto;
  }
}

@media screen and (  min-width: 760px ) and ( max-width: 1100px )  {
 .sof-mainmenu ul li {
  margin: 0 0.2em 0 0;
  font-size: 0.9em;
 }
 
 .sof-mainmenu ul {
  padding: 0.5em 0.2em;
 }
 
}

@media screen and (min-width: 0px) {
  .ym-wrapper {
    min-width: 0px;
  }
}
