body {
	margin: 0;
	height: 100%;
	background: #fff;
	font-size:14px;
	line-height: 20px;
  font-family: Arial, Tahoma, sans-serif;
}
@font-face {
  font-family: "Axure Handwriting";
  src: url(../fonts/AxureHandwriting.woff) format("woff");
}

@font-face {
  font-family: "Axure Handwriting Bold";
  src: url(../fonts/AxureHandwriting-Bold.woff) format("woff");
}

#topbar {
  width: 100%;
  height: 124px;
  background-color: rgba(242, 242, 242, 1);
}

#logocontainer {
  margin: 0px auto;
  width: 590px;
  height: 112px;
}

#logo {
  width: 340px;
  background-repeat: no-repeat;
  display: inline-block;
}

#logotext {
  font-family: "Axure Handwriting Bold";
  font-size: 32px;
  color: #333;
  display: inline-block;
  vertical-align: top;
  line-height: 124px;
}

#burger {
  display: none;
}

#menubanner {
  width: 100%;
  height: 510px;
  background-color: #fff;
}

#menuinner {
  background-image: url('../images/banner2.jpg');
  background-repeat: no-repeat;
  margin: 0px auto;
  width:874px;
  height:510px;
  position: relative;
}

.menubutton {
    font-family: "Axure Handwriting Bold";
    font-size: 26px;
    position: absolute;
}

#menuitem1 { color: #9900CC; top: 26px; left: 380px; }
#menuitem2 { color: #00CC00; top: 164px; left: 40px; }
#menuitem3 { color: #3399CC; top: 200px; right: 64px; }
#menuitem4 { color: #990000; top: 310px; left: 60px; }
#menuitem5 { color: #FFCC00; top: 290px; right: 160px; }

a { text-decoration: none; color: inherit; }
a:hover, #footer a:hover { color: inherit; }

#menuitem1 a:hover { color: #D148FF; }
#menuitem2 a:hover { color: #00E600; }
#menuitem3 a:hover { color: #7CBEDE; }
#menuitem4 a:hover { color: #D50000; }
#menuitem5 a:hover { color: #FFDE59; }

#borderline {
  width: 100%;
  height: 8px;
  background-color: rgba(228, 228, 228, 1);
}

.arrows { font-family: Arial, sans serif; font-weight: bold; font-size: 28px; color: #990000; }



/* ******************************************************** */

/*               		      CONTENT                           */

/* ******************************************************** */


#content {
  width: 100%;
  background: #fff;
  min-height: 400px;
}

#contentinner {
  max-width: 950px;
  margin: 0 auto;
  background: #fff;
  line-height: 24px;
}

h1 { 
  font-family: "Axure Handwriting Bold", Arial, sans-serif;
  font-size: 32px; 
  line-height: 60px;
  color: #666666;
}

h2 { 
  font-family: "Axure Handwriting Bold", Arial, sans-serif; 
  margin: 36px 0 14px 0; 
  font-size: 20px; 
  color: #666666;
}

h3 {
  font-family: Arial, sans-serif;
  font-style: italic; 
  margin: 20px 0;
  font-weight: bold;
  font-size: 14px;
  color: #666666;
}

#contentinner p {
  font-family: Arial, sans-serif;
  font-size: 14px;
}

#contentinner a { color: #990000; }
#contentinner a:hover { text-decoration: underline; }

#infoboxes {
  max-width: 950px;
  margin: 0 auto;
  padding-top: 30px;
  text-align: center;
}

#infoboxes .mainboxes {
  width: 200px;
  height: 260px;
  box-sizing: border-box;
  vertical-align: top;
  display: inline-block;
  border: 1px solid #eee;
  border-radius: 10px;
  margin: 0 56px;
  border-color: #CCCCCC;
  -webkit-box-shadow: 2px 2px 5px 0px rgba(174,174,174,1);
  -moz-box-shadow: 2px 2px 5px 0px rgba(174,174,174,1);
  box-shadow: 2px 2px 5px 0px rgba(174,174,174,1);
}

#infoboxes .boximg {
   width: 50px;
   height: 50px;
   margin: 0px auto;
   padding-top: 20px;
}

#infoboxes .boxtext {
  text-align: center; 
  line-height: 24px;
  padding: 20px;
}

ul .liststars { 
  list-style: none;
  position: relative;
  margin-bottom: 20px;
}

ul .liststars:before {
  content: "";
  background-image: url(../images/liststar2.png);
  position: absolute;
  left: -26px;
  top: 1px;
  width: 20px;
  height: 24px;
}

img.floatright { float: right; margin-left: 20px; }
img.floatleft { float: left; margin-right: 20px; }

img#team { margin-top: -70px; }
#arbeitsmittelblock { margin: 0 auto; width: 355px; }
#arbeitsmittelblock img { padding: 0 37px; }


/* ******************************************************** */

/*               		 REFERENCES                             */

/* ******************************************************** */

#viewcenter { text-align: center; }
.ref {
	display:inline-block;
}
.view {
    width: 300px;
    height: 200px;
    margin: 10px;
    display: inline-block;
    border: 10px solid #fff;
    overflow: hidden;
    position: relative;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
    border-radius: 4px;
    cursor: default;
    background: #fff;
}

.view_center {
  text-align: center;
}


.view .mask, .view .content {
    width: 300px;
    height: 200px;
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    opacity: 0;
    transition: all 0.4s ease-in-out;
}

#mask1 { background-color: rgba(237, 249, 255, 0.88); }
#mask2 { background-color: rgba(239, 255, 239, 0.88); }
#mask3 { background-color: rgba(234, 228, 253, 0.88); }
#mask4 { background-color: rgba(253, 252, 228, 0.88); }
#mask5 { background-color: rgba(254, 243, 255, 0.88); }


.view > img {
/*     display: block; */
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    transition: all 0.2s linear;
    max-width: 100%;
/*     height: 200px; */
}
.view h2 {
/*     text-transform: uppercase; */
    color: #fff;
    text-align: center;
    position: relative;
    font-size: 17px;
    padding: 10px;
    background: rgba(9, 37, 80, 0.8);
    margin: 20px 0 0 0;
}
.view .mask h2 {
    transform: translateY(-100px);
    opacity: 0;
    transition: all 0.2s ease-in-out;
}
.view > p {
    font-family: Verdana, sans-serif;
/*     font-style: italic; */
    font-size: 12px;
    position: relative;
    color: #000;
    padding: 10px 20px 20px;
    text-align: center;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.2s linear;
}
.view a.info {
    display: inline-block;
    text-decoration: none;
    padding: 7px 26px;
    background: rgba(9, 37, 80, 0.8);
    color: #fff !important;
    text-transform: uppercase;
    box-shadow: 0 0 1px #000;
    opacity: 0;
    transition: all 0.2s ease-in-out;
}
.view a.info:hover {
    box-shadow: 0 0 5px #000;
    font-weight: bold;
    text-decoration: none !important;
}

.view:hover > img { 
    transform: scale(1.1);
} 

.view:hover .mask { 
    opacity: 1;
}
.view:hover .mask h2,
.view:hover > p,
.view:hover a.info {
    opacity: 1;
    transform: translateY(0px);
}
.view:hover > p {
    transition-delay: 0.1s;
}
.view:hover a.info {
    transition-delay: 0.2s;
}

.modalDialog {
  display:none;
  position: fixed;
  font-family: Arial, Helvetica, sans-serif;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,0.8);
  z-index: 99999;
  -webkit-animation: -w-fadein 0.4s;
  animation: fadein 0.4s;
}

@-webkit-keyframes -w-fadein {
    from { opacity: 0 }
    to   { opacity: 1 }
}
@keyframes fadein {
    from { opacity: 0 }
    to   { opacity: 1 }
}


.modalDialog h2 {
  background: rgba(9, 37, 80, 0.8);
  padding: 6px 10px;
  text-align: center;
  color: #fff;
  margin: 16px 0 14px 0;
}
  
.modalDialog  li,
.modalDialog p {
  color: #000;
  text-align: left;
}
  
.modalDialog.open {
  display:block;
}

.modalDialog > div {
  width: 800px;
  position: relative;
  margin: 80px auto 0 auto;
  padding: 5px 20px 13px 20px;
  border-radius: 4px;
  background: #fff;
  background: -moz-linear-gradient(#fff, #eee);
  background: -webkit-linear-gradient(#fff, #eee);
  background: -o-linear-gradient(#fff, #eee);
}

.modalDialog .scroll {
  max-height: 600px;
  overflow-y: auto;
  overflow-x: hidden;
}

.modalDialog .scrollbottom {
  margin-top: 10px; 
  padding-top: 10px;
  border-top: 4px solid rgba(9, 37, 80, 0.8);
}

.modalDialog > div > p  { padding: 0 46px; }

.modalDialog .scroll img {
  display: block;
  max-height: 600px;
  margin: 10px auto;
  border: 1px solid #ccc;
}

.close {
  background: rgba(228, 228, 228, 1);
  color: #000 !important;
  line-height: 25px;
  position: absolute;
  right: -12px;
  text-align: center;
  top: -10px;
  width: 24px;
  text-decoration: none !important;
  font-weight: bold;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
  -moz-box-shadow: 1px 1px 3px #000;
  -webkit-box-shadow: 1px 1px 3px #000;
  box-shadow: 1px 1px 3px #000;
}

.close:hover { background: #465975; color: #fff !important; }



/* ******************************************************** */

/*               		     FOOTER                             */

/* ******************************************************** */

#footer {
  bottom: 0;
  width: 100%; 
  background-color: rgba(242, 242, 242, 1);
  margin-top: 50px;
}

#footerinner {
  max-width: 960px;
  margin: 0 auto;
}

.footerblock {
  display: inline-block;
  vertical-align: top;
  width: 33%;
  padding: 10px 10px;
  font-size: 14px;
  box-sizing: border-box;
}

#footer h2 { font-size: 16px; color: #666666; }
.h2center { text-align: center; }

#footermenu {
  font-family: "Axure Handwriting", Arial, sans-serif; 
  font-size: 16px;
  list-style: none;
  text-align: right;
  line-height: 28px;
  color: #666666;
  padding: 0;
}

#footermenu a:hover { color: #999999; }



/* ******************************************************** */

/*               		MEDIA QUERIES                           */

/* ******************************************************** */

@media screen and (max-width: 970px) {

  #contentinner .mainboxes {
    margin: 0 20px;
  }
  
  #contentinner { padding: 0 20px; }

}

@media screen and (max-width: 890px) {

  #menubanner {
    height: 0;
    overflow:hidden;
    -webkit-transition:height 0.4s ease-in-out;
    transition:height 0.4s ease-in-out;
  }
  #menubanner.visible {
    height: 260px;
  }
  
  #menuinner {
    background-image:none;
    height: 260px;
    width: initial;
  }

  #menuinner .menubutton {
    position: static;
    text-align: center;
    line-height: 50px;
  }
  
  #burger {
    display: block;
    position: absolute;
    right: 40px;
    top: 71px;
    font-size: 32px;
    color: #373781;
  }
  
  #topbar {
    height: 175px;
    position: relative;
  }
  
  #logocontainer {
    width: initial;
    height: auto;
    margin-right: 130px;
  }
  
  #logo {
    display: block;
  }
  
  #logotext {
    display: block;
    line-height: 40px;
    padding-left: 40px;
  }
  
  .view { pointer-events: none; margin: 0; }
	.modalDialog { display:block; position:static; background:#fff; }
	.modalDialog > div { background:#fff; margin: 20px auto 0 auto; width:auto; padding: 5px 0 13px 0; }
	.modalDialog p img,
	.modalDialog h2,
	.modalDialog .close { display:none; }
  .modalDialog .scroll { overflow-y: auto; max-height: none; }
	.modalDialog .scroll img { display: none; }
  .modalDialog .scrollbottom { border-top: none; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 4px solid rgba(9, 37, 80, 0.8); }
}


@media screen and (max-width: 815px) {
  
  #footerinner .footerblock { display: block; margin: 0 auto; text-align: center; width: 100%; }
  #footermenu { text-align: center; }
}

@media screen and (max-width: 790px) {

  #contentinner .mainboxes {
    display: block; 
    margin: 20px auto;
    width: 400px;
    height: 186px;
  }
  
  #contentinner .floatleft, 
  #contentinner .floatright { float: none; display: block; margin: 0 auto; max-width: 100%; }

  #arbeitsmittelblock { width: auto; }
  #arbeitsmittelblock img { 
    display: block;     
    margin: 0 auto;
    padding: 10px 0;
  }
}

@media screen and (max-width: 450px) {

  #contentinner .mainboxes {
    width: 300px;
    height: 210px;
  }
}

@media screen and (max-width: 345px) {

  #contentinner .mainboxes {
    width: 280px;
    height: 230px;
  }
  
  .view { width: 240px; }
}

@media screen and (max-width: 399px) {

  #logo { width: 250px; }
  #logotext { font-size: 20px; }
  .arrows { font-size: 18px; }
  #topbar { height: 130px; }
  #burger { top: 49px; }
  
}







