@font-face {
  font-family: 'Minim';
  src: url('../fonts/FontsFree-Net-minim.eot'); /* IE9 Compat Modes */
  src: url('../fonts/FontsFree-Net-minim.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/FontsFree-Net-minim.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/FontsFree-Net-minim.woff') format('woff'), /* Pretty Modern Browsers */
       url('../fonts/FontsFree-Net-minim.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('../fonts/FontsFree-Net-minim.svg#svgFontName') format('svg'); /* Legacy iOS */
}

@font-face {
  font-family: 'times-new-roman';
  src: url('../fonts/times-new-roman.eot'); /* IE9 Compat Modes */
  src: url('../fonts/times-new-roman.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/times-new-roman.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/times-new-roman.woff') format('woff'), /* Pretty Modern Browsers */
       url('../fonts/times-new-roman.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('../fonts/times-new-roman.svg#svgFontName') format('svg'); /* Legacy iOS */
}

@font-face {
  font-family: 'times-new-roman-bold';
  src: url('../fonts/times-new-roman-bold.eot'); /* IE9 Compat Modes */
  src: url('../fonts/times-new-roman-bold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/times-new-roman-bold.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/times-new-roman-bold.woff') format('woff'), /* Pretty Modern Browsers */
       url('../fonts/times-new-roman-bold.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('../fonts/times-new-roman-bold.svg#svgFontName') format('svg'); /* Legacy iOS */
       font-weight: normal; /* Adjust this to normal if you're already using bold font */
       font-style: normal; 
}

.body{
    background: #d2edf9;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
ul {
    padding: 0 45px 0;
}
/*.rating {*/
/*            display: flex;*/
/*            flex-direction: row-reverse;*/
/*            justify-content: center;*/
/*        }*/
        .rating input {
            display: none;
        }
        .rating label {
            font-size: 2em;
            color: lightgray;
            cursor: pointer;
        }
        .rating input:checked ~ label {
            color: gold;
        }
        .rating label:hover,
        .rating label:hover ~ label {
            color: gold;
        }
.text-center{
    text-align:center;
}
.star{
    color:#f0c70b;
}
.wrapper{
    width: 500px;
    margin: auto;
    background: #fff;
    text-align: center;
    border: 16px solid transparent;
}
.pt-top{
    padding-top: 80px;
}
.pa-bottom{
    padding-bottom: 80px;
}
label {
    margin-top: 60px !important;
    margin-bottom: 15px;
    display: inline-block;
}
input#r_number {
    width: 250px;
    padding: 12px;
    border-radius: 30px;
    border: 1px solid #a3a3a3;
    text-align:center;
    font-size:16px;
}
.txt-clr{
    color: #c71b78;
    text-stroke: 1px black;
    -webkit-text-stroke: 1px black;
    font-size: 30px;
}
.p-id{
    margin-top: 38%;
}
.p-id a{
    color:#1ca3df;
    text-decoration:none;
}
button{
    width: 250px;
    padding: 12px;
    border-radius: 30px;
    border:none;
    margin-top: 10px;
    background: #41235b;
    color:#fff;
    font-size:16px;
}
.bg-img{
    background-image: url(../images/lines.png);
    background-repeat: repeat;
    padding: 15% 0;
}
.form-design{
    
}
p{
    font-family: 'times-new-roman';
}

h1{
    font-family: 'Minim';
}
.mb-h2{
    margin-bottom:0 !important;
}

.mt-h2{
    margin-top:20px !important;
}

h2 {
    font-size: 20px !important;
    margin: 5px 0;
}

h3 {
    font-size: 18px;
    margin: 20px 0 5px;
}
h2, h3, .subtitle, span, .ff{
    font-family: 'times-new-roman-bold' !important;
}

p {
    font-size: 16px;
    margin: 5px 0;
     color:#000;
}

span {
    font-weight: bold;
}

/*Certificate*/

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.text-left{
    text-align:left !important;
}
.text-right{
    text-align:right !important;
}
.title-bottom{
    margin-bottom: 35px;
}
.certificate {
    width: 50rem;
    margin:auto;
    height: auto;
    text-align: center;
    padding:2rem;
}
.certificate-border {
    border: 32px solid #d9d9d9;
    border-image: url(../images/Border.png);
    position: relative;
    border-image-repeat: repeat;
    border-image-slice: 44;
    z-index:0;
    background: transparent;
    padding:2rem;
}
.certificate:before {
    content: 'Only for verificaton';
    position: absolute;
    display:inline-block;
    color: #f0ebeb;
    font-size: 88px;
    top: 355px;
    width: 100%;
    left: 0;
    transform: rotate(-22deg);
    z-index: -1;
}
.certificate-bg{
    position:relative;
}

.certificate-bg:before{
    content: '';
    background-image:url(../images/hgbhjr.png);
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-size: auto; /* Cover the entire container */
    background-position: center; /* Center the image */
    z-index: 0;
    opacity: 0.1;
    background-repeat: no-repeat;
    transform: rotate(0);
}
.div{
    width:100%;
    display:flex;
}
.div-common{
    width: 161px;
    height: 13px;
}
.div1{
    background: #4f286d;
}
.div2{
    background: #c71b78;
}
.div3{
    background: #168787;
}
.div4{
    background: #f1ca12;
}
.div5{
    background: #233069;
}
.certificate-wrap{
    width:52rem;
    margin: 50px auto;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background: #fefdf7;
}
.mb{
    margin-bottom:70px;
}
.my{
    margin:10px 0;
}
.certificate-header {
    margin-bottom: 20px;
}

.logo {
    width: 320px;
    margin-bottom: 10px;
}

.title {
    font-size: 50px;
    color: #253069;
    margin: 45px 0 30px;
}

.subtitle {
    font-size: 18px;
}

.mbb {
    margin: 20px 0 80px;
}
.d-none{
    display:none;
}
.inst {
    margin-bottom: 50px;
}

.awarded-to {
    font-size: 16px;
    color: #333;
    margin: 0;
}
.ff{
    margin-bottom: 10px;
    margin-top: 0;
}
.certificate-head{
    display:flex;
    justify-content:space-between;
    align-items: center;
}
.certificate-50{
    width:50%;
}
.certificate-bg{
    background-image:url(images/hgbhjr.png);
}
.widthc{
    width:220px !important;
}
.widths{
    width:150px !important;
}
#student-name {
    font-size: 36px;
    color: #002147;
}

.student-info, .course-info {
    font-size: 18px;
    color: #333;
    margin: 10px 0;
}

#course-name {
    font-size: 24px;
    margin: 10px 0;
    color: #002147;
}
.fz{
    font-size: 15px;
    text-align: left;
    margin-top: 8px;
}

.fw-14{
    font-size:20px;
}
.duration, .grade {
    font-size: 18px;
    color: #333;
}

.certificate-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    align-items:center;
}
.fr-w{
    width:85% !important;
}

.footer-left, .footer-right {
    width: 15%;
    text-align: left;
    font-size: 14px;
}
.footer-right {
    width: 83%;
}

.footer-center {
    width: 40%;
    text-align: center;
}

.qr-code {
    width: 88px;
    height: 88px;
}

p {
    margin: 5px 0;
}
