﻿/*common table*/
.wrapper .table_box{background: #ffffff; padding:40px 30px; width: 1100px; position: relative;} 
.table_box .listtable tr:hover{background: #f3f9ff; cursor: pointer;}  
/* list table */
.table_box .listtable {width: 100%; border-spacing: 0; margin-bottom: 20px;} 
.table_box .listtable th{font-size: 13px; font-weight: bold; background: #ebf1f7; border-top: 1px solid #7fa3ce;border-bottom: 1px solid #7fa3ce; padding: 12px; color:#555555;}
.table_box .listtable th,.table_box .listtable td{text-align: center;white-space: nowrap;}
.table_box .listtable td{font-size: 13px; color: #0b0b0b; padding: 10px; border-bottom: 0.5px solid #cccccc; }
/* detail table */
.table_box .detailtable {
	width: 100%;
	border-spacing: 0;
	margin-bottom: 60px;
	border-top: 2px solid #1f799f;
}

.table_box .detailtable th {
	font-size: 13px;
	font-weight: bold;
	background: #f3f3f3;
	padding: 12px;
	color: #555555;
	border-bottom: 0.5px solid #cccccc;
}

.table_box .detailtable td {
	font-size: 13px;
	color: #0b0b0b;
	padding: 10px;
	border-bottom: 0.5px solid #cccccc;
}

.table_box .detailtable:first-child tr:last-child td {
	padding: 20px;
}

.table_box .detailtable a:hover {
	color: #1f799f;
	cursor: pointer;
	text-decoration: underline;
}

.table_title {
	color: #555555;
	font-weight: bold;
	height: 32px;
	line-height: 24px;
}
/* table attachment */
table .attach button{width: 100% ; margin-left: 0; margin-bottom: 8px;padding: 0;}  
table .attach button:last-child{margin-bottom:0;}
table .attach ul{display: inline-block; }
table .attach a{display: inline-block; line-height: 24px; text-decoration: underline;}
/* total_count */	
.total_count{ float: right; font-size: 13px; color: #373737; height: 24px; line-height: 24px;}
/* pagination */	
.pagination { 
  display: inline-block;
  position: relative;   
  left: calc(50% - 105px);
  top: 0px; 
} 
 
.pagination a {
  color: #ffffff;
  float: left;
  text-decoration: none;
  font-size: 14px;
  background: #bfbfbf;
  text-align: center;
  width: 22px; 
  height: 22px;
  line-height: 22px;
  margin:0 4px 20px;
  border-radius: 4px;
}
.pagination i{ height: 22px;line-height: 22px; font-size: 12px;}
.pagination a.active {
  background-color: #1f799f; 
}
.admin_wrapper .pagination a.active {
  background-color:#0d6fb8;   
}

.pagination a:hover:not(.active) {background-color: #555555;}


/* form */
input:disabled {
	background: #eeeeee;
}
input:read-only,textarea:read-only{
	border: none !important;
	padding: 0  !important;
	margin: 0  !important;  
}
input[type='radio'] {
	/*-webkit-appearance: none;*/
	width: 14px;
	height: 14px;
	border:0.5px solid #28a7e1; 
	border-radius: 100%;
	outline: none;
	background: #ffffff;
}

input[type='radio']:before {
	content: '';
	display: block;
	width: 100%;
    height: 100%;
    /* margin: 2px auto; */
	border-radius: 100%;
	/* border: 0.5px solid #28a7e1; */
}

input[type='checkbox']:checked:before {
	background: url("/images/ipfs/check.gif") no-repeat -1px -2px;
}
input[type='checkbox'] {
	-webkit-appearance: none;
	width: 14px;
	height: 14px;
	/*  border:0.5px solid #1f799f; */
	outline: none;
	background: #ffffff;
}

input[type='checkbox']:before {
	content: '';   
	display: block;
	width: 90%;
	height: 90%;
/* 	margin: 20% auto; */
	border: 0.5px solid #28a7e1;
}

input[type='radio']:checked:before {
	background: #28a7e1;
}
.selectbox select, input.inputbox100, input.inputbox30, input.inputbox50,input.inputbox40,input.inputbox35, input.inputbox20,
	textarea {
	height: 34px;
	line-height:34px; 
	border: 0.5px solid #aaaaaa;
	border-radius: 4px;
	font-size: 13px;
	margin: 5px;
	padding: 0 12px;
	
} 

input.inputbox20 {
	width: calc(12% - 34px);
}
 
input.inputbox100 {
	width: calc(100% - 34px);
}

input.inputbox30 {
	width: calc(20% - 34px);
}
input.inputbox40 {
	width: calc(30% - 34px);
	margin-left: 10px;
}
input.inputbox35 {
	width: calc(35% - 34px);
}
input.inputbox50 {
	width: calc(50% - 34px);
}

input.inputbox60 {
	width: calc(60% - 34px);
}

input.sinput{height: 32px; line-height: 32px; margin-left: 13px;}
.selectbox {
	position: relative;
	display: inline-block;
	margin-left: 8px;
	width: calc(20% - 34px);
}

input.datepicker{
	width: 154px;
	background:url('/images/ipfs/calendar.png') no-repeat 150px; 
}  

select {
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}

select::-ms-expand {
	display: none;
}

.selectbox .select-arrow {
	position: absolute;
	top: 18px;
	right: 10px;
	width: 0;
	height: 0;
	pointer-events: none;
	border-style: solid;
	border-width: 6px 5px 0 5px;
	border-color: #1f799f transparent transparent transparent;
}


.selectbox select {   
	width: 100%;
}

.admin_wrapper .selectbox .select-arrow {
	border-color: #7d7d7d transparent transparent transparent;   
}  

      
.selectbox.pagecount,.selectbox.pagecount select{
	width: 78px; 
	height: 24px; 
	line-height:24px;
	font-size: 12px;
	margin: 0; 
	border-radius: 0;
}  
.selectbox.pagecount select{padding-left: 8px;}
.selectbox.pagecount{float: right; margin-left: 12px; margin-bottom: 5px;}      
.selectbox.pagecount .select-arrow{
	right: 6px;  
	top: 10px;
	border-width: 4px 4px 0 3px;
	
}
.radio_group {
	display: inline-block;
}

.radio_group input[type="radio"],.radio_group input[type="checkbox"] {
	margin: 0;
	vertical-align: middle;
	cursor: pointer;
}

.radio_group label {
	vertical-align: middle;
	margin-left: 2px;
	margin-right: 24px;
	cursor: pointer;
}
textarea {
	width: calc(100% - 34px);
	height: 120px;
	overflow: auto;
	resize: none;
	font-family: 'Nanum Gothic', sans-serif;
}

span.caution {
	font-size: 12px;
	padding: 8px 0 4px;
	display: inline-block;
	color: #ff7e41;
}

a.returnList {
	border-radius: 5px;
	background: #1f799f;
	padding: 8px 15px;
	color: #ffffff;
	display: inline-block;
	font-size: 12px;
	margin-bottom: 12px;
}

a.returnList i {
	margin-right: 5px;
	font-size: 12px;
}

/* 버튼 */
.btn-set{height: 50px;}
.btn-set .btnRight button{float: right;}
.btn-set .btnLeft button{float: left;}
button.btn_rblue {
	min-width: 80px;
	border-radius: 5px;
	padding: 8px 12px; 
	background: #28a7e1;
	border: none;
	color: #ffffff;
	font-size: 12px;
	margin-left: 6px;
	cursor: pointer;
}

button.btn_rblue i {
	margin-left: 8px;
}

button.submit{
	min-width: 120px;
	border-radius: 5px;
	padding: 12px;
	background: #ffffff;
	border: none;
	color: #1f799f;
	font-size: 14px;
	margin-top: 20px;
	font-weight: bold;
	position: relative;
	left: calc(50% - 60px);
	letter-spacing: 4px;
	cursor: pointer;
}
button.btn_blue,button.btn_del,button.btn_gray,button.btn_lblue,button.btn_ktalk,button.btn_down{ 
	background: #1f799f; 
	color: #ffffff;
	display: inline-block;
	text-align: center;
	height: 34px;
	line-height: 34px;
	border: none;
	padding: 0 20px;
	border-radius: 5px; 
	cursor: pointer;
	margin-left: 10px;
	}
button.btn_del{background:#e14f28;}
button.btn_gray{background:#7d7d7d;}
button.btn_lblue{background:#0d6fb8;}
button.btn_ktalk{background:#ffcd00; color: #0d0d0d;}
button.btn_down{background:#316c36;}
.btn-set .btnLeft button:first-child{margin-left: 0;}
input ~ button{margin-left: 3px !important;}

/* 파일업로드 */
.box-file-input label {
	display: inline-block;
	background: #28a7e1;
	color: #fff;
	padding: 0px 12px;
	line-height: 30px;
	cursor: pointer;
	border-radius: 5px;
	margin-bottom: 5px;
}

td ul li:last-child .box-file-input label {
	margin-bottom: 0;
}
.box-file-input{
	line-height: 24px; 
}
.box-file-input label:after {
	content: "파일선택";
}

.box-file-input .file-input {
	display: none;
}

.box-file-input .filename {
	display: inline-block;
	padding-left: 10px;
}

/* 항목추가 - 아이콘 */
i.fa-plus-circle {
	color: #28a7e1;
	font-size: 20px;
	vertical-align: middle;
	margin-left: 20px;
}

i.fa-minus-circle {
	color: #b32727;
	font-size: 20px;
	vertical-align: middle;
	margin-left: 6px;
}

/* 필수항목체크 */
th.xrequired:before {
	content: '* ';
	color: red;
}


﻿.table_box .listtable.v2 {
  table-layout: fixed;
}

.table_box .listtable.v2 colgroup col {
  width: auto;
}

.table_box .listtable.v2 th {
  white-space: normal;
}

.table_box .listtable.v2 tr {
	height: 60px;
}


.table_box .listtable.v2 td {
  white-space: normal;
  padding: 5px;
}

.table_box .listtable.v2 td img {
	max-height: 40px;
}


.table_box .listtable.v2 td .preViewBox img {
  width: 100%;
  height: 100%;
  max-height: unset;
}
