body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* 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: 280px;
}

.form {
    background: whitesmoke;
    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;
}

h1 {
    margin-top: 0 !important;
}

.form, input {
    /*    width: 50%;*/
    max-width: 45rem;
    height: auto;
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
}

hr {
    border-top: 1px solid lightgrey;
    width: 50%;
    margin: 20px auto !important;
}

.input-container {
    display: -ms-flexbox;
    /* IE10 */
    display: flex;
    width: 100%;
    margin-bottom: 0;
}

.glyphicon {
    padding: 10px;
    background: skyblue;
    color: white;
    min-width: 50px;
    text-align: center;
    border-radius: 5px;
    margin-right: 5px;
    top: 0 !important;
}

.download-certificate-container {
    text-align: center;
    margin-top: 20px;
}

#certBtn {
    width: 50%;
    font-size: medium;
    font-weight: 500;
    max-width: 200px;
}

#logoutBtn {
    width: 50%;
    max-width: 100px;
    font-size: medium;
    font-weight: 500;
    background: gray;
    border: gray 1px solid;
}

#logoutBtn:hover,
#logoutBtn:active,
#logoutBtn:focus{
    background: lightgray;
    color: black;
}

/*.btn-primary {
    background-color: #45AA38 !important;
    border-color: #45AA38 !important;
}
    .btn-primary:hover {
        background-color: #46AA38 !important;
        border-color: #46AA38 !important;
    }*/

img {
    width: 100%;
    max-width: 400px;
    display: block;
    margin: auto;
}

#ERRORLABEL {
    color: red;
    display: none;
    text-align: center;
}

#retry {
    display: none;
}