@font-face {
    font-family: 'Seven Segment';
    src: url('SevenSegmentRegular.eot');
    src: url('SevenSegmentRegular.eot?#iefix') format('embedded-opentype'),
        url('SevenSegmentRegular.ttf') format('truetype'),
        url('SevenSegmentRegular.woff2') format('woff2'),
        url('SevenSegmentRegular.woff') format('woff'),
        url('SevenSegmentRegular.svg#SevenSegmentRegular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    margin: 0;
    font-family: 'Lato', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

* {
    box-sizing: border-box;
}


.topnav {
    display: flex;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #eaeaea;
}

.topnav a {
    float: left;
    display: block;
    color: #333;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    color: #0f0f0f;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.topnav a:hover {
    background-color: #ddd;
    color: black;
}

.topnav a.active {
    background-color: #04AA6D;
    color: white;
}

.topnav .icon {
    display: none;
}

@media screen and (max-width: 600px) {
    .topnav {
        display: block;
    }

    .topnav a:not(:first-child) {
        display: none;
    }

    .topnav a.icon {
        float: right;
        display: block;
    }
}



footer {
    padding: 0.25em;
    text-align: center;
    background-color: #eaeaea;
    margin-top: auto;
}

footer a {
    color: inherit;
    text-decoration: none;
}

footer .heart {
    color: #DC143C;
}

.main-content {
    background-color: white;
    margin: auto;
    width: 60vw;
    padding: 1em;
}

@media screen and (max-width: 1200px) {
    .main-content {
        width: 98vw;
    }
}

.text-center {
    text-align: center;
}

.text-justify {
    text-align: justify;
    text-justify: inter-word;
}

#name {
    font-family: 'Alex Brush';
    font-weight: bold;
    font-size: 3em;
    display: block;
}

.img-circle {
    border-radius: 50%;
}


/* Indent paragraphs*/
.indent {
    text-indent: 2em;
}

.stable {
    border: 1px solid black;
}

/* Social Links */
.homepage_social {
    display: inline;
    text-align: center;
    padding-left: 0.25em;
}

.social ul {
    list-style: none;
}

.social li {
    display: inline;

}

@media screen and (max-width: 600px) {
    .topnav.responsive {
        position: relative;
    }

    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }

    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
}



.img-responsive {
    width: 100%;
}

/* Table Styles */

.table-wrapper {
    margin: 1em;
    /* margin: 10px 70px 70px; */
    /* box-shadow: 0px 35px 50px rgba(0, 0, 0, 0.2); */
}

.fl-table {
    border-radius: 5px;
    font-size: 12px;
    font-weight: normal;
    border: none;
    border-collapse: collapse;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    background-color: white;
}

.fl-table td,
.fl-table th {
    text-align: center;
    padding: 8px;
}

.fl-table td {
    border-right: 1px solid #f8f8f8;
    font-size: 12px;
}

.fl-table thead th {
    color: #ffffff;
    background: #04AA6D;
}


.fl-table thead th:nth-child(odd) {
    color: #ffffff;
    background: #324960;
}

.fl-table tr:nth-child(even) {
    background: #F8F8F8;
}

/* Responsive */

@media (max-width: 600px) {
    .fl-table {
        display: block;
        width: 100%;
    }

    .table-wrapper:before {
        content: "Scroll horizontally >";
        display: block;
        text-align: right;
        font-size: 11px;
        color: white;
        padding: 0 0 10px;
    }

    .fl-table thead,
    .fl-table tbody,
    .fl-table thead th {
        display: block;
    }

    .fl-table thead th:last-child {
        border-bottom: none;
    }

    .fl-table thead {
        float: left;
    }

    .fl-table tbody {
        width: auto;
        position: relative;
        overflow-x: auto;
    }

    .fl-table td,
    .fl-table th {
        padding: 20px .625em .625em .625em;
        height: 60px;
        vertical-align: middle;
        box-sizing: border-box;
        overflow-x: hidden;
        overflow-y: auto;
        width: 120px;
        font-size: 13px;
        text-overflow: ellipsis;
    }

    .fl-table thead th {
        text-align: left;
        border-bottom: 1px solid #f7f7f9;
    }

    .fl-table tbody tr {
        display: table-cell;
    }

    .fl-table tbody tr:nth-child(odd) {
        background: none;
    }

    .fl-table tr:nth-child(even) {
        background: transparent;
    }

    .fl-table tr td:nth-child(odd) {
        background: #F8F8F8;
        border-right: 1px solid #E6E4E4;
    }

    .fl-table tr td:nth-child(even) {
        border-right: 1px solid #E6E4E4;
    }

    .fl-table tbody td {
        display: block;
        text-align: center;
    }
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    /* The height of the item will now be 56.25% of the width. */
    /* 16:9, for an aspect ratio of 1:1 change to this value to 100% */
}

.schedule-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    /* The height of the item will now be 56.25% of the width. */
    /* 16:9, for an aspect ratio of 1:1 change to this value to 100% */
}

@media screen and (max-width: 600px) {
    .schedule-wrapper {
        position: relative;
        width: 100%;
        height: 80vh;
        /* padding-bottom: 56.25%; */
        /* The height of the item will now be 56.25% of the width. */
        /* 16:9, for an aspect ratio of 1:1 change to this value to 100% */
    }

    .schedule-wrapper iframe {
        position: relative;
        width: 100%;
        height: 80vh;
        /* padding-bottom: 56.25%; */
        /* The height of the item will now be 56.25% of the width. */
        /* 16:9, for an aspect ratio of 1:1 change to this value to 100% */
    }
}

iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(100px, auto);
    column-gap: 0.5rem;
    row-gap: 0.5rem;
    justify-content: center;
}

.pub-cards {
    display: grid;
    grid-auto-rows: minmax(100px, auto);
    column-gap: 0.5rem;
    row-gap: 0.5rem;
    justify-content: center;
}

@media screen and (max-width: 600px) {
    .cards {
        grid-template-columns: 1fr;
    }

    .pub-cards {
        grid-template-columns: 1fr;
    }
}

.card {
    padding-top: 1rem;
    /* Add shadows to create the "card" effect */
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    justify-content: center;
    text-align: center;
    width: 1fr;
    border-radius: 3%;
    /* 5px rounded corners */
}

.pub-card {
    padding-top: 1rem;
    /* Add shadows to create the "card" effect */
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.4s;
    width: 1fr;
    border-radius: 3%;
    /* 5px rounded corners */
}

.term_courses {
    font-family: "Seven Segment", 'Lato', sans-serif;
    font-size: 1.75em;
    list-style: none;
    margin-left: -1.5em;
}

.term_courses li {
    margin-top: 0.5em;
}


/* On mouse-over, add a deeper shadow */
.card:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

/* On mouse-over, add a deeper shadow */
.pub-card:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

/* Add some padding inside the card container */
.container {
    padding: 2px 16px;
    border-radius: 5px 5px 0 0;
}