* {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    white-space: none;
    padding: 0;
    margin: 0;
    /* box-sizing: border-box; */
}

button {
    font-size: large;
    padding: 3px;
    margin: 3px;
}

button#close_popup {
    margin: 30px;
    font-size: 1.5em;
}

button#clear, button#reset {
    display: none;
}

button:hover, a:hover, .menu_item:hover {
    background-color: blue;
    color: white;
}

h1 {
    font-weight: lighter;
    color: blue;
}

#container, #header {
    padding: 2% 2% 2% 2%;
    background-image: linear-gradient(to right, #fbd5a1, rgb(181, 223, 250), rgb(239, 166, 166));
    /* background: linear-gradient(to right, #99fb8a 0, #c4d7e6 33%, white 33%, white 66%, #f77979 66%, #fa9f9f 100%); */
    /* background-color: #a2cff7; */
    overflow-x: auto;
}

#popup {
    display: none;
    position: absolute;
    top: 5%;
    left: 10%;
    right: 10%;
    bottom: 10%;
    background: linear-gradient(to right, rgb(62, 162, 248), rgb(41, 92, 5));
    text-align: center;
    border-radius: 5%;
    z-index: 200;
}

#popup>div {
    padding: 5%;
}

#menu>hr {
    color: transparent;
    background-color: transparent;
}

#header div#logo_div {
    text-align: left;
}

#header div#header_buttons {
    text-align: right;
    padding-right: 10px;
}

img#logo {
    height: 100px;
}

#status {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    font-size: 18px;
    color: #fff;
    background-color: #0066ff;
    z-index: 1;
}

#footer_left {
    font-style: italic;
    text-align: left;
    padding-left: 5px;
}

#footer_middle {
    font-style: italic;
    text-align: center;
}

#footer_right {
    font-style: italic;
    text-align: right;
    padding-right: 5px;
}

#announcements li {
    font-size: larger;
    margin: 10px;
}

.flex_container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.grid2 {
    display: grid;
    grid-template-columns: auto auto;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

/* For medium screens and below */
@media (max-width: 768px) {
    .grid3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* For small screens and below */
@media (max-width: 480px) {
    .grid3 {
        grid-template-columns: 1fr;
    }
}

.menu_item {
    font-size: 18px;
    color: #ddd;
}

.lighter {
    font-weight: lighter;
}

.uitooltip {
    padding: 8px;
    background: yellow;
    position: absolute;
    z-index: 9999;
    max-width: 1000px;
    box-shadow: 0 0 50px #aaa;
    white-space: pre-line;
}

.ui-helper-hidden-accessible {
    display: none;
}

.warning {
    background-color: red;
    color: white;
    font-weight: bold;
}

.editable {
    color: blue;
    background-color: #e9fbfb;
    padding: 0 10px 0 10px;
}

.editable:hover {
    background-color: blue;
    color: white;
}

.highlight {
    background-color: yellow;
}

.small_font {
    font-size: small;
}

.bold {
    font-weight: bold;
}

#my_table tr:nth-child(even) {
    background-color: #ddd;
}

#my_table tr:nth-child(odd) {
    background-color: #fff;
}

.align_center {
    text-align: center;
}

.align_right {
    text-align: right;
}

.nowrap {
    flex-wrap: nowrap;
}

input:valid {
    background-color: #ddffdd;
}

input:invalid {
    background-color: #fea7bc;
}


.W {
    display: inline-block;
    background: rgb(122, 207, 122);
    width: 20px;
    text-align: center;
    margin: 1px;
}

.D {
    display: inline-block;
    background: orange;
    width: 20px;
    text-align: center;
    margin: 1px;
}

.L {
    display: inline-block;
    background: rgb(252, 104, 104);
    width: 20px;
    text-align: center;
    margin: 1px;
}

/* grey out buttons when form is invalid */
form:invalid button[type=submit] {
    opacity: 0.5;
    pointer-events: none;
}

.score {
    background-color: blue;
    color: white;
    font-weight: bold;
}