/*! 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 {
	font-family: 'Droid Sans', sans-serif;
    color: #222;
}

html {
	font-family: 'Droid Sans', sans-serif;
    font-size: 1em;
	height:100%;
   /* 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
   ========================================================================== */
/*-webkit-box-shadow: 10px 0px 10px grey; -moz-box-shadow: 10px 0px 10px grey; box-shadow: 10px 0px 10px grey;*/
/*imleblau #203362 grau #768087 rot #A31A15  petrol: #30576e */
a { color:#FFF; text-decoration:none; font-weight:300; }
a:visited { color:#FFF; text-decoration:none; font-weight:300;}
a:hover { color:#FFF; text-decoration:none; font-weight:300;}
a:active { color:#FFF; text-decoration:none; font-weight:300;}

p { font-weight:400; font-size:1.10em; line-height:130%; color:#768087; margin:0 }

.klein {font-size:0.60em; }
.fett {font-weight:700; }
.links {margin:0 0 0 15px; }
.gross { font-size:1.20em; line-height:120%; }
.pgross {font-size:0.90em; line-height:140%; text-transform: uppercase; letter-spacing:0.00em; }
.textlinks {margin:0 0 0 35px; }
.text {font-size:0.75em; line-height:150%; letter-spacing:0.0em; }
.weiss {color:#FFF;}
.blau {color:#203362;}
.rotVers {color:#A31A15; text-transform:uppercase; font-weight:700;}

.textmitte {font-size:0.90em; line-height:140%; letter-spacing:0.0em; text-transform: uppercase;}

.abstandoben {padding-top:10px;}
.abstandobeng {padding-top:30px;}
.abstandobenm {padding-top:7px;}
.abstandobenkg {padding-top:45px;}
.abstandunten {padding-bottom:10px;}
.abstanduntenr {padding-bottom:15px;}
.abstanduntenk {padding-bottom:5px;}
.abstanduntengk {padding-bottom:5px;}
.abstandunteng {padding-bottom:20px;}

.teasertext {font-size:0.70em; line-height:140%;}
.teasertextp {font-size:0.10em; line-height:20%; }
.teaserabstandunteng {padding-bottom:20px; color:#FFF;}

.textfooter {font-size:0.70em; margin:0 15px 0 0; padding:0; }

.textfeld {font-size:0.60em; margin:0; padding:2px 0; }
.button {font-size:0.60em; color:#FFF; background-color:#A31A15; text-decoration:none; margin:0 0 0 -4px; padding:4px; border: 0px; }
.button:hover {color:#D1D1D1; }

h1 { font-weight:400; font-size:1.60em; line-height:130%; letter-spacing:0.00em; color:#FFF; }
h2 { font-weight:400; font-size:0.95em; line-height:130%; letter-spacing:0.00em; margin: 0; color:#768087; text-transform: uppercase; }
h3 { font-weight:400; font-size:0.75em; line-height:130%; letter-spacing:0.00em; margin: 0; color:#768087; text-transform: uppercase; }
h4 { font-weight:400; font-size:1.3em; line-height:130%; letter-spacing:0.00em; margin: 0; color:#768087; }

/*Navigation on/off*/
#home #navHome a { background:url(../img/Navigation_Main_Back_grau.png) no-repeat top; overflow:hidden; cursor: default; }
#mainNavigation ul li a.classOn { background:url(../img/Navigation_Main_Back_grau.png) no-repeat top; overflow:hidden; }
#mainNavigation ul ul li a.classOn { background:url(../img/Main_Navi_Unter_grau.png) no-repeat top; overflow:hidden;
			background-position:0% 0%;
            display:block;
            text-decoration:none;
            margin:2px 0 0 0;
            padding:6px 0 6px 0; }
#Mobile a.classMOn { background-color: #BFC6CC; }

body { padding: 0px; margin: 0px; height:100%; background-color:#F4F4F4;}

.wrapper { width:1080px; margin:auto; }

#Site { background:url(../img/Back.png) repeat-y top; height:auto; margin: 0; }

/*Mobile Navigation*/
/* Clearfix */
.clearfixMob:before,
.clearfixMob:after {
    content: " ";
    display: table;
}
.clearfixMob:after {
    clear: both;
}
.clearfixMob {
    *zoom: 1;
}

#Mobile {
	display:none;
	height: 40px;
	width: 100%;
	background: #A31A15;
	font-size: 11pt;
	font-weight: bold;
	position: relative;
	border-bottom: 2px solid #283744;
}
#Mobile ul {
	padding: 0;
	margin: 0 auto;
	width: 600px;
	height: 40px;
}
#Mobile li {
	display: inline;
	float: left;
}
#Mobile a {
	color: #fff;
	background-color: #8c99a4;
	display: inline-block;
	width: 100px;
	text-align: center;
	text-decoration: none;
	line-height: 40px;
	text-shadow: 1px 1px 0px #283744;
}
#Mobile li a {
	border-right: 1px solid #576979;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}
#Mobile li:last-child a {
	border-right: 0;
}
#Mobile a:hover, #Mobile a:active {
	background-color: #BFC6CC;
}
#Mobile a#pull {
	display: none;
}

#MobileHotline {display:none;}

#mainNavigation { width:auto; height:30px; padding-top:20px; margin: 0 0 0 15px; text-align:center; letter-spacing:0.03em; font-size:0.95em; }
#mainNavigation ul { width:1080px; margin:0px auto; padding:0px; list-style-type: none; }
#mainNavigation li { display:inline-block; padding:0; margin:0; }
#mainNavigation li a { display:block; width:148px; padding:6px 0; margin: 0 0 0 -12px; background:url(../img/Navigation_Main_Back_rot.png) no-repeat top; overflow:hidden; }
#mainNavigation li a:hover { display:block; width:148px; padding:6px 0; margin: 0 0 0 -12px; background:url(../img/Navigation_Main_Back_grau.png) no-repeat top; overflow:hidden; }
#mainNavigation ul ul{ 
			background-color:#FFFFFF; 
			width: 140px;         
            margin: -2px 0 0 -12px;
			padding: 0; 
            position:absolute;
            z-index:100;
            list-style-type: none; 
            height: 0;
            overflow: hidden;
			-webkit-transition: height 0.3s ease-in;
            -moz-transition: height 0.3s ease-in;
            -o-transition: height 0.3s ease-in;
            -ms-transition: height 0.3s ease-in;
            transition: height 0.3s ease-in;
        }
        /* don't display tertiary box yet */
#mainNavigation > ul > li:hover ul ul, .navigation > ul > li > a:hover ul ul{
            height:0;    
        }
        
#mainNavigation > ul > li:hover ul, .navigation > ul > li > a:hover ul,
#mainNavigation ul ul li:hover > ul, .navigation ul ul li a:hover > ul{
            height:auto; /* need a height to accommodate any tertiary menus */

		}
        
#mainNavigation ul ul li{	
            /*background-color:#eaeaea; /* grey */
            
			margin:0px;
			padding:0px;
}
#mainNavigation ul ul li a {	
			 background:url(../img/Main_Navi_Unter_rot.png) no-repeat top; overflow:hidden;
			 background-position:0% 0%;
            display:block;
            text-decoration:none;
            margin:2px 0 0 0;
            padding:6px 0 6px 0; 
            
			-webkit-transition: background 0.3s ease;
            -moz-transition: background 0.3s ease;
            -o-transition: background 0.3s ease;
            -ms-transition: background 0.3s ease;
            transition: background 0.3s ease;
        }
        
#mainNavigation ul ul li:hover {
            
        }
        

#mainNavigation ul ul li a:hover, .navigation ul ul li:hover > a {
            background:url(../img/Main_Navi_Unter_grau.png) no-repeat top; overflow:hidden;
			 background-position:0% 0%;
			 margin:2px 0 0 0;
            padding:6px 0 6px 0; 
        }

#branding { width:auto; height:260px; margin-top:0px; background:url(../img/Header_Bild_Ueberuns.png) no-repeat center bottom; background-size:contain; overflow:hidden; }
#Logo { float:left; width:391px; margin-top: 50px; height:130px; background:url(../img/Logo_Imle.png) no-repeat; background-size:contain; overflow:hidden; }
#Anfruf { float: right; position: relative; width:180px; height:200px; margin:20px 25px 0 0; background:url(../img/Button_24h.png) no-repeat top left; background-size:contain; background-position: 50% 0%; overflow:hidden; }
/*#Anruffeld {position: absolute; bottom: 5px; padding:0 0 0 40px;}*/

#InhalteLinks {width:732px; height:650px; float:left; overflow:hidden; margin-left:50px; margin-right:4px; margin-bottom:20px; background:url(../img/Ueberuns_Back.png) no-repeat;  background-size:contain; overflow:hidden;}
#Rubrik {width:auto; height:138px; margin:0px; padding:0; color:#768087; }
#TextEins {float:left; width:350px; height:auto; margin:360px 4px 20px 5px; padding:10px 5px 0 0; font-weight:400; font-size:0.70em; line-height:80%; color:#768087;}
#TextEins a {color:#768087;}

#Sidebar { width:240px; height:auto; float:right; margin-right:50px; }

#TeaserEins {width:auto; height:auto; margin:0 0 10px 0; padding:0; }
#TeaserDrei {width:auto; height:auto; margin:0px 0 8px 0; padding:0; overflow:hidden; }
#TeaserDrei hr {margin:0 0 3px 0; padding:0 0 0 0; }
#TeaserDrei img {max-width:100%; margin:0; padding:0; }
/*#TeaserZwei {width:auto; height:260px;  background:url(../img/Teaser_Zwei_Allesaus.png) bottom no-repeat; background-color:#535B5F; align-content:center; overflow:hidden; margin:8px 0 4px 0; padding:0; }
#TeaserButton {width:auto; height:100px;  background:url(../img/Button_2.png) bottom no-repeat; background-size:contain; overflow:hidden; margin:8px 0 4px 0; padding:5px; }
*/

footer { width:100%; height:22px; padding:0; margin:0;}
footer #footerBox { margin:0 0 0 0; padding:0; height:22px; background:url(../img/Footer.png) repeat-x top #FFF; background-color:#4A4949; }
footer #footerBox ul { margin:0 0 0 50px; padding:1px;}
footer #footerBox li { float:left; height:100%; background:url(../img/Footer_Pfeil.png) right no-repeat; background-position: 100% 4%; background-size:contain; overflow:hidden; margin:0; padding:0; }
footer #footerBox li a { padding:0 10px 5px 10px; display:inline; }
footer #footerBox li a:hover { color:#D1D1D1; }

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

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

@media only screen and (min-width: 640px) and (max-width: 1024px) and (orientation: portrait) {
	/* Style tablet hoch */
#home #navHome a { background:url(../img/Navigation_Main_Back_grau.png) no-repeat top; background-size:110px 30px; overflow:hidden; cursor:default; }
#mainNavigation ul li a.classOn { background:url(../img/Navigation_Main_Back_grau.png) no-repeat top; background-size:110px 30px; overflow:hidden; }
#mainNavigation ul ul li a.classOn { background:url(../img/Main_Navi_Unter_grau.png) no-repeat top; background-size:110px 30px; overflow:hidden; cursor:default; }	

.wrapper { width:768px; margin:auto; }
#Sidebar { display:none; }

#mainNavigation { width:auto; height:30px; padding-top:20px; margin: 0 0 0 0px; text-align:center; letter-spacing:0.03em; font-size:0.75em; }
#mainNavigation ul { width:768px; margin:0px auto; padding:0px; list-style-type: none; }
#mainNavigation li a { display:block; width:110px; padding:10px 0; margin: 0 0 0 -7px; background:url(../img/Navigation_Main_Back_rot.png) no-repeat top; background-size:110px 30px; overflow:hidden; }
#mainNavigation li a:hover { display:block; width:110px; padding:10px 0; margin: 0 0 0 -7px; background:url(../img/Navigation_Main_Back_grau.png) no-repeat top; background-size:110px 30px; overflow:hidden; }
#mainNavigation ul ul{ background-color:#FFFFFF; width:110px; margin: -4px 0 0 -12px; padding: 0; position:absolute; list-style-type: none; height: 0; }

#branding { width:auto; height:200px; margin-top:0px; background:url(../img/Header_Bild_Ueberuns.png) no-repeat center bottom; background-size:contain; overflow:hidden; }
#Logo { float:left; width:290px; margin-top: 40px; height:170px; background:url(../img/Logo_Imle.png) no-repeat; background-size:contain; overflow:hidden; }
#Anfruf { float:right; width:130px; height:130px; margin:25px 10px 0 0; background:url(../img/Button_24h.png) no-repeat top left; background-size:contain; overflow:hidden; }

#InhalteLinks {width:730px; height:auto;float:left; overflow:hidden; margin-left:20px; margin-right:4px; margin-bottom:30px;}

footer { bottom:0; position:fixed; width:100%; }
footer #footerBox ul { margin:0 0 0 20px; padding:1px;}

}

@media only screen and (min-width: 640px) and (max-width: 1024px) and (orientation: landscape){
		/* Style ipad quer */

.wrapper { width:1024px; margin:auto; }

#mainNavigation { width:auto; height:30px; padding-top:20px; margin: 0 0 0 0px; text-align:center; letter-spacing:0.03em; font-size:0.95em; }
#mainNavigation ul { width:1024px; margin:0px auto; padding:0px; list-style-type: none; }

#branding { width:auto; height:230px; margin-top:0px; background:url(../img/Header_Bild_Ueberuns.png) no-repeat center bottom; background-size:contain; overflow:hidden; }
#Logo { float:left; width:350px; margin-top: 40px; height:170px; background:url(../img/Logo_Imle.png) no-repeat; background-size:contain; overflow:hidden; }
#Anfruf { float:right; width:150px; height:150px; margin:25px 30px 0 0; background:url(../img/Button_24h.png) no-repeat top left; background-size:contain; overflow:hidden; }

#InhalteLinks {width:730px; height:auto;float:left; overflow:hidden; margin-left:20px; margin-right:4px; margin-bottom:30px;}
#InhalteRechts {width:360px; height:560px; float:left; overflow:hidden; margin:0 8px 0 0; }
#Sidebar { width:240px; height:560px; float:right; margin-right:20px; }

footer { bottom:0; position:fixed; width:100%; }
footer #footerBox ul { margin:0 0 0 20px; padding:1px;}
}
/*Smartphones*/
@media screen and (max-width: 640px){
	h1 {color:#768087;}
	.abstandobeng {padding-top:10px;}
	.links {margin:0 0 0 0px;}
	
	#Site { background:none; background-color:#FFF; height:auto; margin: 0; }
	.wrapper { width:100%; margin:auto; }
	
	#mainNavigation {display: none;}
	
	#Mobile {
		position:fixed;
		top:0px;
		height: auto;
		display:inline;
		border-bottom: 0;
		z-index:100;
	}
	#Mobile ul {
		width: 100%;
		display: none;
		height: auto;
	}
	#Mobile li {
	width: 50%;
	float: left;
	position: relative;
	}
	#Mobile li a {
		border-bottom: 1px solid #576979;
		border-right: 1px solid #576979;
	}
  	#Mobile a {
	  	text-align: left;
	  	width: 100%;
	  	text-indent: 25px;
  	}
	#Mobile a#pull {
		display: block;
		background-color:#768087;
		width: 100%;
		position: relative;
	}
	#Mobile a#pull:after {
		content:"";
		background: url('../img/nav-icon.png') no-repeat;
		width: 30px;
		height: 30px;
		display: inline-block;
		position: absolute;
		right: 15px;
		top: 10px;
	}	
	
	#MobileHotline {height:25px; width:100%; position:fixed; top:40px; padding:0px 0 0 0; margin:0 auto; display:inline; z-index:1; background-color:#A31A14; border-top: 3px solid #FFF; border-bottom: 2px solid #FFF; text-align:center; line-height:1.5em; }
	#branding { width:auto; height:5.9em; margin-top:60px; background:url(../img/Header_Bild_Mobile_Ueberuns.png) no-repeat right bottom; background-size:contain; overflow:hidden; }
	#Logo { float:left; width:50%; height:80%; margin-top:20px; background:url(../img/Logo_Imle.png) no-repeat left top; background-size:contain; overflow:hidden; }
	#Anfruf { display:none;}
	
.BildEins {background: url(../img/Sevice_Back_Mobile_02.png) no-repeat left top; background-size:100%;}
.BildZwei {background: url(../img/Sevice_Back_Mobile_03.png) no-repeat left top; background-size:100%;}
.BildDrei {background: url(../img/Sevice_Back_Mobile_04.png) no-repeat left top; background-size:100%;}
.links {margin:0 0 0 20px;}
	
#InhalteLinks {width:100%; height:40em;float:left; overflow:hidden; margin-left:0%; margin-right:0%; margin-bottom:10px; background:none no-repeat; background-size:100%; overflow:hidden; }
#Rubrik {width:100%; height:17em; margin:0px 0 0px 0; padding:0px 0 0 0px; background: url(../img/UeberUns_Back_Mobile.png) no-repeat left top; background-size:100%; }
#TextEins { width:80%; height:12em; margin: 10px 0px 0px 0;; padding:25px 0px 0 20px; font-weight:400; font-size:0.70em; line-height:80%; color:#768087; }
#TextEins a {color:#768087;}

#Sidebar { width:100%; height:auto; float:left; margin-right:0px; }
#TeaserEins {display:none; }
#TeaserDrei {width:32%; height:auto; margin:0px 0 8px 2px; padding:0; overflow:hidden; float:left;}
#TeaserDrei hr {margin:0 0 3px 0; padding:0 0 0 0; }
#TeaserDrei img {max-width:100%; margin:0; padding:0; }
#TeaserDrei p {display:none;}
	
	footer { width:100%; padding:0; margin:0; }
	footer #footerBox { margin:0 0 0 0; padding:0; height:auto; background:none; background-color: #A21A14; }
	footer #footerBox ul { height:auto; margin:0 0 0 40px; padding:1px; display:block; }
	footer #footerBox li { height:auto; width:90%; background:url(../img/Footer_Pfeil.png) right no-repeat; background-position: 100% 40%; background-size:7% 40%; overflow:hidden; margin:0px 0; padding:10px 0; border-bottom: 1px solid #FFF;}
	footer #footerBox li:last-child { border-bottom: 0px solid #FFF; }
	footer #footerBox li a { padding:0 0px 0px 0px; }
	footer #footerBox li a:hover { color:#D1D1D1; }
}
/* ==========================================================================
   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;
    }
}
