body {
    padding-top: 50px;
    padding-bottom: 20px;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0 auto;
}

p,
li,
td,
label,
a {
    font-family: Arial, Helvetica, sans-serif;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 400px;
}

.paginationButton {
    font-size: 15px;
    font-weight: bold;
}

.row:first-of-type{
    display: block;
}

table.dataTable tbody th,
table.dataTable tbody td {
    padding-top: 0;
    padding-bottom: 0;
    font-weight: bold;
}

#retry,
#printbutton {
    display: none;
}

.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;
}

input {
    max-width: 340px;
    width: 100%;
    display: inline-block;
    margin-top: 0px;
    height: auto;
}

.pic-container {
    text-align: center;
    margin: auto;
}

body {
    padding-top: 50px;
}

#htmldiv {
    margin-bottom: 50px;
    display: none;
}

.container {
    max-width: unset !important;
    padding: 0;
    margin: 0;
}

.body-content {
    width: 100%;
    margin: auto;
}

.home.body-content {
    max-width: 605px;
}

.home.body-content .form + div {
    margin-top: 1em;
}

.home.body-content .form + div p {
    text-align: center;
}

h1 span {
    font-size: 1.3em;
}

.certificate.body-content {
    width: 100%;
    height: 100%;
    border: gray solid 6px;
    padding-bottom: 1em;
    padding-top: 1em;
    position: relative;
    margin-top: .125in;
}

.certificate.body-content div:nth-child(3) {
    margin: auto;
    width: 100%;
    margin-top: 16px;
}

main#main {
    padding: 0 !important;
    width: 100%;
    margin: auto;
}

input {
    max-width: 340px;
    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;
}

.input-container {
    width: 100%;
    text-align: center;
    margin: auto;
}

.home .form {
    margin-top: 4em;
}

hr {
    border-top: 1px solid lightgrey;
    width: 50%;
    margin: 5px 0 !important;
}

.pic-container {
    text-align: center;
    margin: auto;
}

.certificate .pic-container {
    max-width: 45rem;
    margin-bottom: 1rem;
}

hr + p {
    margin-bottom: 0;
}

.certificate .header {
    margin-top: 1em;
}

.certificate .header span,
.certificate .header p,
ul[id*="list"] li,
#templist li,
#dummyList li {
    font-size: 1.25em;
}

ul[id*="list"] li,
#templist li,
#dummyList li {
    margin-bottom: .5em;
}

#templist {
    width: 1044px;
}

.certificate .header p {
    margin-top: 1em;
}

.certificate .header span#name {
    font-size: 2.75em;
}

hr {
    width: 100%;
    border-top: 2px solid black;
}

ul[id*="list"],
#info {
    text-align: center;
}

#info {
    margin-bottom: 0;
}

ul[id*="list"],
#templist {
    padding: 0 50px 0 50px;
    list-style: none;
    margin-bottom: 0;
}

.download-certificate-container {
    text-align: center;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
}

#printbutton button,
#logoutdiv button {
    font-size: 20px;
    padding: 7px 30px;
    margin-bottom: 20px;
    font-weight: bolder;
}

img {
    margin-left: auto;
    margin-right: auto;
}

.home img {
    width: 300px;
}

.certificate img {
    width: 500px;
}

.btn.btn-primary {
    color: white;
    background-color: #542989;
    border-color: #542989;
}

#ERRORLABEL {
    color: red;
    display: none;
    text-align: center;
}

div#printbutton {
    width: 100%;
    text-align: center;
    margin: 1em auto 1em auto;
}

#logoutdiv button {
    font-size: 20px;
    padding: 7px 30px;
    margin-bottom: 20px;
    font-weight: bolder;
}

label {
    margin-bottom: 0 !important;
    font-weight: normal !important;
}

@media print {
    .no-print, .no-print * {
        display: none !important;
        vertical-align: top !important
    }
}
