* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 1200px;
  min-height: 100vh;
  background: #f0f0f0;
  color: #000066;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: bold;
}

body.mobile-scaled {
  width: 100vw;
  min-width: 0;
  overflow-x: hidden;
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
}

.page {
  display: none;
  min-height: 100vh;
  min-height: 100dvh;
  background: #f0f0f0;
}

.page.is-active {
  display: flex;
  flex-direction: column;
}

body.mobile-scaled .page.is-active {
  width: 1200px;
  min-height: var(--mobile-page-height, 2600px);
  transform: scale(var(--mobile-scale, 1));
  transform-origin: top left;
}

.site-header {
  min-width: 1200px;
  background: url("Images/hederbg.jpg") repeat-x #082a62;
}

.header-inner {
  width: 1000px;
  height: 150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 380px 1fr 142px;
  align-items: start;
  gap: 8px;
  padding-top: 14px;
}

.result-header {
  width: 1000px;
}

.brand-block {
  padding-left: 5px;
}

.brand-block img {
  display: block;
}

.logo-title {
  width: 360px;
  color: #fff;
  font-family: Cambria, Georgia, serif;
  font-size: 18px;
  font-style: italic;
  line-height: 28px;
  white-space: nowrap;
  text-align: left;
}

.board-block {
  padding-top: 4px;
  text-align: right;
}

.board-block img {
  display: inline-block;
}

.govt {
  color: #fff;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 36px;
  text-align: right;
}

.board-logo {
  display: block;
  justify-self: end;
  margin-top: 0;
}

.yellow-strip,
.candidate-strip {
  min-width: 1200px;
  height: 24px;
  background: url("Images/yellowline.jpg") repeat-x #ffeb00;
  color: gray;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
}

.yellow-strip {
  width: 100%;
  padding-right: 100px;
  text-align: right;
  line-height: 24px;
}

.candidate-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3px 0 0;
  line-height: 12px;
}

.home-main {
  width: 950px;
  min-height: 430px;
  margin: 0 auto;
  padding-top: 28px;
  display: grid;
  grid-template-columns: 350px 300px 300px;
  gap: 0;
  flex: 1 0 auto;
}

.panel {
  width: 350px;
}

.registration {
  width: 300px;
}

.blue-panel-title {
  height: 48px;
  display: grid;
  grid-template-columns: 9px 1fr 9px;
  align-items: stretch;
}

.corner.left {
  background: url("Images/buleleftconner.png") no-repeat;
}

.corner.right {
  background: url("Images/bulerightconner.png") no-repeat;
}

.title-center {
  display: flex;
  align-items: center;
  padding: 0 0 8px 3px;
  background: url("Images/bulebgcolorcenter.png") repeat-x #06355f;
  color: #fff;
  font-size: 18px;
}

.panel-body {
  margin: 0 9px;
  background: #e4f3f3;
}

.panel-body.tall {
  height: 420px;
  padding: 12px 6px;
}

.helpdesk {
  margin: 0;
  color: #400000;
  font-size: 13px;
}

.updates {
  width: 300px;
  padding: 0 2px;
}

.yellow-card {
  min-height: 35px;
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  background: url("Images/yellowline.jpg") repeat-x #ffeb00;
  color: #000;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 16px;
  text-align: left;
}

.yellow-card.big {
  min-height: 57px;
  margin-top: 4px;
  align-items: start;
  padding-top: 4px;
}

.yellow-card.big a {
  font-size: 16px;
}

.empty-update {
  height: 119px;
  background: #e4f3f3;
}

.registration-body {
  min-height: 265px;
  padding: 0 0 16px;
  text-align: center;
}

.image-button {
  width: 246px;
  height: 34px;
  margin-top: 14px;
  border: 0;
  color: transparent;
  cursor: pointer;
}

.new-registration {
  background: url("Images/btn.png") center / contain no-repeat;
}

.forgot {
  margin-top: 18px;
  background: url("Images/btnforget.png") center / contain no-repeat;
}

.sign-button {
  width: 246px;
  height: 34px;
  margin-top: 28px;
  border: 0;
  border-radius: 8px;
  background: #061f54;
  color: #fff;
  cursor: pointer;
  font-size: medium;
  font-weight: bold;
}

.sign-button.small {
  width: 120px;
  height: 28px;
  margin-top: 8px;
  font-size: 13px;
}

.login-form {
  display: none;
  width: 246px;
  margin: 12px auto 0;
  padding: 8px;
  border: 1px solid #8bb2c1;
  background: #f8ffff;
  color: #003366;
  text-align: left;
}

.login-form.is-visible {
  display: block;
}

.login-form label {
  display: block;
  margin-bottom: 6px;
}

.login-form input {
  width: 100%;
  height: 22px;
  margin-top: 2px;
  border: 1px solid #aaa;
  color: #000;
  font-weight: normal;
}

.login-error {
  min-height: 15px;
  margin: 0;
  color: #b00000;
  font-size: 11px;
  line-height: 15px;
  text-align: center;
}

.footer {
  width: 100%;
  min-width: 1200px;
  min-height: 86px;
  margin-top: auto;
  padding-top: 13px;
  background: url("Images/hederbg.jpg") repeat-x #082a62;
  color: #fff;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 16px;
  text-align: center;
}

.footer span {
  color: red;
}

.footer img {
  height: 18px;
  vertical-align: middle;
}

.top-nav {
  min-width: 1200px;
  height: 38px;
  display: flex;
  justify-content: center;
  background: #003366;
  color: #fff;
}

.top-nav a {
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-left: 1px solid #81a1c6;
  border-right: 1px solid #001e44;
  color: #fff;
  font-size: 15px;
  text-decoration: none;
}

.result-main {
  width: 1200px;
  min-height: 427px;
  padding-top: 4px;
  flex: 1 0 auto;
}

.sub-nav {
  display: flex;
  justify-content: center;
  gap: 3px;
  align-items: stretch;
}

.sub-nav button {
  min-height: 34px;
  padding: 1px 7px;
  border: 1px solid #b9b9b9;
  background: #efefef;
  color: #000066;
  cursor: pointer;
  font-size: 15px;
  line-height: 15px;
  text-align: center;
  white-space: normal;
}

.logout-form {
  margin: 0;
}

.exam-row {
  width: 930px;
  margin: 9px auto 0;
  display: grid;
  grid-template-columns: 230px 400px;
  gap: 0;
  align-items: center;
  color: #000066;
  font-size: 16px;
}

.exam-row span {
  text-align: left;
}

.exam-row select {
  height: 23px;
  border: 1px solid #bababa;
  background: #f5f5f5;
  color: #444;
  font-weight: normal;
}

.result-title {
  margin: 6px 0 10px;
  color: #000066;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
}

.result-table {
  width: 930px;
  margin: 0 auto;
  border: 1px solid #777;
  border-collapse: separate;
  border-spacing: 2px;
  color: #000066;
  font-size: 16px;
}

.result-table th,
.result-table td {
  border: 1px solid #999;
  background: #f0f0f0;
  text-align: left;
  vertical-align: top;
}

.result-table th {
  width: 260px;
}

.result-table td {
  width: 670px;
}

.result-table .marks-row th,
.result-table .marks-row td {
  height: 64px;
  vertical-align: middle;
}

.print-cell {
  text-align: center !important;
}

.print-button {
  height: 25px;
  padding: 2px 8px;
  border: 1px solid #316085;
  background: #064171;
  color: #fff;
  cursor: pointer;
}

.result-footer {
  margin-top: auto;
}
