@charset "utf-8";
#bo_list #bo_gallery{}
#bo_list #bo_gallery>ul{display: flex;align-items: center;gap: 20px;flex-flow: row wrap;}
#bo_list #bo_gallery>ul li{width: calc(25% - 15px);height: auto;aspect-ratio: auto 1 / 1;position: relative;top: 0;left: 0;cursor: pointer;overflow: hidden;}
#bo_list #bo_gallery>ul li span.chk-box{position: absolute; top: 5px; left: 10px; width: 20px; height: 20px; z-index: 3;}
#bo_list #bo_gallery>ul li span.chk-box input{width: 100%;height: 100%;}
#bo_list #bo_gallery>ul li .img_wrap{width: 100%;height: 100%;background-repeat: no-repeat;background-size: cover;background-position: center;z-index: 1;position: absolute;top: 0;left: 0;}
#bo_list #bo_gallery>ul li .text_wrap{position: absolute;top: 0;left: 0;width: 100%;height: 100%;display: flex;justify-content: center;align-items: center;padding: 2vw;background: #00000085;transition: 0.3s;opacity: 0;z-index: 2;}
#bo_list #bo_gallery>ul li .text_wrap p{overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;color: #fff;font-size: var(--font-20);text-align: center;}
#bo_list #bo_gallery>ul li:hover .text_wrap{opacity: 1;}
.pagination{margin-top: 80px;}
.pagination li.page-first,
.pagination li.page-last{display: none;}
.pagination li.page-item{}
.pagination li.page-item a.page-link{background-color: unset !important; border: unset !important; color: #7E7E7E !important; font-size: var(--font-18) !important; padding: 0; width: 30px; height: 30px; text-align: center; line-height: 30px;}
.pagination li.page-item.active a.page-link{color: #006241 !important;}

/* 유튜브 특이css */
#bo_list #bo_gallery>ul li.youtube{aspect-ratio: auto 1 / 0.7;}
#bo_list #bo_gallery>ul li.youtube .img_wrap{background-size: 140% auto;}

@media screen and (max-width:1000px){
	#bo_list #bo_gallery>ul li{width: calc(33.333333% - 14px);}
	#bo_list #bo_gallery>ul li .text_wrap{opacity: 1;}
}
@media screen and (max-width:700px){
	#bo_list #bo_gallery>ul li{width: calc(50% - 10px);}
}