.button,
button {
    -webkit-appearance: push-button;
    user-select: none;
    white-space: pre;
    align-items: flex-start;
    text-align: center;
    cursor: default;
    color: buttontext;
    background-color: buttonface;
    box-sizing: border-box;
    padding: 1px 6px;
    border-width: 2px;
    border-style: outset;
    border-color: buttonface;
    border-image: initial;
    text-decoration: none;
    display: inline-block;

}

#result {
    position: absolute;
    background-color: white;
    padding: 3em;
    top: 50%;
    bottom: 20%;
    left: 10%;
    right: 10%;
    border-color: cadetblue;
    border-style: solid;
    border-width: thick;
    display: none;
}

#wrapper {
    width: 60%;
    margin: auto;
    background-color: #f1ede8;
    padding: 2em;
    overflow: auto;
}

#wrapper h2 span {
    font-size: .5em;
    line-stacking-shift: 1em;
}

#wrapper .accordion h2 {
    border-radius: .75em 0 0 0;
    border-top: 3px;
    border-right: 3px;
    border-left: 3px;
    border-style: solid;
    border-color: black;
    margin-bottom: 0;
    margin-top: .5em;
    padding-left: 1em;
}

#wrapper .accordion div h3 {
    border-radius: .5em .2em 0 0;
    border: 2px solid grey;
    margin: 1em 0 0 5%;
}

#wrapper .accordion h4 {
    border-radius: .5em .2em 0 0;
    border: 2px solid grey;
    margin: 1em 0 0 5%;
}

#wrapper .accordion div div {
    border-width: 0px 3px 3px 3px;
    margin: 0 0 0 5%;
    border-style: solid;
    border-color: grey;
    padding: 4% 2% 2% 4%;
}

/* Main Page Styling for Accordion */
#wrapper .mainaccordion h4 {
    border-radius: .5em .2em 0 0;
    border: 2px solid grey;
    margin: 1em 0 0 2%;
}
#wrapper .mainaccordion form {
    border-width: 0px 3px 3px 3px;
    margin: 0 0 0 2%;
    border-style: solid;
    border-color: grey;
    padding: 1%;
}
/* End of main page styling for accordion */

body {
    background-color: #aaa;
}

section {
    margin-right: 0;
    margin-left: 0;
    border-top: #000 1px solid;
    border-bottom: #000 1px solid;
    clear: left;
}

#accordion {
    height: 30em;
}

div.accordion p {
    margin-top: 0;
}

section header,
h3 {
    display: block;
    font-size: 1.17em;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}

h4 {
    display: block;
    margin-block-start: 1.33em;
    margin-block-end: 1.33em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}

#wrapper img {
    margin: auto;
    display: block;
    float: left;
    padding-right: 1em;
    overflow: auto;
}

#OnClockJobTable {
    min-height: 5em;
    display: block;
}


#description,
#UpdatedDesc,
form#Non_Clock_Time_Entry textarea.desc {
    width: 70%;
    height: 7em;
}

#ClockInForm {
    margin: auto;
    overflow: auto;
}

button#PunchIn,
button#PunchOut {
    height: 7em;
    width: 28%;
    display: block;
    float: right;
}

table {
    border-collapse: collapse;
    width: 100%;
}

th {
    height: 50px;
}

table,
th,
td {
    border: 1px solid black;
}

textarea {
    width: 50%;
    height: 4em;
}


table.tablesorter {
    font-size: 12px;
    border: 1px solid #000;
}

table.tablesorter th {
    text-align: left;
}

table.tablesorter .header {
    background-repeat: no-repeat;
    border-left: 1px solid #FFF;
    border-right: 1px solid #000;
    border-top: 1px solid #FFF;
    height: auto;
}

table.tablesorter .headerSortUp {
    background-image: url(tsimg/asc.png);
    background-repeat: no-repeat;
}

table.tablesorter .headerSortDown {
    background-image: url(tsimg/desc.png);
    background-repeat: no-repeat;
}

@media (max-width: 500px) {
    #wrapper img {
        height: 10em;
        margin: auto;
        width: auto;
    }

    #wrapper p {
        clear: right;
    }

    button {
        width: 100%;
        min-height: 5em;
    }

    #wrapper .form-signin input {
        height: 3em;
    }

    #wrapper {
        padding: 0;
        width: 100%;
    }

    #wrapper .form-signin button {
        width: 100%;
        height: 3em;
    }

    section label {
        font-size: 1.25em;
    }

    section input {
        font-size: 1.25em;
    }

    section form button {
        font-size: 1.25em;
    }

    #wrapper input,
    #wrapper a.button {
        width: 100%;
        min-height: 3em;
    }

    .button {
        font-size: 1.25em;
    }
}
