@charset "utf-8";
/**
 * @author https://www.cosmosfarm.com
 */

/* list */
.gallery_list * {list-style:none;}
.gallery_list {display:flex; flex-wrap:wrap; margin:-40px -2% 0; list-style:none;}
.gallery_list > li {width:46%; margin:50px 2% 0; padding:0; font-size:0.75rem;}
.gallery_list > li .imgs {overflow:hidden;}
.gallery_list > li .img_thumb {display:block; position:relative; width:100%; padding-top:70%; background-position:50% 50%; background-size:cover; transition:all .2s linear; transform:scale(1);}
.gallery_list > li a:hover .img_thumb {transform:scale(1.1);}
.gallery_list > li .img_thumb .no_img {position:absolute; top:0; left:0; width:100%; height:100%; background:url(/wp/wp-content/themes/enfold-child/images/no_img.jpg) 50% 50% no-repeat; background-size:cover;}
.gallery_list > li .title em {display:block; color:#000; font-size:1rem; font-weight:700; font-style:normal; margin:1.25rem 0 0.5rem;}
.gallery_list > li .desc {color:#333;}
.gallery_list > li .add_info {color:#888;}
.gallery_list > li .add_info > span + span {margin-left:10px;}
.gallery_list > li .add_info > .views {background: url(./images/icon-views.png) 0 center no-repeat; padding-left:20px;}

#kboard-gallery-latest * { text-shadow: none; }
#kboard-gallery-latest p {margin:0; padding:0;}
#kboard-gallery-latest {display:flex; flex-wrap:wrap;}
#kboard-gallery-latest .kboard-gallery-latest-item {width:18.4%; margin-left:2%;}
#kboard-gallery-latest .kboard-gallery-latest-item:first-child {margin-left:0;}
#kboard-gallery-latest .gallery-latest-thumbnail { display: block; width: 100%; height: 200px; line-height: 200px; color: black; vertical-align:middle; text-decoration: none; background-color:#f7f7f7; background-position:50% 0; background-size: cover;}
#kboard-gallery-latest .gallery-latest-thumbnail:hover { opacity: 0.8; filter: alpha(opacity=70); }
#kboard-gallery-latest .gallery-latest-title { color:#000; font-size:1.125rem; font-weight:700; margin: 1.563rem 0 0; padding: 0; width:auto; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; word-wrap:normal;}
#kboard-gallery-latest .gallery-latest-date {color:#000; font-size:1rem; margin:0.875rem 0 1rem;}
#kboard-gallery-latest .more {display:block; color:#E5AF4B; font-size:0.875rem; font-weight:700;}
#kboard-gallery-latest .more > span {display:flex; align-items:center; font-weight:700;}
#kboard-gallery-latest .more > span::after {content:''; display:block; background: url(/wp/wp-content/themes/enfold-child/images/icon_arrow_more.png) 0 0 no-repeat; background-size:contain; width:7px; height:11px; margin:-2px 0 0 10px;}
#kboard-gallery-latest iframe {display:none;}

@media screen and (min-width:768px) {
.gallery_list {margin:-40px -1.5% 0;}
.gallery_list > li {width:30.33%; margin:50px 1.5% 0; font-size:0.875rem;}
.gallery_list > li .title em {font-size:1.25rem;}
}

@media screen and (max-width: 1024px) {
#kboard-gallery-latest .kboard-gallery-latest-item {width:23.5%;}
}

@media screen and (max-width: 767px) {
#kboard-gallery-latest {margin-top:-8%;}
#kboard-gallery-latest .kboard-gallery-latest-item {width:48%; margin:8% 0 0 4%;}
#kboard-gallery-latest .kboard-gallery-latest-item:nth-child(2n+1) {margin-left:0;}
#kboard-gallery-latest .gallery-latest-thumbnail {height:150px; line-height:150px;}
#kboard-gallery-latest .gallery-latest-title {font-size:1rem;}
#kboard-gallery-latest .gallery-latest-date {font-size:0.875rem; margin:0.625rem 0;}
#kboard-gallery-latest .more {font-size:0.75rem;}
}

@media screen and (max-width: 480px) {
/* list */
.gallery_list {margin:0;}
.gallery_list > li {width:100%; margin:4% 0 0;}
.gallery_list > li + li {margin-top:3.125rem;}
}