/* Table of contents
–––––––––––––––––––––––––––––––––––––––––––––––––– 
- Grid
- Base Styles
- Typography
- Links
- Spacing
- Utilities
- Clearing
- Media Queries
*/


/* Grid
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.container {
  position: relative; 
  width: 80%; 
  max-width: 960px; 
  margin: 0 auto; 
  padding: 0; }
.container .column,        
.container .columns { 
  float: left; 
  width: 100%; 
  box-sizing: border-box; }
.row { 
  margin-bottom: 2rem; }
.row .column:first-child,        
.row .columns:first-child { 
  margin-left: 0; }

/* For devices larger than 550px */
@media (min-width: 550px) {
  
  .container .column,
  .container .columns {
    margin-left: 4%; }
  
  .container .one.column,
  .container .one.columns          { width: 4.66666666667%; }
  .container .two.columns          { width: 13.3333333333%; }
  .container .three.columns        { width: 22%;            }
  .container .four.columns         { width: 30.6666666667%; }
  .container .five.columns         { width: 39.3333333333%; }
  .container .six.columns          { width: 48%;            }
  .container .seven.columns        { width: 56.6666666667%; }
  .container .eight.columns        { width: 65.3333333333%; }
  .container .nine.columns         { width: 74.0%;          }
  .container .ten.columns          { width: 82.6666666667%; }
  .container .eleven.columns       { width: 91.3333333333%; }
  .container .twelve.columns       { width: 100%; margin-left: 0; }

  .container .one-third.column     { width: 30.6666666667%; }
  .container .two-thirds.column    { width: 65.3333333333%; }

  .container .one-half.column      { width: 48%; }

  /* Offsets */
  .container .row .offset-by-one        { margin-left: 8.66666666667%; }
  .container .row .offset-by-two        { margin-left: 17.3333333333%; }
  .container .row .offset-by-three      { margin-left: 26%;            }
  .container .row .offset-by-four       { margin-left: 34.6666666667%; }
  .container .row .offset-by-five       { margin-left: 43.3333333333%; }
  .container .row .offset-by-six        { margin-left: 52%;            }
  .container .row .offset-by-seven      { margin-left: 60.6666666667%; }
  .container .row .offset-by-eight      { margin-left: 69.3333333333%; }
  .container .row .offset-by-nine       { margin-left: 78.0%;          }
  .container .row .offset-by-ten        { margin-left: 86.6666666667%; }
  .container .row .offset-by-eleven     { margin-left: 95.3333333333%; }

  .container .row .offset-by-one-third  { margin-left: 34.6666666667%; }
  .container .row .offset-by-two-thirds { margin-left: 69.3333333333%; }

  .container .row .offset-by-one-half   { margin-left: 52%; }

}


/* Base Styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* NOTE
html is set to 62.5% so that 1.5rem = 15px */
html { 
  font-size: 62.5%;
  height: 100%; } 
body {
  font-size: 1.5em; /* currently ems cause chrome bug misinterpreting rems on body element */
  line-height: 1.6;
  font-weight: 400;
  font-family: "Open sans", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: white;
  background-color: #111; }


/* Typography
–––––––––––––––––––––––––––––––––––––––––––––––––– */
h1, h2, h3, h4, h5, h6 { 
  font-weight: 600;
  margin-top: 0;
  margin-bottom: .5rem;
  text-shadow: 2px 2px black;
  text-transform: uppercase; }
h1 { font-size: 4.0rem; line-height: 1.2;  letter-spacing: .01rem; font-weight: 700;}
h2 { font-size: 3.6rem; line-height: 1.25; letter-spacing: 0; }
h3 { font-size: 3.0rem; line-height: 1.3;  letter-spacing: 0; }
h4 { font-size: 2.4rem; line-height: 1.35; letter-spacing: 0; }
h5 { font-size: 1.8rem; line-height: 1.3;  letter-spacing: 0; }
h6 { font-size: 1.5rem; line-height: 1.6;  letter-spacing: 0; }

/* Larger than phablet */
@media (min-width: 550px) {
  
  h1 { font-size: 5.0rem; }
  h2 { font-size: 4.2rem; }
  h3 { font-size: 3.6rem; }
  h4 { font-size: 3.0rem; }
  h5 { font-size: 2rem; }
  h6 { font-size: 1.5rem; }
}

p {
  margin-top: 0;}


/* Links
–––––––––––––––––––––––––––––––––––––––––––––––––– */
a { 
  color: #ffd530; text-decoration: none; }
a:hover { 
  color: #0FA0CE; }

/* Custom
__________________________________________________ */
.intel_bg {
    background: url("../img/intel_bg.jpg") top center no-repeat;
    background-size: cover;
    overflow: hidden;
  }
.wall_bg {
  background: url("../img/wall_bg.jpg") top center no-repeat;
  background-size: cover;
  overflow: hidden;
}
.recon_bg {
  background: url("../img/recon_bg.jpg") top center no-repeat;
  background-size: cover;
  overflow: hidden;
}
.black_bar {
    background: rgba(25, 25, 25, .5);
    color: white;
    width: 100%;
    position: fixed;
    top:45%;
    left:0;
    padding: 20px 0 0 0;
}
.clear_bar {
    background: transparent;
    color: white;
    width: 100%;
    position: fixed;
    top:30%;
    left:0;
    padding: 20px 0 0 0;
}
.bottom_logo {
  margin-top: 150px;
}
.army_logo {
  max-width:120px;
}


/* Spacing
–––––––––––––––––––––––––––––––––––––––––––––––––– */
pre,
blockquote,
form,
dl,
figure,
table,
p,
ul,
ol,
form {
  margin-bottom: 2.5rem; }
p {
  margin-top: 0; }


/* Utilities
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.u-full-width {
  width: 100%;
  box-sizing: border-box; }
.u-max-full-width {
  max-width: 100%;
  box-sizing: border-box; }
.u-pull-right {
  float: right; }
.u-pull-left {
  float: left; }


/* Misc
–––––––––––––––––––––––––––––––––––––––––––––––––– */
hr {
  margin-top: 3rem;
  margin-bottom: 3.5rem;
  border-width: 0;
  border-top: 1px solid #E1E1E1;
}
.padd-top {
  padding-top: 20px;
}
.100px-width {
  width: 100px;
}

/* Clearing
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* Self Clearing Goodness */
.container:after,
.row:after,
.u-cf { 
  content: "";
  display: table;
  clear: both; }


/* Media Queries
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* Larger than mobile */
@media (min-width: 400px) {}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 550px) {}

/* Larger than tablet */
@media (max-width: 750px) {
    html {
      height: 45%;
    }    

    h1 { font-size: 3.2rem;}
    h5 { font-size: 1.5rem;}
    .black_bar, .clear_bar {
      background: rgba(25, 25, 25, 1);
      color: white;
      width: 100%;
      position: fixed;
      bottom:0;
      left:0;
      padding: 20px 0 0 0;
  }
    .army_logo {
    max-width:50px;
    position: fixed;
    top:10px;
    left: 10px;
  }
  .bottom_logo {
    margin-top: 100px;
  }
}

/* Larger than desktop */
@media (min-width: 1000px) {}

/* Larger than Desktop HD */
@media (min-width: 1200px) {}

/*CSS for serving the retina image to devices with a high "device-pixel-ratio":*/
@media only screen and (-moz-min-device-pixel-ratio: 1.5), only screen and (-o-min-device-pixel-ratio: 3/2), only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-devicepixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx) {
  .intel_bg {
    background: url("../img/intel_bg_retina.jpg") top center no-repeat;
    background-size: cover;
    position: absolute;
    bottom: 0;
  }
  .wall_bg {
    background: url("../img/wall_bg_retina.jpg") top center no-repeat;
    background-size: cover;
    position: absolute;
    bottom: 0;
  }
  .recon_bg {
    background: url("../img/recon_bg_retina.jpg") top center no-repeat;
    background-size: cover;
    position: absolute;
    bottom: 0;
  }
}