/*
 * HTML5 Boilerplate
 *
 * 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;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

::-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 and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	color: #333;
	font-weight: 700;
}

h1 { font-size: 22px; }
h2 { font-size: 18px; }
h3 { font-size: 15px; }
h4 { font-size: 14px; }
h5 { font-size: 12px; }
h6 { font-size: 10px; }

ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

strong, b {
	color: #707070;
	font-weight: 700;
}

p {
	margin: 0 0 15px;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */
*, *:before, *:after {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

html, body {
	background: #fff;
	margin: 0;
	padding: 0;
	
	color: #888;
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 13px;
	font-weight: normal;
	text-align: left;
	line-height: 24px;
}

.wrap {
	width: 990px;
	margin: 0 auto;
	position: relative;
}


/* ==========================================================================
  Head
   ========================================================================== */
#head {
	background: #fff;
	width: 100%;
	height: 130px;
	position: relative;
}

#head a#logo {
	width: 167px;
	height: 72px;
	display: block;
	
	position: absolute;
	top: 30px;
	left: 0;
}

#head #main-navigation ul {
	position: absolute;
	top: 50px;
	right: 0;
}

#head #main-navigation ul li {
	float: left;
}

#head #main-navigation ul li.divider {
	margin: 0 15px;
	
	color: #22a1e6;
	line-height: 30px;
	font-size: 20px;
}


#head #main-navigation ul li a {
	background: #fff;
	display: inline-block;
	padding: 5px 15px 3px;
	
	color: #162a62;
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
	
	border-radius: 3px;
}

#head #main-navigation ul li a:hover,
#head #main-navigation ul li a.active {
	background: #22a1e6;
	color: #fff;
	text-decoration: none;
}

#header {
	background: url(../images/header-bg.jpg) no-repeat center top #c7c7c7; 
	width: 100%;
	height: 756px;
	padding: 30px 0;
	position: relative;
}

#header .shadow-top {
	background: url(../images/header-shadow-top.png) repeat-x 0 -1px;
	width: 100%;
	height: 5px;
	
	position: absolute;
	top: 0;
	left: 0;
}

#header .shadow-bottom {
	background: url(../images/header-shadow-bottom.png) repeat-x 0 0;
	width: 100%;
	height: 5px;
	
	position: absolute;
	bottom: 0;
	left: 0;
}

#header .welcome {
	background: #fff;
	width: 283px;
	padding: 25px;
	position: relative;
	float: left;
	margin-right: 12px;
	
	border-radius: 3px;
	
	box-shadow: 0px 1px 6px -2px rgba(0,0,0,0.65);
}

#header .welcome span,
#header .welcome p.grey {
	color: #738d9b;
	font-weight: bold;
}

#header .welcome h1 {
	margin-bottom: 10px;
	
	color: #162a62;
	font-size: 22px;
}

#header .welcome .slogan {
	margin-bottom: 20px;
	display: block;
	
	color: #162a62;
}

#header .welcome p {
	margin-bottom: 35px;
}

#header .welcome p.last {
	margin-bottom: 5px;
}

#header .welcome a.readmore {
	background: url(../images/readmore-bg.png) no-repeat;
	width: 46px;
	height: 46px;
	display: block;
	
	position: absolute;
	bottom: 0;
	right: 0;
}

#header .services {
	width: 695px;
	float: left;
	position: relative;
}

#header .services .sbox {
	background: #fff;
	overflow: hidden;
	border-radius: 3px;
	box-shadow: 0px 1px 6px -2px rgba(0,0,0,0.65);
}

#header .services .sbox a:hover {
	text-decoration: none;	
}

#header .services .sbox .name {
	width: 100%;
	height: 44px;
	padding: 11px 15px;
	position: relative;
	
	color: #162a62;
	font-weight: bold;
	text-transform: uppercase;
}

#header .services .sbox .name i {
	position: absolute;
	top: 13px;
	right: 15px;
	
	
	color: #0092e2;
	font-size: 18px;
}

#header .services .sbox.gipsarbeiten .image {
	width: 460px;
	height: 179px;
}

#header .services .sbox.spezialputze .image {
	width: 460px;
	height: 180px;
}

#header .services .sbox.denkmalpflege .image {
	width: 225px;
	height: 413px;
}

#header .services .sbox.trockenbau .image,
#header .services .sbox.stukkaturen .image,
#header .services .sbox.fassaden .image {
	width: 225px;
	height: 180px;
}

#header .services .sbox.gipsarbeiten {
	width: 460px;
	
	position: absolute;
	top: 0;
	left: 0;
}

#header .services .sbox.denkmalpflege {
	width: 225px;
	
	position: absolute;
	top: 0;
	right: 0;
}

#header .services .sbox.trockenbau {
	width: 225px;
	
	position: absolute;
	top: 233px;
	left: 0;
}

#header .services .sbox.stukkaturen {
	width: 225px;
	
	position: absolute;
	top: 233px;
	left: 235px;
}

#header .services .sbox.fassaden {
	width: 225px;
	
	position: absolute;
	top: 467px;
	left: 0;
}

#header .services .sbox.spezialputze {
	width: 460px;
	
	position: absolute;
	top: 467px;
	left: 235px;
}

/* ==========================================================================
   Content
   ========================================================================== */
.subsite {
	background: url(../images/header-bg.jpg) repeat-y center top #c7c7c7; 
	width: 100%;
	min-height: 500px;
	padding: 30px 0;
	position: relative;
}

.subsite .shadow-top {
	background: url(../images/header-shadow-top.png) repeat-x 0 -1px;
	width: 100%;
	height: 5px;
	
	position: absolute;
	top: 0;
	left: 0;
}

.subsite .shadow-bottom {
	background: url(../images/header-shadow-bottom.png) repeat-x 0 0;
	width: 100%;
	height: 5px;
	
	position: absolute;
	bottom: 0;
	left: 0;
}

.subsite #sidebar {
	width: 225px;
	margin-right: 30px;
	float: left;
}

.subsite #sidebar ul {
	background: #fff;
	overflow: hidden;
	
	border-radius: 3px;
	
	box-shadow: 0px 1px 6px -2px rgba(0,0,0,0.65);
}

.subsite #sidebar ul li {
	border-bottom: 1px solid #e5e5e5;
	position: relative;
}

.subsite #sidebar ul li.last {
	border-bottom: none;
}

.subsite #sidebar ul li a {
	background: #fff;
	display: block;
	padding: 15px 20px;
	
	color: #162a62;
	font-size: 13px;
	font-weight: bold;
}

.subsite #sidebar ul li i {
	color: #162a62;
	font-size: 16px;
	
	position: absolute;
	top: 18px;
	right: 20px;
}

.subsite #sidebar ul li:hover a,
.subsite #sidebar ul li.active a {
	background: #f8f8f8;
	
	color: #0092e2;
	text-decoration: none;
}

.subsite #sidebar ul li:hover i,
.subsite #sidebar ul li.active i {
	color: #0092e2;
}

.subsite .content {
	width: 735px;
	float: left;
}

.content .article {
	background: #fff;
	width: 100%;
	padding: 30px 30px 15px;
	margin-bottom: 30px;
	
	border-radius: 3px;
	box-shadow: 0px 1px 6px -2px rgba(0,0,0,0.65);
}

.content .article h1 {
	color: #162a62;
	font-size: 22px;
	margin-bottom: 20px;
}

.content .article ul {
	margin-bottom: 15px;
}

.content .article ul li:before {
	content: "\f105";
	display: inline-block;
	margin-right: 10px;
	
	color: #0092e2;
	font: normal normal normal 14px/1 FontAwesome;
}

.subsite .content .services .sbox {
	background: #fff;
	width: 225px;
	overflow: hidden;
	float: left;
	margin-right: 30px;
	margin-bottom: 30px;
	
	border-radius: 3px;
	box-shadow: 0px 1px 6px -2px rgba(0,0,0,0.65);
}

.subsite .content .services .sbox.last,
.subsite .content .services .sbox:nth-child(3n+3) {
	margin-right: 0;
}

.subsite .content .services .sbox a:hover {
	text-decoration: none;	
}

.subsite .content .services .sbox .name {
	width: 100%;
	height: 44px;
	padding: 11px 15px;
	position: relative;
	
	color: #162a62;
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
}

.subsite .content .services .sbox .name i {
	position: absolute;
	top: 13px;
	right: 15px;
	
	
	color: #0092e2;
	font-size: 18px;
}

.subsite .content .services .sbox .image {
	width: 225px;
	height: 225px;
	overflow: hidden;
}


/* ==========================================================================
   Portfolio / Projekte
   ========================================================================== */
.portfolio {
	background: #fafafa;
	width: 100%;
	height: 180px;
	border-bottom: 1px solid #e8e8e8;
	padding: 30px 0;
}

.portfolio .text {
	width: 255px;
	height: 120px;
	padding-right: 30px;
	padding-top: 5px;
	float: left;
	
	position: relative;
	z-index: 1000;
}

.portfolio .text span {
	color: #738d9b;
	font-weight: bold;
}

.portfolio .text h2 {
	margin: 0 0 15px;
	color: #162a62;
}

.portfolio .text a.all-projects {
	background: #fff;
	padding: 3px 15px;
	display: inline-block;
	border: 1px solid #dcdcdc;
	margin-left: -5px;
	
	color: #1d9ee5;
	font-size: 11px;
	font-weight: bold;
	
	border-radius: 15px;
	
	box-shadow: 0px 1px 7px -4px rgba(0,0,0,0.65);
}

.portfolio .text a.all-projects:hover {
	text-decoration: none;
}

.portfolio .text a.all-projects i {
	font-size: 14px;
	margin-left: 5px;
}

.portfolio .projects a img {
  border-radius: 3px;
  width: auto;
  height: 120px;
}

.owl-controls {
	position: absolute;
	bottom: -10px;
	left: 0;
	z-index: 1000;
}

.owl-dots .owl-dot {
	background: #738d9b;
	width: 10px;
	height: 10px;
	display: inline-block;
	margin-right: 5px;
	
	border-radius: 10px;
}

.owl-dots .owl-dot.active {
	background: #162a62;
}

/* ==========================================================================
   Content
   ========================================================================== */
#content {}


/* ==========================================================================
   Footer
   ========================================================================== */
#footer {
	padding: 50px 0;
}

#footer h5 {
	margin-bottom: 20px;
	color: #162a62;
	font-size: 14px;
}

#footer p {
	font-size: 13px;
}

#footer .contact-data {
	width: 335px;
	padding-right: 80px;
	float: left;
}

#footer .contact-data .tel,
#footer .contact-data .mail {
	margin-bottom: 7px;
	color: #738d9b;
	font-weight: bold;
}

#footer .contact-data .tel i,
#footer .contact-data .mail i {
	margin-right: 5px;
}

#footer .contact-data a {
	color: #738d9b;
	font-weight: bold;
}

#footer .sitemap {
	width: 340px;
	padding-right: 0;
	float: left;
}

#footer .sitemap ul li {
	background: url(../images/listpoint.jpg) no-repeat left center;
	width: 160px;
	padding-left: 15px;
	margin-right: 10px;
	float: left;
}

#footer .sitemap ul li a {
	color: #aaa;
}

#footer .openings {
	width: 315px;
	float: left;
}

#footer .openings table {
	color: #888;
	font-weight: bold;
	font-size: 12px;
}

#footer .separator {
	background: #e6e6e6;
	width: 100%;
	height: 2px;
	margin: 30px 0;
}

#footer .copyright {
	position: relative;
	
	color: #aaa;
	font-size: 12px;
	font-weight: bold;
}

#footer .copyright ul {
	float: right;
}

#footer .copyright ul li {
	float: left;
}

#footer .copyright ul li.divider {
	margin: 0 10px;
	color: #738d9b;
}

#footer .copyright ul li a {
	color: #aaa;
}

/* ==========================================================================
   Form classes
   ========================================================================== */
.form-field {
	margin-bottom: 15px;
}

.form-field input {
	width: 583px;
}

.form-field select,
.form-field .selectize-control {
	width: 615px;
}

.form-field textarea {
	width: 583px;
	min-height: 150px;
}

.form-field.short {
	width: 150px;
	float: left;
	margin-right: 15px;
}

.form-field.short input {
	width: 118px;
}

.form-field.half {
	width: 300px;
	float: left;
	margin-right: 15px;
}

.form-field.half input {
	width: 268px;
}

.form-field.middle {
	width: 450px;
	float: left;
	margin-right: 15px;
}

.form-field.middle input {
	width: 418px;
}

.form-field.short.last,
.form-field.half.last,
.form-field.middle.last {
	margin-right: 0;
}

.form-field label span.required {
	color: #df2d2d;
	font-weight: 700;
}

.form-field label {
	display: block;
	margin-bottom: 4px;
	
	font-weight: 700;
}

.form-field label.checkbox input,
.form-field label.radio input  {
	width: auto;
	margin-right: 7px;
	display: inline-block;
}

.form-field label.radio {
	display: inline-block;
	margin-right: 20px;
}

input[type="text"],
input[type="password"],
input[type="url"],
input[type="email"],
textarea {
	background: #fff;
	border: 1px solid #cad0da;
	padding: 10px 15px;
	outline: none;
	
	font-size: 13px;
	font-weight: 400;
	color: #868e9a;
	
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;	
	
	-webkit-transition: all linear 0.2s;
	-moz-transition: all linear 0.2s;
	transition: all linear 0.2s;
	
	-webkit-appearance: none;
}

textarea {
	overflow: auto;
}

input[type="text"]:hover,
input[type="password"]:hover,
input[type="url"]:hover,
input[type="email"]:hover,
textarea:hover {
	border: 1px solid #a5aab3;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="url"]:focus,
input[type="email"]:focus,
textarea:focus {
	border: 1px solid #75849d;

	box-shadow: 0 0 4px rgba(95,146,232, 0.4);
	-moz-box-shadow: 0 0 4px rgba(95,146,232, 0.4);
	-webkit-box-shadow: 0 0 4px rgba(95,146,232, 0.4);

}

input[type="submit"],
button[type="submit"] {
	background: #3e85c1;
	border: 1px solid #3e85c1;
	padding: 10px 15px;
	outline: none;
	
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	
	-webkit-transition: all linear 0.2s;
	-moz-transition: all linear 0.2s;
	transition: all linear 0.2s;
	
	-webkit-appearance: none;
}

input[type="submit"]:hover,
button[type="submit"]:hover {
	background: #336d9e;
	border: 1px solid #336d9e;
}

.btn {
	background: #40b075;
	display: inline-block;
	padding: 3px 15px 1px;
	
	color: #fff;
	font-size: 13px;
	font-weight: 400;
	
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}

.btn:hover {
	background: #5dd395;
	text-decoration: none;
}


/* Overrides selectize standard classes */
.selectize-input {
  border: 1px solid #d0d0d0;
  padding: 10px 8px;
  
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
 
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

.selectize-dropdown [data-selectable],
.selectize-dropdown .optgroup-header {
  padding: 8px;
}

.selectize-dropdown,
.selectize-input,
.selectize-input input {
	color: #868e9a;
	font-size: 13px;
	line-height: 18px;
}

.selectize-control.single .selectize-input,
.selectize-dropdown.single {
  border-color: #cad0da;
}

.selectize-control.single .selectize-input {
	background: #fff;
	background-image: none;
	background-repeat: repeat;
	filter: none;
	
	box-shadow: 0 1px 0 rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,0.8);
	-webkit-box-shadow: 0 1px 0 rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,0.8);
}

/* Overrides iCheck standard classes */
.icheckbox, .iradio {
	margin-right: 7px;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.left 		{ float: left; }
.right 		{ float: right; }
.pointer 	{ cursor: pointer; }

a {
	color: #333;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a:link	{ 
	-webkit-tap-highlight-color: none; 
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

::-webkit-input-placeholder { color: #868e9a; }
:-moz-placeholder 			{ color: #868e9a; }
::-moz-placeholder 			{ color: #868e9a; }
:-ms-input-placeholder 		{ color: #868e9a; }
