@charset "UTF-8";
@import url("../../../css/board.css");

/*-------------------------------------------------
title       : 갤러리
Create date : 2022-05-20
-------------------------------------------------*/

/* 동영상 게시판 */
.gallery_list { overflow: hidden; width: calc(100% + 3rem); margin-bottom: -1px; display:flex; flex-wrap:wrap}
.gallery_list li {width:25%; padding:3rem 3rem 3rem 0; border-bottom: 1px solid #ddd; }

.gallery_list a { display: block; }
.gallery_list a:hover .thumb {background-color:#000}
.gallery_list a:hover .thumb::before,
.gallery_list a:hover .thumb::after,
.gallery_list a:focus .thumb::before,
.gallery_list a:focus .thumb::after { opacity: 1; transform: rotate(0); transition: all 0.4s 0.1s; }
.gallery_list a:hover .thumb img,
.gallery_list a:focus .thumb img { opacity: 0.6; }

.gallery_list .thumb {border:1px solid #eee; display: block; overflow: hidden; position: relative; z-index: 0; height: 0; margin-bottom: 2rem; padding-top:100%; color: #fff; }
.gallery_list .thumb img { position: absolute; left: 0; top:0; z-index: -1; width: 100%; min-height: 100%; object-fit:cover; transition: all 0.2s; }
.gallery_list .thumb::before { position: absolute; left: 0; top: 50%; width: 100%; margin-top: -1rem; font-family: 'xeicon'; font-size: 3.2rem; content: ''; text-align: center; line-height: 0; opacity: 0; transform: rotate(180deg); transition: all 0.2s; }
.gallery_list .thumb::after { position: absolute; left: 0; top: 50%; width: 100%; margin-top: 1rem; font-weight: 600; content: '자세히 보기'; text-align: center; opacity: 0; transition: all 0.2s; }

.gallery_list .title { display:block; overflow: hidden; max-width: 100%; font-size: 1.8rem; color: #222; text-overflow: ellipsis; white-space: nowrap; }
.gallery_list .title .xi-new { margin-top: 0.3rem; margin-right:0.5rem}
.gallery_list .label { font-weight: 400; color: #000; }

.gallery_list .desc { white-space: nowrap; }
.gallery_list .desc > span + span::before { display: inline-block; position: relative; top: -1px; width: 1px; height: 1.4rem; margin: 0 1rem 0 0.75rem; background-color: #ddd; content: ''; vertical-align: middle; }
.gallery_list .desc > span { display: inline-block; vertical-align: middle; font-size:1.4rem; color:#666}
.gallery_list .desc .name { display: none; }
.gallery_list .desc .name + span::before { display: none; }

/* 갤러리 내용 */
.gallery_view { margin-bottom: 2rem; }
.gallery_view .list { margin-top: 1rem; text-align: center; }
.gallery_view .list img { display: inline-block; max-width: 100%; min-height: 100%; }
.gallery_view .thumb li { padding-right: 1rem; }
.gallery_view .thumb li a { display: block; overflow: hidden; position: relative; height: 8rem; border: 2px solid #fff; background-color: #000; transition: all 0.2s; }
.gallery_view .thumb li a img { opacity: 0.7; transition: all 0.2s; max-width: 100%;}
.gallery_view .thumb .active a { border-color: #555; }
.gallery_view .thumb .active a img { opacity: 1; }
.gallery_view .thumb img { transition: all 0.2s; }
.gallery_view .thumb .bx-wrapper .bx-controls-direction a { left:0}
.gallery_view .thumb .bx-wrapper .bx-controls-direction a.bx-next { left: auto; right:0; margin-right:0}

.gallery_view .thumb,
.gallery_view .bx-wrapper {position:static}
.gallery_view .bx-controls {position:absolute; top:80rem; left:50%; transform: translateX(-50%); width:100%; z-index:1}
.gallery_view .bx-controls div  {display:block; width:100%}
.gallery_view .bx-controls a {background-color:rgba(255,255,255,0.5); border:1px solid #ddd; width:6rem; height:6rem; position:absolute;}
.gallery_view .bx-controls a:before {font-size:2rem; line-height:2.8}

@media screen and (max-width:768px) {
	
	.gallery_view .bx-controls {top:65rem}
	.gallery_view .bx-controls a:before {color:#fff}	
}

/* 동영상 내용 */
.video .desc { overflow: hidden; overflow-y: auto; max-height: 30rem; margin-top: 2rem; padding: 2rem 2.5rem 0; border: 1px solid #ddd; background-color: #f8f9fa; }
.video .desc::after { display: block; height: 2rem; content: ''; }
.video .youtube { position: relative; height: 0; padding-top: 55%; }
.video .youtube iframe { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.video .txt_center {margin-top: 2rem;}

/* 웹진형 게시판 */
.blog_list { margin-bottom: -1px; }
.blog_list a, .board_list.sk6 .blog_list li > span { display: block; overflow: hidden; padding: 4rem 0; border-bottom: 1px solid #ddd; }
.blog_list a:hover .thumb::before,
.blog_list a:hover .thumb::after,
.blog_list a:focus .thumb::before,
.blog_list a:focus .thumb::after { opacity: 1; transform: rotate(0); transition: all 0.4s 0.1s; }
.blog_list a:hover .thumb img,
.blog_list a:focus .thumb img { opacity: 0.6; }

.blog_list .thumb { overflow: hidden; float: left; position: relative; z-index: 0; width: 30rem; height: 19rem; background-color: #000; color: #fff; }
.blog_list .thumb img { min-width: 100%; min-height: 100%; }
.blog_list .thumb::before { position: absolute; left: 0; top: 50%; z-index: 1; width: 100%; margin-top: -1rem; font-family: 'xeicon'; font-size: 3.2rem; content: ''; text-align: center; line-height: 0; opacity: 0; transform: rotate(180deg); transition: all 0.2s; }
.blog_list .thumb::after { position: absolute; left: 0; top: 50%; z-index: 1; width: 100%; margin-top: 1rem; font-weight: 600; content: '자세히 보기'; text-align: center; opacity: 0; transition: all 0.2s; }

.blog_list .title { display: block; overflow: hidden; margin-bottom: 1rem; font-size: 1.8rem; font-weight: 600; color: #222; text-overflow: ellipsis; white-space: nowrap; }
.blog_list .label { font-weight: 400; color: #000; }
.blog_list .txt { display: block; overflow: hidden; height: 5.2rem; margin-bottom: 3rem; color: #666; }

.blog_list .desc { float: right; width: calc(100% - 35rem); padding: 2.5rem 0; }
.blog_list .desc > span + span::before { display: inline-block; position: relative; top: -1px; width: 1px; height: 1.4rem; margin: 0 1rem 0 0.75rem; background-color: #ddd; content: ''; vertical-align: middle; }
.blog_list .desc > span { display: inline-block; vertical-align: middle; }
.blog_list .desc .name { display: none; }
.blog_list .desc .name + span::before { display: none; }


/*sk5 스킨*/
.board_list.sk5 .gallery_list .thumb img{left:50%; top:50%; transform:translate(-50%, -50%); width:110%; max-width:none}

/*sk6 스킨 - 역대수상작*/
.board_list.sk6 .gallery_list a, .board_list.sk6 .blog_list li > span {position:relative}
.board_list.sk6 .gallery_list .thumb {width:100%; height:20rem}
.board_list.sk6 .gallery_list .thumb img {margin-top:-2.5rem}
.board_list.sk6 .gallery_list .desc .title {display:block; margin-bottom:0.5rem}
.board_list.sk6 .gallery_list .desc .name,
.board_list.sk6 .gallery_list .desc .category {display:block; width:99.9%; overflow:hidden; white-space:nowrap; text-overflow:ellipsis}
.board_list.sk6 .gallery_list .desc .category:before,
.board_list.sk6 .gallery_list .desc .name:before {display:none}
.board_list.sk6 .gallery_list .desc .label {margin-right:0.5rem; width:5rem; display:inline-block; color:#999}
.board_list.sk6 .gallery_list .prize {position:absolute; left:0; top:0; width:6rem; height:6rem; background-color:#00a3dc; color:#fff; font-size:1.4rem; text-align:center; line-height:6rem}
.board_list.sk6 .gallery_list .prize strong {display:none}
.board_list.sk6 .gallery_list .prize.dia {background-color:#00a3dc}
.board_list.sk6 .gallery_list .prize.gold {background-color:#ebca04}
.board_list.sk6 .gallery_list .prize.silver {background-color:#b9bfc5}
.board_list.sk6 .gallery_list .prize.bronze {background-color:#b77949}
.board_list.sk6 .gallery_list .prize.special {background-color:#6854a5}

.board_view.sk6 .info .name,
.board_view.sk6 .info .date,
.board_view.sk6 .info .hit {display:none}
.board_view.sk6 .info .category:before {display:none}
.board_view.sk6 .youtube iframe {min-height:60rem; width:80%}


/*한국화 필 무렵*/
.gallery_list .desc > span {color:#666; display:block; font-size:1.6rem}
.gallery_list .desc > span + span::before {display:none}
.gallery_list .desc > span.date {display:none}
.gallery_list .desc .info {white-space:nowrap; text-overflow:ellipsis; overflow:hidden; width:99.9%}
.gallery_list .desc .price .label {display:none}

.gallery-view .info {border:1px solid #ddd; display:flex; flex-wrap:wrap; padding:5rem; width:100%}
.gallery-view .info .img {background:#eaeaea url('/error/img/noimage.jpg') no-repeat center; width:40%; min-height:30rem}
.gallery-view .info .desc {padding-left:5rem; width:60%}
.gallery-view .info .category {border-radius:100rem; background-color:#593494; color:#fff; display:inline-block; font-size:1.4rem; height:3rem; line-height:3rem; margin:1rem 0 2rem; padding:0 1.5rem; text-align:center}
.gallery-view .info .title {display:block; font-size:2.4rem; font-weight:600; line-height:1.4; margin-bottom:0.5rem; word-break:keep-all}

.gallery-view .contents {border-bottom:1px solid #ddd; font-family:'Noto Sans KR' !important; margin:5rem 0; padding-bottom:5rem}

/*작가소개*/
.wri .desc .name {color:#333; display:block; font-size:2.8rem; margin-bottom:3rem}
.wri .desc .con * {font-family:'Noto Sans KR' !important}
.wri .contents * {font-family:'Noto Sans KR' !important}

/*작품소개*/
.art .info {display:block; padding:4rem}
.art .info .title {display:block; font-size:2.4rem; font-weight:600; line-height:1.4; margin-bottom:0.5rem; word-break:keep-all}
.art .info span {color:#666; display:inline-block; font-size:1.6rem; margin-right:1rem}
.art .info .name {color:#000; font-weight:500}

/*상품소개*/
.goods .desc .price {display:block; font-size:3rem; font-weight:600}
.goods .desc .con {color:#666; display:block; line-height:1.4; margin:5rem 0}
.goods .desc .btn {background-color:#3d1e6c; color:#fff; display:inline-block; padding:1rem 2rem; text-align:center; transition:all .3s}
.goods .desc .btn:hover {background-color:#593494}

@media ( max-width: 1024px )
{
	.gallery_list li { width: 33.333%}
}

@media ( max-width: 768px )
{
	.gallery-view .info {padding:3rem}
	.gallery-view .info .img {width:100%; margin-bottom:3rem}
	.gallery-view .info .desc {padding-left:0; width:100%}
	.gallery-view .info .con {margin:3rem 0}
}

@media ( max-width: 580px )
{
	/* 동영상 게시판 */
	.gallery_list { width: calc(100% + 2rem); }
	.gallery_list li { width: 50%; padding: 2rem 2rem 2rem 0; }
	
	/* 웹진형 게시판 */
	.blog_list a { padding: 2rem 0; }
	.blog_list .thumb { width: 20rem; height: 14rem; }
	.blog_list .txt { margin-bottom: 2rem; }
	.blog_list .title { margin-bottom: 0.5rem; }
	.blog_list .desc { width: calc(100% - 22rem); padding: 0.5rem 0; }

	.board_list.sk6 .gallery_list .thumb img {margin-top:-1.5rem}
	.board_list.sk6 .gallery_list .desc .label {display:none}
	.board_view.sk6 .youtube iframe {min-height:30rem}
}

@media ( max-width: 400px )
{
	/* 동영상 게시판 */
	.gallery_list .desc span { display: block; }
	.gallery_list .desc span::before { display: none !important; }
	
	/* 웹진형 게시판 */
	.blog_list .thumb { display: block; float: none; width: 100%; height: auto; }
	.blog_list .desc { float: none; width: 100%; padding: 1.5rem 0 0; }
}