/* ==|== primary styles =====================================================
   Author: www.prowebdesign.ro
   Write your own styles here.
   ========================================================================== */

/* typography */
body{
	color:#444;
	font-family:'Droid Sans', Arial, Helvetica, sans-serif; 
	font-size:1em; line-height:normal; 
	background-image:url(../images/HB-Bibliothek-bg.jpg);
	background-repeat:repeat-x;
	}
h1, h2, h3, h4, h5, h6{
	font-weight:normal;
	font-family:'Droid Sans', Arial, Helvetica, sans-serif; 
	line-height:120%;
	margin:0;
	padding:0; font-family:'Droid Sans', Arial, Helvetica, sans-serif; line-height:120%} 

/*
DIV.csc-textpic-above DIV.csc-textpic-imagewrap,
DIV.csc-textpic-intext-left 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,
DIV.csc-textpic-intext-right DIV.csc-textpic-imagewrap {
	float: none;
}
*/

DIV.csc-textpic-intext-left DIV.csc-textpic-imagewrap img {
	float: left;
	margin-right:30px;
}
DIV.csc-textpic-intext-right DIV.csc-textpic-imagewrap  img{
	float: right;
	margin-left:0px;
}

.flexslider {
margin: 2.5em auto;
}

.sf-menu a, .sf-menu a:visited {
font-size: 14px;
line-height: 40px;
padding-top: 0px;
padding-bottom: 0px;
}

.sf-menu  li ul a, .sf-menu  li ul a:visited {
line-height: 35px !important;
height:35px;
}

.sf-menu li ul li:last-child a {
    border-right: 1px solid #DDD;
}

/* links */
a,
a:visited,
a:active
a:hover{color:#636363;}
a:hover{ text-decoration:none;}


#content_typo3 .align-right {
	text-align:right;	
}

#content_typo3 .align-center {
	text-align:center;	
}

#content_typo3 .align-justify {
	text-align:justify;	
}

#content #content_typo3 ul {
	margin-left: 15px;
	margin-bottom: 20px;
}

#content #content_typo3 ol {
	margin-left: 20px;
	margin-bottom: 20px;
}
  
/* structure */   
#container, #colophon{
	max-width: 960px; 
	margin: auto;
	}
#container {
	border:1px solid #dddddd;
	margin-top:20px;
	margin-bottom:20px;
	background-color:#FFFFFF;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	-webkit-box-shadow: 0px 0px 1px 1px rgba(88, 88, 88, 0.2);
-moz-box-shadow: 0px 0px 1px 1px rgba(88, 88, 88, 0.2);
box-shadow: 0px 0px 1px 1px rgba(88, 88, 88, 0.2);
}
#spalte_rechts, .grid_6 #content_typo3 {
	width:95%;
	line-height:20px;
}

#content_typo3 {
	width:100%;
	line-height:20px;
}

.einspaltig #content_typo3 {

}

header hgroup h1 {
margin-left: 20px;
}

#content_typo3 h1, #spalte_rechts h1 {
	margin-bottom:20px;
}
#content_typo3 header, #spalte_rechts header {
	padding-bottom:0px;
}
hgroup {
	float:right;
	margin-right:20px;
	margin-top:0px;
}

header{ 
	margin: 0 0 20px 0;}
header, header nav, #main, #banner{
	width:100%;}
#logo{ 
	padding-right:0px;
	margin-left:30px;
	margin-right:10px;
	float:left;
	}
header{
	padding:0px 0 10px 0;}
header h1{ 
	font-size:1.5em;
	margin-right: 30px;
	margin-top:20px;
}
#content h1{ 
	margin-top:0px;
}

#content h2{margin-bottom:20px;}
#main, footer{ 
	font-size: .910em;
		line-height:1.3em;}
#main{ 
	margin-left:5%;
	min-height: 200px;
	width: 90%;
		}
#container.zweispalten #main { 
	width: 95%;
		}
#main p{ 
	margin:0px 0 20px 0;}

#content {  
	margin:0 0 0px 0;
padding-top: 0px;
}
#content ul, #content ol {
	margin: 1em 0;
	padding: 0 0 0 0px; }
#content dd {
	margin: 0 0 0 40px; }


#content_typo3 img, #spalte_rechts img, embed, object, video {
  max-width: 100%;
  width:100%;
  height: auto;
}


.csc-mailform label {
width:150px;
display:block;
float:left;
}

.csc-mailform input {
border: 1px solid #9c9c9c;
padding:5px;
width:95%;
}

div.csc-mailform ol li {
	margin-bottom:10px;
}

div.csc-mailform fieldset li.csc-form-confirmation-false, div.csc-mailform fieldset li.csc-form-confirmation-true {
	padding-left:0px;
}

div.csc-mailform ol {
	list-style-type:none;
}

.csc-mailform div.row {
	margin-bottom:3px;
}

.csc-mailform textarea {
width:95%;
height:100px;
border: 1px solid #9c9c9c;
margin-bottom:5px;
margin-top:4px;
padding:5px;
}

.csc-mailform textarea, .csc-mailform input {
	font-size:12px;
}
.csc-mailform .error {
	margin-left:0px;
}

.csc-mailform span.red a {
	color:red;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
#content_typo3 img, #spalte_rechts img, embed, object, video {
        max-width: 100%;
        height: auto;
        width: auto;
    }
}

@media \0screen {
#content_typo3 img, #spalte_rechts img, embed, object, video { 
  	width: auto\9; /* for ie 8 */
  }
}

aside { 
	float:left;
	margin:0 0 40px 0;
	}
.flexslider {width:90%;}

#banner {
	text-align:left;
}

/*colors and bgs*/
body{}
h1, h2, h3, h4, h5, h6{
	color:#333; }
	
hgroup h1{
	color:#555; }

footer{ 
	background-color:#e6e6e6;
	font-size:12px;
	color:#797979;
	clear:both;
	line-height:20px;
	padding-top:10px;
	padding-bottom:10px;
	padding-left:5%;
	padding-right:20px;
	-webkit-border-radius: 0px 0px 10px 10px;
	-moz-border-radius: 0px 0px 10px 10px;
	border-radius: 0px 0px 10px 10px;
}

a.bluelink{ 
	background:#0099ff; 
	border-radius:7px; 
	color:#fff;
	display:block;
	float:left; 
	margin:10px 15px 10px 0; 
	padding:15px;}





/* ==|== non-semantic helper classes ========================================
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }

/* 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; }

/* Contain floats: h5bp.com/q */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }



/* ==|== media queries ======================================================
only screen and min-device-width
   ========================================================================== */
   
/* iPads (portrait and landscape) ----------- */
@media only screen 
and (min-width : 768px) 
and (max-width : 1024px) {
#container, #colophon{width:95%;}
#content_typo3 {
	width:95%;
}
.flexslider {width:90%;}

}

/* large smartphones ----------- */
@media  (max-width: 768px) {
#container, #colophon{width:94%;}
#content_typo3 {
	width:100%;
}
header{padding:10px 0 1px 0;}
header h1{ font-size:1.4em;}

.flexslider {width:90%;}

.sf-menu {
	line-height:1;
	font-size:14px;	
	height:35px !important;
}

.sf-menu a, .sf-menu a:visited {
line-height: 35px !important;
}

.flexslider {
margin-top: 20px;
}

.sf-menu li:hover ul,
.sf-menu li.sfHover ul {
	left:			0;
	top:			2.5em; /* match top ul list item height */
	z-index:		99;
}

#main h1{font-size:1.6em;}
#main h2{font-size:1.4em;}
#main h3{font-size:1.3em;}
#main h4{font-size:1.2em;}
}

/* medium smartphones ----------- */
@media (max-width: 600px) {
.grid_1,
.grid_2,
.grid_3,
.grid_4,
.grid_5,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10,
.grid_11
 {
	margin-left: 0.83333333333333%;
	margin-right: 0.83333333333333%;
	width: 48.333333333333%;
}
#content_typo3 {
	width:95%;
}

.grid_12 {
	width:95%;	
}

.csc-textpic-intext-right-nowrap-320 .csc-textpic-text {
margin-right: 0px !important;
float:left;
}

div.csc-textpic-intext-right-nowrap .csc-textpic-imagewrap {
float: left;
margin-left:0px;
}

}

/* medium smartphones ----------- */
@media (max-width: 480px) {
#container, #colophon{width:95%;}
.grid_6 #content_typo3 {
	width:95%;
}

#content_typo3 {
	width:100%;
}
#logo, header hgroup{ }
#logo img{max-width:100%;}

.einspaltig #content_typo3 {

}

.flexslider {display:block;}
.flex-direction-nav li a {
	background: none;	
}

header h1{ font-size:1em; margin-bottom:10px;}

.grid_1,
.grid_2,
.grid_3,
.grid_4,
.grid_5,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10,
.grid_11,
.grid_12 {
	margin-left: 0;
	margin-right: 0;
	width:95%;
}

#topnav{ clear:both; display:block; width:90%; text-align:center; background:#e6e6e6; padding:10px 0; margin:auto; border-radius:3px;}
#mobileMenu_mobileselect { display:block; width:90%; margin:auto; height:1.6em; font-size:14px; line-height:1.6em;}

footer .grid_4{ border-bottom:1px dotted #ccc; padding-bottom:10px;}


div.csc-textpic-intext-left div.csc-textpic-imagewrap, div.csc-textpic-intext-left-nowrap div.csc-textpic-imagewrap {
margin-right: 0px !important;
}
#googlemap {
	margin-top:20px !important;
}
}

/* medium smartphones, portrait ----------- */
@media (max-width: 320px) {

}





/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  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; }
}


.sf-menu {
width: 95%;
height: 40px;
padding-left: 5%;
}

.sf-menu ul li {
	line-height:0.5;
}

.sf-menu a {
border-right: none;
border-left: 1px solid #fff;
}

.sf-menu li:last-child a {
border-right: 1px solid #fff;
}

DIV.csc-textpic DIV.csc-textpic-imagecolumn {
margin-bottom: 10px !important;
}
