#htmldiv {
    padding-top: 25px;
    padding-bottom: 50px;
}

.body-content {
    width: 100%;
    margin: auto;
}

.container {
    max-width: unset;
    padding: 0;
    margin: 0;
}

.home.body-content {
    max-width: 605px;
    padding-top: 50px;
}

.certificate.body-content {
    width: 100%;
    padding-top: 1em;
    position: relative;
}

table#myTable{
    margin-top: 3em;
}

table.dataTable tbody th, table.dataTable tbody td {
    text-align: left;
}

table#myTable thead {
    font-size: 10pt;
}

table#myTable th:first-child {
    width: 49%;
}

table#myTable th:nth-child(2) {
    width: 19.15%;
}

table#myTable th:nth-child(3) {
    width: 19.15%;
}

table#myTable th:last-child {
    width: 11.5%;
}

input {
    max-width: 250px;
    width: 100%;
    display: inline-block;
    margin-top: 0px;
    height: auto;
}

.form {
    padding: 2rem;
    border-radius: 5px;
    box-shadow: rgb(50 50 93 / 25%) 0px 2px 5px -1px, rgb(0 0 0 / 30%) 0px 1px 3px -1px;
    margin: auto;
    text-align: center;
    width: 100%;
    height: auto;
}

.cert-table {
    margin: auto;
    text-align: center;
    width: 100%;
    height: auto;
}

.input-container {
    width: 100%;
    text-align: center;
    margin: auto;
}

.home .form{
    margin-top: 4em;
}

.cert-table {
    margin-top: 2.75rem;
}

main#main {
    padding: 0 !important;
    width: 8.5in;
    margin: auto;
}

hr {
    border-top: 1px solid lightgrey;
    width: 50%;
    margin: 5px !important;
}

.pic-container {
    text-align: center;
    margin: auto;
}

.certificate .pic-container {
    max-width: 45rem;
}

.certificate .header{
    margin-top: 1em;
}

.certificate .header span {
    font-size: 1.5em;
}

.cert-table div {
    width: 100%;
    text-align: left;
}

.cert-table div span {
    display: inline-block;
    width: 10%;
}

.cert-table div p {
    font-size: 30px;
    font-weight: bold;
    padding-bottom: 2px;
    border-bottom: 2px solid black;
    display: inline-block;
    width: 88%;
    text-align: center;
    margin-left: 2%;
}

.download-certificate-container {
    text-align: center;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
}

img {
    margin-left: auto;
    margin-right: auto;
}

.home img{
    width: 300px;
}

.certificate img{
    width: 300px;
}

.btn.btn-primary {
    color: black;
    background-color: lightgray;
    border: 1px solid black;
}

.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn.btn-primary:active,
.btn.btn-primary:focus-within,
.btn.btn-primary:target,
.btn.btn-primary:visited {
    background-color: dimgray !important;
    border: 1px solid black !important;
    color: white !important;
    box-shadow: none !important;
}

#ERRORLABEL {
    color: red;
    display: none;
    text-align: center;
}

div#printbutton {
    width: 100%;
    text-align: center;
    margin: 1em auto 0 auto;
}

#printbutton button {
    font-size: 1.25em;
    padding: 0.25em 0.75em;
}

@media print {
    @page {
        size: portrait;
        margin: 0;
    }

    .no-print {
        display: none;
    }

    table#myTable th:first-child {
        width: 50%;
    }

    table#myTable th:nth-child(2) {
        width: 15.95%;
    }

    table#myTable th:nth-child(3) {
        width: 15.95%;
    }

    table#myTable th:last-child {
        width: 8.25%;
    }

    body {
        padding: 0;
    }

    .certificate.body-content{
        margin-top: 0;
    }

    #certificate {
        margin: 0 0 0 0;
        padding: 0;
    }

    main#main {
        height: 100%;
        width: 90%;
        margin: 0 auto 0 auto;
        padding: 0;
        top: 0;
    }

    div[class*='certificate'] {
        top: .125in;
    }

    div[id*="certificate"]{
        top: .125in;
    }
}