
@import url('https://fonts.googleapis.com/css?family=Lato');
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro');
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro&display=swap');
*, :after, :before {
  box-sizing: border-box;
}
*{
  padding: 0;
  margin: 0;
  font-family: 'Source Sans Pro', sans-serif;
}
body{
  font-family: 'Source Sans Pro', sans-serif;
  color: #2E4156;
  height: 100vh;
}
button{
  cursor: pointer
}
  .hideDiv {
  display: none !important;
  }
  .showDiv{
    display: block !important;
  }
.main-container{
  height: 100%;
  position: relative;
  overflow: auto;
  -ms-box-orient: horizontal;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -moz-flex;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  -webkit-flex-direction: column;
  background: rgb(231,235,238);
  background: linear-gradient(180deg, rgba(231,235,238,0.8) 15%, rgba(231, 231, 231, 0.19) 100%); 
}
/* .main-container.portrait{}
.main-container.landscape{}
.main-container.badge{} */

.main-container.portrait header .header-container{
  width: 1220px;
}
.main-container.landscape header .header-container{
  width: 1305px;
}
.main-container.badge header .header-container{
  width: 950px;
}
header{
  padding: 18px 40px;
  background-color: #ffffff;
  height: 75px;
  display: flex;
  align-items: center;
  box-shadow: 0px 0px 5px rgba(232, 236, 238, 1);
  z-index: 2;
}
.header-container{
  display: flex;
  align-items: center;
  margin: auto;
}
header h6{
	font-size: 16px;
}
header img{
  max-height: 40px;
}
header .org-name{
  font-size: 16px;
  font-weight: 600;
  line-height: 40px;
}
footer{
  margin-top: auto;
  
}
section{
  /* height: calc(100vh - 125px); */
  flex: 1;
  padding: 0 40px;
  position: relative;
}
.main-container.portrait section .certificate-main{
  max-width: 1220px;
  margin: auto;
}
.main-container.landscape section .certificate-main{
  max-width: 1305px;
  margin: auto;
}
.main-container.badge section .certificate-main{
  max-width: 950px;
  margin: auto;
}
.bg-1{
  max-height: 100%;
  max-height: 100%;
  position: absolute;
  right: -142px;
  bottom: -10px;
  margin: 0 !important;
}
.bg-2{
  max-height: 100%;
  max-height: 100%;
  position: absolute;
  left: -105px;
  top: 70px;
  margin: 0 !important;
}
.bg{
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  overflow: hidden;
}
.test1{
  z-index: 2;
}
.certificate-main{
  padding: 50px 0;
  display: flex;
  height: 100%;
  flex-wrap: wrap;
  align-content: flex-start;
}
.certificate-main h3{
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 600;
}
.main-container.badge .view-container, .main-container.portrait .view-container, .main-container.landscape .view-container {
  gap: 30px;
}
.main-container.badge .certificate-info{
 margin: 0 !important; 
}
.main-container.badge .certificate-view{
  /* flex: 1;
  width: 550px;
  height: 550px; */
  background-color: #fff;
  /* display: flex;
  align-items: center;
  justify-content: center; */
  border-radius: 12px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);

}
.certificate-view{
  position: relative;
  /* width: 100%; */
   /* flex: 0 0 54%; */ 
  position: relative;
  /* height: 100%; */
  /* background-color: #FFF; */
}
.certificate-view h3{
  font-size: 24px;
  margin-bottom: 20px;
}

.search-section{
  display: flex;
  align-items: center;
  margin-left: 30px;
  position: relative;
}
.search-section input{
  padding: 5px 12px 5px 30px;
  line-height: 22px;
  font-size: 14px;
  min-width: 250px;
  border: 1px solid #737D87;
  border-radius: 20px 0 0 20px;
  border-right: none;
  outline: none;
  box-shadow: none;
  -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
.search-section button{
  padding: 6px 14px;
  line-height: 20px;
  font-size: 15px;
  min-width: 120px;
  border: 1px solid #FA7B00;
  background-color: #FA7B00;
  color: #ffffff;
  border-radius: 0 20px 20px 0;
}
.search-icon{
  height: 16px;
  width: 16px;
  position: absolute;
  left: 10px;
  top: 10px;
  margin: auto;
  fill: #798190;
  opacity: 0.7;
}
#certificate-info-loader{
  width: 100% !important;
  height: 100% !important;
  flex: 0 0 1;
}
.error-content{
  padding: 5px 10px;
  position: absolute;
  color: #e60a0a;
  top: 100%;
  left: 18px;
  margin-top: 7px;
  z-index: 4;
  border-radius: 4px;
  background-color: #fff3f2;
}

.error-label-notification{
  padding: 12px 40px;
  position: absolute;
  color: #E4534A;
  top: 10%;
  width: 400px;
  left: 0;
  right: 0;
  margin: auto;
  border-radius: 4px;
  background-color: rgb(252 236 233 / 87%);
  border: 1px solid #EB7654;
  -moz-transition: all .2s ease-in-out;
  -ms-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
  opacity: 0;
  transform: translate3d(0px, -20px, 0px);
}
.error-label-notification svg{
  position: absolute;
  width: 20px;
  height: 20px;
  top: 12px;
  fill: #E4534A;
}
.error-label-notification.showDiv{
  transform: translate3d(0px, 0px, 0px);
  opacity: 1;
}
.error-label-notification .close-icon{
  right: 12px;
  cursor: pointer;
}
.error-label-notification .info-icon{
  left: 12px;
}
.error-content::before{
  content: '';
  position: absolute;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  top: -14px;
  left: 10px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid #fff3f2;
}
.search-error input{
  border-color: #e60a0a !important;
}
footer{
  padding: 15px 80px;
  display: flex;
  align-items: center;
  background-color: rgba(232, 236, 238, 1);
  font-size: 15px;
  line-height: 20px;
}
.view-container{
  /* height: calc(100% - 51px); */
  width: 100%;
}
.view-container img{
  max-height: 100%;
  max-width: 100%;
}
ul{
  list-style-type: none;
}
.main-container.portrait .certificate-info{
  position: sticky;
  top: 10px;
}
.certificate-info{
  position: relative;
  width: 400px;
  margin-left: 50px;
  padding: 25px;
  background-color: #fff;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  overflow: auto;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  margin-left: auto;
  flex: 0 0 400px;
}
.certificate-info ul{
  display: flex;
  flex-direction: column;
  padding: 5px;
}
.certificate-info ul li{
  display: flex;
}
.certificate-info ul li:not(:last-child){
  margin-bottom: 30px;
}
.certificate-info ul li label{
  flex: 0 0 40%;
  font-weight: 600;
  font-size: 16px;
  
}
.certificate-info ul li span{
  flex: 0 0 60%;
  line-height: 25px;
  font-size: 16px;
}
.divider{
  background-color: #F1F1F1;
  height: 2px;
  width: 100%;
  margin: 30px 0;
}
.info-footer{
  text-align: center;
  font-size: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.info-footer p{
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}
.info-footer .copy-btn{
  min-width: 220px;
  font-size: 18px;
  text-align: center;
  border-radius: 20px;
  border: 1px solid #FA7B00;
  background-color: #FA7B00;
  height: 40px;
  color: #fff;
  margin-top: 15px;
}
.info-footer .download-btn{
  min-width: 220px;
  font-size: 18px;
  text-align: center;
  border-radius: 20px;
  border: 1px solid #3070AC;
  background-color: #3070AC;
  height: 40px;
  color: #fff;
  margin-top: 15px;
}
.view-container{
  display: flex;
  align-items: flex-start;
}

.search-main{
  position: relative;
  height: calc(100vh - 144px);
  width: 100%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  
}
.search-main-content{
  max-width: 80%;
  text-align: center;
  margin-bottom: 10%;
}
.search-main-content h3{
  font-size: 38px;
  margin-bottom: 30px;
  font-weight: 600;
  color: #2E4156;
}
.search-main-content p{
  max-width: 100%;
  margin: 0 auto 30px auto;
  font-size: 20px;
  color: #2E4156;
}
.main-box{
  display: flex;
  width: 80%;
  margin: 0 auto;
  min-width: 350px;
}
.main-box.search-section input{
  padding: 5px 12px 5px 40px;
  min-width: inherit;
  width: 100%;
  height: 50px;
  border-radius: 4px;
  border: 1px solid #737D87;
}
.main-box.search-section .search-icon{
  top: 0;
  bottom: 0;
  left: 15px;
}
.main-box.search-section button{
  position: absolute;
  right: 1px;
  border-radius: 0px 4px 4px 0px;
  height: 48px;
  font-size: 18px;
}
input:focus {
  border-color: #5780ce!important;
}
.main-box .error-content{
  /* left: 28px; */
}
.certificate-view canvas{
  max-width: 100% !important;
  height: auto !important;
  border-radius: 12px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
}

@media(max-width: 1000px) {
  header{
    padding: 25px 40px;
    height: auto;
  }
  header .header-container{
    width: auto !important;
    flex-direction: column;
  }
  header .search-section{
  }
  header img{
    max-height: 50px;
  }
  .search-section{
    margin: 20px 0 0 0;
  }
  .search-section{
    flex: 1;
  }
  .search-section input{
  }
  section{
    padding: 0 40px;
    height: auto;
  }
  section{
    background: linear-gradient(180deg, rgba(231,235,238,0.8) 15%, rgba(46,65,86) 100%); 
  }
  .certificate-main{
    padding: 20px 0;
  }
  .certificate-main h3{
    font-size: 18px;
    width: 100%;
    text-align: center;
    font-weight: 600;
  }
  .view-container{
    flex-wrap: wrap;
  }
  .certificate-view{
    flex: initial;
    width: 100%;
  }
  .certificate-info{
    width: 100%;
    margin: 30px 0 0 0 ;
    flex: initial;
  }
  
  footer{
    padding: 15px 40px;
    height: auto;
  }
  .dummy-container .view-container .certificate-view{
    flex: 0 0 100% !important;
  }
  .certificate-view canvas{
    max-width: 100% !important;
    height: auto !important;
  }
  #certificate-info-loader{
    width: 100% !important;
  }
}
@media(max-width: 1000px) {
  .search-main{
    height: calc(100vh - 149px);
  }
  .search-main-content{
    max-width: 90%;
  }
  .search-section.main-box{
    margin: 0 auto;
  }
  .search-main-content h3{
    margin-bottom: 20px;
  }
  .error-container{
    padding: 30px;
    margin: 0 -40px;
    height: calc(100vh - 203px);
  }
}
@media(max-width: 300px) {
  .search-main-content{
    max-width: 100%;
  }
}
@media(max-width: 400px) {
	.search-main-content h3, .search-main-content p{
		max-width: 100%;
	}
	.main-box.search-section{
		margin: 0 -20px;
		width: auto;
    min-width: inherit;
	}
	.main-box.search-section button{
		position: inherit;
	}
  section{
    padding: 0 15px;
  }
}
.modal-empty-loader-container .modal-empty-loader{
  height: 100px !important;
}
.modal-empty-loader-container .modal-empty-loader .load-container{
  height: 100px;
  width: 100px;
}
.load-container .primary-loader{
  height: 30px;
  width: 30px;
  border-width: 3px;
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}
.load-container .primary-loader.loader-md{
  height: 20px;
  width: 20px;
}

.load-container .primary-loader {
  position: absolute;
  border-top: 2px solid rgba(87, 128, 206, 0.4);
  border-right: 2px solid rgba(87, 128, 206, 0.4);
  border-bottom: 2px solid rgba(87, 128, 206, 0.4);
  border-left: 2px solid #5780ce;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load 1.1s infinite linear;
  animation: load 1.1s infinite linear;
  border-radius: 50%;
}
.certificate-search-section{
	flex: 1;
}
@-webkit-keyframes load {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg)
  }
}

@keyframes load {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.skeleton-loader{
  display: flex;
  align-items: center;
}
.skeleton-loader li{
  width: 100%;
}
.skeleton-loader.material-load .content-loader {
  min-width: 50px;
  flex: 1;
  height: 7px;
  background: linear-gradient(110deg,#ececec 8%,#f5f5f5 18%,#ececec 33%);
  border-radius: 2px;
  background-size: 200% 100%;
}
.skeleton-loader.material-load .content-loader:first-child{
  flex: 0 0 33%;
}
.skeleton-loader.material-load .divider-loader {
  width: 2px;
  height: 7px;
  margin: 0 10px;
  background: linear-gradient(110deg,#ececec 8%,#f5f5f5 18%,#ececec 33%);
  background-size: 200% 100%
}

.skeleton-loader.material-load .is-load {
  animation: 1.5s shine linear infinite;
}
.error-container{
  margin: 0 -80px;
  text-align: center;
  padding: 100px 30px;
  font-size: 20px;
  height: calc(100vh - 144px);
  width: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
}
.error-container h6{
  font-size: 32px;
  font-weight: normal;
  margin-bottom: 20px;
}
.error-container p{
  font-size: 16px;
  color: rgb(46, 65, 86, 0.8);
}
.error-container svg{
  margin-bottom: 30px;
  max-width: 100%;
}
.certificate-display-section.dummy-container{
  flex: 1;
}
.certificate-display-section.dummy-container .view-container .certificate-view{
  flex: 0 0 54%;
}
  
  @media screen and (max-width: 1040px) and (min-width: 1000px) {
    
    .dummy-certificate{
        max-width: 95%;
      }
  }
@keyframes shine {
    to {
      background-position-x: -200%;
    }
  }
