@import 'reset.css';

@font-face {
  font-family: 'DINEngschrift';
  src: url('/assets/fonts/DINEngschrift.eot?#iefix') format('embedded-opentype'),  url('/assets/fonts/DINEngschrift.woff') format('woff'), url('/assets/fonts/DINEngschrift.ttf')  format('truetype'), url('DINEngschrift.svg#DINEngschrift') format('svg');
  font-weight: normal;
  font-style: normal;
}
@font-face {
 font-family:'MyriadPro';
 src:url("/assets/fonts/MyriadPro-Regular.eot");
 src:url("/assets/fonts/MyriadPro-Regular.eot?#iefix") format("embedded-opentype"),url("/assets/fonts/MyriadPro-Regular.woff") format("woff"),url("/ui/fonts/MyriadPro-Regular.ttf") format("truetype"),url("/assets/fonts/myriadpro-liregularght-webfont.svg#font") format("svg")
}

@font-face {
 font-family:'Pistilli';
 src:url("/assets/fonts/Pistilli.woff") format("woff"),url("/ui/fonts/Pistilli.ttf") format("truetype"),url("/assets/fonts/Pistilli.svg#font") format("svg")
}

body {font: 1rem 'MyriadPro', Freesans, sans-serif; text-align: center;}
/* http://www.fontsquirrel.com/tools/webfont-generator */

body, select, input, textarea {color: #231f20; line-height: 150%;}
a {color: #d52229;}
a:hover {color: #d52229;}
a:link {-webkit-tap-highlight-color: #d52229;}
a[href^=tel] {color: #231f20; text-decoration: none; }
i {font-style: normal; color: #d52229; }
::-moz-selection{background: #77787b; color: #fff; text-shadow: none;}
::selection {background: #77787b; color: #fff; text-shadow: none;}
ins {background-color: #77787b; color: #000; text-decoration: none;}
mark {background-color: #77787b; color: #000; font-style: italic; font-weight: bold;}
input:-moz-placeholder { color:#77787b; }
textarea:-moz-placeholder { color:#77787b; }
blockquote {padding: 16px; background: #eee;}

p {margin-bottom: 3rem;}
strong {color: #d52229;}
h1, h2, h3, h4, h5 {font-weight: 400; margin-bottom: 2rem;}
h2 {font-size: 400%;}
h3 {font-size: 200%;}


/* 1280 and up
-------------------------------------------------------------------------------*/


  main {
    text-align: left;
    max-width:  1600px;
    margin: 0 auto;
  }

  header, section, footer {
    height: 100vh;
    width: 100%;
    display: block;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
  }
    
  aside, article {
    height: 100%;
    width: 50%;
    padding: 8%;
    float: left;
    overflow: hidden;
  }
  
  header nav a {
    padding: .5% 2%;
  }
  
  nav a {
    padding: 1% 6%;
    text-decoration: none;
    border-left: 1px dotted #d52229;
    text-transform: uppercase;
    font-family: 'DINEngschrift',sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
  }
    
  nav a:hover {
    color: #d52229;
  }
  
    
  nav a:first-child {
    border: none;
  }
  
  aside {
    text-align: center;
  }
  
  aside h2 {
    font-family: "Pistilli", Times, serif;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 400;
  }
  
  aside h2 span{
    letter-spacing: -.5rem;
  }
    
  aside nav {
    position: relative;
    top: 98%;
    transform: translateY(-50%);
  }
  
  article {
    position: relative;
    text-align: left;
  }
  
  article.fade:after {
    content: "";
    display: block;
    position: relative; 
    bottom: 7%; 
    left: 0;
    width: 100%;
    text-align: center; 
    margin: 0 1px; padding: 20px 0;
    z-index: 99;
    
    background: -webkit-linear-gradient(bottom,rgba(255,255,255,0),rgba(255,255,255,1)); /*Safari 5.1-6*/
    background: -o-linear-gradient(bottom,rgba(255,255,255,0),rgba(255,255,255,1)); /*Opera 11.1-12*/
    background: -moz-linear-gradient(bottom,rgba(255,255,255,0),rgba(255,255,255,1)); /*Fx 3.6-15*/
    background: linear-gradient(to bottom, rgba(255,255,0,0), rgba(255,255,255,1)); /*Standard*/
  }

  
  article section {
    position: relative;
    height: 100%;
    width: 100%;
    padding: 0 4%;
    overflow: hidden;
  }

  
  header {
    background-color: #cccccc;
    background-image: url(/assets/img/bg_header.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  
  img.logo {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  header div.tag {
    font-family: "Pistilli", Times, serif;
    font-size: 300%;
    font-weight: 400;
    position: absolute;
    top: 8%;
    left: 4%;
  }
  
  header div.tag i {
    font-weight: 400;
  }
    
  header nav {
    position: relative;
    top: 90%;
    transform: translateY(-50%);
  }
   
  header nav a {
    border-color: #ffffff;
    color: #ffffff;
  }
  h3 {
    font-family: 'DINEngschrift',sans-serif;
    font-size: 2rem;
    font-weight: 300;
    margin: 1rem 0 3rem 0;
  }
  h4 {
    color: #d52229;
    margin-bottom: 0;
    padding-bottom: 1rem;
    font-family: 'DINEngschrift',sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
  }
  h4:before {
    font-family: sans-serif;
    content: '■'; 
    margin-right: 4px;
    font-size: 20px;
    vertical-align: middle;
    display: inline-block;
    margin-top: -9px;
  }
    
  strong {
    color: #d52229;
    font-family: 'DINEngschrift',sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
  }
  
  section#about aside {
    background-color: #d52229;
    color: #ffffff;
  }
    
  section#about nav a {
    color: #ffffff;
    border-color: #ffffff;
  }
  
  section#about nav a:hover {
    color: #231F20;
  }
  
  section#about article section {
    border-left: 1px dotted #d52229;
  }
  
  section#work aside {
    background-color: #ffffff;
    color: #d52229;
  }
  
  section#work article {
    padding: 0;
  }  
  section#work article section {
    padding: 0;
    position: relative;
  }
  
  section#work figure {
    width: 100%;
    height: 50%;
    display: block;
    background: #77787b;
  }
  
  section#work figure:nth-child(odd) a {
    float: left;
  }
  
  section#work figure:nth-child(even) a {
    float: right;
  }
 
  
  section#work article a {
    background: #FFFFFF;
    width: 50%;
    height: 100%;
    position: relative;
    text-align: center;
    cursor: -moz-zoom-in; 
    cursor: -webkit-zoom-in; 
    cursor: zoom-in;
    -webkit-box-shadow: inset 0px 0px 4rem 0px rgba(119,120,123,.2);
    -moz-box-shadow: inset 0px 0px 4rem 0px rgba(119,120,123,.2);
    box-shadow: inset 0px 0px 4rem 0px rgba(119,120,123,.2);
    -webkit-transition: all .5s; /* Safari */
    transition: all .5s;
  }
  
  section#work img {
    height: auto;
    width: auto;
    max-width: 80%;
    max-height: 50%;
    filter: grayscale(100%);
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transition: all .5s; /* Safari */
    transition: all .5s;
  }
  
  section#work a.active {
    position: static;
    height: 100%;
    width: 100%;
    background: rgba(255,255,255,.9);
    left: 0;
    top: 0;
    z-index: 9999;
    cursor: -moz-zoom-out; 
    cursor: -webkit-zoom-out; 
    cursor: zoom-out;
  }
  
  section#work a.active img {
    filter: none;
    max-width: 90%;
    max-height: 90%;
  }
  
  
  section#work img:hover {
    filter: none;
  }
  
  section#work nav a {
    color: #77787B;
    border-color: #d52229;
  }
      
  section#work nav a:hover {
    color: #d52229;
  }
  
  
  section#contact aside {
    background-color: #231f20;
    color: #ffffff;
  }
    
  section#contact nav a {
    color: #ffffff;
    border-color: #ffffff;
  }      
  section#contact nav a:hover {
    color: #d52229;
  }
  
   
  section#contact article section {
    border-left: 1px dotted #d52229;
  }

  section#clients  {
    background-color: #D52229;
    color: #ffffff;
  }
  
  section#clients figure {
    width: 33.3%;
    height: 33.3%;
    float: left;
    text-align: center;
  }
  
  section#clients figure img {
    max-height: 75%;
    max-width: 75%;
    margin: auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
  }
  
  footer {
    background-color: #cccccc;
    background-image: url(/assets/img/bg_footer_2.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
  }
  
  footer div.tag {
    font-family: "Pistilli", Times, serif;
    font-size: 300%;
    font-weight: 400;
    color: #ffffff;
    position: relative;
    top: 89%;
    transform: translateY(-50%);
    float: right;
    margin-right: 4%;
  }


/* 480 and under
-------------------------------------------------------------------------------*/
@media screen and (max-width: 480px) {

  img.logo {
    max-width: 50%;
    top: 45%;
  }
  
  header div.tag {
    font-size: 150%;
    top: 4%;
    left: 4%;
  }
  
  header nav {
    top: 80%;
  }
  
  aside {
    height: 20%;
    width: 100%;
    padding: 8%;
    overflow: hidden;
  }
  
  aside h2 {
    font-size: 200%;
    float: left;
  }
  
  aside h2 span{
    letter-spacing: -.25rem;
  }
  
  aside nav {
    float: right;
    top: 50%;
    text-align: right;
  }
  
  aside nav a {
    border: none;
    display: block;
    font-size: 125%;
    padding: 4%;
  }
  
  article {
    height: 74%;
    width: 100%;
    padding: 10% 8%;
    overflow: hidden;
  }

  article.fade:after {
    display: none;
  }
  
  section#clients  {
    height: auto;
  }
  
  section#clients figure {
    width: 100%;
    height: 25vh;
    float: none;
    text-align: center;
    display: block;
  }
  
  footer div.tag {
    font-size: 150%;
  }
  
}

/* up to 1280
-------------------------------------------------------------------------------*/
@media screen and (max-width: 1279px) {


}



/* Print styles
-------------------------------------------------------------------------------*/
@media print {



}