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


/* Site Styles */

header {
    overflow: hidden;
    padding-top: 66px;
    background: #363538;
    color: #EFEFEF;
    padding-bottom: 15px;
}

header p {
	color: #EFEFEF;
	font-size: 28px;
	padding: 4px;
	text-align: center;
}

h1, h2, h3 {
    font-family: serif;
}

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

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

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

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

nav {
    clear: both;
    background: #505e6b;
    overflow:hidden;
    position: fixed;
    width: 100%;
    max-width: 1300px;
}

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;
}

nav a:hover {
    color: #ffc85c;
    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%;
}


.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: 'Open Sans', sans-serif;
    color: #333;
    font-size: 1em;
}

td {
    padding: 10px;
}

td.time {
    width:100px;
}

td.speaker {
    font-weight: bold;
    width: 120px;
}

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

td a:hover {
     color: #7ac5dd;
}

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

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;
}

.sponsors h2, .sponsors img {
    float: left;
    margin-right: 20px;
}

#schedule-small {
    display: none;
}

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

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

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




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

}

@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 #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%;
    }

    .sponsors img {
        display:block;
        clear:both;
    }

    #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;
    }
}

@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%;
      }

}

