@charset "UTF-8";

/*  ==*==*==*==  */
/*  공용  */
/*  ==*==*==*==  */
:root {
  --blue:#4bb2ff;
}

.inner {
  width: 100%;
  max-width: 1454px;
  margin:auto;
  flex: 1; /* 남는 공간을 section이 채움 */
}
@media all and (max-width: 1480px) {
  .inner {
    padding:0 16px;
  }
}

.select {
  background:url('../img/ico_select.png') no-repeat right 4px center #fff;
  padding-left:8px;
  padding-right: 20px;
}

section {
    display: flex;
    flex-direction: column;
    min-height: 65vh;
}

/*  ==*==*==*==  */
/*  헤더  */
/*  ==*==*==*==  */
header {
  background:url('../img/header_bg.png') no-repeat;
  background-size:cover;
}
header .flex {
  display: flex;
  padding:20px 0;
  align-items: center;
  gap:15px 60px;
  position: relative;
}
header .logo {
  color:#fff;
  font-size:2.6rem;
  font-weight: bold;
  width: 310px;
}

header .search-box {
  height: 66px;
  border-radius:66px;
  border:2px solid var(--blue);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:#fff;
  padding:0 14px;
  max-width: 790px;
  width:calc(100% - 330px);
}
header .search-box .select {
  width: 96px;
  font-size:17px;
  font-size:1.8rem;
  color:#333;
  font-weight: 500;
  border:none;
  border-right:2px solid #c2c2c2;
}
header .search-box .input {
  border:none;
  padding:0 8px;
  height: 36px;
  font-size:1.8rem;
  color:#333;
  width:calc(100% - 130px);
}
header .search-box .bt-search {
  width: 30px;
  height: 30px;
  background:url('../img/ico_search.png') no-repeat center;
}
.header-link {
  background:url('../img/header_link_bg.png') no-repeat center;
  width: 224px;
  height: 40px;
  position: absolute;
  top:0;
  right:0;
  background-size:contain;
  display: flex;
  align-items: center;
  justify-content: center;
  color:#fff;
  font-size:1.6rem;
  font-weight:600;
  gap:0 6px;
  z-index: 1;
}
.header-link .home {
  width: 17px;
  height: 18px;
  background:url('../img/ico_house.png') no-repeat center;
}
.header-link .arrow {
  background:url('../img/ico_arrow.png') no-repeat right center;
  padding-right: 12px;
}
@media all and (max-width: 1480px) {
  header .flex {
    gap:15px 20px;
  }
}
@media all and (max-width: 1059px) {
  header .flex {
    flex-wrap:wrap;
    justify-content: center;
    padding:20px 60px;
  }
  .header-link {
    background:#3bbeff;
    right:-16px;
    width: 60px;
    border-radius:8px 0 0 8px;
    height: 76px;
    top:50%;
    transform: translateY(-50%);
    flex-wrap: wrap;
    align-items:flex-start;
    padding:10px 0;
  }
  .header-link .home {
    width: 100%;
    height: 30px;
  }
  .header-link .arrow {
    display: none;
  }
  header .search-box {
    width: 100%;
    height: 46px;
  }
  header .search-box .select,
  header .search-box .input {
    font-size:1.6rem;
  }
}
@media all and (max-width: 539px) {
  header .flex {
    justify-content: flex-start;
    padding-left: 0;
    padding-right: 50px;
  }
  header .logo {
    font-size:2rem;
    word-break: keep-all;
  }
  header .logo img {
    width: 100px;
  }
  .header-link {
    width: 50px;
    height: 66px;
  }
   .header-link .home {
    height: 24px;
   }
   header .search-box .select {
    width: 84px;
    font-size:1.4rem;
   }
   header .search-box .input {
    width:calc(100% - 100px);
    font-size:1.4rem;
   }
}

/*  ==*==*==*==  */
/*  푸터  */
/*  ==*==*==*==  */
footer {
  background:#e5e7ed;
  text-align: center;
  padding:20px 16px 40px;
  border-top:2px solid #cfd2dd;
  margin-top: 60px;
}
.footer-link {
  font-size:1.6rem;
  color:#868788;
  font-weight: 300;
}
footer .logo {
  font-weight: bold;
  font-size:2.6rem;
  color:#a6a6a6;
  margin:20px auto;
}
footer address {
  color:#919191;
  font-size:1.6rem;
  font-weight: 300;
}
@media all and (max-width: 539px) {
  footer .logo {
    font-size:2.4rem;
  }
}

/*  ==*==*==*==  */
/*  메인  */
/*  ==*==*==*==  */

.main-tab {
  display: flex;
  margin:40px 0;
}
.main-tab li {
  cursor: pointer;
  height: 44px;
  border-radius:44px;
  color:#fff;
  font-size:1.9rem;
  background:#c0c6dc;
  max-width: 230px;
  width:calc(50% - 8px);
  margin-left: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  position: relative;
  padding-right: 20px;
}
.main-tab li i {
  width: 36px;
  height: 36px;
  border-radius:50%;
  background:url('../img/tab_off.png') no-repeat center #fff;
  display: block;
  position: absolute;
  right:6px;
}
.main-tab li:hover,
.main-tab li.on {
  background:#425aba;
}
.main-tab li:hover i,
.main-tab li.on i {
  background:url('../img/tab_on.png') no-repeat center #fff;
}


.grid-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap:40px 14px;
}
.grid-box li {
  min-width: 0;
}
.grid-box a {
  display: block;
}
.grid-box .img {
  height: 200px;
  border-radius:10px;
  overflow: hidden;
  border:1px solid #d8d8d8;

}
.grid-box .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.grid-box .tit {
  font-size:2.2rem;
  color:#222;
  margin-top: 16px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.grid-box .etc {
  display: flex;
  align-items: center;
  gap:0 16px;
  margin-top: 5px;
}
.grid-box .etc dt {
  background:url('../img/ico_item.png') no-repeat left;
  font-weight: 300;
  color:#333;
  font-size:1.7rem;
  padding:2px 0;
  padding-left: 20px;
}
.grid-box .etc dd {
  font-size:1.7rem;
  font-weight: 600;
  color:#222;
  position: relative;
}
.grid-box .etc dd::before {
  content:'';
  width: 2px;
  height: 12px;
  background:#d8d8d8;
  display: block;
  position: absolute;
  top:50%;
  transform: translateY(-50%);
  left:-8px;
}

.grid-box .category {
  border:2px solid var(--blue);
  height: 26px;
  display:inline-flex;
  align-items: center;
  padding:0 10px;
  border-radius:26px;
  font-size:1.4rem;
  color:#222;
  font-weight: 500;
  margin-top: 5px;
}

.grid-box li.blank .img {
  background:#f7f7f7;
}

@media all and (max-width: 1260px) {
  .grid-box {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media all and (max-width: 939px) {
  .grid-box .img {
    height: 150px;
  }
}
@media all and (max-width: 767px) {
  .grid-box {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-box .img {
    height: 160px;
  }
  .grid-box .tit {
    font-size:1.8rem;
  }
  .grid-box .etc dt,
  .grid-box .etc dd {
    font-size:1.5rem;
  }
}
@media all and (max-width: 539px) {
  .grid-box .img {
    height: 120px;
  }
}
@media all and (max-width: 380px) {
  .main-tab li {
    justify-content: flex-start;
    padding-left: 16px;
    font-size:1.8rem;
  }
  .grid-box {
    grid-template-columns: repeat(1, 1fr);
  }
  .grid-box .img {
    height: 170px;
  }
}


/*  ==*==*==*==  */
/*  서브  */
/*  ==*==*==*==  */
.breadcumbles {
  text-align: right;
  padding:10px 0;
}
.breadcumbles.bg {
  background:#f8f9fa;
}
.breadcumbles a {
  font-size:1.4rem;
  color:#747474;
  margin-left: 12px;
  position: relative;
}
.breadcumbles a:hover {
  font-weight: bold;
  color:#323232;
}
.breadcumbles a::after {
  content:'>';
  position: absolute;
  top:-1px;
  left:calc(100% + 4px);
}
.breadcumbles a:nth-last-of-type(1)::after {
  display: none;
}
.breadcumbles a:hover::after {
  font-weight: normal;
  color:#747474;
}

.select-box {
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  height: 64px;
  border-radius:64px;
  margin-top: 5px;
  padding:0 20px;
  display: flex;
  align-items: center;
}
.select-box .select-wrap {
  width: 20%;
  height: 48px;
  max-width: 200px;
  margin-left: 40px;
  position: relative;
}
.select-box .select {
  border:none;
  font-size:1.6rem;
  width: 100%;
  height: 100%;
  color:#222;
  font-weight: bold;
}
.select-box .select-wrap::after {
  content:'';
  background:#c1c1c1;
  width: 2px;
  height: 14px;
  display: block;
  position: absolute;
  right:-20px;
  top:50%;
  transform: translateY(-50%);
}

.filter-box {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap:8px 40px;
  margin:24px 0;
  align-items: center;
}
.filter-box .result {
  font-weight: bold;
  font-size:1.8rem;
}
.filter-box .result i {
   font-size:1.8rem;
   color:#0f7ed1;
}
.filter-box .filters {
  display: flex;
  flex-wrap: wrap;
  gap:8px;
}
.filters .search .input {
  height: 40px;
  max-width:200px;
  width:calc(100% - 110px);
  border:1px solid #0e578d;
  border-radius:6px;
  padding:0 8px;
}
.filters .search .btn {
  width: 102px;
  height: 40px;
  background:#0e578d;
  border-radius:6px;
  color:#fff;
  font-size:1.5rem;
}

.filters .date {
  height: 40px;
  border-radius:6px;
  width: 290px;
  border:1px solid #dcdcdc;
  display: flex;
  align-items: center;
  gap:8px;
}
.filters .date>span {
  display: flex;
  align-items: center;
  height: 100%;
  width:calc(50% - 8px);
}
.filters .date .input {
  width:calc(100%);
  border:none;
  height: 38px;
  padding:0 8px;
  border-radius:6px;
  background: url(../img_pre/filter_ic3.png) no-repeat right+10px center;
  cursor: pointer;
  color: #666666;
}
.filters .date .bt-date {
  width: 30px;
  height: 30px;
  background:url('../img/ico_cal.png') no-repeat center;
}

.pagenation {
  margin-top: 60px;
  border-top:1px solid #919191;
  padding-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.pagenation a {
  color:#8a949e;
  font-weight: 400;
  font-size:1.8rem;
}
.pagenation .num {
  width: 40px;
  height: 40px;
  border-radius:4px;
  display:flex;
  justify-content: center;
  align-items: center;
}
.pagenation .num:hover,
.pagenation .num.on {
  color:#fff;
  font-weight: bold;
  background:#f08b50;
}
.pagenation .arrow {
  display: flex;
  align-items: center;
  margin-left: 10px;
}

.pagenation .arrow:hover {
  font-weight: bold;
}
.pagenation .arrow i {
  width: 16px;
  height: 16px;
  background:url('../img/ico_page.png') no-repeat center;
  margin-left: 5px;
}

.pagenation .arrow-prev {
  display: flex;
  align-items: center;
  margin-right: 10px;
}

.pagenation .arrow-prev:hover {
  font-weight: bold;
}

.pagenation .arrow-prev i {
  width: 16px;
  height: 16px;
  background:url('../img/ico_page_prev.png') no-repeat center;
  margin-right: 5px;
}

@media all and (max-width: 639px) {
  .select-box {
    flex-wrap: wrap;
    height: auto;
    padding:0 6%;
    border-radius:12px;
  }
  .select-box .select-wrap {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    height: 42px;
    margin-top: -1px;
  }
  .select-box .select-wrap::after {
    right:0;
    width: 100%;
    height: 1px;
    transform: translateY(0);
    top:auto;
    bottom:1px;
  }
  .select-box .select-wrap:nth-last-child(1):after {
    display: none;
  }

  .filters .search,
  .filters .date {
    width: 100%;
  }
  .filters .search .input {
    max-width: 100%;
  }

  .pagenation .num {
    width: 34px;
    height: 34px;
  }
}


/*  ==*==*==*==  */
/*  서브  */
/*  ==*==*==*==  */
.detail-top-box {
  position: relative;
  margin-top: 50px;
}
.detail-top-box .tit,
.detail-top-box i {
  font-weight: 800;
  font-size:4rem;
  color:#333;
}
.detail-top-box .txt {
  color:#333;
  font-size:2rem;
  margin-top: 10px;
}
.detail-top-box .bt-link {
  width: 114px;
  height: 45px;
  border:1px solid #ccc;
  border-radius:4px;
  color:#333;
  font-size:1.8rem;
  display: flex;
  align-items: center;
  background:url('../img/ico_link.png') no-repeat 8px center;
  padding-left: 36px;
  position: absolute;
  top:8px;
  right:0;
}
.detail-top-box .bt-link:hover {
  border-color:var(--blue);
}

.detail-book-box {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap:20px 40px;
}
.detail-book-box .img-box {
  width: 340px;
  height: 464px;
  border:1px solid #dcdcdc;
  border-radius:12px;
}
.detail-book-box .img-box img {
  width: 100%;
  height: 100%;
}
.detail-book-box .info-box {
  width:calc(100% - 380px);
}

.detail-book-box dl {
  border-top:1px solid #e8e8e8;
  padding-top: 12px;
  margin-bottom: 12px;
  line-height: 2;
  display: flex;
}
.detail-book-box .txt {
  display: block;
}
.detail-book-box .txt .row {
  display: flex;
}
.detail-book-box dt {
  color:#333;
  font-weight: bold;
  font-size:1.8rem;
  width: 90px;
}
.detail-book-box dd {
  width:calc(100% - 90px);
  color:#333;
  font-size:1.8rem;
}

.detail-book-box .keyword dd {
  display: flex;
  gap:4px 8px;
  flex-wrap: wrap;
}
.detail-book-box .keyword .key {
  background:#e7eff4;
  border:1px solid #a6c2d5;
  color:#0E578D;
  font-size:1.8rem;
  height: 32px;
  display: inline-flex;
  align-items: center;
  padding:0 8px;
  border-radius:32px;
}

.detail-book-box .download-box {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-book-box .download .bt-load {
  border:1px solid #ccc;
  border-radius:4px;
  color:#333;
  font-size:1.8rem;
  width: auto;
  height: 38px;
  background:url('../img/ico_down.png') no-repeat right 8px center;
  display:  inline-flex;
  align-items: center;
  padding-left: 12px;
  padding-right: 32px;
  box-sizing: border-box;
}

.detail-book-box .download .bt-load.long-name {
  max-width: 400px;
}

.detail-book-box .bt-load:hover {
  border-color:var(--blue);
}

.detail-book-box .bt-data-link {
  color:#333;
  font-size:1.8rem;
  background:url('../img/ico_link.png') no-repeat right 8px center;
  padding-right: 32px;
}
.detail-book-box .bt-data-link:hover {
  font-weight: 600;
  color:var(--blue);
}

.cms-box {
  border-radius:20px;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
  margin-top: 50px;
  padding:40px;
}
.cms-box .tit {
  font-weight: bold;
  color:#333;
  font-size:1.8rem;
  margin-bottom: 20px;
}
.cms-box .book-info-box {
  display: flex;
  flex-wrap: wrap;
  gap:20px 30px;
}
.cms-box .book-img {
  width: 174px;
  height: 226px;
  border:1px solid #dcdcdc;
}
.cms-box .book-info {
  width:calc(100% - 204px);
  color:#333;
}
.cms-box .book-info dl {
  display: flex;
  flex-wrap: wrap;
  line-height: 1.4;
  margin-bottom: 10px;
}
.cms-box .book-info dt {
  width:72px;
}
.cms-box .book-info dd {
  width:calc(100% - 72px);
}

.btns {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap:10px;
  align-items: center;
}
.btns .btn {
  width:calc(50% - 5px);
  max-width: 200px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size:1.8rem;
  border-radius:10px;
  color:#fff;
  padding:0 8px;
  word-break: keep-all;
  text-align: center;
}
.btns .btn.gray {
  background:#A4A7B4;
}
.btns .btn.blue {
  background:#0E578D;
}

@media all and (max-width: 939px) {
  .detail-top-box .tit, .detail-top-box i {
    font-size:3.2rem;
  }
  .detail-top-box .txt {
    font-size:1.8rem;
  }
  .detail-book-box .img-box {
    width: 220px;
    height: 320px;
  }
  .detail-book-box .info-box {
    width:calc(100% - 260px);
  }
  .detail-book-box dt,
  .detail-book-box dd {
    font-size:1.6rem;
  }
  .detail-book-box .keyword .key,
  .detail-book-box .bt-data-link,
  .detail-book-box .download .bt-load {
    font-size:1.6rem;
  }
  .btns .btn {
    font-size:1.6rem;
  }
}
@media all and (max-width: 639px) {
  .detail-top-box {
    margin-top: 30px;
  }
  .detail-top-box .bt-link {
    position: relative;
    margin-top: 8px;
  }
  .detail-book-box {
    justify-content: center;
  }
  .detail-book-box .img-box {
    width: 100%;
    max-width: 280px;
    height: 380px;
  }
  .detail-book-box .info-box {
    width: 100%;
  }
  .cms-box .book-info {
    width: 100%;
  }
}