/**
 * certificates.css 
 * 
 */
fieldset {
    border: 1px solid #F0F0F0;
    padding: 1em 1.2em;
}
fieldset legend {
    line-height: 1.23;
    color: #0073AA;
}
fieldset .total {
    display: inline-block;
    color:#FD464E;
    background-color: #F9FDFF;
    font-size: .78rem;
    padding: .3em;
    border-radius: 5px;
}
.participant-name-verification label {
    font-family: 'Montserrat-SemiBold', sans-serif;
    font-size: .8rem;
    display: block;
    margin: 1em 0 .4em 0;   
}
.participant-name-verification input[name="fio"] {
    font-family: 'Montserrat-Regular', sans-serif;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: .4em .6em;
    color: #384358;
    color: #0073AA;
    text-align: left;
    border: none;
    border-bottom: 2px solid #FCFCFC;
    font-size: 1.5rem;
    outline: none;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    background-color: #F9FDFF;
    border-radius: 4px 4px 0 0;
}
.participant-name-verification input[name="fio"]:focus {
    border-bottom-color: #0073aa;
    background-color: #fff;
}
.participant-name-verification button {
    margin: 3em auto!important;
    display: block!important;
}
.certificate-container {
    position: relative;
    text-align: center;
}
.certificate-image {
    width: 100%;
    max-width: 600px;
    height: 800px;
    margin: 0 auto;
}
.certificate-image img {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}
.certificate-fio {
    width: 100%;
    max-width: 30%;
    margin: 0!important;
    color: #FF5C17;
    font-size: 1.4rem;
    position: absolute;
    background: transparent;
    left: 50%;
    top: 300px;
    transform: translate(-50%, -50%);
    line-height: 1.12;
}
/*.notice {
    padding: 1em;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    font-family: 'Montserrat-SemiBold', sans-serif;
}*/
.notice[data-notice='notice-error']{
    background: #EB4C42;
    color: #fff;
    margin: 3em auto!important;
}
.btn-add-full-name-certificate,
.btn-print-cert {
    font-family: 'Montserrat-SemiBold', sans-serif;
    background-color: #0073aa;        
    color: #fff;                      
    padding: 1em;              
    border: none;                    
    border-radius: 5px;              
    font-size: 16px;                 
    font-weight: bold;               
    cursor: pointer;                 
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); 
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.btn-add-full-name-certificate:hover,
.btn-print-cert:hover {
    background-color: #005177;       
}
.btn-add-full-name-certificate:active,
.btn-print-cert:active {
    transform: scale(0.98);
}
.btn-print-cert {
    display: block;
    margin: 2em auto;
}

@media only screen and (max-width : 610px) {
    .certificate-image {
        max-width: 90%;
        height: 100%;
    }
    .certificate-fio {
        top: 155px;
        max-width: 60%;
        font-size: 1rem;
        line-height: 1;
    }
    .certificate-image img {
        height: 420px;
    }
    #fio {
        font-size: 1rem;
    }
}
