@charset "utf-8";

.grid-item:nth-child(1) a .thumbnail {
  background-image: url(../../../e_examination/images/highs_ex.png);
}
.grid-item:nth-child(2) a .thumbnail {
  background-image: url(../../../e_examination/images/00317.png);
}
.grid-item:nth-child(3) a .thumbnail {
  background-image: url(../../../e_examination/images/09img20180911_02.png);
}
.grid-item:nth-child(4) a .thumbnail {
  background-image: url(../../../e_examination/images/alm.png);
}


.past_exam .flexbox {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--grid-gap);
  padding: 2em 0;
  border-bottom: 1px solid #ddd;
}
.past_exam .flexbox h3 {
  margin: 0;
  padding: 0;
  border: none;
}
.past_exam .flexbox:first-of-type {
  border-top: 1px solid #ddd;
}
.past_exam .row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--grid-gap);
}
.past_exam .btn-flat-border,
.past_exam .btn-flat-border-j {
  background-color: var(--color-font-base);
  color: var(--color-theme-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  width: 320px;
  min-height: 64px;
  margin: 0 auto;
  text-decoration: none;
  transition: var(--transition);
}
.past_exam .btn-flat-border:hover,
.past_exam .btn-flat-border-j:hover {
  opacity: .5;
}
.past_exam_table {
  width: 100%;
  border-collapse: collapse;
}
.past_exam_table th,
.past_exam_table td {
  padding: 2em !important;
  border: 1px solid #ddd !important;
  text-align: center !important;
}
.past_exam_table thead th,
.past_exam_table tbody th {
  background-color: #f5f5f5;
  font-weight: 400;
}
.past_exam_table tbody th {
  white-space: nowrap;
}


@media only screen and (max-width: 1024px) {
  .past_exam .flexbox {
    flex-direction: column;
  }
}
@media only screen and (max-width: 900px) {
  .past_exam .flexbox .row {
    flex-direction: column;
  }
}