@font-face {
  font-family: 'bebas';
  src: url('../fonts/bebasneue-webfont.eot');
  src: url('../fonts/bebasneue-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/bebasneue-webfont.woff') format('woff'), url('../fonts/bebasneue-webfont.ttf') format('truetype'), url('../fonts/bebasneue-webfont.svg#bebas_neueregular') format('svg');
  font-weight: normal;
  font-style: normal;
}
* {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}
a {
  text-decoration: none;
  color: inherit;
}
img { border: 0; }
h1 {
  position: relative;
  width: auto;
  max-width: 100px;
  margin: 0;
  padding: 10px;
  border: 3px #52B0D6 solid;
  border-radius: 10px;
  background-color: #FFF;
  font-family: "bebas";
  font-size: 26px;
  text-align: center;
  color: #1E99D4;
}
h2 {
  font-size: 28px;
  text-align: right;
  color: #666;
}
h3 {
  position: relative;
  width: auto;
  margin: 0;
  padding: 10px;
  border: 3px #52B0D6 solid;
  border-radius: 10px;
  background-color: #FFF;
  font-family: "bebas";
  font-size: 20px;
  text-align: left;
  color: #1E99D4;
}
article {
  border: 3px #52B0D6 solid;
  border-radius: 50px;
  line-height: 16px;
  font-size: 12px;
  font-weight: bold;
  text-align: left;
  color: #666;
  text-shadow: 0 0 1px rgba(51,51,51,.1);
}
article span { color: #1E99D2; }
.clearfix:after {
  content: " ";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
#wrapper {
  width: 1024px;
  margin: 0 auto;
  padding: 0;
}
header {
  padding-top: 40px;
  text-align: center;
}
header .h-left {
  width: 240px;
  margin-left: 99px;
  float: left;
}
header .h-right {
  width: 431px;
  margin-right: 178px;
  float: right;
}
#menu {
  margin-top: 5px;
  list-style: none;
}
#sub-menu {
  margin-top: 10px;
  margin-right: 30px;
  list-style: none;
}
#menu li, #sub-menu li {
  display: inline-block;
  margin-left: 15px;
  border: 3px #52B0D6 solid;
  border-radius: 11px;
}
#menu a, #sub-menu a {
  display: block;
  padding: 4px 8px;
  color: #8A868C;
  font-family: "bebas";
  font-size: 25px;
  border-radius: 8px;
  -ms-transition: all 0.5s ease-in;
  -moz-transition: all 0.5s ease-in;
  -o-transition: all 0.5s ease-in;
  -webkit-transition: all 0.5s ease-in;
  -ms-transition: all 0.5s ease-in;
  transition: all 0.5s ease-in;
}
#sub-menu li, #sub-menu a { border-radius: 8px; }
#sub-menu a { font-size: 17px; }
#menu a:hover, #menu .active, #sub-menu .active, #sub-menu a:hover { color: #1F99D5; }
#menu a:hover, #menu .active { background-color: #F7F7F7; }
#content {
  width: 100%;
  margin: 15px 0 0 0;
}
#start-slider {
  margin: 0 auto;
  display: none;
}
footer {
  width: 100%;
  margin: 50px 0 0 0;
  text-align: center;
}
.company {
  width: 799px;
  margin: 0 auto;
  padding: 30px 18px 5px 33px;
}
.company .h1 { top: -50px; }
.company img, article p { float: left; }
.company p { margin-top: 5px; }
.company .right-text { width: 410px; }
.outer {
  margin-top: 25px;
  margin-right: 87px;
}
.windows {
  width: 720px;
  margin: 30px auto 51px auto;
  padding: 28px 44px 66px 84px;
}
.windows p { width: 372px; }
.windows.box1 p { float: right; }
.windows.box1 img {
  float: left;
  margin-right: 45px;
}
.windows.box2 img {
  float: right;
  margin-right: 46px;
}
.windows .h1 {
  top: -50px;
  right: 60px;
}
.facades {
  width: 886px;
  margin: 30px auto 38px auto;
  padding: 0px 30px 30px 30px;
}
.facades .h1 { top: -20px; }
.facades p { width: 410px; }
.facades.box1 p { float: right; }
.facades.box1 img {
  float: left;
  margin-right: 42px;
}
.facades.box2 p { margin-left: 11px; }
.facades.box2 img {
  float: right;
  margin-right: 19px;
}
.facades.box3 p {
  float: right;
  margin-right: 13px;
}
.facades.box3 img {
  float: left;
  margin-left: 27px;
  margin-right: 46px;
}
.glasses {
  width: 699px;
  margin: 30px auto 38px auto;
  padding: 16px 103px 10px 76px;
}
.glasses p { width: 412px; }
.glasses.box1 p { float: right; }
.glasses.box1 img {
  float: right;
  margin-left: 39px;
}
.glasses.box1 .h1 {
  top: -35px;
  right: 40px;
}
.glasses.box2 .h1 {
  top: -55px;
  right: 15px;
}
.glasses.box2 { width: 792px; }
.glasses.box2 { padding: 35px 36px 46px 50px; }
.glasses.box2 p { width: auto; }
.enclosures {
  width: 490px;
  margin: 30px auto 38px auto;
}
.enclosures p { float: none; }
.enclosures img { float: none; }
.enclosures.box1 { padding: 16px 60px 30px 34px; }
.enclosures.box1 .h1 { top: -35px; }
.enclosures.box2 {
  width: 556px;
  padding: 0 10px 30px 12px;
  border-radius: 30px;
}
.enclosures.box2 .h1 {
  top: -20px;
  right: -19px;
}
.references {
  float: left;
  width: 413px;
  margin: 17px 0 21px 17px;
  padding: 8px 23px 18px 23px;
  border-radius: 30px;
}
.references h3 { max-width: 333px; }
.references p {
  float: left;
  font-size: 10px;
  font-weight: normal;
}
.references img { float: right; }
.left { margin-left: 39.5px; }
.left h3 { max-width: 250px; }
.references h3 { top: -25px; }
.contact{
  width:756px;
  margin:15px auto 30px auto;
  padding:10px 68px 32px 63px;
}
.contact h1{
  top:-30px;
  right:40px;
}
form {
  display: block;
  float:left;
  width: 310px;
  min-height:506px;
}
form p { float: none; }
input, textarea, button, .mail_error, .mail_succes {
  width: 284px;
  margin: 10px 0;
  padding: 10px;
  border:3px solid #CBE3EF;
  border-radius:10px;
  background-color:#F5F5F5;
  color:#666;
}
textarea {
  height:160px;
  margin-bottom:0;
}
.mail_error {
  width: 284px;
  margin: 0;
  border:3px solid #F00;
  border-radius:10px;
  background-color:#FFA4A4;
  color:#666;
}
.mail_succes {
  width: 284px;
  margin: 0;
  border:3px solid #0C3;
  border-radius:10px;
  background-color:#9DFFCE;
  color:#090;
}
.mail_succes h1 {
  position:static;
  max-width:100%;
  border:none;
  background-color:inherit;
  color:inherit;
}
button{
  float:right;
  width:78px;
  color:#1E99D4;
  font-family:"bebas";
  font-size:20px;
}
.placeholder { color: #666; }
@placeholder { color: #666; }
form a{
  font-weight:normal;
  padding-left:17px;
}
.dir{
  float:right;
  width:310px;
  padding:10px 10px 34px 10px;
  border:3px solid #CBE3EF;
  border-radius:10px;
  background-color:#F5F5F5;
}
.dir p {
  float:none;
  margin-left:5px;
  font-weight:bold;
}
address{
  display:block;
  line-height:18px;
  font-family:Arial, Helvetica, sans-serif;
  font-size:11px;
  font-style:normal;
  font-weight:normal;
}
.map{
  float:right;
  margin-top:18px;
  padding:4px;
  border:3px solid #000;
}
.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes flip {
  0% {
    -webkit-transform: perspective(400px) translateZ(0) rotateY(-360deg) scale(1);
    transform: perspective(400px) translateZ(0) rotateY(-360deg) scale(1);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  40% {
    -webkit-transform: perspective(400px) translateZ(150px) rotateY(-190deg) scale(1);
    transform: perspective(400px) translateZ(150px) rotateY(-190deg) scale(1);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  50% {
    -webkit-transform: perspective(400px) translateZ(150px) rotateY(-170deg) scale(1);
    transform: perspective(400px) translateZ(150px) rotateY(-170deg) scale(1);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  80% {
    -webkit-transform: perspective(400px) translateZ(0) rotateY(0deg) scale(.95);
    transform: perspective(400px) translateZ(0) rotateY(0deg) scale(.95);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  100% {
    -webkit-transform: perspective(400px) translateZ(0) rotateY(0deg) scale(1);
    transform: perspective(400px) translateZ(0) rotateY(0deg) scale(1);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
}

@keyframes flip {
  0% {
    -webkit-transform: perspective(400px) translateZ(0) rotateY(-360deg) scale(1);
    -ms-transform: perspective(400px) translateZ(0) rotateY(-360deg) scale(1);
    transform: perspective(400px) translateZ(0) rotateY(-360deg) scale(1);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  40% {
    -webkit-transform: perspective(400px) translateZ(150px) rotateY(-190deg) scale(1);
    -ms-transform: perspective(400px) translateZ(150px) rotateY(-190deg) scale(1);
    transform: perspective(400px) translateZ(150px) rotateY(-190deg) scale(1);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  50% {
    -webkit-transform: perspective(400px) translateZ(150px) rotateY(-170deg) scale(1);
    -ms-transform: perspective(400px) translateZ(150px) rotateY(-170deg) scale(1);
    transform: perspective(400px) translateZ(150px) rotateY(-170deg) scale(1);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  80% {
    -webkit-transform: perspective(400px) translateZ(0) rotateY(0deg) scale(.95);
    -ms-transform: perspective(400px) translateZ(0) rotateY(0deg) scale(.95);
    transform: perspective(400px) translateZ(0) rotateY(0deg) scale(.95);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  100% {
    -webkit-transform: perspective(400px) translateZ(0) rotateY(0deg) scale(1);
    -ms-transform: perspective(400px) translateZ(0) rotateY(0deg) scale(1);
    transform: perspective(400px) translateZ(0) rotateY(0deg) scale(1);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
}

.animated.flip {
  -webkit-backface-visibility: visible;
  -ms-backface-visibility: visible;
  backface-visibility: visible;
  -webkit-animation-name: flip;
  animation-name: flip;
}

@-webkit-keyframes flipInX {
  0% {
    -webkit-transform: perspective(400px) rotateX(90deg);
    transform: perspective(400px) rotateX(90deg);
    opacity: 0;
  }

  40% {
    -webkit-transform: perspective(400px) rotateX(-10deg);
    transform: perspective(400px) rotateX(-10deg);
  }

  70% {
    -webkit-transform: perspective(400px) rotateX(10deg);
    transform: perspective(400px) rotateX(10deg);
  }

  100% {
    -webkit-transform: perspective(400px) rotateX(0deg);
    transform: perspective(400px) rotateX(0deg);
    opacity: 1;
  }
}

@keyframes flipInX {
  0% {
    -webkit-transform: perspective(400px) rotateX(90deg);
    -ms-transform: perspective(400px) rotateX(90deg);
    transform: perspective(400px) rotateX(90deg);
    opacity: 0;
  }

  40% {
    -webkit-transform: perspective(400px) rotateX(-10deg);
    -ms-transform: perspective(400px) rotateX(-10deg);
    transform: perspective(400px) rotateX(-10deg);
  }

  70% {
    -webkit-transform: perspective(400px) rotateX(10deg);
    -ms-transform: perspective(400px) rotateX(10deg);
    transform: perspective(400px) rotateX(10deg);
  }

  100% {
    -webkit-transform: perspective(400px) rotateX(0deg);
    -ms-transform: perspective(400px) rotateX(0deg);
    transform: perspective(400px) rotateX(0deg);
    opacity: 1;
  }
}

.flipInX {
  -webkit-backface-visibility: visible !important;
  -ms-backface-visibility: visible !important;
  backface-visibility: visible !important;
  -webkit-animation-name: flipInX;
  animation-name: flipInX;
}

@-webkit-keyframes flipInY {
  0% {
    -webkit-transform: perspective(400px) rotateY(90deg);
    transform: perspective(400px) rotateY(90deg);
    opacity: 0;
  }

  40% {
    -webkit-transform: perspective(400px) rotateY(-10deg);
    transform: perspective(400px) rotateY(-10deg);
  }

  70% {
    -webkit-transform: perspective(400px) rotateY(10deg);
    transform: perspective(400px) rotateY(10deg);
  }

  100% {
    -webkit-transform: perspective(400px) rotateY(0deg);
    transform: perspective(400px) rotateY(0deg);
    opacity: 1;
  }
}

@keyframes flipInY {
  0% {
    -webkit-transform: perspective(400px) rotateY(90deg);
    -ms-transform: perspective(400px) rotateY(90deg);
    transform: perspective(400px) rotateY(90deg);
    opacity: 0;
  }

  40% {
    -webkit-transform: perspective(400px) rotateY(-10deg);
    -ms-transform: perspective(400px) rotateY(-10deg);
    transform: perspective(400px) rotateY(-10deg);
  }

  70% {
    -webkit-transform: perspective(400px) rotateY(10deg);
    -ms-transform: perspective(400px) rotateY(10deg);
    transform: perspective(400px) rotateY(10deg);
  }

  100% {
    -webkit-transform: perspective(400px) rotateY(0deg);
    -ms-transform: perspective(400px) rotateY(0deg);
    transform: perspective(400px) rotateY(0deg);
    opacity: 1;
  }
}

.flipInY {
  -webkit-backface-visibility: visible !important;
  -ms-backface-visibility: visible !important;
  backface-visibility: visible !important;
  -webkit-animation-name: flipInY;
  animation-name: flipInY;
}

@-webkit-keyframes flipOutX {
  0% {
    -webkit-transform: perspective(400px) rotateX(0deg);
    transform: perspective(400px) rotateX(0deg);
    opacity: 1;
  }

  100% {
    -webkit-transform: perspective(400px) rotateX(90deg);
    transform: perspective(400px) rotateX(90deg);
    opacity: 0;
  }
}

@keyframes flipOutX {
  0% {
    -webkit-transform: perspective(400px) rotateX(0deg);
    -ms-transform: perspective(400px) rotateX(0deg);
    transform: perspective(400px) rotateX(0deg);
    opacity: 1;
  }

  100% {
    -webkit-transform: perspective(400px) rotateX(90deg);
    -ms-transform: perspective(400px) rotateX(90deg);
    transform: perspective(400px) rotateX(90deg);
    opacity: 0;
  }
}

.flipOutX {
  -webkit-animation-name: flipOutX;
  animation-name: flipOutX;
  -webkit-backface-visibility: visible !important;
  -ms-backface-visibility: visible !important;
  backface-visibility: visible !important;
}

@-webkit-keyframes flipOutY {
  0% {
    -webkit-transform: perspective(400px) rotateY(0deg);
    transform: perspective(400px) rotateY(0deg);
    opacity: 1;
  }

  100% {
    -webkit-transform: perspective(400px) rotateY(90deg);
    transform: perspective(400px) rotateY(90deg);
    opacity: 0;
  }
}

@keyframes flipOutY {
  0% {
    -webkit-transform: perspective(400px) rotateY(0deg);
    -ms-transform: perspective(400px) rotateY(0deg);
    transform: perspective(400px) rotateY(0deg);
    opacity: 1;
  }

  100% {
    -webkit-transform: perspective(400px) rotateY(90deg);
    -ms-transform: perspective(400px) rotateY(90deg);
    transform: perspective(400px) rotateY(90deg);
    opacity: 0;
  }
}

.flipOutY {
  -webkit-backface-visibility: visible !important;
  -ms-backface-visibility: visible !important;
  backface-visibility: visible !important;
  -webkit-animation-name: flipOutY;
  animation-name: flipOutY;
}