@charset "utf-8";

/* page : teacher */
.tcr-info-wrap .ilt-tbl {
  border-bottom: 1px solid var(--tbl-btm);
}

.tcr-info-wrap .ilt-tbl tbody th {
  border-bottom: 1px solid var(--tbl-body);
  background-color: var(--tbl-tby-th);
}

.tcr-info-wrap .ilt-tbl td {
  text-align: center;
  border-left: 1px solid var(--tbl-body);
}

.tcr-info-wrap .ilt-tbl .prog_subject {
  background-color: var(--tbl-tby-th);
  text-align: left;
}

.tcr-info-wrap .ilt-tbl .btm-line td, .tcr-info-wrap .ilt-tbl .group {
  border-bottom: 1px solid var(--tbl-btm);
}

.tcr-info-wrap .ilt-tbl tfoot th, .tcr-info-wrap .ilt-tbl tfoot td {
  border-bottom: 1px solid var(--tbl-btm);
  background-color: var(--tbl-yellow);
}

.tcr-info-wrap .ilt-tbl tfoot td {
  font-weight: 600;
}

.tcr-info-wrap .ilt-tbl .score {
  color: var(--primary-color);
  font-weight: 500;
}

.tcr-info-wrap .ilt-tbl .number {
  color: var(--hover-color);
}

/* page : teacher : mobile ver */
.tcr-info-wrap .tcr-info-mo {
  display: none;
  width: 100%;
  height: auto;
  border-top: 1px solid var(--tbl-top);
}

.tcr-info-wrap .tcr-info-mo dl {
  width: 100%;
  height: auto;
}

.tcr-info-wrap .tcr-info-mo dl dt {
  padding: 1.2rem 2.4rem;
  border-bottom: 1px solid var(--tbl-body);
  background-color: var(--tbl-tby-th);
  text-align: center;
  font-weight: 500;
}

.tcr-info-wrap .tcr-info-mo dl dd {
  border-bottom: 1px solid var(--tbl-body);
}

.tcr-info-wrap .tcr-info-mo dl dd ul {
  width: 100%;
  height: auto;
  color: #33363d;
}

.tcr-info-wrap .tcr-info-mo dl dd ul li {
  padding: 1.2rem 2.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tcr-info-wrap .tcr-info-mo dl dd ul li:not(:nth-child(1)) {
  border-top: 1px solid var(--tbl-body);
}

.tcr-info-wrap .tcr-info-mo dl dd ul li.score-total {
  color: var(--primary-color);
  font-weight: 500;
}

.tcr-info-wrap .tcr-info-mo .score-all-total {
  padding: 1.2rem 2.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--tbl-yellow);
  border-bottom: 1px solid var(--tbl-btm);
  font-weight: 600;
}

.tcr-info-wrap .tcr-info-mo .score-all-total .score {
  color: var(--hover-color);
}

@media (max-width: 768px) {
  .tcr-info-wrap .ilt-tbl {
    display: none;
  }

  .tcr-info-wrap .tcr-info-mo {
    display: block;
  }
}

/* modal : exam-file-upload */
#exam-file-upload .frm-file-upload {
  display: flex;
  align-items: center;
  gap: 0 .6rem;
}

#exam-file-upload .frm-file-upload .file-upload input[type="text"] {
  width: 425px;
}

#exam-file-upload .frm-file-upload .file-upload .inp-label {
  width: 95px;
}

@media (max-width: 1024px) {
  #exam-file-upload .frm-file-upload {
    flex-direction: column;
  }

  #exam-file-upload .frm-file-upload select {
    width: 100%;
  }

  #exam-file-upload .frm-file-upload .file-upload {
    margin-top: 1rem;
    width: 100%;
  }

  #exam-file-upload .frm-file-upload .file-upload input[type="text"] {
    width: calc(100% - 95px);
  }
}

/* div type table */
.div-table {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
  display: flex;
  border-top: 1px solid var(--tbl-top);
  border-bottom: 1px solid var(--tbl-btm);
}

.div-table .tbl-head {
  padding: 0 2.4rem;
  place-content: center;
  text-align: center;
  background-color: var(--tbl-tby-th);
  border-right: 1px solid var(--tbl-body);
  color: var(--primary-color);
  font-size: var(--fs20);
}

.div-table .tbl-head .title {
  font-weight: 600;
}

.div-table .tbl-body {
  flex: 1;
  width: 100%;
}

.div-table .tbl-body div[class^="tbl-td"] {
  padding: 1.2rem 2.4rem;
  color: #33363d;
}

.div-table .tbl-foot {
  padding: 0 2.4rem;
  place-content: center;
  text-align: center;
  border-left: 1px solid var(--tbl-body);
}

.div-table .tbl-foot .total {
  font-weight: 500;
  color: #1e2124;
}

.div-table .tbl-foot .total .number {
  color: var(--hover-color);
}

.div-table .tbl-foot.bg-yellow {
  background-color: var(--tbl-yellow);
}

/* page : exam status */
.status-list-wrap .tbl-head {
  width: 19%;
}

.status-list-wrap .tbl-foot {
  width: 12%;
}

/* page : exam apply */
.exam-apply-wrap .tbl-head {
  width: 19%;
}

.exam-apply-wrap .tbl-foot {
  width: 14%;
}

.exam-apply-wrap .tbl-foot .number {
  display: block;
}

@media (max-width: 1024px) {
  .div-table {
    flex-wrap: wrap;
  }

  .div-table .tbl-head {
    width: 100% !important;
    padding: 1.2rem 0;
    display: flex;
    gap: 0 1rem;
    border-right: 0;
    border-bottom: 1px solid var(--tbl-body);
  }
}

@media (max-width: 768px) {
  .div-table .tbl-body div[class^="tbl-td"] {
    padding: 1.2rem 1.6rem;
  }

  .div-table .tbl-foot {
    width: 100% !important;
    padding: 1.2rem 0;
    border-left: 0;
    border-top: 1px solid var(--tbl-body);
  }

  .exam-apply-wrap .tbl-foot .number {
    display: inline-block;
  }
}

/* page : exam items : status & apply */
.exam-items {
  width: 100%;
}

.exam-items li {
  display: grid;
  position: relative;
}

.exam-items li:not(:last-child) {
  border-bottom: 1px solid var(--tbl-body);
}

.exam-items li .prog-name {
  border-right: 1px solid var(--tbl-body);
}

.exam-items li .file-link {
  color: var(--primary-color) !important;
}

.exam-items li .prog-score {
  text-align: center;
}

.exam-items li .btn-wrap {
  position: absolute;
  top: .8rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0 .5rem;
}

.exam-items.status li {
  grid-template-columns: 30% 1fr;
}

.exam-items.apply li {
  grid-template-columns: 1fr 20%;
}

@media (max-width: 768px) {
  .exam-items li .prog-name {
    border-right: 0;
  }

  .exam-items li .file-link {
    padding-top: 0;
  }

  .exam-items li .prog-score {
    border-left: 1px solid var(--tbl-body);
  }

  .exam-items li .btn-wrap {
    position: static;
    margin-top: 1rem;
  }

  .exam-items.status li {
    grid-template-columns: 1fr;
  }

  .exam-items.apply li {
    grid-template-columns: 1fr 30%;
  }
}

/* page : exam program edit */
.edit-tit {
  display: flex;
  align-items: center;
  gap: 0 .5rem;
  margin-bottom: 1.6rem;
  color: #052561;
  font-weight: 600;
  font-size: var(--fs22);
}

.edit-tit::before {
  content: '';
  display: block;
  width: 3.2rem;
  height: 3.2rem;
  background: url(/images/dgedu/template/TI01/form/ico_list.png) center no-repeat;
}

.pg-edit-wrap .select-pg {
  font-weight: 500;
  border-bottom: 1px solid var(--tbl-body);
}

.pg-edit-wrap .pg-edit-list {
  padding: 2.6rem 0;
  display: grid;
  row-gap: 1.6rem;
}

.pg-edit-wrap .pg-edit-list input[type="text"] {
  margin: .8rem 0 0 3.4rem;
  max-width: 54.4rem;
}

@media (max-width: 768px) {
  .edit-tit {
    font-size: var(--fs20);
  }

  .pg-edit-wrap .pg-edit-list input[type="text"] {
    max-width: 90%;
  }
}
