@import url('https://fonts.maateen.me/bangla/font.css');

body {
    font-family: 'Bangla',
        sans-serif;
}


.select2 {
    width: 100% !important;
}

.c_details {
    color: #fff !important;
}

@media (max-width: 768px) {


    .text-light.text-center.pt-2.pb-0 {
        font-size: 22px !important;
    }

    h6 {
        margin-top: 0;
        margin-bottom: -30px !important;
    }

    .c_avatar {
        width: 80px !important;
        height: 80px !important;
    }

    .c_header_right img {
        width: 80px !important;
        height: 80px !important;
    }

    .c_group {
        width: 40px;
        height: 40px;
        font-size: 18px;
        line-height: 38px;
    }

    .c_details h4 {
        font-size: 17px !important;
        margin-bottom: 2px;

    }

    .c_details {
        margin-bottom: 10px;
    }

    .c_header {
        padding: 0px
    }

    .c_header_left,
    .c_header_right {
        margin-bottom: 0px;
    }

    .c_footer p {
        font-size: 20px;
        padding: 5px 0;
    }

    .card-form input,
    .card-form select {
        font-size: 14px;
    }

    .c_footer p {
        font-size: 20px !important;
    }




}



.c_header img {
    max-width: 115px;
}

.c_header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 5px;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
    align-items: center;
}

.c_header_right {
    text-align: right;

}



.c_details {
    padding: 0 25px;
    padding-bottom: 0px;
    color: #fff;
}

.c_details p {
    font-size: 16px !important;
    font-weight: 400;
}

.c_details p span,
.c_details h4 span {
    padding-bottom: 0px;
    color: #fff;
}

.c_avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
}

.c_avatar img {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);

}


.c_details h4 {
    font-size: 25px;
}

.card-form {
    margin-top: 15px;
}

.download-btn a {
    margin-top: 20px;
    padding: 5px 40px;
    line-height: 30px;
}

#blood_card {
    width: 280px;
    margin: 0 auto;
    display: block;
}

h5 {
    margin-bottom: 3px !important;
}

.id-card-holder {
    width: 280px;
    padding: 3px;
    margin: 0 auto;
    background-color: rgb(153, 3, 18) !important;
    border-radius: 5px;

    position: relative;
}

.id-card {
    background: #fff;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 1.5px 0px #b9b9b9;
    min-height: 373px;
    position: relative;
    /* Add this line */
    overflow: hidden;
    /* optional: if you want the bg image not to go outside */
}

.bg_image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 999;

}

.id-card img {
    margin: 0 auto;
}

.header img {
    width: 100px;
    margin-top: 5px;
}

.photo img {
    width: 100px;
    margin-bottom: 5px;
    border-radius: 10%;
    height: 110px;
    border: 2px solid #960303c0;
    object-fit: cover;
    background-position: top;
}

.id-card-hook {
    background-color: #000;
    width: 70px;
    margin: 0 auto;
    height: 15px;
    border-radius: 5px 5px 0 0;
}

.id-card-hook:after {
    content: '';
    background-color: #d7d6d3;
    width: 47px;
    height: 6px;
    display: block;
    margin: 0px auto;
    position: relative;
    top: 6px;
    border-radius: 4px;
}

.id-card-tag-strip {
    width: 45px;
    height: 40px;
    background-color: #0950ef;
    margin: 0 auto;
    border-radius: 5px;
    position: relative;
    top: 9px;
    z-index: 1;
    border: 1px solid #0041ad;
}

.id-card-tag-strip:after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: #c1c1c1;
    position: relative;
    top: 10px;
}

.id-card-tag {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-top: 100px solid #0958db;
    margin: -10px auto -30px auto;
}

.id-card-tag:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-top: 100px solid #d7d6d3;
    margin: -10px auto -30px auto;
    position: relative;
    top: -130px;
    left: -50px;
}

.id-card-holder:after {
    content: '';
    width: 3px;
    display: block;
    background-color: #9c0101;
    height: 100px;
    position: absolute;
    top: 125px;
    border-radius: 0 5px 5px 0;
}

.id-card-holder:before {
    content: '';
    width: 5px;
    display: block;
    background-color: #9c0101;
    height: 100px;
    position: absolute;
    top: 125px;
    left: 274px;
    z-index: 999;
    border-radius: 5px 0 0 5px;
}
