/* 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;
    box-sizing: border-box;
}
/* 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: visible;
    width: 100%;
    background: #4C677F;
    background: -moz-linear-gradient(top, #4C677F 0%, #244869 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4C677F), color-stop(100%,#244869));
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6B94B4', endColorstr='#316594',GradientType=0 );
    padding: 25px 30px;
    position: relative;
    margin-bottom: 60px;
    clear:both;
}

h1, h2, h3 {
    font-family: 'Yanone Kaffeesatz', arial, helvetica, sans-serif;
    max-width: 1300px;
    margin: auto;
    letter-spacing: 2px;
    text-shadow: 1px 1px 0px rgba(0,0,0, .4);
}

h1 {
    color:  #95cdff;
    font-size: 4em;
}

h1.subheading {
    color: #EEE;
    font-size: 2em;
    padding: 10px 0 20px 0;
    font-family: 'Roboto';
    line-height: 1.2em;
}

h2 {
    color: #333;
    font-size: 2em;
    margin-left: 20px;
}

h3 {
    color: #333;
    font-size: 1.5em;
}

strong {
    font-weight: bold;
    font-family: 'Yanone Kaffeesatz', arial, helvetica, sans-serif;
    font-size: 1.3em;
    letter-spacing: 1px;
}

em {
    font-style: italic;
}

nav {
    background: #333;
    text-align:right;
    width: 100%;
    height:50px;
}

.menu-items {
    max-width: 1300px;
    margin: auto;
}

nav a {
    color: #EEE;
    display: block;
    float: right;
    text-decoration: none;
    text-align: center;
    font-size: 1.2em;
    padding: 0 30px;
    line-height: 50px;
}

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

.main {
    max-width: 1300px;
    margin: auto;
}

section {
    margin: 20px 30px;
    overflow: hidden;
    border-bottom: 2px solid #CCC;
}


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

article p, ul {
    margin: 20px 50px;
    line-height: 1.4em;
}


.lecturers p {
    width: 95%;
}

.lecturers 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%;
}


.dates {
    color: #EEE;
    font-size: 1.8vw;
    letter-spacing: 2px;
    background: #333;
    margin: auto;
    padding: 15px 30px;
    margin-bottom: -50px;
}

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

.courses li {
    list-style: disc;
}

.courses ul {
    margin-top: 0px;
    margin-left: 80px;
}

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

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

a {
    color: #244869;
    font-weight: bold;
}

a:hover {
    color: #759a5b;
}

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

footer p {
    color: #888;
    max-width: 1300px;
    margin: 20px 30px;
    clear:both;
    overflow: hidden;
    line-height: 1.4em;
    font-size: .8em;
}

.topics li {
    list-style: disc;
}

#poster {
    float:left;
    margin-top: 0;
    border-bottom: none;
}

.poster a {
    position: relative;
    display: inline-block
}

.poster img {
    width:326px;
}

.poster h2 {
    opacity:0;
    transition: .5s;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    background: black;
    color: #fff;
    text-align: center;
    padding: 40px 50px;
    line-height: 1.2em;
}

.poster a:hover h2 {
    display: block;
    opacity: .8;
}

.application ul {
    list-style: disc;
    margin-left: 80px;
}

.application li {
    list-style: disc;
}

.courses p {
    margin: 3px 50px;
}

.courses h3 {
    margin: 30px 0 10px 50px;
}

.course {
    padding-bottom: 20px;
    border-bottom: 2px solid #CCC;
}

td, th {
    font-size: 16px;
    text-align: left;
    padding: 15px;
}

th {
    font-family: 'Yanone Kaffeesatz', arial, helvetica, sans-serif;
    font-size: 22px;
}

tr:nth-child(even) {
    background: #edf1f5;
}

table {
    margin: 2%;
    width: 96%;
}

.schedule > div {
    margin: 30px;
}

.location p {
    margin: 0px;
    padding: 3px;
    font-size: 22px;
}

.time {
    display: inline-block;
    width: 100px;
    font-weight:bold;
}

@media (min-width: 1300px) {
    section, footer p{

        width: 1300px;
        margin: 30px auto;
    }

    .dates {
        width: 1300px;
    }

    h1 {
        font-size: 3.9em;
    }

    h1.subheading {
        font-size: 2.5em;
        line-height: 1.2em;
    }

    h2 {
        font-size: 2em;
    }

    .dates {
        font-size: 1.5em;
    }

    #poster {
        width: 35%;
    }

    #lecturers, #topics, #organizers {
        width: 65%;
        clear: none;
    }
}

@media (max-width: 1200px) {

    .lecturers p {
        width: 95%;
    }

}

@media (max-width: 800px) {

    header img {
        width: 100%;
    }

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

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

    h2 {
        font-size: 1.8em;
        padding: 10px 0;
        text-align:center;
    }

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

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

    ul {
        width: 80%;
    }

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

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

    .menu-items {
        display:none;
    }

    .lecturers 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%;
    }

    .lecturers p {
        width: 90%;
    }

    .dates {
        font-size: 1.5em;
        text-align: center;
    }

    section {
        clear: both;
    }

    #poster {
        float: none;
    }

    .poster {
        text-align: center;
    }

    .poster a {
        margin: 10px auto;
    }

    .application ul {
        margin-left: 15px;
    }

    .courses h3, .courses p {
        margin-left: 0;
        margin-right: 0;
    }

    .overview {
        display: none;
    }

    .time {
        width: 100%;
        margin-top:15px;
    }

}

@media (max-width: 500px) {

    footer p {
        text-align: center;
    }

    h1 {
        font-size: 2.3em;
    }

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

    h2 {
        font-size: 1.8em;
        text-align: center;
    }

    .dates {
        font-size: 1.1em;
        text-align: center;
    }

    ul {
        width: 90%;
    }

    .poster img {
        width: 100%;
        max-width: 326px;
        height: auto;
    }

    

    .location p {
        font-size: 18px;
    }

}

