html, body {
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 14px;
}

h3 {
    font-size: 130%;
    font-weight: bold;
    color: rgb(30,20,100);
    height: 25px;
    margin: 5px;
}
h4 {
    font-size: 120%;
    font-weight: bold;
    color: rgb(30,20,100);
    height: 25px;
    margin: 5px;
}
h4.history {
    text-align: left;
    margin-top: 10px;
}

img.top {
    display: inline-block;
    margin-right: 20px;
    height: 40px;
}

div {
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 100%;
}
div.topdiv {
    background-color: rgb(240,240,240);
    margin: 0px;
    padding: 10px;
}
div.history {
    font-size: 100%;
    font-weight: bold;
    color:rgb(64, 43, 226);
    text-align: center;
}
div.leftdiv {
    display: inline-block;
    vertical-align: top;
    width: 150px;
}
div.rightdiv {
    display: inline-block;
    vertical-align: top;
    width: 65%;
}
div.footerdiv {
    display: block;
    margin: 20px 0px 0px 160px;
}
div.answer {
    color: rgb(64, 43, 226);
    display: flex;
    align-items: center;
    width: 90%;
    border: 2px solid lightslategray;
    border-radius: 5px;
    padding: 5px;
}

#super_table {
    border: 0px;
    margin: 10px 5px 10px 5px;
}
#super_table tr, #super_table td {
    border: 1px solid #677283;
    border-collapse: collapse;
    padding: 5px;
}
table.borders {
    border: 0px;
    margin: 10px 5px 10px 5px;
}
th.rotated, td.borders {
    border: 1px solid #677283;
    border-collapse: collapse;
    padding: 5px;
}
td.borders {
    min-width: 30px;
}
th.rotated {
    writing-mode: vertical-lr;
    vertical-align: bottom;
    text-align: center;
}
tr.wrong {
    color: red;
}
tr.correct {
    color: green;
}
tr.clickable:hover {
    cursor: pointer;
}

div#question {
    background-color: rgb(240,240,240);
    width: 90%;
    border: 2px solid lightslategray;
    border-radius: 5px;
    padding: 5px;
}

div#test_question_num {
    background-color: rgb(64, 43, 226);
    color: rgb(240, 240, 240);
    border: 2px solid lightslategray;
    border-radius: 5px;
    width: 100px;
    margin: 5px;
    padding: 5px;
    text-align: center;
}

button {
    border-radius: 3px;
    border: 1px solid #677283;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 100%;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 10px;
    padding-right: 10px;
    margin: 5px;
}
button:hover {
    cursor: pointer;
}

button.submit, button.course {
    padding-top: 6px;
    padding-bottom: 6px;
    background-color: #ADD8E6;/*rgb(205, 238, 255);*/
}

button#login_submit {
    width: 345px;
}

button#logout, button#home {
    width: 100px;
    padding-top: 3px;
    padding-bottom: 3px;
    display: inline-block;
}

button#logout {
    background-color: Orange;
}
button.arrow {
    padding: 3px 10px 3px 10px;
}

.block { display: block; }
.inline { display: inline-block; }

input {
    font-family: "Segoe UI", Arial, sans-serif;
}

input[type="radio"] {
    width: 20px !important;
    height: 20px !important;
    float: left;
    margin-right: 5px;
}

input.login {
    width: 400px;
    height: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 35px;
    margin: 5px;
    display: block;
    border-radius: 3px;
    border: 1px solid #677283;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
input.login:focus {
    box-shadow: 0 0 5px #5a5ec6;
}
input#course_name {
    display: inline-block;
    width: 400px; 
}

fieldset {
    border: 1;
    height: 'auto';
}
label {
    display: inline-block;
    margin-left: 20px;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-right: 0px;
}
.ui-selectmenu-menu {
    max-height: 300px; /* Set the maximum height */
    overflow-y: auto;  /* Enable vertical scrolling */
}