html {
  margin: 0;
  padding: 0;
}
body {
  margin: 0;
  padding: 70px 0 0 0;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 20px;
}

a {
  text-decoration: none;
  color: #d32727;
  cursor: pointer;
}
.clear {
  clear: both;
}

::selection{
  background: #d32727;
  color: #fff;
  text-shadow: none;
}



nav {
  position: fixed;
  z-index: 100;
  top: 0;
  left: -20px;
  right: -20px;
  height: 70px;
  padding: 0 20px;
  font-weight: 300;
  font-size: 14px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  background: #111;
  color: #fff;
}
nav #logo {
  position: absolute;
  left: 35px; /* add 20 for the nav bar overlap */
  top: 3px;
  width: 75px;
  height: 60px;
  overflow: hidden;
  text-indent: 100px;
  /*background: url(images/logo.png) top left no-repeat;*/
  background-size: contain;
}
nav .right {
  position: absolute;
  right: 35px; /* add 20 for the nav bar overlap */
  top: 15px;
  height: 40px;
}
nav .right a {
  display: inline-block;
  color: #ccc;
  padding: 0 15px;
  margin: 0;
  line-height: 40px;
  height: 40px;
}
nav .right a.active {
  background-color: #444;
  color: #fff;
  border-radius: 3px;
}
@media only screen and (max-width:570px) {
  nav #logo {
    width: 50px;
    height: 40px;
    top: 1px;
    left: 30px;
  }
}


#scroller {
  position: fixed;
  display: none;
  z-index: 99;
  bottom: 0px;
  right: 40px;
  background: #111;
  height: 25px;
  padding: 8px 10px 0px 10px;
  color: #fff;
  border-radius: 4px 4px 0px 0px;
  font-size: 14px;
  text-align: center;
  border: auto;
}

#menu {
  display: none;
  position: absolute;
  top: 17px;
  right: 35px; /* add 20 for the nav bar overlap */
  width: 34px;
  height: 34px;
  padding: 1px;
  border-radius: 3px;
  border: 1px solid #000;
  background: #444; /* Old browsers */
  background: -moz-linear-gradient(top, #444 0%, #222 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#444), color-stop(100%,#222)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #444 0%,#222 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #444 0%,#222 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #444 0%,#222 100%); /* IE10+ */
  background: linear-gradient(to bottom, #444 0%,#222 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#444', endColorstr='#222',GradientType=0 ); /* IE6-9 */
  box-shadow: inset 0 1px 1px #999;
}
  #menu span {
    display: block;
    margin: 5px;
    background: #fff;
    border-radius: 2px;
    height: 5px;
  }
#menu:active {
  background: #222; /* Old browsers */
  background: -moz-linear-gradient(top, #222 0%, #111 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#222), color-stop(100%,#111)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #222 0%,#111 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #222 0%,#111 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #222 0%,#111 100%); /* IE10+ */
  background: linear-gradient(to bottom, #222 0%,#111 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#222', endColorstr='#111',GradientType=0 ); /* IE6-9 */
}
  #menu:active span {
    background: #777;
  }
@media only screen and (max-width:750px) {
  #menu {
    display: block;
  }
  nav .right {
    display: none;
    height: 40px;
    padding: 5px;
    top: 70px;
    left: 20px;
    right: 20px;
    text-align: right;
    box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    border-top: 1px solid #666;
    background: #333;
  }
  nav .right.visible {
    display: block;
  }
}
@media only screen and (max-width:570px) {
  #menu {
    width: 28px;
    height: 28px;
    top: 5px;
    right: 25px;
    padding-top: 2px;
  }
  #menu span {
    height: 4px;
    margin: 4px;
  }
  nav .right {
    height: 33px;
    padding: 5px;
    top: 44px;
    font-size: 12px;
    text-align: center;
  }
  nav .right a {
    padding: 0 10px;
    height: 33px;
    line-height: 33px
  }
  nav .right a span {
    display: none;
  }
}


h1 {
  font-weight: 100;
  font-size: 36px;
  line-height: 65px;
  padding-top: 5px;
  margin: 0;
}
section h1 {
  background: #111;
  color: #fff;
  height: 65px; /* 5 padding, 1 border */
  overflow: hidden;
}
nav h1, section h1 span {
  padding-left: 110px;
}

@media only screen and (max-width:570px) {
  body {
    padding-top: 44px;
  }
  nav {
    height: 44px;
  }
  h1 {
    line-height: 40px;
    padding-top: 4px;
    font-size: 24px;
  }
  nav h1, section h1 span {
    padding-left: 75px;
  }
  section h1 {
    height:44px;
  }
}



section {
  clear: both;
}

#home {
  background-image: url(images/transformers.jpg);
  background-position: top;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 0;
  position: relative;
  text-shadow: 0 1px 0 #fff;
}
@media only screen and (min-width:1000px) {
  #home { background-image: url(images/transformers.jpg); }
}
#home p {
  background: rgba(255,255,255,0.95);
  margin: 0;
  box-shadow: 0 0 25px rgba(0,0,0,0.1);
  clear: both;
  text-align: center;
  font-size: 42px;
  padding: 55px 20px 65px 20px;
  font-weight: 300;
  position: relative;
}
#home p span {
  max-width: 900px;
  margin: 0 auto;
  display: block;
}
@media only screen and (max-width:1000px) {#home p { font-size: 36px; } }
@media only screen and (max-width:800px) {#home p { font-size: 30px; } }
@media only screen and (max-width:700px) {#home p { font-size: 28px; } }
@media only screen and (max-width:600px) {#home p { font-size: 24px; } }

@media only screen and (max-width:400px) {#home { background-size: 720px 540px; background-attachment: scroll; } }



#work > p {
  text-align: center;
  margin: 50px 0;
  padding: 0 20px;
  font-size: 32px;
  font-weight: 100;
}
@media only screen and (max-width:800px) {#work > p { font-size: 24px; } }

#work article {
  max-width: 880px;
  margin: 50px auto;
  padding: 0 20px 0 10px;
  height: 200px;
  position: relative;
}
#work .divider {
  content: "";
  display: block;
  height: 15px;
  background: url(images/divider2.png) right repeat-x;
}
#work .divider:nth-of-type(even) {
  background-position: left;
}

hr {
  width: 70%;
  border: 0;
  height: 2px;
  background: #999;
  background-image: -webkit-linear-gradient(left, #eee, #999, #eee); 
  background-image:    -moz-linear-gradient(left, #eee, #999, #eee); 
  background-image:     -ms-linear-gradient(left, #eee, #999, #eee); 
  background-image:      -o-linear-gradient(left, #eee, #999, #eee); 

}

#work article:nth-of-type(even) {
  text-align: right;
  padding: 0 10px 0 20px;
}
#work article h2 {
  font-weight: 400;
  margin: -10px 0 0 0;
  padding-top: 15px;
}
#work article h2 a{
  color: black;
}
#work article p {
  margin: 15px 0;
}
#work article .logo {
  width: 200px;
  height: 200px;
  background-position: center;
  background-repeat: no-repeat;
  /*background-size: cover;*/
}
#bluefin .logo {background-image: url(images/bluefin.png);}
#att .logo {background-image: url(images/att.png);}
#pncbank .logo {background-image: url(images/pncbank.png);}
#jct .logo {background-image: url(images/jct.png);}
#hosting .logo {background-image: url(images/hosting.png);}

#work article:nth-of-type(odd) .logo {
  float: left;
  margin-right: 60px;
}
#work article:nth-of-type(even) .logo {
  float: right;
  margin-left: 60px;
}



@media only screen and (max-width:800px) {
  #work article { height: 185px;} 
  #work article p { font-size: 16px; } 
  #work article .logo { width: 160px; height: 160px; margin-top: 10px; margin-bottom: 30px;} 
  #work article:nth-of-type(odd) .logo { margin-right: 40px; }
  #work article:nth-of-type(even) .logo { margin-left: 40px; }
}
@media only screen and (max-width:550px) {
  #work article { margin: 15px 0; height: 215px;} 
  #work article h2 { font-size: 24px; margin-bottom: -10px;} 
  #work article p { padding: 0 20px; font-size: 14px;} 
  #work article .logo { width: 100px; height: 100px; margin-top: 20px; margin-bottom: 80px;} 
  #work article:nth-of-type(odd) .logo { margin-right: 30px; }
  #work article:nth-of-type(even) .logo { margin-left: 30px; }
}
@media only screen and (max-width:400px) {
  #work article { margin: 15px 0; height: 240px;} 
  #work article h2 { font-size: 24px; margin-bottom: -10px;} 
  #work article p { padding: 0 20px; font-size: 14px;} 
  #work article .logo { width: 80px; height: 80px; margin-top: 20px; margin-bottom: 120px;} 
  #work article:nth-of-type(odd) .logo { margin-right: 15px; }
  #work article:nth-of-type(even) .logo { margin-left: 15px; }
}
/*
#hang {
  background-image: url(images/boom.jpg);
  background-position: top;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 0;
  position: relative;
  text-shadow: 0 1px 0 #fff;
}
@media only screen and (min-width:1000px) {
  #hang { background-image: url(images/boom.jpg); }
}*/
#hang {
  position: relative;
  height: 880px;
  overflow: hidden;
}
#hang #photos {
  position: absolute;
  margin-right: -30px;
}
#hang #photos .photo {
  width: 360px;
  height: 270px;
  float: left;
  background-repeat: no-repeat;
  background-size: cover;
}

#hang article {
  background: rgba(255,255,255,0.85);
  padding: 20px 40px;
  margin: 200px auto 0 auto;
  width: 500px;
  box-shadow: 0 0 25px rgba(0,0,0,0.1);
  font-size: 20px;
  text-align: center;
  font-weight: 300;
  text-shadow: 0 1px 0 #fff;
  z-index: 10;
  position: absolute;
}
#hang article p:first-child {
  text-align: left;
}
#hang ul, #hang p {
  margin: 12px 0;
}
#hang ul {
  text-align: left;
  display: inline-block;
  padding: 0 0 0 5px;
  line-height: 1.7;
}
#hang article p:last-child {
  text-align: right;
}
@media only screen and (max-width:580px) {
  #hang article {
    margin: 0;
    padding: 20px 0;
    width: auto;
    font-size: 16px;
    position: relative;
    clear: both;
  }
  #hang ul, #hang p {
    margin: 10px 0;
    padding: 0 10px;
  }
  #hang ul {
    display: block;
    list-style-position: inside;
    padding: 0 0 0 5px;
  }
}
@media only screen and (max-width:400px) {
  #hang article {
    font-size: 14px;
  }
  #hang ul {
    font-size: 13px;
  }
}



#contact article {
  z-index: 50;
  background: white;
  padding: 0px 25px;
  position: absolute;
  width: 250px;
  margin: 0px 0px 0px 100px;
  border-radius: 0px 0px 5px 5px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

#contact h2 {
  font-weight: 300;
  margin: 0 0 -10px 0;
  padding-top: 15px;
}

#contact .divider {
  background-image: url(images/moon.jpg);
  background-position: bottom;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  /*height: 480px;*/
  box-shadow: inset 0 5px 20px rgba(0,0,0,0.3);
}
@media only screen and (min-width:1000px) {
  #contact .divider { background-image: url(images/moon.jpg); }
}

@media only screen and (max-width:1160px) {
  #contact article {margin-left: 100px; }
}
@media only screen and (max-width:900px) {
  #contact article div { width: 300px; font-size: 16px;}
}
@media only screen and (max-width:700px) {
    #contact article {margin-left: 40px; }
  #contact article div { float: none; padding: 10px 0 30px 0; font-size: 14px;}
  #contact h2 { padding-top: 20px;}
}
@media only screen and (max-width:400px) {
    #contact article {margin-left: 20px; }
  #contact article div { padding: 5px 0 5px 0;}
  #contact h2 { padding-top: 10px;}
}



#section404 {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-image: url(images/home1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  font-size: 42px;
}
@media only screen and (min-width:1000px) {
  #section404 { background-image: url(images/home2.jpg); }
}
#section404 article {
  background: rgba(255,255,255,0.7);
  position: absolute;
  z-index: 10;
  top: 30%;
  left: 0;
  right: 0;
  box-shadow: 0 0 25px rgba(0,0,0,0.1);
  text-align: center;
  padding: 25px 20px 45px 20px;
  font-weight: 300;
}
#section404 article h2 {
  font-size: 2.4em;
  font-weight: 400;
  margin: 0;
}
#section404 article p {
  max-width: 900px;
  margin: 0 auto;
  display: block;
}
@media only screen and (max-width:1000px) {#section404 { font-size: 36px; } }
@media only screen and (max-width:800px) {#section404 { font-size: 30px; } }
@media only screen and (max-width:700px) {#section404 { font-size: 28px; } }
@media only screen and (max-width:600px) {#section404 { font-size: 24px; } }

div.exited {
  position: absolute;
  top: 70px;
  width: 94%;
  padding: 10px 0;
  background-color: #353534;

  text-align: center;
  color: #fff;
  letter-spacing:4px
  
  transform:rotate(12deg);
  -ms-transform:rotate(12deg); /* IE 9 */
  -webkit-transform:rotate(12deg); /* Safari and Chrome */
}
