/**
 * "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: #fff;
        overflow-x: hidden;
        }


	/* Layout Module Configuration */
	.ym-wrapper {
		max-width: 80em;
		margin: 0 auto;
		overflow: hidden;
	}

	.ym-wbox {
		padding: 0 1.5em 1.5em;
	}

	/* fallback for media queries */
	#main,
	footer {
		min-width: 760px;
	}
    #navigation {
  		background: #fff;
        position: absolute;
        top:20%;
        left:8%;
        width:17%;
        z-index: 10;
    }
    .resMenuClose {display:none;}
    .resMenu {display:none}    
	/* Basic Element Styling */
	header {
        background:#fff;
		color: #ccc;
        padding-top: 1em;
        position: absolute;
        width:25%;
        height:14%;
        z-index: 11;
	}

	header h1 {
		background: transparent;
		color: #757372;
        font-size: 400%;
	}
	
	#headernav {
		top: 6em;
		position: absolute;
		font-size: 0.9em;
		color: #666;
		text-align: left;
		right: 1.6em;
		min-width: 40px;
	}
    #servicenav {
        margin-top: 3em;
    }
	#nav {


	}
	
	#main { min-height: 300px; background:transparent;}
    .ym-upper .ym-cbox{position:fixed; /*width:75%;*/ top:0px; left:25%}
    .ym-upper {position: fixed; width: 100%; height:100%; right:0px; bottom: 0px;}
	.ym-lower {background:#F5F7FA; position:absolute; top: 0px; padding:0; width:auto}
    .ym-lower .ym-cboxhold {padding:2.4em 2em 2em 2em;}
	
    #main nav {
		background: transparent;
	}
	
    #toolbar {background:#fff;}
	.rootline {
		float: left;
	}
	
	.ym-col1 nav {
		margin-top: 1.5em;
	}
	
	.language-menu {
		float: right;
		width: auto;
		min-width: 40px;
	}

	#main .info {
		margin-bottom: 1.5em;
	}

	footer {
		background: #fff;
		color: #444;
        margin-top: 2em;
        margin-left: 1%;
        position: absolute;
        bottom: 0;
	}

	footer p {
		margin: 0;
	}

	header .ym-wbox,
	footer .ym-wbox {
		padding: 3.0em 2em;
		position: relative;
		overflow: hidden;
	}

	#footernav {margin-top: 2em;}
    
    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.5em 1.5em;
		line-height: 2em;
	}
	.selectfontsize {
	    font-family: 'roboto_bkbold', Arial, Helvetica, sans-serif;
		padding: 0.5em 1.5em;
		float: right;
		line-height: 2em;
	}


	/* 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%;
	}
	
	#nav-main { float: left; width: auto; }
	
	img.logo { width: 100%;}
	#projectdate { line-height: 200%; clear: both; float: left; margin-left: 0.3em; }
	
	img.banner { float: right; margin-top: 0.4em; }
	
	/* example for css3 shadow around image */
	.csc-frame-frame1 img { /* default */
		padding: 4px;
		margin-left: 7px;
		margin-right: 7px;
		margin-bottom: 7px;
		border: 1px solid #000;
	}
	.boxshadow .csc-frame-frame1 img { /* browser has boxshadow support */
		-webkit-box-shadow: 0px 0px 7px 2px rgba(0, 0, 0, 0.4); 
		-moz-box-shadow:  0px 0px 7px 2px rgba(0, 0, 0, 0.4); 
		box-shadow:  0px 0px 7px 2px rgba(0, 0, 0, 0.4);
	}
	
	
	/**
	 *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: 0; }
	.layout-ul .ym-lower > .ym-cbox { padding: 10px 0 0 0; }

	/* Layout u */
	.layout-u .ym-upper > .ym-cbox { padding: 0; }
	
	/* Box */
	.contentbox-head { 
	}
	.contentbox-head h4 { color: #fff; line-height: 150%; size: 11%; padding: 0 0.5em; display: none; }
	
	.contentbox-body { overflow: hidden; padding: 0em; background:transparent;
	}
	.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:#EFEFEF; border: 1px #ccc 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; }
	
	/* 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;
	}
	
	#nav .tx-macinasearchbox-pi1 {
		float: right;
	}
    
	
}

/* reset fallback values in modern browsers */
@media screen and ( min-width: 0px ) {

	header,
	nav,
	#main,
	footer {
		min-width: 0;
	}

}

@media screen and ( max-width: 1024px) {
    #navigation {
  		background: #fff;
        position: absolute;
        top:18%;
        left:4%;
        width:21%;
        z-index: 10;
    }
}


@media screen and ( max-width: 850px) {
	
	/* hide banner at size */
	img.banner { display: none; }
	
}

@media screen and ( max-width: 860px ) {

    
    header {
        position:relative;
        width: 100%;
        z-index: 2;
        padding: 0;
        display: inline-table;
        overflow: hidden;
    }
     header .ym-wbox {
        padding: 0;
     }
     img.logo {
        padding:5%;
        width: 90%;
     }
    .resMenuClose{
        display: block; 
        background: #00377F;
        padding:0.5em 1.9em;
        font-size:140%;
        color:#fff;
        cursor: pointer;
        top: 0;
        right:0;
        position:fixed;
        z-index: 100;

    }
     .resMenu {
        display: block; 
        background: #F5F7FA;
        width: 100%;
        padding:0.5em 1em;
        font-size:140%;
        color:#00377F;
        cursor: pointer;
    }
    .resMenuClose {display:none; padding:0.5em 0.8em}

    .resMenu span{
        padding-left: 0.5em;
        font-size:70%;
    }
	#navigation{
	   position:absolute;
       z-index: 1;
       width: 50%;
       background-color: #fff;
       top:10%;
       left: 30%;
       display: none;
	}
    .menu_list{
        margin-top: 15%;
        font-size: 140%;
    }
    #servicenav a{font-size: 120%;}
    #contentCon {
        position: absolute;
        z-index: 2;
        width:100%;
        left:0%;
        top:0%;
        height:100%;
        background: #fff;
    }
    .copyright{}
    .ym-upper .ym-cbox{width:100%; top:0px; left:0%;}
    .ym-upper {position: relative; width: 100%; height:100%;margin-top: 0px;}
    .ym-upper .ym-cbox  {position: relative;}
	.ym-wbox {padding:0;}
    
    .ym-lower .ym-cboxhold {padding: 1em 2em 2em 2em;}
    .ym-lower {background: #fff;}
    .flexslider .captionwrapper { top:0%; right: 0px; overflow: hidden; width: 40%;  }
    
    
    
    
    .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;
	}
	
	
	.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;		
	}
	
	/* suchbox nach oben verschieben */
	#nav .tx-macinasearchbox-pi1 { clear:both; margin-top: 0.5em; position:absolute; width: 100%; top: 10px;}
	#headernav {width:95%; text-align: center; margin-top:4.5em;}
    /* Suchbox oben an den Rand setzen */

	#tx_indexedsearch_word {
        background:#fff url("../../img/search.png") no-repeat 5px 50%; 
		padding:8px 5px 8px 5px;
        margin: -2px 15px 0 0;
        background:#fff; 
		width: 196px;
        margin: 0 auto;
        border-radius: 0.5em;
        border: 1px solid #ccc;
        font-size: 100%;
        text-align: center;
	}
      #submenu {
        margin: 4em 0 0 0;
        font-size:120%;

  }
	
}

@media screen and ( max-width: 480px) {

	aside,
	.ym-col1,
    .rootline,
	#nav-main,
    #back-to-top,
    #footernav,
	.selectfontsize {
		display: none !important;
	}
	


	header h1 {
		font-size: 1.5em;
		line-height: 1em;
		margin: 0;
	}
	#navigation{
	   position:absolute;
       z-index: 1;
       width: 90%;
       background-color: #fff;
       top:0%;
       left: 10%;
	}
    
    .menu_head {
        background:transparent url("../../images/left.png") no-repeat 80% 12px; 
    }
    
    
    .menu_head:hover{
        background:#F5F7FA url("../../images/down.png") no-repeat 80% 12px; 
    }
    .open {
    	background:#F5F7FA url("../../images/down.png") no-repeat 80% 12px;
    }
    .open .open {
    	background:url("../../images/down.png") no-repeat 80% 12px;
    }
    
    .menu_body .menu_head {
        background: url("../../images/left.png") no-repeat 80% 8px; 
    }
    .menu_body .open{
        background: url("../../images/down.png") no-repeat 80% 8px; 
    }
	
    .ym-lower .ym-cboxhold {padding: 0.5em 0.5em 1em 0.5em;}
    
    /* 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;
	}

	/* 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 */
	.flexslider p.captiontitle {
		font-size: 1.2em !important;
	}

}


