@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

html {
    margin: 0;
    padding: 0;
}

body {
    padding-top: 50px;
    padding-bottom: 50px;
    margin: 0 auto;
    width: 100%;
    max-width: 11in;
}

p,
li,
td,
label,
a {
    font-family: Lato, 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;
}

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: 1em;
}

.body-content {
    width: 100%;
    margin: auto;
}

.home.body-content .form {
    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;
}

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: 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: 360px;
}

#pdf .pic-container img {
    position: relative;
    z-index: -1;
}

.home .pic-container img {
    max-width: 500px;
    margin-bottom: -3.9em;
}

.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: none;
    height: 100%;
    width: fit-content;
}

.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;
}

table td:nth-child(5),
table th:nth-child(5){
    text-align: right;
    padding-right: 18px;
}

#pdf {
    border: #1676A9 3px solid;
    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;
}

#pdf .row {
    flex-wrap: unset;
    align-items: center;
    justify-content: space-between;
    margin-right: 0;
    margin-left: 0;
}