body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color:#ebfdf6;
}

header {
  background-color: #005838;
  padding: 12px;
}

header,
header a,
footer,
footer a {
  color: #eee;
  text-decoration: none;
}

header a:hover,
footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.logo {
  font-size: 1.2em;
}

.logo a:hover {
  text-decoration: none;
}

#header-sm {
  align-items: center;
  justify-content: space-between;
}

#header-lg {
  align-items: center;
  justify-content: space-between;
}

#hamburger {
  margin: 0.1em;
  font-size: 1.4em;
  cursor: pointer;
}

header .fa {
  margin: 0 12px;
  font-size: 1.3em;
}

#top-nav {
  margin: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  list-style-type: none;
  font-size: 1.1em;
}

#top-nav li {
  margin: 0 1em;
}

#top-nav .fa {
  display: none;
}

.wrapper {
  flex-grow: 1;
}

main {
  width: 100%;
  margin: 0 auto;
}

footer {
  width: 100%;
  background-color: #010208;
  padding: 0.2em 0;
}

footer .container > div {
  margin: 1em 0;
}

footer a {
  text-decoration: underline;
}

.container {
  background-color: inherit;
}

#slide-nav {
  background-color: #555;
  -webkit-box-shadow: 10px 0px 5px -4px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 10px 0px 5px -4px rgba(0, 0, 0, 0.75);
  box-shadow: 10px 0px 5px -4px rgba(0, 0, 0, 0.75);
}

#slide-nav {
  width: 0;
  opacity: 0;
  height: 100%;
  top: 0;
  left: 0;
  position: fixed;
  transition: 0.1s;
  z-index: -1;
}

#slide-nav ul {
  list-style-type: none;
  padding: 12px;
}

#slide-nav li {
  margin-bottom: 17px;
}

#slide-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2em;
}

#slide-nav a:hover {
  text-decoration: none;
}

#close-btn {
  color: #fff;
  font-size: 2.4rem;
  margin-top: 7px;
  margin-left: 12px;
}

.card.record-details > div.card-body > div {
  padding: 0.6em;
  border-bottom: 1px dotted var(--border);
}

.card.record-details > div.card-body > div:nth-last-child(1) {
  border: 0;
}

.card.record-details > div.card-body > div > span:nth-child(odd) {
  text-align: left;
  font-weight: bold;
}

.card.record-details > div.card-body > div > span:nth-child(even) {
  float: right;
}

.record-details .row {
  display: grid;
  grid-gap: 0;
  grid-template-columns: repeat(2, 1fr);
  border-bottom: 1px dotted var(--border);
}

.record-details .row > div {
  padding: 0.6em;
}

.record-details .row:nth-last-child(1) {
  border: 0;
}

.record-details .row > div:nth-child(odd) {
  font-weight: bold;
}

.record-details .row > div:nth-child(even) {
  text-align: right;
}

.record-details .row > .full-width {
  grid-column: 1/3;
}

.record-details .full-width > div {
  font-weight: normal;
}

.record-details .full-width div:nth-child(2) {
  margin-top: 1em;
}

@media (min-width: 1px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 24px;
  }

  h1,
  h2,
  h3 {
    text-align: center;
  }

  #header-sm {
    display: flex;
  }

  #header-lg {
    display: none;
  }
}

@media (min-width: 860px) {
  h1 {
    margin-top: 0;
    font-size: 1.2em;
	margin-bottom: 0.2em;
	text-align: center !important;
  }

  h2 {
    font-size: 2em;
  }

  h3 {
    font-size: 1em;
  }

  h1,
  h2,
  h3 {
    text-align: left;
  }

  #header-sm {
    display: none;
  }

  #header-lg {
    display: flex;
  }
}



.MCQ_container {
		max-width: 800px;
		margin: 0 auto;
		background: #fff;
		padding: 20px;
		border-radius: 8px;
		box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	}

	.MCQ_header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-bottom: 20px;
	}

	.MCQ_header img {
		max-width: 100px;
	}

	.MCQ_header .info {
		text-align: left;
		width: 82%;
	}

	.MCQ_header .info p {
		margin: 5px 0;
		line-height: 14px;
		font-size: 12px;
	}

	.MCQ_exam-time {
		position: sticky;
		top: 0;
		z-index: 1000;
		margin: 10px 0;
		background: tomato;
		color: floralwhite;
		text-align: center;
		padding: 7px 0;
		font-size: 1rem;
		border-radius: 15px;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	}

	.MCQ_details {
		margin-bottom: 20px;
		padding: 15px;
		background: #f9f9f9;
		border-radius: 8px;
		border: 1px solid #ddd;
	}

	.MCQ_details p {
		margin: 5px 0;
	}

	.MCQ_questions {
		margin-top: 20px;
	}

	.MCQ_question {
		margin-bottom: 15px;
		padding: 10px;
		background: #f9f9f9;
		border-radius: 8px;
		border: 1px solid #ddd;
	}

	.MCQ_question p {
		margin-bottom: 10px;
		line-height:23px !important;
	}

	.MCQ_question label {
		display: block;
		margin: 5px 0;
	}

	@media (max-width: 600px) {
		.MCQ_header {
			flex-direction: column;
			align-items: flex-start;
		}

		.MCQ_header .info {
			text-align: left;
		}

		.MCQ_header .info p {
			font-size: 0.9rem;
		}

		.MCQ_question {
			font-size: 0.9rem;
		}
	}