@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Paytone+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;0,1000;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900;1,1000&display=swap');
/* font-family: 'Comic Neue', cursive;
font-family: 'Paytone One', sans-serif;
font-family: 'Mulish', sans-serif;*/

body{
    font-family: 'Paytone One', sans-serif;
    font-size: 14px;
    color: #000;
    line-height: 1.5;
    margin: 0;
    padding: 0;
}
/*=======================================================
			Page Loader
========================================================*/
#loader {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: rgba(255,255,255,1);
	z-index: 100000000;
	opacity: 1;
	overflow:hidden;
	text-align: center;
}
#loader {
    background-color: rgb(38 38 38 / 80%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-slider #loader{
	z-index: 9999;
	background:#fff;
}
div.ldr {
	width: 8vmax;
	height: 8vmax;
	border-right: 4px solid #FFCB24;
	border-radius: 100%;
	-webkit-animation: spinRight 800ms linear infinite;
	animation: spinRight 800ms linear infinite;
}
div.ldr:before, div.ldr:after {
	content: '';
	width: 6vmax;
	height: 6vmax;
	display: block;
	position: absolute;
	top: calc(50% - 3vmax);
	left: calc(50% - 3vmax);
	border-left: 3px solid #167003;
	border-radius: 100%;
	-webkit-animation: spinLeft 800ms linear infinite;
	animation: spinLeft 800ms linear infinite;
}
div.ldr:after {
	width: 4vmax;
	height: 4vmax;
	top: calc(50% - 2vmax);
	left: calc(50% - 2vmax);
	border: 0;
	border-right: 2px solid #ffffff;
	-webkit-animation: none;
	animation: none;
}
 @-webkit-keyframes spinLeft {
 from {
 -webkit-transform: rotate(0deg);
 transform: rotate(0deg);
}
to {
	-webkit-transform: rotate(720deg);
	transform: rotate(720deg);
}
}
 @keyframes spinLeft {
 from {
 -webkit-transform: rotate(0deg);
 transform: rotate(0deg);
}
to {
	-webkit-transform: rotate(720deg);
	transform: rotate(720deg);
}
}
@-webkit-keyframes spinRight {
 from {
 -webkit-transform: rotate(360deg);
 transform: rotate(360deg);
}
to {
	-webkit-transform: rotate(0deg);
	transform: rotate(0deg);
}
}
@keyframes spinRight {
 from {
 -webkit-transform: rotate(360deg);
 transform: rotate(360deg);
}
to {
	-webkit-transform: rotate(0deg);
	transform: rotate(0deg);
}
}

.login {
    min-height: 100vh;
    background-image: url(../images/bg.png);
    background-position:center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px 0 110px;
    position: relative;/
}
.login .title h2 {
    color: #167003;
    font-size: 40px;
    /* background: linear-gradient(to right, rgba(129,63,234,1) 0%,rgba(74,156,255,1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
}
.login .title h3{
    font-size: 38px;
    color: #167003;
}
h5 {
    font-family: 'Mulish', sans-serif;
    line-height: 1.5;
}
.btn-primary {
    font-family: 'Mulish', sans-serif;
    display: table;
    margin: 40px auto 0;
    background-color: transparent !important;
    border: 0;
    color: #167003 !important;
    background-image: url(../images/btn-white.png);
    max-width: 256px;
    width: 100%;
    height: 62px;
    font-size: 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-transform: uppercase;
}
.btn-secondary {
    font-family: 'Mulish', sans-serif;
    display: table;
    margin: 40px auto 0;
    background-color: transparent !important;
    border: 0;
    color: #fff !important;
    background-image: url(../images/bt_puprle.png);
    max-width: 220px;
    width: 100%;
    height: 52px;
    font-size: 18px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    text-transform: uppercase;
}
.bg_form {
    margin: 35px auto 0;
    max-width: 550px;
    background-color: #FFCB24;
    border: 1px solid #FFCB24;
    border-radius: 56px;
    padding: 50px;
    background-image: url(../images/shadow.png);
    background-position: 3% 5%;
    background-repeat: no-repeat;
}

.bg_form h3 {
    color: #fff;
    position: relative;
    display: table;
    margin: 0 auto;
    padding-right: 25px;
    background-image: url(../images/favicon.png);
    background-repeat: no-repeat;
    background-position: 101% 0;
}
.bg_form h4 {
    color: #2e7705;
}
.form-control {
    height: 56px;
    border: 1px solid #FFFFFF !important;
    border-radius: 30px;
    padding: 10px 30px;
    background: transparent !important;
    color: #fff !important;
    box-shadow: none !important;
    outline: none !important;
}
.form-control::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #fff;
  }
  .form-control::-moz-placeholder { /* Firefox 19+ */
    color: #fff;
  }
  .form-control:-ms-input-placeholder { /* IE 10+ */
    color: #fff;
  }
  .form-control:-moz-placeholder { /* Firefox 18- */
    color: #fff;
  }
  .poster_br {
    padding: 10px;
    background: #fff;
    border: 1px solid #167003;
    border-radius: 48px;
    cursor: pointer;
    -webkit-border-radius: 48px;
    -moz-border-radius: 48px;
    -ms-border-radius: 48px;
    -o-border-radius: 48px;
}

.poster_img {
    background: #167003;
    padding: 10px;
    border-radius: 38px;
    position: relative;
}

.poster_img input {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    left: 0;
    opacity: 0;
    transition: all 500ms ease-in-out;
    -webkit-transition: all 500ms ease-in-out;
    -moz-transition: all 500ms ease-in-out;
    -ms-transition: all 500ms ease-in-out;
    -o-transition: all 500ms ease-in-out;
    cursor: pointer;
}
.poster_img input + img {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100%;
    max-width: 35px;
    opacity: 0;
    padding: 5px;
    background:rgb(255 255 255 / 40%);
    border-radius: 50%;
}
.poster_img input:checked + img {
    opacity: 1;
}
.certificate {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url(../images/bg.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.fixed_btn {
    /* position: absolute; */
    left: 0;
    right: 0;
    bottom: 20px;
    font-size: 18px;
    max-width: 100%;
    width: 100%;
    background-size: contain;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0 10px;
}
.fixed_btn .btn {
    margin: 0 5px;
}
.certificate .container {
    position: relative;
}
.certificate_img img {
    border: 3px solid rgb(255 255 255 / 56%);
    border-radius: 32px;
}
.certificate_view {
    min-height: 100vh;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 30px;
    width: 100%;
    flex-wrap: wrap;
}
.btn-primary1 {
    font-family: 'Comic Neue', cursive;
    display: table;
    margin: 20px auto 0;
    background-color: transparent !important;
    border: 0;
    color: #167003 !important;
    background-image: url(../images/modal_btn.png);
    min-width: 256px;
    width: 100%;
    height: 62px;
    font-size: 22px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}
.poster_img img {
    border-radius: 30px;
}
.certificate_view .gif_img {
    mix-blend-mode: lighten;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 100%;
}
.brand_logo {
    width: 100%;
    padding: 15px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(252 252 252 / 50%);
    position: absolute;
    bottom: 0;
    text-align: center;
    left: 0;
    margin: 0 auto;
}

.brand_logo .item {
    /* width: 25%; */
    text-align: center;
    padding: 0 20px;
}

.brand_logo .item img {
    max-width: 220px;
    margin: 0 auto;
    width: 100%;
}
select {
    color: #fff;
  }
  option {
    color: black;
  }

  select.form-control {
    background-image: url(../images/down-arrow.png) !important;
    background-position: 96% 50% !important;
    background-repeat: no-repeat !important;
    background-size: 20px !important;
}


@media  (max-width:1440px){
    .login .title h2 {
        font-size: 28px;
        max-width: 800px;
        margin: 0 auto;
        width: 100%;
    }

    .title h5 {
        font-size: 18px;
        padding: 5px 0 !important;
    }

    .bg_form {
        margin: 15px auto 0;
    }
    .login .title h3 {
        font-size: 28px;
    }
}
@media  (max-width:1199px){
    .title h5 br {
        display: none;
    }
}
@media  (max-width:991px){
    .certificate .btn {
        position: relative;
        bottom: inherit;
    }
    .login {
        /* background-image: url(../images/mobile_bg.png); */
        background-position: center;
        padding: 30px 0 90px 0;
    }
      .fixed_btn {
        position: relative;
        bottom: 0;
        padding: 10px 0 0;
        flex-wrap: wrap;
    }
    .btn-secondary, .btn-primary, .btn-primary1 {
        font-size: 16px;
        height: auto;
        background-size: contain;
        padding: 9px 20px;
        max-width: none;
        width: auto;
        width: 100%;
        max-width: 170px;
    }
    .form-control {
        height: 45px;
        font-size: 14px;
    }
}
@media  (max-width:767px){
    .login .title h2, .login .title h3{
        font-size: 26px;
    }
    .bg_form {
        padding: 50px 20px;
    }

}
@media  (max-width:575px){
    .form-control {
        height: 45px;
        font-size: 14px;
    }
    .certificate_view {
        height: calc(100vh - 150px);
    }
    .certificate_img img {
        border-radius: 24px;
    }
        .poster_br {
          margin-bottom: 15px;
      }
      .logo img {
        max-width: 100%;
    }
}

label.error {
    color: red;
}


#template_id-error {
    text-align: center;
    padding: 10px 0 0 0;
}

.fixed_btn .btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width:420px){
    .certificate_view img {
        width: 100%;
    }
}
