.infeso_menu>li:nth-child(4)>a{color: #e52528}
.main_bg1{background: url(../images/main_bg1.jpg) no-repeat center center; background-size: cover;}
/*banner*/
.cycle-slideshow{height: 100%; position: absolute; left: 50%; transform: translateX(-50%);}
.sec_title2{margin-bottom:5%;}
.sub_menu{text-align:center;}
/*미디어*/
#media{}
 #media>h2{ color: #000; font-size: 2.5rem; text-align:center;} 
/*.media_list>li{float: left; width: 47.5%;  margin-right: 5%; cursor: pointer;}
.media_list>li:nth-child(2n){margin-right: 0px;}
.media_list>li>h4{font-weight: bold; font-size: 1.25rem; text-align: center; padding: 10px;}
.media_list>li>p{font-size: 1rem; line-height: 1.5rem; color: #4e4e4e; padding: 10px;}
 */

.life_list>li{width: 30%; padding: 10px; float: left; margin-bottom: 50px; cursor: pointer; text-align: left; margin-right: 5%; border: 2px solid #f5f5f5; box-sizing: border-box;}
.life_list>li:nth-child(3n){margin-right: 0px;}
.life_list>li>a>div{width: 100%;}
.life_list>li>a>h4{font-size: 1rem; color: #797d82; font-weight: 500; padding: 10px 0; border-bottom: 1px solid #797d82; display: inline-block;overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 100%;}
.life_list>li>a>div:nth-child(3){font-size: 0.875rem; margin-top: 10px; padding: 0 0px; line-height: 1rem; color: #797d82;
font-family: NotoSansCjk !important;
/* 한 줄 자르기 */ display: inline-block; width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; /* 여러 줄 자르기 추가 스타일 */ white-space: normal; height: 2rem; text-align: left; word-wrap: break-word; }
.life_list>li>a>div:nth-child(3) *{font-family: NotoSansCjk !important;}
.life_list>li>a>div>p{font-size: 0.875rem; line-height: 1rem; width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; /* 여러 줄 자르기 추가 스타일 */ white-space: normal; height: 1rem; text-align: left; word-wrap: break-word;}


.media_list>li{width: 30%; padding: 10px; float: left; margin-bottom: 50px; cursor: pointer; text-align: left; margin-right: 5%; border: 2px solid #f5f5f5; box-sizing: border-box;}
.media_list>li:nth-child(3n){margin-right: 0px;}
.media_list>li>a>div{width: 100%;}
.media_list>li>a>h4{font-size: 1rem; color: #797d82; font-weight: 500; padding: 10px 0; border-bottom: 1px solid #797d82; display: inline-block;overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 100%;}
.media_list>li>a>div:nth-child(3){font-size: 0.875rem; margin-top: 10px; padding: 0 0px; line-height: 1rem; color: #797d82;
font-family: NotoSansCjk !important;
/* 한 줄 자르기 */ display: inline-block; width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; /* 여러 줄 자르기 추가 스타일 */ white-space: normal; height: 2rem; text-align: left; word-wrap: break-word; }
.media_list>li>a>div:nth-child(3) *{font-family: NotoSansCjk !important;}
.media_list>li>a>div>p{font-size: 0.875rem; line-height: 1rem; width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; /* 여러 줄 자르기 추가 스타일 */ white-space: normal; height: 1rem; text-align: left; word-wrap: break-word;}
/*paging btn*/
.gall_lt{margin-bottom: 150px;}
.page_btn{width: 100%; text-align: center;}
.pagination{display: inline-block !important;}
.pagination>li{display: inline-block;}
.pagination>li>a{color: #555; margin: 0 10px;}
.pagination .active>a{color: #ff0000 !important;}

#bannerMask {position:absolute;left:0;top:0;background:rgba(0,0,0,0.3);width:100%;height:100%;}

@media (max-width:1300px){
    :root{font-size: 15px;}
    
}
@media (max-width:1024px){
    :root{font-size: 14px;}
	.life_list>li{width:47.5%;}
	.life_list>li:nth-child(3n){margin-right:5%;}
	.life_list>li:nth-child(2n){margin-right:0;}
	.media_list>li{width:47.5%;}
	.media_list>li:nth-child(3n){margin-right:5%;}
	.media_list>li:nth-child(2n){margin-right:0;}
	.sub_menu>li>a{text-align:left;}
    
}
@media (max-width:768px){
    :root{font-size: 13px;}
    .life_list>li{margin-bottom:30px;}
	.life_list>li{width:100%;}
	.life_list>li:nth-child(3n){margin-right:0;}
	.life_list>li:nth-child(2n){margin-right:0;}
	.media_list>li{margin-bottom:30px;}
	.media_list>li{width:100%;}
	.media_list>li:nth-child(3n){margin-right:0;}
	.media_list>li:nth-child(2n){margin-right:0;}
}
@media (max-width:480px){
    :root{font-size: 12px;}
	.life_list>li{margin-bottom:20px;}
	.media_list>li{margin-bottom:20px;}
    
}