/* 공통 */
.history_area {position: relative; max-width: 1920px; width: 100%; margin: 0 auto; padding-bottom:150px; word-break: break-all; box-sizing: border-box;}

.history_area .str {font-weight: 600;}
.history_area span.small {font-size: 1.2rem;}
.history_area .c_gray {color: #777;}
.history_area .c_blue {color: #3c528c;}
.history_area .c_red {color: #e52727;}
.history_area .str {font-weight:600;}
.history_area .small {font-size: 1.2rem;}

.history_btn {display: inline-block; padding: 0.7em 0.8em; margin: 0 auto; color:#808080; font-weight: 400; background-color: #fff; border: 1px solid #b7b7b7; border-radius: 0.2em; transition: 0.2s; vertical-align: middle; font-family: inherit; line-height: 1; font-size: 1.4rem; text-align: center; cursor:pointer;}
.history_btn:hover {color: #fff; background-color: #3c528c; border: 1px solid #3c528c;}

.history_tbl_cont {position: relative; margin-top: 2em;}
.history_cont > .txt {font-size:1.4rem; line-height:1.6;}

.history_cnfg_area {margin: 1em 0; text-align:right;}
.history_cnfg_area .history_btn:nth-of-type(1) {color: rgba(9,80,0,0.6);}
.history_cnfg_area .history_btn:nth-of-type(2) {color: rgba(255,0,0,0.6);}
.history_cnfg_area .history_btn:nth-of-type(3) {color: rgba(16,22,150,0.6);}
.history_cnfg_area .history_btn:nth-of-type(4) {color: #777;}
.history_cnfg_area button.history_btn:hover {color: #fff;}

/* 검색 */
.history_srch_area {text-align: right;}
.history_srch_area .ipt_txt {height: 36px;}

/* 메인 - 카테고리 */
.history_cate_area .category_type {display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0; width: 100%;}
.history_cate_area .category_type.center {justify-content: center;}
.history_cate_area .category_type.left {justify-self: flex-start;}
.history_cate_area .category_type.right {justify-content: flex-end;}

/* 메인 - 카테고리 A형 */
.category_type_a > .tab {overflow: hidden; border-radius:999px; font-size: 1.4rem; transition:.15s;}
.category_type_a > .tab .link {display: block; padding: 10px 20px; background:#f3f4f6; color:#444;}
.category_type_a > .tab .link:hover {background:#e5e7eb;}
.category_type_a > .tab .link.active { background:#222; color:#fff; font-weight:600;}

/* 메인 - 카테고리 B형 */
.category_type_b {background:none; border:0; border-bottom:1px solid #e5e7eb; padding:0; overflow-x:auto; overflow-y: hidden; white-space:nowrap;}
.category_type_b > .tab {display:inline-block; font-size:1.4rem; background:none; border:0;}
.category_type_b > .tab .link {display:block; padding:10px 15px; margin-bottom:-1px; background:none; color:#888; 
border-bottom:2px solid transparent; transition:.15s;}
.category_type_b > .tab .link:hover {color:#222;}
.category_type_b > .tab .link.active {color:#222; font-weight:600; border-bottom-color:#222;}

/* 이미지 */
.history_swiper_area {position:relative; margin-bottom: 3%; height:0; padding-bottom:56.25%;}
.history_swiper_cont {position:absolute; top:0; left:0; width:100%; height:100%;}
.history_swiper.swiper-container {height:100%;}
.history_swiper_img {display: block; width: 100%; height:100%;}
.history_swiper .swiper-slide {overflow:hidden; box-sizing:border-box;}
.history_swiper .swiper-pagination-bullet-active {background:#5a66bc;}
.history_swiper .swiper-button-next {background: url("../img/arrow_trsp_right.png");}
.history_swiper .swiper-button-prev {background: url("../img/arrow_trsp_left.png");}

/* 이미지 vertical */
.history_swiper .swiper-button-next.verti {
	top: auto;
	bottom: 0px;
	left: 50%;
	margin: 0;
	transform: rotate(90deg) translate(-50%,0);
	transform-origin: 0%;
}
.history_swiper .swiper-button-prev.verti {
	top: 0px;
	bottom: auto;
	left: 50%;
	margin: 0;
	transform: rotate(90deg) translate(-50%,0);
	transform-origin: 0%;
}
.history_swiper .swiper-button-next.verti{right: auto;}
.history_swiper .swiper-button-prev.verti {left: 50%;}

/* 이미지 curtain */
.history_swiper .slide-inner {
	height: 100%;
}
.history_swiper .slide-inner.curtain{
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background-size: cover;
	background-position: center;
}

/* 내용 */
.history_list {}
.history_list_item {position: relative; padding: 1.5em 0 1.5em 0; border-bottom: 1px solid #e1e1e1;}
.history_list_item_tit {display:inline-block; height: 68px; padding-right:15px; font-size: 3.2rem; font-weight: 500; color: #5a66bc; line-height: 68px; font-weight: 600; vertical-align:top;}
.history_list_scd {display:inline-block;}/* width : js */
.history_list_scd_item {min-width: 100%; padding: 0 1em; border-top: 1px solid #e1e1e1; font-size: 1.6rem;}
.history_list_scd_item:first-of-type {border-top: 0;}
.history_list_scd_item_cont {display:block; min-height: 57px; line-height: 57px;}
.history_list_scd_item_date {display:flex; width:100%; color: #5a66bc; font-weight: 600; vertical-align:top;}
.history_list_scd_item_date .txt {display:inline-block; font-size:1.8rem;}
.history_list_scd_item_date .txt > i {padding-right:3px;}
.history_list_scd_item_date .txt.year {margin-right:auto; padding-right:0.5em; color:#42a6ac; vertical-align:top; text-align:left;}
.history_list_scd_item_date .txt.s_date > i {opacity:0.5;}
.history_list_scd_item_date .txt.space {padding:0 0.3em;}
.history_list_scd_item_date .txt.s_date,
.history_list_scd_item_date .txt.e_date {}
.history_list_scd_item_txt {display:block; padding: 1em 0; line-height: 1.5; color: #808080; font-weight: 500;}
.history_list_scd_item_btn {padding-left: 10px;}
.history_list_scd_item_edit {display:block; padding: 0 0 10px 10px; text-align:right;}
.history_icon_btn {display: inline-flex; justify-content: center; align-items: center; width: 25px; height: 25px; 
border: 1px solid #ddd; background-color: #fff; border-radius: 100%; color: #3c528c;}
.history_icon_btn:hover {background-color: #3c528c; border: 1px solid #3c528c; color: #fff;}
.history_list_scd_item:first-of-type .history_icon_btn.arw.up,
.history_list_scd_item:last-of-type .history_icon_btn.arw.down {color: #ccc; cursor: default;}
.history_list_scd_item:first-of-type .history_icon_btn.arw.up:hover,
.history_list_scd_item:last-of-type .history_icon_btn.arw.down:hover {background-color: #fff; border: 1px solid #ddd;}
.history_icon_btn.disabled {color: #ccc; cursor: default;}
.history_icon_btn.disabled:hover {background-color: #fff; border: 1px solid #ddd;}

@media screen and (max-width:1020px) {
	.history_list_item_tit {font-size: 2.8rem;}
}

@media screen and (max-width:768px) {
	.history_list_item_tit {font-size: 2rem;}
}

@media screen and (max-width:500px) {
	.history_list_item {flex-wrap: wrap; padding: 1em 0; border-bottom: 0;}
	.history_list_item_tit {width: 100%; height: auto; text-align: center; line-height: 1.5;}
	.history_list_scd {min-width: 100%;}
	.history_list_scd_item {line-height: 1;}
	.history_list_scd_item:last-of-type {border-bottom: 1px solid #e1e1e1;}
  .history_list_scd_item_cont {display:block; line-height: 1;}
	.history_list_scd_item_btn {flex: 0 0 100%; padding: 1em 0; text-align: right;}
	.history_list_scd_item_date {display:flex; flex: 0 0 100%; justify-content: flex-end; align-items: center; padding: 1em 0; text-align:right;}
  .history_list_scd_item_date .txt {display:block; flex:0 0 auto;}
  .history_list_scd_item_date .txt.year {width:auto; margin-right:auto;}
	.history_list_scd_item_edit {padding-bottom: 1em;}
}

/* 등록, 수정 */
.history_list_edit_area {display: none; width: 100%; background-color: #fff;}
.history_list_edit_tbl {border-top: 1px solid #ddd;}
.history_list_edit_tbl th {width: 100px; padding: 0.5em 0; vertical-align:top;}
.history_list_edit_tbl td {width: calc(100% - 100px); padding: 0.5em 0;}
.history_list_edit_btn_color {padding-bottom: 1em;}
.history_list_edit_btn_color .history_btn:nth-of-type(1) {color: #666; font-weight: 600;}
.history_list_edit_btn_color .history_btn:nth-of-type(2) {color: #b82138;}
.history_list_edit_btn_color .history_btn:nth-of-type(3) {color: #2153b8;}
.history_list_edit_btn_color .history_btn:nth-of-type(4) {color: #1b8f12;}
.history_list_edit_btn_color .history_btn:nth-of-type(1):hover {color: #fff;}
.history_list_edit_btn_color .history_btn:nth-of-type(2):hover {color: #fff; background-color: #b82138;}
.history_list_edit_btn_color .history_btn:nth-of-type(3):hover {color: #fff; background-color: #2153b8;}
.history_list_edit_btn_color .history_btn:nth-of-type(4):hover {color: #fff; background-color: #1b8f12;}
.history_list_edit_tbl .history_btn.sbmt {width: 100%;}
.history_list_edit_tbl .ipt_txa {margin-bottom: 1em;}

.history_list_item_btn_add {position: absolute; bottom: 5px; left: 5px; padding: 0.4em 0.8em;}
.history_list_edit_area.add {position: absolute; bottom: -150px; left: 0; width:99%; padding: 13px; border-radius: 0.5em; box-shadow: 1px 1px 3px rgba(0,0,0,0.7); box-sizing: border-box; z-index: 99999999;}
.history_list_edit_area.add .history_list_edit_tbl {border: 0;}
.history_list_edit_area.add .btn_cls {position: absolute; top: 5px; right: 5px; width: 30px; height: 30px; border: 0; background: none; color: #aaa; font-size: 20px;}
.history_list_edit_area.add .btn_cls:hover {color: #333;}

@media screen and (max-width:1020px) {
	.history_list_edit_area.add {bottom: -320px;}
}

@media screen and (max-width:768px) {
	.history_list_edit_area.add {bottom: -315px;}
}

@media screen and (max-width:500px) {
	.history_list_item_btn_add {bottom: auto; top: 5px; left: auto; right: 5px;}
	.history_list_edit_area.add {bottom: auto; top: 40px;}
}

.history_date_to {line-height:48px;}
.history_date_to.end {display:none;}
.history_date_to .ipt_txt {max-width:65px;}
.history_btn.date_add {}
.hstr_date_ex {color:#999;}

@media screen and (max-width:500px) {
  .history_date_to {line-height:1.5;}
}
/* 환경설정 */
.history_cont .ap_tbl .txt {margin-right: 5px;}
.cate_sort_cont {margin-top: 10px;}

/* 카테고리 관리 */
.history_cate_tbl {margin-top: 2em;}
.history_cate_tbl .col03, .history_cate_tbl .col04 {width: 120px;}
.history_cate_tbl .col05 {width: 400px;}
.history_cate_tbl .ipt_file_area {display: inline-block;}

/* 이미지 */
.history_cata_zone {position: absolute; right: 0; top: 0;}
.history_img_tbl {width: 100%;}
.history_img_tbl.scd .col01 {width: 50px;}
.history_img_tbl.scd .col02 {width: 120px;}
.history_img_tbl.scd .col06 {width: 100px;}
.history_img_tbl.scd .col07 {width: 100px;}

/* 삭제 */
.history_img_tbl01 {overflow: hidden; width: 100%; margin-bottom: 10px; border-top: 1px solid #ccc; border-radius: 10px; box-shadow: 1px 1px 3px rgba(0,0,0,0.5); box-sizing: border-box; font-size: 1.4rem;}
.history_img_tbl01 th {width: 15%; padding: 0.8em 0; border-bottom: 1px solid #9ab0cb; background-color: #5b799e; text-align: center; color: #fff; text-shadow: 1px 1px 1px rgba(0,0,0,0.6); line-height: 2;}
.history_img_tbl01 tr:last-of-type th {border-bottom: 0;}
.history_img_tbl01 td {width: 85%; padding: 0.8em 1.2em; color: #333; border-bottom: 1px solid #ddd; line-height: 2;}
.history_img_tbl01 tr:last-of-type td {border-bottom: 0;}
.history_img_tbl01 td * {vertical-align: middle;}
.history_img_tbl01 td .txt {display: inline-block; margin-right: 5px; color:#333;}

.history_img_tbl01 .item_cont {display:flex; flex-wrap:wrap;}
.history_img_tbl01 .item_cont .item {padding-right:5px;}
.history_img_tbl01 .item_cont .item * {vertical-align:middle;}
.history_img_tbl01 .item_cont .item .ipt_radio {margin:0;}
.history_img_tbl01 .item_cont .ipt_label {font-size:1.2rem;}
.history_img_tbl01_btn {display:block; width:30%; margin:0 auto 2%;}
.history_img_tbl02 {overflow: hidden; width: 100%; margin-bottom: 2%; margin-top:5px; border-top: 1px solid #ccc; border-radius: 0.2em; box-shadow: 1px 1px 3px rgba(0,0,0,0.5); box-sizing: border-box; font-size: 1.4rem;}
.history_img_tbl02 th {padding: 0.8em 0; border-bottom: 1px solid #9ab0cb; background-color: #5b799e; text-align: center; color: #fff; text-shadow: 1px 1px 1px rgba(0,0,0,0.6); line-height: 1.5;}
.history_img_tbl02 td {padding: 0.8em 0.3em; color: #333; border-bottom: 1px solid #ddd; line-height: 1.5; text-align: center;}
.history_img_tbl02 .col01 {width: 50px;}
.history_img_tbl02 .col02 {width: 100px;}
.history_img_tbl02 .col03 {width: 100px;}
.history_img_tbl02 .col04 {}
.history_img_tbl02 .col05 {width: 100px;}
.history_img_tbl02 .col06 {width: 100px;}
.history_img_tbl02 td .item {display: inline-block; padding: 2px 10px 2px 0;}
.history_img_tbl02 td .ipt_txt {width: 100%; margin-bottom:3px;}
.history_img_tbl02 .history_btn {color: #333;}
.history_img_tbl02 .history_btn:hover {color: #fff;}
.history_img_tbl02 .history_btn.sbmt {width:100%;}
.history_img_tbl02 .history_btn.btn_submit {color:#fff;}
.history_img_tbl02 .img_tbl_add {display:flex;}
.history_img_tbl02 .img_tbl_add_item {text-align:left;}
.history_img_tbl02 .img_tbl_add_item:first-of-type {flex: 0 0 300px; padding-right:5px;}
.history_img_tbl02 .img_tbl_add_item:last-of-type {flex-basis:calc(100% - 300px); flex-grow:1; flex-shrink:1;}
.history_img_tbl02 .img_tbl_add_item .ipt_slct {width:100%; margin-bottom:5px;}
.history_img_tbl02 .img_tbl_add_item input {width:100%; margin-bottom:5px;}

@media screen and (max-width:768px) {
  .history_cata_zone {right: 10px;}
	.history_img_tbl02 {font-size: 1.3rem;}
	.history_img_tbl02 .col01 {width: 30px;}
	.history_img_tbl02 .col02 {width: 50px;}
	.history_img_tbl02 .col03 {width: 50px;}
  .history_img_tbl02 .col04 {}
	.history_img_tbl02 .col05 {width: 40px;}
	.history_img_tbl02 .col06 {width: 40px;}
	.history_img_tbl02 .ipt_slct {padding: 0;}
	.history_cate_tbl_sub .ipt_txt {width: 60%;}

  .history_img_tbl02 .img_tbl_add_item:first-of-type {flex: 0 0 150px;}
  .history_img_tbl02 .img_tbl_add_item:last-of-type {flex-basis:calc(100% - 150px);}
}

@media screen and (max-width:500px) {
  .history_img_tbl02 .img_tbl_add {flex-wrap:wrap;}
  .history_img_tbl02 .img_tbl_add_item:first-of-type {flex: 0 0 100%;}
  .history_img_tbl02 .img_tbl_add_item:last-of-type {flex-basis:100%;}
}
