@font-face {
  font-family: "Nanum-Extrabold";
  src: url("../../../assets/fonts/NanumSquareNeo-Eb.otf") format("truetype"),
    url("../../../assets/fonts/NanumSquareNeo-Eb.ttf") format("truetype");
}

@font-face {
  font-family: "Nanum-Regular";
  src: url("../../../assets/fonts/NanumSquareNeo-Rg.otf") format("truetype"),
    url("../../../assets/fonts/NanumSquareNeo-Rg.ttf") format("truetype");
}

* {
  font-family: "Nanum-Regular";
  color: #080808;
  word-break: keep-all;
}

.disabled-scroll {
  overflow: hidden;
}

@media screen and (max-width: 767px) {
  .desktop {
    display: none;
  }

  .mobile {
    overflow: hidden;
    display: block;
  }

  main {
    margin-top: 52px;
  }

  .rhombus-title {
    font-size: 28px;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: normal;
    text-align: left;
    color: #080808;
  }

  .square-title {
    height: 22px;
    font-size: 20px;

    font-stretch: normal;
    font-style: normal;
    letter-spacing: normal;
    text-align: left;
    color: #080808;
  }

  table {
    table-layout: fixed;
  }

  th,
  td {
    border: 1px solid #696969;
    padding: 12px;
    word-break: break-all;
  }

  th {
    font-family: "Nanum-Extrabold";
    font-size: 14px;
    font-stretch: normal;
    font-style: normal;
    letter-spacing: -0.06px;
    text-align: center;
    color: #080808;
    background-color: #f8f7fa;
    border-top: 2px solid #550fd2;
  }

  tr {
    font-family: "Nanum-Regular";
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    letter-spacing: -0.06px;
    text-align: center;
    color: #080808;
  }

  input {
    height: 44px !important;
    padding: 14px !important;
    border: solid 2px #eaeaea !important;
    font-size: 14px !important;
  }

  select {
    border: solid 2px #eaeaea !important;
    font-size: 14px !important;
  }

  input[type="date"]::before {
    content: attr(data-placeholder) !important;
    width: 100% !important;
  }

  input[type="date"]:focus::before,
  input[type="date"]:valid::before {
    display: none !important;
  }

  input[type="date"]::-webkit-calendar-picker-indicator {
    color: rgba(0, 0, 0, 0);
    opacity: 1;
    display: block;
    background-image: url("../../../assets/images/apply/history/calendar.png");
    background-size: 24px 24px;
    background-repeat: no-repeat;
    background-position: top 8px right 20px;
    width: 100%;
    height: 100%;
    /* top: 22px;
    right: 16px; */
    position: absolute;
    border-width: thin;
    cursor: pointer;
  }
}

@media screen and (min-width: 768px) {
  body {
    min-width: 1186px;
  }

  .desktop {
    display: block;
  }

  .mobile {
    display: none;
  }

  .rhombus-title {
    font-size: 48px;

    font-stretch: normal;
    font-style: normal;
    line-height: 1.19;
    letter-spacing: normal;
    text-align: left;
    color: #080808;
  }

  .square-title {
    height: 42px;
    font-size: 38px;

    font-stretch: normal;
    font-style: normal;
    letter-spacing: normal;
    text-align: left;
    color: #080808;
  }

  th,
  td {
    border: 1px solid #696969;
    padding: 20px;
    word-break: normal;
  }

  th {
    font-family: "Nanum-Extrabold";
    font-size: 18px;

    font-stretch: normal;
    font-style: normal;
    letter-spacing: -0.07px;
    text-align: center;
    color: #080808;
    background-color: #f8f7fa;
    border-top: 2px solid #550fd2;
  }

  td {
    font-family: "Nanum-Regular";
    font-size: 18px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    letter-spacing: -0.07px;
    text-align: center;
    color: #080808;
  }

  input {
    height: 68px !important;
    padding: 24px !important;
    border: solid 2px #eaeaea !important;
    font-size: 18px;
  }

  select {
    padding: 20px !important;
    border: solid 2px #eaeaea !important;
    font-size: 18px;
  }

  input[type="date"]::before {
    content: attr(data-placeholder) !important;
    width: 100% !important;
  }

  input[type="date"]:focus::before,
  input[type="date"]:valid::before {
    display: none !important;
  }

  input[type="date"]::-webkit-calendar-picker-indicator {
    color: rgba(0, 0, 0, 0);
    opacity: 1;
    display: block;
    background-image: url("../../../assets/images/apply/history/calendar.png");
    background-size: 24px 24px;
    background-repeat: no-repeat;
    background-position: top 20px right 40px;
    width: 100%;
    height: 100%;
    /* top: 22px;
    right: 16px; */
    position: absolute;
    border-width: thin;
    cursor: pointer;
  }
}

.nanum-regular {
  font-family: "Nanum-Regular" !important;
  line-height: 1;
}

.nanum-bold {
  font-family: "Nanum-Extrabold" !important;
  line-height: 1;
}

.page-button:hover {
  font-family: "Nanum-Extrabold" !important;
  color: #550fd2;
}

tr:last-child {
  border-bottom: none;
}

th:first-child,
td:first-child {
  border-left: none;
}

th,
td:last-child {
  border-right: none;
}

select:focus,
input:focus {
  border: solid 2px #4f35d2 !important;
}

select option {
  background: black !important;
  color: #fff;
  padding: 3px 0;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

button {
  width: 372px !important;
  height: 70px !important;
  border-radius: 20px !important;
  background-color: #4f35d2 !important;
  cursor: pointer !important;
  /*  */
  color: #ffffff !important;
  font-size: 24px !important;
  font-stretch: normal !important;
  font-style: normal !important;
  letter-spacing: -0.1px !important;
  text-align: center !important;
}

button:disabled {
  background-color: #a0a0a0 !important;
  cursor: auto !important;
}

input[type="radio"] {
  width: 24px !important;
  height: 24px !important;
  padding: 0 !important;
  background-color: #fff;
}

input[type="radio"]:checked {
  width: 24px;
  height: 24px;
  color: #550fd2;
}

.upper {
  padding-left: 20px;
  margin-bottom: 10px;
  margin-top: 10px;
}

.lower {
  padding-left: 20px;
}

.spacing {
  padding-top: 5px;
  padding-bottom: 5px;
}

.title_size {
  font-size: 24px;
}