/*INIT*/
html {
    font-family: sans-serif;
    color: rgb(225, 224, 255);
    background-color: rgb(63, 57, 86);
}
body {
    margin: 0;
    padding: 0;
}

/*Default HTML Tags*/
h1 {
    display: flex;
    justify-content: center;
}
h2 {
    display: flex;
    justify-content: center;
}
p {
    display: flex;
    justify-content: center;    
}
label {
    display: inline-block;
}
input {
    border: 0;
}


/*Formular*/
#form_wrapper {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgb(106, 114, 202);
}
#form label {
    margin: 5px;
}
#form input {
    margin: 5px;
}
#form_button_submit {
    width: 100%;
    padding: 10px 0;
    border-bottom: 5px solid rgb(95, 165, 235);
    border-radius: 5px;
}
#form_button_submit:hover {
    background-color: #28d1b5;
    cursor: pointer;
    border-bottom: 5px solid green;
}



/*Output Tabelle*/
#output_table_wrapper {
    margin: 0 auto;
    padding: 20px;
    width: 50%;
    background-color: rgb(136, 140, 156);
    border-radius: 50px;

}
#output_table {
    margin: 0px auto;
    padding: 20px;
    table-layout: fixed;
    background-color: rgb(158, 163, 186);
    border-radius: 30px;
    border-collapse: separate;
}
.tableSpacer {
    height: 10px;
}
.output_table_head_cell {
    text-align: center;
    vertical-align: center;
    padding: 0 10px;
    height: 30px;
    color: black;
    border-bottom: 2px solid black;
}
.output_table_cell_currentWeekday {
    max-width: 30px;
}
.output_table_cell_currentDate {
    max-width: 50px;
}
.output_table_cell {
    text-align: center;
    padding: 0px 10;
    width: 100px;
}
.output_table_cell_input {
    width: 90%;
    margin: 0;
    text-align: center;
    background-color: #ffffff99;
    border: 1px solid black;
    border-radius: 2px;
}
.output_table_cell_worktime {
    text-align: center;
}

#output_table_row_sum {
    background-color: rgb(106, 114, 202);
    font-weight: bold;
}
#output_table_row_sum td:first-child {
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}
#output_table_row_sum td:last-child {
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}
#output_row_sum_desc {
    padding-left: 30px;
    text-align: center;
}
.output_row_sum_cell {
    padding: 10px;
    text-align: center;
}
#calculate_button {
    margin: 20px auto 0 auto;
    display: block;
    width: 70%;
    padding: 10px 0;
    font-size: 100%;
    font-weight: bold;
    border: 2px solid black;
    border-radius: 10px;
}
#calculate_button:hover {
    background-color: #28d1b5;
    cursor: pointer;
}

.saturday {
    background-color: #96CDCD;
}
.sunday {
    background-color: #668B8B;
}

.active_row {
    background-color: yellow;
}

/*Media Queries*/
@media print {
    @page {
        size: A4 landscape;
        
    }
    html {
        font-size: 80%;
    }
    #form_wrapper {
        display: none;
    }
    #output_table_wrapper {
        padding: 0;
        border: 0;
    }
    #output_table {
        border: 0;
    }
    .tableSpacer {
        display: none;
    }
    table, th, td {
        border: 1px solid black;
        border-collapse: collapse;
      }
    .output_table_cell_currentDate {
        padding: 0 5px;
    }
    .output_table_cell_input {
        height: 12px;
        border: none;
    }
    #output_table_row_sum td:first-child {
        border-radius: 0;
    }
    #output_table_row_sum td:last-child {
        border-radius: 0;
    }
    .output_row_sum_cell {
        padding: 0;
    }
    #calculate_button {
        display: none;
    }
}