/**
 * "Yet Another Multicolumn Layout" - YAML CSS Framework
 *
 * default screen stylesheet - PAGE-layout type layout
 *
 * @copyright       © 2005-2013, 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.1.2
 */
@media screen {
  /* force vertical scrollbar */
  body {
    overflow-y: scroll;
  }
  
  /* Layout Module Configuration & fallback for unsupported media queries */
  .ym-wrapper {
    min-width: 780px;
    max-width: 80em;
    margin: 0 auto;
  }

  .ym-wbox {
    padding: 10px;
  }

  /* Basic Element Styling */
  header {
    color: white;
    padding: 1.5em;
  }

  nav {}

  main {
    padding: /*1.5em 0*/ 0 0;
  }

  footer {
    display:none;
    margin: 0;
    background:transparent;
    color: #444;
    padding: 1.5em;
  }

  footer p {
    margin: 0;
    text-align:center;
    font-size: 85%;
    color: #666;
  }

  /* Column-Set Configuration: 1-3-2 */
  .ym-column {
    display: block;
    overflow: hidden;
    width: auto;
  }

  .ym-col1 { margin-top:1.5%; width: 20%; } /* left column */
  .ym-col2 { width: 25%; } /* right column */
  .ym-col3 { 
    margin-left: 20%; 
    margin-right: 25%; 
    background-color:white;  
    /*
    height: 100%;
    */
  } /* center column */

  .ym-col2  .ym-cbox {padding:0; margin:22px 0 0 0;}  
  .ym-col3  .ym-cbox {padding:0 20px;}

  /* 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;
  }

  /* responsives Design - flexible Medien */
  img, embed, object, video {
    max-width: 100% !important;
    height: auto !important;
    height: auto;
    /*
    max-width: 100%;
    width: auto;
    */
}

  /*  Responsive CSC-Bilder */
  .csc-textpic-image img {width:100%;}  
  /* resposive end */

  /*
  img {
  max-width: 100%;
  height: auto;
  }
  */

  /* macinasearchbox */
  .tx-macinasearchbox-pi1 {margin-top:50px;}

  /* Bildunterschrift */
  .csc-textpic-caption {margin-top:5px;}

}

/* reset fallback values in modern browsers */
@media screen and (min-width: 0px) {
  .ym-wrapper {
    min-width: 0px;
  }
}

@media screen and ( max-width: 780px )  {

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

  .linearize-level-1 > [class*="ym-col2"] {
    display: none;
  }

  .linearize-level-1 > [class*="ym-col3"] {
    padding:0 10px 0 5px;
  }

   /*
   .linearize-level-1 > [class*="contenttable"]
   */

  /* reset defined gutter values */
  .linearize-level-1 > [class*="ym-col"] > [class*="ym-cbox"] {
    overflow: hidden; /* optional for containing floats */
    padding: 0;
    margin: 0;
  }
}



