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

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

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

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

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

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}


html {
	overflow-y: scroll;
	}
	

body {
	font-family: 'Roboto', sans-serif;
	font-size:16px;
	color:#4C4C4C;
	font-weight:normal;
	line-height:1.35;
	background-color:#FFF;
	height:101%;
}

#scroll {
    position:fixed;
    right:10px;
    bottom:10px;
    cursor:pointer;
    width:50px;
    height:50px;
    background-color:#f1d11d;
    text-indent:-9999px;
    display:none;
    -webkit-border-radius:60px;
    -moz-border-radius:60px;
    border-radius:60px;
	z-index:99999;
}
#scroll span {
    position:absolute;
    top:50%;
    left:50%;
    margin-left:-8px;
    margin-top:-12px;
    height:0;
    width:0;
    border:8px solid transparent;
    border-bottom-color:#ffffff
}
#scroll:hover {
    background-color:#18682d;
    opacity:1;filter:"alpha(opacity=100)";
    -ms-filter:"alpha(opacity=100)";
}

#wrapper {
	width:100%;
	padding:0;
}


#header {
	position:relative;
	width:100%;
	height:200px;
	z-index:900;
}

#logo-wrapper {
	position:relative;
	max-width:1240px;
	width:100%;
	height:70%;
	margin:0 auto;
}

#logo {
	float:left;
	width:24%;
	margin:20px 2.4% 0 2.4%;
	height:auto;
}

#logo img {
	width:100%;
	height:auto;
}

#subnavi-wrapper {
	float:left;
	width:67.6%;
	margin:20px 2.4% 20px 1.2%;
	height:30px;
}

#subnavi {
	float:right;
	width:auto;
	height:30px;
	line-height:30px;
	padding: 0;
	text-align:right;
	z-index:1;
}

.sub {
	width:auto;
	float:left;
	height:60px;
}

.sub li {
	float:left;
	width:auto;
	list-style:none;
}


.sub li a, .sub li a:visited {
	display:block;
	text-decoration:none;
	font-size:1.1em;
	font-weight:400;
	color:#432a19;
	padding:0 10px;
}

.sub li:last-child a {
	padding-right:0;
	border:none;
}

ul.sub li.active a {
	color:#26A345;
}

.sub li a:hover, .sub a:focus {
	color: #1A6F2F;
}

#facebook, #gwerb {
	float:right;
	margin-left:2.4%;
	width:12px;
	height:24px;
	padding:3px 0;
	padding: 0;
}

#facebook img, #gwerb img {
	width:100%;
	height:auto;
}

#address {
	position:absolute;
	bottom:23px;
	left:51%;
	width:48%;
	height:20px;
}

#phone{
	float:left;
	height:20px;
	line-height:20px;
	width:auto;
	padding-left:23px;
	background-image:url(../img/phone.png);
	background-position:left bottom;
	background-repeat:no-repeat;
}

#mail {
	float:left;
	height:20px;
	line-height:20px;
	width:auto;
	background-image:url(../img/mail.png);
	background-position:left bottom;
	background-repeat:no-repeat;
	padding-left:40px;
	margin-left:2.4%
}

#phone h3, #mail h3 {
	font-size:1em;
	color:#4C4C4C;
	font-weight:500;
}

#phone h3 a, #mail h3 a,
#phone h3 a:visited, #mail h3 a:visited {
	text-decoration:none;
	color:#4c4c4c;
}

#phone h3 a:hover, #mail h3 a:hover {
	color:#26A245;
}

/* slider */

#slider {
	width:100%;
	height:auto;
	border-bottom:5px solid #26A245;
}

.flexslider {
    margin: 0 ;
    background: #fff;
    border:none;
    -webkit-border-radius:0;
    -moz-border-radius:0;
    border-radius:0;
    -webkit-box-shadow:none;
    -moz-box-shadow:none;
    -o-box-shadow:none;
    box-shadow:none;
}

.tx-ws-flexslider .caption-align-left .caption-text {
	left:auto;
    right:8%;
}
.tx-ws-flexslider .caption-text {
    width: 350px;
    top:auto;
	bottom: 20px;
    background-color: rgba(255, 255, 255, 0.9);
}

#slider .caption-text {
	padding:1.5em 20px 2em 15px !important;
	border:3px solid #26A245 !important;	
	background-color:rgba(255,255,255,0.8);
}

#uid-1 .flexslider {
	display:none;
}

#slider .caption-title {
	line-height:1;
	font-size:2em;
	font-weight:500;
	color:#26A245;
	margin-bottom:.5em;
}

#uid-1 #slider {
	background-image:url(../Bilder/Slider/Husqvarna_Automover.jpg);
	background-repeat:no-repeat;
	background-size:100% 100%;
	width:100%;
	height:0;
	padding-bottom:30%;
}

#uid-1 #slider img {
	width:100%;
	height:auto;
}



/* Hauptnavigation */

#navi-wrapper {
	width:100%;
	height:60px;
	background-color:#26A345;
	box-shadow:2px 2px 2px #333;
}

#navi-center {
	max-width:1240px;
	width:100%;
	margin:0 auto;
	height:60px;
}

#home {
	float:left;
	height:26px;
	width:3.5%;
	padding: 17px 0;
	margin:0 2% 0 2.4%;
}

#home img {
	height:100%;
	width:auto;
}

#navi {
	float:left;
	width:92%;
	height:60px;
	line-height:60px;
}
.mainnavi {
	width:100%;
	float:left;
	list-style-type:none;
}

.mainnavi li {
	position:relative;
	float:left;
	width:auto;
	font-size:1.2em;
	font-weight:500;
	padding:0 2.5% 0 0;
}

.mainnavi li a, .mainnavi li a:visited {
	display:block;
	text-decoration:none;
	color:#FFF;
}

ul.mainnavi li.active a {
	color:#F1D11D;
}

.mainnavi li a:hover, .mainnavi a:focus {
	color:#ddd;
}


/* Unternavigation */

.mainnavi ul {
    position: absolute;
    top: 55px;
    left: 0px;
    opacity: 0;
	padding-top:10px;
}
 
.mainnavi li:hover > ul { opacity: 1; }
 
.mainnavi li ul li {
    height: 0;
    overflow: hidden;
    padding: 0;
    -webkit-transition: height .3s ease .0s;
    -moz-transition: height .3s ease .0s;
    -o-transition: height .3s ease .0s;
    -ms-transition: height .3s ease .0s;
    transition: height .3s ease .0s;
	font-size:0.9em;
	display:block;
	min-width:260px;
	text-align:left;
	background-color:#26A345;
}

.mainnavi li ul li:hover {
	background-color: #1D7A34;
}
 
.mainnavi li:hover > ul li {
	height: 40px;
	line-height: 40px;
	overflow: visible;
	padding: 0 20px;
	list-style: none;
}

.mainnavi ul li a {
	min-width:100%;
    padding: 0px;
    margin:0px;
	color:#fff;
}

ul.mainnavi ul li a:hover {
	color:#fff;
}

ul.mainnavi li.active ul li a {
	color:#fff;
}

ul.mainnavi li.active ul li {
	color: #fff;
	background-color:#26A345;
}

ul.mainnavi li.active ul li a:hover,
ul.mainnavi li.active ul li:hover {
	background-color: #1D7A34;
}


#mobilemenu {
	display:none;
}

/* content */

#content_all {
	max-width:1240px;
	width: 100%;
	margin: 0 auto;
	height: auto;
}

/* Inhalte */

#content {
	float:left;
	width:95.2%;
	min-height:300px;
	padding:40px 2.4%;
}

#content h1 {
	color:#26A345;
	font-size:2em;
	font-weight:600;
	margin-bottom:1em;
	background-image:url(../img/bg/h1-bg.png);
	background-position:left center;
	background-repeat:no-repeat;
	padding-left:60px;
	line-height:1;
}

#content h2 {
	font-weight: 500;
	font-size: 1.25em;
	/*border: 2px solid #f1d11d;*/
	background-color: #FFF;
	color: #18682D;
	height: 40px;
	line-height: 40px;
	margin-top: 1em;
	margin-bottom: 0.5em;
	padding: 0 5px;
	text-align: center;
  	position:relative;
    -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
       -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
            box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}

#content h2:before, #content h2:after{
	content:"";
    position:absolute;
    z-index:-1;
    -webkit-box-shadow:0 0 20px rgba(0,0,0,0.8);
    -moz-box-shadow:0 0 20px rgba(0,0,0,0.8);
    box-shadow:0 0 20px rgba(0,0,0,0.8);
    top:50%;
    bottom:0;
    left:10px;
    right:10px;
    -moz-border-radius:100px / 10px;
    border-radius:100px / 10px;
}

#content h2:after{
	right:10px;
    left:auto;
    -webkit-transform:skew(8deg) rotate(3deg);
       -moz-transform:skew(8deg) rotate(3deg);
        -ms-transform:skew(8deg) rotate(3deg);
         -o-transform:skew(8deg) rotate(3deg);
            transform:skew(8deg) rotate(3deg);
}

#content h2 a, #content h2 a:visited {
	color:#FFF;
}

#content h2 a:hover {
	color:#fff;
	text-decoration:underline;
}

#content .column2 h2, #content .column3 h2, #content .column4 h2 {
	background-color:#18682D;
	color:#fff;
	border:none;
	margin-bottom: 0;
}

#content .column2 h2:before, #content .column3 h2:before, #content .column4 h2:before,
#content .column2 h2:after, #content .column3 h2:after, #content .column4 h2:after {
	-webkit-box-shadow:none;
    -moz-box-shadow:none;
    box-shadow:none);
	    -webkit-transform:none;
       -moz-transform: none;
        -ms-transform:none;
         -o-transform:none;
            transform:none;
}

#content #c64 h2 {
	background-color:#f1d11d;
	border:none;
	color:#2a2a2a;
		margin-bottom: 0;
}
	

#content h3 {
	font-weight: 500;
	font-size: 1.1em;
	color: #2e2e2e;
	margin-bottom: 0.35em;
}
#c250 {
	display:none;
}

#uid-1 #c250 {
	display:block;
}

#c250 {
	max-width:600px;
	width:100%;
	margin:0 auto;
	background:rgba(255,255,255,.7);
	padding:75px 50px;
}

#c250 h3 {
	text-align:center;
	font-size:1.75em;
	margin-bottom:.5em;
}

#c250 p {
	font-size:1.2em;
	text-align:center;
}

#c250 .ce-media img {
	border:none;
}

#content h4 {
	font-weight: 500;
	color: #2e2e2e;
	margin-bottom: 0.35em;
}


#content p {
	margin-bottom:0.75em;
}

#content a, #content a:visited,
#c250 a, #c250 a:visited {
	color: #26A345;
	text-decoration: none;
}

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

#content b {
	font-weight:500;
	color:#26A345;
}

#content ul {
	margin-bottom:15px;
}

#content li {
	margin-left:15px;

}

#content iframe {
	max-width:100%;
}

/* Bilder */

#content img {
	max-width:100%;
	height:auto;
	border:1px solid #ccc;
	-moz-box-sizing: border-box;
   -webkit-box-sizing: border-box;
   -ms-box-sizing: border-box;
    box-sizing:border-box;
}

/* bildergalerie */

#content .ce-gallery,
#content .ce-row {
	float:left;
	width:100%;
	height:auto;
}

#content .ce-intext .ce-gallery,
#content .ce-intext .ce-nowrap .ce-gallery {
	max-width:360px;
	width:45%;
	margin-right:5%;
}

#content .ce-gallery[data-ce-columns="1"] .ce-column {
	float:left;
	width:100%;
	height:auto;
}

#content .ce-gallery[data-ce-columns="2"] .ce-column {
	float:left;
	width:45%;
	height:auto;
	margin-right:10%;
}

#content .ce-gallery[data-ce-columns="3"] .ce-column {
	float:left;
	width:30%;
	height:auto;
	margin-right:5%;
}

#content .ce-gallery[data-ce-columns="4"] .ce-column {
	float:left;
	width:12%;
	height:auto;
	margin-right:4%;
}

#content .ce-gallery[data-ce-columns="5"] .ce-column {
	float:left;
	width:18%;
	height:auto;
	margin-right:2.5%;
}

#content .ce-gallery[data-ce-columns="6"] .ce-column {
	float:left;
	width:15%;
	height:auto;
	margin-right:2%;
}

#content .ce-gallery[data-ce-columns="2"] .ce-column:last-child,
#content .ce-gallery[data-ce-columns="3"] .ce-column:last-child,
#content .ce-gallery[data-ce-columns="4"] .ce-column:last-child,
#content .ce-gallery[data-ce-columns="5"] .ce-column:last-child,
#content .ce-gallery[data-ce-columns="6"] .ce-column:last-child {
	margin-right:0;
}

.contentRow {
	margin-bottom:20px;
}

/* 1-spaltig */

.column1 {
	max-width:640px;
	width:100%;
	margin:0 auto;
}


/* 2 spaltig */

.column2 {
	float:left;
	width:45%;
	margin-right:10%;
}

/* 3 spaltig */

.column3 {
	float:left;
	width:28%;
	margin-right:8%;
}

/* 4-spaltig */

.column4 {
	float:left;
	width:22.75%;
	margin-right:3%;
}

.last {
	margin-right:0;
}


.clear {
	content:".";
	display:block;
	clear:both;
	font-size:0;
	height:0;
	visibility:hidden;
}

/* footer */

footer {
	margin:0px auto;
	padding:8px 0px;
	height:15px;
	max-width:1240px;
	width:100%;
	font-size:13px;
	text-align:right;
	line-height:1em;
}

#webdesigner {
	font-family:Arial, Helvetica, sans-serif;
	float:right;
}

#webdesigner img {
	margin-left:-3px;
	margin-bottom:-5px;
}

#webdesigner a, #webdesigner a:visited {
	text-decoration:none;
	color:#666;
	padding:5px;
}

#webdesigner a:hover {
	color:#CCC;
}






/* ==========================================================================
   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.
   ========================================================================== */

/* ==========================================================================
   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,
    *:first-letter,
    *:first-line {
        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;
    }
}