/* .n_thumb:after{content: '';display: block;clear: both;} */
.n_gallery_wrap2 {clear:both; position:relative}
.n_gallery_wrap2 .n_title_wrap {width:100%; height:25px; border:1px solid #ccc}
.n_gallery_wrap2 .n_title a:link, .n_title a:visited, .n_title a:active, .n_title a:hover {float:left; text-decoration:none; padding-left:8px; white-space:nowrap; font:bold 12px gulim, dotum; color:#222; line-height:27px}
.n_gallery_wrap2 .n_icon {float:left; margin-left:5px; height:19px}
.n_gallery_wrap2 .n_right_wrap {float:right; padding-top:5px; padding-right:7px}
.n_gallery_wrap2 ul.n_thumb {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.n_gallery_wrap2 ul.n_thumb img{transition: all .3s}

.n_gallery_wrap2 ul.n_thumb li {
    flex-basis: 24%;
    margin: 0 0 1em 0;
    padding: 0 10px;
}

.n_gallery_wrap2 ul.n_thumb li a{color: #ccc !important;font-size:17px !important;font-weight: 500}
.n_gallery_wrap2 ul.n_thumb li p { width:100%;text-align: center;overflow-x:hidden;position: absolute;left:0;bottom: 0;}
.n_gallery_wrap2 ul.n_thumb li p a:link, ul.n_thumb li p a:visited, ul.n_thumb li p a:active, ul.n_thumb li p a:hover {text-decoration:none; font:normal 12px dotum, tahoma; color:#555; letter-spacing:-1px; white-space:nowrap}
.n_gallery_wrap2 .n_no_list {padding:10px 0; font:normal 12px gulim, dotum; color:#777; text-align:center}

.n_gallery_wrap2 ul.n_thumb li:hover div{overflow: hidden;}
/* ul.n_thumb li:hover div>img{transform: scale(1.2);opacity: .7;} */

.n_gallery_wrap2 ul.n_thumb li h2 {
    text-align: center;
    padding: 1em 0 0 0;
}


.n_gallery_wrap2 .slick-next{right:10px;background:none;}
.n_gallery_wrap2 .slick-prev {left: 10px;background:none;}
.n_gallery_wrap2 .slick-prev:before {
    content: url(/theme/template1/assets/images/mslider_previous2.png);
}
.n_gallery_wrap2 .slick-next:before {
    content: url(/theme/template1/assets/images/mslider_next2.png);
}
@media(max-width:1172px) {
    .n_gallery_wrap2 .slick-prev {
        left: 15px;
    }
}
@media(max-width:768px) {
    .n_gallery_wrap2 ul.n_thumb {
        display: flex;
        
    }
    .n_gallery_wrap2 ul.n_thumb li {
        margin: 0 0;
        flex-basis: 46%;
        margin: 0 2% 20px;
    }
    .n_gallery_wrap2 .slick-prev {
        left: 0px;
    }
    .n_gallery_wrap2 .slick-next {
        right: 0px;
    }
}
