/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

 @import url(https://fonts.googleapis.com/css?family=Lato:400,700|Source+Code+Pro:700);

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html, 
body {
    font-family: 'Open Sans', sans-serif;
    background: #061322;
}

h1,
h2,
h3,
h4 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 800;
}

h2 {
    font-size: 38px;
}

p {
    font-weight: 300;
    font-size: 22px;
    color: #666666;
}

.clear,
.clearfix {
    clear: both;
}

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

.third {
    float: left;
    width: 33.33333333%;
}

#home header {
    position: relative;
    min-height: 761px;
    background: #091f35;
    overflow: hidden;
}

#home header.smaller {
  min-height: 300px;
}

#home header video {
    height: 100%;
    width: 177.77777778vh; /* 100 * 16 / 9 */
    min-width: 100%;
    min-height: 56.25vw; /* 100 * 9 / 16 */
    position: absolute;
    left: 50%; /* % of surrounding element */
    top: 50%;
    transform: translate(-50%, -50%); /* % of current element */
    z-index: 0;
}

#nav {
    position: absolute;
    height: 118px;
    width: 100%;
    margin-top: 33px;
    background: url(/assets/img/barbg.png) top left repeat-x;
    background-size: 3px 118px;
    z-index: 1000;
    transition: all 0.5s ease;
}

#nav .content {
    max-width: 1020px;
    min-width: 980px;
    margin: 0 auto;
}

#logo {
    display: block;
    float: left;
    width: 148px;
    height: 38px;
    margin: 40px 0 0 18px;
    background: url(/assets/img/logo.png) top left no-repeat;
    background-size: 148px 38px;
    transition: all 0.5s ease;
}

#nav.compact #logo {
    width: 134px;
    height: 34px;
    margin-top: 20px;
    margin-right: 7px;
    margin-left: 25px;
    background-size: 134px 34px;
}

#nav .divider {
    float: left;
    width: 2px;
    height: 118px;
    margin: 0 149px 0 61px;
    background: url(/assets/img/bardiv.png) top left no-repeat;
    background-size: 2px 118px;
    transition: all 0.5s ease;
}

#nav.compact .divider {
    height: 80px;
    background-size: 2px 80px;
}

#nav nav a {
    float: right;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 90%;
    margin: 0 18px;
    line-height: 118px;
    transition: all 0.5s ease;
}

#nav.compact nav a {
    line-height: 80px;
}

#nav nav a:hover {
    transition: .20s all ease;
    color: #ffffff;
}

#nav.compact {
    margin-top: -4px;
    position: fixed;
    height: 80px;
    background-size: 3px 80px;
}

header,
section,
footer {
    min-width: 980px;
}

header #promo {
    position: relative;
    max-width: 700px;
    margin: 273px auto 0;
    color: #cccccc;
    text-align: center;
    font-size: 20px;
    z-index: 1;
}

header #promo h1 {
    text-transform: uppercase;
    color: #ffffff;
    font-size: 54px;
    font-weight: 800;
    margin-bottom: 0;
}

header #promo p {
    margin: 10px 0 120px;
    font-weight: 300;
    font-size: 22px;
    color: #cccccc;
}

.arrowlink {
    display: inline-block;
    padding: 9px 60px 10px 36px;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    background: #0062da;
    background: -webkit-linear-gradient(#0062da, #0154bc);
    background: -o-linear-gradient(#0062da, #0154bc);
    background: -moz-linear-gradient(#0062da, #0154bc);
    background: linear-gradient(#0062da, #0154bc);
    transition: 1s all ease;
}

.arrowlink:hover {
    background: #d90134;
    background: -webkit-linear-gradient(#d90134, #bc012d);
    background: -o-linear-gradient(#d90134, #bc012d);
    background: -moz-linear-gradient(#d90134, #bc012d);
    background: linear-gradient(#d90134, #bc012d);
    transition: 1s all ease;
}

.arrowlink.button {
    border-radius: 42px;
}

.arrowlink span {
    position: absolute;
    display: inline-block;
    width: 31px;
    height: 31px;
    margin: -2px 0 0 21px;
    background: url(/assets/img/arrow.png) no-repeat top right;
    background-size: 31px 31px;
}

#home #barone {
    background: #ffffff;
}

#home .dwrapper {
    background-color: #ffffff;
}

#home .dwrapper:first-child {
    border-right: 1px solid #f8f8f8;
}

#home .dwrapper:last-child {
    border-left: 1px solid #f8f8f8;
}

#home #barone .content,
#home #bartwo .content,
#home #barthree .content,
#home #barfour .content {
    padding: 55px 87px;
    min-height: 500px;
}

#home.bio #barthree .content {
  padding-top: 20px;
}

#home #baroneactions {
    background: #f8f8f8;
}

#home #baroneactions .actions {
    text-align: center;
    background: #efefef;
}

#home #bartwo {
    background-color: #22222a;
    color: #ffffff;
}

#home #bartwoactions {
  background: #22222a;
}

#home #bartwoactions .actions {
    text-align: center;
}

#home #barthree {
    padding: 20px;
    background: #ffffff;
    text-align: center;
}

#home #barfour {
    color: #ffffff;
    background: #303439;
}

#home #barfour .third:first-child .portfolio,
#home #barfour .third:last-child .portfolio {
    padding-top: 120px;
    min-height: 300px;
}

#home #barfour .third:nth-child(2) {
    background-color: #21242a;
}

#home #barfour .third:nth-child(2) .content {
    background: none;
}

#home #barfour .third:nth-child(2) .content img {
    margin: 20px 0 0;
    width: 90%;
    max-width: 400px;
    max-height: 352px;
}

#home #barfour .content {
    padding: 20px 40px 0;
    margin: 0 0 1px;
    min-height: 660px;
    background: url(/assets/img/slides.png) bottom no-repeat;
    background-size: 75% 70%;
}

#home #barfour h2 {
    height: 80px;
    font-size: 32px;
}

#home #barfour .content img {
    max-width: 257px;
}

#home #barfour .portfolio,
#home #barfour .actions {
    text-align: center;
}

#home #barfour .portfolio {
    padding-top: 30px;
    min-height: 400px;
}

#home #barfour .portfolio p {
    font-size: 14px;
}

#home #barfive {
    background: #ffffff;
    text-align: center;
    padding: 20px;
}

#home #barfive .quotebox {
    padding: 40px;
    margin: 40px 40px 80px;
    background: #f0f0f0;
}

#home #barfive .quotebox p {
    font-size: 16px;
    font-style: italic;
    text-align: left;
    min-height: 180px;
}

#home #barfive .logo {
    position: relative;
    min-height: 80px;
    text-align: left;
    float: left;
    width: 30%;
}

#home #barfive .signature {
    color: #4e5858;
    text-align: right;
    float: left;
    width: 70%;
}

#home #barfive .signature em {
    font-size: 14px;
    font-style: italic;
}

footer a {
    color: #3c65ff;
    text-decoration: none;
}

footer a {
    text-decoration: underline;
}

footer #address {
    background: #102439 url(/assets/img/vegas.png) bottom left no-repeat;
    background-size: 335px 193px;
    background-position: 20px bottom;
    padding: 20px 0 0 400px;
    min-height: 340px;
    color: #ffffff;
}

footer #address .content {
    float: right;
}

footer #address .col {
    display: table-cell;
    padding: 100px 60px 0 0;
}

footer #copyright {
    padding: 50px;
    color: #ffffff;
    font-style: italic;
    background: url(/assets/img/logo.png) right no-repeat;
    background-size: 148px 38px;
    background-position: right 50px center;
}

footer #copyright span {
    color: #708295;
}

footer #copyright a {
    margin: 0 0 0 10px;
}

/* Marketing Box */

#marketing-promo {
    margin-top: 40px;
}

/* Technology Box */

pre,
code {
    padding: 0;
    margin: 0;
}

#technology-promo {
  margin-top: 40px;
}

.window {
  
  background: #ddd;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-flow: row wrap;
      -ms-flex-flow: row wrap;
          flex-flow: row wrap;
  position: relative;
  width: 100%;
}

.title {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
  text-align: center;
  padding: 0.75em;
  font-size: 14px;
}

.icons {
  padding: 0.75em;
  position: absolute;
}
.icons span {
  background: #f4c025;
}
.icons:before {
  content: "";
  background: #e4514f;
}
.icons:after {
  content: "";
  background: #3ec930;
}

.icons span, .icons:before, .icons:after {
  display: inline-block;
  float: left;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  margin-right: 0.5em;
}

pre {
  background: #222;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  color: #fff;
  overflow: scroll;
  padding: 2.5em;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  font-size: 12px;
}
pre code {
  font: bold 1em/1.75 "Source Code Pro", monospace;
}
pre code:after {
  -webkit-animation: blink 0.9s infinite;
          animation: blink 0.9s infinite;
  font: initial;
  display: block;
  opacity: 1;
  content: "▋";
}

.token.punctuation {
  color: #999;
}

.token.boolean,
.token.number {
  color: #8130c9;
}

.token.keyword {
  color: #09a3d5;
}

.token.operator {
  color: #e4514f;
}

@-webkit-keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Orbit */

.orbit img {
    width: 528px;
    height: 485px;
}

/* Logos */

#barthree ul,
#barthree li {
    list-style: none;
    padding: 0;
    margin: 0;
}

#barthree ul {
    margin: 40px auto 0;
    max-width: 1300px;
}

#barthree li {
    display: inline-block;
    padding: 0 0 4px 0;
    text-align: center;
}

#barthree ul li img {
    width: 176px;
    height: 176px;
}


/* GENERIC CSS */
#genericwrapper { margin:0 15px 0 60px; }
#genericsidebar { float:right; width:250px; }
#genericsidebar a { color: #ffffff; }
#genericcontent { margin-right: 300px; padding: 0 30px 0 0; }
#genericsidebar .photo { padding:15px 10px 15px; text-align:center; line-height:1.5em; width:210px; margin:0 auto; margin-top: 70px; font-size:11px; color:#eeeeee; background-color:#333333; }
#genericsidebar .photo img { margin-bottom:5px; }


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   Mid Resolution
   ========================================================================== */

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

    #home #barone .content {
        padding: 25px 47px;
    }

    #home #barfour h2 {
        font-size: 24px;
    }


    h2 {
        font-size: 32px;
    }

    p {
        font-size: 16px;
    }

}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

/*
@media only screen and (max-width: 768px) {
  header #promo p {
    color: #ffffff;
  }
  #nav .content {
    min-width: inherit;
  }
  #nav #logo,
  #nav.compact #logo {
      width: 80px;
      height: 20px;
      margin-top: 30px;
      margin-right: 7px;
      margin-left: 15px;
      background-size: 80px 20px;
  }
  #nav .divider { display: none; }
  #nav nav a:first-child {
    display: none;
  }
  #nav nav a {
    font-size: 70%;
    margin: 0 10px;
  }
  #nav nav a {
      line-height: 80px;
  }
  #nav {
      margin-top: -4px;
      position: fixed;
      height: 80px;
      background-size: 3px 80px;
  }
  .actions,
  .orbit {
    display: none;
  }
  header,
  section,
  footer {
    min-width: inherit;
  }
  .pure-u-1-2,
  .pure-u-1-3,
  .third {
    width: 100%;
  }
  footer #address {
    padding-left: 20px;
  }
  footer #address .content {
    float: none;
  }
  footer #address .col {
    display: inherit;
    padding: 20px;
  }
  footer #copyright {
    background: none;
  }
}
*/