html {
    margin: 0;
    padding: 0;
}

body {
    padding-top: 50px;
    padding-bottom: 20px;
    margin: 0 auto;
    width: 100%;
    max-width: 8.5in;
}

p,
li,
td,
label,
a {
    font-family: Arial, Helvetica, sans-serif;
}

input,
select,
textarea {
    max-width: 400px;
}

#retry {
    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;
    display: none;
}

/*input {
    max-width: 340px;
    width: 100%;
    display: inline-block;
    margin-top: 0px;
    height: auto;
}*/

.pic-container {
    text-align: center;
    margin: auto;
}

.container {
    max-width: unset !important;
    padding: 0;
    margin: 0;
}

#pdf .container-fluid {
    padding: 2em;
}

.body-content {
    width: 100%;
    margin: auto;
}

.home.body-content .form {
    /*max-width: 605px;*/
    max-width: 506px;
}

    .home.body-content .form + div {
        margin-top: 1em;
    }

        .home.body-content .form + div p {
            text-align: center;
        }

h1 span {
    font-size: 1.3em;
}

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: 2em;
}

hr {
    border-top: 1px solid lightgrey;
    width: 50%;
    margin: auto;
}

.pic-container {
    text-align: center;
    margin: auto;
}

img {
    margin-left: auto;
    margin-right: auto;
}

.home img {
    width: 100%;
    max-width: 1100px;
}

.pic-container img {
    width: 100%;
    margin: auto;
    /*max-width: 200px;*/
}

.btn.btn-primary {
    color: white;
    background-color: #55003F;
    border-color: #55003F;
}

#ERRORLABEL {
    color: red;
    display: none;
    text-align: center;
}

label {
    margin-bottom: 0 !important;
    font-weight: normal !important;
}

.btn-blue {
    color: white;
    background-color: rgb(1,119,185);
    font-size: 12px;
    font-weight: bolder;
    border-color: rgb(1,119,185);
    height: 100%;
    width: fit-content;
}

.no-print span:last-child .btn-blue:last-of-type {
    background-color: rgba(234,45,49);
    border-color: #ADD461;
}

.btn-blue:hover {
    color: black;
    background-color: lightblue;
    border-color: blue
}

.btn-blue:after, btn-blue:default, btn-blue:after, btn-blue:active {
    color: greenyellow;
}

.home p:last-child {
    text-align: center;
}

.row > * {
    padding-left: 0;
    padding-right: 0;
}

div.row.no-print {
    display: block;
    margin-left: 0;
    margin-right: 0;
}

    div.row.no-print * {
        display: inline-block;
        width: fit-content;
    }

    div.row.no-print span:first-child {
        margin-right: 1em;
    }

    div.row.no-print span:nth-child(2) {
        font-size: 14px;
    }

    div .row.no-print span:last-child {
        float: right;
    }

.k-grid-header {
    padding-right: 0 !important;
    border: 1px solid #000000;
}

#grid {
    font-size: 12px;
}

table {
    width: 100%;
}

#above-name {
    font-size: 20px;
}

#FName {
    font-size: 18px;
    margin-top: 5px;
}

#footer {
    margin-top: 1em;
}

    #footer > div:first-child {
        margin-bottom: 1em;
    }

    #footer img {
        width: 100%;
    }

    #footer center .pic-container {
        display: inline-block;
    }

    #footer center div:first-child {
        width: 100px;
        float: left;
        margin-left: 0;
    }

    #footer center div:last-child {
        width: 85%;
        float: right;
        text-align: left;
    }

    #footer center {
        display: flex;
        align-items: center;
    }

    #footer label {
        font-size: 10px;
    }

.pdf {
    width: 100%;
    height: 100%;
    text-align: center;
    position: relative;
}

    .pdf div {
        margin-bottom: 1em;
    }

    .pdf hr {
        margin: 1em auto;
    }

.certificate.body-content div:nth-child(3) {
    margin: auto;
    width: 100%;
    margin-top: 16px;
}

table * {
    border: 1px solid black;
}

#pdf {
    border: #007FE1 3px solid;
    border-radius: 10px;
    position: relative;
    width: 100%;
    height: 100%;
}

    #pdf:before {
        border: #007FE1 10px solid;
        content: " ";
        position: absolute;
        top: 5px;
        left: 5px;
        right: 5px;
        bottom: 5px;
        border-radius: 5px;
    }

    #pdf:after {
        border: #ADD461 12px solid;
        content: " ";
        position: absolute;
        top: 0px;
        left: 0px;
        right: 0px;
        bottom: 0px;
        width: 100%;
        height: 100%;
        display: block;
        border-radius: 7px;
    }

    #pdf .container-fluid :first-child {
        justify-content: center;
    }
