html {
    margin: 0;
    padding: 0;
}

body {
    padding-top: 50px;
    padding-bottom: 20px;
    padding-left: 1rem;
    padding-right: 1rem;
    margin: 0 auto;
    width: 100%;
    max-width: 1080px;
    font-family: Helvetica, Arial, sans-serif;
}

p,
li,
td,
label,
a {
    font-family: Helvetica, Arial, sans-serif;
}

input,
select,
textarea {
    max-width: 400px;
}

#retry,
.k-grouping-header {
    display: none;
}

.form {
    padding: 2rem;
    border-radius: 20px;
    box-shadow: rgba(255, 255, 255, 0.1) 0px 2px 5px -1px, rgba(255, 255, 255, 0.05) 0px 1px 3px -1px;
    margin: auto;
    text-align: center;
    width: 100%;
    height: auto;
    border: 2px solid white;
}

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;
}

.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;
}

.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: 605px;
}

.home .pic-container img {
    max-width: 605px;
}

.btn.btn-primary {
    color: white;
    border: none;
}

#more-info {
    background-color: #6CC4E8;
    border: none;
}

#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:not(.pdf) p:last-child {
    text-align: center;
}

.pdf p {
    margin-top: 1rem;
}

/*.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;
}*/

/*table {
    width: 100%;
    text-align: left;
}

td {
    height: 50px;
}*/

#above-name {
    font-size: 20px;
}

#FName {
    font-size: 18px;
    margin-top: 5px;
}

/*.pdf {
    width: 100%;
    height: 100%;
    text-align: center;
    position: relative;
}

.pdf .row {
    margin-left: 0;
    margin-right: 0;
}

.pdf div:not(.k-grid-header-wrap) {
    margin-bottom: 1em;
}

.pdf div .k-grid-header {
    margin-bottom: .75em;
}

.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;
}*/

/*thead th:nth-child(3),
td:nth-child(3),
thead th:nth-child(4),
td:nth-child(4),
thead th:nth-child(5),
td:nth-child(5) {
    padding-left: 10px;
    padding-right: 10px;
}

thead th:nth-child(6),
td:nth-child(6) {
    padding-left: 10px;
}*/

.date-group {
    font-weight: bold;
}

/* This hides the indentation cell in the data rows */
#grid .k-group-cell,
.no-print {
    display: none;
}

/* You must also hide the corresponding header cell to maintain alignment */
#grid .k-group-col {
    width: 0px !important;
    display: none;
}

.k-grouping-row td {
    padding: 0;
}

table tr {
    border-bottom: 1px solid rgba(255,255,255,.2);
}

table tr th,
table tr td,
table col {
    padding-top: .25rem !important;
    padding-bottom: .25rem !important;
    padding-left: 1rem;
    padding-right: 1rem;
}

table tr th:nth-child(2),
table tr td:nth-child(2),
table col:nth-child(2) {
    padding-left: 0;
}

table tr th:last-child,
table tr td:last-child,
table col:last-child {
    padding-right: 0;
}

body {
    background-color: black;
    color: white;
}

@media (min-width: 992px) {
    .no-print {
        display: inline-block;
    }

    .no-print.download-certificate-container {
        display: block;
    }

    body {
        background-color: unset;
        color: unset;
    }

    .form {
        box-shadow: rgb(50 50 93 / 25%) 0px 2px 5px -1px, rgb(0 0 0 / 30%) 0px 1px 3px -1px;
        border: unset;
    }

    table tr {
        border-bottom: 1px solid rgba(0,0,0,.2);
    }

    table tr th:nth-child(2),
    table tr td:nth-child(2),
    table col:nth-child(2) {
        width: 45% !important;
    }

    table tr th:nth-child(3),
    table tr td:nth-child(3),
    table col:nth-child(3) {
        width: 20% !important;
    }

    table tr th:nth-child(4),
    table tr td:nth-child(4),
    table col:nth-child(4) {
        width: 20% !important;
    }

    table tr th:last-child,
    table tr td:last-child,
    table col:last-child {
        width: 15% !important;
    }
}

@media print {
    body {
        background-color: unset;
        color: unset;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        padding-left: 0;
        padding-right: 0;
        margin-left: 40px;
        margin-right: 40px;
    }

    #grid {
        width: calc(100% - 80px);
    }

    table tr {
        border-bottom: 1px solid rgba(0,0,0,.2);
    }

    table tr th:nth-child(2),
    table tr td:nth-child(2),
    table col:nth-child(2) {
        width: 45% !important;
    }

    table tr th:nth-child(3),
    table tr td:nth-child(3),
    table col:nth-child(3) {
        width: 20% !important;
    }

    table tr th:nth-child(4),
    table tr td:nth-child(4),
    table col:nth-child(4) {
        width: 20% !important;
    }

    table tr th:last-child,
    table tr td:last-child,
    table col:last-child {
        width: 15% !important;
    }
}