/**
 * "Yet Another Multicolumn Layout" - YAML CSS Framework
 *
 * default screen stylesheet - FULLPAGE-layout type layout
 *
 * @copyright       Copyright 2005-2012, Dirk Jesse
 * @license         CC-BY 2.0 (http://creativecommons.org/licenses/by/2.0/),
 *                  YAML-CDL (http://www.yaml.de/license.html)
 * @link            http://www.yaml.de
 * @package         yaml
 * @version         4.0
 * @revision        $Revision: 686 $
 * @lastmodified    $Date: 2012-01-22 13:09:37 +0100 (So, 22 Jan 2012) $
 */

@media screen {
  
  /* force vertical scrollbar */
  body {
    overflow-y: scroll;
    background-color: #000 !important;
  }

  /* Layout Module Configuration */
  .ym-wrapper {
    /* max-width: 80em; */
    margin: 0 auto;
    overflow: hidden;
    background-color: transparent;
    /* border-left: 10px #094796 solid;  
    border-right: 10px #094796 solid; */
  }

  .ym-wbox {
    padding: 0; /* 1.5em 1.5em */
  }

  .ym-cbox {
    padding-left: 0;
  }

  .ym-g75 {
    background-color: #fff !important;
  }

  .ym-g25 {
    background-color: #4c4c4c !important;
  }

  .ym-upper {
    background-color: #4c4c4c;
    /* padding: 0 1em; */
  }

  .ym-lower {
    background-color: #fff; /* #4c4c4c */
    padding: 0 1em;
    border: none;
    position: relative;
  }

  /* fallback for media queries */
  header,
  #main,
  footer {
    min-width: 760px;
  }

  /* Basic Element Styling */
  header {
    /* background: url(../../images/Header-Background.jpg) fixed no-repeat; */
    background-color: #000;  
    /* filter:alpha(opacity=80); opacity:0.80; -moz-opacity:0.80; -khtml-opacity:0.80; -opera-opacity:0.80; */
    color: #fff;
  }

  header h1 {
    background: transparent;
    color: #CCC;
    font-size: 1.5em;
  }
  
  #headernav {
    top: 50px;
    position: absolute;
    font-size: 0.9em;
    color: #fff;    /* #fff */
    text-align: left;
    right: 0px;
    min-width: 40px;
    background-color: transparent;
    padding: 5px 10px;
    z-index: 20;
    text-transform: uppercase;
  }

  #headernav a {
    color:#fff; 
    font-weight:normal; 
    background-color: transparent; 
    text-decoration:none; 
    padding: 5px 10px;
  }

  #headernav a:focus,
  #headernav a:hover,
  #headernav a:active {
    color:#c03; 
    text-decoration:none;
    background-color: transparent; 
    padding: 5px 10px;
    border-bottom: #eee 2px solid;
  }

  #headernav .current {
    color: #c03;
    text-decoration:none;
    background-color: transparent;     
    padding: 5px 10px;
    border-bottom: #eee 2px solid;
}


  #headernav .last,
  #headernav .first {
    color: #000;   /* #000 */
    font-weight: normal;
    padding: 5px 10px;
    background: #CCC;
  }

  #nav {
    background: #ccc;
    filter:alpha(opacity=70); opacity:0.7; -moz-opacity:0.7; -khtml-opacity:0.7; -opera-opacity:0.7;  
    /* border-top: #DDD 1px solid;
    border-bottom: #999 1px solid; */
  }
  /**
  * Navigation WS_MENU in Header + Hintergrund Dropdown
  */

  #wsMenuInHeader {
    position: fixed;
    top: 40px;
    right: 0px;
  }

  ul.ws_menu ul, ul.ws_menu_vertical ul {
    margin-top: -2px;
    background: #4C4C4C;
    border-top: #fff 2px solid;
    border-left: #fff 2px solid;
    border-right: #fff 2px solid;
    border-bottom: #fff 2px solid;
  }
  ul.ws_menu ul li, ul.ws_menu_vertical ul li {
    font-size: 1.15em;
  }
  ul.ws_menu ul li a, ul.ws_menu_vertical ul li a {
   color: #fff !important;
   border: none !important;
  }  
  ul.ws_menu ul li a:focus, ul.ws_menu_vertical ul li a:focus,
  ul.ws_menu ul li a:hover, ul.ws_menu_vertical ul li a:hover,
  ul.ws_menu ul li a:active, ul.ws_menu_vertical ul li a:active {
    border: none !important;
    color: #c03 !important;
  }
  ul.ws_menu ul li.cur a, ul.ws_menu_vertical ul li.cur a,
  ul.ws_menu ul li.cur a:focus, ul.ws_menu_vertical ul li.cur a:focus,
  ul.ws_menu ul li.cur a:hover, ul.ws_menu_vertical ul li.cur a:hover,
  ul.ws_menu ul li.cur a:active, ul.ws_menu_vertical ul li.cur a:active {
    border: none !important;
    color: #c03 !important;
  }


  #toolbar {
    background: #000; /* #4C4C4C /
    /* background: rgba(0, 0, 0, 0.7) none repeat scroll 0 0; */
  }

  #main { 
    min-height: 300px; 
    background-color: #fff;
  }
  
  #main nav {
    background-color: transparent;
  }
  

  .rootline {
    float: left;
  }
  .rootline a {
    color: #ccc;
  }
  .rootline a:active  {
    outline: none;
  }
  .rootline a:hover,
  .rootline a:focus {
    /* background-color: #000; */
    color:#c03;
    text-decoration:none;
  }

  
  .ym-col1 nav {
    margin-top: 1.5em;
  }
  
  .language-menu {
    float: right;
    width: auto;
    min-width: 40px;
  }

  #main .info {
    margin-bottom: 1.5em;
  }

  footer {
    background-color: #000;
    /* filter:alpha(opacity=80); opacity:0.80; -moz-opacity:0.80; -khtml-opacity:0.80; -opera-opacity:0.80; */
    color: #fff;
    border-top: #999 0px solid;
    padding: 1em 0 0.5em 0;
  }

/* Facebook und Google+ Icons positionieren */

  #c826 {
    float: right;
  }

  #c826 .flexible {
    margin-top: 0;
  }

/* Bilder ausgrauen und wieder farbig bei hover */

  #c826 img,
  #c826 figure {
    height: 20px;
    opacity: 0.8;
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 3.5+ */
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    -webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
    filter: gray alpha(opacity=80) grayscale(100%);  /* msie */  

}

  #c826 img:hover,
  #c826 figure:hover {
    opacity: 1;
    filter: alpha(opacity=100); /* msie */
    filter: none;
  }


  #footernav {
    float: right;
    margin-right: 1em;
    height: 2em;
    text-transform: uppercase;
  }

  #footernav a {
    color:#fff;
    background:transparent;
    text-decoration:none;
    font-weight:normal;
    padding: 5px 5px;
    text-shadow: 0 1px 1px rgba(0,0,0,.25);
  }
  #footernav a:focus,
  #footernav a:hover,
  #footernav a:active {
    color: #c03;
    text-decoration:none;
    outline: 0 none;  
    text-shadow: 0 1px 1px rgba(0,0,0,.5);
    border-bottom: #eee 2px solid;
  }

  #footernav .current {
    color: #c03;
    text-decoration:none;
    outline: 0 none;  
    text-shadow: 0 1px 1px rgba(0,0,0,.5);
    padding: 5px 5px;
    border-bottom: #eee 2px solid;
}

  footer p {
    margin: 0em;
  }

  #footertext {
    float: left;
    margin-left: 0.75em;
  }

  header .ym-wbox {
    padding: 1.5em;
    position: relative;
  }

  footer .ym-wbox {
    padding: 0 1.5em;
    position: relative;
  }

  section.box .ym-gbox { padding: 0 1.5em; }
  section.box .ym-gbox-left { padding: 0 1.5em 0 0; }
  section.box .ym-gbox-right { padding: 0 0 0 1.5em; }

  section.box { padding: 0 1.5em 1.5em 1.5em; }

  aside .ym-cbox-right {
    border-left: 1px #ddd solid;
  }


  /* Rootline */
  .rootline {
    padding: 0.7em 1em;
    line-height: 1.5em;
    color: #eee;
    text-shadow: 0 1px 1px rgba(0,0,0,1);
  }
  .selectfontsize {
    padding: 0.5em 1em;
    float: right;
    line-height: 1.5em;
    color: #eee;
    text-shadow: 0 1px 1px rgba(0,0,0,.25);
  }


  /* skip links styling */
  .ym-skiplinks a.ym-skip:focus,
  .ym-skiplinks a.ym-skip:active {
    color:#fff;
    background:#333;
    border-bottom:1px #000 solid;
    padding:10px 0;
    text-align: center;
    text-decoration:none;
  }
  
  
  #nav-mobile {
    display: none;
  }
  
  #nav-mobile ul {
    margin: 0;
  }
  
  #nav-mobile .ym-vlist a,
  #nav-mobile .ym-vlist a:visited {
    color: #fff;
    padding-left: 10%;
    background-color: #444;
  }

  #nav-mobile .ym-vlist a:hover,
  #nav-mobile .ym-vlist a:focus {
    color: #c03;
  }
  
  #nav-main { float: left; width: auto; }
  
  img.logo { display: block; }
  img.banner { position: absolute; top: 20px; right: 20px; z-index: 10; }
  #projectdate {  }
  

  /**
   *Layouts 
  */
  
  /* Layout 1|3 */
  .layout-13 .ym-col3 { margin-right: 0; }
  .layout-13 .ym-col3 > .ym-cbox { padding-right: 0; }
  
  /* Layout 3|2 */
  .layout-32 .ym-col3 { margin-left: 0; }

  /* Layout u|l */
  .layout-ul .ym-upper > .ym-cbox { padding: 1em 0; }
  .layout-ul .ym-lower > .ym-cbox { padding: 1em 0; } 

  /* Layout u */
  .layout-u .ym-upper > .ym-cbox { padding: 0; }
  
  /* Box */
  .contentbox-head { 
    background: #666;
    -webkit-border-top-left-radius: 1em;
    -webkit-border-top-right-radius: 1em;
    -moz-border-radius-topleft: 1em;
    -moz-border-radius-topright: 1em;
    border-top-left-radius: 1em;
    border-top-right-radius: 1em;
  }
  .contentbox-head h4 { color: #fff; line-height: 150%; size: 11%; padding: 0 0.5em; }
  
  .contentbox-body { overflow: hidden; padding: 0.7em; background: #eee;
    -webkit-border-bottom-right-radius: 1em;
    -webkit-border-bottom-left-radius: 1em;
    -moz-border-radius-bottomright: 1em;
    -moz-border-radius-bottomleft: 1em;
    border-bottom-right-radius: 1em;
    border-bottom-left-radius: 1em;
  }
  .contentbox-body > div:first-child > *:first-child {
    margin-top: 0;
  }
  .contentbox-body > div:first-child img { margin-top: 0; }
  .contentbox-body > div:first-child p:first-child { margin-top: 0; }
  
  .contentbox.style2 .contentbox-body { background-color: #E7E7FF; }
  
  /* grids demo */
  .grids .ym-g75 .ym-gbox,
  .grids .ym-g66 .ym-gbox,
  .grids .ym-g25 .ym-gbox,
  .grids .ym-g33 .ym-gbox,
  .grids .ym-g20 .ym-gbox,
  .grids .ym-g50 .ym-gbox { background: rgba(128, 0, 0, .1); border: 1px #800 solid; margin-right: 20px; text-align: center; }
  
  .grids .ym-g75 .ym-gbox p,
  .grids .ym-g66 .ym-gbox p,
  .grids .ym-g25 .ym-gbox p,
  .grids .ym-g33 .ym-gbox p,
  .grids .ym-g20 .ym-gbox p,
  .grids .ym-g50 .ym-gbox p { margin: 0; }

  /* grid 25-75 fuer Metzger anpassen */

  .ym-g25 {
    background: rgba(0, 0, 0, 0.7) none repeat scroll 0 0;   
    min-height: 592px;
  }

  .ym-g25 .csc-firstHeader {
    color: #fff;
    font-size: 175%;
    margin-top: 100px;
    text-shadow: 2px 2px #000;
    text-transform: uppercase;
  }
  
  
  /* info images: workaround for width:100% problem in IE7,8 & FF */
  .info DIV.csc-textpic-left .csc-textpic-imagewrap { float: none }
  .info DIV.csc-textpic .csc-textpic-imagewrap FIGURE { display: block }
  .info p { margin-top: 0; }
  
  
  .fontsize-infowindow { width: 400px; padding: 1em 2em 2em; }
  
  
  noscript > *:first-child {
    margin-top: 0;
    text-align: center;
  }
  
}

/* reset fallback values in modern browsers */
@media screen and ( min-width: 0px ) {

  header,
  nav,
  #main,
  footer {
    min-width: 0;
  }

}


@media screen and ( max-width: 850px) {
  
  /* hide banner at size */
  img.banner { display: none; }
  img.logo { height: auto; } /* width: 100%; */
  
  #wsMenuInHeader {
    position: relative;
    top: 0px;
    left: 0px;
  }

}

@media screen and ( max-width: 760px ) {

  .secondary {
    border-top: 1px #888 solid;
    margin-top: 1.5em !important;
  }

  #main aside .ym-gbox-right {
    border: 0 none;
  }

  /* Linearisation for Grid- and Column-Module, based on CSS class .linearize-level-1 */
  .linearize-level-1,
  .linearize-level-1 > [class*="ym-g"],
  .linearize-level-1 > [class*="ym-col"] {
    display: table;
    float: none;
    margin-left: 0;
    margin-right: 0;
    width: 100% !important;
  }

  .linearize-level-1 > [class*="ym-g"] > [class*="ym-gbox"],
  .linearize-level-1 > [class*="ym-col"] > [class*="ym-cbox"] {
    padding: 0;
    border: 0px;
  }

  .ym-searchform {
    display:block;
    float: none;
    width: auto;
    text-align: right;
  }

  .ym-searchform input[type="search"] {
    width: 14%;
  }
  
  /* Suchfeld auf maximale Breite ziehen */
  #nav .tx-macinasearchbox-pi1 {
    width: 100%;
    float: none;
  }
  
  .linearize-form [class*="ym-fbox"]:not([class*="ym-fbox-check"]) label,
  .linearize-form .ym-label,
  .linearize-form .ym-message,
  .linearize-form  input[type="text"],
  .linearize-form  textarea,
  .linearize-form  select {
    display: block;
    float: none;
    position: static !important;
    width:100% !important;
  }

  .linearize-form .ym-message,
  .linearize-form  .ym-fbox-check input {
    margin-left: 0 !important;    
  }
  
}

@media screen and ( max-width: 480px) {

  #supersized, #controls-wrapper, #progress-back { display: none !important; }

  aside,
  #headernav,
  .ym-col1,
  #nav-main,
  .selectfontsize {
    display: none !important;
  }
  
  #nav-mobile {
    display: block;
  }
  
  header .ym-wbox {
    padding: 0.75em 10px;
  }

  footer .ym-wbox,
  .ym-wbox,
  .ym-searchform,
  nav .ym-hlist ul {
    padding-left: 10px;
    padding-right: 10px;
  }

  header h1 {
    font-size: 1.5em;
    line-height: 1em;
    margin: 0;
  }
  
  /* center logo */
  img.logo { margin: 0 auto; }

  /* Linearisation for Grid- and Column-Module, based on CSS class .linearize-level-2 */
  .linearize-level-2,
  .linearize-level-2 > [class*="ym-g"],
  .linearize-level-2 > [class*="ym-col"] {
    display: table;
    float: none;
    margin-left: 0;
    margin-right: 0;
    width: 100% !important;
  }

  .linearize-level-2 > [class*="ym-g"] > [class*="ym-gbox"],
  .linearize-level-2 > [class*="ym-col"] > [class*="ym-cbox"] {
    padding: 0;
  }

  .ym-searchform,
  nav .ym-hlist ul,
  nav .ym-hlist li {
    display:block;
    float: none;
    width: auto;
    text-align: left;
  }

  .ym-searchform input[type="search"] {
    width: 75%;
  }
  
  /* Umfließenden Text in der Smartphone-Ansicht abschalten */
  div.csc-textpic-intext-left-nowrap .csc-textpic-text {  margin-left: 0; }
  div.csc-textpic-intext-left-nowrap .csc-textpic-imagewrap { float: none }
  
  .flexslider p.captiontitle {
    font-size: 1.2em !important;
  }
  .flexslider .caption { display: none; }
  
}



