html {
    box-sizing: border-box;
    margin: 0 0;
    padding: 0;
    height: 100%;
    font-family: 'Roboto', sans-serif;
}

body {
    height: 100%;
    margin: 0 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    display: flex;
    justify-content: center;
}

.navbar {
    background-image: linear-gradient(
            -250deg,
            #041E42 0%,
            #002F6C 60%,
            #971B2F 95%,
            #C8102E 100%
    );
    align-items: center;
    justify-content: space-between;
    display: flex;
    top: 0%;
    position: fixed;
    width: 100%;
    z-index: 999;
    border-bottom: 5px solid #971B2F;
    height: 67px;
}

.navbar_container {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 10vw 0 0;
}

.navbar_logo {
    text-decoration: none;
    font-size: 2rem;
    color: white;
    margin-left: 15vw;
    transition: 0.5s ease-in-out;
}

.navbar_logo:hover {
    transition: 0.35s ease-in-out;
    transform: scale(1.1);
}

.navbar_link {
    text-decoration: none;
    color: white;
    font-size: large;
    padding: 1rem;
    border-right: 5px solid #971B2F;
    transition: 0.35s ease-in-out;
    margin-left: 1rem;
    background-color: #041E42;
}

.navbar_link:hover {
    background-color: #971B2F;
}

#upload_bt {
    padding: 0;
    border-radius: 0;
}

#upload_bt img {
    filter: invert(1);
}

#deleteBtn {
    padding: 0;
    border-radius: 0;
}

#deleteBtn img {
    filter: invert(1);
    width: 50px;
}

#zuteilung {
    padding: 0;
    border-radius: 0;
}

#zuteilung img {
    filter: invert(1);
    width: 50px;
}

#show_chairs_btn {
    padding: 0;
    border-radius: 0;
}

#show_chairs_btn img {
    filter: invert(1);
    width: 50px;
}

.navbar_button {
    font-size: 0.9rem;
    border: none;
    background-color: #041E42;
    color: white;
    cursor: pointer;
    width: 100px;
    margin-left: 10px;
    transition: 0.35s ease-in-out;
}

.navbar_button:hover {
    background-color: #971B2F;
}


header {
    margin-top: 10vh;
    justify-content: center;
    align-content: center;
    display: flex;
}


footer {
    position: relative;
    bottom: 0;
    background-color: white;
    padding: 1rem;
    flex: 0 0 50px; /*or just height:50px;*/
    margin-top: auto;
    border-top: 5px solid #971B2F;
    background-image: linear-gradient(
            -225deg,
            #041E42 0%,
            #002F6C 29%,
            #971B2F 67%,
            #C8102E 100%
    );
}

footer img {
    margin-left: 10vw;
    width: 200px;
    padding: 0.5rem 2rem;
    background: white;
    border-radius: 3rem;
}


/* ------------- Table ---------*/
table {
    margin-top: 3vh;
    border-collapse: collapse;
    font-size: 0.9rem;
    border-radius: 0.3vw 0.3vw 0 0;
    overflow: hidden;
}

.step_table thead tr {
    line-height: 1.5;
    background-color: #002F6C;
    color: white;
    text-align: left;
    font-weight: bold;
}

.step_table .secondLevelTableHeading {
    line-height: 1.3 !important;
    background-color: #6281b2 !important;
    color: white !important;
    text-align: left !important;
    font-weight: bold !important;
}

.step_table th {
    padding: 1vh 1.2vw;
}

.step_table td {
    padding: 1vh 1.2vw;
}

.step_table tbody tr {
    border-bottom: 1px solid #dddddd;

}

.step_table tbody tr:nth-of-type(even) {
    background-color: #002f6c11;
    color: black;
}

.step_table tbody tr:last-of-type {
    border-bottom: 3px solid #971B2F;
}

#dataTable td {
    text-align: left;
}

#dataTable tbody tr:hover {
    background-color: #971B2F;
    color: white;
    transition: 0.3s ease-in;
}

#main_table {
    width: 79vw;
    display: none;
    align-self: center;
    flex-direction: column;
    margin-bottom: 5vh;
}

#main_table tbody td {
    min-width: 10vw;
    max-width: 10vw;
    text-align: left;
    padding: 0.5vh 0.5vw;
    cursor: pointer;
    overflow: hidden;
}

#main_table tbody td:nth-of-type(1) {
    min-width: 8vw;
    max-width: 8vw;
}

#main_table tbody td:nth-of-type(5) {
    min-width: 15vw;
    max-width: 15vw;
}

#main_table thead th {
    width: 10vw;
    text-align: left;
    background-color: #002F6C;
    color: white;
    padding: 0.5vh 0.5vw;
    position: relative;
}

#main_table thead th:nth-of-type(5) {
    width: 15vw;
}

#main_table thead th:nth-of-type(1) {
    width: 8vw;
}


#main_table tbody tr:nth-of-type(even) {
    background-color: #002f6c11;
    color: black;
}

#main_table tbody tr:hover {
    background-color: #971B2F;
    color: white;
    transition: 0.2s ease-in;
}

#main_table tbody tr:last-of-type {
    border-bottom: 3px solid #971B2F;
}

/* ------------- Button ---------*/

button {
    margin: 20px;
    background-color: #041E42;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    padding: 10px;
    font-weight: bold;
    z-index: 999;
}


.next_step_button {
    right: 3vw;
    bottom: 20vh;
    position: fixed;
    text-align: center;
    height: 5vh;
    width: 10vw;
    padding: 0;
    border-radius: 5px;
    border: none;
    background-color: #041E42;
    color: white;
    cursor: pointer;
    font-weight: bold;
}

.next_step_button:hover {
    background-image: linear-gradient(
            250deg,
            #C8102E 0%,
            #971B2F 100%
    );
}

.prev_step_button {
    left: 3vw;
    bottom: 20vh;
    position: fixed;
    text-align: center;
    height: 5vh;
    width: 10vw;
    padding: 0;
    border-radius: 5px;
    padding: 0;
    border-radius: 5px;
    border: none;
    background-color: #041E42;
    color: white;
    cursor: pointer;
    font-weight: bold;
}

.prev_step_button:hover {
    background-image: linear-gradient(
            250deg,
            #C8102E 0%,
            #971B2F 100%
    );
}

.navbar_button {
    padding: 0.6rem;
    border-radius: 5px;
}

.page_button {
    margin: 0;
    background-color: white;
    padding: 0;
}

#showBT {
    background-image: linear-gradient(
            -250deg,
            #041E42 0%,
            #002F6C 45%,
            black 100%
    );
    width: 200px;
    height: 40px;
    position: relative;
    align-self: center;
    transition: all 0.35s;
}

#showBT::after {
    position: absolute;
    width: 0%;
    left: 0;
    top: 0;
    border-radius: 5px;
    height: 100%;
    transition: all 0.35s;
    content: " ";
    z-index: 1;
    background: linear-gradient(to right, #C8102E, #971B2F, black);
}

#showBT:hover::after {
    width: 100%;
}

#show_bt_span {
    position: relative;
    z-index: 2;
}


/* ------------- Select ---------*/

/* The container must be positioned relative: */

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    border-radius: 5px;
    background-color: white;
    color: black;
    text-align: left;
    font-weight: bold;
    cursor: pointer;
    padding: 1vh;
    border: 1px solid black;
    background-image: url("https://img.icons8.com/ios-glyphs/30/000000/circled-chevron-down.png");
    background-repeat: no-repeat;
    background-position: right;
}

.big_select {
    max-width: 20vw;
    min-width: 20vw;
}

.medium_select {
    max-width: 10vw;
    min-width: 10vw;
}

.small_select {
    width: 4vw;
}


/* ------------- Input ---------*/
input {
    border: 1px solid black;
    border-radius: 5px;
    background-color: white;
}


input[type=number] {
    width: 3vw;
    color: black;
    padding: 0.5vw;
}


input[type=text] {
    width: 20vw;
    padding: 0.4vw;
}

input[type=password] {
    margin-top: 1vh;
    padding: 0.4vw;
}

.round_checkbox {
    width: 3vh;
    height: 3vh;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-appearance: none;
    border-radius: 3vh;
}

.round_checkbox::before {
    width: 3vh;
    height: 3vh;
    border-radius: 3vh;
    display: flex;
    justify-content: center;
    align-items: center;
    content: "";
}

input[type="checkbox"]:checked::before {
    background-color: #971B2F;
    background-repeat: no-repeat;
    background-position: center;
}

input[type="file"] {
    display: none;
}

input[type="file"] {
    display: inline-block;
    padding: 0.5vh;
    cursor: pointer;
}

/* ------------- Paragraphs ---------*/

#kumuliert {
    font-weight: bolder;
    color: white;
    z-index: 999;
    position: fixed;
    bottom: 3vh;
    right: 50vw;
    font-size: 1.2rem;
}

/* ------------- Profil ---------*/

#user_profil_container {
    width: 350px;
    display: flex;
    flex-direction: column;
    padding: 30px;
    border: 1px solid black;
    border-radius: 5px;
}

#user_profil_container button {
    width: 200px;
    height: 40px;
}

#user_profil_container input[type=password] {
    width: 340px;
}

#profil_values_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 2vh;
    margin-bottom: 1vh;
    height: 200px;
}

#profil_values_container p {
    border-bottom: 1px solid #971B2F;
}


.change_pw_container {
    display: none;
    flex-direction: column;
}

.change_pw_container label {
    margin-top: 2vh;
    margin-bottom: 1vh;
}

#new_user_container {
    width: 350px;
    display: none;
    align-items: left;
    flex-direction: column;
    border: 1px solid black;
    border-radius: 5px;
    padding: 30px;
}

#new_user_container label {
    display: flex;
    margin-top: 2vh;
    margin-bottom: 1vh;
}

#new_user_container input, #new_user_container select {
    width: 340px;
    margin: 0;
}


/* ------------- Mainpage ---------*/

#upload_container {
    display: none;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    position: relative;
    padding: 1rem;
    border: 1px solid #971B2F;
    border-radius: 5px;
    margin-top: 1vh;
}

.input_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
}

#main_page_container {
    position: relative;
}

.main_table_container {
    display: flex;
    position: relative;
    justify-content: center;
}

#first_main_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.applicant_allocation_container {
    display: none;
}

#page_size_section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 30vw;
    bottom: 3vh;
    position: fixed;
    transform: scale(0.8);
    right: 0;
    z-index: 9;
    background-color: white;
    border: 1px solid black;
    border-radius: 3rem;
    padding: 0 2vw;
}

#page_size_section button {
    transform: scale(0.6);
}

#size_display {
    margin: 0;
    width: 10vw;
}


/* ------------- Mainpage loading ---------*/

.loading_container {
    position: absolute;
    width: 0;
    border-radius: 10px;
    background: linear-gradient(to right, black, #971B2F, #C8102E);
    color: white;
    text-align: right;
    margin: 0;
}

#loading_box {
    position: relative;
    width: 300px;
    border-radius: 15px;
    background-color: white;
    height: 18px;
    margin: 0;
}

#loading_wrapper {
    display: none;
    justify-content: center;
    position: relative;
    width: 350px;
    height: 20px;
    border-radius: 30px;
    padding: 8px 0;
    margin: 16px;
    background-image: linear-gradient(
            -250deg,
            black 0%,
            #041E42 45%,
            #002F6C 100%
    );
    height: 14;
}

/* ------------- login page ---------*/

#login_container {
    margin-top: 2vh;
    width: 350px;
    padding: 30px;
    border: 1px solid black;
    border-radius: 5px;
    margin-bottom: 1vh;
    height: 200px;
}

#loginForm {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#loginForm label {
    margin-top: 1vh;
    margin-bottom: 1vh;
}

#loginForm input {
    width: 340px;
}

#loginForm button {
    width: 150px;
}

.button_container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 2vh;
}

.applicant_allocation_container {
    margin-top: 20px;
    justify-content: left;
    flex-direction: column;
    align-items: flex-start;
}

.applicant_allocation_container label {
    margin-top: 15px;
    margin-bottom: 5px;
}

.new_chair_container {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    height: 70px;
    flex-direction: column;
}

/* ------------- Sidebar ---------*/

.steps_main {
    display: flex;
    flex-direction: row;
    margin-top: 10vh;
    height: 75vh;
}

.stickyHeading {
    position: sticky;
    top: 0;
    background-color: white;
    padding-bottom: 1.5vh;
}

.stickyHeading h1 {
    margin-bottom: 0;
}

.box {
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
    overflow-x: hidden;
    margin-left: 1vw;
    max-width: 54vw;
    min-width: 54vw;
    margin-right: 1vw;
}

.box:hover {
    overflow-y: scroll;
    overflow-x: hidden;
}

.box table {
    max-width: 52vw;
    min-width: 52vw;
    overflow: auto;
}

.step {
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
    margin-bottom: 5vh;
}

#stepOne {
    margin-top: -6vh;
}


.applicant_data {
    display: none;
    flex-direction: column;
    overflow-y: scroll;
    overflow-x: hidden;
    margin-left: 3vw;
    transition: .4s;
    max-width: 42vw;
    min-width: 42vw;
}

.applicant_data:hover {
    overflow-y: scroll;
    overflow-x: hidden;
}

.applicant_data table {
    max-width: 41vw;
    min-width: 41vw;
    overflow: auto;
}


/* ------------- Sidebar ---------*/

.sidebar {
    display: none;
    position: fixed;
    flex-direction: column;
    align-items: center;
    width: 10vw;
    height: 70vh;
    border-radius: 5px;
    background-color: #002f6c11;
    padding-top: 2rem;
    left: 0;
    overflow: hidden;
}

.sidebar a {
    padding: 8px 8px 8px 16px;
    text-decoration: none;
    color: black;
    display: block;
}

.sidebar a:hover {
    color: #971B2F;
}

a.active {
    color: #971B2F;
    font-weight: bolder;
}

/* ------------- Bewerberdaten Checkbox ---------*/

.toggle_container {
    margin-top: 5vh;
    margin-bottom: 5vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 10vh;
    align-items: center;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #971B2F;
}

input:focus + .slider {
    box-shadow: 0 0 1px #971B2F;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/*--------------ScrollBar---------*/
* {
    scrollbar-width: thin;
    scrollbar-color: #002F6C #971B2F;
}


/* ------------- Media ---------*/

@media screen and (max-width: 1400px) {

    #page_size_section select {
        width: 70px;
    }

    #size_display {
        display: none;
    }

    footer img {
        width: 0;
    }

}


.main_page_next_bt {
    position: fixed;
    bottom: 2vh;
    right: 15vw;
    width: 100px;
    transition: .4s;
}

.main_page_next_bt:hover {
    transform: scale(1.1);
}

.main_page_final_bt {
    position: fixed;
    bottom: 2vh;
    right: 5vw;
    z-index: -1;
    width: 100px;
    transition: .4s;
}

.main_page_final_bt:hover {
    transform: scale(1.1);
}

.main_page_back_bt {
    position: fixed;
    bottom: 2vh;
    right: 25vw;
    width: 100px;
    transition: .4s;
}

.main_page_back_bt:hover {
    transform: scale(1.1);
}

.main_page_final_bt.active {
    z-index: 1;
}

.fau_points_container {
    display: none;
}

.chairs_container {
    display: none;
    justify-content: space-around;
    align-items: flex-start;
    border-radius: 5px;
    padding: 1rem;
    border: 1px solid #971B2F;
}

.chair_action_container {
    display: flex;
    flex-direction: column;
    margin-top: 3vh;
    margin-left: 1vw;
}

.user_info_container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.user_info_container #username {
    font-style: italic;
}
