.merciboijs-accordion {
  background-color: #f1f1f1;
  color: #444;
  cursor: pointer;
  padding: 12px 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 1.1em;
  transition: background 0.2s;
  margin-bottom: 0;
}
.merciboijs-accordion.active, .merciboijs-accordion:hover {
  background-color: #e2e2e2;
}
.merciboijs-accordion-panel {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  border: 1px solid #ddd;
  border-top: none;
  margin-bottom: 18px;
}
.merciboijs-accordion-panel.open {
  max-height: 2000px;
  transition: max-height 0.35s cubic-bezier(0,1,0,1);
}
.calligraphic-signature {
  font-family: "Dancing Script", "Pacifico", "Great Vibes", "Brush Script MT", cursive, sans-serif;
  font-size: 1.5em;
  font-weight: 400;
  letter-spacing: 1px;
  color: #2d2d2d;
  display: inline-block;
  padding: 2px 8px;
  line-height: 1.2;
}
.powered {
  text-align: right;
  padding-right: 40px;
  padding-bottom: 20px;
}

.powered-print {
  display: none;
}

@media print {
  @page bulk-result-page {
    size: 400mm 520mm;
    margin: 10mm;
  }

  body {
    page: bulk-result-page;
  }
}


@media print { 

  body * { 
    visibility: hidden !important; 
  } 

  .result_body, .result_body * { 
    visibility: visible !important; 
    box-shadow: none !important; 
  } 

  .result_body { 
    z-index: 9999 !important;
  } 

  .result_body div {
    border: none !important;
  }

.result_body h2.head {
  color: white !important;
  background: rgb(3, 62, 68) !important;
}

.result_body h2.grade-head, .result_body h2.grade-head2 {
  display: block !important;
  color: white !important;
  /* background: #3f47cd !important; */
  /* background: #0d535633 !important; */
  background: #bb9e5f !important;
}

.table-body-me {
  border: none !important;
}

th small {
  background: none !important;
}

#merciboijsResults .success {
  color: green !important;
  background: #15ff0010 !important;
}

#merciboijsResults .failed {
	color: red !important;
}

.powered {
  display: none !important;
}

.powered-print {
  display: block !important;
  padding: 40px 0 !important;
  text-align: center !important;
}
} 

@media (max-width: 900px) {
	.logo2 {
		max-width: 160px;
	}
}

select#Class, select#Exam, select#Year {
    height: auto;
}

img.portrait {
    width: 16%;
    margin-left: 42%;
    border: 1px solid grey;
    border-radius: 50%;
    margin-right: 42%;
		display: none;
}

h2.details::before {
    content: "Student's ";
}

h2.details {
	font-size: 1.2rem;
	display: none;
}

th.remarks_head {
    text-align: center !important;
}

.remarks-sign-field img {
	height: 40px !important;
}

.stamp {
	display: flex;
  margin-left: auto;
  margin-right: auto;
  width: 25%;
}

.stamp-div {
	width: 50%;
}

.stamp-date {
	display: flex;
	flex-direction: right;
}

.result-date {
	display: flex-end;
	width: 60%;
}

.result_body h2 {
	padding: 8px !important;
}

.banner .title h1  {
	font-size: calc(0.4rem + 2.1vw) !important;
	margin: 0 0 0.5vw !important;
	font-weight: 500 !important;
}

.head {
	font-size: calc(0.05rem + 2.2vw) !important;
}

.passport {
	width: 16%;
}

.passport-details {
	flex: 1;
/* 	width: ; */
}

img.portrait2 {
    /* margin: auto; */
    /* width: 100%; */
    border-radius: 50%;
    padding: 4px;
}

.table-body-me {
    display: flex;
}

table.result_details {
    /* padding: 10px; */
    margin: 10px 0 10px 0;
}

@media (max-width: 600px) {
	.stamp-date {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	
	.stamp-div {
	  width: 100%;
}
	
	.result-date {
	  width: 100%;
		text-align: center !important;
}
	
	.table-body-me {
    display: block;
}
	
	img.portrait2 {
    /* margin: auto; */
    /* width: 100%; */
    border-radius: 50%;
/*     padding: 4px; */
		width: 20%;
    margin-left: 40%;
    border: 1px solid grey;
/*     border-radius: 50%; */
    margin-right: 40%;
}
	
	.passport {
	width: 100%;
}
	
	.passport-details {
	width: 100%;
		display: block;
}
	
	}

.sub-title {
	font-style: italic;
}

#merciboijs_results {
	background-color: #24F03A;
	color: white;
	font-weight: 600;
}

h3.don {
    background-color: #045CB4;
    color: white;
    padding-bottom: 0;
    margin: 0 0 2px;
}

h5.donac {
		margin: 0;
    color: indianred;
    font-size: 0.8rem;
}

.grade-head {
  font-size: calc(0.05rem + 2.2vw) !important;
  color: #ffffff !important;
}

.grade-head2 {
  font-size: calc(0.05rem + 1.6vw) !important;
  color: #ffffff !important;
}

.head {
  display: none !important;
}
