/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
    background-color: grey;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
/* debug 
#header, #main, nav, #content,  #footer,#topheader,#topleft,#topcenter,#headerright {
	border: 1px solid #CCCCCC;
}
*/

#pagewrap {
	width: 96%;
	margin:auto;
}
#header {
	float:left;
	width: 100%;
	max-width:1210px;
}
#topheader {
	float: left;
	width:74.8%;
}
#topleft {
	float:left;
	width: 32.6%;
}
#topcenter {
	float: right;
	width: 66.3%;
}
#headerright {
	float: right;
	width: 24.4%;
}
#mainframe {
	//float:left;
	width: 100%;
	//max-width:1210px;
}
#main {
	float:left;
	width:74.8%;
}
nav {
	float:left;
	width: 32.6%;
}
#content {
	float: right;
	width: 66.3%;
}
aside {
	float:right;
	width: 24.4%;
}
#footerframe {
	float:left;
	width: 100%;
}
#footerleft {
	float:left;
	width:74.8%;
}
#footer {
	float: right;
	width:66.3%;
}
#content article {
	
}
#content_right {
	width:auto;
	height:auto;
}
img, embed, video  { 
  max-width: 100%;
  height: auto;
  width: auto;
}
object {
max-width: 100%;
}
a {
	text-decoration:none;
	color:#000000;
}
a:hover { /*cas*/
    color:#005d95; /*cas*/
} /*cas*/

span a { /*cas*/
	font-weight:normal;	/*cas*/
} /*cas*/



h1 {
	font-family:'zbw_binaryregular';
	font-size:1.188em;
	font-weight: normal;
}

#main nav ul{
	margin-top:0px;
}
.teaser h2, #headerright h2, .leftbox h2, .rightbox h2 {
	font-family:'zbw_binaryregular';
	font-size:1.188em;
	font-weight: normal;
}
.box h3 {
	font-size:1.05em;
}
.frame-default h3 {
	font-weight:bold;
}
#content_right .box, #content_right .frame-default {
	padding-bottom: 20px;
}

#content_right h2 {
	font-family:'zbw_binaryregular';
	font-size:1.188em;
	font-weight: normal;
}

nav .mainNaviItem  a {
	font-family:'zbw_binaryregular';
	text-decoration:none;
	font-size:1em;
	color:#000000;
}
nav .mainNaviItemActive a{
font-family:'zbw_binaryregular';
	text-decoration:none;
	font-size:1em;
	color:#196893;
}
nav .mainNaviItemActive {
	color:blue;
	background-image:url(../img/navi1pfeil.gif);
	background-repeat:no-repeat;
	background-position:5% 50%;
}

nav .box , nav .frame-default{
	padding-left:13%; 
	padding-bottom:2%;
	padding-top:2%;
}
/* subnavi*/
nav #subNavi a {
	text-decoration:none;
	font-size:0.8em;
	font-weight:bold;
}
nav .subNaviItemActive {
	color:blue;
	background-image:url(../img/navi2pfeil.gif);
	background-repeat:no-repeat;
	background-position:5% 50%;
}
nav .subNaviItem a{
	color:#000000;
}
nav .subNaviItemActive a{
	color:#196893;
}
nav  #subNavi .box, nav #subNavi .frame-default {
	padding-left:13%;
	padding-bottom:0%;
	padding-top:0%;
}


.box, .bildbox, aside .sidebox, .frame-default {
	border: 1px solid #ffffff;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	margin-bottom: 7px;
	background-color:white;
	padding-left:3%;
	padding-right:4px;
	padding-bottom:4px;
	width:auto;
	height:auto;
}

#searchbox{
	/*border: 1px solid #ffffff;*/
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 6px 6px 6px 6px; /* cas */
	margin-bottom:6px; /* cas */ /*10*/
	background-color:white;
	/*padding-left:4px;*/
	/*padding-right:4px;*/
	padding-bottom:4px;	
}

#topcenter .box, #topcenter .frame-default{
	min-height:100px;
	padding-left:3%;
}
.csc-default {
	width:auto;
	height:auto;
}
.leftbox{
	float:left;
}
.rightbox{
	float:right;
}
.leftbox, .rightbox {
		width:49%; /*cas*/ /*49 bei @media gestrichen*/
	}
	
.quarterbox {
		width:25%; 
		float:left;
	}
aside .leftbox, aside .rightbox {
		float: none;
		width: auto;
	}	

#topMenu {
	text-align:right;
	font-size:0.8em;
}
#slogan {
	margin-top:2.7em;
	font-weight:bold;
}
#slogan p {
	margin:0px;
}
.no-borderradius .box, .no-borderradius .frame-default {
border: 1px solid #ffffff;
	border-radius: 8px;
	behavior: url(/typo3conf/ext/zbw_website/Resources/Public/css/PIE.htc);
}
.no-borderradius .boxtop {
border: 1px solid #ffffff;
	border-radius: 0 0 8px 8px;
	behavior: url(/typo3conf/ext/zbw_website/Resources/Public/css/PIE.htc);
}

#breadcrumb {
	font-size:0.7em;
}


/* helpers*/
.clear {
    clear: both;
    display: block;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    width: 0;
}
.clearinline {
    clear: both;
    display: inline-block;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    width: 0;
}
.mb2 {
	margin-bottom:2px;
}
.mb4 {
	margin-bottom:0px; /* cas */ /* wert 4 */
}
.mb6 {
	margin-bottom:6px;
}
.mb8 {
	margin-bottom:8px;
}
.mb820{
	margin-bottom:20px;
}
.mb30 {
	margin-bottom:30px;
}

/* CSS Styled Content Regeln �berschreiben */
DIV.csc-textpic-above DIV.csc-textpic-imagewrap,
DIV.csc-textpic-below DIV.csc-textpic-imagewrap,
DIV.csc-textpic DIV.csc-textpic-imagewrap UL LI,
DIV.csc-textpic DIV.csc-textpic-imagewrap DL.csc-textpic-image {
	float: none;
}

DIV.csc-textpic .csc-textpic-imagewrap FIGURE, DIV.csc-textpic FIGURE.csc-textpic-imagewrap{
	display: block;
}





/* ============================= BEGIN FORM   ==============================*/
!important div.csc-mailform ol, div.csc-mailform ol li {
    margin: 0;
    padding: 6px;
}
/* =============================  END FORM    ==============================*/





/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}



  
#c30 img {
   width: 90px;
   height: 61px;	
} 
  
}



@media screen and (max-width: 980px) { /* cas */ /* 980 */
	
#header {
	width: 100%;
	float: left;
}

	#topheader {
		width: 100%;
		float: left;

	}
	
		#topleft {
			width: 32%;
			float: left;
		}
		
		#topcenter {
			width: 66%;
			float: right;
		}	
	
	
	#headerright {
		width: 66%;
		float: right;		
	}
	
	
		#searchbox {
			width: 100%;
			float: left;
		}
		
		#content_topright {
			width: 100%;
			float: left;
		}
		
#mainframe {
	width: 100%;
	float: left;
}

	#main {
		width: 100%;
		float: left;

	}
	
		#nav {
			width: 32%;
			float: left;
		}

		#content {
			width: 66%;
			float: right;
		}
		
		
			#SubLeft {
				width: 48%;
				float: left;
			}
			#SubRight {
				width: 48%;
				float: right;
			}
		
	aside {
		width: 66%;
		float: right;
	}
	
	

#footerframe {
	width: 100%;
	float: left;	
}

	#footerleft {
		width: 100%;
		float: left;
	}
		#FooterAside {
			width: 32%;
			float: left;
		}
		
		#footer {
			width: 66%;
			float: right;
		}


	#FooterRight {
		width: 66%;
		float: right;
	}		
	
#searchbox {   /* cas */
	border-radius: 6px 6px 6px 6px;
}

aside #content_right {
		float: left;
		width:100%;
}

aside #content_right .box, aside #content_right .frame-default {
		float: left;
		width: 90%;
		padding-left: 5%;
		padding-right: 5%;
}

aside #content_right .leftbox {
		float: left;
}

aside #content_right .rightbox {
		float: right;
}

aside #content_right .leftbox .box, aside #content_right .rightbox .box, aside #content_right .leftbox .frame-default, aside #content_right .rightbox .frame-default{
	padding-left: 10%;
	padding-right: 0%;
}

aside #content_right .leftbox, aside #content_right .rightbox {
		width: 49%;/*43.5%;*/
	}
	
aside .mediabox {
	float: left;
}
	
.platzhalterb {
	display: none;
}
	

}


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

#header {
	float:none;
	width: auto;
}
#topheader {
	float:none;
	width: auto;
}
#topcenter {
	float:none;
	width: auto;
}
#topleft {
	float:none;
	width: auto;
}
#headerright {
	float:none;
	width: auto;
}
#main {
	float:none;
	width: auto;
}
#main nav {
	float:none;
	width: auto;
}
#main nav img{
	display:none;
}
#main #content  {
	float: none;
	width: auto;	
}


aside {
	float: none;
	width: auto;
	
}


#footerleft {
	float: none;
	width: auto;
}
#footer {
	float: none;
	width: auto;
}
#searchbox{ 
	border-radius: 6px 6px 6px 6px; 
}

.platzhalter {
	display: none;
}

}


@media screen and (max-width: 480px) {
	.leftbox, .rightbox, aside #content_right .leftbox, aside #content_right .rightbox, .quarterbox {
		float: none;
		width: auto;
	}
	DIV.csc-textpic-intext-right-nowrap .csc-textpic-imagewrap {
	float: none;
}

#footerMenu { /*cas*/  /************************************************************ funktioniert nicht, weil wert von zbw.css �berschrieben wird. ****************
	padding-right: 0px; /*cas*/
	padding-left: 0px; /*cas*/
} /*cas*/

}

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


}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow:none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
