@font-face {
    font-family: 'Raleway-Regular';
    src: url('fonts/raleway/Raleway-Regular.eot');
    src: url('fonts/raleway/Raleway-Regular.eot?#iefix') format('embedded-opentype'),
         url('fonts/raleway/Raleway-Regular.woff') format('woff'),
         url('fonts/raleway/Raleway-Regular.ttf') format('truetype'),
         url('fonts/raleway/Raleway-Regular.svg#Raleway-Regular') format('svg');
}

@font-face {
    font-family: 'Raleway-Bold';
    src: url('fonts/raleway/Raleway-Bold.eot');
    src: url('fonts/raleway/Raleway-Bold.eot?#iefix') format('embedded-opentype'),
         url('fonts/raleway/Raleway-Bold.woff') format('woff'),
         url('fonts/raleway/Raleway-Bold.ttf') format('truetype'),
         url('fonts/raleway/Raleway-Bold.svg#Raleway-Bold') format('svg');
}

@font-face {
    font-family: 'lekton';
    src: url('fonts/lekton/Lekton-Regular.eot');
    src: url('fonts/lekton/Lekton-Regular.eot?#iefix') format('embedded-opentype'),
         url('fonts/lekton/Lekton-Regular.woff') format('woff'),
         url('fonts/lekton/Lekton-Regular.ttf') format('truetype'),
         url('fonts/lekton/Lekton-Regular.svg#Lekton-Regular') format('svg');
}


body {
  padding: 0px;
  margin: 0px;
  line-height: 1.5;
  font-size: 14px;
  font-family: 'Raleway-Regular', Helvetica, sans-serif;
  
  background-color: #fff;
}

a img {
  border: none;
}

img {
  max-width: 100%;
  vertical-align: top;
  margin-left: auto;
  margin-right: auto;
}

a,
a:visited,
a:active {
  text-decoration:none;
  /* color: #007ebd; */
  color: #009EF5;
  cursor: pointer;
}

a:hover {
  color: #222;
}

p {
  padding: 0px 0px 1em;
  margin: 0px;
  clear:both;
}
p ~ p {
  padding-bottom: 0.5em;
}
p ~ ul,
p ~ ol {
  margin: 0.5em 0em;
}

h1 {
  color: #009EF5;
  font-size: 2.5em;
  margin-top: 0px;
  font-family: 'Raleway-Regular', Helvetica, sans-serif;
}

h2 {
  font-size: 1.2em;
  margin-bottom: 15px;
}

h3 {
  font-size: 1.4em;
  margin-bottom: 10px;
}

h4 {
  margin-bottom: 10px;
}

img {
    max-width: 100%;
    vertical-align: top;
}

.clear {
  clear:both;
}
.for_desk {
  display: block;
}
.for_mobile {
  display: none;
}
#logo {
  display: inline-block;
  width: 200px;
  background: #f2f2f2;
  height: 45px;
  border-radius: 0px 3px 3px 0px;
  -moz-border-radius: 0px 3px 3px 0px;
  -webkit-border-radius: 0px 3px 3px 0px;
}

.all {
  margin: 0px auto;
  max-width: 960px;
}

.all.small {
  max-width: 600px;
}

header {
  margin-top: 0px;
  padding: 0px;
  border-bottom: 5px solid #333;
  border-top: 5px solid #333;
  background-color: #333;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
  -moz-box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
  -webkit-box-shadow: 0px 0px 10px rgba(0,0,0,0.3);

  position: fixed;
  top: 0px;
  width: 100%;
  z-index: 5;
  
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
header:after {
  content: " ";
  display: block;
  clear: both;
}

header img {
    max-width: 150px;
    padding: 12px 20px 0px;
    margin: 0px;
}

article {
  color: #333;
  padding: 40px 0px 100px;
}

section {
  background-color: #fff;
  margin-bottom: 40px;
  width: 100%;
  box-sizing:border-box;
  -moz-box-sizing:border-box;
  -webkit-box-sizing:border-box;
}

.blue_stripe {
  color: #fff;
  background: #009EF5;
  font-size: 1em;
  margin-top: 45px;
  padding: 40px 0px 10px;
  text-align: center;
}
.blue_stripe h1 {
  color: #fff;
}

.row_boxes {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.row_boxes:after {
  clear: both;
  content: " ";
  display: block;
}
.row_boxes .one_box {
  position: relative;
  width: 100%;
  min-height: 1px;

  -ms-flex-preferred-size: 0;
  flex-basis: 0;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  max-width: 100%;
}

@media (min-width: 768px) {
  .row_boxes .one_box {
      -webkit-box-flex: 0;
      -ms-flex: 0 0 33.333333%;
      flex: 0 0 33.333333%;
      max-width: 33.333333%;
      padding: 10px;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
  }
}

.row_boxes .w_100 {
  width: 100%!important;
}

.tile {
  padding: 20px;
  border: 3px solid #009EF5;

  display: block;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;

  height: 100%;

}

.home_boxes .one_box img {
  max-width: 100%;
  vertical-align: top;
}
.home_boxes .one_box:hover img {
  -webkit-animation-name: pulse;
  animation-name: pulse;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
.homes_boxes .one_box .text_box {
  margin: 20px 0px;
}
.home_boxes .one_box p {
  padding: 10px 0px 0px;
}
.part_left {
  float:left;
  width: 60%;
}
a.one_box,
a.one_box:visited {
	color: #333;
}
a.one_box:hover {
	color: #009EF5;
}

footer {
  color: #ccc;
  text-shadow: 1px 1px 0px rgba(0,0,0,1);
  padding: 20px;
  margin-top: 20px;
  background: #333;
}

footer > div:after {
  clear: both;
  display: block;
  content: " ";
}

footer a,
footer a:visited {
  color: #ccc;
}
footer a:active,
footer a:hover {
  color: #009EF5;
}
footer .copyright {
  float: right;
  cursor: default;
}
/* -- Overlay -- */
/* the overlayed element */
.simple_overlay {

    /* must be initially hidden */
    display:none;

    /* place overlay on top of other elements */
    z-index:10000;

    /* styling */
    background-color:#333;
    padding: 30px;

    width:675px;
    min-height:200px;
    border:1px solid #666;

    /* CSS3 styling for latest browsers */
    -moz-box-shadow:0 0 90px 5px #000;
    -webkit-box-shadow: 0 0 90px #000;
}

.simple_overlay img {
  max-width: 420px;
  width: auto;
}

/* close button positioned on upper right corner */
.simple_overlay .close {
    background: #666;
    border: 1px solid #222;
    border-radius: 33px;
    -moz-border-radius: 33px;
    -webkit-border-radius: 33px;
    position:absolute;
    right:-15px;
    top:-15px;
    cursor:pointer;
    height:33px;
    width:33px;
}

.simple_overlay .close:before {
  color: #222;
  content: "x";
  padding-left: 11px;
  padding-top: 12px;
  font-weight: bold;
  font-size: 20px;
}

 #triggers {
  text-align:center;
  }

  #triggers img {
  cursor:pointer;
  margin:0 5px;
  background-color:#fff;
  border:1px solid #ccc;
  padding:2px;

  -moz-border-radius:4px;
  -webkit-border-radius:4px;

  display:inline-block;
  max-width: 200px;

  }

    /* styling for elements inside overlay */
  .details {
  float:right;
  color:#f2f2f2;
  width:220px;
  text-shadow: 1px 1px 0px #000;
  }

  .details h3 {
  margin-top: 0px;
  padding-top: 0px;
  }

  .details a {
    display:block;
    margin-top: 20px;
    font-size: 16px;
  }

  .details a:hover {
    color: #fff;
  }

  /* -- Overlay Ende -- */


/* -- Portfolio List -- */
.three_boxes {
  display: block;
}
.three_boxes:after {
  content: " ";
  clear: both;
  display: block;
}
.three_boxes .one_box {
  display: block;
  float: left;
  width: 31.3%;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
.three_boxes .one_entry {
  padding: 14% 0% 0%;
  border-top: 3px solid #333;
  margin-top: 14%;
}
.three_boxes .one_entry:first-child {
  border-top: none;
  margin-top: 0%;
  padding: 0%;
}
.three_boxes .spacer {
  width: 3%;
  height: 20px;
  display: block;
  float: left;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

#portfolio .img_wrp {
  border: 1px solid #ccc;
  border-radius: 3px 3px 0px 0px;
  -moz-border-radius: 3px 3px 0px 0px;
  -webkit-border-radius: 3px 3px 0px 0px;
  overflow: hidden;
}

/* -- Leistungen -- */

.two_boxes {
  display: block;
  width: 100%;
  position: relative;
  margin: 10px 0px 40px;
}
.two_boxes:after {
  clear: both;
  display: block;
  content: " ";
}
.two_boxes .one_box {
  display: block;
  float: left;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  width: 50%;
}
.two_boxes.with_padding .one_box:nth-child(2n-1) {
  padding-right: 2%;
}
.two_boxes.with_padding .one_box:nth-child(2n) {
  padding-left: 2%;
}

.tb_60_40 .tb_60 {
  width: 60%;
}
.tb_60_40 .tb_40 {
  width: 40%;
}
.tb_60_40 .tb_60:nth-child(1) {padding-right: 2%;}
.tb_60_40 .tb_60:nth-child(2) {padding-left: 2%;}

/* Tags */

code {
  background: #eee;
  border: 1px solid #ccc;
  padding: 10px 20px;
  display:block;
  margin: 0px;
}

.tag_cloud {
  font-family: "Courier New";
  font-size: 20px;
}

.tags_1 {
  font-size: 20px;
}

.tags_2 {
  font-size: 18px;
}

.tags_3 {
  font-size: 15px;
}

.tags_4 {
  font-size: 12px;
}

/* Tags End */

.quote {
  padding: 20px;
  border: 1px solid #009EF5;
  display: block;
  font-size: 20px;
}
.quote i {
  display: block;
  text-align: right;
  font-size: 12px;
}

 .pulse {
  -webkit-animation-name: pulse;
  animation-name: pulse;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  }
  @-webkit-keyframes pulse {
  0% {
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
  }
  50% {
  -webkit-transform: scale3d(1.05, 1.05, 1.05);
  transform: scale3d(1.05, 1.05, 1.05);
  }
  100% {
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
  }
  }
  @keyframes pulse {
  0% {
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
  }
  50% {
  -webkit-transform: scale3d(1.05, 1.05, 1.05);
  transform: scale3d(1.05, 1.05, 1.05);
  }
  100% {
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
  }
  } 

  .fadeIn img,
  .fadeIn {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
  }
  @-webkit-keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
  }
  @keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
  } 

@media only screen and (min-width: 480px) and (max-width: 1024px) {
  .all {
    padding: 0px 20px;
  }
}
@media only screen and  (min-width: 820px) and (max-width: 900px) {

  .home_boxes .one_box {
    min-height: 380px;
  }
}
@media only screen and (max-width: 768px) {

  .for_desk {
    display: none;
  }
  .for_mobile {
    display: block;
  }
}

.fadeInLeft {
  -webkit-animation-name: fadeInLeft;
  animation-name: fadeInLeft;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  }
  @-webkit-keyframes fadeInLeft {
  0% {
  opacity: 0;
  -webkit-transform: translate3d(-100%, 0, 0);
  transform: translate3d(-100%, 0, 0);
  }
  100% {
  opacity: 1;
  -webkit-transform: none;
  transform: none;
  }
  }
  @keyframes fadeInLeft {
  0% {
  opacity: 0;
  -webkit-transform: translate3d(-100%, 0, 0);
  transform: translate3d(-100%, 0, 0);
  }
  100% {
  opacity: 1;
  -webkit-transform: none;
  transform: none;
  }
} 
.fadeInRight {
  -webkit-animation-name: fadeInRight;
  animation-name: fadeInRight;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  }
  @-webkit-keyframes fadeInRight {
  0% {
  opacity: 0;
  -webkit-transform: translate3d(100%, 0, 0);
  transform: translate3d(100%, 0, 0);
  }
  100% {
  opacity: 1;
  -webkit-transform: none;
  transform: none;
  }
  }
  @keyframes fadeInRight {
  0% {
  opacity: 0;
  -webkit-transform: translate3d(100%, 0, 0);
  transform: translate3d(100%, 0, 0);
  }
  100% {
  opacity: 1;
  -webkit-transform: none;
  transform: none;
  }
} 

.blue_stripe h1 {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  }
  @-webkit-keyframes fadeInDown {
  0% {
  opacity: 0;
  -webkit-transform: translate3d(0, -100%, 0);
  transform: translate3d(0, -100%, 0);
  }
  100% {
  opacity: 1;
  -webkit-transform: none;
  transform: none;
  }
  }
  @keyframes fadeInDown {
  0% {
  opacity: 0;
  -webkit-transform: translate3d(0, -100%, 0);
  transform: translate3d(0, -100%, 0);
  }
  100% {
  opacity: 1;
  -webkit-transform: none;
  transform: none;
  }
} 

@media only screen and (max-width: 660px) {
  body {
    padding:0px;
    max-width:100%;
    width:100%;
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
  }
  .all {
    padding: 0px 10px;
  }

  img {
    max-width: 100%;
    vertical-align: top;
  }

  #logo {
    display:block;
    float: left;
  }

  header {
    position: relative;
    border-bottom: none;
  }

  header a {
    display:block;
    text-align:center;
  }

  #main_nav {
    float: none;
    clear: both;
    display:block;
    margin-right: 0px;
    margin-bottom: 0px;
  }
  nav ul li {
    display:block;
    text-align:center;

  }

  nav ul li a {
    border-right: none;
    border-top: 1px solid #ccc;
  }

  nav ul li:first-child a {
    border-top: none;
  }

  nav#main_nav ul > li > ul {
    position:relative;
    border-radius: 0px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border:none;
    background-color: #ddd;
  }

  .blue_stripe {
    margin-top: 0px;
    padding: 20px 0px 10px;
  }
  .teaser_box {
    margin-top: 0px;
    border-bottom-width: 10px;
  }

  #slogan {
    float:none;
    display:block;
    margin: 20px auto;
  }

  .two_boxes .one_box, 
  .three_boxes .one_box,
  .home_boxes .one_box {
    width: 100%;
    margin: 20px 0px;
    float: none;
  }
  .two_boxes.with_padding .one_box:nth-child(2n-1),
  .two_boxes.with_padding .one_box:nth-child(2n),
  .tb_60_40 .tb_60:nth-child(1),
  .tb_60_40 .tb_60:nth-child(2) {
    margin-left: 0px;
    margin-right: 0px;
    padding-left: 0px;
    padding-right: 0px;
  }


  .home_boxes .one_box:nth-child(2n) {
    margin-left: 0px;
  }
  .home_boxes .one_box img {
    width: auto;
    max-height: 150px;
    margin: 0px auto;
  }
  .home_boxes .one_box p {
    padding: 0px;
  }
  .three_boxes .spacer {
    display: none;
  }
  .three_boxes .one_entry:first-child {
    border-top: 3px solid #333;
  }

  #portfolio .img_wrp {
    max-height: 300px;
    overflow:hidden;
  }

  section ul {
    padding-left: 20px;
  }

  h1 {
    font-size: 1.6em;
  }
  h2 {
    font-size: 1.4em;
  }
  h3 {
    font-size: 1.2em;
  }


  .part_left,
  .part_right {
    display:block;
    width: 100%;
    max-width: 100%;
    float:none;
    margin: 0px;
  }

  .part_right {
    margin-top: 40px;
  }

  .pic_left img,
  .pic_right img {
    float: none;
    display:block;
    margin: 0px 0px 20px;
    max-width: 100%;
  }

  .simple_overlay {
    width: 100%;
    box-sizing:boder-box;
    -moz-box-sizing:boder-box;
    -webkit-box-sizing:boder-box;

  }

  .simple_overlay img {
    display: none;
  }

  .simple_overlay .close {
    left: 20px;
  }

  .simple_overlay .details {
    float: none;
    max-width: 100%;
  }
}

