html, body, ul, form, dl, dt, dd, h1, h2, h3, h4, h5, h6, p {margin:0; padding:0; list-style:none; filter: expression(document.execCommand('BackgroundImageCache', false, true));}

a:link { color: #666; text-decoration: none }
a:visited { color: #666; text-decoration: none }
a:hover { color: #000; text-decoration: none }
a:active { color: #666; text-decoration: none }

p { margin-top: 0px; margin-bottom: 0px }
td,table {font-size:14px; color: #666; line-height: 150%; font-family:Malgun Gothic,'Malgun Gothic', sans-serif;}


/*********** 공통 css *************/
select {font-size:14px; color:#666; border:1px solid #d4d4d4; background-color:#ffffff; padding:7px 5px; font-family:Malgun Gothic,'Malgun Gothic', sans-serif;}
.input {font-size:14px; color:#666; border:1px solid #d4d4d4; background-color:#fff; padding:8px 5px; font-family:Malgun Gothic,'Malgun Gothic', sans-serif;}
.search_input {font-size:14px; color: #666; border: #d4d4d4 1px solid; background-color: #ffffff; padding:8px 5px; font-family:Malgun Gothic,'Malgun Gothic', sans-serif;}
.blind {font-size:0; line-height:0; width:0px; height:0px;}
.textarea {width:100%; font-family:inherit; color:#666; line-height:150%; letter-spacing:-0.5px; padding:6px; border:#d4d4d4 1px solid; background-color:#fff; box-sizing:border-box;}

/* input 디자인 */
.input_m {width:50%;}
.input_s {width:190px;}
.input_l {width:98%; box-sizing:border-box;}
.input_file {padding:5px; border:1px solid #ddd;}

/* 버튼디자인 */
.btn_w {display:inline-block; text-align:center; height:36px; line-height:36px; width:80px; border:1px solid #ccc; font-size:13px; letter-spacing:-0.5pt; vertical-align:top; transition:all 0.3s}
.btn_w:hover {color:#333; border:1px solid #333; transition:all 0.3s}
.btn_b:link, .btn_b:visited {display:inline-block; text-align:center; height:36px; line-height:36px; width:80px; border:1px solid #555; background:#555; color:#fff; font-size:13px; letter-spacing:-0.5pt; vertical-align:top; transition:all 0.3s}
.btn_b:hover  {background:#333; border:1px solid #333; color:#fff; transition:all 0.3s}
.btn_b_s {display:inline-block; text-align:center; cursor:pointer; height:36px; color:#fff; width:70px; border:1px solid #555; background:#555; letter-spacing:-0.5pt; vertical-align:top; transition:all 0.3s;}
.btn_b_s:hover  {background:#222; border:1px solid #222; transition:all 0.3s;}

input.btn_w {text-align:center; height:36px; line-height:30px; width:80px; border:1px solid #ccc; background:#fff; color:#555; font-size:13px; letter-spacing:-0.5pt; vertical-align:top; transition:all 0.3s}
input.btn_w:hover {color:#333; border:1px solid #333; transition:all 0.3s}
input.btn_b {text-align:center; height:36px; width:80px; border:1px solid #555; background:#555; color:#fff; font-size:13px; letter-spacing:-0.5pt; vertical-align:top; transition:all 0.3s}
input.btn_b:hover {background:#333; border:1px solid #333; transition:all 0.3s}


/*********** List *************/
.photo_list {position:relative; overflow:hidden; border-top:1px solid #ffdb71; padding-top:20px;}
.photo_list dl{position:relative; float:left; width:23.875%; margin-right:1.5%}
.photo_list dl:nth-child(4n){margin-right:0}
.photo_list dl a{display:block;}
.photo_list dl a > dt img.img_area{width: 100%; height: auto; background-size:cover; background-position:no-repeat;-webkit-transition: all 0.5s ease-in-out;-moz-transition: all 0.5s ease-in-out;-o-transition: all 0.5s ease-in-out; -ms-transition: all 0.5s ease-in-out;transition: all 0.5s ease-in-out;}
.photo_list dl a:hover > dt img.img_area{ -webkit-transform: scale(1.18);-moz-transform: scale(1.18); -o-transform: scale(1.18);-ms-transform: scale(1.18);transform: scale(1.18);}
.photo_list dl a > dt img.play_icon{position:absolute; width: auto; height: auto; left:50%; top:50%; z-index:99; transform: translate(-50%,-50%);}
.photo_list dt{position:relative; overflow:hidden;}
.photo_list dt img{width:100%}
.photo_list dd{position:relative; padding:8px 0 20px 0}
.photo_list dd p.title{width:100%; font-size: 22px; font-weight:bold; color:#333; letter-spacing:-0.5pt; max-height:45px; overflow:hidden; display: block;}
.photo_list dd p.date{color:#999; font-size:13px; padding-top:4px}
.photo_list dd p.date span.recom{color:#f94e7e; font-weight:bold; font-size:13px; font-weight:normal; line-height: inherit; margin-left:5px}


@media all and (max-width:1024px) {
    .photo_list {padding-top:15px;}
    .photo_list dl{width:32%; margin-right:2%}
    .photo_list dl:nth-child(4n){margin-right:2%}
    .photo_list dl:nth-child(3n){margin-right:0%}
    .photo_list dd{padding:5px 0 15px 0}
    .photo_list dd p.title{font-size: 20px; max-height:35px;}
    .photo_list dd p.date{font-size:13px; padding-top:4px}
    .photo_list dd p.date span.recom{font-size:13px; margin-left:5px}
}
@media all and (max-width:768px) {
    .photo_list {padding-top:3vw;}
    .photo_list dl{width:49%; margin-right:2%}
    .photo_list dl:nth-child(4n){margin-right:2%}
    .photo_list dl:nth-child(3n){margin-right:2%}
    .photo_list dl:nth-child(2n){margin-right:0%}
    .photo_list dd{padding:1vw 0 3vw 0}
    .photo_list dd p.title{font-size: 4vw; max-height:7vw;}
    .photo_list dd p.date{font-size:3vw; padding-top:1vw}
    .photo_list dd p.date span.recom{font-size:3vw; margin-left:1vw}
}


/*********** View *************/


/* bbs_view */
.bbs_view * {box-sizing:border-box;}
.bbs_view .tit {position:relative; text-align:left; background:#fff; border-top:2px solid #222; border-bottom:1px solid #ddd; padding:32px 35px;}
.bbs_view .tit h2 {display:inline-block; width:100%; vertical-align:middle; font-size:30px; color:#202020; font-weight:500; text-overflow:ellipsis; white-space:nowrap; overflow:hidden;}
.bbs_view .tit h2 span {color:#e70000; font-weight:350;}
.bbs_view .tit .date {margin:10px auto 0;}
.bbs_view .tit .date p {font-size:15px; color:#9c9a9a; font-weight:400;}
.bbs_view .cont {padding:30px 50px; min-height: 400px;}
.bbs_view .cont p {font-size:16px; line-height: 1.7;}
.bbs_view .etc {font-size:0;}
.bbs_view .etc ul {border-bottom:1px solid #222;}
.bbs_view .etc ul li {border-top:1px solid #eaeaea;}
.bbs_view .etc ul li h2 {display:inline-block; width:8.9%; text-align:center; vertical-align:middle; background:#fbfbfb; padding:28px 0;}
.bbs_view .etc ul li h2 span {position:relative; display:inline-block; width:55px; font-size:14px; color:#222; font-weight:500; text-align:left; text-transform:uppercase;}
.bbs_view .etc ul li h2.noto span {font-weight:400;}
.bbs_view .etc ul li a {display:inline-block; width:91.1%; vertical-align:middle; font-size:14px; color:#636363; font-weight:350; padding:0 30px;}

@media all and (max-width:1024px) {
    .bbs_view .tit {padding:24px 28px;}
    .bbs_view .tit h2 {font-size:22px;}
    .bbs_view .tit .date {margin:8px auto 0;}
    .bbs_view .tit .date p {font-size:13px;}
    .bbs_view .cont {padding:25px 30px; min-height: 300px;}
    .bbs_view .cont p {font-size:14px;}
    .bbs_view .etc ul li h2 {width:10%; padding:24px 0;}
    .bbs_view .etc ul li h2 span {width:50px; font-size:13px;}
    .bbs_view .etc ul li a {width:90%; font-size:13px; padding:0 20px;}
    }

@media all and (max-width:768px) {
    .bbs_view .tit {padding:5vw 5.2vw;}
    .bbs_view .tit h2 {font-size:4vw;}
    .bbs_view .tit .date {margin:1.5vw auto 0;}
    .bbs_view .tit .date p {font-size:3vw;}
    .bbs_view .cont {padding:5vw 6vw; min-height: 30vw;}
    .bbs_view .cont p {font-size:3.2vw;}
    .bbs_view .etc ul li h2 {width:20%; padding:5vw 0;}
    .bbs_view .etc ul li h2 span {width:15vw; font-size:3vw; text-align: center;}
    .bbs_view .etc ul li a {width:80%; font-size:3vw; padding:0 4vw;}
}


/*********** Input *************/

/* 저작권공지 */
.input_notice{border:1px solid #ddd; background-color:#f9f9f9; padding:18px 20px;}
.input_notice h4{font-size:16px; font-weight:600; color:#333; letter-spacing:-1pt; padding:0 0 5px 0;}
.input_notice h4 span{color:#d51921; letter-spacing:-1pt;}
.input_notice p.txt{color:#666; line-height:21px; font-size:13px;}
.input_notice p.point{color:#d51921;line-height:21px; padding:3px 0 0 0; text-decoration:underline; font-size:13px;}


.input_msg {padding:15px 0 10px 0; text-align:right;}
.bbs_input {width:100%; border-collapse:separate; border-spacing:0px; border-top:1px solid #222;}
.bbs_input th {color:#333; text-align:left; padding:8px 10px; border-right:1px solid #ddd; border-bottom:1px solid #ddd;}
.bbs_input td {border-bottom:1px solid #d4d4d4; padding:8px 10px; text-align: left;}
.bbs_input td.line {border-right:1px solid #d4d4d4; }
.bbs_input td.input_contents textarea {width:100%; padding:5px; box-sizing:border-box; line-height:150%;}

	.subject_table {width:100%;border-collapse:separate; border-spacing:0px;}
	.subject_table td {border:none; padding:0;}
	.subject_table .cat {width:18%;}

/* 동의폼 */
.pri_box {width:100%; border:1px solid #dddddd; padding:15px; margin:10px 0px 20px 0px; box-sizing:border-box;}  
.pri_box p.pri_tit {font-size:14px; font-weight:600; padding-bottom:10px; color:#333;} 
.pri_box .textarea {height:100px;}
.pri_message {width:100%; text-align:right; padding-top:8px; font-family:inherit;}
.pri_message input[type=checkbox] {width:12px; height:12px; margin-right:5px;}

.reply_icon {position:relative; float:left; width:18px; height:30px; background:url('/admin/images/reply_icon.gif') 0 0 no-repeat}


/*********** Passwd *************/
.passwd {width:530px; margin:0 auto; border:2px solid #eaeaea; padding:20px 15px;}
.passwd ul {width:98%; overflow:hidden;}
.passwd li {float:left;}
.passwd .pw_img {margin-right:5px;}
.passwd .line {width:1px; background:#ddd; height:63px;}
.passwd .info {padding-left:28px;}

.passwd  .msg {padding-bottom:10px;}
.passwd  .input_passwd {margin-right:10px}
.passwd  .btn {}


/*********** Comment *************/
.comments {padding:15px 18px; background:#f9f9f9; border-bottom:1px solid #ddd;}
.comments dl{overflow:hidden; padding:0 0 5px 0;}
.comments dl dt{display:inline-block; font-size:13px;}
.comments dl dd{display:inline-block; margin-right:10px;}

.comments ul{overflow:hidden;}
.comments li{float:left; width:calc(100% - 83px);}
.comments li.btn{float:right; width:80px;}
.comments textarea {height:58px;}
.comments .spam_check{}
.comments .spam_check .sub_txt{font-size:13px; display:inline-block;}
.comm_btn_confirm {display:inline-block; width:80px; cursor:pointer; height:58px; text-align:center; color:#fff; border:1px solid #555; background:#555; font-size:13px; letter-spacing:-0.5pt; vertical-align:top; transition:all 0.3s}


.comments_body{overflow:hidden; border-bottom:1px solid #ddd; padding:15px;}
.comments_body p.file{color:#888; font-size:13px;}
.comments_body p.cont{padding:3px 0 5px 0;}
.comments_body p.info{color:#888; font-size:13px;}
.comments_body p.info strong{color:#333; margin-right:7px}
.comments_body p.info span{margin-right:7px;}
.comments_body p.info span:before{display:inline-block; content:""; width:1px; height:13px; background:#ccc; margin:0 10px -2px 0; overflow:hidden;}


.filebox input[type="file"] {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip:rect(0,0,0,0);
	border: 0;
}

.filebox label {
	display: inline-block;
	padding:8px 15px 3px 15px;
	color: #FFF;
	font-size: inherit;
	line-height: normal;
	vertical-align: middle;
	background-color: #484C57;
	cursor: pointer;
	border: 1px solid #484C57;
	height:20px;
}

/* named upload */
.filebox .upload-name {
	display: inline-block;
	padding: .5em .75em;  /* label의 패딩값과 일치 */
	font-size: inherit;
	font-family: inherit;
	line-height: normal;
	vertical-align: middle;
	background-color: #f5f5f5;
	border: 1px solid #ccc;
	border-bottom-color: #ccc;
	-webkit-appearance: none; /* 네이티브 외형 감추기 */
	-moz-appearance: none;
	appearance: none;
	height: 33px;
	width: 200px;
}

.upload-hidden {
	margin:1px 0;
	border:0px;
	font-size:12px;
	font-family:NanumGothic, 나눔고딕, NG, Tahoma, Geneva, sans-serif;
	color:#FFFFFF;
	border:1px solid #d86771;
	padding:5px;
	background-repeat: no-repeat;
	background-position:right 3px center;
	background-color: #d86771;
}


/* imaged preview */
.filebox .upload-display {  /* 이미지가 표시될 지역 */
	margin-bottom: 5px;
}

@media(min-width: 768px) { 
	.filebox .upload-display {
		display: inline-block;
		margin-right: 5px;
		margin-bottom: 0;
	}
}

.filebox .upload-thumb-wrap {  /* 추가될 이미지를 감싸는 요소 */
	display: inline-block;
	width: 70px;
	height: 33px;
	padding: 2px;
	vertical-align: middle;
	border: 1px solid #ddd;
	background-color: #fff;
}

.filebox .upload-display img {  /* 추가될 이미지 */
	display: block;
	max-width: 100%;
	width: 100%;
	height: 100%;
}


/* 카테고리 */
.cate_tab {float: left;}
.cate_tab li {float:left;}
.cate_tab a {position: relative; display:block; margin: 0 -1px 0 0; padding: 0 40px; font-size: 15px; font-weight: 400; line-height:53px; color:#666; border:1px solid #ddd; background:#fff; text-align:center; z-index: 98;}
.cate_tab a:hover {text-decoration:none; font-weight: 500; color:#000;}
.cate_tab a span {font-size: 15px; font-weight:600; line-height:48px; color:#000;}/* list.php 101줄에 class='active'를 기본값으로 한다면 a.active에 병합후 삭제 */
.cate_tab a.active {position: relative; border:1px solid #000; z-index: 99;}/* list.php 101줄에 class='active'를 추가해야함 */




/* page_num 디자인03 */
/*-- 페이저 디자인03 --*/
.page_num ul li .num.active {color:#ffdb71 !important;}
.page_num ul li .num.active::after {background: #ffdb71 !important;}


.page_num {text-align:center; margin:45px auto 0;}
.page_num ul {display:block; font-size: 0;}
.page_num ul li {display:inline-block; vertical-align:top; margin: 0 10px 0 0;}
.page_num ul li:last-child {margin: 0;}
.page_num ul li a {display:block; width:40px; height:40px; border: 1px solid #ddd;}
.page_num ul li .num {margin: 0; width: 30px; font-size:16px; font-weight:500; line-height:40px; color:#222; border: none; text-align:center; font-family: 'Montserrat', sans-serif;}
.page_num ul li .num.active {position: relative; color:#0e4a9c; font-weight: 600;}
.page_num ul li .num.active::after {content: ''; position: absolute; bottom: 20%; left: 30%; right: 30%; height: 1px; background: #0e4a9c; font-weight: 600;}
.page_num ul li .first {background:url('./image/paging-first.png') no-repeat center / 38px;}
.page_num ul li .prev {background:url('./image/paging-prev.png') no-repeat center / 38px;}
.page_num ul li .next {background:url('./image/paging-next.png') no-repeat center / 38px;}
.page_num ul li .last {background:url('./image/paging-last.png') no-repeat center / 38px;}

@media all and (max-width:1024px) {
    .page_num {margin:25px auto 0;}
    .page_num ul li {margin: 0 5px 0 0;}
    .page_num ul li a {width:35px; height:35px;}
    .page_num ul li .num {width: 25px; font-size:14px; line-height:35px;}
    .page_num ul li .first {background:url('./image/paging-first.png') no-repeat center / 32px;}
    .page_num ul li .prev {background:url('./image/paging-prev.png') no-repeat center / 32px;}
    .page_num ul li .next {background:url('./image/paging-next.png') no-repeat center / 32px;}
    .page_num ul li .last {background:url('./image/paging-last.png') no-repeat center / 32px;}
}
@media all and (max-width:768px) {
    .page_num {margin:7vw auto 0;}
    .page_num ul li {margin: 0 1vw 0 0;}
    .page_num ul li a {width:7vw; height:7vw;}
    .page_num ul li .num {width: 5vw; font-size:3vw; line-height:7vw;}
    .page_num ul li .first {background:url('./image/paging-first.png') no-repeat center / 8vw;}
    .page_num ul li .prev {background:url('./image/paging-prev.png') no-repeat center / 8vw;}
    .page_num ul li .next {background:url('./image/paging-next.png') no-repeat center / 8vw;}
    .page_num ul li .last {background:url('./image/paging-last.png') no-repeat center / 8vw;}
}

/* bbs_srch 디자인03 */
.bbs_srch select {display: none;}
.bbs_srch::after {content: ''; display: block; clear: both;}
.bbs_srch {margin: 25px 0 0;}
.bbs_srch form {text-align: right; margin: 0 0 15px;}
.bbs_srch .box {display: inline-block;}
.bbs_srch .inputs {display:inline-block; width:326px; font-size: 0; vertical-align:top; border:1px solid #ffdb71;}
.bbs_srch .inputs input[type="text"] {display:inline-block; padding:0 25px; width:calc(100% - 64px); font-size:16px; line-height:64px; font-weight:400; color:#4a4a4a; box-sizing: border-box;}
.bbs_srch .inputs input[type="submit"] {display:inline-block; width:64px; height:64px; background:url('./image/search02.png') no-repeat center / 18px; text-indent:-99999px; cursor:pointer;}
@media all and (max-width:1024px) {
    .bbs_srch {margin: 20px 0 0;}
    .bbs_srch form {margin: 0 0 10px;}
    .bbs_srch .inputs {width:300px;}
    .bbs_srch .inputs input[type="text"] {padding:0 20px; width:calc(100% - 50px); font-size:14px; line-height:50px;}
    .bbs_srch .inputs input[type="submit"] {width:50px; height:50px; background:url('./image/search02.png') no-repeat center / 19px;}
}
@media all and (max-width:768px) {
    .bbs_srch {margin: 4vw 0 0;}
    .bbs_srch form {margin: 0 0 2vw;}
    .bbs_srch .inputs {width:60vw;}
    .bbs_srch .inputs input[type="text"] {padding:0 4vw; width:calc(100% - 10vw); font-size:3vw; line-height:10vw;}
    .bbs_srch .inputs input[type="submit"] {width:10vw; height:10vw; background:url('./image/search02.png') no-repeat center / 3.5vw;}
}




.bbs_btn {margin: 50px 0 0;}
.bbs_btn ul {position: relative; display: flex;justify-content: space-between;align-items: center;}
.bbs_btn ul li {vertical-align: middle;}
.bbs_btn ul li a {display: block; font-size: 14px; line-height: 36px; font-weight: 300; color: #636363; white-space: nowrap;text-overflow: ellipsis; overflow: hidden;}
.bbs_btn ul li span {position: relative; font-size: 0;}
.bbs_btn ul li span::after {content: ''; font-size: 14px; font-weight: 600; color: #222222; font-family:'Montserrat', sans-serif;}
.bbs_btn ul li span::before {content: ''; position: absolute; top: 60%; width: 6px; height: 10px; background: url(./image/view_arrow01.png) no-repeat center / cover; transform: translateY(-50%);}

.bbs_btn ul li.prev,.bbs_btn ul li.next {display: flex;align-items: center; max-width: 300px;}
.bbs_btn ul li.list {position: absolute; left: 50%; transform: translateX(-50%);}
.bbs_btn ul li.prev span {margin: 0 40px 0 30px;}
.bbs_btn ul li.prev span::after {content: 'prev';}
.bbs_btn ul li.prev span::before {left: -20px;}

.bbs_btn ul li.next span {margin: 0 30px 0 40px;}
.bbs_btn ul li.next span::after {content: 'next';}
.bbs_btn ul li.next span::before {right: -20px; transform: translateY(-50%) rotate(180deg);}
@media all and (max-width:768px) {
    .bbs_btn {margin: 50px 0 0;}
    .bbs_btn ul li a {max-width: 20vw; font-size: 3.2vw; line-height: 3.2vw;}
    .bbs_btn ul li span::after {font-size: 2.8vw;}
    .bbs_btn ul li span::before {top: 60%; width: 1vw; height: 2vw;}
    
    .bbs_btn ul li.prev,.bbs_btn ul li.next {max-width: 40vw;}
    .bbs_btn ul li.list {max-width: 15vw;}
    .bbs_btn ul li.list .btn_w {max-width: 15vw; height: 8vw; line-height: 8vw; font-size: 3vw;}
    .bbs_btn ul li.prev span {margin: 0 2vw 0 5vw;}
    .bbs_btn ul li.prev span::before {left: -4vw;}
    
    .bbs_btn ul li.next span {margin: 0 5vw 0 2vw;}
    .bbs_btn ul li.next span::before {right: -4vw;}
}


/* 어드민 하단 버튼 */
.bbs_btn.align_right {text-align:right;}
.bbs_btn li {text-align: center;}
.bbs_btn li.sel_btn{width:auto; display:block; background:transparent; float:left;}
.bbs_btn li.sel_btn a {color:#666; padding:0; font-size:14px; width:80px; height:36px; line-height:36px; border:1px solid #ccc;}
.bbs_btn li.list_btn{width:auto; display:block; background:transparent; float:right;}
.bbs_btn li.list_btn:after {display:block; content:""; overflow:hidden;}
.bbs_btn_admin {position:relative; overflow:hidden; width:100%; padding-top:20px;}
.bbs_btn_admin.align_right {text-align:right;}
.bbs_btn_admin li.sel_btn{float:left;}
.bbs_btn_admin li.list_btn{float:right;}
.bbs_btn_admin li.list_btn:after {display:block; content:""; overflow:hidden;}
.bbs_btn_admin a{margin:0 1px;}
.bbs_btn_admin input{margin:0 1px;}