/* CSS RESETS */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}


/* Site Styles */

header {
    overflow: hidden;
    width: 100%;
    background: #319a8a;
    padding: 30px 0;
    padding-top: 100px;
}

h1, h2, h3{
    font-family: 'Merriweather', serif;
    max-width: 1300px;
    margin: auto;
    letter-spacing: 1px;
    padding: 0 20px;
}

h1 {
    color:  #ffffff;
    font-size: 2.8em;
    text-align:center;
    text-shadow: -3px 1px #666;
    line-height: 1.2em;
    letter-spacing: 3px;
}

h1.subheading {
    color: #f5f7af;
    font-size: 1.6em;
    padding-top: 10px;
    text-shadow: none;
    line-height: 1.5em;
}

h2 {
    color: #4B6E94;
    font-size: 1.5em;
}

h3 {
    padding: 40px 0 10px 30px;
    font-size: 20px;
    color: #256f64;
}

table {
    margin: 0 30px;
}

td {
    padding: 10px;
}

nav {
    clear: both;
    background: #4b6e92;
    overflow:hidden;
    position: fixed;
    width: 100%;
}

nav a {
    color: #EEE;
    display: block;
    float: left;
    text-decoration: none;
    width: 13%;
    text-align: center;
    font-size: 1.3em;
    padding: 0 0 0 1%;
    line-height: 66px;
    letter-spacing: 1px;
}

nav a:hover {
    color: #b1efff;
    cursor: pointer;
}

a {
    text-decoration: none;
}

a:hover {
    color: #4b6e92;
}

section {
    padding: 5px 0 20px 0;
    margin: 30px 3%;
    clear:both;
    overflow: hidden;
    border-bottom: 2px solid #cccbd6;
}

article.committee {
    float: left;
    width: 50%;
}

article p, ul {
    margin: 20px auto;
}

.committee ul {
    width: 90%;
}

.speakers ul {
    -moz-column-count: 3;
    -moz-column-gap: 10px;
    -webkit-column-count: 3;
    -webkit-column-gap: 10px;
    column-count: 3;
    column-gap: 10px;
    width: 95%;
}

.speakers p {
    width: 95%;
}

.info {
	background: #edebfb;
	padding: 5px 20px;
	text-align: center;
}

.info p {
    color: #333;
    font-size: 1.5em;
    letter-spacing: 2px;
    margin: auto;
    text-align: center;
    padding: 10px;
    display: inline-block;
}

li {
    line-height: 1.6;
    list-style: none;
    margin-left: 1%;
    letter-spacing: 1px;
    font-size: 1.2em;
    font-family: 'Roboto Condensed', sans-serif;
    color: #333;
}

.year {
    padding: 1% 0 1% 45%;
    font-size: 3.5vw;
    font-weight: 800;
}

p, a, td {
    font-family: 'Roboto Condensed', sans-serif;
    color: #333;
    font-size: 1em;
}

p.abstracts {
    margin: 10px 20px;
}

.title, .mobile-title {
    font-style: italic;
}

a {
    color: #0073e6;
    font-weight: bold;
}

header img {
    width: 43%;
    float:left;
}

.speakers .affiliation {
    display:inline-block;
    padding-left: 6px;
}

.speakers .affiliation:before {
    content:'(';
}

.speakers .affiliation:after {
    content:')';
}

.program .affiliation {
    font-style: italic;
}

.program .sublink {
    margin: 0;
    padding: 5px 0 0 20px;
}

.mobile-menu {
    display: none;
}

.mobile-title {
    display: none;
}

.gallery-image {
    float: left;
    margin: 20px;
    padding: 2px;
    border: 1px solid #CCC;
    width: 25%;
    height: auto;
}

.gallery-image img, .gallery-image a{
    width: 100%;
}

.program table {
    width: 90%;
}


.program td {
    font-size: 18px;
    padding: 10px 10px 10px 10px;
    line-height: 22px;
    background: #e4f5f2;
}

.program .times {
    white-space: nowrap;
}

.subheader {
    font-size: 18px;
    padding: 0 0 15px 30px;
    margin: 0;
    color: #256f64;
    line-height: 23px;

}

@media (min-width: 1300px) {
    section {
        width: 1300px;
        margin: 30px auto;
    }

    h1 {
        font-size: 2.8em;
    }

    h1.subheading {
        font-size: 2em;
    }

  

    nav a {
        font-size: 1.5em;
    }
}



@media (max-width: 1200px) {

    .speakers ul {
        -moz-column-count: 2;
        -moz-column-gap: 10px;
        -webkit-column-count: 2;
        -webkit-column-gap: 10px;
        column-count: 2;
        column-gap: 10px;
        width: 95%;
    }

    .speakers p {
        width: 95%;
    }

}



@media (max-width: 800px) {

    header img {
        width: 100%;
    }

    h1 {
        font-size: 2.4em;
        text-align:center;
    }

    h1.subheading {
        text-align: center;
        font-size: 1.5em;
        padding: 10px 20px;
    }

    .info p, .year, h2 {
        text-align:center;
        font-size: 1.5em;
        padding: 10px;
    }

    article.committee {
        width: 100%;
        padding-top: 20px;
    }

    ul {
        width: 80%;
    }

    nav a {
        font-size: 1.5em;
        width: 100%;
        border-top: 1px solid #1f637a;
    }

    a.mobile-menu {
        border: none;
        display: block;
        text-align: left;
        padding-left: 4%;
    }

    .menu-items {
        display:none;
    }

    .speakers ul {
        -moz-column-count: 1;
        -moz-column-gap: 10px;
        -webkit-column-count: 1;
        -webkit-column-gap: 10px;
        column-count: 1;
        column-gap: 10px;
        width: 90%;
    }

    .speakers p {
        width: 90%;
    }

    .title {
        display:none;
    }

    .mobile-title {
        display:table-cell;
        padding-bottom: 10px;
        padding-top: 0;
        border-bottom: 1px solid #CCC;
        line-height: 1.5em;
    }

    .gallery-image {
        width: 40%;
    }

    .program .sublink {
        text-align: center;
    }

    h3 {
        font-size: 18px;
    }
}

@media (max-width: 500px) {


      h1 {
        font-size: 2em;
      }

      h1.subheading {
      	font-size: 1.3em;
      }

      .info p, .year, h3 {
        font-size: 1.3em;
        line-height: 1.2em;

      }

      td {
        padding: 5px;
      }

      ul {
        width: 90%;
      }

      .gallery-image {
        width: 90%;
      }

      h3 {
        font-size: 18px;
      }

}

