* {
    margin: 0;
    padding: 0;
}

body {
     background-color: #ebe9e9;
    font-size: 100%;
    font-family: "Open Sans";
    font-weight: 400;
}

img {
    width: 100%;
}

p {
    color: #303030;
    font-size: 1.25em;
}

.wrapper {
    width: 1200px;
    margin: 0 auto;
}

.clear {
    clear: both;
}

hr {
    margin: 2em 0;
    width: 100%;
    display: inline-block;
    clear: both;
    background-color: #C0C0C0;
    border: solid 1px #C0C0C0;
}

.button {
    padding: 0.55em 1.25em;
    border-radius: 2px;
    display: inline-block;
    border: solid 1px transparent;
    -webkit-transition: 0.75s ease-in-out;
    -moz-transition: 0.75s ease-in-out;
    -o-transition: 0.75s ease-in-out;
    transition: 0.75s ease-in-out;
}

.button a {
    text-decoration: none;
    color: #ffffff;
}

/*----- NAVIGATION -----*/
header {
    border-bottom: solid 1px #C0C0C0;
}
nav {
	height: 9rem
}

nav ul {
    width: 100%;
    overflow: hidden;
    padding: 1em 0;
}

nav li {
    float: right;
    text-align: center;
    list-style-type: none;
    margin-right: 2em;
    margin-top: 5%;
}

nav #logo {
    width: 25%;
    padding: 1% 5%;
    padding-left: 0;
    float: left;
    margin-top: 0;
}

nav li a {
    text-decoration: none;
    color: #000000;
}

nav li a:hover {
    color: #888888;
}

nav .active a {
margin-left: 1.7rem;
    font-size: 1.3em;
    color: black;
    -o-transition: .5s;
    -ms-transition: .5s;
    -moz-transition: .5s;
    -webkit-transition: .5s;
    transition: 0.5s;
}
nav li a {
    text-decoration: none;
    color: #000000;
}

/*----- SLIDER -----*/
#slider {
    background-image: url(../images/Header3.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 15.0% 0;
    position: relative;
}

#slider h2    { font-size: 1.7rem;
    font-style: Open Sans;
    font-weight: 600;
    text-align: center;
    position: absolute;
    width: 36%;
    padding-top: 4em;
    background-color: rgba(244, 243, 243, 0.73);
    top: 18%;
    left: 0;
    right: 0;
    margin: 0 auto;
    height: 40%;
    border-color: rgb(253, 253, 253);
    border-width: 0.4rem;
    border-radius: 1.7%;
    border-style: solid;
  }

#slider strong {
    color: #000000;
    font-weight: 600;
    font-size: 2rem;
}

/*----- TEASER -----*/
#teaser {
    overflow: hidden;
    text-align: center;
    padding: 4% 0;
}

#teaser h1, #teaser p {
    width: 65%;
    margin: 0 auto;
}

#teaser h1 {
    color: #2688E3;
}

#teaser #button1 {
    width: auto;
    background-color: #2688E3;
    margin-right: 1em;
    margin-top: 2em;
    font-size: 1rem;
    -moz-box-shadow:1px 1px 6px #A6A6A6; /* Firefox */
    -webkit-box-shadow:1px 1px 6px #A6A6A6; /* Chrome, Safari */
    -khtml-box-shadow:1px 1px 6px #A6A6A6; /* Konqueror */
    box-shadow:1px 1px 6px #A6A6A6; /* CSS3 */
}

#teaser #button1:hover {
    background-color: transparent;
    border: solid 1px #2688E3;
}

#teaser #button1:hover a {
    color: #2688E3;
}

#teaser #button2 {
    width: auto;
    background-color: #242424;
    margin-left: 1em;
    margin-top: 2em;
    font-size: 1rem;
    -moz-box-shadow:1px 1px 6px #A6A6A6; /* Firefox */
    -webkit-box-shadow:1px 1px 6px #A6A6A6; /* Chrome, Safari */
    -khtml-box-shadow:1px 1px 6px #A6A6A6; /* Konqueror */
    box-shadow:1px 1px 6px #A6A6A6; /* CSS3 */
}

#teaser #button2:hover {
    background-color: transparent;
    border: solid 1px #242424;
}

#teaser #button2:hover a {
    color: #242424;
}

/*----- TEASER_BLOCK -----*/
#teaser_block {
    background-color: #E8E8E8;
    text-align: center;
    overflow: hidden;
    padding: 2% 0;
}

#teaser_block li {
     display: inline-block;
    width: 18%;
    height: 2.35rem;
    margin-left: 0%;
    /* float: left; */
    background-color: #E8E8E8;
    border: 0.2rem;
    border-style: solid;
}

#teaser_block img {
    width: 40%;
    padding: 5% 30%;
}

#teaser_block h3 {
    font-size: 1.25em;
    color: #2688E3;
    margin-bottom: 1em;
}

#teaser_block p {
    font-size: 1rem;
    border: 0.2rem;
    border-style: solid;
    padding:1rem;
    margin-top: 0.232rem;
    border-color: black;

}

/*----- PORTFOLIO -----*/
#portfolio {
    padding: 5% 0;
    text-align: center;
    overflow: hidden;
}

#portfolio h2 {
    color: #2688E3;
    font-size: 2.5em;
}

#portfolio p {
    margin-top: 0.5em;
    margin-bottom: 4em;
}

#portfolio article {
    margin-bottom: 5em;
    overflow: hidden;
}

#portfolio article img {
    width: 55.5%;   /* -1% BORDER */ 
    padding: 0.5%;
    background-color: #61ADE7;
    border: solid 1px #3E8BC6;
    float: left;
    display: inline-block;
    -webkit-transition: 0.75s ease-in-out;
    -moz-transition: 0.75s ease-in-out;
    -o-transition: 0.75s ease-in-out;
    transition: 0.75s ease-in-out;
    
    -moz-box-shadow:1px 1px 6px #000000; /* Firefox */
    -webkit-box-shadow:1px 1px 6px #000000; /* Chrome, Safari */
    -khtml-box-shadow:1px 1px 6px #000000; /* Konqueror */
    box-shadow:1px 1px 6px #000000; /* CSS3 */    
}

#portfolio article div {
    width: 40%;
    margin-left: 2.5%;
    float: left;
    display: inline-block;
    text-align: left;
}

#portfolio article h3 {
    color: #2688E3;
    font-size: 1.75em;
    margin-bottom: 1em;
}

#portfolio article blockquote {
    margin-bottom: 1em;
}

#portfolio article li {
    list-style-type: circle;
    list-style-position: inside;
    line-height: 150%;
}

/*----- MAIN -----*/
#main h1 {font-size: 2.25em; color: #2688E3; padding: 1em 0; padding-bottom: 0.25em;}
#main h2 {font-size: 1.5em; color: #303030; padding: 1em 0; padding-bottom: 0.5em;}
#main h3 {font-size: 1.25em; color: #3A3A3A; padding: 1em 0; padding-bottom: 0.5em;}
#main h4 {font-size: 1em;}

#main a { font-size: 1.25rem; color: #2688E3;}

/*----- FOOTER -----*/
footer {
    overflow: hidden;
    border-top: solid 1px #C0C0C0;
    margin-top: 3em;    
}

footer a {
    text-decoration: none;
    color: #454545;
}

footer a:hover {
    color: #AEAEAE;    
}

footer ul {
    float: right;
    padding: 1.5em 0;
}

footer ul li {
    list-style-type: none;
    display: inline-block;
    margin-right: 0.5em;
    padding: 0 1em;
}

footer ul li a {
    text-decoration: underline;
}

footer p {
    float: left;
    padding: 1.5em 0;
    font-size: 1rem;
}

/*----- UEBER-MICH -----*/
#skills {
    width: 60%;
}

#skills li {
    list-style-type: none;
    padding: 2% 1%;
    margin: 2.5% 0;
}

#skills li:nth-child(1) {
    width: 98%;
    background-color: #FFC300;
    color: #fff;
}

#skills li:nth-child(2) {
    width: 78%;
    background-color: #FF5454;
    color: #fff;
}

#skills li:nth-child(3) {
    width: 38%;
    background-color: #618EFF;
    color: #fff;
}

#skills li:nth-child(4) {
    width: 28%;
    background-color: #50CC50;
    color: #fff;
}

/*----- PREISBERECHNER -----*/
#question {
    margin-top: 2em;
}

#question input, #question select {
    margin: 1em 0;
}

#question input, #question select, #question option {
    padding: 0.5em;
}

.info {
    cursor: pointer;
    color: #50B4FF;
}

/*----- SEO -----*/
#seo_aside {
    display: none;
}

span.info:hover > aside#seo_aside {
    display: block;
}

#seo_aside h4 {
    margin-bottom: 0.5em;
}

#seo_aside ul {
    margin-bottom: 1em;
}

#seo_aside li {
    list-style-position: inside;
    list-style-type: circle;
}

/*----- ERGEBNIS -----*/
#ergebnis {
    display: block;
    margin-top: 1.5em;
}

/*WORK*/
#work {overflow: hidden;}

#work h1 {
    padding: 3%;
    padding-left: 0;
    padding-bottom: 0;
}
#work h2 {
    line-height: 150%;
    color: #aaaaaa;
}

#work p {
    padding: 1.5%;
    padding-top: 0;
    color: #cccccc;
    display: none;
}

#work h4 {
    margin: 1.5%;
    color: #fff;
    padding-bottom: 0;
    cursor: pointer;
}

#work .work_center {
    width: 96%;
    padding: 0 1.5%;
}
#work .work_center p {
    background: none;
    font-weight: 300;
    color: #222222;
    padding-left: 0;
    display: block;
}

#work .down_push {
    background-color: #444444;
    overflow: hidden;
}

#work .down_push p {
    color: #cccccc;
    padding-left: 1.5%;
}

#work .clear {margin-top: 1.5%}

#work .down_push:hover {background-color: #2688e3; cursor: pointer;}
#work .down_push:hover p {color: #ffffff;}

#work .first {background-color: #2688e3;}
#work .first p {color: #ffffff;}

#work img {
    width: 95.5%;
    margin: 1.5%;
    display: inline-block;
    float: left;
    border: solid 1px #cccccc;
}

#work .down_content { display:none; text-align: center; margin: 0 auto; }

@media screen and (min-width: 32em) {   /*<<< WENN DAS RESPON MENU KOMMT*/
#work img {
    width: 46%;
    margin: 1.5%;
}
#work h4 {
  margin-bottom: 0;
}
#work p {
  display: block;
  margin-bottom: 0;
}}
@media screen and (min-width: 48em) {   /*<<< WENN DAS RESPON MENU KOMMT*/
#work .down_content img {
    width: 30%;
    padding: 0;
    margin: 1.5% 0;
    margin-right: 1.5%;
}}

/*----- ERGEBNIS -----*/

#main #template {
    overflow: hidden;
}

#main #template div img {
    width: 27%;
    margin-right: 5%;
    border: solid 3px #636363;
    display: inline-block;
    float: left;
}

#main #template div .end {
    margin-right: 0;
}


/***************************************************************/
/***************************************************************/
/***************************************************************/
/***************************************************************/
/***************************************************************/
/**********************[ UNWICHTIGE CSS ]***********************/
/***************************************************************/
/***************************************************************/
/***************************************************************/
/***************************************************************/
/***************************************************************/

/*----- Preload images -----*/
body:after {
  content: url(../img/button/close.png) url(../img/button/loading.gif) url(../img/button/prev.png) url(../button/img/next.png);
  display: none;
}

.lightboxOverlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: black;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  opacity: 0.8;
  display: none;
}

.lightbox {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 10000;
  text-align: center;
  line-height: 0;
  font-weight: normal;
}

.lightbox .lb-image {
  display: block;
  height: auto;
  max-width: inherit;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
}

.lightbox a img {
  border: none;
}

.lb-outerContainer {
  position: relative;
  background-color: white;
  *zoom: 1;
  width: 250px;
  height: 250px;
  margin: 0 auto;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
}

.lb-outerContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-container {
  padding: 4px;
}

.lb-loader {
  position: absolute;
  top: 43%;
  left: 0;
  height: 25%;
  width: 100%;
  text-align: center;
  line-height: 0;
}

.lb-cancel {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto;
  background: url(../img/loading.gif) no-repeat;
}

.lb-nav {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
}

.lb-container > .nav {
  left: 0;
}

.lb-nav a {
  outline: none;
  background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
}

.lb-prev, .lb-next {
  height: 100%;
  cursor: pointer;
  display: block;
}

.lb-nav a.lb-prev {
  width: 34%;
  left: 0;
  float: left;
  background: url(../img/prev.png) left 48% no-repeat;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  -webkit-transition: opacity 0.6s;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  transition: opacity 0.6s;
}

.lb-nav a.lb-prev:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.lb-nav a.lb-next {
  width: 64%;
  right: 0;
  float: right;
  background: url(../img/next.png) right 48% no-repeat;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  -webkit-transition: opacity 0.6s;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  transition: opacity 0.6s;
}

.lb-nav a.lb-next:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.lb-dataContainer {
  margin: 0 auto;
  padding-top: 5px;
  *zoom: 1;
  width: 100%;
  -moz-border-radius-bottomleft: 4px;
  -webkit-border-bottom-left-radius: 4px;
  border-bottom-left-radius: 4px;
  -moz-border-radius-bottomright: 4px;
  -webkit-border-bottom-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.lb-dataContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-data {
  padding: 0 4px;
  color: #ccc;
}

.lb-data .lb-details {
  width: 85%;
  float: left;
  text-align: left;
  line-height: 1.1em;
}

.lb-data .lb-caption {
  font-size: 13px;
  font-weight: bold;
  line-height: 1em;
}

.lb-data .lb-number {
  display: block;
  clear: left;
  padding-bottom: 1em;
  font-size: 12px;
  color: #999999;
}

.lb-data .lb-close {
  display: block;
  float: right;
  width: 30px;
  height: 30px;
  background: url(../img/close.png) top right no-repeat;
  text-align: right;
  outline: none;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
  opacity: 0.7;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  -o-transition: opacity 0.2s;
  transition: opacity 0.2s;
}

.lb-data .lb-close:hover {
  cursor: pointer;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

/*
    Mobile Menu Core Style
*/

.slicknav_btn { position: relative; display: block; vertical-align: middle; float: right; padding: 0.438em 0.625em 0.438em 0.625em; line-height: 1.125em; cursor: pointer; }
.slicknav_menu  .slicknav_menutxt { display: block; line-height: 1.188em; float: left; }
.slicknav_menu .slicknav_icon { float: left; margin: 0.188em 0 0 0.438em; }
.slicknav_menu .slicknav_no-text { margin: 0 }
.slicknav_menu .slicknav_icon-bar { display: block; width: 1.125em; height: 0.125em; -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); }
.slicknav_btn .slicknav_icon-bar + .slicknav_icon-bar { margin-top: 0.188em }
.slicknav_nav { clear: both }
.slicknav_nav ul,
.slicknav_nav li { display: block;}
.slicknav_nav .slicknav_arrow { font-size: 0.8em; margin: 0 0 0 0.4em; }
.slicknav_nav .slicknav_item { cursor: pointer; }
.slicknav_nav .slicknav_row { display: block; }
.slicknav_nav a { display: block }
.slicknav_nav .slicknav_item a,
.slicknav_nav .slicknav_parent-link a { display: inline }
.slicknav_menu:before,
.slicknav_menu:after { content: " "; display: table; }
.slicknav_menu:after { clear: both }
/* IE6/7 support */
.slicknav_menu { *zoom: 1 }

/*
    User Default Style
    Change the following styles to modify the appearance of the menu.
*/

.slicknav_menu {
    font-size:16px;
}
/* Button */
.slicknav_btn {
    margin: 5px 5px 6px;
    text-decoration:none;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background-color: #2c4ba4;
}
/* Button Text */
.slicknav_menu  .slicknav_menutxt {
    color: #dddddd;
}
/* Button Lines */
.slicknav_menu .slicknav_icon-bar {
  background-color: #dddddd;
}
.slicknav_menu {
    background: #222222;
    padding:5px;
}
.slicknav_nav {
    color: #000;
    margin:0;
    padding:0;
    font-size:0.875em;
}
.slicknav_nav, .slicknav_nav ul {
    list-style: none;
    overflow: hidden;
}
.slicknav_nav ul {
    padding:0;
    margin:0 0 0 20px;
}
.slicknav_nav .slicknav_row {
    padding:5px 10px;
    margin:2px 5px;
}
.slicknav_nav a{
    padding:5px 10px;
    margin:2px 5px;
    text-decoration:none;
    color: #ffffff;
    text-align: center;
    font-size: 1.5em;
}
.slicknav_nav .slicknav_item a,
.slicknav_nav .slicknav_parent-link a {
    padding:0;
    margin:0;
}
.slicknav_nav .slicknav_row:hover {
    background: #ccc;
    color: #323B55;
}
.slicknav_nav a:hover{
    background: #444444;
    color: #eeeeee;
}
.slicknav_nav .slicknav_txtnode {
     margin-left:15px;
}

/**************************************************************/
.btn {
  background: #030303;
  background-image: -webkit-linear-gradient(top, #030303, #000000);
  background-image: -moz-linear-gradient(top, #030303, #000000);
  background-image: -ms-linear-gradient(top, #030303, #000000);
  background-image: -o-linear-gradient(top, #030303, #000000);
  background-image: linear-gradient(to bottom, #030303, #000000);
  -webkit-border-radius: 3;
  -moz-border-radius: 3;
  border-radius: 0px;
  font-family: Arial;
  color: #ffffff;
  font-size: 20px;
  padding: 6px 20px 10px 20px;
  text-decoration: none;
    cursor: pointer;
  border: 3px;
  border-style:solid;
  border-color: black
}

.btn:hover {
  background: #ffffff;
  background-image: -webkit-linear-gradient(top, #ffffff, #ffffff);
  background-image: -moz-linear-gradient(top, #ffffff, #ffffff);
  background-image: -ms-linear-gradient(top, #ffffff, #ffffff);
  background-image: -o-linear-gradient(top, #ffffff, #ffffff);
  background-image: linear-gradient(to bottom, #ffffff, #ffffff);
  text-decoration: none;
  color: black;
  transition: all 1s ease 0s;
  cursor: pointer;
  border: 3px;
  border-style:solid;
}


