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


strong {
    font-weight: bold;
}

/* Site Styles */

header {
    overflow: hidden;
    padding-top: 100px;
    background: #EFEFEF;
    background: url('background.jpg');
    background-size: cover;
    color: #EFEFEF;
    padding-bottom: 34px;
}

header p {
    color: #1e1e1e;
    font-size: 28px;
    padding: 4px;
    text-align: center;
    font-family: 'Oswald', sans-serif;
}

h1, h2, h3 {
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
}

h1 {
    color: #1e1e1e;
    font-size: 3rem;
    padding: 20px 0 20px 2%;
    text-align: center;
}

h1 .small {
    font-family: 'Oswald', sans-serif;
    text-transform: none;
    font-size: 2.7rem;
}

h1.subheading {
    color: #1e1e1e;
    font-size: 2rem;
    padding: 0 1% 0 45%;
}

h2 {
    color: #646464;
    font-size: 2rem
}

h3 {
    color: #505e6b;
    font-size: 25px;
    margin: 20px;
    margin-top: 30px;
}

nav {
    clear: both;
    background: #646464;
    overflow:hidden;
    position: fixed;
    width: 100%;
    max-width: 1300px;
    z-index: 5;
}

nav a {
    color: #EEE;
    display: block;
    float: left;
    text-decoration: none;
    width: 16%;
    text-align: center;
    font-size: 1.3em;
    padding: 20px 0 20px 1%;
    line-height: 1.8rem;
}

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

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


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

article p, ul, table {
    width: 90%;
    margin: 20px auto;
}

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

.speakers p {
    width: 95%;
    margin: 5px 0;
}


.dates {
    background: #333;
    color: #EEE;
    padding: 70px 0 1% 45%;
    font-size: 3.5vw;
    letter-spacing: 2px;
}

.banquet, .register {
    padding: 10px 10px 10px 45%;
    font-size: 22px;
    font-style:italic;
    line-height: 30px;
}

.register a {
    display: inline-block;
    padding: 10px 20px;
    background: #1cb089;
    letter-spacing: 2px;
    color: white;
    border: 1px solid #CCC;
    text-decoration: none;
    font-style:normal;
}

.register a:hover {
    background: #3ce0b4;
}

li {
    line-height: 1.6;
    list-style: none;
    margin-left: 1%;
}

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

.year a {
    text-decoration: none;
    color: #1cb089;
}

.year a:hover {
    color: #3ce0b4;
}

i {
    font-style: italic;
}

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

p, p a {
    font-family: helvetica, sans-serif;
    line-height: 1.5em;
}

p a {
    color: #bd7265;
    text-decoration: none;
}

p a:hover {
    color: #714f49;
    text-decoration: underline;
}

td {
    padding: 10px;
}

td.time {
    width:150px;
    font-family: helvetica, sans-serif;

}

.speaker {
    font-weight: bold;
    width: 120px;
    font-size: 1rem;
    font-family: helvetica, sans-serif;
}

td a,
li a {
    font-weight: bold;
    text-decoration: none;
    color: #4d8b9e;
    line-height: 1.5;
}

td a:hover,
li a:hover {
     color: #7ac5dd;
}
#schedule-small li:nth-child(odd),
tr:nth-child(odd) {
    background: #f5f5f5;
}

#schedule-small li {
    padding: 20px 15px;
}

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

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

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

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

.name {
    font-family: helvetica, sans-serif;
    font-weight: bold;
}

.mobile-menu {
    display: none;
}

.logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    clear:both;
}

.logos img {
    margin-top: 20px;
    margin-right: 20px;
}

#schedule-small {
    display: none;
}

.closed > a::after {
    content: '▶';
    display: inline-block;
    margin-left: 6px;
    font-size: 14px;
}

.open > a::after {
    content: '▼';
    display: inline-block;
    margin-left: 6px;
    font-size: 14px;
}

.abstracts {
    width:100%;
    margin-left: 20px;
}

.abstracts a {
    font-size:22px;
    color: #61a4b9; 
    font-weight: bold;
}

.abstracts a:hover {
    color: #7ac5dd;
}

div.poster {
    margin: 20px auto 50px auto;
    width: 50%;

}

a.poster {
    width: 100%;
    text-align: center;
    background: #BBB;
    border-top:5px solid #646464;
    position: relative;
    margin-bottom: 50px;
}

.abstract p {
    display: none;
}

.abstract p {
    padding-bottom: 1em;
}


.poster img {
    transition: opacity .5s;
    width: 100%;
}

.poster .caption {
    background: #AAA;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    letter-spacing: 2px;
    padding: 10px 0;
    display: block;
    position: absolute;
    bottom: -20px;
    transition: bottom .5s, color .5s;
    width: 100%;

}

a.poster:hover img {
    cursor: pointer;
    opacity: .3;
}

a.poster:hover .caption {
    bottom: 40%;
    cursor: pointer;
    background: #714f49;
}

div.poster img:hover {
    opacity: .5;
}

div.registration {
    width: 60%;
    float: left;
}

.registration .button {
    display:block;
    text-decoration: none;
    text-align:center;
    border: 1px solid #AAA;
    background: #714f49;
    width: 100%;
    padding: 20px 0;
    margin: 0 0 20px 0;
    color: white;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.registration .button:hover {
    cursor: pointer;
    background: #bd7265;
}

.map {
    width: 800px;
    margin: auto;
}

.mobile-map {
    display: none;
}




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

    h1, h1.subheading  {
        font-size: 3em;
    }

    h2, .dates, .year {
        font-size: 2.4em;
    }

    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: 100%;
    }

}

@media (max-width: 768px) {

    header img {
        width: 100%;
    }

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

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

    .dates, .year, h2 {
        text-align:center;
        font-size: 2em;
        padding: 10px 0;
    }

    .banquet, .register {
        font-size: 1.5em;
        padding: 10px;
        text-align: center;
    }

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

    ul {
        width: 80%;
    }

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

    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: 100%;
    }

    #schedule {
        display: none;
    }

    #schedule-small {
        display: block;
    }

    tr:nth-child(odd) {
        background: #FFF;
    }

    tr:nth-child(6n-4), tr:nth-child(6n-5),  tr:nth-child(6n-3) {
        background: #f5f5f5;
    }

    td {
        padding: 5px 10px;
    }

    td.time {
        padding-top: 20px;
    }

    td.event {
        padding-bottom: 20px;
    }

    a.poster {
        width: 100%;
        max-width: 400px;
        float:none;
        margin: auto;
        display: block;
        margin-bottom: 70px;
    }

    .poster img {
        max-width: 400px;
    }

    div.registration {
        width: 100%;
        float: none;
    }

    .mobile-map {
        display: block;
        width: 300px;
    }

    .map {
        display: none;
    }

    div.poster {
        width: 100%;

    }
}

@media (max-width: 500px) {


      h1, h1.subheading {
        font-size: 2.3em;
      }

      h2 {
        font-size: 2.3em;
      }

      .dates, .year, h3 {
        font-size: 1.9em;
      }

      ul {
        width: 90%;
      }

}

