
/*btn */
.tech-data {
  .btn-wrap {
    margin-bottom:20px;
    button {
      height:30px; line-height:normal; min-width:95px; padding:0 10px;font-size:1.2rem; font-weight:600;width:auto;
      .material-icons {
        font-size:15px; margin-right:3px;
      }
    }
  }
}

/* data */
.draw-wrap {
  .box {
    margin-top:20px; padding-bottom:50px; border-bottom:1px solid var(--line-color);
    .mo-info-tit {
      display: none; font-size:1.6rem; margin-bottom:10px; line-height:23px;
      .tit-logo {
        width: 22px; height: 22px; margin-right: 3px; display: inline-block;
      }
      a {
        color:#20368a; font-weight:600;
        &:hover {
          text-decoration: underline;
        }
      }
    }
    .image-box-wrap {
      width: 350px;text-align: center;border: 1px solid var(--line-color);background: #fff; padding: 20px;float:left; margin-right:30px; position:relative; border-radius:5px;
      .image-box {
        position: relative;max-width:100%;height: 0;padding-bottom: 56.26%;overflow: hidden;text-align: center;
        > img {
          max-width: 100%; max-height: 100%; position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%,-50%); -moz-transform: translate(-50%,-50%); -ms-transform: translate(-50%,-50%);-o-transform: translate(-50%,-50%);transform: translate(-50%,-50%);
        }
      }
    }
    .right-info {
      width:calc(100% - 380px); float:left;
      .info-tit {
        font-size:1.6rem; padding-bottom:15px; margin-bottom:15px; border-bottom:1px solid var(--line-color); line-height:23px;
        .tit-logo {
          width: 22px; height: 22px; margin-right: 3px; display: inline-block;
        }
        a {
          color:#20368a; font-weight:600;
          &:hover {
            text-decoration: underline;
          }
        }
      }
      ul {
        li {
          display:inline-block; margin-right:25px; margin-bottom:15px;
          p {
            color:#000; word-break: break-all; line-height:23px; display: inline-block;
            .label {
              text-align: center; background: #ebedf4; color: #7a85ab; border-radius: 5px;  padding: 2px 10px; font-size: 1.1rem; font-weight: 600; display: inline-block; margin: 0 5px 2px 0;
            }
          }
          .hover-box { 
            position: relative; display: inline-block; padding-right: 5px; 
            a {
              font-size:1.3rem;
            }
          }          
        }
      }
      .abstract {
        .label {
          text-align: center; background: #ebedf4; color: #7a85ab; border-radius: 5px;  padding: 2px 10px; font-size: 1.1rem; font-weight: 600; display: inline-block; margin-right: 5px;margin-bottom:10px; padding:6px 16px;
        }
        .left {
          float:left; margin-right:5px;
        }
        .right {
          float:left; width:calc(100% - 62px);
        }
        .info {
          color:#000; line-height:25px; font-size:1.3rem;;text-overflow: ellipsis; overflow: hidden; word-break: break-word; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
        }
      }
    }
  }
}


/* cpc 인포 */
.draw-wrap {
  .right-info {
    ul {
      li {
        .hover-box {
          position: relative; display: inline-block; padding-right: 5px;
          &:hover {
            .cpc-info-layer {
              display: block;
            }
          }
          .cpc-info-layer {
            position: absolute; z-index: 2; background: #ffffff; border: 1px solid var(--line-color); width: 240px; left: 0; top: 20px; border-radius: 3px; overflow: hidden; box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.1); display: none;

            .search-keyword {
              display: block; height: 35px; border-bottom: 1px solid var(--main-color); line-height: 34px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 10px; font-size: 1.2rem; font-weight: bold; color: #ffffff; background: var(--main-color);
            }
            .list {
              padding: 8px 0; max-height: 150px; overflow-y: auto; -ms-overflow-style: none;
              &::-webkit-scrollbar {
                display: none;
              }
              a {
                display: block; font-size: 1.2rem; white-space: normal; max-width: 100%; padding: 0 10px; word-break: break-all; line-height: 23px;
                .keyword {
                  font-weight: bold; color: #b3c9ff; margin-right: 5px;
                }
                &:hover {
                  background: #ebedf4; color: #7a85ab;
                }
              }
            }
          }
        }
      }
    }
  }
}



@media(max-width:1024px) {
  .draw-wrap {
    .box {
      .mo-info-tit {
        font-size:1.4rem;
      }
      .image-box-wrap {
        width:300px;
      }
      .right-info {
        width:calc(100% - 330px);
        .info-tit {
          font-size:1.4rem; margin-bottom: 10px; padding-bottom: 10px;
        }
        ul {
          li {
            margin-right:15px;
            p {
              font-size:1.2rem;
              .label {
                font-size:1.1rem; padding: 0 10px;
              }
            }
            .hover-box {
              a {
                font-size:1.2rem;
              }
            }
          }
        }
        .abstract {
          .label {
            font-size:1.1rem
          }
          .info {
            font-size:1.2rem;
          }
        }
      }
    }
  }
}

@media(max-width:768px) {
  .draw-wrap {
    margin-top:0;
    .box {
      padding-bottom: 35px; margin: 0 0 35px 0;
      .mo-info-tit {
        display: block;
      }
      .image-box-wrap {
        width:100%; margin:0 auto; float:none;
      }
      .right-info {
        width:100%; float:none; margin-top:10px;
        .info-tit {
          display: none;
        }
        ul {
          li {
            margin-right:10px; margin-bottom:10px;
          }
        }
        .abstract {
          .info {
            line-height:20px
          }
        }
      }
    }
  }
}



@media(max-width:550px) {
  .draw-wrap {
    .right-info {
      ul {
        li {
          .hover-box {
            .cpc-info-layer {top:24px; left:-10px; width:180%;}
          }
        }
      }
    }
  }
}


.board-wrap {
  width: 100%; display: table; table-layout: fixed;
  /************************************** 게시판 헤더 **************************************/
  .board-head {
    display: table-header-group; color:#000; background:#eceeef;
    > span.board-head-tit {
      display: table-cell; text-align: center; font-size: 1.3rem; font-weight: 500; border-top:1px solid var(--line-color); padding: 12px 0
    }
    > span.board-head-tit.title {
      width: calc(100% - 52%)
    }
    > span.board-head-tit.writer {
      width: 14%
    }
    > span.board-head-tit.holder {
      width: 14%
    }
    > span.board-head-tit.status {
      width: 7%
    }
    > span.board-head-tit.date {
      width: 13%
    }
    > span.board-head-tit.news {
      width: 8%
    }
  }
  /************************************** 게시판 바디 **************************************/
  .board-body {
    display: table-row; width: 100%;
    > div.board-cell {
      display: table-cell; vertical-align: middle; font-size: 1.3rem; text-align: center; padding: 12px 5px; border-bottom: 1px solid var(--line-color); color: #000;      
      &:hover.cell-tit {
        text-decoration: underline;
      }
    }
    > div.board-cell.cell-tit {
      text-align: left;
    }
    > div.board-cell.cell-tit a {
      display: block;text-overflow: ellipsis; overflow: hidden; white-space: nowrap; color:#000; line-height:27px;
    }
  }
}

/*
.board-wrap .board-body > div.board-cell:hover.cell-tit {text-decoration: underline;} */


@media(max-width:  1024px) {
  .board-wrap {
    /* 보드 헤더*/
    .board-head {
      display: none;position: absolute; top: -9999px; left: -9999px;
    }
    /* 보드 바디 */
    .board-body {
      padding: 3px 0 12px; display: block; border-bottom: 1px solid var(--line-color);
      > div.board-cell {
        border-bottom: 0; text-align: left; padding: 3px 5px; position: relative
      }
      > div.board-cell.cell-tit {
        display: block;
        a {
          line-height:21px;
        }
      }	
      > div.board-cell {
        font-size: 1.4rem;
        br {
          display:none;
        }
        &:not(.cell-tit) {
          font-size: 1.2rem; padding-top: 5px;
        }
        &:not(.cell-tit):before {
          padding-right: 5px;color: #b3b3b3; content: attr(data-label); font-weight: 600;
        }
        &:after {
          content: ''; width: 1px; height: 10px; background-color:#cfcfcf; top: 7px; right: -10px; position: absolute
        }
        &:first-child:after {
          content:none
        }
        &.cell-tit {
          &:after {
            content: none
          }
        }
        &:last-child {
          &:after {
            content:none;
          }
        }
      }
      > div.board-cell.inline {
        display: inline-block; width: auto; margin-right: 15px;
      }   
    }
  }
}