/* sub-head */
.sub-head>.container {
  display: flex;
  justify-content: space-between;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* title-wrap */
.sub-head .title-wrap .breadcrumbs {
  font-size: .9em;
  display: flex;
  gap: .4rem;
  align-items: center;
  color: #606060;
}

.sub-head .title-wrap .breadcrumbs a {
  display: flex;
  gap: .4rem;
  align-items: center;
}

.sub-head .title-wrap .breadcrumbs a::after {
  content: "\ea54";
  font-family: "remixicon";
  font-size: 1.2em;
}

.sub-head .title-wrap .breadcrumbs a:last-child {
  font-weight: 700;
  color: #101010;
}

.sub-head .title-wrap .breadcrumbs a:last-child::after {
  display: none;
}

.sub-head .title-wrap .title {
  font-size: 2.7em;
  font-weight: 700;
}

/* share-wrap */
.sub-head .share-wrap {
  display: flex;
  gap: 5px;
}

.sub-head .share-wrap a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  position: relative;
  z-index: 2;
  border: solid 1px var(--border-color);
  border-radius: 1.2rem;
  transition: all .3s ease-out 0s;
}

.sub-head .share-wrap a::before {
  content: '';
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  color: #848484;
}

.sub-head .share-wrap a:hover {
  box-shadow: 0 4px 7px rgba(100, 100, 100, 0.2);
}

.sub-head .icon_share.toggle::before {
  background: none;
  content: "\eb99";
  font-family: 'remixicon';
  color: #888;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sub-head .icon_share::before {
  background: url(/main/img/icon_share.png) no-repeat 50% 50%;
}

.sub-head .icon_clip::before {
  background: url(/main/img/icon_clip.png) no-repeat 50% 50%;
}

.sub-head .icon_print::before {
  background: url(/main/img/icon_print.png) no-repeat 50% 50%;
}

.sub-head .icon_plus::before {
  content: "\ea12" !important;
  font-family: "remixicon";
}

.sub-head .icon_minus::before {
  content: "\f1ae" !important;
  font-family: "remixicon";
}

#shareWrap .item {
  position: relative;
  z-index: 1;
}

#shareWrap #share {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  gap: 7px;
  transition: all .5s ease 0s;
  opacity: 0;
  display: flex;
  flex-direction: column;
  transform-origin: top;
  background: #fff;
  border: solid 1px #dcdcdc;
  padding: 10px 5px;
  border-radius: 30px;
  box-shadow: 5px 5px 5px rgba(100, 100, 100, .1);
  animation-name: showHideFlex;
  animation-delay: 1s;
  animation-iteration-count: 1;
  animation-direction: reverse;
  animation-fill-mode: forwards;
}

#shareWrap.active #share {
  opacity: 1;
  top: 5px;
  animation-name: showHideFlex;
  animation-delay: 1s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  animation-direction: normal;
}

@keyframes showHideFlex {
  0% {
    background: #ff0;
    transform: translateX(-50%) scaleY(0);
  }

  100% {
    transform: translateX(-50%) scaleY(1);
  }
}


#share a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  border-radius: 50%;
  width: 1em;
  height: 1em;
}

#share a::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateY(-50%) translateX(-50%);
  width: 1em;
  height: 1em;
  background-repeat: no-repeat;
  background-size: auto 1em;
  background-position: 50%;
}

#share .facebook a::after {
  background-image: url(/main/img/facebook.svg);
}

#share .youtube a::after {
  background-image: url(/main/img/youtube.svg);
}

#share .band a::after {
  background-image: url(/main/img/blog.svg);
}

#share .instagram a::after {
  background-image: url(/main/img/instagram.svg);
}

#share .twitter-x a::after {
  background-image: url(/main/img/twitter-x.svg);
  background-size: auto .5em;
}

/* sub-contents 컨텐츠 */
.sub-contents .headTab-wrap {
  border-bottom: solid 1px var(--border-color);
  margin-bottom: 4rem;
  margin-top: -4rem;
  background: #fff;

}

.sub-contents .headTab-wrap::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  height: 1px;
  width: 100%;
  background: #fff;
}

.sub-contents .headTab-wrap .selectedBtn {
  display: none;
}

.sub-contents .headTab-wrap ul {
  display: flex;
  justify-content: center;
  border-top: solid 1px #999;
  background-color: #fafafa;
}

.sub-contents .headTab-wrap li {
  flex-grow: 1;
  flex-shrink: 0;
  position: relative;
  border-right: solid 1px var(--border-color);
}

.sub-contents .headTab-wrap li:last-child {
  border-right: none;
}

.sub-contents .headTab-wrap a {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-basis: 100%;
  width: 100%;
  padding: 2rem;
  font-size: 1.1em;
  gap: .5rem;
}

.sub-contents .headTab-wrap a.active {
  border-bottom: solid 2px var(--primary);
  font-weight: 700;
  color: var(--primary);
  background-color: #fff;
}

.sub-contents .contents-area>.container {
  border-top: solid 1px var(--border-color);
  padding-top: 4rem;
  padding-bottom: 4rem;
  position: relative;
}

@media (max-width: 980px) {
  .sub-head>.container {
    padding-bottom: 2rem;
  }

  .sub-head .title-wrap .title {
    font-size: 2em;
  }

  .sub-head>.container {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 780px) {
  .sub-contents .headTab-wrap {
    border-bottom: none;
    box-shadow: 0 4px 4px rgba(100, 100, 100, 0.1);
    border-radius: 1.2rem;
  }

  .sub-contents .headTab-wrap .selectedBtn {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border: solid 1px var(--border-color);
    width: 100%;
    border-radius: 1.2rem;
    font-weight: 600;
    font-size: 1.1em;
    font-size: .95em;
  }

  .sub-contents .headTab-wrap.open .selectedBtn i {
    transform: rotate(180deg);
    transform-origin: center;
  }

  .sub-contents .headTab-wrap .selectedBtn i {
    font-size: 18px;
    line-height: 1;
  }

  .sub-contents .headTab-wrap ul {
    flex-direction: column;
    border: solid 1px var(--border-color);
    display: none;
  }

  .sub-contents .headTab-wrap.open ul {
    display: block;
    position: absolute;
    width: calc(100% - 4rem);
    background: #fff;
    margin-top: 1rem;
    z-index: 5;
  }

  .sub-contents .headTab-wrap li::after {
    display: none;
  }

  .sub-contents .headTab-wrap a {
    border-bottom: dashed 1px var(--border-color) !important;
  }

  .sub-contents .headTab-wrap li:last-child a {
    border-bottom: none !important;
  }

}

/* common */

/* 로그인 폼 */
#login {
  max-width: 45rem;
  margin-left: auto;
  margin-right: auto;
  border: solid 1px var(--border-color);
  padding: 4rem;
  box-shadow: 0 4px 20px rgba(100, 100, 100, 0.2);
}

#login .title {
  font-size: 1.2em;
  font-weight: 700;
  margin-bottom: 2rem;
  display: flex;
  gap: .5rem;
  align-items: center;
}

#login .title::before {
  content: "\f264";
  font-family: "remixicon";
}

#login .form {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

#login .form input[type=text],
#login .form input[type=password] {
  padding: 1.5rem;
  background: #fafafd;
  border: none;
  border-radius: var(--form-rd1);
  height: 5rem !important;
  border: solid 1px var(--border-color);
  margin: 0 !important;
}

#login .form .btn {
  height: 5rem !important;
  margin-top: 1rem;
  background-color: var(--primary);
}

#login .sns_login {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  border-top: solid 1px var(--border-color);
  padding-top: 2rem;
  margin-top: 2rem;
}

#login a {
  transition: all .3s ease-out 0s;
}

#login .sns_login a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 5rem;
  border-radius: var(--form-rd1);
  gap: .5rem;
  font-weight: 600;
  width: 100%;
}

#login .sns_login a:hover {
  color: inherit;
}

.vvYellow {
  background: #FEE501 !important;
  color: #3b1e1e !important;
}

.vvYellow:hover {
  background: #e3cd03 !important;
}

.ltGreen {
  background: #2db400 !important;
  color: #fff !important;
}

.ltGreen:hover {
  background: #2a9904 !important;
  color: #fff !important;
}

.sns_login .ltGreen i {
  color: #fff !important;
}

#login .sns_login i {
  font-size: 1.3em;
}


@media (max-width:780px) {
  #login {
    max-width: none;
    box-shadow: none;
    border: none;
    padding: 0 2rem;
  }
}



#login .member-btn {
  display: flex;
  border-top: solid 1px var(--border-color);
  margin-top: 2rem;
  padding-top: 2rem;
  justify-content: center;
}


#login .member-btn a {
  font-weight: 400;
  flex-grow: 1;
  padding: .5rem;
  text-align: center;
  font-size: .95em;
  flex-basis: 100%;
  position: relative;
}

#login .member-btn a::after {
  content: '';
  position: absolute;
  width: 1px;
  height: 2rem;
  background: var(--border-color);
  right: 0;
  top: calc(50% - 1rem);
}

#login .member-btn a:last-child::after {
  display: none
}



/* 용어사전  */
.dictionaryList ul {
  display: flex;
  flex-direction: column;
  padding-bottom: 2rem;
}

.dictionaryList ul li {
  border-bottom: solid 1px #dcdcdc;
  padding-bottom: 1rem;
  display: flex;
  flex-direction: column;
}

.dictionaryList ul li:last-child {
  border-bottom: none;
}

.dictionaryList ul li strong {
  font-weight: 700;
  margin-bottom: 1rem;
  padding: 1rem;
  background: #fafafa;
  border-bottom: dashed 1px #dcdcdc;
}

.dictionaryList ul li p {
  margin-bottom: .5rem;
  padding: .3rem 1rem;
  font-weight: 400;
  font-size: .95em;
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  line-height: 1.5;
}

.dictionaryList ul li p b {
  font-weight: 600;
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  vertical-align: middle;
}

.dictionaryList ul li p b::before {
  content: '';
  display: inline-flex;
  width: 3px;
  height: 3px;
  border-radius: 3px;
  background: #666;
}

.dictionaryWord {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(35px, 1fr));
  gap: .5rem;
  margin-bottom: 1rem;
  background: var(--lightBlue);
  padding: 1rem;
  border: solid 1px var(--border-color);
  border-radius: var(--form-rd1);
}

.dictionaryWord a {
  display: inline-flex;
  min-width: 2em;
  height: 2em;
  align-items: center;
  justify-content: center;
  padding: .7rem;
  border: solid 1px var(--border-color);
  background: #fff;
  font-size: .9em;
  border-radius: var(--form-rd1);
  height: 35px;
}

.dictionaryWord a:hover {
  color: inherit;
  background: #efefef;
}

.dictionaryWord a.active {
  background: var(--dark-bg);
  color: #ffffff;
}


.board_box.type1.login .member-btn::before {
  display: none !important;
}

@media (max-width: 768px) {
  .dictionaryList .board_info {
    margin-bottom: 1rem;
  }
}


/* 회원가입 */
.m_member_step .hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.step-wrap {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.m_member_step {
  display: flex;
  justify-content: space-between;
  font-size: 1.6rem;
  position: relative;
  height: 10rem;
  margin-left: 4rem;
  margin-right: 4rem;
}

.m_member_step::before {
  content: '';
  position: absolute;
  height: 1px;
  width: calc(100% - 10px);
  background-color: #E4E4E4;
  top: 1.2rem;
  left: 5px;
}

.m_member_step>* {
  display: flex;
  flex-direction: column;
  position: relative;
}

.m_member_step .txt {
  position: absolute;
  top: 3rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.m_member_step .txt small {
  color: #777;
  font-size: .9em;
}

.m_member_step .txt strong {
  font-weight: 700;
}


.m_member_step>*::before {
  content: "\eb7c";
  font-family: 'remixicon';
  display: inline-flex;
  font-size: 2rem;
  color: #E4E4E4;
  margin-bottom: 1rem;
}

.m_member_step>*.active::before {
  content: "\f050";
  color: var(--primary);
}

.m_member_step>*.done::before {
  content: "\eb80";
  color: var(--dark-bg);
}

#term .tit-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 4rem;
  margin-bottom: 2rem;
  font-weight: 700;
  font-size: 2.2rem;

}

#term .tit-group .title {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0;
}

#term .title {
  font-size: 2rem;
  margin-top: 4rem;
  margin-bottom: 2rem;
  font-weight: 600;
}

#term .desc {
  display: flex;
  justify-content: space-between;
  background-color: #fafafa;
}

#term .form_check {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 1rem;
}

#term .agree .item,
#term .desc {
  border: solid 1px var(--border-color);
  padding: 2rem;
  max-height: 300px;
  overflow: auto;
  font-size: 1.6rem;
  line-height: 1.5;
  margin-bottom: 2rem;
}

#term .agree .item {
  font-size: 1.5rem;
  margin-bottom: 0;
}

#term .agree .form {
  background-color: #fafafa;
  padding: 2rem;
  margin-top: 1rem;
  border: solid 1px #dcdcdc;
  display: flex;
  gap: 2rem;
}

#term .agree::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

#term .agree::-webkit-scrollbar-thumb {
  background-color: #F2F2F2;
  border-radius: 10px;
}

#term .agree::-webkit-scrollbar-track {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: inset 0px 0px 10px white;
}

#term .board_btns {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* 회원가입 2단계 */

.member .join-btn-wrap {
  max-width: 450px;
  border: solid 1px var(--border-color);
  padding: 4rem 3rem;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(100, 100, 100, 0.2);
  margin-top: 2rem;
}

.member .join-btn-wrap i {
  font-size: 2rem;

}

.member .join-btn-wrap .img i {
  font-size: 6rem;
  background: linear-gradient(90deg, #2D4D95 0, #209179 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.member .tit-group {
  font-size: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 4rem;
}

.member .title {
  font-size: 2.6rem !important;
  font-weight: 700 !important;
  margin-bottom: 0 !important;
  background: linear-gradient(90deg, #2D4D95 0, #209179 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.member .board_btns_certi {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}


@media (max-width:580px) {
  #term .desc {
    flex-direction: column;
    gap: 2rem;
  }

  #term .form_check {
    background-color: #fafafa;
    border: solid 1px #dcdcdc;
    padding: 2rem;
  }
}

/* 사이트맵 */
.sitemap-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.sitemap-wrap>* {
  flex-basis: calc(33% - 2rem);
  border-top: solid 1px var(--border-color);
  display: flex;
  flex-direction: column;
}

.sitemap-wrap strong {
  background-color: var(--lightBlue);
  border-bottom: solid 1px var(--border-color);
  padding: 1.4rem 2rem;
  font-weight: 700;
  color: var(--dark-bg);
}

.sitemap-wrap .menuBox {
  padding: 1rem;
  font-size: 1.6rem;
}

.sitemap-wrap .menuBox a {
  display: block;
  padding: .8rem 1rem;
  border-bottom: dashed 1px #ededed;
}

.sitemap-wrap .menuBox li:last-child a {
  border-bottom: none;
}

.sitemap-wrap h3 span {
  background: linear-gradient(180deg, #2D4D95 0, #209179 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-weight: 800 !important;
  border: none;
  font-weight: 2em;
}

.sitemap-wrap .div {
  flex-basis: 100%;
  margin-top: 2rem;
  margin-bottom: 4rem;
  border-top-style: dashed;
  border-color: #dcdcdc;
  box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
}

.sitemap-wrap .div:nth-child(1) {
  border: none;
  margin-top: 0;
  padding-top: 0;
}

@media (max-width:780px) {
  .sitemap-wrap>* {
    flex-basis: calc(50% - 2rem);
  }
}

@media (max-width:560px) {
  .sitemap-wrap>* {
    flex-basis: 100%;
  }
}

/* 교육추천_상세페이지 */
.edu_conts li {
  display: flex;
  align-items: flex-start;
}

.edu_conts li strong {
  display: flex;
  align-items: center;
}

/* basic.css 수정 */
.check-box .check label {
  font-size: 1.6rem;
  padding: 0 1rem !important;
  color: #333 !important;
}

.check-box .check input:checked+label {
  color: #fff !important;
}

.tagSearch form {
  width: 100%;
}

.category-tab {
  margin-bottom: 1rem;
}

.category-tab>* {
  padding: 1rem;
  background-color: var(--lightBlue);
  border: solid 1px var(--border-color);
  border-radius: .6rem;
  min-height: 7rem;
}

.category-tab .links {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  font-size: .95em;
}

.category-tab .links a {
  display: flex;
  padding: 1rem;
  flex-grow: 1;
  border: solid 1px #dcdcdc;
  justify-content: center;
  background-color: #fff;
  border-radius: .6rem;
  white-space: nowrap;
  align-items: center;
}

.category-tab .links a.active {
  background: var(--primary);
  color: #fff;
}

#targetID {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

#contents .gallery_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 0;
  padding-top: 2rem;
  width: 100%;
}

#contents .gallery_list li {
  width: 100%;
  margin: 0;
}

@media (max-width: 1320px) {
  #contents .board_pdf {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  #contents .board_pdf {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #contents .gallery_list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  #contents .board_pdf {
    display: grid;
  }

  #contents .board_pdf .group {
    gap: 0;
  }

  #contents .board_pdf .group .item p {
    margin-left: -.5rem;
  }

}

@media (max-width: 590px) {

  #contents .board_pdf,
  #contents .gallery_list {
    display: block;
  }

  #contents .gallery_list {
    padding-top: 1rem;
  }

  #contents .gallery_list li {
    margin-bottom: 1rem;
  }
}

/* 규제과학 동향리포트 */
.board_pdf li {
  background-color: var(--lightBlue);
  border: solid 1px var(--border-color);
  padding: 2rem;
}

/* 마이페이지 */
#mypage-contnets .myclass {
  margin-bottom: 2rem;
}

#mypage-contnets .board_box.type2.myclass .desc .text em {
  color: var(--primary);
  font-weight: 700;
}

#mypage-contnets .board-card-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

#mypage-contnets .board-card-list .box {
  border: 1px solid #DBDBDB;
}

#mypage-contnets .board-card-list .box .con {
  display: flex;
  flex-direction: column;
}

#mypage-contnets .board-card-list .box .con .group {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  text-align: center;
  padding: 2rem 2rem 0;
  width: 100%;
}

#mypage-contnets .board-card-list .box .con .group strong {
  font-weight: 700;
  margin-bottom: 1rem;
}

#mypage-contnets .board-card-list .box .con .group strong+span {
  margin-top: -1rem;
}

#mypage-contnets .board-card-list .box .con .group span {
  font-size: .9em;
  color: #666;
}

#mypage-contnets .board-card-list .box .con .group ul {
  display: flex;
  width: 100%;
  border-top: dashed 1px #dcdcdc;
  padding: 1rem;
  gap: .5rem;
  flex-direction: column;
}

#mypage-contnets .board-card-list .box .con .group ul li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.5rem;
  font-size: 1.6rem;
}

#mypage-contnets .board-card-list .box .con .group ul li::before {
  content: '';
  display: inline-flex;
  width: 3px;
  height: 3px;
  border-radius: 3px;
  background-color: var(--primary);
  vertical-align: middle;
  line-height: 1;
}

#mypage-contnets .board-card-list .box .con .group ul .tit {
  font-weight: 700;
}

#mypage-contnets .board-card-list .box .con .btn-group {
  display: flex;
  width: 100%;
}

#mypage-contnets .board-card-list .box .con .btn-group>* {
  flex-grow: 1;
  width: 33.33%;
  border-radius: 0;
  border: solid 1px transparent;
}

#mypage-contnets .btn.apply {
  background-color: var(--primary);
  border: solid 1px var(--primary) !important;
}

#mypage-contnets .btn.apply:hover {
  border-color: var(--primary);
  background-color: #fff;
  color: var(--primary)
}

#mypage-contnets .btn.testing {
  background-color: var(--secondary);
  border: solid 1px var(--secondary) !important;
}

#mypage-contnets .btn.testing:hover {
  border-color: var(--secondary);
  background-color: #fff;
  color: var(--secondary)
}


#mypage-contnets .btn.del i {
  font-size: 1.2rem;
}

#mypage-contnets .btn.cancel,
#mypage-contnets .btn.del,
#mypage-contnets .btn.satisfy {
  background-color: var(--dark-bg);
  border: solid 1px var(--dark-bg) !important;
  color: #fff;
}

#mypage-contnets .btn.cancel:hover,
#mypage-contnets .btn.del:hover,
#mypage-contnets .btn.satisfy:hover {
  border-color: var(--dark-bg);
  background-color: #fff;
  color: var(--dark-bg)
}

#mypage-contnets .board-card-list .detail {
  border: solid 1px var(--border-color);
  background-color: var(--lightBlue);
  position: relative;
}

#mypage-contnets .board-card-list .detail strong {
  font-weight: 700;
  display: block;
  padding-bottom: 1rem;
  border-bottom: solid 1px var(--border-color);
  padding: 1.5rem 2rem;
}

#mypage-contnets .board-card-list .detail ul {
  display: flex;
  flex-direction: column;
  font-size: 1.6rem;
}

#mypage-contnets .board-card-list .detail ul>li {
  position: relative;
  padding-left: .5em;
  display: flex;
  flex-direction: column;
  border-bottom: solid 1px var(--border-color);
  margin: 1rem 2rem 0;
  padding-bottom: 1rem;
}

#mypage-contnets .board-card-list .detail ul>li:last-child {
  border-bottom: none;
}

#mypage-contnets .board-card-list .detail ul>li::before {
  content: '';
  display: inline-flex;
  width: 3px;
  height: 3px;
  border: 3px;
  line-height: 1em;
  background-color: var(--primary);
  position: absolute;
  left: 0;
  top: .5em;
}

#mypage-contnets .board-card-list .detail ul>li em {
  font-weight: 700;
}

#mypage-contnets .board-card-list .detail ul>li .btn.edu-before,
#mypage-contnets .board-card-list .detail ul>li .btn.edu-ing,
#mypage-contnets .board-card-list .detail ul>li .btn.edu-end {
  height: 2rem;
  /* width: auto !important; */
  display: inline-flex;
  background: var(--primary);
  position: absolute;
  right: 0;
  top: 0;
  /* transform: translateY(-50%); */
  width: 5em;
}

#mypage-contnets .board-card-list .detail ul>li .btn.edu-before:hover {
  background: var(--primary-hover);
}

#mypage-contnets .board-card-list .detail ul>li .btn.edu-ing {
  background-color: var(--secondary)
}

#mypage-contnets .board-card-list .detail ul>li .btn.edu-ing:hover {
  background-color: var(--secondary-hover)
}

#mypage-contnets .board-card-list .detail ul>li .btn.edu-end,
.btn.edu-end {
  background-color: #dcdcdc;
  color: #777;
}

#mypage-contnets .board-card-list .detail .btn-toggle-detail-close {
  position: absolute;
  right: 2rem;
  top: 2rem;
}

#mypage-contnets .board-card-list .detail .btn-toggle-detail-close .IR {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


@media (max-width:950px) {
  #mypage-contnets .board-card-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width:680px) {
  #mypage-contnets .board-card-list {
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
  }

  #mypage-contnets .board_box.type2 .title {
    margin-top: 0;
  }

  #mypage-contnets .board-card-list .box .con .group ul {
    flex-direction: column;
  }
}



/* 교육추천 상세2  ,edu_detail */
.edu_detail .basic .list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 4rem;

}

.edu_detail .board_view.type2 .detail .dep02 {
  text-align: left;
}

.edu_detail .basic .list .title {
  font-size: 2.8rem;
  font-weight: 700;
}

.edu_detail .basic .list .item {
  display: flex;
}

.edu_detail .basic .list .item li {
  padding-right: 1rem;
  margin-right: 1rem;
  position: relative;
}

.edu_detail .basic .list .item li::before {
  content: '';
  height: .6em;
  width: 1px;
  background-color: #dcdcdc;
  position: absolute;
  right: 0;
  top: calc(50% - .3em);
}

.edu_detail .basic .list .item li:last-child::before {
  display: none;
}

.edu_detail .basic .list .item strong {
  font-weight: 700;
}

.edu_detail .basic .list .item strong::after {
  content: " : ";
}

.edu_detail .btn-group {
  display: flex;
}

.edu_detail .btn-group>* {
  flex-basis: 50%;
  flex-grow: 1;
  border-radius: 0;
  padding: 3rem;
}

.edu_detail .btn-group .btn.cancel {
  background-color: var(--secondary);
  border: solid 1px var(--secondary-hover);
}

.edu_detail .btn-group .btn.cancel:hover {
  background-color: var(--secondary-hover)
}

.edu_detail .btn-group .btn.learning {
  background-color: var(--primary);
  border: solid 1px var(--primary-hover);
}

.edu_detail .btn-group .btn.learning:hover {
  background-color: var(--primary-hover);
}

.edu_detail .detail .dep02 {
  margin-top: 4rem;
  margin-bottom: 2rem;
  display: block;
}

.edu_detail .edu_conts.video {
  background-color: #fafafa;
  padding: 1rem;
  border: solid 1px #dcdcdc;
}

.edu_detail .edu_conts.video .youtube {
  background-color: #333;
}

.edu_detail .edu_conts.video .youtube iframe {
  width: 100%;
  aspect-ratio: 1/0.5625;
}

.edu_detail .detail .info2,
.edu_detail .detail .info3 {
  background: #fff;
  padding: 2rem;
  border: solid 1px #ededed;
  box-shadow: 0 3px 7px rgba(100, 100, 100, .05);
  border-top-color: #aaa;
  line-height: 1.5;
}

.edu_detail .detail .info3 ol {
  display: flex;
  flex-direction: column;
  border: solid 1px #dcdcdc;
  margin-top: 2rem;
}

.edu_detail .detail .info3 ol>li {
  background-color: var(--lightBlue);
  padding: 2rem;
  border-bottom: solid 1px var(--border-color);
  display: flex;
  gap: 1rem;
  flex-direction: column;
}

.edu_detail .detail .info3 ol>li>p {
  display: flex;
  width: 100%;
  font-weight: 700;
}

.edu_detail .detail .info3 ol>li>p strong {
  position: relative;
  padding-left: .5rem;
  padding-right: .5rem;
}

.edu_detail .detail .info3 ol>li>p strong::before {
  content: '';
  position: absolute;
  width: 100%;
  height: .7em;
  bottom: 0;
  left: 0;
  background-color: rgba(47, 106, 255, 0.15);
}

.edu_detail .detail .info3 ol>li>ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.edu_detail .detail .info3 ol>li>ul>li {
  position: relative;
  padding-left: 1rem;
}

.edu_detail .detail .info3 ol>li>ul>li::before {
  content: '';
  width: 3px;
  height: 3px;
  border-radius: 3px;
  background-color: #333;
  position: absolute;
  left: 0;
  top: .6em;
}


/* common color Section */
.box.warning {
  background-color: #FFF8E9 !important;
  border: solid 1px #fde2ae;
  padding: 1rem 2rem 1rem 4rem;
  display: flex;
  border-radius: .4rem;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  font-weight: 500;
  position: relative;
  line-height: 1.3;
}

.box.warning::before {
  content: "\eca0";
  font-family: 'remixicon';
  position: absolute;
  left: 1em;
  top: .7rem;
  font-size: 1.8rem;
  color: #ffa923;
}

.badge,
.edu_detail .category1 em {
  font-size: 1.3rem;
  padding: .2rem .7rem;
  border-radius: var(--form-rd1) !important;
  padding: .5rem .7rem !important;
  color: #333 !important;
  font-weight: 500;
}

.badge.whBlue,
.edu_detail .category1 .new {
  background-color: #EFF5FF !important;
  border: solid 1px #bacbe7;
}

.badge.whCyan,
.edu_detail .category1 .end {
  background-color: #e6fafd !important;
  border: solid 1px #aad4db;
}

.badge.whGreen {
  background-color: #EEF7F0 !important;
  border: solid 1px #a2d1ac;
}

.badge.whOrange {
  background-color: #fff2e9 !important;
  border: solid 1px #ffc69e;
}

.badge.whRed,
.edu_detail .category1 .like {
  background-color: #FEECF0 !important;
  border: solid 1px #FCD4DE;
}

.badge.whGray {
  background-color: #fafafa !important;
  border: solid 1px #dcdcdc;
}

.badge.whYellow {
  background-color: #FFF8E9 !important;
  border: solid 1px #fde2ae;
}


/* 통합검색 */
#contents .search_result .depth4_tab {
  margin-bottom: 4rem;
}

#contents .search_result .label {
  font-size: 1.2em;
  font-weight: 700;
}

#contents .search_result .point,
#contents .search_result .label strong,
#contents .search_result .title .point1 {
  color: var(--primary);
}

#contents .search_result .board_list .info {
  margin-top: .5rem;
}

#contents .search_result .board_list li a {
  padding: 2rem 0;

}

#contents .search_result .board_list li a:hover strong {
  position: relative;
  display: inline;
}

#contents .search_result .board_list li a:hover strong::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  background-color: rgb(47 106 255 / 20%);
  width: 100%;
  height: .7em;
}

#contents .search_result .depth4_tab>ul {
  border-top: solid 1px #dcdcdc;
  border-right: solid 1px #dcdcdc;
}

#contents .search_result .depth4_tab>ul li {
  border-bottom: solid 1px #dcdcdc;
  border-left: solid 1px #dcdcdc;
}

#contents .search_result .depth4_tab>ul li.active {
  background-color: var(--dark-bg);
  color: #fff;
}

#contents .search_result .depth4_tab>ul li a {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-direction: row !important;
  justify-content: center;
}

#contents .search_result .depth4_tab>ul li a:hover {
  color: #333;
  background-color: #fafafa;
}

#contents .search_result .depth4_tab>ul li a span {
  margin: 0;
  font-size: .8em;
  line-height: 0;
  color: inherit;
}

#contents .search_result .depth4_tab>ul li.active a span {
  color: #fff;
}

#contents .search_result .group .button {
  display: block;
  text-align: center;
}

#contents .search_result .group .more {
  font-weight: 400;
  padding: .5em 1em;
  font-size: 1.5rem;
  width: auto;
  display: inline-block;
  border: solid 1px #ccc;
  color: #555;
  margin: 2rem 0;
}

/* 교육과정맵 */
.edumap-wrap {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.edumap-wrap .depth-1 {
  background-color: var(--primary);
  color: #fff;
  width: 30rem;
  padding: 1.5rem;
  border-radius: .5rem;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
}

.edumap-wrap .depth-2 {
  padding-left: 10rem;
  position: relative;
}

.edumap-wrap .depth-3 {
  display: flex;
  flex-direction: column;
  position: relative;
}

.edumap-wrap .depth-3::before {
  content: '';
  position: absolute;
  height: calc(100% + 4rem);
  width: 1px;
  background-color: var(--dark-bg);
  top: -1.5rem;
  left: -5rem;
  z-index: -1;
}

.edumap-wrap .depth-3:first-child:last-child:before {
  top: -4.2rem;
}

.edumap-wrap .depth-3:last-child:before {
  height: 50%;
}

.edumap-wrap .depth-3:last-child:not(.edumap-wrap .depth-3:first-child):before {
  display: none;

}

.edumap-wrap .depth-3::after {
  content: '';
  position: absolute;
  height: 1px;
  width: 5rem;
  background-color: var(--dark-bg);
  left: -5rem;
  top: 2.5rem;
  z-index: -1;
}

.edumap-wrap ul {
  display: flex;
  gap: 1rem;
  width: auto;
  flex-direction: column;
  width: 100%;
}

.edumap-wrap strong {
  width: 30rem;
  background-color: var(--dark-bg);
  color: #fff;
  border: solid 1px #dcdcdc;
  padding: 1.5rem;
  border-radius: .5rem;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
}

.edumap-wrap .menuBox {
  font-size: .95em;
  padding-left: 10rem;
  display: flex;
  margin-bottom: 2rem;
}

.edumap-wrap .menuBox li {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
  width: 100%;
}

.edumap-wrap .menuBox ul li:nth-child(1) {
  margin-top: 2rem;
}

.edumap-wrap .menuBox .comment {
  color: #777;
  font-size: .9em;
}

.edumap-wrap .menuBox .comment::before {
  content: '-';
  margin-right: 5px;
}

.edumap-wrap .menuBox a {
  display: flex;
  padding: 1rem 2rem;
  border-radius: .5rem;
  gap: 1rem;
  background: var(--lightBlue);
  border: solid 1px var(--border-color);
  position: relative;
  z-index: 2;
}

.edumap-wrap .menuBox a::before {
  content: '';
  width: 3px;
  height: 3px;
  border-radius: 3px;
  background-color: var(--primary);
  margin-top: .5em;
}

.edumap-wrap .menuBox li::before {
  content: '';
  position: absolute;
  height: calc(100% + 5rem);
  width: 1px;
  background-color: var(--dark-bg);
  top: -2rem;
  left: -5rem;
}

.edumap-wrap .menuBox li:first-child:before {
  top: -2rem;
}

.edumap-wrap .menuBox li:last-child:before {
  height: calc(50% + 2rem);
}

.edumap-wrap .menuBox li:last-child:not(.edumap-wrap .menuBox li:first-child):before {
  display: none;
}

.edumap-wrap .menuBox li::after {
  content: '';
  position: absolute;
  height: 1px;
  width: 5rem;
  background-color: var(--dark-bg);
  left: -5rem;
  top: 2rem;
  z-index: -1;
}

@media (max-width:780px) {
  .edumap-wrap {
    gap: 0;
  }

  .edumap-wrap .depth-3,
  .edumap-wrap .depth-2,
  .edumap-wrap .menuBox {
    padding-left: 0;
  }

  .edumap-wrap .depth-1 {
    width: 100%;
    justify-content: center;
    border-radius: 0;
  }

  .edumap-wrap .depth-2 {
    background-color: #fafafa;
    border: solid 1px #dcdcdc;
    padding: 2rem;

  }

  .edumap-wrap .depth-3 {
    gap: 0;
  }

  .edumap-wrap .depth-2::before,
  .edumap-wrap .depth-3::before,
  .edumap-wrap .depth-2::after,
  .edumap-wrap .depth-3::after,
  .edumap-wrap .menuBox li::before,
  .edumap-wrap .menuBox li::after {
    display: none;
  }


  .edumap-wrap .menuBox ul {
    width: 100%;
    gap: 2rem;

  }

  .edumap-wrap .menuBox li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .edumap-wrap .menuBox li a {
    width: 100%;
    display: block;
  }

  .edumap-wrap .menuBox .comment {
    padding-left: 2rem;
    display: block;
  }

  .edumap-wrap strong {
    width: 100%;
    ;
  }
}

.privacyTit {
  font-weight: 700;
  margin-top: 4rem;
  text-align: center;
  display: block;
  margin-bottom: 2rem;
  font-size: 1.2em;
}

.privacy_agree {
  border: solid 1px var(--border-color);
  padding: 2rem;
  line-height: 1.6;
  background-color: var(--lightBlue);
  font-size: .95em;
}

.privacy_agree .privacyForm {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1em;
  flex-wrap: wrap;
}

.privacy_agree .privacyForm .i-refer {
  width: 100%;
  display: block;
  text-align: center;
}

input[type=date] {
  border-radius: var(--form-rd1);
  padding-left: 1rem;
  padding-right: 1rem;
  height: 4.6rem;
  border: 1px solid rgba(0, 0, 0, 0.16);
  font-family: Pretendard, sans-serif;
}

.btn-write {
  background-color: var(--primary);
  color: #fff;
  padding: 1.2rem 2rem;
  border-radius: var(--form-rd1);
  margin-top: 2rem;
}

.btn-write:hover {
  background-color: var(--primary-hover);
}

/* scrollTab-box */

.scrollTab-box .tab-wrap {
  display: flex;
  position: sticky;
  left: 0;
  background-color: #fff;
  z-index: 2;
  margin-bottom: 4rem;
}

.scrollTab-box .tab-wrap>* {
  flex-grow: 1;
  border-top: solid 1px #dcdcdc;
  border-bottom: solid 1px #dcdcdc;
  border-left: solid 1px #dcdcdc;
  padding: 2rem;
  background-color: #fff;
  font-weight: 700;
  background: linear-gradient(90deg, #2D4D95 0, #209179 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  /* flex-shrink: 0; */
  min-width: 10em;
}

.scrollTab-box .tab-wrap>*.active {
  background: linear-gradient(90deg, #2D4D95 0, #209179 100%);
  color: #fff;
}

.scrollTab-box .tab-wrap>*:last-child {
  border-right: solid 1px #dcdcdc;
}

@media (max-width:780px) {
  .scrollTab-box .tab-wrap>* {
    padding: 1rem;
    font-size: .9em;
    /* border: none; */
    /* border-bottom: solid 1px #dcdcdc; */
  }

  /*
  .scrollTab-box .tab-wrap>*:last-child {
    border-right: none;
  }

  .scrollTab-box .tab-wrap {
    flex-direction: column;
    gap: 0;
    border-left: solid 1px #dcdcdc;
    border-top: solid 1px #dcdcdc;
    border-right: solid 1px #dcdcdc;
  } */
}

.cate>.spanKwd:nth-child(n) {
  background-color: #fff2e9 !important;
  border: solid 1px #ffc69e;
}

.cate>.spanKwd:nth-child(2n) {
  background-color: #FEECF0 !important;
  border: solid 1px #FCD4DE;
}

.cate>.spanKwd:nth-child(3n) {
  background-color: #EFF5FF !important;
  border: solid 1px #bacbe7;
}

.cate>.spanKwd:nth-child(4n) {
  background-color: #e6fafd !important;
  border: solid 1px #aad4db;
}

.cate>.spanKwd:nth-child(5n) {
  background-color: #EEF7F0 !important;
  border: solid 1px #a2d1ac;
}

/* 타부처교육안내 */
.other-edu-item {
  margin-bottom: 8rem;
}

.title-logo {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
}

.title-logo .contTitle-1 {
  margin-bottom: 0;
}

.title-logo .logoImg {
  max-height: 3em;
  border: solid 1px var(--border-color);
  padding: 1rem;
}

.title-logo .logoImg:hover {
  border-color: #333;
}

@media (max-width:780px) {
  .other-edu-item {
    margin-bottom: 4rem;
  }

  .title-logo {
    flex-direction: column;
  }
}

/* 인재양성총괄안내서 */
.talent-wrap{
  max-width:780px;
  margin:0 auto;
  border:solid 1px #dcdcdc;
}
.talent-wrap .download{
  display:flex;
}
.talent-wrap .download>*{
  flex-grow:1;
  flex-basis:50%;
  border-radius:0 !important;
  display: inline-flex; 
  align-items: center;
  height: auto;
  padding: 1.5rem;
}
.talent-wrap .download>* i{
  line-height:1;
}
.talent-wrap .card-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.talent-wrap .card-list li {
  border: solid 1px var(--border-color)
}

.talent-wrap .card-list .btn {
  border-radius: 0;
}

@media (max-width: 1024px) {
  .talent-wrap .card-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 590px) {
  .talent-wrap .card-list {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* 채용공고 */
.bbs-top-links {
  /* background-color: var(--lightBlue);
  border: solid 1px var(--border-color);
  padding: 1rem; */
  margin-bottom: 2rem;
}

.bbs-top-links ul {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(7, 1fr);
}

.bbs-top-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  border: solid 1px var(--border-color);
  padding: 1rem;
  aspect-ratio: 1/.3;
  background-color: #fff;
  transition: all .3s ease-in-out 0s;
}

.bbs-top-links a:hover {
  border-color: var(--dark-bg);
  box-shadow: 4px 4px 7px rgba(100, 100, 100, .1);
}

.bbs-top-links a img {
  max-height: 100%;
}

@media (max-width:1280px) {
  .bbs-top-links ul {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width:1000px) {
  .bbs-top-links ul {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width:800px) {
  .bbs-top-links ul {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width:620px) {
  .bbs-top-links ul {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width:540px) {
  .bbs-top-links ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .bbs-top-links a {
    height: 6rem;
  }

  .bbs-top-links a {
    width: 100%;
  }
}

@media (max-width:390px) {
  .bbs-top-links ul {
    display: flex;
    flex-direction: column;
  }
}

.board_view.type2 .board_list {
  word-break: break-all
}


/* 규제과학인재양성교육기관안내 */
.responsive-list {
  display: flex;
  flex-wrap: wrap;
}

.responsive-list>* {
  padding: 1rem;
  flex-grow: 1;
  flex-basis: 33.333%;
  min-width: 300px;
  max-width: 33.333%;
}

.responsive-list>* a {
  display: flex;
  padding: 1.5rem 2.5rem 1.5rem 1.5rem;
  border: solid 1px var(--border-color);
  gap: 1rem;
  position: relative;
  align-items: center;
  transition: all .3s ease-in-out 0s;
  word-break: break-all;
}

.responsive-list>* a:hover {
  border-color: var(--primary);
}

.responsive-list>* a::after {
  content: "\ea6e";
  font-family: "remixicon";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.responsive-list img {
  height: 2.4rem;
}

@media (max-width:950px) {
  .responsive-list>* {
    flex-basis: 50%;
    max-width: 50%;
  }
}

@media (max-width:650px) {
  .responsive-list>* {
    flex-basis: 100%;
    max-width: 100%;
  }
}

/*  border.css 수정 */
@media (max-width: 1024px) {
  #contents .board_view .info {
    flex-direction: column;
  }

  #contents .board_view .info li {
    padding-left: 0;
  }

  #contents .gallery_list {}
}

@media (max-width: 768px) {
  #contents .board_view .info li {
    font-size: inherit;
  }
}


/* 채용정보 추가  */
.select_board_info.board_info {
  display: flex;
  flex-direction: column-reverse;
  width:100%;
  align-items: flex-start;
}

.select_board_info .job_search_group{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  width: 100%;
  padding-bottom: 2rem;
  padding-top:2rem;
}

.select_board_info form{
  width:100%;
}
@media (max-width:580px){
  .select_board_info.board_info .form div:not(.job_search_group){
    padding:10px 0 !important;
    border-bottom: dashed 1px #dcdcdc;
  }
  .select_board_info.board_info .form{
    flex-direction: column;
    padding:1rem !important;
  }
}
.sub-contents .headTab-wrap .linkWindow::after{
  content:"\f0f3";
  font-family:"remixicon";
}