@import url('https://fonts.googleapis.com/css?family=Arvo:400,700');
@import url('https://fonts.googleapis.com/css?family=Oswald:400,700');

html {
    height: 100%;
    margin: 0;
    padding: 0;
}
body, div, h1, h2, h3, h4, h5, h6, form, a, p, ul, ol, li, img, textarea, input, select, option {
    font: 100% "Arvo", sans-serif;
    margin: 0;
    padding: 0;
    color: #232526;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
}
body {
	height: 100%;
	-webkit-text-size-adjust: 100%;
}
a, li.dropdown {
    color: #5E9918;
}
input, select {
    background: transparent;
    border: none;
    border-bottom: solid 1px #aaa;
    padding: 8px 4px;
    border-radius: 0;
    -webkit-border-radius: 0;
}
p {
    font-size: 100%;
}
p.error {
    display: inline-block;
    background: #C7322C;
    font-size: 90%;
    color: #fff;
    padding: 4px 6px;
}
p.error a {
    color: #fff;
}
p.info {
    display: inline-block;
    background: #5E9918;
    color: #fff;
    padding: 4px;
}
.clear {
    display: block;
    clear: both;
}
.left {
    float: left;
}
.right {
    float: right;
}
.bold {
    font-weight: 700;
}
.ralign {
    text-align: right;
}
.center {
    text-align: center;
}
.indent {
    padding-left: 16px;
}

#wrapper {
    height: 100%;
    width: 100%;
	z-index: 100;
	transition: left .5s;
}
#wrapper .heading {
    font-size: 110%;
    font-weight: 700;
}
#wrapper ul, #wrapper ol {
    padding: 4px 16px;
}
#wrapper li {
    list-style: disc;
    margin-left: 16px;
}
#wrapper ol li {
    list-style: decimal;
}
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #5E9918;
    padding: 0 8px 4px 8px;
    z-index: 999;
}
#header ul {
    padding: 0;
    text-align: center;
}
#header ul.left, #header ul.right {
    padding: 40px 0;
    text-align: left;
}
#header ul.left li {    
    padding-right: 32px;
}
#header li {
    display: inline-block;
    color: #fff;
    margin: 0;
    vertical-align: middle;
    list-style: none;
}
#header li.img {
    padding-right: 8px;
}
#topnav {
    max-width: 1440px;
    margin: auto;
    padding: 0 16px;
}
#header .logo span.title {
    display: block;
    font: 250% "Oswald", serif;
    font-weight: 700;
}
#header .logo span.subtitle {
    display: block;
    font: 200% "Oswald", serif;
    font-weight: 700;
}
#header .logo li a {
    font-size: 110%;
    font-weight: 700;
    color: #fff;
}
#header li.button {
    padding-left: 16px;
}
#header li.button a {
    font-size: 125%;
    font-weight: normal;
    color: #fff;
    padding: 6px 16px;
    border: solid 1px #fff;
    border-radius: 8px;
}
#header a.sign-in {
    background: #953F10;
}
#home {
    min-height: 100%;
    background-image: url(../img/hero.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-position: top center;
    padding-top: 120px;
}
#home.sign-in {
    background: #fff;
    padding: 160px 0;
}
#home.sign-in .main {
    width: 75%;
    max-width: 800px;
    padding: 0;
}
#home.sign-in .main form {
    font-size: 125%;
    position: relative;
    background: #E8EDEE;
    padding: 8px 32px 32px 32px;
    border: solid 1px #E8EDEE;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 2px 1px 3px #E8EDEE;
}
#home.sign-in .main form label {
    display: block;
    font-size: 75%;
    color: #888;
}
#home.sign-in .main form input {
    font-size: 80%;
    width: 100%;
    padding: 0 4px 2px 4px;
    margin-bottom: 16px;
}
#home.sign-in .main form select {
    font-size: 80%;
    width: 100%;
    padding: 0 4px 2px 4px;
    margin-bottom: 16px;
}
#home.sign-in .main form button {
    font-size: 80%;
    background: #5E9918;
    color: #fff;
    border: none;
    border-radius: 4px;
    margin-top: 16px;
    padding: 6px 12px;
}
#home.sign-in .main form a {
    float: right;
    font-size: 75%;
    padding-top: 24px;
}
#home.modules {
    background: #fff;
    padding: 32px 64px 32px 389px;
}
#home.modules .logo {
    display: none;
}
#home.modules .logo p.title {
    font-family: "Oswald", sans-serif;
    font-size: 150%;
    font-weight: 700;
    color: #953F10;
}
#home.modules .logo p.subtitle {
    font-family: "Oswald", sans-serif;
    font-size: 110%;
    font-weight: 700;
    color: #953F10;
    padding-bottom: 8px;
}
#home.modules h3 {
    font-family: "Oswald", sans-serif;
    font-size: 200%;
    font-weight: 700;
    padding-bottom: 8px;
}
#home .user {
    position: absolute;
    right: 72px;
    top: 4px;
    font-size: 110%;
}
#home .user img {
    vertical-align: bottom;
}
#announcements {
    width: 90%;
    max-width: 1440px;
    margin: auto;
    padding: 5% 0;
}
#announcements img {
    float: right;
    width: 50%;
}
#announcements div {
    width: 50%;
}
#announcements ul {
    padding: 0;
}
#announcements p, #announcements li {
    color: #E18B22;
    font-size: 110%;    
    list-style: none;
}
#announcements p.intro {
    font-size: 120%;
    font-weight: 700;
}
#announcements h2 {
    color: #E18B22;
    font-size: 160%;
    font-weight: 700;
    padding-bottom: 8px;
}
.section {
    text-align: center;
    padding: 5%;
    border-top: solid 3px #E18B22;
    border-bottom: solid 3px #E18B22;
}
.section-grid {
    display: grid;
    /*grid-template-columns: repeat( auto-fit, minmax(400px, 1fr) );*/
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 5%;
}
.section-grid div {
    position: relative;
    padding: 32px;
    background: #E18B22;
    border-radius: 16px;
    margin-bottom: 32px;
}
.section-grid div .banner {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    color: #E18B22;
    font-size: 150%;
    padding: 8px;
    border: solid 1px #E18B22;
    border-radius: 0 0 16px 16px;
}
.section-grid div img {
    max-width: 100%;
}
.section h1 {
    font: 200% "Oswald", serif;
    font-weight: 700;
    padding-bottom: 32px;
}
.section h2 {
    font: 200% "Oswald", serif;
    font-weight: 700;
    padding-bottom: 32px;
}
.section h3, .section h4, .section h5 {
    font: 175% "Oswald", serif;
    font-weight: 700;
    color: #fff;
    padding-bottom: 8px;
}
.section p, .section li {
    color: #fff;
    font-size: 110%;
}
.section a {
    color: #fff;
    border-bottom: solid 1px #987BB7;
}
.section a:hover {
    border-bottom: solid 1px #fff;
}
#support {
    width: 75%;
    margin: 16px auto 0 auto;
    padding-bottom: 16px;
    font-size: 125%;
    text-align: center;
}
#support p.supporthead {
    font: 160% "Oswald", serif;;
    font-weight: 700;
    margin-bottom: 8px;
    padding-top: 8px;
}
#support .cardwrap {
    display: flex;
    margin: auto;
    transition: all .5s;
}
#support .cards {
    font-size: 110%;
    position: relative;
    box-sizing: border-box;
    width: 33.33%;
    margin: 16px 1.5%;
    padding: 16px;
    float: left;
    background: #fff;
    border: solid 1px #eee;
    border-top: solid 4px #5E9918;
    text-align: center;
    box-shadow: 1px 1px 3px #ddd;
}
#support .cards.full {
    width: 100%;
    margin: 16px auto;
}
#support .cards i {
    font-size: 200%;
}
#signout {
    position: absolute;
    top: 48px;
    right: 0;
    max-width: 330px;
    font-size: 80%;
    text-align: left;
    background: #fff;
    padding: 12px 80px 20px 20px;
    box-shadow: -1px 7px 10px #888;
}
#menu {
    position: absolute;
    left: 12px;
    width: 100%;
    max-width: 200px;
    margin-top: -16px;
    font-size: 110%;
    text-align: left;
    background: #fff;
    padding: 8px 40px 8px 12px;
    box-shadow: 3px 3px 5px #666;
}
#signout ul, #menu ul {
    padding: 0;
}
#signout li, #menu li {
    list-style: none;
    margin-left: 0;
}
#menu li {
    margin-bottom: 8px;
}
#signout.hide, #menu.hide {
    display: none;
}
#signout.show, #menu.show {
    display: block;
}
#signout li.spacer {
    border-bottom: solid 1px #ccc;
    margin: 6px 0 12px 0;
}
#home h1 {
    font: 200% "Oswald", serif;
    font-weight: 700;
    padding: 16px 0;
}
#home h1 a {
    font-family: "Oswald", sans-serif;
    font-weight: 700;
}
#home.modules h1, #home.sign-in h1 {
    color: #E18B22;
    padding: 0 0 16px 0;
}
#home.modules h1 i {
    display: none;
}
#heading {
    background-image: url(../img/module-heading.png);
    background-position: right;
    background-repeat: no-repeat;
    background-color: #E18B22;
    margin-bottom: 32px;
    padding-right: 155px;
    border-radius: 16px;
    min-height: 155px;
}
#home.sign-in #heading {
    background-image: url(../img/signin-heading.png);
}
#home.register #heading {
    background-image: url(../img/register-heading.png);
}
#home.profile #heading {
    background-image: url(../img/profile-heading.png);
}
#heading h2 {
    font-family: "Oswald", sans-serif;
    font-size: 175%;
    color: #fff;
    padding: 32px;
}
#heading h2 p {
    font-family: "Arvo", sans-serif;
    color: #fff;
    font-size: 66%;
    padding: 8px 0;
}
#heading img {
    float: right;
    padding: 0 32px;
}
#home h1 span {
    font-size: 50%;
}
#home .main {
    max-width: 1440px;
    margin: auto;
    padding: 0 40% 0 16px;
}
#home .main .splash {
    background: rgba(255, 255, 255,.8);
    padding: 32px;
    margin: 32px 0;
}
#home .main p, #home .main li {
    font-size: 133%;
}
#home .main p.error {
    display: inline-block;
    background: #C7322C;
    font-size: 90%;
    color: #fff;
    padding: 4px 6px;
    margin-bottom: 16px;
}
#home .main p.error a {
    color: #fff;
}
#home .main #heading h2 p {
    font-size: 85%;
    padding: 8px 0;
}
#home .button {
    text-align: center;
}
#home .button a {
    display: inline-block;
    background: #5E9918;
    width: 100%;
    max-width: 180px;
    color: #fff;
    font-size: 90%;
    padding: 12px 16px;
    margin: 0 8px 8px 8px;
    border: solid 1px #fff;
    border-radius: 8px;
}
#lnav {
    background: #953F10;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 330px;
    overflow-y: auto;
    box-shadow: 1px 1px 8px #888;
    z-index: 999;
}
#lnav .logo {
    padding: 32px 16px;
}
#lnav p {
    color: #fff;
}
#lnav p.title {
    font-family: "Oswald", sans-serif;
    font-size: 175%;
}
#lnav p.subtitle {
    font-family: "Oswald", sans-serif;
    font-size: 120%;
}
#lnav ul {
    margin: 0 0 16px 0;
    padding: 0;
}
#lnav li {
    font-size: 110%;
    color: #fff;
    list-style: none;
    padding-bottom: 8px;
}
#lnav li i {
    color: #fff;
}
#lnav li a {
    display: block;
    color: #fff;
    padding: 22px 16px 22px 48px;
}
#lnav li a:hover {
    background: #fff;
    color: #5E9918;
    border-radius: 32px 0 0 32px;
}
#lnav li a:hover i {
    color: #953F10;
}
#lnav li.active a {
    background: #fff;
    border-radius: 32px 0 0 32px;
}
#lnav li.active a {
    color: #953F10;
}
#lnav li.active i {
    color: #953F10;
}
.grid {
    display: grid;
    grid-template-columns: repeat( auto-fill, minmax(400px, 1fr) );
    grid-template-rows: auto;
    gap: 16px;
}
.table {
    display: table;
    table-layout: fixed;
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: solid 1px #ccc;
}
.table .row {
    display: table-row;
}
.table .th {
    display: table-cell;
    width: 33.33%;
}
.table .th p {
    font-weight: 700;
}
.table .th:nth-child(3) {
    width: 66.66%;
}
.table .cell {
    display: table-cell;
    padding: 2px 8px 6px 0;
    width: 33.33%;
}
.table .cell:nth-child(3) {
    width: 66.66%;
}
.table .mod p {
    padding-bottom: 8px;
}
.card {
    position: relative;
    background: #E8EDEE;
    padding: 32px 32px 96px 32px;
    border: solid 1px #E8EDEE;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 2px 1px 3px #E8EDEE;
}
.card a, .table a {
    text-decoration: underline;
}
.card.green {
    background: #E18B22;
}
.card.green p, .card.green li, .card.green a {
    color: #fff;
}
.card.disabled p, .card.disabled li, .card.disabled a {
    color: #B8B8B8;
}
.card .title {
    font-family: "Oswald", sans-serif;
    text-align: center;
    font-size: 125%;
    font-weight: 700;
    padding-bottom: 8px;
}
.card .done {
    background: #953F10;
    position: absolute;
    top: -28px;
    left: -56px;
    transform: rotate(-45deg);
    padding: 64px 32px 4px 32px;
}
.card .done p {
    color: #fff;
    font-weight: 700;
    line-height: 80%;
    font-size: 80%;
}
.card .done p span {
    display: block;
    font-size: 66%;
    text-align: center;
}
.card .play {
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
.card .play a {
    display: block;
    margin: 0 16px 8px 0;
    text-decoration: none;
    float: right;
}
.card .footer {
    background: #fff;
    text-align: center;
    font-weight: 700;
    padding: 4px 16px;
    clear: both;
}
.card .footer a.getcert {
    font-size: 120%;
    display: block;
    text-decoration: none;
    margin: 0;
    float: none;
}
.profile .card {
    padding-bottom: 64px;
}
.profile .card label {
    display: block;
    font-size: 75%;
    color: #888;
}
.profile .card input {
    padding: 0 4px 2px 4px;
    width: 100%;
}
.profile .card .input {
    position: relative;
    margin: 8px 0;
}
.profile .card select {
    background: transparent;
    padding: 0 4px;
    border: none;
    border-bottom: solid 1px #aaa;
    width: 100%;
}
.profile .card .input.left, .profile .card .input.right {
    margin: 0;
    width: 49%;
}
.profile button {
    position: absolute;
    bottom: 24px;
    left: 32px;
    font-size: 80%;
    background: #5E9918;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
}
#footer {
	width: 100%;
	background: #fff;
}
#footer div {
    text-align: center;
    margin: 0 16px;
    padding: 16px 0;
    border-top: solid 1px #ddd;
}
#footer div a {
    text-decoration: underline;
}
#footer div img {
    vertical-align: bottom;
}
#footer p.footertext {
    max-width: 1024px;
    margin: auto;
}
#newpassword, #leavingsite {
    display: none;
    animation: fadein .2s;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #999;
    background: rgba(0,0,0,.8);
    z-index: 999;
    overflow-y: auto;
}
#newpassword.show, #leavingsite.show {
    display: block;
}
#newpassword form, #leavingsite div {  
    box-sizing: border-box;
    background: #fff;
    position: absolute;
    top: 33.33%;
    left: 37.5%;
    width: 25%;
    padding: 32px 32px 64px 32px;
    -webkit-overflow-scrolling: touch;
}
#newpassword form .closemodal, #leavingsite div .closemodal {
    font-size: 125%;
    position: absolute;
    top: 2px;
    right: 8px;
}
#newpassword form p.header, #leavingsite div p.header {
    font-size: 125%;
    font-weight: 700;
}
#newpassword form p.error {
    font-size: 80%;
    background: #EA2B1F;
    color: #fff;
    padding: 4px;
}
#newpassword .input {
    position: relative;
    margin: 8px 0;
}
#newpassword label {
    display: block;
    font-size: 75%;
    color: #888;
}
#newpassword input {
    padding: 0 4px 2px 4px;
    width: 100%;
}
#newpassword a.cancel, #leavingsite a.cancel {
    position: absolute;
    bottom: 30px;
    right: 32px;
    font-size: 80%;
}
#newpassword button, #leavingsite a.button {
    position: absolute;
    bottom: 24px;
    left: 32px;
    font-size: 80%;
    background: #0B70B9;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 4px 12px 6px 12px;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@media screen and (max-width: 1439px) {
    html {
        font-size: 80%;
    }
    #home.sign-in {
        padding-top: 120px;
    }
}
@media screen and (max-width: 1023px) {
    #topnav {
        padding: 0 2px;
    }
    #header .logo {
        font-size: 75%;
    }
    #header ul.left, #header ul.right {
        padding: 24px 0;
    }
    #home {
        background-attachment: scroll;
    }
    /*.grid {
        grid-template-columns: 1fr 1fr;
    }*/
    .section-grid {
        display: block;
    }
    .section-grid div img {
        float: none;
        width: 100%;
        padding-bottom: 16px;
    }
    #collaborators img {
        width: 100%;
    }
    #newpassword form, #leavingsite div {
        left: 25%;
        width: 50%;
    } 
    #heading {
        background-image: none;
        padding-right: 0;
    }
}
@media screen and (max-width: 799px) {
    #header {
        position: static;
    }
    #header .logo {
        display: flex;
        flex-flow: column-reverse;
    }
    #header ul.left {
        float: none;
        text-align: center;
        padding: 8px 0 0 0;
    }
    #header ul.right {
        float: none;
        text-align: center;
        padding: 8px 0;
    }
    #header ul.left li, #header ul.right li {
        padding: 0 8px;
    }
    #header ul.titles {
        padding-bottom: 8px;
    }
    #home {
        padding: 32px 0;
    }
    #home.sign-in {
        padding: 32px 0;
    }
    #home .main {
        padding: 0 16px;
    }
    .card {
            margin-bottom: 16px;
    }
    #support .cardwrap {
        display: block;
    }
    #support .cards {
        width: 100%;
        margin: 16px 0;
    }
    #footer p {
        clear: both;
    }
    #footer p.left, #footer p.right {
        display: block;
        float: none;
        text-align: center;
    }
}
@media screen and (max-width: 767px) {
    #lnav {
        display: none;
    }
    #home.sign-in .main {
        width: 95%;
    }
    #home.modules .logo {
        display: block;
    }
    #home.modules h1 i {
        display: inline-block;
    }
    #home .user {
        right: 24px;
    }
    #signout {
        right: 16px;
    }
    #home.modules {
        padding: 32px 16px;
    }
    #newpassword form, #leavingsite div {
        width: 90%;
        left: 5%;
    }
}
@media screen and (max-width: 499px) {
    #wrapper #signout li {
        margin: 0;
    }    
    #wrapper #header ul.left li, #wrapper #header ul.right li {
        margin: 0;
    }
    .grid {
        display: block;
    }
}