/* 공통 */

/* 테스트용 */
#subContent .doc_white {
	background: transparent;
}


/* 주요 색상별 알파값 (배경: #ffffff)
:root {
	--fafafa : rgba(0,0,0,0.02); 
	--f5f5f5 : rgba(0,0,0,0.039); 
	--f1f2f3 : rgba(0,0,0,0.055); 
	--eeeeee : rgba(0,0,0,0.067); 
	--dddddd : rgba(0,0,0,0.134); 
	--cccccc : rgba(0,0,0,0.2); 
	--bbbbbb : rgba(0,0,0,0.267); 
	--aaaaaa : rgba(0,0,0,0.333); 
	--999999 : rgba(0,0,0,0.4); 
}
*/

/*
#bbs_container .bbsListTbl > thead > tr > th, 
#bbs_container .bbsListTbl > tbody > tr > th {
	background-color: var(--color-f5f5f5, #f5f5f5);
}

#bbs_container .bbsListTbl > thead > tr > th, #bbs_container .bbsListTbl > tbody > tr > th, #bbs_container .bbsListTbl > thead > tr > td, #bbs_container .bbsListTbl > tbody > tr > td {
	border-color: var(--color-cccccc, #cccccc);
}

#bbs_container .bbsListTbl > tbody > tr:hover > td {
	background-color: var(--color-fafafa, #fafafa);
}

#bbs_container .bbsSearchZone #sF ,
#bbs_container .bbsSearchZone #sV {
	background: var(--color-eeeeee,#fff);
	border-color: var(--color-dddddd,#ccc);
}
*/



#bbs_container:has(.bbsGalleryV2) {
	container-type: inline-size;
	width: 100%;
	/* background:#c00; */
}
#bbs_container UL.bbsGalleryV2 {
	border:0;
	padding:2rem 0;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-start;
	/* align-items: flex-start; */
	align-items: stretch;

}
#bbs_container .bbsDivsion + UL.bbsGalleryV2 {
	border-top-width:1px;
}
#bbs_container UL.bbsGalleryV2 > li {
	width: calc(100% / 4 );
	height: 100%;
	padding: 2rem;
	transition: .3s ease-in-out;

}

#bbs_container UL.bbsGalleryV2 > li.record_blank {

    width: 100%;
    border-top: 3px solid #000;
    min-height: 20rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}


UL.bbsGalleryV2 .pic {
	display: block;
	/* flex-shrink: 0; */
    width: 100%;
    height: 100%;
	position: relative;
	transition-property: transform;

	border-radius: 1.5rem;
	overflow: hidden;

	box-shadow: 0 1rem 3rem #0000004d;
	box-shadow: 0 1rem 3rem #804c34;
	transition: .3s ease-in-out;
}
UL.bbsGalleryV2 .pic::before {
	content:'';
	display: block;
    width: 100%;
    height: 100%;

    position: absolute;
    top: -100%;
    left: 0;
	z-index: 1;

    background: rgba(0,0,0,.25);
	transition: .3s ease-in-out;
}

UL.bbsGalleryV2 .pic::after {
    content: "\e97b";
    font-family: xeicon !important;
    display: inline-block;
    speak: none;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: absolute;

	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);


	z-index: 1;
    color: #eee;
    font-size: 0;
    text-shadow: 1px 1px rgba(0, 0, 0, .25);
    opacity: 0;
    transition: .3s;
}


UL.bbsGalleryV2 .pic IMG {
	width:100%;
	height:100%;
	object-fit: cover;
	transition: .3s ease-in-out;
}
UL.bbsGalleryV2 .pic .tit {

	display: block;
    width: 100%;


    position: absolute;
    bottom: -100%;
    left: 0;
    background: rgba(0,0,0,.5);
	transition: .3s ease-in-out;


    z-index: 5;
    color: #fff;

	border:0;
	margin:0;
    padding: 1.5rem 1rem;
    text-align: center;
    letter-spacing: -1px;
    font-size: 1.8rem;
    font-weight: 600;


	    cursor: pointer !important;
}

UL.bbsGalleryV2 .pic BUTTON.tit:focus {
    position: absolute !important;
}


UL.bbsGalleryV2 .pic:hover {
	box-shadow:  0 0 2rem #804c34;
}
UL.bbsGalleryV2 .pic:hover::before {
	top: 0;
}
UL.bbsGalleryV2 .pic:hover::after {
    opacity: 1;
	font-size: 5rem;
}

UL.bbsGalleryV2 .pic:hover IMG {
	scale: 1.12;
}
UL.bbsGalleryV2 .pic:hover .tit {
	bottom: 0;
}



@media (max-width: 1400px) {
	#bbs_container UL.bbsGalleryV2 > li { 
		width: calc(100% / 3 );
	}
}
@media (max-width: 1024px) {
	#bbs_container UL.bbsGalleryV2 > li { 
			padding: 1.5rem;
	}

}
@media (max-width: 768px) {
	#bbs_container UL.bbsGalleryV2 > li { 
			
		width: calc(100% / 2 );
	}
}

@media (max-width: 512px) {
	#bbs_container UL.bbsGalleryV2 > li { 
			padding: 1rem;
	}
}



.ck-content .media iframe {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: 100%;
}




.vbox-overlay .vbox-container {
	overflow-y: hidden;
}

.vbox-overlay .vbox-close {
    font-size: 5rem;
}
.vbox-overlay .vbox-next span ,
.vbox-overlay .vbox-prev span {
	width: 3rem;
	height: 3rem;
	border-width: 0.4rem;
}
.vbox-overlay .vbox-next span {
	right: 1.5rem;
}
.vbox-overlay .vbox-prev span {
	left: 1.5rem;

}