/* ----- 목차 ----- */
/* COMMON ELEMENTS */
/* columns, responsive box,
  font, quote, box, button,
  input, form,
  table, popup, pager, tabs,
  animation, inview */

/* COMMON BLOCKS */
/* drupal, */


/* ---------------------------------------------------- */
/* -------------------- COMMON ELEMENTS -------------------- */
.background {
  background-color: #f0f4f8;
}

/* ---------- COLUMNS ---------- */
.grid_2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 32px;
}
.grid_2-1 {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-gap: 32px;
}
.grid_3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 16px 32px;
}
.grid_4 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
.grid_5 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}
@media all and (max-width: 1216px) {
  .grid_2-1 {
    grid-template-columns: 1fr;
  }
  .grid_3 {
    grid-template-columns: 1fr 1fr;
    grid-gap: 16px 24px;
  }
  .grid_4 {
    grid-template-columns: 1fr 1fr;
  }
}
@media all and (max-width: 767px) {
  .grid_2 {
    grid-template-columns: 1fr;
  }
  .grid_3 {
    grid-template-columns: 1fr;
  }
  .grid_5 {
    grid-template-columns: 1fr 1fr;
  }}

/* ---------- RESPONSIVE BOX ---------- */
.res-box-wrap {
  width: 100%;
  padding-bottom: 100%;
  position: relative;
}
.res-box {
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #f8f9fa;
}
.res-box div {
  width: 100%;
  height: 100%;
}

/* ---------- FONT ---------- */
.red {
  color: #e23c39;
}
.blue {
  color: #1a7ec0;
}
.angle {
  -webkit-text-stroke-color: #868e96;
  -webkit-text-stroke-width: 1px;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
}

h1 {
  font-weight: bold;
  font-size: 36px;
  line-height: 40px;
  color: #343a40;
}
h2 {
  font-weight: bold;
  font-size: 32px;
  line-height: 40px;
  color: #343a40;
}
h3 {
  font-weight: bold;
  font-size: 24px;
  line-height: 32px;
  color: #343a40;
}
h4 {
  font-weight: bold;
  font-size: 18px;
  line-height: 24px;
  color: #343a40;
}
p {
  font-size: 18px;
  line-height: 32px;
  color: #495057;
}
b {
  color: #1a7ec0;
  font-weight: bold;
}
@media all and (max-width: 1216px) {
  h2 {
    font-size: 28px;
    line-height: 32px;
  }
  h3 {
    font-size: 24px;
    line-height: 32px;
  }
}
@media all and (max-width: 767px) {
  h2 {
    font-size: 24px;
    line-height: 32px;
  }
  h3 {
    font-size: 20px;
    line-height: 32px;
  }
}

/* ---------- ARTICLE ---------- */
.noresult {
  padding: 72px 32px;
  text-align: center;
}

article .content ul,
article .content ol {
  font-size: 18px;
  line-height: 24px;
  color: #495057;
}
article .content ul li {
  list-style-type: disc;
  list-style-position: inside;
}
article .content ol li {
  list-style-type: inherit;
  list-style-position: inside;
}
article .content ul ul {
  margin-left: 24px;
}

article .content a {
  color: #1a7ec0;
}
article .content a:hover {
  text-decoration: underline;
}

article .content img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

/* 첨부파일 */
article .content .file-wrap {
  padding: 24px;
  border-top: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 4px;
  font-size: 18px;
  line-height: 24px;
  margin-top: 64px;
}
article .content .file-wrap .left {
  font-weight: bold;
  color: #343a40;
}
article .content .file-wrap span:not(.file) {
  color: #495057;
}

@media all and (max-width: 767px) {
  article .content .file-wrap {
    margin-top: 40px;
    padding: 16px 0;
  }
}

/* 이전글 다음글 */
article .footer .table {
  border: none;
}
article .footer .table a:first-child dl {
  border-bottom: 1px solid #343a40;
  margin-top: 64px;
}
article .footer .table a:last-child dl {
  border-bottom: none;
}
article .footer .table dl {
  grid-template-columns: auto 1fr;
  grid-gap: 4px;
  padding: 24px;
  text-align: left;
  transition: background-color 0.4s;
}
article .footer .table dl:hover {
  background-color: rgba(222, 226, 230, 0.2);
  transition: background-color 0.4s;
}
article .footer .table dt {
  font-weight: bold;
  font-size: 18px;
  line-height: 24px;
}
article .footer .table dl dd:hover {
  text-decoration: underline;
}
@media all and (max-width: 767px) {
  article .footer .table dl {
    padding: 16px;
  }
}

/* ---------- QUOTE ---------- */
.quote {
  position: relative;
  padding-top: 40px;
  word-break: keep-all;
}
.quote::before {
  content: '';
  width: 32px;
  height: 40px;
  display: inline-block;
  background: url('../../img/quote.svg') no-repeat 50% 50%;
  background-size: contain;
  position: absolute;
  top: 0;
  transform: translateX(-100%);
}
@media all and (max-width: 1216px) {
  .quote {
    padding-top: 32px;
  }
  .quote::before {
    width: 28px;
    height: 32px;
  }
}
@media all and (max-width: 767px) {
  .quote {
    padding-top: 32px;
  }
  .quote::before {
    width: 24px;
    height: 32px;
  }
}

/* ---------- BOX ---------- */
.box {
  padding: 16px 0;
  border: 1px solid #1a7ec0;
  border-radius: 40px;
  text-align: center;
}
.box2 {
  padding: 16px 0;
  border: 1px solid #ced4da;
  border-radius: 40px;
  text-align: center;
  background-color: #f0f4f8;;
}
.box2.no-radius {
  border-radius: 0;
  padding: 16px;
  text-align: left;
}
.box3 {
  padding: 36px 0;
  border: 1px solid #7ec6f5;
  border-radius: 4px;
}
.box4 {
  height: 64px;
  padding: 0 24px;
  background-color: #f0f4f8;
  border-bottom: 2px solid #343a40;
  font-size: 18px;
  line-height: 24px;
  color: #343a40;
  display: flex;
  align-items: center;
  word-break: keep-all;
}
.box5 {
  padding: 24px 16px;
  border: 1px solid #dee2e6;
  border-radius: 40px;
  font-weight: bold;
  font-size: 18px;
  line-height: 24px;
  color: #495057;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  word-break: keep-all;
}
.box6 {
  padding: 32px 16px;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  text-align: center;
  font-size: 18px;
  line-height: 24px;
  color: #495057;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.box6 span {
  width: 40px;
  height: 40px;
  background-color: #1a7ec0;
  border-radius: 50%;
  border: 4px solid #fff;
  font-weight: bold;
  font-family: Poppins;
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 8px;
  transform: translate(0%, -50%);
}

.box-black {
  background-color: #343a40;
  border-radius: 2px;
  width: 32px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 12px;
  line-height: 24px;
  color: #fff;
}
.box-blue {
  background-color: #1a7ec0;
  border-radius: 2px;
  padding: 0 .8rem;
  min-width: 64px;
  height: 24px;
  display: inline-block;
  text-align: center;
  font-family: Poppins;
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
  color: #fff;
}
.box-blue > div {
  display: flex;
  align-items: center;
  justify-content: center;
}
.box-blue > div > div:after {
  content: '・';
}
.box-blue > div > div:last-child:after {
  content: '';
  display: none;
}
.box-blue2 {
  border: 1px solid #1a7ec0;
  border-radius: 2px;
  width: 64px;
  height: 24px;
  display: inline-block;
  text-align: center;
  font-family: Poppins;
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
  color: #1a7ec0;
}

@media all and (max-width: 767px) {
  .box5 {
    padding: 16px;
  }
}

/* ---------- BUTTON ----------- */
.btn-blue {
  padding: 12px 64px;
  border: 1px solid #1a7ec0;
  border-radius: 4px;
  background-color: #fff;
  color: #1a7ec0;
  font-weight: bold;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  display: inline-block;
  cursor: pointer;
}
.btn-blue:hover {
  background-color: #1a7ec0;
  color: #fff;
  transition: all 0.4s;
}

.btn-blue2 {
  padding: 12px 32px;
  background-color: #1a7ec0 !important;
  border: none;
  border-radius: 4px;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  line-height: 24px;
  display: inline-block;
  cursor: pointer;
}
.btn-blue2:hover {
  background-color: #0e4366 !important;
  transition: all 0.4s;
}

.btn-white {
  padding: 8px 32px;
  background-color: #fff !important;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
  color: #0e4366;
  display: inline-block;
  cursor: pointer;
}
.btn-multi {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
}
.btn-more {
  padding: 0 12px;
  border: 1px solid #ced4da;
  border-radius: 66px;
  background-color: #fff;
  font-weight: 500;
  font-size: 12px;
  line-height: 24px;
  color: #1a7ec0;
  display: inline-block;
  cursor: pointer;
}
.btn-more img {
  margin-left: 4px;
}
.btn-more:hover {
  border: 1px solid #1a7ec0;
  transition: all 0.4s;
}

@media all and (max-width: 767px) {
  .btn-blue {
    width: 100%;
  }
}

/* ---------- INPUT ---------- */
/* input */
form.webform-submission-form input[type='text'],
form.webform-submission-form input[type='password'],
form.webform-submission-form input[type='number'],
form.webform-submission-form input[type='tel'],
form.webform-submission-form input[type='email'],
form.webform-submission-form input[type='url'],
form.webform-submission-form select {
 max-width: 384px;
}
form.webform-submission-form textarea {
  max-width: 696px;
}
input {
  padding: 7px 16px;
  border: 1px solid #adb5bd;
  border-radius: 4px;
  font-size: 16px;
  line-height: 24px;
  color: #343a40;
  -webkit-appearance: none;
}
input:focus {
  outline: none;
}
input::placeholder {
  font-size: 16px;
  line-height: 24px;
  color: #868e96;
}

input:read-only {
  background-color: #e9ecef;
}

/* textarea */
textarea {
  padding: 8px 16px;
  border: 1px solid #adb5bd;
  border-radius: 4px;
  font-size: 16px;
  line-height: 24px;
  color: #343a40;
  resize: none;
  -webkit-appearance: none;
}
textarea:focus {
  outline: none;
}
textarea::placeholder {
  font-size: 16px;
  line-height: 24px;
  color: #868e96;
}
textarea::-webkit-scrollbar {
  display: none;
}

textarea.error,
.error textarea {
  border: 1px solid #e23c39;
}
#edit-location-error,
#edit-contents-error {
  display: block;
}
.text-count-wrapper .text-count-message {
  font-size: 14px;
  color: #999;
}
.text-count-wrapper .text-count-message .text-count {
  font-weight: bold;
}

/* checkbox */
.js-form-type-checkbox {
  display: grid !important;
  grid-template-columns: auto 1fr !important;
  grid-gap: 0 !important;
  padding: 0 !important;
  border-bottom: none !important;
  position: relative;
  margin-left: 24px !important;
}
input[type='checkbox'] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}
.js-form-type-checkbox label.option {
  /*display: flex;*/
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
  word-break: keep-all;
  font-size: 14px;
  line-height: 24px;
  color: #343a40;
  margin: 0 !important;
}
.js-form-type-checkbox label.option a {
  font-size: 14px;
  line-height: 24px;
  color: #343a40;
  text-decoration: underline;
}
.js-form-type-checkbox label.option:before {
  content: '';
  width: 16px;
  height: 16px;
  display: inline-block;
  border-radius: 2px;
  background-color: #fff;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
  border: 1px solid #ced4da;
  text-align: center;
  line-height: 19px;
  position: absolute;
  left: 0;
  top: 3px;
  margin-left: -24px;
}
input[type='checkbox']:checked + label:before {
  content: '\2713';
  color: #343a40;
  width: 16px;
  height: 16px;
  border-radius: 2px;
  border: 1px solid #343a40;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 3px;
  margin-left: -24px;
}
label.option span {
  font-size: 14px;
  line-height: 24px;
  color: #fff;
}

/*.checked {*/
/*  width: 16px;*/
/*  height: 16px;*/
/*  background: url("../../img/check.svg") no-repeat 50% 50%;*/
/*  background-size: 80%;*/
/*  position: absolute;*/
/*  left: 1px;*/
/*}*/
.js-form-type-checkbox.checked label:before {
  content: '\2713';
  color: #343a40;
  width: 16px;
  height: 16px;
  border-radius: 2px;
  border: 1px solid #343a40;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 3px;
  margin-left: -24px;
}

.js-form-type-checkbox .help-block {
  display: none !important;
}
.js-form-type-checkbox.error label.option {
  color: #e23c39 !important;
}
.js-form-type-checkbox.error label.option:before {
  border-color: #e23c39;
}

/* radio */
.js-form-type-radio {
  display: grid !important;
  grid-template-columns: auto 1fr !important;
  grid-gap: 0 !important;
  padding: 0 !important;
  border-bottom: none !important;
  position: relative;
  margin-left: 24px !important;
}
.js-form-type-radio:not(:last-child) {
  margin-right: 32px;
}
input[type='radio'] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}
.js-form-type-radio label.option {
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
  word-break: keep-all;
  font-size: 14px !important;
  line-height: 24px !important;
  font-weight: normal !important;
  color: #495057 !important;
  margin: 0 !important;
}
.js-form-type-radio label.option a {
  font-size: 14px;
  line-height: 24px;
  color: #343a40;
  text-decoration: underline;
}
.js-form-type-radio label.option:before {
  content: '';
  width: 16px;
  height: 16px;
  display: inline-block;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
  border: 1px solid #ced4da;
  text-align: center;
  line-height: 19px;
  position: absolute;
  left: 0;
  top: 3px;
  margin-left: -24px;
}
.js-form-type-radio input[type='radio']:checked + label:before {
  content: '●';
  color: #343a40;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #343a40;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 3px;
  margin-left: -24px;
}
.js-form-type-radio.checked label:before {
  content: '●';
  color: #343a40;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #343a40;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 3px;
  margin-left: -24px;
}
.webform-options-display-buttons .js-form-type-radio input[type='radio']+label {
  padding: 10px 16px;
}
.webform-options-display-buttons .js-form-type-radio label.option:before,
.webform-options-display-buttons .js-form-type-radio input[type='radio']:checked + label:before {
  display: none;
}
.webform-options-display-buttons .webform-options-display-buttons-wrapper {
  margin: 0 10px 0 0;
}
.webform-options-display-buttons .form-item {
  margin-left: 0 !important;
}

.js-form-type-radio .help-block {
  display: none !important;
}
.js-form-type-radio.error label.option {
  color: #e23c39 !important;
}
.js-form-type-radio.error label.option:before {
  border-color: #e23c39;
}
#webform_application form label.error {
  font-size: 14px;
  font-weight: normal;
  grid-column: 2/3;
  color: #e23c39 !important;
}

/* select */
select {
  cursor: pointer;
  width: 100%;
  height: 40px;
  border: 1px solid #adb5bd;
  border-radius: 4px;
  background: url('../../img/select.svg') no-repeat calc(100% - 16px) 50%, #fff;
  padding: 8px 56px 8px 16px;
  color: #868e96;
  font-size: 16px;
  line-height: 24px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
select:focus {
  outline: none;
}
.select {
  position: relative;
  display: table;
  overflow: hidden;
}
.select::after {
  content: '';
  width: 1px;
  height: 40px;
  background-color: #adb5bd;
  position: absolute;
  top: 0;
  right: 40px;
}

.select.selected select {
  color: #343a40;
}

.select.error select,
#textbookSort1-wrapper.error select,
#textbookSort2-wrapper.error select,
#textbookBranch-wrapper.error select {
  border: 1px solid #e23c39;
}
.select.error::after,
#textbookSort1-wrapper.error .select::after,
#textbookSort2-wrapper.error .select::after,
#textbookBranch-wrapper.error .select::after {
  content: '';
  width: 1px;
  height: 40px;
  background-color: #e23c39;
  position: absolute;
  top: 0;
  right: 40px;
}
.select.error select,
#textbookSort1-wrapper.error select,
#textbookSort2-wrapper.error select,
#textbookBranch-wrapper.error select {
  background: url('../../img/select-error.svg') no-repeat calc(100% - 16px) 50%, #fff;
}

.select .error-message {
  /*color: #e23c39;*/
  /*font-style: normal;*/
  /*font-size: 14px;*/
  /*line-height: 24px;*/
  /*pointer-events: none;*/
  /*display: block;*/
  /*margin-top: 8px;*/
  display: none !important;
}
.select .help-block {
  display: none !important;
}
/* select2 library */
.select2 {
  height: 40px;
}
.select2-container--default .select2-selection--single {
  height: 40px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 40px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 40px;
}

/* date */
.js-form-type-date {
  position: relative;
}
input[type=date]::after {
  content: '';
  width: 1px;
  height: 40px;
  background-color: #adb5bd;
  position: absolute;
  right: 40px;
  top: 0;
}
input[type=date] {
  width: 100%;
  height: 40px;
  cursor: pointer;
  background: url('../../img/date.svg') no-repeat calc(100% - 14px) 50%, #fff;
  color: #868e96;
}
input[type=date]::-webkit-calendar-picker-indicator {
  opacity: 0;
  visibility: none;
}
input[type=date].valid {
  color: #343a40;
}

input[type=date].error::after {
  content: '';
  width: 1px;
  height: 40px;
  background-color: #e23c39;
  position: absolute;
  right: 40px;
  top: 0;
}
input[type=date].error {
  background: url('../../img/date-error.svg') no-repeat calc(100% - 14px) 50%, #fff;
}

/* time */
.js-form-type-webform-time {
  position: relative;
}
input[type=time]::after {
  content: '';
  width: 1px;
  height: 40px;
  background-color: #adb5bd;
  position: absolute;
  right: 40px;
  top: 0;
}
input[type=time] {
  width: 100%;
  height: 40px;
  background: url('../../img/time.svg') no-repeat calc(100% - 12px) 50%, #fff;
  background-size: 16px;
  cursor: pointer;
  color: #868e96;
}
input[type=time]::-webkit-calendar-picker-indicator {
  opacity: 0;
  visibility: none;
}
input[type=time].valid {
  color: #343a40;
}

input[type=time].error::after {
  content: '';
  width: 1px;
  height: 40px;
  background-color: #e23c39;
  position: absolute;
  right: 40px;
  top: 0;
}
input[type=time].error {
  background: url('../../img/time-error.svg') no-repeat calc(100% - 12px) 50%, #fff;
  background-size: 16px;
}

/* file */
.filebox .fakefile {
  position: relative;
}
.filebox .upload-name {
  height: 40px;
  width: 100%;
  padding: 8px 16px;
  border: 1px solid #adb5bd;
  background-color: #fff !important;
  color: #868e96;
}
.filebox label {
  height: 32px;
  padding: 4px 16px;
  background-color: #495057;
  border-radius: 4px;
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 14px !important;
  line-height: 24px !important;
  font-weight: normal !important;
  cursor: pointer;
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  transition: background-color 0.4s;
}
.filebox label:hover {
  background-color: #343a40;
  transition: background-color 0.4s;
}

.filebox input[type='file'] {
  position: absolute;
  width: 0;
  height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
}

div[id*='ajax'] div[role='contentinfo'][aria-label='상태 메시지'] {
  display: none;
}
.js-form-type-managed-file span{
  color: #868e96;
}
.js-form-type-managed-file .file a {
  color: #343a40;
}
.js-form-type-managed-file .file a:hover {
  text-decoration: underline;
}
.js-form-type-managed-file input[id*='remove'] {
  padding: 4px 16px;
  display: inline-block;
  background-color: #495057 !important;
  border: none;
  border-radius: 4px;
  vertical-align: middle;
  color: #fff;
  font-size: 14px;
  line-height: 24px;
  margin-left: 8px;
  cursor: pointer;
  transition: background-color 0.4s;
}
.js-form-type-managed-file input[id*='remove']:hover {
  background-color: #343a40 !important;
  transition: background-color 0.4s;
}

.form-managed-file.error .filebox .upload-name {
  border-color: #e23c39;
}
.js-form-managed-file .messages {
  color: #e23c39;
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 8px;
  display: block;
}


/* passView */
.passView {
  width: auto;
  height: 21px;
  line-height: 21px;
  padding: 0 8px;
  display: inline;
  margin-left: 8px;
  cursor: pointer;
  font-size: 14px;
  text-align: center;
  transition: all 0.4s;
}
.passView:hover {
  background-color: #1a7ec0;
  color: #fff;
  transition: all 0.4s;
}

/* error */
input.error {
  border: 1px solid #e23c39;
}
.help-block {
  grid-column: 2/3;
  color: #e23c39;
  font-style: normal;
  font-size: 14px;
  line-height: 24px;
  margin-top: 8px;
  display: block;
}
@media all and (max-width: 767px) {
  .help-block {
    grid-column: 1/2;
  }
}

/* ---------- FORM ---------- */
.form-required:after {
  content: '*' !important;
  background-image: none !important;
  color: #1a7ec0 !important;
  margin: 0 0 0 4px !important;
  width: auto !important;
  height: auto !important;
  vertical-align: unset !important;
}
form .description {
  font-size: 16px;
  line-height: 24px;
  color: #868e96;
  display: block;
  grid-column: 2/3;
  margin-top: 8px;
  word-break: keep-all;
}
form .description a {
  color: #1a7ec0;
}
form .description a:hover {
  text-decoration: underline;
}

@media all and (max-width: 767px) {
  form .description {
    grid-column: 1/2;
  }
}


/* ---------- TABLE ----------- */
.table {
  border-top: 1px solid #343a40;
}
.table dl {
  padding: 16px 24px;
  border-bottom: 1px solid #dee2e6;
  display: grid;
  grid-template-columns: 1fr 11fr;
  grid-gap: 32px;
}
.table dt {
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
  color: #343a40;
}
.table dd {
  font-size: 16px;
  line-height: 24px;
  color: #495057;
}
@media all and (max-width: 1216px) {
  .table dl {
    grid-template-columns: 1fr 5fr;
  }
}
@media all and (max-width: 767px) {
  .table dl {
    grid-template-columns: 1fr;
  }
}

.table a {
  color: #495057;
}

/* ---------- POPUP ---------- */
.popup-btn {
  cursor: pointer;
}

.popup-wrap {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  align-items: center;
  justify-content: center;
  background-color: rgba(52, 58, 64, 0.8);
  z-index: 110;
  display: none;
}
.popup-wrap.active {
  display: flex;
}
.popup-wrap .popup {
  max-width: 800px;
  width: 90%;
  max-height: 900px;
  background-color: #fff;
  overflow: hidden;
}

.popup-wrap .popup .close {
  cursor: pointer;
  position: absolute;
  right: 32px;
}

.popup-wrap .popup .top {
  border-bottom: 1px solid #dee2e6;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  background: #fff;
  max-width: 800px;
  width: 90%;
  border-radius: 16px 16px 0 0;
}

.popup-wrap .popup .bottom {
  padding: 2rem;
  margin-top: 81px;
  max-height: 70vh;
  overflow: auto;
}
.popup-wrap .popup .bottom::-webkit-scrollbar {
  width: 6px;
}
.popup-wrap .popup .bottom::-webkit-scrollbar-track {
  background-color: transparent;
}
.popup-wrap .popup .bottom::-webkit-scrollbar-thumb {
  background-color: rgba(73, 80, 87, 0.4);
  border-radius: 3px;
}

.popup-wrap .popup .bottom img {
  width: 100%;
  height: auto;
}

@media all and (max-width: 767px) {
  .popup-wrap .popup {
    position: absolute;
    top: 5%;
  }
  .popup-wrap .popup .top {
    padding: 16px;
  }
  .popup-wrap .popup .close {
    right: 16px;
    width: 16px;
    height: 16px;
  }
  .popup-wrap .popup .bottom {
    margin-top: 57px;
  }
}


/* ---------- PAGER ---------- */
.pager {
  width: 1216px;
  margin: 48px auto 0;
}
.pager .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.pager ul {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  float: left;
}
.pager ul::after {
  content: '';
  display: block;
  clear: both;
}
.pager ul li {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
}
.pager ul li a {
  width: 100%;
  height: 100%;
  font-size: 1rem;
  line-height: 1.5rem;
  color: #343a40;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pager li:hover {
  background-color: rgba(222, 226, 230, 0.3);
  transition: all 0.4s;
}
.pager ul li span {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
}
.pager ul li.pager__item--ellipsis:hover {
  background-color: transparent;
}

.pager ul li.pager__item--first a {
  text-indent: -99999px;
  background: url('../../img/pager-first.svg') no-repeat 50% 50%;
}
.pager ul li.pager__item--previous a {
  text-indent: -99999px;
  background: url('../../img/pager-prev.svg') no-repeat 50% 50%;
}
.pager ul li.pager__item--next a {
  text-indent: -99999px;
  background: url('../../img/pager-next.svg') no-repeat 50% 50%;
}
.pager ul li.pager__item--last a {
  text-indent: -99999px;
  background: url('../../img/pager-last.svg') no-repeat 50% 50%;
}

.pager ul li.is-active a {
  background-color: #1a7ec0;
  color: #fff;
  border-radius: 50%;
}
.pager a:focus {
  outline: none;
}


@media all and (max-width: 1216px) {
  .pager {
    width: 90%;
  }
}
@media all and (max-width: 767px) {
  .pager {
    margin: 24px auto 0;
  }
  .pager ul li {
    width: 40px;
    height: 40px;
    position: relative;
    float: left;
  }
  .pager ul li a {
    position: absolute;
  }
  .pager ul li span {
    width: 100%;
    height: 100%;
  }
  .pager ul li::after {
    content: '';
    display: block;
    clear: both;
  }

  .pager ul.pager-left {
    width: calc(100% * 2/9);
  }
  .pager ul.number-wrap {
    width: calc( 100% * 5/9);
  }
  .pager ul.pager-right {
    width: calc( 100% * 2/9);
  }
  .pager ul.pager-left li {
    width: calc(100% / 2);
    padding-bottom: calc(100% / 2);
  }
  .pager ul.number-wrap li {
    width: calc(100% / 5);
    padding-bottom: calc(100% / 5 );
  }
  .pager ul.pager-right li {
    width: calc(100% / 2);
    padding-bottom: calc(100% / 2);
  }

}

/* ---------- TABS ---------- */
.tabs .tab {
  cursor: pointer;
}
.tab-content li {
  display: none;
}
.tab-content li.active {
  display: block;
}


/* ---------- ANIMATION ---------- */
@keyframes swing {
  0% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(8px);
  }
}

/* ---------- INVIEW ---------- */
.fadeinup {
  transform: translateY(40px);
  opacity: 0;
  transition-property: transform, opacity;
  transition-duration: 1.4s, 1s;
}
.fadeinup.active {
  opacity: 1;
  transform: translateY(0px);
}


/* ---------------------------------------------------- */
/* -------------------- COMMON BLOCKS -------------------- */

/* -------------------- DRUPAL -------------------- */
/* ----- NAVIGATION ----- */
#block-kace-local-tasks {
  display: none;
}
body.drupal #block-kace-local-tasks {
  display: block;
  z-index: 100;
  position: fixed;
  bottom: 0;
  background-color: #fff;
  border-radius: 0 20px 0 0;
  box-shadow: 0 -3px 3px rgba(0, 0, 0, .2);
  overflow: hidden;
}
#block-kace-local-tasks ul {
  margin: 0;
}
#block-kace-local-tasks ul li {
  margin: 0;
  display: inline-block;
}
#block-kace-local-tasks ul li a {
  padding: 8px 16px;
  color: #343a40;
  display: block;
}
#block-kace-local-tasks ul li a.is-active {
  background-color: #eee;
}

/* ----- ALERT ----- */
div[data-drupal-messages] {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  max-width: 1216px;
  margin: 0 auto;
  line-height: 1.8;
}
div[role='contentinfo'] > div {
  padding: 1.4rem;
  border: solid 1px;
}
div[role='contentinfo'] a {
  font-weight: bold;
  text-decoration: underline;
}
/* 경고 */
div[aria-label='경고 메시지'] {
  padding: 1.4rem;
  border: solid 1px;
  background-color: rgba(255, 227, 227, 1);
  color: #e23c39;
  border: solid 1px #a20e0b;
}
div[role='contentinfo'] div[role='alert'] {
  background-color: rgba(255, 227, 227, 1);
  color: #e23c39;
  border: solid 1px #a20e0b;
}
div[role='contentinfo'] div[role='alert'] a {
  color: #e23c39;
}
/* 정보제공 */
div[role='contentinfo'] div[role='contentinfo'] {
  background-color: rgba(234, 248, 198, 0.8);
  color: #65870a;
  border: solid 1px #65870a;
}
div[role='contentinfo'] div[role='contentinfo'] a {
  color: #65870a;
}

div[role='contentinfo'][aria-label='상태 메시지'] {
  background-color: rgba(234, 248, 198, 0.8);
  color: #65870a;
  padding: 1.4rem;
  border: solid 1px #65870a;
}
div[role='contentinfo'][aria-label='상태 메시지'] a {
  color: #65870a;
}
/* 상태 */
div[role='contentinfo'] div[role='status'] {
  background-color: rgba(150, 183, 209, 0.8);
  color: #14598f;
  border: solid 1px #14598f;
}
div[role='contentinfo'] div[role='status'] a {
  color: #14598f;
}


/* -------------------- SUBPAGE HEADER -------------------- */
/* ----- TYPE 1 : 총개수, 검색 ----- */
.views-element-container {
  width: 90%;
  max-width: 1216px;
  margin: auto;
}

/* ----- TYPE 2 : 메뉴, 총개수, 검색 ----- */
.views-element-container header {
  position: relative;
  border-bottom: 4px solid #343a40;
  padding-bottom: 12px;
}

/* tabs */
.views-element-container header .select::after {
  display: none;
}
.views-element-container header .form-select ul {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}
.views-element-container header .form-select ul li:not(:last-child) {
  margin-right: 32px;
}
.views-element-container header .form-select ul li a {
  font-size: 18px;
  line-height: 24px;
  color: #adb5bd;
  cursor: pointer;
}
.views-element-container header .form-select ul li a:hover {
  color: #343a40;
  transition: all 0.4s;
}
.views-element-container header .form-select ul li a.bef-link--selected {
  font-weight: bold;
  color: #343a40;
  position: relative;
}
.views-element-container header .form-select ul li a::after {
  content: '';
  width: 0;
  height: 4px;
  background-color: #1a7ec0;
  position: absolute;
  bottom: -4px;
  left: 50%;
  transition: all 0.4s;
}
.views-element-container header .form-select ul li a.bef-link--selected::after {
  content: '';
  width: 100%;
  height: 4px;
  background-color: #1a7ec0;
  position: absolute;
  bottom: -4px;
  left: 0;
  transition: all 0.4s;
}

/* search */
.views-element-container header .form-item-keys input {
  position: absolute;
  bottom: 12px;
  right: 40px;
  width: 240px;
  height: 40px;
  border: 1px solid #adb5bd;
  border-right: none;
  border-radius: 4px 0 0 4px;
}
.views-element-container header .form-submit {
  display: block;
  position: absolute;
  bottom: 12px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 0 4px 4px 0;
  background-image: url('../../img/subpage-search.svg');
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: #28282b;
  cursor: pointer;
  border: none;
  text-indent: -99999px;
  margin: 0;
}

/* count */
.views-element-container header .count {
  font-size: 16px;
  line-height: 24px;
  color: #343a40;
  height: 40px;
  display: flex;
  align-items: center;
}
.views-element-container header .count span {
  color: #1a7ec0;
  font-weight: bold;
  margin-left: 4px;
}

/* ----- TYPE 3 : 메뉴, 총개수, 협의회선택, 검색 ----- */
.views-element-container header .select-wrap {
  position: absolute;
  right: 288px;
  width: 152px;
}
.views-element-container header .select-wrap .select {
  width: 100%;
}
.views-element-container header .select-wrap::after {
  content: '';
  width: 1px;
  height: 40px;
  background-color: #adb5bd;
  position: absolute;
  top: 0;
  right: 40px;
}

@media all and (max-width: 767px ) {
  /* ----- TYPE 2 : 메뉴, 총개수, 검색 ----- */
  .views-element-container header {
    padding-bottom: 52px;
  }
  .views-element-container header .form-select ul {
    margin-bottom: 16px;
    padding-bottom: 4px;
    white-space: nowrap;
    justify-content: flex-start;
    overflow: auto;
    margin-left: -5vw;
    margin-right: -5vw;
    padding-left: 5vw;
    padding-right: 5vw;
  }
  .views-element-container header .form-select ul::-webkit-scrollbar {
    display: none;
  }
  .views-element-container header .form-item-keys input {
    width: calc(100% - 40px);
    bottom: 12px;
  }
  .views-element-container header .form-submit {
    bottom: 12px;
  }

  /* ----- TYPE 3 : 메뉴, 총개수, 협의회선택, 검색 ----- */
  .views-element-container header .count {
    margin-bottom: 8px;
  }
  .views-element-container header .select-wrap {
    right: 0;
    bottom: 60px;
  }
}

/* -------------------- SUBPAGE TEASER -------------------- */
/* ----- type 1: 태그, 제목, info ----- */
.views-element-container article {
  position: relative;
}
.views-element-container article .teaser {
  border-bottom: 1px solid #dee2e6;
  padding: 32px 24px;
  display: grid;
  transition: background-color 0.4s;
}
.views-element-container article .teaser:hover {
  background-color: rgba(222, 226, 230, 0.2);
  transition: background-color 0.4s;
}
.views-element-container .blazy--grid article .teaser {
  border-bottom: none;
}
.views-element-container .blazy--grid article .teaser:hover {
  background-color: transparent;
}

/* tags */
.views-element-container article .teaser .tags,
article .article.type2 header .tags {
  display: flex;
  align-items: center;
  font-size: 14px;
  line-height: 24px;
}
.views-element-container article .teaser .box-blue,
article .article header .box-blue {
  font-size: 14px;
  line-height: 24px;
  margin-right: 8px;
}
.views-element-container article .teaser .box-blue2,
article .article header .box-blue2 {
  font-size: 14px;
  line-height: 24px;
}
.views-element-container article .teaser .tags a,
article .article header .tags a {
  pointer-events: none;
  color: #fff;
}
article.before .box-blue2,
article.after .box-blue2 {
  color: #adb5bd;
  border: 1px solid #adb5bd;
}
.views-element-container article .teaser .box-disabled,
article .article header .box-disabled,
article.before .box-disabled,
article.after .box-disabled{
  background-color: #ccc;
  color: #666;
  border-color: solid 1px #888;
  border-radius: 2px;
  width: 64px;
  height: 24px;
  display: inline-block;
  text-align: center;
  font-family: Poppins;
  font-style: normal;
  font-weight: bold;
}

/* title */
.views-element-container article .teaser h4 {
  display: inline-block;
}
.views-element-container article .teaser .title {
  color: #343a40;
  margin: 8px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.views-element-container article .teaser .title:hover {
  text-decoration: underline;
}

/* info 세로형 */
.views-element-container article .teaser .info dl,
article .article header .info dl {
  font-size: 14px;
  line-height: 24px;
  display: flex;
  align-items: center;
}
.views-element-container article .teaser .info dt,
article .article header .info dt {
  color: #868e96;
  white-space:nowrap;
  width: 60px;
}
.views-element-container article .teaser .info a,
article .article header .info dl a {
  color: #495057;
}
.views-element-container article .teaser .info dd,
article .article header .info dd {
  color: #495057;
  margin-left: 24px;
}

@media all and (max-width: 767px) {
  .views-element-container article .teaser {
    padding: 24px 0;
  }
  .views-element-container article .teaser .info dd {
    margin-left: 8px;
  }
}
/* 서울2 조회수 제거 예외처리 */
.page-sosig .branch_3 .views-element-container article .teaser .info dl:nth-child(2):after,
.page-node-type-article .branch_3 article .article.type1 header .info dl:nth-child(2):after {
  display: none;
}
.page-sosig .branch_3 .views-element-container article .teaser .info dl:nth-child(3),
.page-node-type-article .branch_3 article .article.type1 header .info dl:nth-child(3) {
  display: none;
}

/* info2 가로형 */
.views-element-container article .teaser .info2 dl,
article .article header .info2 dl {
  float: left;
}
.views-element-container article .teaser .info2 a,
.views-element-container article .teaser .info2 dd,
article .article header .info2 a,
article .article header .info2 dd {
  margin-left: 4px;
}
.views-element-container article .teaser .info2 dl:not(:last-child)::after,
article .article header .info2 dl:not(:last-child)::after {
  content: '';
  display: inline-block;
  width: 1px;
  height: 12px;
  background-color: #dee2e6;
  margin: 0 8px;
}

/* ----- type 3: 썸네일(big), 태그, 제목, info ----- */
.views-element-container .views-row.type-thumb {
  padding-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-gap: 64px 32px;
}

.views-element-container .views-row.type-thumb article .teaser {
  border: none;
  padding: 0;
}
.views-element-container .views-row.type-thumb article .teaser:hover {
  background-color: #fff;
}

.views-element-container article .teaser .img {
  margin-bottom: 24px;
}
.views-element-container .views-row.type-thumb article .teaser:hover img {
  box-shadow: 0 4px 12px rgba(186, 199, 213, 0.5);
  transition: all 0.4s;
}
.views-element-container article .teaser img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s;
}

@media all and (max-width: 1216px) {
  .views-element-container .views-row.type-thumb {
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 48px 32px;
  }
}
@media all and (max-width: 767px) {
  .views-element-container .views-row.type-thumb {
    grid-template-columns: 1fr;
    grid-gap: 24px;
    padding-top: 24px;
  }
}

/* ----- type 4: 썸네일(왼쪽), 태그, 제목, info ----- */
.views-element-container article .teaser.type4 {
  display: grid;
  grid-template-columns: 1fr 5fr;
  grid-gap: 24px;
}
.views-element-container article .teaser .right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media all and (max-width: 1216px) {
  .views-element-container article .teaser.type4 {
    grid-template-columns: 1fr 2fr;
    grid-gap: 5%;
  }
}

/* ----- type 5: sort, 제목, info ----- */
#staff-numbering.views-element-container article .teaser .tags {
  margin-bottom: 16px;
  font-weight: bold;
  font-size: 14px;
  line-height: 24px;
  color: #1a7ec0;
}
.views-element-container article .teaser .sort dl {
  display: flex;
  font-size: 14px;
  line-height: 24px;
  color: #495057;
}
.views-element-container article .teaser .sort dd:not(:last-child)::after {
  content: '';
  display: inline-block;
  width: 1px;
  height: 12px;
  background-color: #dee2e6;
  margin: 0 8px;
}
@media all and (max-width: 767px) {
  #staff-numbering.views-element-container article .teaser .tags {
    margin-bottom: 0;
  }
}

/* ----- type 6: tag(step), title, info ----- */
.views-element-container article .teaser .step1 {
  color: #1a7ec0;
  font-weight: bold;
}
.views-element-container article .teaser .step2 {
  color: #a1c736;
  font-weight: bold;
}
.views-element-container article .teaser .step3 {
  color: #adb5bd;
  font-weight: bold;
}
.views-element-container article .teaser .step4 {
  color: #e36969;
  font-weight: bold;
}

/* ----- type 7: manage ----- */
.views-element-container article .manage {
  position: absolute;
  bottom: 32px;
  right: 24px;
  display: flex;
}
.views-element-container article .manage a {
  display: inline-block;
  border: 1px solid #dee2e6;
  background-color: #fff;
  padding: 0 24px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 24px;
  color: #495057;
  text-align: center;
  transition: all 0.4s;
}
.views-element-container article .manage a:hover {
  background-color: #dee2e6;
  transition: all 0.4s;
}
.views-element-container article .manage a:not(:last-child) {
  margin-right: 8px;
}

@media all and (max-width: 767px) {
  .views-element-container article .manage {
    position: initial;
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
  .views-element-container article .manage a {
    padding: 0 4px;
  }
  #staff-numbering.views-element-container article .manage {
    grid-template-columns: 1fr 1fr;
  }
}

/* -------------------- SUBPAGE ARTICLE 상세페이지 -------------------- */
/* --- footer --- */
article .article .footer {
  max-width: 1008px;
  margin: auto;
  text-align: center;
}
article .article .footer .btn-blue {
  margin: 48px auto 0;
}
@media all and (max-width: 767px) {
  article .article .footer .btn-blue {
    margin: 40px auto 0 !important;
  }
}

/* ----- type 1 : 태그 타이틀 info ----- */
article .article.type1 header {
  padding-top: 96px;
  padding-bottom: 48px;
  border-bottom: 1px solid #dee2e6;
  margin-bottom: 48px;
  text-align: center;
}
article .article.type1 header h1 {
  font-size: 40px;
  line-height: 48px;
  margin: 16px 0;
}
article .article.type1 header .info {
  display: flex;
  justify-content: center;
}

@media all and (max-width: 1216px) {
  article .article.type1 header h1 {
    font-size: 32px;
    line-height: 40px;
  }
}
@media all and (max-width: 767px) {
  article .article.type1 header {
    padding-top: 40px;
    padding-bottom: 40px;
    margin-bottom: 40px;
  }
  article .article.type1 header h1 {
    font-size: 28px;
    line-height: 32px;
  }
}

/* ----- type 2: 썸네일 태그 타이틀 info 신청버튼 ----- */
/* --- header --- */
article .article.type2 header {
  background-color: #f0f4f8;
  padding: 64px 0;
}
article .article.type2 header .grid {
  display: grid;
  grid-template-columns: 3fr 7fr;
  grid-gap: 32px;
}
/* img */
article .article.type2 header .img {
  border-radius: 8px;
  overflow: hidden;
}
article .article.type2 header .img .res-box > div {
  width: 100%;
  height: 100%;
}
article .article.type2 header .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
article .article.type2 header .right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* title */
article .article.type2 header h4 {
  font-size: 24px;
  line-height: 32px;
  color: #343a40;
  margin: 16px 0;
  display: inline-block;
}

/* 신청하기 */
article .article.type2 header .submit {
  margin-top: 32px;
  display: inline-block;
  cursor: pointer;
}
article .article.type2 header .submit a {
  /*width: 148px;*/
  height: 40px;
  padding: 12px 64px;
  border: 1px solid #1a7ec0;
  border-radius: 4px;
  background-color: #fff;
  color: #1a7ec0;
  font-weight: bold;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.4s;
}
article .article.type2 header .submit a:hover {
  background-color: #1a7ec0;
  color: #fff;
  transition: all 0.4s;
}

article.before header .submit a,
article.after header .submit a {
  background-color: #adb5bd !important;
  color: #868e96 !important;
  border: 1px solid #adb5bd !important;
  pointer-events: none;
}
article .article.type2 header .submit .disabled,
article .article.type2 header .submit .disabled:hover {
  background-color: #ccc;
  color: #888;
  border-color: #aaa;
  cursor: not-allowed;
}
/* --- content --- */
article .article.type2 .content {
  padding-top: 80px;
}

@media all and (max-width: 767px) {
  article .article.type2 header {
    padding: 40px 0;
  }
  article .article.type2 header .grid {
    grid-template-columns: 1fr;
  }
  article .article.type2 header .submit > div {
    display: block;
  }
  article .article.type2 header .submit a {
    width: 100%;
    height: 50px;
  }
  article .article.type2 .content {
    padding-top: 40px;
  }
}


/* -------------------- 웹폼 -------------------- */
body.path-webform article .article.type2 header .grid {
  grid-template-columns: 1fr 4fr;
}
body.path-webform #block-kace-page-title {
  display: none;
}
#webform_application h2 {
  margin: 96px auto 60px;
  text-align: center;
}

#webform_application form,
.webform form {
  padding-top: 32px;
  border-top: 4px solid #343a40;
  position: relative;
}
#webform_application form::after,
.webform form::after {
  content: '';
  width: 100%;
  height: 2px;
  background-color: #868e96;
  position: absolute;
  bottom: 82px;
}
#webform_application form .webform-section-wrapper > .js-form-item,
#webform_application form .webform-section-wrapper .js-form-type-managed-file,
.webform form > .js-form-item {
  border-bottom: 1px solid #dee2e6;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 4fr;
  grid-gap: 0 32px;
}

#webform_application form .js-form-type-managed-file .js-form-type-checkbox {
  background: #f6f6f6;
  padding: 16px 0 16px 42px !important;
  margin: 0 0 10px 0 !important;
}
#webform_application form .js-form-type-managed-file .js-form-item label.option span {
  color: #666;
}
#webform_application form .js-form-type-managed-file .form-submit {
  margin: 0 auto 16px;
  padding: 8px 16px !important;
}
#webform_application form .js-form-type-managed-file input[id*='remove'] {
  background: #fff !important;
  color: #ff3636;
  border-color: #ff3636;
}
#webform_application form .js-form-type-managed-file input[id*='remove']:hover {
  background: #ff3636 !important;
  color: #fff;
}
#webform_application form .js-form-type-managed-file .description {
  font-size:.8rem;
  line-height: 1.4;
}
#webform_application form input[type='number']#edit-age {
  max-width: 80px;
}

#webform_application form label,
.webform form label {
  font-weight: bold;
  font-size: 18px;
  line-height: 24px;
  color: #343a40;
  margin-top: 8px;
}
.webform form .grid_2 {
  width: 50%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 8px;
}
.webform form .grid_2 .js-form-item-field-branch-target-id {
  width: 100%;
}

.webform form input[type='number'],
.webform form .js-form-type-date,
.webform form #textbookBranch-wrapper {
  width: 25%;
}

.webform form .address {
  display: grid;
  grid-gap: 8px;
}
.webform form .address .zipcode {
  width: 50%;
  display: grid;
  grid-template-columns: 2fr 1fr;
}
.webform form .address .zipcode a {
  margin-left: 8px;
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 24px;
  color: #fff;
  background-color: #495057;
  border: none;
  cursor: pointer;
  transition: all 0.4s;
}
.webform form .address .zipcode a:hover {
  background-color: #343a40;
  transition: all 0.4s;
}
.webform form .address .zipcode #zipcode-error {
  grid-column: 1/3;
  grid-row: 2/3;
  margin-top: 8px;
}
.webform form .address input[type='text'] {
  width: 100%;
}

#webform_application section {
  margin-top: 32px;
}
#webform_application .webform-section-title {
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 8px;
}
#edit-section-basic-header .webform-section-title {
    padding-bottom: 32px;
}
#webform_application .webform-section-wrapper {
  margin-top: 32px;
  border-top: solid 1px #a1a1a1;
}
#webform_application .webform-section-wrapper > .description {
  position: absolute;
  transform: translateY(-100%);
  margin-top: -32px;
}

#webform_application section:not(:last-child) {
  margin-bottom: 64px;
}

#webform_application form #edit-time,
.webform form #edit-time {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 8px;
  width: 50%;
}

.webform-submission .front .webform-page-title {
  font-weight: bold;
  font-size: 40px;
  line-height: 48px;
  text-align: center;
  color: #343a40;
  padding: 72px 0 72px;
  background: url(../../img/page-title-club.png) no-repeat 50% 50%;
  background-size: cover;
}
.webform-submission .front .webform-submission-data {
  margin: 0 auto;
  max-width: 800px;
  padding: 4rem 0 0;
}
.webform-submission .front .webform-submission-data h2,
.webform-submission .front .webform-submission-data .webform-section-title {
  font-size: 20px;
  border-bottom: solid 2px #333;
  margin-bottom: 1rem;
  line-height: 1.2;
  padding: .8rem 0;
}
.webform-submission .front .webform-submission-data .webform-section {
  margin-bottom: 2rem;
}
.webform-submission .front .webform-submission-data .webform-element {
  padding: .8rem .4rem;
  border-bottom: solid 1px #ddd;
  color: #454545;
  font-size: 18px;
}
.webform-submission .front .webform-submission-data .webform-element > label {
  display: inline-block;
  min-width: 150px;
  font-weight: bold;
  padding-right: 2rem;
}
.webform-submission .btns {
  margin-top: 4rem;
}

#edit-section-agreement-header .js-form-type-processed-text {
  height: 200px;
  overflow: auto;
  border-bottom: 1px solid #dee2e6 !important;
  background-color: #f8f9fa;
  padding: 30px !important;
  font-size: 16px;
  line-height: 1.4;
  color: #495057;
}
#edit-section-agreement-header .js-form-type-processed-text *{
  font-size: 16px;
  line-height: 1.4;
}

#edit-section-agreement-header .js-form-item {
  display: block !important;
  border: none;
  margin-bottom: 16px;
}

#webform_application form .form-actions,
.webform form .form-actions {
  width: 100%;
  text-align: center;
}
#webform_application form .form-submit,
.webform form .form-submit {
  width: 100%;
  max-width: 192px;
  margin: 32px auto 0;
  padding: 12px 32px;
  border: 1px solid #1a7ec0;
  border-radius: 4px;
  background-color: #fff;
  color: #1a7ec0;
  font-weight: bold;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  display: inline-block;
  cursor: pointer;
  transition: all 0.4s;
}
#webform_application form .form-submit:hover,
.webform form .form-submit:hover {
  background-color: #1a7ec0;
  color: #fff;
  transition: all 0.4s;
}

/* ---------- 웹폼 신청완료 ---------- */
.webform-confirmation #page-title {
  margin: 120px auto 32px;
  text-align: center;
  word-break: keep-all;
}

@media all and (max-width: 1216px) {
  #webform_application form input.form-text,
  #webform_application form textarea,
  #webform_application form #edit-time,
  .webform form input.form-text,
  .webform form textarea,
  .webform form .grid_2,
  .webform form #edit-time {
    width: 100%;
  }
  .webform form .address .zipcode {
    width: 75%;
  }
  .webform form input[type='number'],
  .webform form .js-form-type-date,
  .webform form #textbookBranch-wrapper {
    width: 50%;
  }
}

@media all and (max-width: 767px) {
  body.path-webform article .article.type2 header .grid {
    grid-template-columns: 1fr 2fr;
  }
  #webform_application h2 {
    margin: 40px auto;
  }
  #webform_application form label,
  .webform form label {
    margin-bottom: 8px;
    margin-top: 0;
  }
  #webform_application form > .js-form-item,
  .webform form > .js-form-item {
    grid-template-columns: 1fr;
    padding: 16px 0;
  }
  .webform form .grid_2 {
    grid-template-columns: 1fr;
  }
  #webform_application form #edit-time,
  .webform form #edit-time {
    grid-template-columns: 1fr;
  }
  #webform_application form .form-submit,
  .webform form input[type='number'],
  .webform form .address .zipcode,
  .webform form .js-form-type-date,
  .webform form #textbookBranch-wrapper,
  .webform form input[type='text'],
  .webform form .form-submit {
    width: 100%;
    max-width: 100%;
  }
  .webform form .address .zipcode {
    display: grid;
    grid-template-columns: 2fr 1fr;
  }
  .webform form .address .zipcode a {
    width: auto;
  }

}
