/**
************************************************************************************
* CSR  : http://clm.lge.com/issue/browse/BTOCSITE-45308
* CODE : Dev - EV00018521 , Prod - EV00006321
* FILE : /kr/event/2023/09/01_lg_twins/eventMainLgTwins.jsp
* DESC : LG TWINS 우승 기원 이벤트(게시판 분석)
* PROJ : lge.co.kr 5.0
************************************************************************************
*							Modification History
************************************************************************************
* DATE						AUTHOR				DESCRIPTION
************************************************************************************
* 2023/08/18				신우용				Created
* 2023/08/21				정규진				참여팝업
************************************************************************************
**/

/* 이벤트 기본 설정 */
.mdevice {
	--width: 720;
}
.evt-func {
	position: relative;
}
/* 탭버튼 */
.evt-tab-top {
    height: 100%;
    top: 0;
}
.evt-tab-top div a {
    flex: 1;
}

/* 참여팝업 */
.evt-join-btn {
    width: 100%;
    padding-top: calc(120 / 1380 * 100%);
    margin-bottom: calc(80 / 1380 * 100%);
    position: absolute;
    bottom: 0;
}
.evt-join-btn a {
    width: calc(663 / 1380 * 100%);
    margin: 0 auto;
}

/* swiper-slide */
.lg-twins-slider {
    width: 100%;
    height: 0;
    padding-top: calc(628 / 1380 * 100%);
    margin-top: calc(191 / 1380 * 100%);
    position: absolute;
    top: 0;
}
.lg-twins-slider .swiper-container {
    width: calc(1000 / 1380 * 100%);
    height: 87.5%;
	position: absolute;	
	top: 0;
    left: 50%;
    transform: translateX(-50%);
}
.lg-twins-slider .swiper-container .swiper-wrapper {
	width: 100%;
}
/* .lg-twins-slider .swiper-container{
	width: 100%;
    display: flex;
    justify-content: space-between;
} */
.lg-twins-slider .swiper-container .eachlink{
	width: calc(320 / 1000 * 100%);
    margin: 0 calc(10/ 1000 * 100%);
}
.lg-twins-slider .swiper-button-next {
	width: calc(60 / 1380 * 100%);
	padding-top: calc(60 / 1380 * 100%);
    margin-top: -57px;
	right: calc(88 / 1380 * 100%);
	background: url(/kr/event/2023/09/01_lg_twins/images/btn_next.png) no-repeat 0 0;
	background-size: 100%;
}
.lg-twins-slider .swiper-button-prev {
	width: calc(60 / 1380 * 100%);
	padding-top: calc(60 / 1380 * 100%);
    margin-top: -57px;
	left: calc(88 / 1380 * 100%);
	background: url(/kr/event/2023/09/01_lg_twins/images/btn_prev.png) no-repeat 0 0;
	background-size: 100%;
}
.lg-twins-slider .swiper-pagination {
    width: 100%;
    margin-bottom: calc(4 / 1380 * 100%);
    bottom: 0;
}
.lg-twins-slider .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    margin: 0 calc(7 / 1380 * 100%);
    background: #bababa;
    opacity: 1;
}
.lg-twins-slider .swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 25px;
    background: #bd0537;
}

/* 리뷰 */
.review-input-area {
    width: calc(663 / 1380 * 100%);
    height: 0;
    padding-top: calc(239 / 1380 * 100%);
    margin-top: calc(200 / 1380 * 103%);
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}
.review-input-area .input-wrap {
    width: 100%;
}
.review-input-area .input-wrap textarea {
    width: 100%;
    height: 100%;
    padding: 15px;
    position: absolute;
    top: 0px;
    left: 0px;
}
.review-input-area .count-wrap {
    width: 100%;
    display: flex;
    justify-content: right;
}
.review-input-area .txt-count {
    display: inline-block;
    font-size: 18px;
    line-height: 8px;
    color: #878787;
}
/* 체크박스 */
.layer-input {
    width: calc(663 / 1380 * 100%);
    margin-top: calc(500 / 1380 * 100%);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: left;
}
.chk-wrap input+label {
    font-size: 18px;
    line-height: 29px;
}
/* 체크박스 포커스 */
#layerchk1-1:focus+label::after {
    outline: 1px auto #000;
    outline-offset: 1px;
}
/* 응원 댓글 등록하기 버튼 */
.joinChk.joinChkBtn {
    width: calc(663 / 1380 * 100%);
    padding-top: calc(121 / 1380 *100%);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    margin-top: calc(621 / 1380 * 100%);
}
/* 응원댓글 리스트 */
.reply-box {
    color: #000;
    font-size: 16px;
}
.reply-list {
    padding: calc(52 / 1380 * 100%) calc(40 / 1380 * 100%) calc(40 / 1380 * 100%);
}
.reply-list .list-top {
    color: inherit;
    font-size: inherit;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: right;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0 calc(25 / 1380 * 100%) calc(17 / 1380 * 100%) calc(25 / 1380 * 100%);
    border-bottom: 1px solid #666;
}
.reply-list .list-top > p {
    font-weight: bold;
}
.reply-list .list-top > p > em {
    color: #da0f47;
}
.reply-list .list-body{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}
.reply-list .list-body .list-item {
    text-align: left;
    padding: calc(30 / 1380 * 100%);
    border-bottom: 1px solid #ddd;
}
.reply-list .list-body .list-item .item-text p {
    font-size: 1.125em;
    font-weight: bold;
    line-height: 1.6em;
}
.reply-list .list-body .list-item .item-info {
    /* font-size: .8em; */
    margin-top: calc(15 / 1380 * 100%);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.reply-list .list-body .list-item .item-info > span + span {
    margin-left: calc(15 / 1380 * 100%);
}
.reply-list .list-body .list-item .item-info > span.name {
    overflow: hidden;
    white-space: normal;
    text-overflow: ellipsis;
    position: relative;
    padding-right: calc(15 / 1380 * 100%);
}
.reply-list .list-body .list-item .item-info > span.name::after {
    content: "";
    min-width: 1px;
    height: 0.8em;
    position: absolute;
    top: 55%;
    right: 0;
    background-color: #ddd;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}
.reply-list .list-body .list-item .item-info > span.icon-app {
    color: #fff;
    font-size: 0.76em;
    font-weight: 400;
    line-height: 1em;
    display: none;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0.31em 0.4em 0.32em;
    border-radius: 0.2em;
    background-color: #7649ec;
}
.reply-list .list-body .list-item .item-info > span.icon-app.show {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

/* 댓글 리스트 페이저 */
.reply-list .list-pager {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-top: calc(47 / 1380 * 100%);
}
.reply-list .list-pager button {
    font-size: 16px;
}
.reply-list .list-pager .btn-pager {
    width: 1em;
    height: 1em;
    display: none;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.reply-list .list-pager .btn-pager.show {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.reply-list .list-pager .btn-pager::before {
    content: "";
    width: 70%;
    height: 70%;
    border-width: 3px 0 0 3px;
    border-style: solid;
    border-color: #000 transparent transparent #000;
    border-radius: 25%;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.reply-list .list-pager .btn-pager.next {
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}
.reply-list .list-pager .pager-no {
  	color: #fff;
    margin: 0 1.5em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.reply-list .list-pager .pager-no .btn-pager-no {
  	color: #000;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  	padding: 0.5em;
    margin: 0 0.5em;
  	border-bottom: 1px solid transparent;
}
.reply-list .list-pager .pager-no .btn-pager-no.on {
  	border-bottom-color: #000;
    font-weight: bold;
}

.layer-agree {
    font-weight: 700;
    text-decoration-line: underline;
    text-underline-position: under;
    display: inline;
}
.layer-agree:hover {
	text-decoration-line: underline;
}

/* 참여팝업 */
.pop-conts.academy-pop.no-footer {
    padding: 0;
}
#agree1_f table tbody tr td:last-child{
	font-size:20px;
  	line-height:30px;
	text-decoration: underline;
}
#agree2_f table tbody td {
    font-weight: bold;
}
#agree2_f table tbody tr td:last-child{
	font-size:20px;
  	line-height:30px;
	text-decoration: underline;
}
#goodPop #agree2_f table tbody td {
    font-weight: normal;
}
#goodPop #agree2_f table tbody tr td:last-child{
    font-size: 16px;
    line-height: 26px;
    text-decoration: none;
}

/* 모바일 */
.mdevice .evt-join-btn {
    padding-top: calc(120 / var(--width) * 100%);
    margin-bottom: calc(80 / var(--width) * 100%);
}
.mdevice .evt-join-btn a {
    width: calc(663 / var(--width) * 100%);
}
.mdevice .lg-twins-slider .swiper-container {
	width: calc(638 / var(--width) * 100%);
}

/* swiper-slide */
.mdevice .lg-twins-slider {
    width: 100%;
    height: 0;
    padding-top: calc(628 / var(--width) * 100%);
    margin-top: calc(191 / var(--width) * 100%);
    position: absolute;
    top: 0;
}
.mdevice .lg-twins-slider .swiper-container {
    width: calc(660 / var(--width) * 100%);
    height: 87.5%;
	position: absolute;	
	top: 0;
    left: 50%;
    transform: translateX(-50%);
}
.mdevice .lg-twins-slider .swiper-container .swiper-wrapper {
	width: 100%;
}
.mdevice .lg-twins-slider .swiper-container .eachlink{
	width: calc(320 / 660 * 100%);
}
.mdevice .lg-twins-slider .swiper-button-next {
	width: calc(60 / var(--width) * 100%);
	padding-top: calc(60 / var(--width) * 100%);
    margin-top: -66px;
	right: calc(10 / var(--width) * 100%);
	background: url(/kr/event/2023/09/01_lg_twins/images/btn_next.png) no-repeat 0 0;
	background-size: 100%;
}
.mdevice .lg-twins-slider .swiper-button-prev {
	width: calc(60 / var(--width) * 100%);
	padding-top: calc(60 / var(--width) * 100%);
    margin-top: -66px;
	left: calc(10 / var(--width) * 100%);
	background: url(/kr/event/2023/09/01_lg_twins/images/btn_prev.png) no-repeat 0 0;
	background-size: 100%;
}

/* 리뷰 */
.mdevice .review-input-area {
    width: calc(663 / var(--width) * 100%);
    padding-top: calc(247 / var(--width) *100%);
    margin-top: calc(200 / var(--width) * 100%);
}
.mdevice .review-input-area .txt-count {
    font-size: 14px;
    line-height: 0;
}
.mdevice .layer-input {
    width: calc(663 / var(--width) * 100%);
    margin-top: calc(500 / var(--width) * 100%);
}
.mdevice .layer-input .chk-wrap input+label {
    font-size: 14px;
    line-height: 18px;
}
.mdevice .joinChk.joinChkBtn {
    width: calc(663 / var(--width) * 100%);
    padding-top: calc(119 / var(--width) *100%);
    margin-top: calc(621 / var(--width) * 100%);
}
/* 응원댓글 리스트 */
.mdevice .reply-list .list-top {
    padding: 0 calc(25 / var(--width) * 100%) calc(17 / var(--width) * 100%) calc(25 / var(--width) * 100%);
}
.mdevice .reply-list .list-body .list-item {
    padding: calc(30 / var(--width) * 100%);
}
.mdevice .reply-list .list-body .list-item .item-info {
    margin-top: calc(30 / var(--width) * 100%);
}
.mdevice .reply-list .list-body .list-item .item-info > span.name {
    padding-right: calc(15 / var(--width) * 100%);
}
.mdevice .reply-list .list-body .list-item .item-info > span + span {
    margin-left: calc(15 / var(--width) * 100%);
}
.mdevice .reply-list .list-pager {
    margin-top: calc(30 / var(--width) * 100%);
}

@media screen and (max-width: 1500px){
    .lg-twins-slider .swiper-pagination-bullet {
        width: 1vw;
        height: 1vw;
    }
    .lg-twins-slider .swiper-pagination-bullet-active {
        width: 1.6vw;
    }
}
@media screen and (max-width: 767px){
    /* 참여팝업 */
    #agree1_f table tbody tr td:last-child{
        font-size:16px;
        line-height:24px;
    }
    #goodPop #agree2_f table tbody tr td:last-child{
        font-size: 14px;
        line-height: 22px;
        text-decoration: none;
    }
    .lg-twins-slider .swiper-pagination {
        width: 100%;
        margin-bottom: calc(4 / var(--width) * 100%);
        bottom: 0;
    }
    .lg-twins-slider .swiper-pagination-bullet {
        width: 2vw;
        height: 2vw;
        margin: 0 calc(10 / 720 * 100%);
    }
    .lg-twins-slider .swiper-pagination-bullet-active {
        width: 3.6vw;
    }
}