/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

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

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets 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, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
	font-family:Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
}

.header-bg {
	background-color: rgba(0,0,0,1.00);
	background-image: url('../images/structure/header-bg.jpg');
	background-attachment: fixed;
	background-size: contain;
	background-repeat: no-repeat;
}

header {
	width:	100%;
	height:	auto;
}

header .header-inner {
	width: 1149px;
	height:	auto;
	padding: 0;
	margin: 0 auto;
}

header .header-inner .header-logo {
	width: 300px;
	padding: 20px 0 0 0;
}
header .header-inner .header-logo h1 {
	font-size: 38px;
	letter-spacing: -3px;
	line-height: 1;
	margin: 0;
	background: url('../images/structure/logo-hus.png') no-repeat;
	width: 300px;
	height: 73px;
}
header .header-inner .header-logo h1 a {
	display: block;
	width: 349px;
	height:	85px;
}
header .header-inner .header-logo h1 span {
	visibility:hidden;
	display:block;
	text-indent:-9999px;
}

nav {
	z-index:1;
	position:absolute;
}

#header-slide {	
	padding-top:20px;
	padding-bottom: 30px;
}

nav .topmenue {
	list-style:none;
	padding:0;
	margin-left:-30px;
	margin-top:40px;
	margin-right:0;
	margin-bottom:0;
}

nav .topmenue img {
	width:75%;
}

nav .topmenue .menuetext {
	display:none;
}


/* ==========================================================================
   Section-Content
   ========================================================================== */

#content {
	width:70%;
	height:	auto;
	margin: 0 auto;
}

#content .downbutton {
	width:100%;
	text-align:right;
	padding-bottom:20px;
}

#content .downbutton img {
	width:auto;
	height:auto;
	margin-right:55px;
}

#content .left {
	width:45%;
	float:left;	
}

#content .right {
	float:right;
	width:45%;
}

#content .left .teaser {
	border: 1px solid rgba(226,10,25,1.00);
	padding:10px;
	width:100%;
	height:auto;
	margin-bottom: 30px;
}

#content .left .teaser .teaser-nav {
	width:100%;	
}

#content .left .teaser .teaser-nav a {
	display:block;
	background-color: rgba(226,10,25,1.00);
	color:rgba(255,255,255,1.00);
	padding:10px;
	text-decoration: none;
	font-weight:bold;
}

#content .left .teaser .teaser-nav a:hover {	
	text-decoration: underline;
}

#contentheader h1 {
	margin-bottom:0;
}

#contentheader h2{
	color: rgba(226,10,25,1.00);
	font-size: large;
	margin-top:0;
}

#content a {
	color: rgba(226,10,25,1.00);
	text-decoration: none;
}

#content a:hover {
	color: rgba(130,40,40,1.00);
	text-decoration: none;
}

#content .backlink {
	text-decoration: overline;
}

.responsiveContainer {
  position: relative;
  padding-bottom: 56%;
  height: 0;
  overflow: hidden;
}

.responsiveContainer iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}



/* ==========================================================================
   Footer
   ========================================================================== */

footer {
	border-top: 1px solid rgba(128,128,128,1.00);
	width:70%;
	height:	auto;
	margin: 0 auto;
	margin-top:50px;
	margin-bottom:100px;
}

footer ul {
	list-style:none;
	margin:0;
	padding:0;
}

footer .left {
	width:45%;
	float:left;
	text-align:center;
}

footer .right {
	float:right;
	width:45%;
	text-align:center;
}

footer h2 {
	font-size:2em;
	font-weight: normal;
}

footer a {
	font-size:1.3em;
	text-decoration:none;
	color:rgba(54,54,54,1.00);	
}

footer a:hover {
	text-decoration:underline;
}

#design-footer {
	margin-top:40px;
	text-align:center;
	width:100%;
}

#design-footer a {
	font-size:1.0em;
}

#design-footer a:hover {
	font-size:1.0em;
}

#design-footer a:link {
	font-size:1.0em;
}

/* ==========================================================================
   Slideshow
   ========================================================================== */

.rslides {
  position: relative;
  z-index:0;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
  }

.rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  }

.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  }

.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
  }



/* ==========================================================================
   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: 150%;
}

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

.left {
	float:left;
}

.full {
	width:100%;
	height:auto;
}

/*
Make the Facebook Like box responsive (fluid width)
https://developers.facebook.com/docs/reference/plugins/like-box/
*/
 
/* This element holds injected scripts inside iframes that in some cases may stretch layouts. So, we're just hiding it. */
#fb-root {
  display: none;
}
 
/* To fill the container and nothing else */
.fb_iframe_widget, .fb_iframe_widget span, .fb_iframe_widget span iframe[style] {
  width: 100% !important;
}


/* Desktoplayout: 769 bis maximal 1232 px.  Erbt Stile von: den Layouts für Mobilgeräte und Tablet-PCs. */
@media only screen and (min-width: 768px) and (max-width: 1148px) {
	
header div.header-inner {
	width: 728px;
	height:	auto;
	margin: 0 auto;
	padding:0 0.9% 0 0.9%;
}

nav .topmenue {	
	margin-top:20px;
}

nav .topmenue img {
	width:50%;
}

/* ==========================================================================
   Section-Content
   ========================================================================== */

#content {
	width:80%;
}

}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
	width:80%;
}

/* Layout für Tablet-PCs: 480 bis 767 px. Erbt Stile vom: Layout für Mobilgeräte. */
@media only screen and (min-width: 480px) and (max-width: 767px) {

header div.header-inner {
	width: 480px;
	height:	auto;
	margin: 0 auto;
	padding:0 0.9% 0 0.9%;
}

#header-slide {	
	padding-top:5px;
	padding-bottom: 20px;
}

nav {
	z-index:1;
	position:relative;
}

nav .topmenue {
	padding:10px 0 0 0;
	margin:0;
	width:100%;
}

nav .topmenue li {
	display:block;
	float:left;
	padding-right:2px;
	margin-top:15px;
}

nav .topmenue a {
	display:block;
	background-color:rgba(226,10,25,1.00);
	color:rgba(255,255,255,1.00);
	text-decoration:none;
	text-align:center;
	padding: 20px 20px 20px 20px;
}

nav .topmenue img {
	display:none;
}

nav .topmenue .menuetext {
	display:inline;
}

/* ==========================================================================
   Section-Content
   ========================================================================== */

#content {
	width:450px;
}

#content .left {
	width:100%;
}

#content .right {
	width:100%;
}


/* ==========================================================================
   Footer
   ========================================================================== */

footer {
	width:450px;;
}

}
/* Layout für Mobilgeräte: 479px oder weniger. */
@media only screen and (max-width:479px) {

header div.header-inner {
	width: 320px;
	height:	auto;
	margin: 0 auto;
	padding:0 0.9% 0 0.9%;
}

#header-slide {	
	display:none;
}

nav {
	z-index:1;
	position:relative;
}

nav .topmenue {
	margin:10px 0 0 0;
	padding:0;
}

nav .topmenue li {
	float:clear;
	padding-bottom:2px;
}

nav .topmenue a {
	display:block;
	padding-top:20px;
	background-color:rgba(226,10,25,1.00);
	color:rgba(255,255,255,1.00);
	text-decoration:none;	
	width:100%;
	height:50px;
	text-align:center;
}

nav .topmenue img {
	display:none;
}

nav .topmenue .menuetext {
	display:inline;
}

/* ==========================================================================
   Section-Content
   ========================================================================== */

#content {
	width:270px;
}

#content .left {
	width:100%;
	float:left;	
}

#content .right {
	width:100%;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
	width:300px;
}

footer .left {
	width:100%;
	float:left;	

}

footer .right {
	width:100%;
}

}







/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

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

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

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