/* CUSTOM STYLING FOR 6.100 */

:root {
  --color-highlight: #941313;
  --color-light-bg: #f9f9fa;
  --text-color: black;
}

code,
kbd,
pre,
samp,
tt {
    font-size: 0.98em;
}

mark {
    background: none;
    color: var(--color-highlight);
    font-weight: bold;
}

.strong_announce {
    color: orangered;
    font-weight: 900;
}

/* fix styling problems for pset pages w/ modified <pre> */
.catsooplogo {
    width: inherit;
    max-width: inherit;
}

.cs_top_menu_item, .nav-container > .dropdown {
    text-align: center;
    padding: 8px;
    height: 24px;
    margin: 0 0.1rem;
}

.cs_top_menu_item:hover {
    background-color: rgba(10, 10, 10, 0.15);
}

.cs_top_menu_item_active {
    background-color: rgba(10, 10, 10, 0.25);
}

.dropdown .dropbtn {
    margin: 0;
}


.dropdown-content > .cs_top_menu_item {
    text-align: left;
}

.admin-input {
    padding: 0.5em;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
}

.admin-input-number {
    padding: 0.5em;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
    width: 100px;
}

.admin-select {
    padding: 0.5em;
    padding-right: 2rem;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;

    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1em;
}

.button {
    background-color: var(--cs-base-bg-color);
    color: var(--color-light-bg);
    /* border: none; */
    padding: 0.5em 1em;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border-radius: 3px;
    cursor: pointer;
    border: 1px solid var(--cs-base-bg-color);
}

.user-box {
    background-color: var(--color-light-bg);
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 0.5em;
    margin: 0.5em 0;
    text-align: center;
    min-width: 21%;
    margin: 0.5em;
}

.user-box img {
    object-fit: cover;
    object-position: center center;
    max-width: 200px;
    aspect-ratio: 1;
}

.user-box-flexcon {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

@media screen and (max-width: 900px) {
    .cs_top_menu_item {
        display: block;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 0px;
        margin-bottom: 10px;
    }
}