/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.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
   ========================================================================== 
   
   
#fbba00	gelb    
#001941	blau
#f49e00	orange

*/
html, body {
margin:0;
padding:0;
height: 100%;
}


html {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	color: #001941;
	line-height: 1.4;
	font-size: 0.8em;
}

h1 {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: #001941;
	font-size: 1.2em;
	line-height: 1.3;
	/* border-bottom: 2px solid #f49e00;*/
	border-bottom: 3px solid #DDDDDD;
}


/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

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

::selection {
    background: #fbba00;
    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 audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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

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





#slideshow_iframe {
	width: 100%;
	height: 100%;
	margin: auto;
	float: none;
}


header{
	width:auto; 
	height:150px; 
	background:url(/img/header.jpg) no-repeat center top #fe6301; 
	clear:both;
}


body {
	overflow-x: hidden;
	overflow-y: scroll;
}

a:link, a:visited {
	text-decoration: underline;
	color: #001941;
}

a:hover {
	text-decoration: underline;
	color: #f49e00;
}

#content {
	width: 100%;
	min-height: 100%;
	height: auto !important;
	margin-left: auto;
	margin-right: auto;
	margin-top: 5vh;
}

#container {
	margin:0 auto;
	width: 94%;
	min-height: 100%;
	position: relative;
	left: 0;
	top: 10px;
	padding-left: 3%;
	padding-right: 3%;
}


#button_herunterscrollen {
	width: 15%;
	min-width: 250px;
	position: relative;
	left: 50%;
	z-index: 8000;
	display: none;
}


.textspalten {
	float: left;
}

.pdf-download {
	height: 26px;
	padding-left: 26px;
	background-image: url(/images/icon_pdf.png);
	background-repeat: no-repeat;
	background-position: left top;
}

#lightbox {
	min-width: 100%;
	min-height: 100%;
	position: fixed;
	left:0;
	top:0;
	background-color: #000000;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
	filter:alpha(opacity=80);
	-moz-opacity:.80;
	opacity:.80;
	z-index: 9900;
	display: none;
}



	#slider_dienstleistungen_iframe {
		position: absolute;
		width: 100%;
		height: 100%;
		margin: auto;
		top: 0;
		left: 0;
		display: none;
		z-index: 10000;
		}



	#menu_mobil {
		width: 100%;
		height: 70px;
		position: fixed;
		top: 0;
		left: 0;
		background-color: #FFFFFF;
		display: block;
		clear:both;
		z-index: 9000;
		border-bottom: 1px solid #001941;
		-moz-box-shadow:  0 0 18px 10px rgba(0,0,0,0.5);
		-webkit-box-shadow:  0 0 18px 10px rgba(0,0,0,0.5);
		box-shadow: 0 0 9px 5px rgba(0,0,0,0.5);
	}
	
	#menu_mobil_logo {
		width: 271px;
		max-height: 70px;
		left: 0;
		top: 0;
	}

	#menu_mobil_menu {
		width: 42px;
		height: 70px;
		position: absolute;
		right: 0;
		top: 0;
		cursor: pointer;
	}
	
	#schieber_menu {
		width: 100%;
		position: fixed;
		top: 70px;
		left: 0;
		background-color: #001941;
		display: none;
		clear:both;
		z-index: 9000;
	}

	.menu_mobil_button {
		font-weight: bold;
		color: #FFFFFF;
		font-size: 1.2em;
		line-height: 2;
		height: 30px;
		padding-left: 3%;
		border-bottom: 1px solid #FFFFFF;
		cursor: pointer;
	}	

	.menu_mobil_button:hover {
		color: #f49e00;
	}
	
	.menu_mobil_button_on {
		font-weight: bold;
		color: #f49e00;
		font-size: 1.2em;
		line-height: 2;
		height: 30px;
		padding-left: 3%;
		border-bottom: 1px solid #FFFFFF;
		background-image: url(/images/menu_close.png);
		background-repeat: no-repeat;
		background-position: right center;
		cursor: pointer;
	}

	
	.menu_mobil_sub {
		display: none;
	}

	.menu_mobil_button_sub {
		font-weight: normal;
		color: #001941;
		font-size: 1.0em;
		line-height: 1.3;
		padding-left: 10%;
		padding-top: 5px;
		padding-bottom: 4px;
		background-color: #FFFFFF;
		border-bottom: 1px solid #001941;
		cursor: pointer;
	}	

	.menu_mobil_button_sub:hover {
		background-color: #EEEEEE;
	}

	.menu_mobil_button_sub a {
		text-decoration: none;
	}




/**************************************************************************************************************************************
min 451 / max 599
***************************************************************************************************************************************/

@media only screen and (min-width:451px ) and (max-width:599px ) {

	
	#container {
		margin:0 auto;
		width: 48%;
		min-height: 100%;
		position: relative;
		left: 50%;
		top: 0%;
		margin-left: -14%;
		margin-top: -30px;
	}

/*
	#slider_dienstleistungen_iframe {
		width: 480px;
		height: 500px;
		top: 0;
		margin-left: -50px;
	}
*/
	#lightbox {
		min-width: 100%;
		min-height: 100%;
		position: fixed;
		left:0;
		top:0;
		background-color: #000000;
	   -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
		filter:alpha(opacity=80);
		-moz-opacity:.80;
		opacity:.80;
		z-index: 9900;
		display: none;
	}
}




/**************************************************************************************************************************************
min 451 / ohne max
***************************************************************************************************************************************/

@media only screen and (min-width:451px ) {

	
	#slider_dienstleistungen_iframe {
		position: absolute;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		display: none;
		z-index: 8000;
		}

}


/**************************************************************************************************************************************
Handy quer
***************************************************************************************************************************************/

@media only screen and (max-width:850px) and (max-height:600px) {


	#slider_dienstleistungen_iframe {
		position: absolute;
		width: 100%;
		height: 100%;
		margin: auto;
		top: 0;
		left: 0;
		display: none;
		z-index: 10000;
		}

}




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

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.drupal.org/node/897638
 */

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

/*
 * Hide visually and from screen readers, 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;
}

/* ==========================================================================
   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,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

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

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

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

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

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

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

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


	#menu_2 {
		width: 18%;
		position: fixed;
		top: 25%;
		right: 0;
		z-index: 9100;
	}
