
/* ==========================================================================
   Author's custom styles
   ========================================================================== */
html {
    font-size: 1em;
    line-height: 1.4;
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

main {
  padding:1em;
  font-size: 1em;
  line-height: 1;
}

.intro p {
  font-family: sans-serif;
  font-size: 1.5em;
  line-height: 1.15em;
  letter-spacing: .05em;
  word-spacing: -.1em;
  margin-bottom: 1em; 
}

.caption p {
  font-family: sans-serif;
  font-size: 1em;
  line-height: 1.15em;
  letter-spacing: .05em;
  word-spacing: -.1em;
  margin-bottom: 1em;
}

main ul{
  font-family: sans-serif;
  font-size: 1em;
  line-height: 1.15em;  
  letter-spacing: .05em;
  word-spacing: -.1em;   
  margin-bottom: 1em;
}

main a.link {
  color:rgb(0,75,200);
  text-decoration: none;
}
main a.link:hover {
  color:rgb(0,0,0);
  text-decoration: none;
}


main img{
  width:100%;
}

main i{
 font-style: italic !important;
}

/*Video*/

.video {
position:relative;
margin-bottom: .5em;
}

iframe {
position:absolute;
top:0;left:0;
width:100%;
height:100%;
}
/* ==========================================================================
   HCSS Grid
   ========================================================================== */


    [class*='col-'] {
      /*float: left;*/
      margin:auto;
      margin-bottom: 3em;
    }

    .grid:after {
      content: "";
      display: table;
      clear: both;
    }
    .col-1-1 {width:100%;}
    .col-2-3 {width: 66.66%;}
    .col-1-3 {width: 33.33%;}
    .col-1-2 {width: 50%;}
    .col-7-10 {width: 70%;}
    .col-8-10 {width:80%;}
    .col-3-10 {width: 30%;}
    .col-1-4 {width:25%;}


    .image-wrap{
      display: flex;
      align-items: flex-end;
      margin-bottom: .5em;
    }

    .image-wrap:after{
      content: "";
      display: table;
      clear: both;   
    }

    .image-wrap .col-1-2, .image-wrap .col-1-1{
      margin:0;
      padding:0 0 0 0;
      float:left;
    }

    .image-wrap .col-1-2:first-child{
      padding-right:.5em;
    }

    .image-wrap .col-1-2:last-child{
      padding-left:.5em;
    }

.col-1-1 .caption{
  margin:auto;
  width:80%;
}

/* ==========================================================================
   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;
}

/* ==========================================================================
    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 handheld, only screen and (max-width: 1250px) {
}

@media handheld, only screen and (max-width: 980px) {

}

@media handheld, only screen and (max-width: 980px) {
    [class*='col-'] {
      width:100%;
    }
    main {
      font-size: 1em;
      line-height: 2;
    }

    .image-wrap{
      display: block;
    }

    .image-wrap > .col-1-2{
      width:100%;
      float:none;
    }

    .image-wrap .col-1-2:first-child{
      padding-right:0;
    }

    .image-wrap .col-1-2:last-child{
      padding-left:0;
    }

    .col-1-1 .caption {
      width:100%;
    }

    img{
      width:100%;
    }

}
