/* 
 * 설명: 메인 페이지 CSS
 * 제작일: 2023-04-09
 */


#scrollTop {
    display: none;
    position: fixed;
	right:23px;
    bottom: 23px;
	width: 60px;
    height: 60px;
    z-index: 99;
    padding: 0;
    overflow: hidden;
    outline: none;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    background: #fff;
	border:1px solid #e5e5e5;
	padding-top:20px;
	color:#1c1c1c;
	font-size:14px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-transition: all 0.3s cubic-bezier(0.25, 0.25, 0, 1);
    -ms-transition: all 0.3s cubic-bezier(0.25, 0.25, 0, 1);
    -moz-transition: all 0.3s cubic-bezier(0.25, 0.25, 0, 1);
    -o-transition: all 0.3s cubic-bezier(0.25, 0.25, 0, 1);
    transition: all 0.3s cubic-bezier(0.25, 0.25, 0, 1);
}
#scrollTop::before {
	content:'';
    position: absolute;
    top: 28%;
	left:31%;
    width: 20px;
    height: 20px;
    border-left: 1px solid #777;
    border-bottom: 1px solid #777;
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
}

/* 
 * 설명: 커뮤니티 메인 페이지 CSS
 * 제작일: 2023-06-08
 */

.contents{position: relative;margin-top: 50px;width: 100%;}
.display_pc{display: block;}
.display_mo{display: none !important;}
.mainswiper_mo{display: none !important;}
.swiper-pagination-bullet-active {background:#E20707 !important;}
/* 메인 스와이프 영역 (s)*/
/* 메인 스와이프 페이지네이션*/
.contents .swiper .mainswiper-pagination.main_swiper_pagination{text-align:left;bottom:0 !important;margin-bottom: 100px;}
/* 메인 스와이프 전체*/
.swiper.mainswiper{width: 100%;height: 100%;margin-bottom: 100px;}
.swiper.mainswiper .swiper-slide {display: flex !important;justify-content: center;align-items: center;text-align: center;font-size: 18px;background: #fff;}
/* 메인 스와이프 왼쪽 영역*/
.swiper.mainswiper .swiper-slide .slide_left{margin-bottom: 40px;padding-right:30px ; text-align: left;display: block;width: 42%;height: 100%;object-fit: cover;}
.swiper.mainswiper .swiper-slide .slide_left .brand_name{word-break: break-all;font-family: 'Lato';font-style: normal;font-weight: 800;font-size: 52px;line-height: 130%;color: #000000;}
.swiper.mainswiper .swiper-slide .slide_left .product_tit{margin-top:24px;font-style: normal;font-weight: 700;font-size: 52px;line-height: 130%;color: #010100;}
.swiper.mainswiper .swiper-slide .slide_left .slide_info{margin-top:46px;display: flex;justify-content: flex-start;align-items: center;}
.swiper.mainswiper .swiper-slide .slide_left .slide_info .slide_time{margin-right: 20px;font-family: 'Lato';font-style: normal;font-weight: 800;font-size: 24px;line-height: 29px;padding: 8px 16px;border-radius: 8px;background-color: #e20707;color:#fff;}
.swiper.mainswiper .swiper-slide .slide_left .slide_info .icon{margin: 12px 14px;width: 1px;height: 12px;background-color: #CECECE;}
.swiper.mainswiper .swiper-slide .slide_left .slide_info .slide_type{font-style: normal;font-weight: 700;font-size: 24px;line-height: 33px;color: #2B2B2B;}
.swiper.mainswiper .swiper-slide .slide_left .slide_info .slide_num{font-style: normal;font-weight: 400;font-size: 24px;line-height: 33px;color: #555555;}
.swiper.mainswiper .swiper-slide .slide_left .participate_wrap{margin-top:20px;}
.swiper.mainswiper .swiper-slide .slide_left .participate_wrap .participate{display: inline-block; padding: 8px 20px; background: #F6F6F6; border-radius: 8px; font-style: normal; font-weight: 800; font-size: 20px; line-height: 27px; letter-spacing: -0.05em; color: #777777;}
/* 메인 스와이프 오른쪽 영역*/
.swiper.mainswiper .swiper-slide .slide_rigth{display: block;width: 58%;height: 100%;object-fit: cover;}
.swiper.mainswiper .swiper-slide .slide_rigth img {max-width: 100%; background-size: contain; object-fit: contain;}
/* 메인 스와이프 영역 (e)*/
.contents .swiper.mainswiper_mo .mo_mainswiper-pagination{position: relative;bottom: 0;margin-top: 24px;}
.mainswiper_mo .swiper_wrap{position: relative;width: 100%;}

.mainswiper_mo .swiper-wrapper > a{/*width: 50vw !important;*/width: 280px;}
.mainswiper_mo .swiper_wrap .banner_badge{z-index: 3; position: absolute; width: 100%; padding: 23px 20px; display: flex; justify-content: space-between; align-items: center;}
.mainswiper_mo .swiper_wrap .banner_badge .bg_left{display: flex; align-items: center;}
.mainswiper_mo .swiper_wrap .banner_badge .bg_left .community_dday{margin-right: 8px; font-family: 'Lato'; font-style: normal; font-weight: 700; line-height: 14px; font-size: 12px; padding: 2px 5px; border-radius: 3.5px; color:#fff; background-color: #e20707;}
.mainswiper_mo .swiper_wrap .banner_badge .bg_left .community_type{color: #fff;font-style: normal; font-weight: 700; font-size: 12px; line-height: 16px;}
.mainswiper_mo .swiper_wrap .banner_badge .bg_left .icon{margin:0 6px; height: 5px;border: 1px solid rgba(231, 231, 231, 0.3);}
.mainswiper_mo .swiper_wrap .banner_badge .bg_left .community_num{color: #fff;font-style: normal; font-weight: 400; font-size: 12px; line-height: 16px;}

.mainswiper_mo .swiper_wrap .banner_badge .bg_right{display: flex; justify-content: space-between; align-items: center;}
.mainswiper_mo .swiper_wrap .banner_badge .bg_right > span{display: flex;}
.mainswiper_mo .swiper_wrap .banner_badge .bg_right > span:nth-child(2){margin-left: 12px;}
.mainswiper_mo .swiper_wrap .banner_badge .bg_right > span > img {width: 17px; height: 17px;object-fit: cover;}
.mainswiper_mo .swiper_wrap .banner_body {position: relative;}
.mainswiper_mo .swiper_wrap .banner_body > img {width: 100%;object-fit: cover;}
.mainswiper_mo .swiper_wrap .banner_body .community_back {bottom: 0; position: absolute; width: 100%; height: auto; box-sizing: border-box; }
.mainswiper_mo .swiper_wrap .banner_body .community_back img{width: 100%;height: auto;}
.mainswiper_mo .swiper_wrap .banner_body .community_text{position: absolute; bottom: 0; padding: 20px 20px; text-align: left;}
.mainswiper_mo .swiper_wrap .banner_body .community_text h4{font-family: 'Lato'; font-style: normal; font-weight: 800; font-size: 20px; line-height: 125%; color:#fff;}
.mainswiper_mo .swiper_wrap .banner_body .community_text p{font-style: normal; font-weight: 700; font-size: 24px; line-height: 125%; color:#fff;}
.mainswiper_mo .swiper_wrap .banner_body .community_text time{font-family: 'Lato'; font-style: normal; font-weight: 500; font-size: 12px; line-height: 140%; color: rgba(255, 255, 255, 0.5);}


/* 메인 커뮤니티 영역 (s)*/
.contents .main_community{width: 100%;margin-bottom: 165px;}
.contents .main_community .community_tit{font-family: 'Lato'; font-style: normal; font-weight: 900; font-size: 30px; line-height: 140%; color: #010100;}
.contents .main_community h2{margin-top: 24px; margin-bottom: 2px; display: flex; align-items: center; justify-content: space-between;}
.contents .main_community h2 a{font-family: 'Lato'; font-style: normal; font-weight: 500; font-size: 22px; line-height: 150%; letter-spacing: -0.5px; color: #999999;}
.contents .main_community h2 a:nth-child(n+2){margin-left: 20px;}
.contents .main_community h2 a.selected{font-weight: 900; color: #222222; border-bottom: 3px solid #010100;}
.contents .main_community h2 select{padding:15px 20px; width: 140px; height: auto; -webkit-appearance: none;
    appearance: none; background: url(../images/community/arrow_bottom_select.png) no-repeat right 20px center; background-color: #F6F6F6; border: 1px solid #D9D9D9;
    border-radius: 2px; font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 20px; color: #777777;}
.contents .main_community h2 a.btn{margin-left:12px; padding:15.5px 21px; border: 1px solid #D9D9D9;
border-radius: 2px; font-style: normal;
font-weight: 500;
font-size: 14px;
line-height: 19px; letter-spacing: -0.04em; color: #010100;}

.contents .main_community .community_wrap{display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: flex-start;}
.contents .main_community .community_wrap .wrap_item{margin-top:60px; position: relative;width: calc(25% - 18px); height: auto;}
.contents .main_community .community_wrap .wrap_item:nth-child(n+2):nth-child(-n+4){margin-left: 24px;}
.contents .main_community .community_wrap .wrap_item:nth-child(n+6):nth-child(-n+8){margin-left: 24px;}
.contents .main_community .community_link{position: relative;}
.contents .main_community .community_body{position: relative; margin-bottom: 36px;}
.contents .main_community .community_body.need_back:before{display: flex; align-items: center; justify-content: center; z-index: 5; content:"종료되었습니다."; color: #ffffff; letter-spacing: -0.005em; font-style: normal;
    font-weight: 700; font-size: 14px; line-height: 140%; width: 100%; height: 100%; position: absolute; top:0; left:0; background: rgba(0,0,0,0.67)}
.contents .main_community .community_body img{border-radius: 2px; max-width: 100%; max-height: 282PX; width: 100%; height: calc(25vw - 30px); background-size: cover; object-fit: cover;}
.contents .main_community .community_back{bottom: 0;position: absolute;width: 100%; height: auto; box-sizing: border-box;}

.contents .main_community .community_wrap .community_text{width: auto;height: auto;}
.contents .main_community .community_wrap .community_text h4{margin-bottom: 10px; 
    line-height: 125%; letter-spacing: -0.015em; 
    color: #777777;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    word-break: break-all;
    font-size: 20px; 
}
.contents .main_community .community_wrap .community_text h4 .community_code { font-family: 'Lato';
    font-style: normal;
    font-weight: 900;color: #E20707;}
.contents .main_community .community_wrap .community_text h4 .community_nickname{margin-left: 10px; font-weight: 700; color: #777777;}
.contents .main_community .community_text p{width: 100%;white-space: normal;display: -webkit-box;-webkit-line-clamp: 2;
    -webkit-box-orient: vertical;overflow: hidden; font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 140%; letter-spacing: -0.05em;
    color: #010100;}
.contents .main_community .community_body .community_text time{font-family: 'Lato';font-style: normal;font-weight: 500;font-size: 14px;line-height: 140%;color: rgba(255, 255, 255, 0.5);}

/* 메인 커뮤니티 영역 (e)*/

.pagination {display: flex !important;justify-content: center;align-items: center;}  
.pagination a {margin: 0 10px; padding-top: 0;}
.pagination_pc{margin-top:60px;}
.pagination_mo{display: none !important;}

.page-link{padding:8px 12px; font-family: 'Lato'; font-style: normal; font-weight: 700; font-size: 16px; line-height: 16px; letter-spacing: -0.02em; color: #000000; border:none; border-radius: 60px;}
.page-link_back{background-color: #f6f6f6;}
.page-link:hover{color:#E20707; background-color:transparent;}
.page-link.active{color:#E20707;}
.page-link:focus{box-shadow:none;}

@media (max-width: 1100px) {
    .swiper.mainswiper .swiper-slide .slide_left .slide_info{margin-top: 20px;}
    .contents .swiper .mainswiper-pagination.main_swiper_pagination{margin-bottom: 80px;}
}
 
/* 1024  */
@media (max-width: 1024px) {
    .contents .swiper .mainswiper-pagination.main_swiper_pagination{margin-bottom: 80px;}
    .swiper-slide .slide_left .brand_name{font-size: 3.7vw !important;}
    .swiper-slide .slide_left .product_tit{font-size: 3.7vw !important;}
    .swiper-slide .slide_left .slide_info .slide_time{font-size: 2vw !important;}
    .swiper-slide .slide_left .slide_info .slide_type{font-size: 2vw !important;}
    .swiper-slide .slide_left .slide_info .slide_num{font-size: 2vw !important;}
    .contents .main_community h2{font-size: 2.4vw;}
    .contents .main_community .community_body .community_text h4{margin-bottom: 10px; font-size: 1.24vw;}
    .contents .main_community .community_body .community_text p{margin-bottom: 15px; font-size: 1.99vw;}
    .contents .main_community .community_body .community_text time{font-size: 1.2vw;}
    /* 메인 커뮤니티 영역 (e)*/
    .contents .main_review h2{font-size: 2.4vw;}
    .contents .main_review .review_product h4{font-size: 1.6vw;}
    .contents .main_review .review_product p{font-size: 2vw; margin-bottom: 15px;}
    .contents .main_review .review_product{margin-bottom: 15px;}
    .contents .main_review .review_writer .review_text h5 span{font-size: 1.24vw;}
    .contents .main_review_video h2{font-size: 2.4vw;}
    
	.contents .main_review .review_writer .review_text h5 .icon{margin:0px 8px;}

}

@media (max-width: 900px) {
	.display_pc{display: none !important;}
    .display_mo{display: block !important;}
    .mainswiper_mo{display: block !important;}
    .swiper.mainswiper_mo {margin-bottom: 60px;}

    .swiper-slide .slide_left .brand_name{font-size: 3.7vw !important;}
    .swiper-slide .slide_left .product_tit{font-size: 3.7vw !important;}
    .swiper-slide .slide_left .slide_info .slide_time{font-size: 2vw !important;}
    .swiper-slide .slide_left .slide_info .slide_type{font-size: 2vw !important;}
    .swiper-slide .slide_left .slide_info .slide_num{font-size: 2vw !important;}

    .contents .main_community{margin-bottom: 40px;}
    .contents .main_community h2{font-size: 16px; background:none; margin-bottom: 3px;}
    .contents .main_community h2 a{font-size: 12px;}
    .contents .main_community h2 a:nth-child(n+2){margin-left: 10px;}
    .contents .main_community h2 select{padding:6px 12px; width: 82px; background: url(../images/community/arrow_bottom_select.png) no-repeat right 12px center; background-size: 10px; background-color: #F6F6F6; font-size: 13px;}
    .contents .main_community h2 a.btn{margin-left:6px; padding:8px 9.5px; font-size: 12px;
	line-height: 16px; letter-spacing: -0.04em;}
    .contents .main_community .community_wrap {margin-bottom: 50px; display: flex !important; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;}
    .contents .main_community .community_body{margin-bottom: 12px; border-radius: 2px;}
	.contents .main_community .community_body img {height: calc(50vw - 30px);}
	
    .contents .main_community .community_wrap .wrap_item:nth-child(n+2):nth-child(-n+4){margin-left:0;}
    .contents .main_community .community_wrap .wrap_item:nth-child(n+6):nth-child(-n+8){margin-left:0;}
    .contents .main_community .community_wrap .community_text{width: 100%;}
    .contents .main_community .community_wrap .community_text h4{margin-bottom: 6px; font-style: normal; font-weight: 700; font-size: 12px; line-height: 125%; color: #777777; letter-spacing: -0.01em;}
    .contents .main_community .community_wrap .community_text h4 .community_nickname{margin-left: 6px;}
    .contents .main_community .community_wrap .community_text p{width: auto; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-all; font-style: normal; font-weight: 700; font-size: 16px; line-height: 130%; color: #010100; letter-spacing: -0.01em;}
    .contents .main_community .community_wrap .wrap_item{margin-top: 36px; width:calc(50% - 5.5px);}
	
	
    .pagination_pc{display: none !important;}
    .pagination_mo{display: flex !important;}
}
