/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea,
p {
    color: #2e2a22;
}


::-moz-selection {
    background: rgba(255, 180, 110, 0.5);
    text-shadow: none;
}

::selection {
    background: rgba(255, 180, 110, 0.5);
    text-shadow: none;
}

hr {
    display: block;
    height: 2px;
    border: 0;
    border-top: 2px solid #fff;
    margin: 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

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

textarea {
    resize: vertical;
}

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

.ui-tooltip {
	background: #fff;
	padding: 5px;
	width: 150px;
	font: 0.8em/1.5em "Source Sans Pro", Helvetica, sans-serif;
	color: #828282;
	-webkit-box-shadow: 0 5px 10px -5px #2e2a22;
	box-shadow: 0 5px 10px -5px #2e2a22;
}

.ui-accordion .ui-accordion-header, .ui-accordion .ui-accordion-header-active {
	display:block;
	cursor: pointer;
	position: relative;
	min-height: 0;  /*support: IE7 */
	outline:none;
	overflow:auto;
}

.ui-accordion .ui-accordion-content {
	display:block;
	border: 0;
}

.small {
	font-size: 0.85em;
	font-weight:normal;
}

/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

/* ===================
    ALL: Theme
   =================== */
body, .xtra {
    font: 16px/26px "Source Sans Pro", Helvetica, sans-serif;
	color: #2e2a22;
}
.logo {
    background: url(../images/logo.png) top center no-repeat;
    background-size: 100% auto;
    width: 226px;
    height: 172px;
    margin: 35px;
    float:left;
}
.content {
	padding: 0;
}
.content p {
    font: 1em/1.4em "Source Serif Pro", Times, serif;
}
a {
    text-decoration: none;
    color:#F49900;
}
a:hover {
    color:#2e2a22;
}
a[href^="tel"]:link, a[href^="tel"]:visited, a[href^="tel"]:hover {
    
    color: #fff;
}
.content h1, .content h2, .content h3, .content h4, .content h5 {
    font: 1.1em/1.2em "Source Sans Pro", Helvetica, sans-serif;
    font-weight: normal;
}
#header_start {
	background: url(../images/h_instr.jpg);
}
#header_ist {
	background: url(../images/h_bohrerc.jpg);
}
#header_impressum {
	background: url(../images/h_labor.jpg);
}
#header_leistet {
	background: url(../images/h_bohrerm.jpg);
}
#header_zeigt {
	background: url(../images/h_zangen.jpg);
}
#header_start, #header_ist, #header_leistet, #header_zeigt, #header_impressum {
	background-repeat: no-repeat;
    background-size: 100%;
	height:100%;
	width:66%;
	float:left;
}
#opt {
	width: 33%;
	padding-left: 20px;
	margin: 20px 0 0 0;
	float:left;
}
#main ul {
	padding: 0 15px 0 30px;
}
#main li {
	list-style:url(../images/listimg.gif);
}
#speach {
	background:url(../images/speach.png) no-repeat;
	margin: 220px 0 0 -40px;
	height: 50px;
}
#nav {
	margin:0 0 0 40px;
	padding:15px 0 0 0;
	height: 25px;
}

.galitem {
	background:url(../images/content_bg.gif);
	width: 140px;
	height: 140px;
	margin: 0 15px 30px 15px;
	padding: 5px;
	float:left;
	text-align:center;
	display:table;
	vertical-align:middle;
}
.galitem img {
	margin:0;
	padding:0;
}
.galimg {
	position: static;
	display: table-cell;
	vertical-align: middle;
}

.fltrt {
	float: right;
	margin-left: 8px;
}
.fltlft {
	float: left;
	margin-right: 8px;
}
.clearfloat {
	clear:both;
	height:0;
	font-size: 1px;
	line-height: 0px;
}

.linksbuendig {
	text-align:left;
}
.rechtsbuendig {
	text-align:right;
}
.mittig {
	text-align:center;
}
.footer {
    background:url(../images/footerbar.png) center top no-repeat;
    background-size:100%;
	clear:both;
	display:block;
    max-width:100%;
    height:80px;
	margin:0;
    padding:60px 20px 0 20px;
    color:#fff;
}

.footer a:link, .footer a:visited {
    color:#fff;
}
.footer a:hover {
    color:#2e2a22;
}

td {
	border:none;
	vertical-align:top;
}

/* ==============
    MOBILE: Menu
   ============== */
#nav ul {
    margin: 0;
    padding: 0;
}

/* ==============
    MOBILE: Main
   ============== */

.main img {
	max-width:100%;
	max-height:inherit;
}


/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

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

@media only screen and (min-width: 900px) {
/* ============
    MAX WIDTH
   ============ */
    body {
        background: #fff url(../images/body_bg.gif) repeat center top;
    }
    #website {
        background: url(../images/top_bg.gif) repeat-x;
        height: 562px;
        width: 100%;
        padding-top:20px;
    }
    .container {
	border: 3px solid #FFF;
    background: url(../images/content_bg.gif) repeat left top;
	-moz-box-shadow:1px 4px 5px rgba(0,0,0,.22);
    -webkit-box-shadow:1px 4px 5px rgba(0,0,0,.22);
    box-shadow:1px 4px 5px rgba(0,0,0,.22);
	max-width: 900px;
	margin: 0 auto;
    }

    #header_start, #header_ist, #header_leistet, #header_zeigt, #header_impressum {
        width:67%;
        background-size: 100%;
    }
    
    
    #main {
	width: 63%;
	float:left;
	margin: 20px 0 0 0;
}
	
}
@media only screen and (max-width: 900px) {
/* ===============
    INTER WIDTH
   =============== */
body, #website, .container {
        background: none;
    }
    
    #main {
        width: 95%;
        float:none;
        margin: 20px auto 0 auto;
    }
    #header_start, #header_ist, #header_leistet, #header_zeigt, #header_impressum {
        width:95%;
        margin: 0px auto 0px auto;
        background-size: 100%;
    }
    #speach {
        background:none;
    }

}
@media only screen and (max-width: 768px) {
    .footer {
    height: 120px;
	margin:0;
    padding:40px 20px 0 20px;
}
}

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


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

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

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

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
		font: 16px/26px Helvetica, Helvetica Neue, Arial;
        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;
    }
}