@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,500,600,700,800|Raleway:400,300,200,500,700,600,800|Trirong:100,200,300,400,500,600,700,800,900);

.form .form-control {
    border: 2px solid #f42a2a;
    border-radius: 0;
    box-shadow: none;
    height: 45px;
    text-transform: uppercase;
}

.form label {
    font-weight: 500;
    font-size: 18px;
}

h3,
h4,
h5,
h6,
.h3,
.h4,
.h5,
.h6 {
    font-family: 'Trirong', serif;
    font-weight: 500;
    line-height: 1.42857143;
    color: #333333;
}

.logo-agency {
    height: 100px;
    width: 200px;
}

.logo-agency img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.joining-heading {
    color: #333333;
}


#pdf-content.outer {
    max-width: 300px;
    min-width: 400px;
    min-height: 600px;
    border: 5px solid #000;
    margin: 0px auto;
}

.certificate {
    min-height: 1300px;
    width: 1000px;
    background-image: url('../images/certificate.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    margin: 0 auto;
    border: 2px solid #000;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 22px;
    position: relative;
}

.certificate-content .name {
    position: absolute;
    top: 37.2%;
    left: 28%;
    font-size: 20px;
    font-weight: bold;
}

.certificate-content .fname {
    position: absolute;
    top: 41.9%;
    left: 29%;
    font-size: 20px;
    font-weight: bold;
}

.certificate-content .dob {
    position: absolute;
    top: 46.6%;
    left: 21%;
    font-size: 20px;
    font-weight: bold;
}

.certificate-content .aadhar {
    position: absolute;
    top: 46.6%;
    left: 63%;
    font-size: 20px;
    font-weight: bold;

}

.certificate-content .level {
    position: absolute;
    top: 51.2%;
    left: 52%;
    font-size: 20px;
    font-weight: bold;
}

.certificate-content .age {
    position: absolute;
    top: 51.2%;
    left: 83%;
    font-size: 20px;
    font-weight: bold;
}

.certificate-content .event {
    position: absolute;
    top: 55.8%;
    left: 26%;

    font-size: 20px;
    font-weight: bold;
}

.certificate-content .position {
    position: absolute;
    top: 55.8%;
    left: 59%;
    font-size: 20px;
    font-weight: bold;
}

.certificate-content .certi {
    position: absolute;
    top: 25.3%;
    left: 9%;
    font-size: 26px;
    font-weight: bold;
}

.certificate-content .mobile {
    position: absolute;
    top: 51.2%;
    left: 19%;
    font-size: 20px;
    font-weight: bold;
}

.profile-pic {
    height: 202px;
    width: 161px;
    position: absolute;
    top: 18.9%;
    left: 76%;
}

.profile-pic img {
    height: 100%;
    width: 100%;
    padding: 5px;
}

/* id card start*/
.id_card {
    min-height: 620px;
    width: 810px;
    background-image: url('../images/id_card.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    margin: 0 auto;
    border: 2px solid #000;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 22px;
    position: relative;
}

.id_card .id-card_image {
    height: 222px;
    width: 222px;
    position: absolute;
    border-radius: 50%;
    top: 15.6%;
    left: 10.8%;
}

.id_card .id-card_image img {
    height: 100%;
    width: 100%;
    padding: 5px;
    border-radius: 50%;
}

.id_card .member_id {
    position: absolute;
    top: 64%;
    left: 23%;
    font-size: 18px;
    font-weight: bold;
}

.id_card .dob {
    position: absolute;
    top: 68%;
    left: 23%;
    font-size: 18px;
    font-weight: bold;
}

.id_card .phone_number {
    position: absolute;
    top: 74%;
    left: 23%;
    font-size: 18px;
    font-weight: bold;
}

.id_card .email_id {
    position: absolute;
    top: 77.5%;
    left: 23%;
    font-size: 18px;
    font-weight: bold;
}

.id_card .joining_date {
    position: absolute;
    top: 83%;
    left: 23%;
    font-size: 18px;
    font-weight: bold;
}

.id_card .expariy_date {
    position: absolute;
    top: 87%;
    left: 23%;
    font-size: 18px;
    font-weight: bold;
}

.id_card .address {
    position: absolute;
    top: 9.5%;
    left: 72%;
    width: 200px;
    font-size: 18px;
    font-weight: bold;
    text-align: left;
}

/* id card end*/

#pdf-content.container {
    max-width: 800px;
    min-height: 400px;
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border: 2px solid #f42a2a;
    padding: 0px;
}

#pdf-content h3,
h4 {
    font-size: 22px;
    color: #f42a2a;
    text-align: center;
}

#pdf-content .logo {
    display: block;
    margin: 0 auto;
    width: 100px;
}

#pdf-content .letter-content {
    line-height: 1.6;
    padding: 10px 30px;
}

#pdf-content .from-content-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
}

#pdf-content .letter-content .sign {
    text-align: center;
}

#pdf-content .footer {
    height: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
    background: #f42a2a;
    align-items: center;
    margin-top: 20px;
    font-size: 14px;
    text-align: center;
    color: #ffffff;
    padding: 0px;
}

#pdf-content .footer a {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}