    .certificate_continer_portrait
    {
        width: 715px;
        height: 1015px;
        margin-left: auto;
        margin-right: auto;
        background-repeat: no-repeat;
        background-position: center;
        position: relative;
        border-radius: 25px;
        border: 2px solid;
        float: none;
		overflow: hidden;
    }
    
    .certificate_continer_landscape
    {
        width: min(1015px, 100%);
        height: 715px;
        margin-left: auto;
        margin-right: auto;
        background-repeat: no-repeat;
        background-position: center;
        position: relative;
        border-radius: 25px;
        border: 2px solid;
        float: none;
		overflow: hidden;
    }
    
    .certificate_title_landscape
    {
        position: relative;
        font-weight: bold;
        font-size: 40px;
        width: 100%;
        margin-top: 15%;
        margin-bottom: 0px;
        text-align: center;
        overflow: hidden;
        line-height: normal;
    }
    
    .certificate_title_portrait
    {
        position: relative;
        font-weight: bold;
        font-size: 40px;
        width: 100%;
        margin-top: 13%;
        margin-bottom: 0px;
        text-align: center;
        overflow: hidden;
        line-height: normal;
    }

    .certificate_body_landscape
    {
        text-align: center;
        font-size: 24px;
        width: 90%;
        height: 80%;
        overflow: hidden;
        margin-left: auto;
        margin-right: auto;
        line-height: normal !important;
    }

    .certificate_body_portrait
    {
        text-align: center;
        font-size: 25px;
        width: 85%;
        height: 75%;
        overflow: hidden;
        margin-left: auto;
        margin-right: auto;
        line-height: normal !important;
    }
    
    .certificate_qrcode
    {
        width: 150px;
        height: 150px;
        position: absolute;
        margin: 0px;
        overflow: hidden;
        border-radius: 25px;
    }
    
    .qrcode_landscape_1
    {
        top: 0%;
        left: 85%;
    }
    .qrcode_landscape_2
    {
        top: 0%;
        left: 0%;
    }
    .qrcode_landscape_3
    {
        top: 78%;
        left: 1%;
    }
    .qrcode_landscape_4
    {
        top: 78%;
        left: 85%;
    }
                
    .qrcode_portrait_1
    {
        top: 0%;
        left: 79%;
    }
    .qrcode_portrait_2
    {
        top: 0%;
        left: 0%;
    }
    .qrcode_portrait_3
    {
        top: 84%;
        left: 1%;
    }
    .qrcode_portrait_4
    {
        top: 85%;
        left: 79%;
    }

    .certificate_signature
    {
        width: 200px;
        height: 200px;
        position: absolute;
        margin: 0px;
        overflow: hidden;
        border-radius: 25px;
    }
    
    .signature_landscape_1
    {
        top: 0%;
        left: 74%;
    }
    .signature_landscape_2
    {
        top: 0%;
        left: 0%;
    }
    .signature_landscape_3
    {
        top: 78%;
        left: 0%;
    }
    .signature_landscape_4
    {
        top: 70%;
        left: 74%;
    }
                
    .signature_portrait_1
    {
        top: 0%;
        left: 79%;
    }
    .signature_portrait_2
    {
        top: 0%;
        left: 0%;
    }
    .signature_portrait_3
    {
        top: 84%;
        left: 1%;
    }
    .signature_portrait_4
    {
        top: 66%;
        left: 66%;
    }
    
    .certificate_p_v_url_landscape
    {
        font-size: 11px;
        word-wrap: break-word;
        float: none;
        width: 100%;
        top: 97.5%;
        position: absolute;
        color: gray;
        text-align: center;
        margin: 0px;
    }
    
    .certificate_p_v_url_portrait
    {
        font-size: 11px;
        word-wrap: break-word;
        float: none;
        width: 100%;
        top: 98%;
        position: absolute;
        color: gray;
        text-align: center;
        margin: 0px;
    }

    #certificate_body p
    {
        line-height: normal !important;
        margin: 0px !important;
    }
    
    #certificate_pic  img{
        width: 130px;
        height: 125px;
    }

    .certificate_pic
    {
        position: absolute;
        margin: 0px;
        overflow: hidden;
        border-radius: 25px;
    }
    
    .pic_landscape_0
    {
        display: none;
    }

    .pic_landscape_1
    {
        top: 0%;
        left: 80%;
    }
    .pic_landscape_2
    {
        top: 0%;
        left: 0%;
    }
    .pic_landscape_3
    {
        top: 78%;
        left: 0%;
    }
    .pic_landscape_4
    {
        top: 78%;
        left: 80%;
    }
    
    .pic_portrait_0
    {
        display: none;
    }
    .pic_portrait_1
    {
        top: 0%;
        left: 74%;
    }
    .pic_portrait_2
    {
        top: 0%;
        left: 0%;
    }
    .pic_portrait_3
    {
        top: 84%;
        left: 0%;
    }
    .pic_portrait_4
    {
        top: 73%;
        left: 74%;
    }

    /* ----------- Thumbnails ----------- */

    .certificate_thumbnail
    {
        padding: 0px;
        display: inline-table;
        background-repeat: no-repeat;
        background-position: center;
        border-radius: 25px;
        border: 2px solid #8AC007;
        margin: 10px;
    }
    
    .thumbnail_landscape
    {
        width: 300px;
        height: 212px;
        background-size: 300px 212px;
    }
    
    .thumbnail_portrait
    {
        width: 212px;
        height: 300px;
        background-size: 212px 300px;
    }
    
    .certificate_body_thumbnail p
    {
        line-height: normal !important;
        margin: 0px !important;
    }

    .certificate_body_thumbnail
    {
        font-size: 8px;
        color: green;
        width: 90%;
        height: 40%;
        overflow: hidden;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        line-height: 18px;
    }
    
    .certificate_title_thumbnail
    {
        font-weight: bold;
        font-size: 15px;
        margin-top: 15%;
        width: 100%;
        text-align: center;
        line-height: 18px;
        margin-bottom: 0px;
    }

    .p_verification_url_thumbnail
    {
        font-size: 8px;
        margin-top: 30px;
        word-wrap: break-word;
        float: left;
        width: 73%;
        line-height: 8px;   
    }

    .certificate_body_thumbnail span
    {
        font-size: inherit !important;
    }
    
/*

#qr_code
{
    width: 150px;
    height: 150px;
    position: absolute;
    margin: 0px;
    overflow: hidden;
    border-radius: 25px;
    top: 560px;        
    left: 0px;
}

#p_verification_url
{
    font-size: 11px;
    word-wrap: break-word;
    float: none;
    width: 100%;
    top: 97.5%;
    position: absolute;
    color: gray;
    text-align: center;
}
    
.certificate_lg
{
    text-align: center;
    padding: 0px;
    display: inline-block;
    background-repeat: no-repeat;
    background-position:center;
    border-radius: 25px;
    border: 2px solid #8AC007;
    position: relative;
}

#p_certificate_type
{
    font-weight: bold;
    font-size:40px;
    color:rgb(191, 191, 25);
    margin-top:15%;
    width: 100%;
    text-align: center;
}

.bar_code
{
    float: left;
    margin-left: 10px;
    margin-bottom: 10px;
}


.certificate_footer
{
    width: 100%;
    height: 20%;
    //position: absolute;
    //bottom: 20px;
    overflow: hidden;
}


.p_verification_url
{
    font-size: 11px;
    word-wrap: break-word;
    float: right;
    width: 73%;
    line-height: 8px;
    top: 94%;
    position: relative;
    color: gray;
}

#p_certificate_body
{
    margin-top:12%;
    margin-left:5%;
    font-size:25px;
    color:green;
    width:950px;
}

#certificate_body
{
    font-size: 25px;
    color: green;
    width: 90%;
    height: 60%;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
}

.certificate_div_mini
{
    padding: 30px;
    display: inline-block;
    background-repeat: no-repeat;
    background-position:center;
    background-size:cover;
    position: relative;
    top: 50%;
    transform: translateY(10%);
}
.p_certificate_type_mini
{
    font-weight: bold;
    font-size:9px;
    color:rgb(191, 191, 25);
    position:absolute;
    margin-top:15%;
    margin-left:25%;
}
.bar_code_mini
{
    margin-right:80%;
    margin-top:50%;
}

.p_verification_url_mini
{
    position: absolute;
    margin-top:60%;
    margin-left:20%;
}

.p_certificate_body_mini
{
    position: absolute;
    margin-top:30%;
    margin-left:5%;
    font-size:9px;
    word-wrap:break-word;
    color:green;
    width:270px;
}*/