@import url('reset.css');
@import url('https://fonts.googleapis.com/css?family=Raleway:300,400,700');

/* Basics -------------------------------------------------------------------------- */

html, body {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    line-height: 24px;
    height: 100%;
    background: url(../img/background.jpg) no-repeat left top;
    background-size: cover;
    color: #333;
    background-attachment: fixed;
}

p {margin-bottom: 24px;}

b {font-weight: 700;}

a {
    text-decoration: none;
    color: #F18800;
    transition: color .3s ease;
}

#navigation_res {display: none;}

#nav_button {display: none;}

a:hover {
    color: #333;
}

h1, h2 , h3, h4, h5 {font-family: 'Raleway', sans-serif;}

h1 {font-size: 50px; line-height: 55px; color: #F18800; font-weight: 300;}

h2 {font-size: 40px; line-height: 40px; color: #F18800; margin: 00px 0px 60px 0px; letter-spacing: 1px; font-weight: 300;}

h3 {font-size: 24px; line-height: 36px; color: #333; margin-bottom: 24px; font-weight: 400;}

h4 {font-size: 20px; line-height: 30px; color: #F18800; margin-bottom: 15px; font-weight: 700;}

h5 {font-size: 18px; line-height: 20px;}

img {
	border: none;
	padding: 0px;
	margin: 0px;
    overflow: hidden;
    border-radius: 3px;
}

img.lbthumb {
	border: 20px solid #FFF;
	padding: 0px;
	margin: 0px;
    overflow: hidden;
    border-radius: 3px;
    box-sizing: border-box;
    box-shadow: 0px 0px 10px rgba(0,0,0,.3);
}

ul li img {
    border-radius: 0px;
}

article {vertical-align: top; margin-bottom: 20px;}

article img {width: 100%;}

.clear {clear: both;}

iframe {
    overflow: hidden;
    border-radius: 3px;
}

.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.5);
    top: 0px;
    left: 0px;
    z-index: 200;
    cursor: pointer;
}

.overlay p {
    padding: 20px;
    border-radius: 3px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #FFF;
    cursor: pointer;
    margin: 0px;
    text-align: center;
}

/* Boxes --------------------------------------------------------------------------- */

#page-wrapper {
    width: 1170px;
    margin: 0 auto;
    box-shadow: 0px 0px 15px #000;
    background: url(../img/bg.jpg) left top repeat;
    padding-top: 173px;
}

header {position: fixed; top: 0px; z-index: 100;}

div#contact {
    padding: 7px 20px;
    background: #333;
    border-bottom: 5px solid #F18800;
    position: relative;
    width: 1130px;
}

div#contact a {
    text-decoration: none;
    color: #F18800;
    font-size: 14px;
    line-height: 14px;
    margin-right: 20px;
    font-weight: 300;
    transition: color .3s ease;
}

div#contact a:hover {
    color: #FFF;
}

div#contact a#fb {
    display: block;
    text-indent: -9999px;
    font-size: 1px;
    width: 14px;
    height: 14px;
    position: absolute;
    top: 12px;
    right: 0px;
    background: url(../img/fb.png) top left no-repeat;
    background-size: 14px 14px;
}

#logo {
    display: block;
    background: url(../img/logo.png) top left no-repeat;
    width: 140px;
    height: 100px;
    text-indent: -9999px;
    font-size: 1px;
    background-size: 140px 100px;
    transition: height .1s ease, width .1s ease, background .1s ease;
}

#logo.shrink {
    width: 70px;
    height: 50px;
    background-size: 70px 50px;
}


#navigation {
    position: relative;
    background: rgba(255,255,255,.9);
    width: 1130px;
    padding: 15px 20px;
}

#navigation ul {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

#navigation ul li {
    list-style: none;
    display: inline;
    margin-left: 20px;
}

#navigation ul li a {
    font-weight: 400;
    text-decoration: none;
    color: #F18800;
    transition: color .3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color .3s ease;
}

#navigation ul li a:hover, #navigation ul li a.active {
    color: #333;
}

section {
    width: 1090px;
    padding: 30px 40px 50px 40px;
}



/* Slideshow ------------------------------------------------------------------------- */

section.pictures {
    width: 1170px;
    padding: 0px;
    z-index: 0;
    position: relative;
    margin-bottom: 25px;
}

.rslides {
    position: relative;
    list-style: none;
    overflow: hidden;
    width: 100%;
    padding: 0;
    margin: 0;
}

.rslides li {
    -webkit-backface-visibility: hidden;
    position: absolute;
    display: none;
    width: 100%;
    left: 0;
    top: 0;
}

.rslides li:first-child {
    position: relative;
    display: block;
    float: left;
}

.rslides img {
    display: block;
    height: auto;
    float: left;
    width: 100%;
    border: 0;
}

ul.rslides_tabs {
    position: absolute;
    text-align: center;
    bottom: 5px;
    left: 50%;
    z-index: 3;
    transform: translateX(-50%);
}

ul.rslides_tabs li {
    display: inline-block;
    margin-right: 10px;
}

ul.rslides_tabs li:last-of-type {
    margin-right: 0px;
}

ul.rslides_tabs a {
    font-size: 1px;
    text-indent: -9999px;
    display: block;
    width: 12px;
    height: 12px;
    background: #333;
    border-radius: 100%;
    transition: background .3s ease;
}

ul.rslides_tabs a:hover, li.rslides_here a {
    background: #F18800;
}

.rslides p {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    padding: 20px;
    background: rgba(255,255,255,0.7);
    font-size: 40px;
    line-height: 60px;
}

/* Columns --------------------------------------------------------------------------- */

.two-column {
    display: inline-block;
    width: 525px;
    margin-right: 40px;
    vertical-align: middle;
}

.two-column p {
    -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto;
}

.two-column:nth-of-type(2) {
    margin-right: 0px;
}

.three-column {
    display: inline-block;
    width: 340px;
    margin-right: 35px;
    text-align: center;
}

.three-column:nth-of-type(3) {
    margin-right: 0px;
}

.four-column {
    display: inline-block;
    width: 250px;
    margin-right: 30px;
    text-align: center;
}

.four-column:nth-of-type(4), .four-column:nth-of-type(8), .four-column:nth-of-type(12) {
    margin-right: 0px;
}

a.more {
    text-decoration: none;
    padding: 10px;
    border-radius: 3px;
    background: #F18800;
    transition: background .3s ease;
    color: #FFF;
    font-size: 14px;
    line-height: 14px;
    font-weight: 700;
}

a.more:hover {
    background: #333;
}

.three-column p, .four-column p {font-size: 14px; line-height: 24px; text-align: center;}

.one-third-left, .one-third-right {display: inline-block; width: 250px; vertical-align: middle;}

.two-third-left, .two-third-right {display: inline-block; width: 800px; vertical-align: middle;}

.one-third-left, .two-third-left {margin-right: 40px;}


/* Icons --------------------------------------------------------------------------- */

h4.innenausbau {
    background: url(../img/innenausbau.png) no-repeat top center;
}

h4.einbruch {
    background: url(../img/einbruch.png) no-repeat top center;
}

h4.trockenbau {
    background: url(../img/trockenbau.png) no-repeat top center;
}

h4.instandsetzung {
    background: url(../img/aufbereitung.png) no-repeat top center;
}

h4.moebel {
    background: url(../img/moebel.png) no-repeat top center;
}

h4.insekten {
    background: url(../img/insekten.png) no-repeat top center;
}

h4.barriere {
    background: url(../img/barriere.png) no-repeat top center;
}

h4.denkmal {
    background: url(../img/denkmal.png) no-repeat top center;
}

h4.icon {
    display: block;
    padding-top: 75px;
    text-align: center;
    background-size: 60px 60px;
}

h4.icon_b {
    display: block;
    padding-top: 105px;
    text-align: center;
    background-size: 90px 90px;
    font-size: 25px;
}

/* Footer --------------------------------------------------------------------------- */

footer {
    width: 1090px;
    padding: 35px 40px 20px 40px;
    background: #333;
    color: #FFF;
    border-bottom: 20px solid #222;
    border-top: 5px solid #F18800;
}

footer h4 {border-bottom: 2px solid #F18800;}

footer p {font-size: 14px; line-height: 24px; margin-bottom: 0px;}

footer a {font-size: 14px; line-height: 24px; color: #F18800; transition: color .3s ease; text-decoration: none;}

footer article.links {text-align: right; vertical-align: bottom; font-size: 14px; line-height: 24px;}

footer a:hover {color: #FFF;}

p#copy {font-size: 12px; line-height: 12px; margin-bottom: 0px; margin-top: 15px; text-align: right; color: #666;}



/* Kontakt --------------------------------------------------------------------------- */

label {
    margin-bottom: 5px;
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding-left: 5px;
}


input, textarea {
    width: 100%;
    border: none;
    box-sizing: border-box;
    padding: 15px;
    background: rgba(0,0,0,.05);
    border-radius: 3px;
    margin-bottom: 25px;
    resize: vertical;
    font-size: 16px;
    line-height: 24px;
    color: #333;
    font-family: 'Raleway', sans-serif;
    transition: background .3s ease;
}

input[type="submit"]:hover {
    background: rgba(241,136,0,.3);
    cursor: pointer;
}

/* Media Queries --------------------------------------------------------------------------- */

@media (max-width: 1170px) {
    
  
h2 {font-size: 33px; line-height: 40px; margin: 20px 0px 60px 0px; text-align: left;}
    
article {margin-bottom: 50px;}

footer article {margin-bottom: 0px;}
    
section {
    width: 660px;
    padding: 20px 20px 30px 20px;
}
    
footer {
    width: 660px;
    padding: 35px 20px 20px 20px;
}

div#contact {
    width: 660px;
    padding: 7px 20px;
}

#page-wrapper, section.pictures {
    width: 700px;
}
    
#navigation {
    width: 660px;
    padding: 15px 20px;
}

.two-column {
    width: 660px;
    margin-right: 0px;
}

.three-column:nth-of-type(3) {
    margin-right: 0px;
}

.four-column {
    width: 315px;
    margin-bottom: 80px;
}

.four-column:nth-of-type(2), .four-column:nth-of-type(4), .four-column:nth-of-type(6), .four-column:nth-of-type(8), .four-column:nth-of-type(10), .four-column:nth-of-type(12) {
    margin-right: 0px;
}

.one-third-left, .one-third-right, .two-third-left, .two-third-right {width: 660px; margin: 0; text-align: center;}

#navigation ul li {margin-left: 8px;}

#navigation ul li a {font-size: 15px; letter-spacing: 1px;}
    
}

@media (max-width: 700px) {

html, body {background: none;}
  
h2 {font-size: 28px; line-height: 35px; margin: 20px 0px 60px 0px; text-align: left;}
    
footer h4 {font-size: 18px;}
    
article {margin-bottom: 30px;}

footer article {margin-bottom: 0px;}

header {width: 100%;}
    
section {
    width: 100%;
    box-sizing: border-box;
    padding: 20px 15px 30px 15px;
}
    
footer {
    width: 100%;
    box-sizing: border-box;
    padding: 35px 15px 20px 15px;
}

div#contact {
    width: 100%;
    box-sizing: border-box;
    padding: 7px 15px;
}

#page-wrapper, section.pictures {
    width: 100%;
}
    
#navigation {
    width: 100%;
    box-sizing: border-box;
    padding: 15px 15px;
}

.two-column {
    width: 100%;
}

.three-column:nth-of-type(3) {
    margin-right: 0px;
}

.four-column {
    width: 100%;
    margin-bottom: 80px;
    margin-right: 0px;
}

.one-third-left, .one-third-right, .two-third-left, .two-third-right {width: 100%; margin: 0; text-align: center;}

#navigation ul li {margin-left: 8px;}

#navigation ul li a {font-size: 15px; letter-spacing: 1px;}
    
#navigation ul {display: none;}

#navigation_res {
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 250;
    height: 100%;
    width: 100%;
    background: #333;
    text-align: right;
}
    
#navigation_res ul {display: block; height: 100%;}

#navigation_res ul li {
    list-style: none;
    display: block;
    height: 20%;
    width: 100%;
    background: #222;
}

#navigation_res ul li a {
    font-weight: 400;
    text-decoration: none;
    color: #F18800;
    transition: color .3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color .3s ease;
    display: block;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 30px;
}

#navigation_res ul li a.active {
    background-color: #F18800;
    color: #333;
}

#nav_button {
    display: block;
    position: absolute;
    right: 20px; 
    top:50%;
    transform: translateY(-50%);
    font-size: 1px;
    text-indent: -9999px;
    width: 20px;
    height: 20px;
    background: url(../img/button.png) no-repeat left top;
    background-size: 20px 20px;
}
    
}