/* Site wide ----------------------- */
@font-face {
    font-family: onesite;
    src: url(/fonts/onesite.woff) format("woff"),url(/fonts/onesite.svg) format("svg");
    font-weight: 400;
    font-style: normal
}
.icon-upArrow:before {
    font-family: onesite;
    content: "\e9bd"
}
body {
    background-image: url("/images/edu_webbanner.jpg");
    background-repeat: no-repeat;
    background-size: contain;
    font-family: "Open Sans",Helvetica Neue,Helvetica,Arial,sans-serif;
    color: #4d4d4d;
}
h1, h2, h3, h4, h5 {
    font-family: Raleway,"Open Sans",Helvetica Neue,Helvetica,Arial,sans-serif;
}
#wb-bnr {
    background: #333;
    color: #ededed;
    min-height: 50px;
}
#wb-sttl img {
    width: 4.55em;
    height: 1.15em;
    margin: 15px 15px 15px 0px;
}
#wb-cont {
    border: none;
}
h1#wb-cont {
    line-height: 1.325;
}
#wb-dtmd {
    float: right;
    color: #4d4d4d;
    font-family: Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;
    font-size: 0.8em;
}
blockquote {
    background: #fafad2;
    border-color: rgba(0,0,0,.1);
    border-width: 0 0 0 .9375rem;
}
main {
    margin-top: 3.25em;
    padding: 2rem 2rem 4.5rem;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
p {
    text-rendering: optimizeLegibility;
}
.home-page-logo {
    height: 2.5em;
    width: 9.5em;
}
.link {
    color: #004e99;
    text-decoration: underline;
    cursor: pointer;
}
.mar-top-0 {
    margin-top: 0;
}
.mar-btm-25 {
    margin-bottom: 25px;
}

/* Footer -------------------------- */
footer {
    background: #ededed;
    border-top: 1px solid #d9d9d9;
    padding: 3.5em 0;
}
footer h3 {
    margin-bottom: 15px;
}
footer ul {
    display: flex;
}
footer ul li {
    margin-right: 16px;
}
footer a {
    font-size: 15px;
}
footer a:link,
footer a:visited {
    color: #1a1a1a;
}
footer a:focus,
footer a:hover,
footer a:active {
    color: #004e99;
}
footer .copyright a {
    display: block;
    line-height: 1.6;
    font-size: 12px;
    margin-bottom: 6px;
}

/* Back to Top --------------------- */
#back-to-top {
    background-position: 0 0;
    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s linear, opacity 0.3s linear;
}
#back-to-top:hover {
    cursor: pointer;
}
#back-to-top .icon {
    font-size: 32px;
    color: #999;
}

/* Heading ------------------------- */
.heading {
    padding: 2em 1.5em 1.5em 1.5em;
    border-bottom: 4px solid #ededed;
}
.heading p {
    font-size: 1.4em;
    line-height: 1.6;
    margin-bottom: 1.1em;
}

/* Buttons ------------------------- */
.btn {
    padding: .75em 1.5em .8125em;
    box-shadow: 0 2px 4px #666;
}
.btn-primary,
.btn-primary:link,
.btn-primary:visited {
    color: #fff;
    background-color: #006b3f;
    border-color: #008b52;
}
.btn-primary:focus,
.btn-primary:hover,
.btn-primary:active {
    background-color: #008b52;
    border-color: #008b52;
}

/* Alerts -------------------------- */
.alert {
    font-size: 1.45rem;
}

/* Language Selection Page --------- */
.language-selection-page {
    height: 100%;
    background-color: #81D5F9;
}
.language-selection h2 {
    margin-bottom: 2em;
}

/* Course Viewer ------------------- */
.courseViewer {
    width: 100%;
    height: 1200px;
}

/* Filters ------------------------- */
#filters {
    text-align: right;
}
#filters label {
    margin-left: 15px;
}
@media screen and (max-width: 1200px) {
    #filters {
        text-align: left;
    }
    #filters .filter {
        display: block;
        margin-top: 10px;
    }
}
@media screen and (max-width: 655px) {
    #filters label,
    #filters select {
        display: block;
        margin-top: 10px;
        margin-left: 0px;
    }
}

/* Courses ------------------------- */
#courses {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 25px;
    margin-bottom: 35px;
}
#courses .course {
    display: flex;
    flex-direction: column;
    flex: 48%;
    padding: 20px;
    max-width: 48%;
    border: 1px solid #DFDFDF;
    border-radius: 3px;
    box-shadow: 0 2px 4px #666;
    margin: 25px 1%;
}
#courses .course .course-heading {
    margin-top: 25px;
}
#courses .course .course-image {
     width: 100%;
 }
#courses .course .course-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}
#courses .course .course-description {
    margin-top: 7px;
    margin-bottom: 20px;
}
#courses .course .course-modules {
    margin-top: auto;
}
#courses .course p {
    font-size: 1em;
}
#courses .no-results {
    width: 100%;
    text-align: center;
}
@media screen and (max-width: 992px) {
    #courses {
        flex-direction: column;
    }
    #courses .course {
        max-width: 100%;
        margin: 25px 0px;
    }
}
