body {
    margin: 0;
}

#certform {
    width: 100%;
    height: 200px;
    border: none;
}


#errorElement {
    width: 50%;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    color: red;
    font-weight: bold;
}

#top {
    width: 100%;
    height: 140px;
    background-color: #1d1d1b;
    position: relative;
    text-align: center;
}

#logo {
    /*position: relative;
		float:left;*/
    margin: 15px 0 0 0;
}

#footer {
    width: 100%;
    padding: 10px 0;
    background-color: #1d1d1b;
    position: relative;
    text-align: center;
    color: #DFDFDF;
}

#maintext {
    text-align: center;
    font-size: 20px;
    margin-top: 60px;
}

.warning {
    outline: none;
    box-shadow: 0 0 2px 1px red;
}

input[type=text] {
    width: 40%;
    padding: 12px 20px;
    text-align: center;
    text-transform: uppercase;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid lightslategray;
    border-radius: 4px;
    box-sizing: border-box;
}

input[type=text]:focus {
    outline: none;
    box-shadow: 0 0 2px 1px lightslategray;
}

#webiart-certificate-btn {
    width: 30%;
    background-color: slategray;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#webiart-certificate-btn:hover {
    background-color: lightslategray;
}

#webiart-certificate-btn:focus {
    outline: none;
    box-shadow: 0 0 2px 1px lightslategray;
}

#cert {
    position: relative;
    width: 100%;
    text-align: center;
}


.d-none {
    display: none !important;
}

.webiart-download-certificate-image {
    width: 40%;
    margin: 50px auto;
}

.webiart-certificate-image>img {
    width: 100%;
    border: dashed 2px #eee;
    border-radius: 10px;
}

.webiart-download-link {
    background-color: slategray;
    color: white;
    padding: 14px 20px;
    margin: 8px 5px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
}

.webiart-download-link:hover {
    background-color: lightslategray;
}

#webiart-new-certificate {
    background-color: transparent;
    color: #708090;
    padding: 14px 20px;
    border: solid 1px #708090;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    margin: 8px 5px;
}

#webiart-new-certificate:hover {
    color: lightslategray;
    border: solid 1px lightslategray;
}



.webiart-certificate-action {
    display: grid;
}

@media only screen and (max-width:400px) {
    #webiart-certificate-btn {
        width: 50%;
    }

    input[type=text] {
        width: 70%;
    }

    .webiart-download-certificate-image {
        width: 80%;
    }
}

@media only screen and (max-width:400px) {
    #maintext {
        font-size: 16px;
    }
}