---
---

@import "support";

.coursecard {
    margin-bottom: 2rem;
}

a.courselink {
    color: $text-color;
    box-shadow: 6px 6px 10px rgba($banner-color, 0.2);
    transition: all 0.15s cubic-bezier(0, 0, 0.5, 1) 0s;
}

a.courselink:hover {
    text-decoration: none;
    transform: scale3d(1.01, 1.01, 1.01) translate3d(0.1rem, -0.25rem, 20rem);
    box-shadow: 3px 11px 10px rgba($banner-color, 0.25);
}

.courselink h3 {
    margin-bottom: 0;
    background-color: $banner-color;
    color: white;
    letter-spacing: 3px;
    display: inline-block;
    height: 100%;
    width: 100%;
    padding: 1rem;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

div.coursedesc {
    border: solid 1px $banner-color;
    padding-right: 10px;
    padding-top: 15px;
}

div.descrow {
    display: flex;
    width: 100%;
    @include media-query(450px) {
        display: initial;
    }
}

div.ccredits {
    text-align: center;
    min-width: 80px;
    margin: auto 5px;
}
.ccredits {
    @include media-query($on-palm) {
        display: none;
    }
}

div.cdesc {
    font-family: $readable-font-family;
    font-size: 110%;
    padding: 20px;
    padding-top: 10px;
    margin: auto;
    margin-left: 0px;
    @include media-query($on-palm) {
        font-size: 100%;
        padding: 8px 20px;
    }
}

div.cdesc p {
  margin-bottom: 0px;
}

div.descrow {
    font-family: $base-font-family;
}

div.descrow div.cicon {
    margin: auto 16px;
    width: inherit;
    min-width: 145px;
    text-align: center;
    font-size: 65px;
    padding-bottom: 15px;
    @include media-query($on-palm) {
        float: left;
        padding: 0 15px 15px 0;
    }
    @media screen and (min-width: 450px) {
        max-width: 145px;
    }
}

div.featuringrow {
    display: flex;
    width: 100%;
    padding-bottom: 20px;
    text-align: right;
    @include media-query($on-palm) {
        font-size: 96%;
    }
}

div.featuringrow div {
    padding: 10px;
    @include media-query($on-palm) {
        padding: 5px;
    }
}

div.featuringrow div.bauthors {
    max-width: 77%;
}

div.featuringrow div.flabel {
    font-family: $base-font-family;
    margin-left: 25px;
    margin-bottom: auto;
    @include media-query($on-palm) {
        margin-left: 10px;
    }
}

div.featuringrow div.lecturers {
    min-width: 20%;
}

