/* http://www.pallidis.de/css/style.css
   v2.0 | 01/2017 | B. Hallerbach   */

/* ----- RESET ----- */
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, input, label, legend, select, textarea,
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section { display: block; }
body { line-height: 1; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }

/* ----- FONTS ----- */
@font-face {
    font-family:  'robotomedium';
    src: url('../fonts/Roboto-Medium-webfont.eot');
    src: url('../fonts/Roboto-Medium-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Roboto-Medium-webfont.woff') format('woff'),
         url('../fonts/Roboto-Medium-webfont.ttf') format('truetype'),
         url('../fonts/Roboto-Medium-webfont.svg#robotomedium') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'roboto_condensedbold';
    src: url('../fonts/RobotoCondensed-Bold-webfont.eot');
    src: url('../fonts/RobotoCondensed-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/RobotoCondensed-Bold-webfont.woff') format('woff'),
         url('../fonts/RobotoCondensed-Bold-webfont.ttf') format('truetype'),
         url('../fonts/RobotoCondensed-Bold-webfont.svg#roboto_condensedbold') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'icon-font';
    src: url('../fonts/icon-font.eot?oci0op');
    src: url('../fonts/icon-font.eot?oci0op#iefix') format('embedded-opentype'),
         url('../fonts/icon-font.ttf?oci0op') format('truetype'),
         url('../fonts/icon-font.woff?oci0op') format('woff'),
         url('../fonts/icon-font.svg?oci0op#icon-font') format('svg');
	font-weight: normal;
	font-style: normal;
}
i {
	font-family: 'icon-font' !important;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
    line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.icon-info:before { content: "\e600"; }
.icon-service:before { content: "\e601"; }
.icon-vcard:before { content: "\e602"; }
.icon-mail:before { content: "\e603"; }
.icon-phone:before { content: "\e604"; }
.icon-name:before { content: "\e605"; }
.icon-location:before { content: "\e606"; }
.icon-facebook:before { content: "\e608"; }
.icon-envelope:before { content: "\e609"; }
.icon-printer:before { content: "\e60a"; }
.icon-whatsapp:before { content: "\e60b"; }
.icon-external:before { content: "\e60c"; }
.icon-up:before { content: "\e60d"; }
.icon-down:before { content: "\e60e"; }
.icon-left:before { content: "\e60f"; }
.icon-right:before { content: "\e610"; }
.icon-ok:before { content: "\e611"; }
.icon-cancel:before { content: "\e612"; }
.icon-warning:before { content: "\e613"; }
.icon-mouse:before { content: "\e614"; }

/* ----- SIMPLE GRID (960px, 6 cols) ----- */
.container {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}
@media (max-width: 960px) {
    .container { width: 90%; }
}
.container:after,
.row:after {
	content: "";
    display: table;
	clear: both;
}
[class*="col-"] {
    width: 100%;
    margin-left: 0
}
[class*="skip-"] {
    margin-left: 0;
}
@media (min-width: 550px) {
    [class*="col-"] {
        width: 100%;
        float: left;
        display: inline;
        margin-left: 2%;
        font-size: 1em;
        line-height: 1.25em;
        box-sizing: border-box;
    }
    [class*="col-"]:first-child {
        margin-left: 0;
    }
    .col-1 { width: 6.5%; }
    .col-2 { width: 15%; }
    .col-3 { width: 23.5%; }
    .col-4 { width: 32%; }
    .col-5 { width: 40.5%; }
    .col-6 { width: 49%; }
    .col-7 { width: 57.5%; }
    .col-8 { width: 66%; }
    .col-9 { width: 74.5%; }
    .col-10 { width: 83%; }
    .col-11 { width: 91.5%; }
    .col-12 { width: 100%; margin-left: 0; }
    .skip-1 { margin-left: 8.5%; }
    .skip-2 { margin-left: 17%; }
    .skip-3 { margin-left: 25.5%; }
    .skip-4 { margin-left: 34%; }
    .skip-5 { margin-left: 42.5%; }
    .skip-6 { margin-left: 51%; }
    .skip-7 { margin-left: 59.5%; }
    .skip-8 { margin-left: 68%; }
    .skip-9 { margin-left: 76.5%; }
    .skip-10 { margin-left: 85%; }
    .skip-11 { margin-left: 93.5%; }
    
    /* Content centerer */
    .flexbox-container {
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -ms-flex-align: center;
        -webkit-align-items: center;
        -webkit-box-align: center;
        align-items: center;
    }
}

/* ----- BASICS ----- */
html {
	font-size: 100%;
	width: 100%;
	-webkit-text-size-adjust: 100%;
}
body {
	background-color: #fcfcfc;
	color: #555555;
	font-family: 'robotomedium', Arial, sans-serif;
	font-size: 100%;
	font-weight: normal;
	line-height: 1.5em;
	text-align: left;
	-webkit-text-size-adjust: none;
	-webkit-overflow-scrolling: touch;
    margin: 0 auto;
/*	-webkit-animation: fade-in ease-in-out 1.4s;
	animation: fade-in ease-in-out 1.4s; */
}
a {
    text-decoration: none;
    color: #fcfcfc;
    cursor: pointer;
}
a:hover { color: #be202e; }
h1, h2, h3, h4 {
	font-family: 'roboto_condensedbold';
    line-height: 1em;
}
h1 {
	font-size: 250%;
	margin-bottom: 50px;
}
h2 { font-size: 200%; }
h3 { font-size: 150%; }
h4 {
    font-size: 125%;
    margin-bottom: 15px;
}
hr {
	border: 0;
    margin-top: 5px;
    margin-bottom: 30px;
	padding: 0;
    background-image: url('../img/hr-bg.png');
    background-repeat: no-repeat;
    background-position: center;
	height: 10px;
    width: 100%;
	border: none;
    text-align: center;
}
hr.small {
    background-image: url('../img/hr-bg-sm.png');
}
img {
    max-width: 100%;
    height: auto;
	border: 0;
	-ms-interpolation-mode: bicubic;
}
p {
    font-size: 1.1em;
    line-height: 1.25em;
    margin-top: 10px;
    margin-bottom: 10px;
}
p.first { margin-top: 0; }
input, select, textarea, button {
	color: #999999;
    font-family: inherit;
    font-size: 1em;
	background-color: #fcfcfc;
	padding: 10px 10px 10px 50px;
	margin-bottom: 10px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
    border: 3px solid #999999;
    border-radius: 5px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
input, select, textarea, button.send {
    width: 100%;
}
input { vertical-align: middle; }
input:hover, select:hover, textarea:hover,
input:focus, textarea:focus {
	background-color: #ffffff;
	border-color: #555555;
	color: #555555;
    outline: none;
}
option[value=""][disabled] { display: none; }
textarea {
    width: 100%;
    min-height: 300px;
    resize: vertical;
    overflow: auto;
}
button {
	cursor: pointer;
	background-color: #999999;
	color: #fcfcfc;
	padding: 10px;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}
button:hover {
	background-color: #be202e;
	border-color: #be202e;
}
.printonly { display: none; }

/* Text classes */
.bold { font-weight: bold; }
.center { text-align: center; }
.small { font-size: 0.8em; }

/* ----- NAVIGATION ----- */
header {
	background-color: #555555;
	position: fixed;
	top: 0;
	left: 0;
	height: 50px;
	width: 100%;
    z-index: 50;
	-webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.5);
	box-shadow: 0 1px 5px rgba(0,0,0,0.5);
}
header a {
    cursor: pointer;
	color: #fcfcfc;
	vertical-align: middle;
	text-decoration: none;
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
header a:hover { color: #be202e; }
header i { padding-right: 10px; }

#navbar {
	height: 50px;
	margin: 0 40px;
	line-height: 50px;
	vertical-align: middle;
	font-family: Arial, sans-serif;
	font-size: 1em;
	font-weight: bold;
	text-transform: uppercase;
}
#navbar a.logo-icon {
    float: left;
    padding: 10px 10px;
}

nav { float: right; }
nav ul {
    padding: 0;
    margin: 0 auto;
    width: 100%;
    display: block;
}
nav li {
    float: left;
    padding: 0 15px;
}

/* Mobile navigation */
nav #menu-icon {
    color: #fcfcfc;
	cursor: pointer;
    display: none;
	position: relative;
	left: -30px;
	top: 23px;
}
nav #menu-icon span,
nav #menu-icon span:before,
nav #menu-icon span:after {
  cursor: pointer;
  border-radius: 1px;
  height: 4px;
  width: 30px;
  background: white;
  position: absolute;
  display: block;
  content: '';
}
nav #menu-icon span:before {
  top: -8px; 
}
nav #menu-icon span:after {
  bottom: -8px;
}
nav #menu-icon span,
nav #menu-icon span:before,
nav #menu-icon span:after {
  transition: all 500ms ease-in-out;
}
nav #menu-icon.active span {
  background-color: transparent;
}
nav #menu-icon.active span:before,
nav #menu-icon.active span:after {
  top: 0;
}
nav #menu-icon.active span:before {
  transform: rotate(45deg);
}
nav #menu-icon.active span:after {
  transform: rotate(-45deg);
}
#feedback p.error,
#feedback p.success {
    font-weight: bold;
    text-align: center;
    padding: 10px;
    opacity: 0;
    -webkit-animation: fade-out 6s 1 both;
    animation: fade-out 6s 1 both;
}
#feedback p.error {
    background: #ffc0c0;
}
#feedback p.success {
    background: #b3ff69;
}

/* ----- BANNER / SLIDER ----- */
.banner {
	display: table;
	width: 100%;
	margin: 0 auto;
    padding: 0;
	text-align: center;
	height: 100vh;
	color: rgba(255, 255, 255, 0.9);
}
.banner:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(118, 144, 164, 0.5);
    z-index: 0;
}
.banner .logo-container { padding-top: 0; }
.banner .v-center {
    display: table-cell;
    vertical-align: middle;
    position: relative;
    z-index: 4;
    padding: 0 5%;
}
.banner .v-center h1 {
	color: #be202e;
    text-shadow: 0 0 3px #ffffff;
    -webkit-animation: fade-in ease-in-out 2s 0.5s both;
    animation: fade-in ease-in-out 2s 0.5s both;
}
.banner .v-center h3 {
	color: #be202e;
    -webkit-animation: fade-in ease-in-out 2s 1s both;
    animation: fade-in ease-in-out 2s 1s both;
}
.banner ul.slider li {
    height: 100% !important;
    width: 100%;
    position: absolute;
    top: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50%;
    z-index: 0;
    opacity: 0;
    -webkit-animation: fade-out 12s infinite both;
    animation: fade-out 12s infinite both;
    background-image: url(../img/banner-1-sm.jpg);
}
.banner ul.slider li:nth-child(2) {
    background-image: url(../img/banner-2-sm.jpg);
    -webkit-animation-delay: 3s;
    animation-delay: 3s;
}
.banner ul.slider li:nth-child(3) {
    background-image: url(../img/banner-3-sm.jpg);
    -webkit-animation-delay: 6s;
    animation-delay: 6s;
}
.banner ul.slider li:nth-child(4) {
    background-image: url(../img/banner-4-sm.jpg);
    -webkit-animation-delay: 9s;
    animation-delay: 9s;
}
/* Keyframes fade-in */
@-webkit-keyframes fade-in {
	0% { opacity: 0; }
	100% { opacity: 1; }
}
@keyframes fade-in {
	0% { opacity: 0; }
	100% { opacity: 1; }
}
/* Keyframes fade-out */
@-webkit-keyframes fade-out {
	33% { opacity: 1; }
	66% { opacity: 0; }
}
@keyframes fade-out {
	33% { opacity: 1; }
	66% { opacity: 0; }
}

/* ----- SECTIONS ----- */
section { padding: 80px 0; }
section.gray {
    background-color: #999999;
    color: #fcfcfc;
}
button a:hover,
button a:active { color: #fcfcfc; }
section h2.about,
section p.plus { padding-bottom: 20px; }
section img.gp {
	-webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.4);
	box-shadow: 0 1px 5px rgba(0,0,0,0.4);
}
section img.leistungen {
    cursor: pointer;
	-webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.4);
	box-shadow: 0 1px 5px rgba(0,0,0,0.4);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-filter: grayscale(0);
    -moz-filter: grayscale(0);
    filter: grayscale(0);
}
section img.leistungen:hover {
    -webkit-filter: grayscale(1);
    -moz-filter: grayscale(1);
    filter: grayscale(1);
}
section i.icon-external {
    color: inherit;
    font-size: inherit;
}
section.solar {
    border-top: 20px solid #be202e;
    background-color: #ffffff;
}
section.solar ul {
    list-style: disc inside;
}
section.solar li {
    padding-bottom: 10px;
}

/* -- Contact section -- */
.contact a {
    color: #555555;
}
.contact a:hover { color: #be202e; }
.contact i {
    color: #be202e;
    font-size: 150%;
}
/* Contact form */
.form-container {
    width: 90%;
    margin-left: 5%;
    margin-bottom: 30px;
}
#name { background-image: url(../img/name.svg); }
#email { background-image: url(../img/email.svg); }
#phone { background-image: url(../img/phone.svg); }
#topic { background-image: url(../img/info.svg); }
#message { background-image: url(../img/message.svg); }
#name, #email, #phone, #topic, #message {
    background-size: 24px 24px;
	background-position: 10px 8px;
	background-repeat: no-repeat;
}
/* Map box */
.map-box {
    width: 50%;
    height: 50%;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    margin: 0 auto;
    background-color: rgba(0,0,0,0.5);
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out
}
.map-box img {
    display: block;
    position: relative;
    -webkit-transition: all .4s linear;
    transition: all .4s linear;
}
.map-box:hover img {
    opacity: 0.7;
    filter: alpha(opacity=70); 
    -ms-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}

/* -- Legal section -- */
.legal-text {
    text-align: left;
	width: 100%;
}
.legal-text a,
.legal-text a:active {
    cursor: pointer;
	color: #fcfcfc;
}
.legal-text a:hover { color: #be202e; }
p.bup, p.bup a,
p.bup a:active { color: #b0b0b0; }
p.bup a:hover { color: #d0d0d0; }

/* ----- FOOTER ----- */
footer {
    background-color: #555555;
    color: #fcfcfc;
	width: 100%;
    padding: 20px 0;
	-webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.5);
	box-shadow: 0 1px 5px rgba(0,0,0,0.5);
}
footer a { color: #fcfcfc; }
footer a:hover,
footer a:active { color: #be202e; }
#copy, #legal-link, #share {
    line-height: 25px;
	text-align: center;
    vertical-align: middle;
}
#share i {
    font-size: 1.25em;
}


/* ----- ICON BUTTONS ----- */

/* -- Scroll up -- */
a.scroll-to-top {
    background: rgba(200, 200, 200, 0.5) none repeat scroll 0% 0%;
    cursor: pointer;
    display: block;
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 999;
    text-align: center;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}
a.scroll-to-top:hover {
      background: #be202e;
      opacity: .8;
}
a.scroll-to-top.hide { bottom: -200px; }
a.scroll-to-top i {
    font-size: 20px;
    color: #555555;
    display: inline-block;
    margin-top: 9px;
}
a.scroll-to-top i:hover { color: #fefefe; }

/* -- Scroll down -- */
.scroll-down {
	text-align: center;
    position: relative;
	margin: 0 auto;
}
.scroll-down i {
    display: none;
    color: #ffffff;
	font-size: 3em;
    font-weight: bold;
    -webkit-animation: fade-in ease-in-out 2s 2s both;
    animation: fade-in ease-in-out 2s 2s both;
}
.bounce {
	-webkit-animation: bounce 3s infinite;
	animation: bounce 3s infinite;
}
@-webkit-keyframes bounce {
	0%, 20%, 50%, 80%, 100% {
		-webkit-transform: translateY(-70px);
        transform: translateY(-70px);
	}
	40% {
		-webkit-transform: translateY(-100px);
        transform: translateY(-100px);
	}
	60% {
		-webkit-transform: translateY(-80px);
        transform: translateY(-80px);
	}
}
@keyframes bounce {
	0%, 20%, 50%, 80%, 100% {
		-webkit-transform: translateY(-70px);
		transform: translateY(-70px);
	}
	40% {
		-webkit-transform: translateY(-100px);
		transform: translateY(-100px);
	}
	60% {
		-webkit-transform: translateY(-80px);
		transform: translateY(-80px);
	}
}

/* ----- MEDIA QUERIES ----- */
@media (min-width: 550px) {
    .form-container { margin-bottom: 0px; }
    #legal-link { text-align: left; }
    #copy { text-align: right; }
}
@media (max-width: 700px) {
    #navbar { margin: 0 15px; }
    #navbar a.logo { padding-left: 0;}
	nav ul { 
		display: none;
		position: absolute;
		background: #555555;
		right: 0;
		top: 50px;
		width: 150px;
        -webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.5);
        box-shadow: 0 1px 5px rgba(0,0,0,0.5);
	}
	nav li {
        display: block;
        float: none;
		width: 100%;
		padding: 0 20px;
		margin: 0;
	}
	nav #menu-icon { display: block; }
}
@media (max-width: 640px) {
	h1, h2, h3 { line-height: 1.2em; }
	h1 { margin-bottom: 20px; }
	img { max-width: 80%; }
	img.map { max-width: 100%; }
	section { padding: 50px 0; }
	.banner {
        font-size: 80%;
        padding: 0;
    }
    .banner .logo-container { padding-top: 5%; }
}
@media (min-width: 641px) {
	.banner { font-size: 100%; }
}
@media (min-width: 960px) {
	.banner { font-size: 130%; }
    .banner ul.slider li {
        background-image: url(../img/banner-1.jpg);
	}
    .banner ul.slider li:nth-child(2) {
        background-image: url(../img/banner-2.jpg);
	}
    .banner ul.slider li:nth-child(3) {
        background-image: url(../img/banner-3.jpg);
	}
    .banner ul.slider li:nth-child(4) {
        background-image: url(../img/banner-4.jpg);
	}
	.scroll-down i { display: block; }
}
