/* Contao Open Source CMS, (c) 2005-2015 Leo Feyer, LGPL license */
body,div,h1,h2,h3,h4,h5,h6,p,blockquote,pre,code,ol,ul,li,dl,dt,dd,figure,table,th,td,form,fieldset,legend,input,textarea{margin:0;padding:0}table{border-spacing:0;border-collapse:collapse}caption,th,td{text-align:left;text-align:start;vertical-align:top}abbr,acronym{font-variant:normal;border-bottom:1px dotted #666;cursor:help}blockquote,q{quotes:none}fieldset,img{border:0}ul{list-style-type:none}sup{vertical-align:text-top}sub{vertical-align:text-bottom}del{text-decoration:line-through}ins{text-decoration:none}header,footer,nav,section,aside,article,figure,figcaption{display:block}body{font:12px/1 "Lucida Grande","Lucida Sans Unicode",Verdana,sans-serif;color:#000}input,button,textarea,select{font-family:inherit;font-size:99%;font-weight:inherit}pre,code{font-family:Monaco,monospace}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}h1{font-size:1.8333em}h2{font-size:1.6667em}h3{font-size:1.5em}h4{font-size:1.3333em}table{font-size:inherit}caption,th{font-weight:bold}a{color:#00f}h1,h2,h3,h4,h5,h6{margin-top:1em}h1,h2,h3,h4,h5,h6,p,pre,blockquote,table,ol,ul,form{margin-bottom:12px}
body,form{margin:0;padding:0}img{border:0}header,footer,nav,section,aside,article,figure,figcaption{display:block}body{font-size:100.01%}select,input,textarea{font-size:99%}#container,.inside{position:relative}#main,#left,#right{float:left;position:relative}#main{width:100%}#left{margin-left:-100%}#right{margin-right:-100%}#footer{clear:both}#main .inside{min-height:1px}img{max-width:100%;height:auto}.ie7 img{-ms-interpolation-mode:bicubic}.ie8 img{width:auto}.ce_gallery ul{margin:0;padding:0;overflow:hidden;list-style:none}.ce_gallery li{float:left}.ce_gallery li.col_first{clear:left}.block{overflow:hidden}.clear,#clear{height:.1px;font-size:.1px;line-height:.1px;clear:both}.invisible{width:0;height:0;left:-1000px;top:-1000px;position:absolute;overflow:hidden;display:inline}.custom{display:block}#container:after,.custom:after{content:".";display:block;height:0;clear:both;visibility:hidden}
html {
	height: 100%;
	font-size: 62.5%;
	overflow-y: scroll;
}
body {
	height: 100%;
	color: #000;
	font-family: 'Droid Sans', sans-serif;
	font-size: 1.3rem;
	line-height: 1.6rem;
	background: #fff url("../../files/images/rs-bauhandwerk-background.jpg");
}
h1, h2, h3, h4,  h5 {
	font-weight: bold;
	font-size: 1.4rem;
}
figure img {
	display: block;
	outline: 0;
}
.webkit input {
	-webkit-appearance:none !important;
}
a, a > span {
	color: #004F9F !important;
	outline: 0;
  text-decoration: none;
}
a:hover, a:hover > span {
	color: #000 !important;
}
#wrapper {
	position: relative;
	min-height: 100%;
	background: transparent url("../../files/images/shadow-bg.png") repeat-y center center;
}
#header {
	border-bottom: 7px solid #fff;
}
#footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	background: transparent url("../../files/images/overlay-footer.png") repeat-x bottom left;
}
#header .inside {
	width: 980px;	
	margin: 0 auto;
}
#footer .inside {
	width: 980px;
	margin: 0 auto;
	height: 110px;
}
#main, #right {
	background: #fff;
}
.dft #footer .inside {
	height: 235px;
}
#header {
	background: transparent url("../../files/images/overlay.png") repeat-x top left;
}
#container {
	min-height: 200px;
	padding: 152px 310px 115px 0;
	width: 670px;
	margin: 0 auto;
}
.ref #container
{
	width: 980px;
	padding: 152px 0 115px 0;
}
.dft #container {
	padding-bottom: 240px;
}
.c-header {
	width: 980px;
	height: 150px;

	position: absolute;
	top: 0;
	left: 0;
	overflow: visible;
}
.c-header .inside {
	position: relative;
	width: 900px;
	height: 150px;
	margin: 0 40px;
	background: #fff;
	border-bottom: 1px solid #9D9D9D;

}
.c-header .c-navigation {
	overflow: visible;
}
#main .inside {
	min-height: 350px;
	padding: 20px 40px 40px;
}
.dft.webkit #main {
	width: 669px !important;
	margin-left: 1px !important;
}
#right .inside {
	padding: 30px 0 0 3px;
}
.c-logo {
	position: absolute;
	top: 5px;
	left: 40px;
}
.c-slogan {
	position: absolute;
	top: 25px;
	right: 27px;
}
.c-navigation {
	position: absolute;
	right: 0px;
	bottom: 0;
	background: #ebebeb;
	width: 550px;
	padding-right: 120px;
	height: 60px;
	overflow: visible;
}
.c-navigation ul {
	padding: 25px 0 15px;
}
.c-navigation .level_1 > li {
	display: block;
	position: relative;
	float: left;
	width: 105px;
	height: 20px;
	text-align: center;
}
.c-navigation li.submenu {
	height: auto;
}
.c-navigation a, .c-navigation span.active {
	color: #9D9D9D !important;
	text-decoration: none;

}
.c-navigation a:hover, .c-navigation span.active {
	color: #000 !important;
}
.c-navigation span.active {
	border-bottom: 1px solid #D51130;
}
.c-search {
	position: absolute;
	bottom: 0;
	right: 7px;
	background: #9d9d9d;
	width: 125px;
	height: 25px;
	padding: 0 20px 0 0;
	margin: 20px 0 15px;
}
.c-search input {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100px;
	height: 25px;
	line-height: 25px;
	border: 0;
	background: transparent;
	padding: 0 5px;
	color: #f8f8f8;
	border-radius: 0;
	box-shadow: 0 0 0;
	transition: none;
}
.c-search input:focus {
	background: #9d9d9d;
	border: 0;
	outline: 0;
}
.c-search .submit {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	background: #9d9d9d;
	cursor: pointer;
	border: 0;
	width: 25px;
	height: 25px;
	line-height: 15px;
	padding: 0 !important;
}
.c-search img {
	margin-top: 1px;
	width: 15px;
	height: 15px;
}
.f-copyright {
	position: absolute;
	bottom: 25px;
	right: 30px;
	color: #fff;
}
.f-copyright a {
	color: #fff !important;
	text-decoration: none;
}
.f-copyright a:hover {
	color: #000 !important;
}
.mod_search .radio_container, .mod_search .header {
	margin-top: 5px;
}
.c-form {
	width: 450px;
}
.c-form input, .c-form textarea {
	margin: 5px 0;
}
.c-form textarea {
	resize: none;
}
.c-newslist {
	margin-top: 25px;
}
.c-newslist .item {
	padding: 10px 0;
	border: 1px solid #9C9C9C;
	border-left: 0;
	border-right: 0;
}
.c-newslist a {
	color: #D51130;
	text-decoration: none;
}
.c-newslist a:hover {
	color: #000;
}
.ce_randomgallery, .partner-gallery {
	padding-top: 20px;
	margin: 0 40px;
	border-top: 1px solid #9c9c9c;
}
.ce_randomgallery .image, .partner-gallery .partner {
	float: left;
	width: 140px;
	height: 105px;
	margin-right: 12px;
}
.ce_randomgallery .image.last, .partner-gallery .last {
	margin: 0;
}
.beforeafter {
	width: 900px;
	height: 675px;
}
.pagination p {
	display: block;
	width: 20%;
}
.pagination li {
	float: left;
	padding: 0 2px;
}
.pagination li.page {
	margin-right: 5px;
	padding: 2px 5px;
}
.pagination a, .pagination span.current {
	display: block;
	padding: 2px 5px;
	border-radius: 10px;
	background: #D51130;
	color: #fff;
	text-decoration: none
}
.pagination a:hover, .pagination span.current {
	background: #9c9c9c;
	color: #000;
}
#slideshow {
	margin: 0;
}
.ce_dma_eg_3 {
	height: 123px;
}
.bfaf-wrapper {
	padding: 0 0 15px;
	margin-bottom: 20px;
	border-top: 1px solid #EBEBEB;
	border-bottom: 1px solid #EBEBEB;
}
.h-address {
	position: absolute;
	right: 70px;
	bottom: 10px;
	color: #fff;
	text-shadow: 2px 2px 2px #000;
}
.c-navigation .level_2 {
	display: none;
	background: #EBEBEB;
	width: 150px;
	padding: 5px;
	z-index: 15000;	
	position: absolute;
	top: 37px;
	left: -10px;

}
.c-navigation .level_2 > li {
	padding: 5px 0;
	text-align: left;
}
.c-manual {
	text-align:right;
	font-size: 1.2rem;
	color: #ff0000;
	margin-bottom: 5px;
}
.partner img {
	opacity: 0.5;
	filter: alpha(opacity = 50);
	zoom: 1;
}
.partner img:hover {
	opacity: 1;
	filter: alpha(opacity = 100);
}
/* Colorbox Changes */
#cboxPrevious{position:absolute; top:50%; left:15px; margin-top:-32px; background:url("../../files/images/controls-neu.png") no-repeat top left; width:28px; height:65px; text-indent:-9999px;}
#cboxNext{position:absolute; top:50%; right:15px; margin-top:-32px; background:url("../../files/images/controls-neu.png") no-repeat top right; width:28px; height:65px; text-indent:-9999px;}
#cboxClose{position:absolute; top:10px; right:5px; display:block; background:url("../../files/images/controls-neu.png") no-repeat top center; width:38px; height:25px; text-indent:-9999px;}

/* Placeholder */
::-webkit-input-placeholder {
   color: #f8f8f8;
}
::input-placeholder {
	color: #f8f8f8;
}
::-moz-placeholder {  /* Firefox 19+ */
   color: #fff !important;  
}
:-moz-placeholder { /* Firefox 18- */
   color: #f8f8f8 !important;  
}
:-ms-input-placeholder {  
   color: #f8f8f8;  
}
.footer_gal {
	padding-top:20px;
	margin: 0 40px;
	border-top:1px solid #9c9c9c;
}

.footer_gal .col_last figure {
  margin-right: 0 !important;
}
