/** reset **/
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;
}
/** end reset **/
html, body {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    line-height: 1.18em;
}
body {

}
main {
    margin:0;
    padding:0;
    border:0;
}
h1 {
    font-size: 1.8rem;
    line-height: 1.2em;
    text-align:center;
    padding:25px 0 25px 0;
}
h2 {
    color:#353579;
    font-size: 1.5rem;
    line-height:1.3em;
}
h3 {
    font-size: 1.2rem;
    line-height:1.2em;
    font-weight: 300;
}
a, a:hover, a:active, a:visited {
    color: #353535;
    text-decoration: none;
}
a:hover {
    border-bottom: 1px solid #353535;
}
.chapter {
    font-weight: 300;
}
ul.sections {
    padding:0 15px 50px 15px;
}
ul.sections li {
    margin-bottom:25px;
}
ul.sections li:nth-child(odd)  {
}
ul.sections li:nth-child(even) {
}
ul.sections li:nth-child(odd) div:first-child  {
}

ul.sections li:nth-child(even) div:last-child  {
}
ul.sections li div:first-child {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    padding: 8px;
    margin:5px auto;
    background: url('background.jpg') no-repeat 50% 50%;
    background-attachment: fixed;
    color: white;
    font-size:2.2rem;
    line-height: 76px;
    text-align: center;
}

ul.sections li div:last-child {
}
ul.section-links {
}
ul.section-links li {
    display:inline;
    font-size:0.9rem;
    font-weight: 300;
    line-height: 2.2em;
    white-space: nowrap;
}

img.icon {
    vertical-align:middle;
    margin:0 5px 3px 14px;
}

ul.section-links li:first-child img.icon {
    margin-left: 0;
}

header {

}
header h1 {
}
header .umass {
    display:grid;
    grid-template-columns: 20% 1fr;
    align-items: center;
    margin:25px 15px;
}
header .umass div:first-child {
    text-align: center;
    padding-right:15px;
}
header .umass div:last-child {
}
header .umass img {
    width:100%;
}
header .compnet {
    display:grid;
    grid-template-columns: 20% 1fr;
    grid-template-areas: "logo text";
    align-items: center;
    margin-left:15px;
}
header .compnet div:first-child {
    grid-area: text;
}
header .compnet div:last-child {
    grid-area: logo;
    padding-right:15px;
}
header .compnet img {
    width:100%;
}
footer {
    padding:0 0 50px 0;
    text-align: center;
}

footer img.icon {
    margin-left: 0;
}

@media all and (min-width: 1198px) {
    h1 {
        font-size: 1.8rem;
        line-height: 1.2em;
        text-align:center;
    }
    h2 {
        font-size: 1.3rem;
        line-height:1.3em;
    }
    h3 {
        font-size: 1.2rem;
        line-height:1.3em;
        font-weight: 300;
    }
    ul.sections {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width:90%;
        margin:0 auto;
    }
    ul.sections > li {
        display:flex;
        flex-direction: row;
        align-items: center;
        margin-bottom:0;
    }
    ul.sections > li:nth-child(odd)  {
        flex-direction: row-reverse;
        justify-content: flex-end;
    }
    ul.sections > li:nth-child(even) {
        flex-direction: row;
        margin-top: 40px;
        z-index:10;
    }

    ul.sections > li div:last-child {
    }
    ul.sections > li:nth-child(odd) div:first-child  {
        margin-left:auto;
    }
    ul.sections > li:nth-child(odd) div:last-child  {
        text-align: right;
    }
    ul.sections > li:nth-child(even) div:last-child  {
        margin-left:auto;
    }

    ul.sections > li div:first-child {
        position:relative;
        border-radius: 50%;
        width: 100px;
        height: 100px;
        padding: 10px;
        margin:0;
        font-size:3rem;
        line-height: 90px;
        text-align: center;
        z-index:auto;
    }
    ul.sections > li div:first-child:after {
        content: '';
        position: absolute;
        top:-20px;
        left:-20px;
        border-radius: 50%;
        width: 160px;
        height: 160px;
        background-color: white;
        z-index:-1;
    }
    ul.sections > li:nth-child(odd) div:first-child {
    }
    ul.sections > li:nth-child(odd) div:first-child:after {
    }
    ul.sections > li:nth-child(even) div:first-child {
    }
    ul.sections > li:nth-child(even) div:first-child:after {
    }
    ul.sections li div:last-child {
        width:75%;
    }

    header {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-areas: "umass title compnet";
        width:90%;
        margin:50px auto;
    }
    header h1 {
        grid-area: title;
    }
    header .umass {
        grid-area: umass;
        display:flex;
        flex-direction: row;
        align-items: top;
        margin:0;
    }
    header .umass div:first-child {
        padding:0;
    }
    header .umass div:last-child {
        padding:0;
    }
    header .umass img {
        width:auto;
        height:100px;
        margin-right: 25px;
    }
    header .compnet {
        grid-area: compnet;
        display:flex;
        flex-direction: row;
        align-items: top;
        text-align:right;
        margin:0;
    }
    header .compnet div:first-child {
        padding:0;
    }
    header .compnet div:last-child {
        padding:0;
    }
    header .compnet img {
        width:auto;
        height:120px;
        margin-left: 25px;
    }
}
