@import url('./reset.css');
@import url('//spoqa.github.io/spoqa-han-sans/css/SpoqaHanSansNeo.css');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap');

* {
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans KR', sans-serif;
  color: #3b3b3b;
  line-height: 1.5;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
}

button {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  cursor: pointer;
}

#main {
  padding-top: 85px;
  min-height: 100vh;
  padding-bottom: 80px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #267b7a;
  height: 85px;
  color: #ffffff;
  z-index: 1000;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  /* border-top: 1px solid #d0d0d0; */
}

.wrap {
  width: 100%;
  max-width: 1236px;
  padding: 0 20px;
  margin: 0 auto;
}

.not-drag {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.gnb-logo {
  font-size: 24px;
  font-weight: 500;
  display: flex;
  align-items: center;
  padding: 10px 15px;
  padding-left: 0px;
  gap: 20px;
}

.gnb {
  display: flex;
  gap: 8px;
  height: 100%;
}

.gnb > li {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.gnb > li:last-child > a {
  padding-right: 0;
}

.gnb > li > a {
  display: block;
  font-size: 16px;
  padding: 10px 15px;
}

.gnb-sub {
  position: absolute;
  top: 85px;
  left: -12px;
  width: 150px;
  color: #3b3b3b;
  box-shadow: 0px 3px 6px #0000001f;
  font-size: 14px;
  display: none;
  background-color: #ffffff;
}

.gnb-sub > li {
  width: 100%;
}

.gnb-sub > li > a {
  display: block;
  padding: 6px 12px;
}

.gnb-sub > li:first-child > a {
  padding-top: 12px;
}

.gnb-sub > li:last-child > a {
  padding-bottom: 12px;
}

.gnb-btn {
  background-color: transparent;
  outline: none;
  border: none;
  display: none;
}

@media only screen and (min-width: 769px) {
  .gnb > li:hover .gnb-sub {
    display: block;
  }
}

@media only screen and (max-width: 768px) {
  /* .gnb {
    display: none;
  } */
  .gnb {
    position: absolute;
    top: 85px;
    left: 0;
    color: #3b3b3b;
    height: initial;
    flex-direction: column;
    width: 100%;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
  }

  .gnb > li.gnb-point {
    display: none;
  }

  .gnb > li {
    flex-direction: column;
  }

  .gnb > li > a {
    background-color: #f2f1f1;
    padding: 9px 20px;
    width: 100%;
    border-bottom: 1px solid #d0d0d0;
    font-size: 14px;
  }

  .gnb-btn {
    display: block;
  }

  .gnb.open {
    display: block;
  }

  .gnb-sub {
    position: initial;
    display: block;
    box-shadow: none;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
  }

  .gnb-sub > li > a {
    padding: 5px 35px;
    font-size: 14px;
  }

  .gnb-sub > li > a::before {
    content: '· ';
  }
}

section:not(.home-top) {
  padding: 110px 0;
}

.section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 62px;
}

.section-title h2 {
  font-size: 35px;
  font-weight: 500;
}

.section-title > div {
  width: 60px;
  height: 6px;
  background-color: #bcbcbc;
  border-radius: 6px;
}

.home-top {
  position: relative;
}

.home-top-img {
  position: relative;
}

.home-top-img img {
  height: 570px;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.home-top-img span {
  position: absolute;
  left: 38px;
  bottom: 26px;
  color: #ffffff;
  opacity: 0.6;
  font-size: 13px;
  display: block;
  max-width: 265px;
}

.home-top-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-top-text > * {
  position: relative;
  opacity: 0;
}

.home-top-text h1 {
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 36px;
  animation: slideUp 1s ease-in-out forwards;
}

.home-top-text p {
  font-size: 17px;
  margin-bottom: 45px;
  text-align: center;
  word-break: keep-all;
  animation: slideUp 1s 1s ease-in-out forwards;
}

.home-top-text a {
  padding: 10px 24px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #000000;
  font-size: 14px;
  border-radius: 20px;
  animation: slideUp 1s 1s ease-in-out forwards;
}

@keyframes slideUp {
  0% {
    opacity: 0;
    top: 15px;
  }
  100% {
    opacity: 1;
    top: 0px;
  }
}

.agency-box {
  display: flex;
  gap: 71px;
  height: 120px;
  align-items: center;
  background-color: #ffffff;
}

.agency-view {
  overflow: hidden;
}

.agency-list {
  display: flex;
  gap: 71px;
  transition: 0.3s ease-in-out;
}

.agency-list img {
  height: 36px;
}

.agency-arrow {
  display: flex;
  gap: 26px;
}

.agency-arrow button {
  background-color: transparent;
  border: none;
  outline: none;
}

.copyright {
  background-color: #3e3e3e;
  color: #a4a4a4;
  height: 80px;
  display: flex;
  align-items: center;
  font-size: 14px;
}

.copyright span {
  display: block;
}

.home-news {
  display: flex;
  gap: 44px;
}

.home-photo {
  width: 100%;
  padding: 39px 59px;
  box-shadow: 0px 0px 12px #00000029;
  border-radius: 12px;
}

.home-notice {
  width: 372px;
  min-width: 372px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0px 0px 12px #00000029;
}

.home-notice-top {
  background-color: #429e9d;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  font-size: 24px;
  padding: 0 23px;
}

.home-notice-item {
  padding: 16px 21px;
  border-bottom: 1px solid #dbdbdb;
}

.home-notice-item p {
  font-size: 19px;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 3px;
}

.home-notice-item span {
  font-size: 16px;
  color: #939292;
}

/* .home-notice ul {
  height: 100%;
} */

.home-photo-list {
  position: relative;
  width: 100%;
  height: 100%;
  /* background-color: #676767; */
}

.home-photo-info {
  display: none;
}

.home-photo-view {
  position: relative;
  height: 384px;
}

.home-photo-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.home-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-item-info {
  margin-top: 20px;
}

.home-item-info .title {
  font-size: 23px;
  margin-bottom: 6px;
}

.home-item-info > div {
  display: flex;
  align-items: center;
  gap: 13px;
}

.home-item-info .tag {
  background-color: #8b8b8b;
  color: #ffffff;
  padding: 2px 22px;
  border-radius: 20px;
}

.home-item-info .date {
  color: #ababab;
}

.home-photo-arrow {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  gap: 6px;
}

.home-photo-arrow button {
  background-color: #676767;
  border: none;
  outline: none;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
}

section.home-workshop {
  background-color: #f1f1f1;
}

div.home-workshop {
  border-radius: 12px;
  overflow: hidden;
}

.home-workshop-info {
  background-color: #356b6b;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-workshop-info > h2 {
  font-size: 30px;
  color: #ffffff;
  margin-bottom: 30px;
  font-weight: 500;
}

.home-workshop-info > div {
  display: flex;
  gap: 59px;
}

.home-workshop-date {
  display: flex;
  gap: 13px;
  align-items: center;
}

.home-workshop-date span:first-child {
  background-color: #cecece;
  color: #0f4b4b;
  font-size: 17px;
  padding: 2px 17px;
  border-radius: 30px;
}

.home-workshop-date span:last-child {
  color: #ffffff;
  font-size: 19px;
}

.home-workshop-menu {
  display: flex;
  padding: 60px 0;
  justify-content: center;
  background-image: url('/images/main_workshop_bg.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.home-workshop-menu > div {
  display: flex;
  width: 100%;
  max-width: 660px;
  justify-content: space-between;
}

.home-workshop-item {
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  font-size: 20px;
  color: #ffffff;
}

.home-past-workshop {
  padding: 22px 28px;
  background-color: #ffffff;
  box-shadow: 0px 0px 12px #00000029;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 29px;
  width: 100%;
  gap: 46px;
}

.home-past-workshop > span {
  font-size: 22px;
  font-weight: 500;
  color: #676767;
  white-space: nowrap;
}

.home-past-workshop > div {
  display: flex;
  align-items: center;
  gap: 24px;
  overflow: hidden;
}

.home-past-workshop button {
  background-color: transparent;
  border: none;
  outline: none;
  color: #bcbcbc;
  font-size: 20px;
}

.past-workshop-view {
  overflow: hidden;
  width: 100%;
}

.past-workshop-list {
  display: flex;
  gap: 13px;
  transition: 0.3s ease-in-out;
}

.past-workshop-list > span,
.past-workshop-list > a {
  white-space: nowrap;
  display: block;
}

.past-workshop-list > .dividline {
  color: #bcbcbc;
}

.sub-top {
  background-image: url('/images/sub.jpg');
  width: 100%;
  height: 270px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.sub-top h1 {
  font-size: 38px;
  color: #ffffff;
  margin-bottom: 10px;
}

.sub-top span {
  font-size: 15px;
  color: #b9b9b9;
}

#doc {
  position: relative;
  padding: 90px 0;
  padding-bottom: 134px;
}

#admin-doc {
  position: relative;
  padding: 100px 0;
}

.doc-title {
  font-size: 30px;
  color: #087376;
  font-weight: 500;
  margin-bottom: 40px;
}

.intro-title {
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 3px solid #d5d5d5;
}

.sub-title {
  color: #5d5d5d;
  font-size: 27px;
  padding-bottom: 16px;
  margin-bottom: 30px;
  border-bottom: 2px solid #d5d5d5;
}

#doc section {
  padding: 0;
}

#doc section:not(:last-child) {
  padding-bottom: 100px;
}

.intro-active {
  display: grid;
  grid-template-columns: repeat(auto-fit, 192px);
  gap: 59px;
}

.intro-active-item {
  display: flex;
  flex-direction: column;
  gap: 21px;
  align-items: center;
}

.intro-active-item > div {
  background-color: #ecf4f4;
  border-radius: 100%;
  width: 185px;
  height: 185px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.intro-active-item > span {
  text-align: center;
  font-size: 15px;
}

.intro-agency-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(269px, auto));
  row-gap: 25px;
  column-gap: 40px;
}

.intro-agency-list > div > a {
  border: 1px solid #e6e6e6;
  display: flex;
  height: 70px;
  padding: 15px 0;
  justify-content: center;
}

.intro-agency-list > div > img {
  height: 100%;
}

.admin-logo {
  font-size: 20px;
  color: #f6cc3a;
  font-weight: 500;
}

#admin-main {
  padding-top: 85px;
  min-height: 100vh;
}

.admin-login-wrap {
  height: calc(100vh - 85px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-login {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 300px;
  padding: 60px 0;
}

.admin-login h2 {
  text-align: center;
  color: #404040;
  font-size: 38px;
  margin-bottom: 59px;
}

.admin-login input {
  border: 1px solid #d9d9d9;
  outline: none;
  font-size: 16px;
  text-align: center;
  padding: 10px 0;
  margin-bottom: 12px;
}

.admin-login input::placeholder {
  color: #c2c2c2;
}

.admin-login button {
  margin-top: 20px;
  background-color: #267b7a;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 16px;
  padding: 12px 0;
}

.admin-login .error {
  color: #ff3535;
  font-size: 14px;
}

.admin-sub-top {
  position: relative;
  background-color: #e3eeee;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px;
}

.admin-sub-top h1 {
  color: #3b3b3b;
  font-size: 40px;
  font-weight: 500;
}

.admin-sub {
  position: absolute;
  bottom: 15px;
  display: flex;
}

.admin-sub > a {
  width: 130px;
  display: flex;
  height: 39px;
  justify-content: center;
  align-items: center;
  color: #3b3b3b;
}

.admin-sub > a.current {
  background-color: #267b7a;
  border-radius: 100px;
  color: #ffffff;
}

.admin-edit-btn-box {
  position: relative;
}

.admin-edit-btn {
  width: 140px;
  height: 48px;
  background-color: #087376;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -68px;
  right: 0;
}

.edit-row {
  display: flex;
  align-items: center;
  margin-bottom: 26px;
}

.edit-row select {
  width: 180px;
  border: 1px solid #bcbcbc;
  padding: 7px 10px;
  outline: none;
  font-size: 16px;
}

.edit-row label {
  width: 92px;
  min-width: 92px;
}

.edit-row .title {
  width: 764px;
  border: 1px solid #bcbcbc;
  padding: 7px 10px;
  outline: none;
  font-size: 16px;
}

.board-box {
  width: 100%;
  border: 1px solid #bcbcbc;
}

.board-btn-group {
  background-color: #ebebeb;
  border-bottom: 1px solid #d9d9d9;
  display: flex;
}

.board-btn-box {
  position: relative;
}

.board-btn {
  width: 120px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #737373;
  border-right: 1px solid #d9d9d9;
  cursor: pointer;
}

.board {
  height: 200px;
  overflow-y: auto;
  /* -webkit-user-modify: read-write; */
  /* -webkit-line-break: after-white-space; */
  line-height: 1.5;
  outline: none;
  padding: 10px 17px;
}

.board-action-box {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  background-color: #ffffff;
  padding: 15px;
  border: 1px solid #e7e7e7;
  box-shadow: 0 3px 10px -5px #a0a0a0;
  border-radius: 10px;
  z-index: 10;
  width: 300px;
}

.board-action-box input[type='text'] {
  padding: 7px 17px !important;
  border: 1px solid #bcbcbc;
  outline: none;
}

.board-action-box input[type='text'],
.board-action-box input[type='text']::placeholder {
  font-size: 14px !important;
}

.board-action-box > div {
  display: flex;
  gap: 15px;
  margin-top: 12px;
}

.board-action-box .submit {
  padding: 6px 20px;
  cursor: pointer;
  color: #ffffff;
  font-size: 13px;
  cursor: pointer;
}

.board-action-box .submit {
  background-color: #267b7a;
}

.hide {
  display: none;
}

.board a {
  color: #3d98ff;
}

.board h3 {
  font-size: 22px;
  margin: 0;
  margin-bottom: 30px;
  font-weight: 500;
}

.board h3:not(:first-child) {
  margin-top: 60px;
}

.board-big {
  height: 500px;
}

.board-action-box > .img-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 270px;
  max-height: 200px;
  overflow: auto;
  margin: 0;
}

.img-grid > div {
  width: 130px;
  height: 130px;
  border-radius: 10px;
  overflow: hidden;
}

.img-grid {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
.img-grid::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera*/
}

.board-action-box input[type='text'] {
  width: 100%;
}

.img-grid input[type='file'] {
  display: none;
}

.img-grid input[type='file'] + label {
  width: 100%;
  height: 100%;
  border: 3px dashed #a0a0a0;
  background-color: #ffffff;
  border-radius: 10px;
  cursor: pointer;
  font-size: 50px;
  font-weight: 300;
  color: #a0a0a0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.img-grid label span {
  position: relative;
  top: -3px;
}

.board-img-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  -webkit-user-modify: initial;
  -webkit-line-break: initial;
}

.board-img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, auto));
  gap: 20px;
  width: 100%;
}

.board-caption {
  font-size: 13px;
  color: #a6a6a6;
  /* -webkit-user-modify: read-write; */
}

.board-img {
  display: flex;
  justify-content: center;
  position: relative;
}

.board-img img {
  width: 100%;
  height: auto;
  /* max-width: 490px; */
  object-fit: cover;
  object-position: center;
}

input[type='file'] {
  display: none;
}

input[type='file'] + label {
  border: 1px solid #d9d9d9;
  background-color: #ebebeb;
  padding: 8px 31px;
  color: #737373;
  font-size: 14px;
  cursor: pointer;
  width: initial;
  min-width: 116px;
  white-space: nowrap;
}

.file-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}

.file-name-box {
  display: flex;
  gap: 20px;
  overflow: auto;
  width: 100%;
}

.file-name {
  font-size: 14px;
  color: #a6a6a6;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  margin-top: 20px;
}

.submit-box {
  display: flex;
  margin-top: 90px;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.submit-box > * {
  width: 140px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 16px;
  border: none;
  outline: none;
}

.submit-box > a {
  background-color: #767676;
}

.submit-box > button,
.submit-box > .submit-btn {
  background-color: #087376;
}

.data-table {
  width: 100%;
}

.data-table-head {
  background-color: #449c9b;
  color: #ffffff;
  text-align: left;
  border-radius: 4px;
}

.data-table-head,
.data-table-data {
  display: flex;
  border-bottom: 1px solid #acacac;
}

.data-table-head > div,
.data-table-data > div {
  padding: 10px 20px;
}

.data-table-head > div:nth-child(1),
.data-table-data > div:nth-child(1) {
  min-width: 70px;
  width: 70px;
  text-align: center;
}

.data-table-head > div:nth-child(2),
.data-table-data > div:nth-child(2) {
  width: 100%;
  overflow: hidden;
}

.data-table-data .title {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.data-table-head > div:nth-child(3),
.data-table-data > div:nth-child(3) {
  min-width: 150px;
  width: 150px;
  text-align: center;
}

.data-table-head > div:nth-child(4),
.data-table-data > div:nth-child(4) {
  min-width: 110px;
  width: 110px;
}

.data-table span,
.data-table a,
.data-table button,
.gallery-data .info span,
.gallery-data .info a,
.gallery-data .info button {
  color: #767676;
  font-size: 15px;
  border: none;
  outline: none;
  padding: 0;
  background-color: transparent;
}

.paging-group {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.paging-group > div {
  display: flex;
  align-items: center;
  margin: 0 7px;
  gap: 5px;
}

.paging-group button {
  font-family: 'neue-haas-grotesk-text', sans-serif;
  border: 0;
  outline: 0;
  background-color: #ffffff;
  color: #737373;
  font-size: 16px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.paging-group button.current {
  background-color: #449c9b;
  color: #ffffff;
}

.file-name-box .init,
.file-name-box .add {
  display: flex;
  gap: 20px;
}

.gallery-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gallery-top.user {
  justify-content: center;
}

.gallery-category {
  display: flex;
  gap: 16px;
  align-items: center;
}

.gallery-category button {
  padding: 3px 15px;
  border: 1px solid #cccccc;
  color: #717171;
  border-radius: 50px;
}

.gallery-category button.current {
  background-color: #087376;
  color: #ffffff;
}

.gallery-edit-btn {
  position: static;
}

.gallery {
  margin-top: 20px;
}

.gallery .board-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 268px));
  column-gap: 41px;
  row-gap: 48px;
}

.gallery-data .image {
  height: 166px;
  background-color: #717171;
}

.gallery-data .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery-data .title {
  width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  color: #000000;
  font-size: 18px;
  font-weight: 500;
  margin-top: 8px;
  margin-bottom: 6px;
}

.gallery-data .info {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gallery-data .info > div:first-child {
  gap: 10px;
  display: flex;
  align-items: center;
}

.gallery-data .category {
  color: #6c6c6c;
  font-size: 14px;
  padding: 2px 14px;
  background-color: #dadada;
  border-radius: 4px;
}

.gallery-data .date {
  color: #808080;
  font-size: 14px;
}

.data-table-data.user {
  cursor: pointer;
}

.data-table-data.user:hover .title {
  text-decoration: underline;
}

.detail-board {
  border-top: 2px solid #676767;
  border-bottom: 2px solid #676767;
  color: #000000;
}

.detail-board .detail-row:not(:last-child) {
  border-bottom: 1px solid #bcbcbc;
}

.detail-row {
  display: flex;
  padding: 11px 20px;
  align-items: center;
}

.detail-board .contents a {
  color: #3d98ff;
}

@media only screen and (max-width: 768px) {
  .detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

.detail-row > div {
  width: 100%;
}

.detail-row label {
  width: 120px;
  font-size: 15px;
  color: #676767;
}

.detail-row .title {
  font-size: 17px;
  font-weight: 500;
}

.detail-row .contents {
  padding: 13px 0;
  min-height: 300px;
}

.detail-row .file {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.detail-row .file a:hover {
  text-decoration: underline;
}

.prev-btn-box {
  margin-top: 70px;
  display: flex;
  justify-content: center;
}

.prev-btn {
  width: 140px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #087376;
  color: #ffffff;
  border: none;
  outline: none;
}

.gallery-data.user {
  cursor: pointer;
}

.gallery-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-detail-img {
  display: flex;
  gap: 57px;
  align-items: center;
}

.gallery-detail-img a > img,
.gallery-detail-img .empty {
  width: 35px;
}

.gallery-detail-img .img-box {
  width: 100%;
  max-width: 681px;
  background-color: #818181;
}

.gallery-detail-img .img-box img {
  width: 100%;
}

.gallery-detail-info {
  margin-top: 11px;
}

.gallery-detail-info h3 {
  font-size: 20px;
  color: #000000;
  font-weight: 500;
  margin-bottom: 8px;
  text-align: center;
}

.gallery-detail-info > div {
  display: flex;
  gap: 9px;
}

.gallery-detail-info .category {
  background-color: #dadada;
  border-radius: 4px;
  padding: 1px 13px;
  color: #404040;
}
.gallery-detail-info .date {
  color: #808080;
}

.past-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 268px));
  column-gap: 41px;
  row-gap: 52px;
}

.past-item img {
  width: 100%;
  height: 166px;
  object-fit: cover;
  object-position: center;
  margin-bottom: 10px;
}

.past-item h3 {
  color: #000000;
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 4px;
}

.past-item span {
  font-size: 15px;
  color: #8b8b8b;
}

.past-img-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.past-img-wrap img {
  width: 100%;
  max-width: 518px;
  object-fit: cover;
  object-position: center;
}

.past-img-wrap.program img {
  max-width: 700px;
}

.workshop-info p {
  color: #000000;
}

.workshop-info ul {
  margin-top: 21px;
}

.workshop-info li {
  display: flex;
  gap: 5px;
}

.workshop-info li label {
  font-weight: 600;
}

.menu-wrap {
  display: flex;
  gap: 61px;
}

.menu-wrap > div {
  width: 100%;
}

.menu-wrap .workshop-menu {
  max-width: 265px;
  min-width: 265px;
}

.workshop-menu {
  border: 1px solid #bbbbbb;
  height: 330px;
}

.workshop-menu .top {
  background-color: #087376;
  color: #ffffff;
  padding: 17px 34px;
}

.workshop-menu a {
  display: block;
  padding: 12px 34px;
}

.workshop-menu li.current a {
  background-color: #ededed;
  font-weight: 600;
}

.program-file {
  color: #087376;
  margin: 30px 0;
}

.join-box {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

.join-box a {
  border: 2px solid #267b7a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 275px;
  height: 93px;
  gap: 7px;
}

.join-box a:hover {
  background-color: #267b7a;
}

.join-box a:hover span {
  color: #ffffff !important;
}

.join-box a span:first-child {
  font-size: 18px;
  color: #087376;
  font-weight: 600;
}

.join-box a span:last-child {
  font-size: 15px;
}

/* 활성화된 링크의 hover 효과 */
.join-box a:hover {
  background-color: #267b7a;
}

/* 비활성화된 링크 */
.join-box a.disabled {
  border-color: grey;
}

.join-box a.disabled span {
  color: grey !important;
}

/* 비활성화된 링크의 hover 효과 제거 */
.join-box a.disabled:hover {
  background-color: transparent;
  cursor: default; /* 커서 모양을 기본값으로 설정하여 클릭 이벤트를 비활성화합니다. */
}

.workshop-table-box:not(:first-child) {
  margin-top: 40px;
}

.workshop-table-box h4 {
  font-size: 22px;
  color: #000000;
  font-weight: 600;
  margin-bottom: 15px;
}

.workshop-table,
.workshop-table tr,
.workshop-table td,
.workshop-table th {
  border-collapse: collapse;
  font-size: 15px;
}

.workshop-table {
  width: 100%;
}

.workshop-table th,
.workshop-table td {
  padding: 12px 20px;
}

.workshop-table th {
  background-color: #449c9b;
  color: #ffffff;
}

.workshop-table th:first-child {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.workshop-table th:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.workshop-table tbody tr:nth-child(odd) {
  background-color: #e7f1f1;
}

.program-table th:nth-child(1),
.program-table td:nth-child(1) {
  min-width: 140px;
  width: 140px;
  text-align: center;
}

.program-table th:nth-child(2),
.program-table td:nth-child(2) {
  width: 100%;
}

.program-table th:nth-child(3),
.program-table td:nth-child(3) {
  min-width: 100px;
  width: 100px;
  text-align: center;
}

.people-table th:nth-child(1),
.people-table td:nth-child(1) {
  min-width: 70px;
  width: 70px;
  text-align: center;
}

.people-table th:nth-child(2),
.people-table td:nth-child(2) {
  min-width: 200px;
  width: 200px;
  text-align: center;
}

.people-table th:nth-child(3),
.people-table td:nth-child(3) {
  width: 100%;
}

.people-table th:nth-child(4),
.people-table td:nth-child(4) {
  min-width: 130px;
  width: 130px;
  text-align: center;
}

.form-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-wrap .doc-title {
  text-align: center;
}

.form-wrap .submit-box {
  margin-top: 60px;
}

.workshop-row {
  display: flex;
  align-items: center;
}

.workshop-row {
  margin-bottom: 16px;
}

.workshop-row label {
  min-width: 140px;
  width: 140px;
  color: #303030;
}

.workshop-row label span {
  color: #fe8f20;
  margin-left: 3px;
}

.workshop-row input,
.workshop-row select {
  width: 100%;
  border: 1px solid #bcbcbc;
  padding: 10px 20px;
  color: #303030;
  outline: none;
  font-size: 16px;
}

.workshop-row textarea{
  width: 100%;
  height: 100px;
  padding: 10px 20px;
  border: 1px solid #bcbcbc;
  color: #303030;
  outline: none;
  font-size: 16px;
}

.workshop-row input:focus,
.workshop-row select:focus {
  border: 1px solid #267b7a;
}

.form-wrap form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.workshop-row {
  width: 100%;
  max-width: 424px;
}

.abstract-row {
  width: 100%;
  max-width: 800px;
}

.abstract-row {
  margin-bottom: 40px;
}

.radio-box {
  display: flex;
  align-items: center;
  gap: 34px;
}

.radio-box > div {
  display: flex;
  align-items: center;
  gap: 7px;
}

.radio-box input {
  display: none;
}

.radio-box input + label {
  width: 26px;
  min-width: 26px;
  height: 26px;
  min-height: 26px;
  border: 1px solid #bcbcbc;
  background-color: #ffffff;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.radio-box input:checked + label > div {
  width: 18px;
  height: 18px;
  border-radius: 100%;
  background-color: #267b7a;
}

@media only screen and (max-width: 768px) {
  .workshop-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

.admin-table-wrap {
  max-width: 900px;
  margin: 0 auto;
  flex-direction: column;
  align-items: flex-start;
}

.abstract-table th:nth-child(1),
.abstract-table td:nth-child(1) {
  min-width: 70px;
  width: 70px;
  text-align: center;
}

.abstract-table th:nth-child(3),
.abstract-table td:nth-child(3) {
  min-width: 130px;
  width: 130px;
  text-align: center;
}

.abstract-table th:nth-child(4),
.abstract-table td:nth-child(4) {
  min-width: 110px;
  width: 110px;
  text-align: center;
}

.abstract-table td a,
.abstract-table td span,
.abstract-table td button {
  outline: none;
  border: none;
  padding: 0;
  background-color: transparent;
  color: #707070;
  font-size: 15px;
}

.admin-table-wrap {
  display: flex;
  justify-content: center;
}

.admin-checkbox {
  display: none;
}

.admin-checkbox + label {
  display: flex;
  width: 22px;
  min-width: 22px;
  height: 22px;
  min-height: 22px;
  border: 1px solid #bcbcbc;
  background-color: #ffffff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.admin-checkbox + label > div {
  width: 18px;
  height: 18px;
  background-color: transparent;
}

.admin-checkbox:checked + label > div {
  background-color: #267b7a;
}

.admin-people-table th:nth-child(1),
.admin-people-table td:nth-child(1) {
  min-width: 70px;
  width: 70px;
}

.admin-people-table th:nth-child(2),
.admin-people-table td:nth-child(2) {
  min-width: 70px;
  width: 70px;
  text-align: center;
  cursor: pointer;
}

.admin-people-table th:nth-child(3),
.admin-people-table td:nth-child(3) {
  min-width: 150px;
  width: 150px;
  text-align: center;
  cursor: pointer;
}

.admin-people-table th:nth-child(4),
.admin-people-table td:nth-child(4) {
  cursor: pointer;
  text-align: left;
}

.admin-people-table th:nth-child(5),
.admin-people-table td:nth-child(5) {
  min-width: 150px;
  width: 150px;
  text-align: center;
  cursor: pointer;
}

.admin-table-btn {
  margin-top: 25px;
  display: flex;
  gap: 22px;
}

.admin-table-btn > * {
  background-color: transparent;
  border: none;
  outline: none;
  color: #767676;
  font-size: 15px;
}

.admin-table-btn > a {
  color: #449c9b;
}
