@charset "utf-8";

/**********************************
공통 CSS
**********************************/
@import url('https://fonts.googleapis.com/css2?family=Romanesco&family=Song+Myung&display=swap');
/* font-family: 'Romanesco' */

.md_btn {
  font-size: 10px;
  display: inline-block;
  float: left;
  margin-right: 5px;
}
.no-data {
  display: none;
}
.w100p {width: 100% !important;}
.warn_msg {
  font-size: 11px;
  font-weight: bold;
  color: #e85c5c;
}
/**********************************
전체 페이지
**********************************/
.box_wrapper {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 30px;
}
.box_wrapper * {
  transition: all 0.1s ease-in-out;
}
.box_wrapper h1, .box_wrapper h1 em {
  font-family: 'Romanesco';
  font-size: 40px;
  font-weight: 400;
  font-style: normal;
  color: #ccc382;
  margin: 20px 0;
}
.box_wrapper h1 em {
  color: #3A68B2;
}
/**********************************
타임라인
**********************************/

.timeline-wrapper {
  width: 30%;
  margin-bottom: 20px;
}

.timeline-box::-webkit-scrollbar {
  display:none;
 }
 
.timeline-box {
  box-sizing: border-box;
  padding-left: 20px;
  display: flex;
  width: 100%;
  max-height: auto;
  overflow-y: auto;
  overflow-x:hidden;
  box-sizing: border-box;
  flex-direction:column;
  justify-content: start;
  padding-right: 10px;
}

.timeline-box li {
  position: relative;
  margin-bottom: 15px;
}

.timeline-box li::after {
  content: "";
  position: absolute;
  left: 0%;
  top: 25px;
  width: 1px;
  height: 100%;
  border-left: 1px dashed #ccc382;
}
.timeline-box li:last-child::after{
  display: none;
}
/* 타임라인 content */
.tl_cont_box {
  width: 80%;
  position: relative;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.034);
  border: 1px solid transparent;
  padding: 0 10px;
  margin-top: 10px;
  float: right;
  box-sizing: border-box;
}
.tl_cont_box:hover {
  background: rgba(255, 255, 255, 0.308);
  transform: scale(1.05);
}
.timeline-box li .timeline-date {
  padding-top: 10px;
  font-weight: bold;
  color: #ccc382;
}
.timeline-box li .timeline-memo {
  padding-top: 5px;
  padding-bottom: 10px;
  font-size: 11px;
}
/* 타임라인 order */
.tl_order {
  position: absolute;
  width:20px;  height: 20px;
  color: #fff;
  font-size: 9px; line-height:20px;
  font-weight: bold;
  background: #10183dcc;
  border-radius: 10px;z-index: 99;
  left:-10px;top: 10px;
  text-align: center;
}
.tl_order::after {
  content: '';
  width: 25px;
  height: 1px;
  position: absolute;
  left: 100%;top: 50%;
  transform: translateY(-1px);
  background: #3A68B2;
}
.tl_order::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 5px;
  background: #ccc382;
  position: absolute;
  left: 45px; top: 50%;
  transform: translateY(-50%);
}

/* 타임라인 수정/삭제 버튼 */
.tl_btn_box {
  overflow: hidden;
  padding-left:15px;
  position: relative;
}
.tl_btn {
  margin-right: 5px;
}


/**********************************
관계 설명
**********************************/
.relation-wrapper {
  width: 68%;
  margin-bottom: 20px;
  box-sizing: border-box;
  padding-top: 5px;
}

.relation-box-wrap::-webkit-scrollbar {
  display:none;
 }
 
.relation-box-wrap{
  width: 100%;
  overflow-y: auto;
  overflow-x:hidden;
  padding: 0 10px;
  max-height: auto;
  box-sizing: border-box;
}
.relation-box {
  padding: 20px;
  background: #00000088;
  border: 1px solid transparent;
  border-image: URL(../../../img/box/boximmm.png) 30 / 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  backdrop-filter: blur(5px)
}
.relation-box:hover {
  background: #000000d5;
}
.relation-title {
  font-size: 1.3em;font-weight: bold;
  font-family: BookkMyungjo-Bd;
  color: #ccc382;
  padding-top: 8px;
  padding-bottom: 15px;
  position: relative;
}
.relation-title::after {
  content:'';
  width: 50px;
  height: 2px;
  opacity: .8;
  background: #ccc382;
  position: absolute;
  bottom: 0;
  left: 0;
}
.relation-memo {
  margin-top: 15px;
  font-family: Pretendard-Regular;
  font-size: 12px;
  color: rgb(194, 194, 194)
}
/* 관계 설명 수정/삭제 버튼 */
.re_btn_box {
  overflow: hidden;
  position: relative;
}
.re_btn {
}

/**********************************
캐릭터별 서사
**********************************/
.chara-wrapper {width: 100%;}
.chara-box-wrap{
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  flex-direction: column;
}
.chara-box {
  border: 1px solid transparent;
  border-image: URL(../../../img/box/boximmm.png) 30 / 20px;
  margin-bottom: 10px;
  padding: 20px;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;flex-wrap:wrap;
  background:  #00000088;
  gap : 20px 2%;
  position: relative;
  backdrop-filter: blur(5px);
}

.chara-cont-box {
  -webkit-flex: 3px;
  -ms-flex: 3px;
  flex: 3px;
}
#chara_thumb img, #chara_blank {
  width: 100px; height: 100px;
  border-radius: 100px;
  background: #10183dcc;
  border: 1px solid #ccc382;
  -webkit-flex: 1px;
  -ms-flex: 1px;
  flex: 1px;
}
.chara-nm {
  display: none;
  font-family: BookkMyungjo-Bd;
  font-size: 2.1em;
  font-weight: bold; 
  font-style: italic;
  margin-top: 10px;
  margin-bottom: 20px;
}

/**********************************
반응형
**********************************/
@media all and (max-width: 1024px) {
  .timeline-wrapper, .relation-wrapper {
    width: 100%;
  }
  .timeline-box,.relation-box-wrap {
    height: auto;
    max-height: 380px;
  }
  [class$="-memo"] {
    font-size: 11px;
  }
  .chara-nm, .relation-title {
    font-size: 1em;
  }
  #chara_thumb img, #chara_blank {
    width: 80px; height: 80px;
  }
}

.cherry_copyright {
  color: #fff;
}

.board-category a {
  height:30px; font-size:13px; border-top-left-radius:20px; border-top-right-radius:20px; border-bottom-right-radius:20px; border-bottom-left-radius:20px; background-color:rgba(0,0,0,0.5); color:rgb(255,255,255); border-color:rgba(0,0,0,0.8);
  display: inline-block;
  position: relative;
  text-align: center;
  border-width: 1px;
  border-style: solid;
  vertical-align: middle;
  padding: 0 1em;
  box-sizing: border-box;
  cursor: pointer;
}
.board-category .selected a { border-top-left-radius:20px; border-top-right-radius:20px; border-bottom-right-radius:20px; border-bottom-left-radius:20px; background-color:rgba(16,72,168,0.5); color:rgb(255,255,255); border-color:rgb(122,150,191); }
.board-category .selected a:hover {background-color:rgba(0,49,133,0.5); color:rgb(255,255,255); border-color:rgb(119,155,219); }
.board-category .selected a.etc { border-top-left-radius:20px; border-top-right-radius:20px; border-bottom-right-radius:20px; border-bottom-left-radius:20px; background-color:rgb(234,234,234); color:rgb(119,119,119); border-color:rgb(222,222,222); }
.board-category .selected a.etc:hover { background-color:rgb(222,222,222); color:rgb(119,119,119); border-color:rgb(202,202,202); }

.board-category a { line-height:28px; }
.board-category a.small { height:20px; }
.board-category a.small { line-height:20px; }
.board-category a.big { font-size:16px; height:40px; }
.board-category a.big { line-height:38px; }
