body{
    background-color: #f4f4f4;
    color: #555;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6em;
    margin: 0;
}

h1{
    font-family: 'Roboto Slab', serif;
}

h2{
    font-family: 'Roboto Slab', serif;
    padding-top: 10px;
}

/* https://codepen.io/pirrera/pen/emKqBp */
a {
    text-decoration:none;
    border-bottom: 2px solid #bbb;
    box-shadow: inset 0 -4px 0 #bbb;
    color: inherit;
    transition: background 0.1s cubic-bezier(.33,.66,.66,1);
}
  
a:hover {
    background: #bbb;
}

::selection {
    background-color: #bbb;
}

p {
    margin-top: 4px;
    margin-bottom: 4px;
}

.container{
    width: 80%;
    margin: auto;
    text-align: center;
}

.option{
    display: inline;
    margin-right: 2em;
    padding-top: 0.5em;
}

.button {
    background-color: #555;
    border: none;
    color: white;
    margin: 10px 0px;
    padding: 12px 20px;
    text-align: center;
    border-radius: 5px;
}

.button:active {
    background-color: black;
}

.picker {
    background-color: #ccc;
    border-radius: 5px;
    margin-bottom: 20px;
}

.uc-option {
    padding-left:  15px;
    padding-right: 15px;
}

.uc-box {
    text-align:left;
    display:inline-block; 
    padding: 5px;
    margin: 15px;
    border-radius: 5px;
    vertical-align: top;
    border: 5px #777 solid;
    background-color: #f4f4f4;
}

h3 {
    margin: 0px;
    text-align: center;
    display: inline;
}

#uc-options {
    text-align:center;
    display:inline-block;
    width:90%;
}

#warning {
    background-color: #EED202;
    border-radius: 5px;
    margin-bottom: 20px;
}

#exams {
    width: 100%;
}

#exams-table {
    border-collapse: collapse;
    border: 5px #777 solid;
    border-radius: 5px;
}

table.center {
    margin-left:auto; 
    margin-right:auto;
}
  
#exams-table td, #exams-table th {
    padding: 8px;
    white-space: nowrap;
}
    
#exams-table tr:hover {background-color: #ddd;}
  
#exams-table th {
    text-align: center;
    background-color: #ccc;
    white-space: nowrap;
}

footer{
    text-align: center;
    margin-top: 40px;
}

.footer-container{
    width: 80%;
    margin: auto;
    text-align: center;
    margin-bottom: 15px;
}

@media(max-width: 500px){
    .option {
        display: inline-block;
    }

    .container{
        width: 90%;
    }

    .footer-container{
        width: 95%;
    }

    #exams-table td, #exams-table th {
        padding: 4px;
    }

    table.center {
        margin-left:  10px; 
        margin-right: 10px;
    }
}