body {
  background:#fff;
}

a {
  color: #2a2929;
  text-decoration: underline;
}

a:hover {
  color:#000;
}

.nav_mobile {
  width:49px;
  height:44px;
  background: url(../img/mobile_nav.jpg) 0 0 no-repeat;
  position:absolute;
  top:38px;
  right:20px;
  display:none;
  overflow:hidden;
  margin: 0;
  padding: 0;
}

#home-animation-wrapper {
  width: 100%;
  height:480px;
  margin: 30px 0;
}

#home-animation {
    width: 872px;
    margin: 0 auto;
    height: 480px;
    z-index:100;
    overflow:hidden;
    background: url("../img/animation.jpg") 0 0 no-repeat;
    background-size: 872px 24480px;
    
    -webkit-animation: play 5s steps(51);
       -moz-animation: play 5s steps(51);
        -ms-animation: play 5s steps(51);
         -o-animation: play 5s steps(51);
            animation: play 5s steps(51);
}

@-webkit-keyframes play {
   from { background-position:    0px 0px; }
     to { background-position: 0 -24480px; }
}

@-moz-keyframes play {
   from { background-position:    0px 0px; }
     to { background-position: 0 -24480px; }
}

@-ms-keyframes play {
   from { background-position:    0px 0px; }
     to { background-position: 0 -24480px; }
}

@-o-keyframes play {
   from { background-position:    0px 0px; }
     to { background-position: 0 -24480px; }
}

@keyframes play {
   from { background-position:    0px 0px; }
     to { background-position: 0 -24480px; }
}

#header-wrapper {
  background:#fff;
  width: 100%;
  height:120px;
  margin: 0 0 40px 0;
  -webkit-transition: height 0.5s ease;
  -moz-transition: height 0.5s ease;
  -o-transition: height 0.5s ease;
  transition: height 0.5s ease;
}

#header {
  width:800px;
  height:110px;
  padding: 10px 0 0 0;
  margin: 0px auto 0 auto;
  position:relative;
}

body.front #header-wrapper { height:56px; }
body.front #header { height:46px; }

#logo {
  width: 165px;
  height:100px;
  z-index:10;
  position:absolute;
  top:20px;
  left:0;
  overflow:hidden;
}

#logo img {

  width: 165px;
  height:100px;

/*  width: 100%;
  height:auto;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  -webkit-transform: scale(1,1);
  -moz-transform:    scale(1,1);
  -ms-transform:     scale(1,1);
  -o-transform:      scale(1,1);
  transform:         scale(1,1);*/
}

#logo:hover img {
/*  -webkit-transform: scale(1.2,1.2);
  -moz-transform:    scale(1.1,1.1);
  -ms-transform:     scale(1.1,1.1);
  -o-transform:      scale(1.1,1.1);
  transform:         scale(1.1,1.1);*/
}

body.front #logo { display:none; }

#nav {
  margin:0;
  padding: 30px 0 0 0;
}

#nav-footer {
  margin:0;
  padding: 25px 0 0 0;
}

#nav-footer {
  padding:0;
  position:absolute;
  bottom:0;
  right:0;
}

#nav ul, #nav-footer ul {
  list-style:none;
  margin: 0;
  padding:0;
  float:right;
}

#nav ul li, #nav-footer ul li {
  list-style:none;
  float:left;
  margin: 0 0 0 44px;
}

#nav ul li a, #nav-footer ul li a {
  list-style:none;
  color:#9c9c9c;
  text-transform:uppercase;
  font-family: 'Orbitron', sans-serif;
  font-size:13px;
  line-height:17px;
  -webkit-transition: color 0.5s ease;
  -moz-transition: color 0.5s ease;
  -o-transition: color 0.5s ease;
  transition: color 0.5s ease;
  text-decoration: none;
}

#nav ul li a:hover, #nav-footer ul li a:hover {
  text-decoration:none;
  color:#2a2929;
}

#main-wrapper {
  background: url(../img/bg.jpg) top center repeat-y;
  width: 100%;
}

#main {
  width:800px;
  margin: 0 auto 0 auto;
  padding: 0 40px;
  min-height:482px;
}

#main h1 {
  font-size:20px;
  line-height:23px;
  margin: 0 0 15px 0;
  color:#2a2929;
  font-weight: normal;
  text-transform:uppercase;
  font-family: 'Orbitron', sans-serif;
}

.content_body {
  /*padding: 30px 0 0 0;*/
}

#footer-wrapper {
  width: 100%;
  height:90px;
}

#footer {
  width:800px;
  height:60px;
  margin: 40px auto 0 auto;
  position:relative;
}

#footer-contact {
  position:absolute;
  left:0;
  bottom:0;
  color:#9c9c9c;
}

#footer-contact a {
  color:#9c9c9c;
  text-decoration:none;
  -webkit-transition: color 0.5s ease;
  -moz-transition: color 0.5s ease;
  -o-transition: color 0.5s ease;
  transition: color 0.5s ease;
}

#footer-contact a:hover {
  text-decoration:none;
  color:#2a2929;
}

.footer {
  padding: 20px 0px;
  text-align:center;
  color:#999999;
}

.footer a {
  text-decoration:none;
  color:#999999;
}

.footer a:hover {
  text-decoration:underline;
}

#home-wrapper {

}

.home-project {
  width: 260px;
  height: 180px;
  float:left;
  margin: 0 10px 10px 0;
  overflow:hidden;
  opacity:0;
  -webkit-transition: all 1s 0.25s ease;
  -moz-transition: all 1s 0.25s ease;
  -o-transition: all 1s 0.25s ease;
  transition: all 1s 0.25s ease;
}

.show {
  opacity:1;

}

.home-project a {
  width: 260px;
  height: 180px;
  overflow:hidden;
  float:left;
  text-decoration:none;
  position:relative;
  color:#231f20;
  cursor:pointer;
}

.home-project a img {
  width:100%;
  cursor:pointer;
}

.home-project a .project-title {
  position:absolute;
  bottom:0;
  left:0;
  background:#fff;
  height:14px;
  padding: 6px 0px 0px 6px;
  max-width: 80%;
  color:#231f20;
  font-weight: normal;
  text-transform:uppercase;
  font-family: 'Orbitron', sans-serif;
  font-size:12px;
  line-height:14px;
  z-index:50;
  cursor:pointer;
}

.home-project a .project-title .title-right {
  position:absolute;
  top:0px;
  right:-27px;
  width:27px;
  height:20px;
  overflow:hidden;
}

.home-project a .project-title .title-left {
  position:absolute;
  top:-30px;
  left:0px;
  width:27px;
  height:30px;
  overflow:hidden;
}

.home-project a .project-hover {
/*  width: 260px;
  height: 180px;*/
  position:absolute;
  top:0;
  left:0;
  z-index:20;
  opacity:0;
  -webkit-transition: opacity 0.5s ease;
  -moz-transition: opacity 0.5s ease;
  -o-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
  cursor:pointer;
}

.home-project a .project-hover img {
  width:100%;
  cursor:pointer;
}

.home-project a:hover .project-hover {
  opacity:1;
  cursor:pointer;
}

.home-project a:hover .project-hover img {
  cursor:pointer;
}

.home-project a .project-img {
  border: 0;
  z-index:10;
  cursor:pointer;
}

.home-project a:hover {
  text-decoration:none;
  cursor:pointer;
}

.home-project-1 {
  -webkit-transition-delay: 0.1s;
  -moz-transition-delay: 0.1s;
  -o-transition-delay: 0.1s;
  transition-delay: 0.1s;
}
.home-project-2 {
  -webkit-transition-delay: 0.2s;
  -moz-transition-delay: 0.2s;
  -o-transition-delay: 0.2s;
  transition-delay: 0.2s;
}
.home-project-3 {
  -webkit-transition-delay: 0.3s;
  -moz-transition-delay: 0.3s;
  -o-transition-delay: 0.3s;
  transition-delay: 0.3s;
  margin-right: 0;
}
.home-project-4 {
  -webkit-transition-delay: 0.4s;
  -moz-transition-delay: 0.4s;
  -o-transition-delay: 0.4s;
  transition-delay: 0.4s;
}
.home-project-5 {
  -webkit-transition-delay: 0.5s;
  -moz-transition-delay: 0.5s;
  -o-transition-delay: 0.5s;
  transition-delay: 0.5s;
}
.home-project-6 {
  -webkit-transition-de lay: 0.6s;
  -moz-transition-delay: 0.6s;
  -o-transition-delay: 0.6s;
  transition-delay: 0.6s;
  margin-right: 0;
}
.home-project-7 {
  -webkit-transition-de lay: 0.7s;
  -moz-transition-delay: 0.7s;
  -o-transition-delay: 0.7s;
  transition-delay: 0.7s;
}
.home-project-8 {
  -webkit-transition-delay: 0.8s;
  -moz-transition-delay: 0.8s;
  -o-transition-delay: 0.8s;
  transition-delay: 0.8s;
}
.home-project-9 {
  -webkit-transition-de lay: 0.9s;
  -moz-transition-delay: 0.9s;
  -o-transition-delay: 0.9s;
  transition-delay: 0.9s;
  margin-right: 0;
}
.home-project-10 {
  -webkit-transition-delay: 1s;
  -moz-transition-delay: 1s;
  -o-transition-delay: 1s;
  transition-delay: 1s;
}
.home-project-11 {
  -webkit-transition-delay: 1.1s;
  -moz-transition-delay: 1.1s;
  -o-transition-delay: 1.1s;
  transition-delay: 1.1s;
}
.home-project-12 {
  -webkit-transition-delay: 1.2s;
  -moz-transition-delay: 1.2s;
  -o-transition-delay: 1.2s;
  transition-delay: 1.2s;
  margin-right: 0;
}
.home-project-13 {
  -webkit-transition-delay: 1.3s;
  -moz-transition-delay: 1.3s;
  -o-transition-delay: 1.3s;
  transition-delay: 1.3s;
}
.home-project-14 {
  -webkit-transition-delay: 1.4s;
  -moz-transition-delay: 1.4s;
  -o-transition-delay: 1.4s;
  transition-delay: 1.4s;
}
.home-project-15 {
  -webkit-transition-delay: 1.5s;
  -moz-transition-delay: 1.5s;
  -o-transition-delay: 1.5s;
  transition-delay: 1.5s;
  margin-right: 0;
}
.home-project-16 {
  -webkit-transition-delay: 1.6s;
  -moz-transition-delay: 1.6s;
  -o-transition-delay: 1.6s;
  transition-delay: 1.6s;
}
.home-project-17 {
  -webkit-transition-delay: 1.7s;
  -moz-transition-delay: 1.7s;
  -o-transition-delay: 1.7s;
  transition-delay: 1.7s;
}
.home-project-18 {
  -webkit-transition-delay: 1.8s;
  -moz-transition-delay: 1.8s;
  -o-transition-delay: 1.8s;
  transition-delay: 1.8s;
  margin-right: 0;
}
.home-project-19 {
  -webkit-transition-delay: 1.9s;
  -moz-transition-delay: 1.9s;
  -o-transition-delay: 1.9s;
  transition-delay: 1.9s;
}
.home-project-20 {
  -webkit-transition-delay: 2s;
  -moz-transition-delay: 2s;
  -o-transition-delay: 2s;
  transition-delay: 2s;
}
.home-project-21 {
  -webkit-transition-delay: 2.1s;
  -moz-transition-delay: 2.1s;
  -o-transition-delay: 2.1s;
  transition-delay: 2.1s;
  margin-right: 0;
}

.home-project a {
  background: #ccc;
  height:180px;
  width:100%;
  display:block;
}

.project_wrapper {
  padding: 0 40px;
}

  .project_link_wrapper {
    width:50%;
    float:left;
  }

    .project_link {
      margin: 0 5px 10px 5px;
      position:relative;
      float:left;
    }

    .project_link a {
      float:left;
      text-decoration:none;
      overflow:hidden;
    }

      .project_link a:hover img {
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0.1)";
        filter: alpha(opacity=0.1);
        -moz-opacity: 0.1;
        -khtml-opacity: 0.1;
        opacity: 0.1;
      }

    .project_link img {
      width:100%;
      -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=1)";
      filter: alpha(opacity=1);
      -moz-opacity: 1;
      -khtml-opacity: 1;
      opacity: 1;
      transition: all 0.3s;
    }

    .project_link div.text {
      position:absolute;
/*      bottom:8px;
      left:15px;*/
      bottom:0px;
      left:0px;
      padding: 0 15px 8px 15px;
      z-index:10;
      text-transform:uppercase;
      -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
      filter: alpha(opacity=0);
      -moz-opacity: 0;
      -khtml-opacity: 0;
      opacity: 0;
      transition: all 0.3s;
    }

    .project_link div.text .project_title {
      color:#000 !important;
      font-size:14px;
    }

    .project_link a:hover div.text {
      -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=1)";
      filter: alpha(opacity=1);
      -moz-opacity: 1;
      -khtml-opacity: 1;
      opacity: 1;
    }

    .project_link div.text .project_summary {
      margin: 0 0 10px 0;
      color: #666666 !important;
    }

.project_images {
  padding: 20px 0px 0px 0px;
  margin: 0 0 0 0;
}

  .project_image {
    padding: 0;
    margin: 0 0 10px 0;
    font-size:1px;
    line-height:1px;
  }


/* retina styles */

@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
screen and (                min-resolution: 2dppx) {
  
  #main-wrapper {
    background: url(../img/bg@2x.jpg) top center repeat-y;
    background-size: 2636px 16px;
  }

}

/* responsive styles */

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

  #header {
    width:600px;
  }

  #nav ul li, #nav-footer ul li {
    margin: 0 0 0 24px;
  }

  #main-wrapper {
    background: url(../img/bg_tablet@2x.jpg) top center repeat-y;
    background-size: 2636px 16px;
  }

  #main {
    width:600px;
  }
  
  #footer {
    width:600px;
  }

  .home-project {
    width: 193px;
    height: 134px;
  }

  .home-project a {
    width: 193px;
    height: 134px;
  }

  .home-project-1, .home-project-2, .home-project-3, .home-project-4, .home-project-5, .home-project-6, .home-project-7,
  .home-project-8, .home-project-9, .home-project-10, .home-project-11, .home-project-12, .home-project-13, .home-project-14, .home-project-15 {
    width: 295px;
    height: 204px;
    margin-right: 10px;
  }

  .home-project-1 a, .home-project-2 a, .home-project-3 a, .home-project-4 a, .home-project-5 a, .home-project-6 a, .home-project-7 a,
  .home-project-8 a, .home-project-9 a, .home-project-10 a, .home-project-11 a, .home-project-12 a, .home-project-13 a, .home-project-14 a, .home-project-15 a {
    width: 295px;
    height: 204px;
  }

  .home-project-2, .home-project-4, .home-project-6, .home-project-8, .home-project-10, .home-project-12, .home-project-14 {
    margin-right: 0px;
  }

}

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

  #header-wrapper {
    overflow:hidden;
  }

  #header {
    width:100%;
  }

  #header-wrapper.open {
    height: 290px;
  }

  body.front #header-wrapper {
    height:82px;
  }

  body.front #header-wrapper.open {
    height: 290px;
  }

  body.front #header {
    height:72px;
  }

  #nav {
    /*display:none;*/
    height:160px;
    margin:0;
    padding:0;
    float:left;
    width:100%;
    position:absolute;
    left:0;
    top:140px;
  }

  #nav ul {
    height:auto;
    float:left;
    width:100%;
  }

  #nav ul li {
    margin: 0 0 0 0;
    width:100%;
  }
  #nav ul li a {
    width:100%;
    float:left;
    color:#fff;
    padding: 10px 0 0 0;
    background:#996f32;
    font-size:17px;
    line-height:21px;
    height:26px;
    border-bottom: solid 1px #7c551d;
  }

  #nav ul li a div {
    padding: 0 20px;
  }

  #nav ul li a:hover {
    color:#fff;
    background: #7c551d;
  }

  .nav_mobile {
    display:block;
  }

  #logo {
    left:20px;
  }

  #main-wrapper {
    background:none;
  }

  #main {
    width:auto;
    padding: 0 20px;
  }
  
  #footer {
    width:100%;
  }

  #footer-contact {
    left:20px;
  }

  #nav-footer {
    display:none;
  }

  .home-project img {
    width: 100%;
    height:auto;
  }

  .home-project-1, .home-project-2, .home-project-3, .home-project-4, .home-project-5, .home-project-6, .home-project-7,
  .home-project-8, .home-project-9, .home-project-10, .home-project-11, .home-project-12, .home-project-13, .home-project-14, .home-project-15 {
    width:100%;
    height: auto;
    margin-right: 0px;
  }

  .home-project-1 a, .home-project-2 a, .home-project-3 a, .home-project-4 a, .home-project-5 a, .home-project-6 a, .home-project-7 a,
  .home-project-8 a, .home-project-9 a, .home-project-10 a, .home-project-11 a, .home-project-12 a, .home-project-13 a, .home-project-14 a, .home-project-15 a {
    width:100%;
    height: auto;
  }

  .home-project a .project-hover {
    width: 100%;
    height: auto;
  }

}

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

  .content_body {
    font-size: 13px;
    line-height:18px;
  }

  #logo {
    left:15px;
  }

  .nav_mobile {
    right:15px;
  }

  #main {
    width:auto;
    padding: 0 15px;
    min-height:200px;
  }

  #main h1 {
    font-size: 16px;
    line-height: 19px;
    margin: 0 0 11px 0;
  }

  #footer {
    height:50px;
  }

  #footer-contact {
    left:15px;
    font-size: 13px;
    line-height: 18px;
  }

}

/* home page animation responsive fixes */

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

  #home-animation-wrapper {
    width: 100%;
    height:360px;
    margin: 30px 0;
  }

  #home-animation {
      width: 639px;
      margin: 0 auto;
      height: 360px;
      z-index:100;
      overflow:hidden;
      background: url("../img/animation.jpg") 0 0 no-repeat;
      background-size: 639px 18360px;
      
      -webkit-animation: play 5s steps(51);
         -moz-animation: play 5s steps(51);
          -ms-animation: play 5s steps(51);
           -o-animation: play 5s steps(51);
              animation: play 5s steps(51);
  }

  @-webkit-keyframes play {
     from { background-position:    0px 0px; }
       to { background-position: 0 -18360px; }
  }

  @-moz-keyframes play {
     from { background-position:    0px 0px; }
       to { background-position: 0 -18360px; }
  }

  @-ms-keyframes play {
     from { background-position:    0px 0px; }
       to { background-position: 0 -18360px; }
  }

  @-o-keyframes play {
     from { background-position:    0px 0px; }
       to { background-position: 0 -18360px; }
  }

  @keyframes play {
     from { background-position:    0px 0px; }
       to { background-position: 0 -18360px; }
  }

}

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

  #home-animation-wrapper {
    width: 100%;
    height:240px;
    margin: 30px 0;
  }

  #home-animation {
      width: 436px;
      margin: 0 auto;
      height: 240px;
      z-index:100;
      overflow:hidden;
      background: url("../img/animation.jpg") 0 0 no-repeat;
      background-size: 436px 12240px;
      
      -webkit-animation: play 5s steps(51);
         -moz-animation: play 5s steps(51);
          -ms-animation: play 5s steps(51);
           -o-animation: play 5s steps(51);
              animation: play 5s steps(51);
  }

  @-webkit-keyframes play {
     from { background-position:    0px 0px; }
       to { background-position: 0 -12240px; }
  }

  @-moz-keyframes play {
     from { background-position:    0px 0px; }
       to { background-position: 0 -12240px; }
  }

  @-ms-keyframes play {
     from { background-position:    0px 0px; }
       to { background-position: 0 -12240px; }
  }

  @-o-keyframes play {
     from { background-position:    0px 0px; }
       to { background-position: 0 -12240px; }
  }

  @keyframes play {
     from { background-position:    0px 0px; }
       to { background-position: 0 -12240px; }
  }

}

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

  #home-animation-wrapper {
    width: 100%;
    height:120px;
    margin: 30px 0;
  }

  #home-animation {
      width: 218px;
      margin: 0 auto;
      height: 120px;
      z-index:100;
      overflow:hidden;
      background: url("../img/animation.jpg") 0 0 no-repeat;
      background-size: 218px 6120px;
      
      -webkit-animation: play 5s steps(51);
         -moz-animation: play 5s steps(51);
          -ms-animation: play 5s steps(51);
           -o-animation: play 5s steps(51);
              animation: play 5s steps(51);
  }

  @-webkit-keyframes play {
     from { background-position:    0px 0px; }
       to { background-position: 0 -6120px; }
  }

  @-moz-keyframes play {
     from { background-position:    0px 0px; }
       to { background-position: 0 -6120px; }
  }

  @-ms-keyframes play {
     from { background-position:    0px 0px; }
       to { background-position: 0 -6120px; }
  }

  @-o-keyframes play {
     from { background-position:    0px 0px; }
       to { background-position: 0 -6120px; }
  }

  @keyframes play {
     from { background-position:    0px 0px; }
       to { background-position: 0 -6120px; }
  }

}



