/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.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.
 */

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

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
    width: 800px;
    margin: 0 auto;
}

/* videos */

video {
  max-width: 100%;
  height: auto;
}

iframe,
embed,
object {
  max-width: 100%;
}

.videoresource {
  width: 90%;
  padding: 5%;
  margin: 0px auto;
  background: #fff;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

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

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

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #efefeb;
    color: #000;
    padding: 0.2em 0;
}

.p0 {
  padding: 0px;
}
.p1 {
  padding: 10px;
}
.p2 {
  padding: 20px;
}
.p3 {
  padding: 30px;
}
.m1 {
  margin: 10px;
}
.pt1 {
  padding-top: 10px;
}
.pb1 {
  padding-bottom: 10px;
}
.pr1 {
  padding-right: 10px;
}
.pl1 {
  padding-left: 10px;
}
.b0 {
  border: 0;
}
.bb1 {
  border-bottom: 1px solid #efefeb;
}
.bb2 {
  border-bottom: 2px solid #efefeb;
}
.bt1 {
  border-top: 1px solid #efefeb;
}
.bt2 {
  border-top: 2px solid #efefeb;
}

a:link, a:visited {
  text-decoration: none;
  color: #D82125;
}

a:hover, a:active {
  color: #F82004;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6, .navbar, .nav {
  font-weight: 700;
}

.navbar {
  vertical-align: bottom;
}
  
.header {
  background-color: #097367;
  text-align: center;
  text-transform: uppercase;
  font-size: 22px;
  display: block;
  color: #fff;
  margin: 0;
  padding: 5px 10px 5px 10px;
  height: auto;
}

header {
  width: 100%;
  margin:0px auto;
  display: table-cell;
  vertical-align: top;
  background-color: #fff;
}

  header h2 { 
    text-transform: uppercase;
    margin: 0;
    font-size: 18px;
  }

.horizontalimages { 
  display: table;
  height: 150px;
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
}
  
.horizontalimages ul li {
    display: table-cell;
    vertical-align: top;
  }
    .horizontalimages ul li .img-container {
        height: 150px;
        overflow: hidden;
    }
      .horizontalimages ul li img {
        width: 100%;
        opacity: 1.0;
        -webkit-filter: grayscale(100%);
        -moz-filter: grayscale(100%);
        filter: grayscale(100%);
      }

.news {
  margin: 0;
  padding: 0;
  padding-left: 20px;
  padding-right: 20px;
  border: 1px solid #efefeb;
  background-color: #fff;
}

.news>blockquote {
  font-size: 14px;
}

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

/* shareaholic */
.shareaholic-canvas {
    padding: 20px 0 1px 0;
    width: 50px;
    position: absolute;
    margin-left: -70px !important;
}


body {
  font-family: 'Open Sans', sans-serif;
  background-color: #efefeb;
  position: relative;
  height: 100%;
}

/* top nav */

.navbar-default {
  background-image: none;
  background-color: #fff;
  box-shadow: none;
  margin-bottom: 0px;
  border: 0;
  border-radius: 0;
  border-bottom: 2px solid #efefeb;
}

  .navbar-default .navbar-brand, .navbar-default .navbar-brand:hover {
    background-color: #097367;
    text-transform: uppercase;
    color: #fff;
    font-size: 22px;
    line-height: 22px;
    padding: 5px 10px 5px 10px;
    height: auto;
    margin: 10px 10px 10px 0px !important;
    box-shadow: 5px 5px 0px #F82004;
  }

  .navbar-nav>li>a {
    /*
    margin: 0;
    padding: 0 10px 0 10px;
    border: 0;
    */
    border-bottom: 2px solid #FFF;
  }
  
  .navbar-nav>li>a:hover {
    background-color: transparent;
    border-bottom: 2px solid #097367;
  }
/* page nav */

.nav {
  margin-top: 0;
  margin-bottom: 0;
  background-color: #fff;
}

.nav-pills>li>a {
  border-radius: 0;
  border-bottom: 2px solid #FFF;
}

.nav-pills>li>a:hover {
  background-color: transparent;
  border-bottom: 2px solid #F82004;
}

.nav-pills>li.active>a, .nav-pills>li.active>a:hover, .nav-pills>li.active>a:focus {
  color: #fff;
  background-color: #F82004;
}

/* bootstrap */

.btn-default {
  background-color: #fff;
  background-image: none;
}

/* home page */

.homepage-header {
  margin-top: 0;
  margin-bottom: 0;
  border: 0;
  border-bottom: 2px solid #097367;
}

.homepage-header-image {
  position: relative; 
  width: 100%; /* for IE 6 */
  border-bottom: 2px solid #097367;
}

.homepage-header-image-overlay {
  font-size: 20px;
  position: absolute; 
  text-align: left;
  left: 35%; 
  bottom: 10%;
  max-width: 65%;
  padding: 0;
  margin: 0;
  opacity: 0.95;
  filter: alpha(opacity=95); /* For IE8 and earlier */
}

.homepage-header-image-overlay>ul {
  margin: 0;
  line-height: 36px;
}

.homepage-header-highlight>strong {
    background-color: #fff;
    font-weight: 700;
    color: #000;
    padding: 1px 5px 1px 5px;
    height: auto;
}

.homepage-header-highlight>a {
    background-color: #fff;
    color: #000;
    font-weight: 400;
    padding: 1px 5px 1px 5px;
    border-bottom: 2px solid #F82004;
    height: auto;
}

.homepage-header-highlight>a:hover {
    background-color: #F82004;
    color: #fff;
}

.homepage-header p {
  font-size: 18px;
  background-color: #fff;
  padding: 5px;
  margin: 0;
}

.homepage-header p>strong {
    border-bottom: 1px solid #097367;
    font-weight: 600;
    padding: 1px 3px 1px 3px;
    height: auto;
}

.homepage-header p>a {
    font-weight: 600;
    color: #F82004;
    padding: 1px 3px 1px 3px;
    border-bottom: 1px solid #F82004;
    height: auto;
}

.homepage-header p>a:hover {
    background-color: #F82004;
    color: #fff;
}

/* section text */

article {
}

section {
  border-top: 2px solid #efefeb;
}

section>h3 {
    background-color: #fff;
    text-transform: uppercase;
    color: #000;
    padding: 5px 5px 5px 5px;
    margin: 0;
    height: auto;
}

section>div {
  margin: 0;
  border: 0;
  padding: 5px 5px 5px 5px;
  border-top: 1px solid #efefeb;
  background-color: #fff;
}

/* event listing */

.events-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
  .event {
    width: 47%;
    text-align: top;
    float: left;
  }

  .event-single {
    width: 100%;
    text-align: top;
  }
  .event:nth-of-type(2n+1) {
    clear: both;
  }

    .event-navbar {
      list-style-type: none;
      margin: 0;
      padding: 0;
      padding-left: 5px;
      border: 1px solid #efefeb;
      border-top: 0;
    }

    .event-header  {
      display: table;
      width: 100%;
    }
      .event-header-date {
        display: table-cell;
        width: 60px;
        background-color: #D82125;
        text-align: center;
      }
      a:hover .event-header-date {
        background-color: #F82004;
      }
        .event-header-date h2 {
          margin: 0;
          color: #fff;
          font-size: 25px;
        }
          .event-header-date h2 span {
            display: block;
          }
          .event-header-date h2 span.event-header-date-month {
            font-size: 35px;
            margin-bottom: 5px;
          }
      .event-header-name {
        display: table-cell;
        vertical-align: top;
        background-color: #fff;
      }
        .event-header-name h2 {
          /* color: #495456; */
          text-transform: uppercase;
          margin: 0;
          font-size: 18px;
        }
        .event-single .event-header-name h2 {
          font-size: 35px;
        }
    .event-books {
      display: table;
      height: 100px;
      margin: 0;
      padding: 0;
      border: 1px solid #efefeb;
      border-top: 0;
      border-bottom: 0;
      width: 100%;
    }
      .event-books .event-books-item {
        display: table-cell;
        vertical-align: top;
      }
        .event-books .event-books-item .img-container {
          height: 100px;
          overflow: hidden;
        }
          .event-books .event-books-item img {
            width: 100%;
            opacity: 0.75;
            -webkit-filter: grayscale(100%);
            -moz-filter: grayscale(100%);
            filter: grayscale(100%);
          }
        a:hover .event-books .event-books-item img {
          -webkit-filter: none;
          -moz-filter: none;
          filter: none;
        }
    .event-description {
      margin: 0;
      padding: 0;
      padding-left: 5px;
      padding-right: 5px;
      border: 1px solid #efefeb;
      background-color: #fff;
    }
    .event-speakers {
      list-style-type: none;
      margin: 0;
      padding: 0;
      padding-left: 5px;
      padding-right: 5px;
      background-color: #fff;
    }
      .event-speakers .event-speakers-item {
        clear: both;
      }
        .event-speakers .event-speakers-item .speaker-headshot {
          text-align: center;
          width: 150px;
          float: left;
        }
        .event-speakers .event-speakers-item h3.event-speakers-item-name {
          margin: 0;
          font-size: 20px;
          color: #993235;
        }
        a:hover .event-speakers .event-speakers-item h3.event-speakers-item-name {
          color: #D82125;
        }
        .event-speakers .event-speakers-item .event-speakers-item-affiliation {
          color: #222;
        }
        .event-speakers .event-speakers-item .event-speakers-item-bio {
          color: #222;
          font-size: 14px;
        }
        .event-speakers .event-speakers-item .event-speakers-item-contact {
          color: #222;
          font-size: 14px;
        }
    p.event-description {

    }

      .event-single video {
        width: 100%;
      }













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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.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: h5bp.com/p
 */

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

/*
 * Hide visually and from screenreaders, 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   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,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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 for images, or javascript/internal links
     */

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

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

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

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

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

    @page {
        margin: 0.5cm;
    }

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

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