/* 유아교육 참여기관 신청 */

/* 헤더 메뉴 항목 */
.headerMenu3 {
  color: var(--mainColor);
}

.headerMenu3 > span {
  color: var(--mainColor) !important;
  border-bottom: 3px solid var(--mainColor);
}
.headerMenu3:hover > span {
  color: var(--mainColor) !important;
  border-bottom: 3px solid var(--mainColor);
}

.headerMenu3 .subMenuLi1 > .subMenuDiv {
  background-color: var(--mainColor);
  color:var(--whiteColor);
}
.headerMenu3 .subMenuLi1 .subMenuUl > li:nth-child(2) > a {
  color: var(--mainColor);
}

/* 메뉴 항목 */
.asideMenu > li:first-child > span {
  background-color: var(--anColor);
}

.asideMenu > li:first-child > .asideSubMenu1 > li:nth-child(2) > a {
  color: var(--mainColor);
}
.asideMenu > li:first-child > .asideSubMenu1 > li:nth-child(2) > a::before {
  color: var(--mainColor);
}

.pagePsTxt {
  width: 100%;
  padding: 15px;
  background-color: var(--anColor);
  border-radius: 5px;
  color: var(--mainColor);
  font-size: 14px;
  line-height: 150%;
  font-weight: 500;
  text-align: center;
}

/* 폼 항목 */
.pageFormList {
  display: flex;
  flex-direction: column;
}

.formTit {
  width: 100%;
  text-align: center;
  padding: 12px 0;
  background-color: var(--subColor);
  border-radius: 5px;
  color: var(--txtColor);
  font-weight: 700;
  font-size: 14px;
  margin: 15px 0;
}

.formBox {
  display: flex;
  font-size: 14px;
  border-top: 1px solid var(--tableLine);
  border-left: 1px solid var(--tableLine);
  border-right: 1px solid var(--tableLine);
}

.formTitBox {
  width: 20%;
  min-height: 60px;
  background-color: var(--tableBack);
  border-right: 1px solid var(--tableLine);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-weight: 700;
  color: var(--titColor);
}

.formTextBox {
  flex: 1;
  min-height: 60px;
  display: flex;
  align-items: center;
  padding: 10px;
  color: var(--txtColor);
  font-weight: 500;
}

.formTextBox input[type="text"] {
  width: 100%;
  height: 40px;
  border: 1px solid var(--borderLine);
  padding: 0 5px;
}

/* 기관 구분 */
.formRadioBox {
  flex-direction: row;
  gap: 10px;
}

.formRadio {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 14px;
  cursor: pointer;
}
.formRadio label {
  cursor: pointer;
}

.etcRadio input[type=text] {
  width: auto;
  height: 40px;
  margin: 0 0 0 5px;
}
.etcRadio input[type=text]:disabled {
  background-color: var(--tableBack);
}

/* 주소 */
.addrTextBox {
  flex-direction: column;
  gap: 5px;
  align-items: start;
}
.addrBtn {
  flex-shrink: 0;
  width: 90px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--mainColor);
  color: white;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.addrBox {
  display: flex;
  align-items: center;
  gap: 10px;
}

.addrBox input[type="text"] {
  width: 160px;
}

/* 기관 연락처 */
.phoneNumBox {
  gap: 10px;
}
.phoneNumBox input[type=text] {
  width: 100px;
  text-align: center;
}

.borderBottom {
  border-bottom: 1px solid var(--tableLine);
}

.userPhoneNumBox {
  flex-direction: column;
  align-items: start;
}

.phonePs {
  font-size: 13px;
  color: var(--warningColor);
}

/* 신청자 이메일 */
.emailTextBox {
  gap: 10px;
}

.emailInputBox {
  display: flex;
  align-items: center;
  gap: 10px
}

.emailSelectBox {
  display: flex;
  align-items: center;
  gap: 10px;
}

.emailSelect {
  width: 200px;
  height: 40px;
  border: 1px solid var(--tableLine);
}

.emailSelectBox input[type=text] {
  width: 180px;
  display: none;
}

.formTextBox select {
  width: 160px;
  height: 40px;
  border: 1px solid var(--borderLine)
}

.formTextBox select:disabled {
  background-color: var(--tableBack);
}

.formTextBox select:disabled {
  background-color: var(--tableBack);
}

.formPsBox {
  flex-direction: column;
  padding: 10px;
  line-height: 150%;
  color: #2b6eff;
  font-weight: 500;
}

/* 연령별 참여 인원 */
.formTable {
  width: 100%;
}
.formTable table {
  width: 100%;
  border-collapse: collapse;
}
.formTable table thead th {
  width: 16%;
  height: 50px;
  background-color: var(--tableBack);
  color: var(--titColor);
  font-weight: 600;
  border-right: 1px solid var(--tableLine);
  border-bottom: 1px solid var(--tableLine);
}
.formTable table thead th:last-child {
  border-right: none;
}
.formTable table tbody td {
  height: 50px;
  text-align: center;
  border-right: 1px solid var(--tableLine);
  border-bottom: 1px solid var(--tableLine);
  padding: 10px;
}
.formTable table tbody td:last-child {
  border-right: none;
}

.tableInput input[type=text] {
  width: 100%;
  height: 35px;
  border: 1px solid var(--borderLine);
  text-align: center;
}

.tableInput input[type=text]:disabled,
.tableInput input[type=text][readonly] {
  background-color: var(--tableBack);
}

.programBox {
  display: none;
}
.classTypeSelect1 {
  display: none;
}
.classTypeSelect2 {
  display: none;
}

/* 동의 체크 */
.clauseBtns {
  margin: 30px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.clauseCheckBox {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--titColor);
  font-weight: 600;
  font-size: 15px;
}

.clauseBtns label {
  cursor: pointer;
}
.clauseBtns input[type=checkbox] {
  appearance: none;
  width: 24px;
  height: 24px;
  background-image: url(/img/icon/checkOff.png);
  background-size: cover;
  outline: none;
}
.clauseBtns input[type=checkbox]:checked {
  background-image: url(/img/icon/checkOn.png);
}

.clauseMoreBtn {
  font-size: 14px;
  text-decoration: underline;
  color: var(--titColor);
  font-weight: 500;
  cursor: pointer;
}

.pageBottomBtns {
  justify-content: center;
}

.dateTextBox {
  gap: 10px;
}
.dateTextBox input[type=date] {
  width: 150px;
  height: 40px;
  border: 1px solid var(--borderLine);
  padding: 0 10px;
}

.popupBox {
  width: 50%;
  max-width: 600px;
  min-width: 300px;
}
.popupContents {
  padding: 0 15px 15px 15px;
}

.popupHeader {
  flex-direction: row;
  justify-content: space-between;
}
.popupHeader span {
  font-weight: 500;
}

.popupContent {
  background-color: var(--tableBack);
  padding: 15px;
  font-size: 14px;
  height: 300px;
  overflow-y: auto;
}


.popupDiv {
  z-index: 99;
}

@media screen and (max-width: 800px) {
  .formRadioBox {
    flex-wrap: wrap;
  }
  .phoneNumBox .readBox {
    width: auto;
  }
  .emailTextBox .readBox {
    width: auto;
  }

  .etcRadio input[type=text] {
    width: 100px;
  }

  .formTitBox {
    width: 25%;
    font-size: 13px;
  }
  .formTextBox {
    font-size: 13px;
  }

  .popupBox {
    width: 60%;
  }
  .popupContent {
    height: 300px;
    flex: auto;
  }

  .clauseBtns {
    flex-direction: column;
  }

  .phoneNumBox input[type=text] {
    width: 50px;
  }

  .emailTextBox {
    flex-direction: column;
    align-items: start;
  }
  .formTextBox select {
    width: 100px;
  }
  .emailSelectBox input[type=text] {
    width: 100px;
  }

  .addrBox input[type="text"] {
    width: 100px;
  }

  .dateTextBox {
    flex-wrap: wrap;
  }
  .dateTextBox input[type=date] {
    width: 120px;
  }
}
