body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: lightgrey;
}

.img_100 {
    width: 98%;
    border: solid;
    float:left;
}

.img_50 {
    margin-right: 5px;
    width: 50%;
    border: solid;
    float: left;
}

.img_25 {
    margin-right: 5px;
    width: 25%;
    border: solid;
    float: left;
}
.toc {

    float: auto;
    position: relative;
    text-align: left;
    overflow: hidden;
    margin: 10px;
    width: auto;
    height: auto;
    background-color: white;
    box-shadow: 1px 1px 1px 1px darkgrey;
    padding: 20px;
    font-size: 10px;
}

.toc a {
    font-size: inherit;
    text-decoration: none;
    font-weight: bold;
}

.header {
    background-color: #333;
    box-shadow: 1px 1px 1px 1px darkgray;
    height: 70px;
    overflow-y: hidden;
    position: fixed;
    width: 100%;
    z-index: 999;
    top: 0;
    left: 0;

}

.header img {
    float: left;
    height: inherit;
}

/* Style the links inside the navigation bar */
.header a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    text-decoration: none;
    font-size: 20px;
    padding-left: 10px;
    padding-right: 10px;
    border: white solid;
    height: inherit;
    font-weight: bold;
    width: 150px;
}

.header a:hover {
    background-color: grey;
}

.hamburger_menu_img {
    border: black solid;
}

.hamburger_menu_img:hover {
    border: white solid;
}

.top_nav_menu {
    position: fixed;
    z-index: 999;
    width: 250px;
    background-color: #333;
    top: 71px;

}

.top_nav_menu a {
    padding: 10px;
    text-decoration: none;
    font-size: larger;
    font-weight: bold;
    color: white;
}

.top_nav_menu a:hover {
    color: darkorange;
}

.main_content {
    position: relative;
    float: top;
    margin-top: 5%;
    position: relative;
}


.content_sub {
    float: auto;
    position: relative;
    text-align: left;
    overflow-x: scroll;
    scroll-behavior: auto;
    margin: 10px;
    width: auto;
    height: auto;
    background-color: white;
    box-shadow: 1px 1px 1px 1px darkgrey;
    padding: 20px;
    line-height: 1.5;
}

.content_sub_no_scroll {
    float: auto;
    position: relative;
    text-align: left;   
    
    
    margin: 10px;
    width: auto;
    height: auto;
    background-color: white;
    box-shadow: 1px 1px 1px 1px darkgrey;
    padding: 20px;
    line-height: 1.5;
}

.content_sub_2 {
    float: auto;
    position: relative;
    text-align: left;
    overflow-x: scroll;
    scroll-behavior: auto;
    left: 20px;
    height: auto;
    width: 96%;
    background-color: white;
    border: solid 2px #333;
    line-height: 1.5;
    padding: 2px;
}

.content_sub h2 {
    text-align: center;
    padding-top: 5px;

}

.content_sub a {
    font-size: inherit;
    text-decoration: none;
    font-weight: bold;
}

.content_sub a:hover {
    text-decoration: underline;
}

.content_sub ul {
    text-decoration: none;
}

.new_user_form {
    border: #333 solid 1px;
    box-shadow: 1px 1px 1px 1px darkgrey;
    padding: 2px;
}

.new_user_form label {
    width: 30px;
    margin-left: 3px;
}

.field_left_ro {
    width: 50%;
    margin-left: 2px;
    background-color: lightgrey;
}

.content_sub_click {
    float: auto;
    position: relative;
    text-align: left;
    overflow: hidden;
    margin: 10px;
    width: auto;
    height: auto;
    background-color: white;
    box-shadow: 1px 1px 1px 1px darkgrey;
    padding: 20px;
    line-height: 1.5;
}

.content_sub_click:hover {
    cursor: pointer;
    background-color: darkgray;
    box-shadow: 0px 0px 0px 0px darkgrey;
}

.content_sub_click h2 {
    text-align: center;
    vertical-align: center;
    padding-top: 5px;

}

.summary_table {
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    font-size: small;
}

.summary_table th {
    border: 1px solid #ddd;
    padding: 5px;
    text-align: center;
}

.summary_table td {
    border: 1px solid #ddd;
    padding: 5px;
}

.summary_table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.summary_table tr:hover {
    background-color: #ddd;
}

.summary_table th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #333;
    color: white;
    overflow-x: scroll;
    font-size: small;
}

.transpose_header {
    background-color: #333;
    color: white;
    padding: 5px;
    text-align: left;
}

.dropbtn {
    background-color: darkorange;
    color: #333;
    padding: 16px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    box-shadow: 0px 0px 1px 1px darkgrey;
}

.static_btn {
    background-color: darkorange;
    color: #333;
    padding: 16px;
    font-size: 16px;
    margin-left: 0px;
    margin-right: 20px;
    font-weight: bold;
    border: none;
    box-shadow: 0px 0px 1px 1px darkgrey;
    float: left;
}

.static_btn:hover {
    background-color: darkorange;
    color: #333;
    text-decoration: underline;
    padding: 16px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    box-shadow: 0px 0px 1px 1px darkgrey;
}

.static_btn_confirm {
    background-color: #333;
    color: red;
    padding: 16px;
    font-size: 16px;
    margin-left: 20px;
    font-weight: bold;
    border: none;
    box-shadow: 0px 0px 1px 1px darkgrey;
    float: left;
}

.static_btn_confirm:hover {
    background-color: #333;
    color: red;
    text-decoration: underline;
    padding: 16px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    box-shadow: 0px 0px 1px 1px darkgrey;
}


.dropdown {
    position: left;
    overflow-y: visible;
    width: 98%;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border: solid #333;
    overflow: visible;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #333;
    color: white;
}

.content_sub_menu {
    float: auto;
    position: relative;
    text-align: left;
    overflow: visible;
    margin: 10px;
    height: 50px;
    background-color: white;
    box-shadow: 1px 1px 1px 1px darkgrey;
    padding: 20px;
    line-height: 1.5;
}

.content_sub_menu h2 {
    text-align: center;
    padding-top: 5px;
}

.content_sub_menu a {
    font-size: inherit;
    text-decoration: none;
    font-weight: bold;
}

.content_sub_menu a:hover {
    text-decoration: underline;
}

.content_sub_menu ul {
    text-decoration: none;
}

._timer {
    background-color: #333;
    color: red;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}

.status_msg {
    background-color: lightgray;
    border: solid black;
    width: 94%;
}

.input_text {
    background-color: lightgray;
    border-bottom: solid black;
    width: 95%;
}

.input_date {
    background-color: lightgray;
    border-bottom: solid black;
    width: auto
}

.form_standard {
    border: 1px solid #333;
    padding: 20px;
}

.form_label {
    display: inline-block;
    width: 200px;
}

.form_submit_btn {
    background-color: darkorange;
    width: 100px;
    height: 30px;
}

.form_select {
    width: 250px;
}

.top_logo {
    border: solid black;
    background-color: none;
}

.top_logo:hover {
    background-color: #333;
}

.admin_tools {
    float: right;
}

.admin_tools_add {
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content_body_locked {
    border: none;
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
    height: fit-content;
}

.h2_input {
    font-size: 20pt;
    padding: 5px;
    margin: 0 auto;
}

.content_save_popup {
    font-size: 12pt;
    padding: 5px;
    width: 250px;
    height: 100px;
    top: 10px;
    left: 50%;

    transform: translate(-50%, -10%);
    position: absolute;
}

.textarea_desc {
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
    resize: vertical;
    margin-top: 10px;
}

.textarea_input {
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
    height: 200px;
    resize: vertical;
    margin-top: 10px;
}

.textarea_input_2 {
    font-family: Arial, Helvetica, sans-serif;
    width: 300px;
    height: 50px;
    resize: vertical;
    margin-top: 0px;
}


.code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 12px;
    font-weight: bold;
    border: #333;
    border-style: solid;
    padding: 2px;
    background-color: lightgray;
    margin: 5px;
    overflow-wrap: break-word;
}


span.inline_code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 12px;
    font-weight: bold;
    border: #333;
    border-style: solid;
    padding-top: 2px;
    padding-bottom: 1px;
    padding-left: 1px;
    padding-right: 1px;
    background-color: lightgray;
}

.new_user_form {
    width: 100%;
    border: 1px solid #333;
    padding: 3px;
    float: left;
}

.new_user_element {
    width: 98%;
    float: left;
    border: 1px solid #333;
    padding: 3px;
    margin: 3px;
}

.new_user_button {
    background-color: darkorange;
    margin-left: 3px;
    margin-top: 10px;
    width: 200px;
    height: auto;
    font-weight: bold;
}

.new_user_input {
    width: 98%;
    padding-left: 2px;
}

@media screen and (min-width: 1000px){

    /* .main_content {
        margin-left: 25%;
        margin-right: 25%;
    } */

    .new_user_form {
        width: 98%;
        border: 1px solid #333;
        padding: 3px;
    }

    .new_user_element {
        width: 98%;
        border: 1px solid #333;
        padding: 3px;
        float: left;
    }

}

@media screen and (min-width: 1500px){

    .main_content {
        margin-left: 25%;
        margin-right: 25%;
    }
}



.question_btn {
    width: 150px;
    height: 30px;
}

.show_answer_btn {
    width: 150px;
    height: 30px;
    float: right;
}

.answer_box {
    border: #333 solid 1px;
    overflow-x: scroll;
    visibility: hidden;
    padding: 2px;
}

.good_answer {
    border: green solid 1px;
    font: bold;
}


/* The sticky class is added to the header with JS when it reaches its scroll position */
.sticky {
    position: fixed;
    top: 25;
    width: 100%
}

.btn_sub {
    background-color: #333;
    color: darkorange;
    padding: 20px;
    margin-top: 20px;
    margin-right: 20px;

    width: 250px;
}

.btn_sub:hover {
    border: darkorange solid 2px;
    background-color: lightgray;
    color: darkorange;

}

.btn_sub_100 {
    background-color: #333;
    color: darkorange;
    padding: 20px;
    margin-top: 20px;
    width: 100%;
}

.btn_sub_100:hover{
    border: darkorange solid 2px;
    background-color: lightgray;
    color: darkorange;

}

.btn_sub_ban {
    background-color: darkred;
    color: white;
    padding: 20px;
    margin-top: 20px;
    margin-right: 20px;

    width: 250px;
}

.btn_sub_linear {
    background-color: #333;
    color: darkorange;
    margin-right: 20px;

    width: 100px;
}

a:link, a:visited {
  color: darkorange; /* Set your desired color here */
  text-decoration: none; /* Optional: Removes the underline */
}

/* styles.css */
.popup-overlay {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
  z-index: 999; /* Ensure it's on top */
}

.popup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Center the popup */
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 20px;
}