/**
************************************************************************************
* CSR  : http://clm.lge.com/issue/browse/BTOCSITE-65475
* CODE : Dev - EV00019701 , Prod - EV00007561
* FILE : /kr/event/2024/07/11_electric_stove/eventMainElectricStove.jsp
* DESC : 전기레인지 디지털 캠페인 오픈 기념 이벤트
* PROJ : lge.co.kr 5.0
************************************************************************************
*							Modification History
************************************************************************************
* DATE						AUTHOR				DESCRIPTION
************************************************************************************
* 2024/06/26				임명미				Created
* 2024/07/10				임명미				바닥페이지
* 2024/08/05				김미선				바닥페이지 수정
************************************************************************************
**/

/* 이벤트 기본 설정 */
* {
	--width: 1380;
}
.evt-func {
	position: relative;
}


/* tab */
.tabs-wrap{
	position: sticky;
    top: 0;
    z-index: 10;
}

.tabs-wrap .tabs {
	display: flex;
    position: absolute;
    top: 0;
    left: 50%;
    width: calc(680 / var(--width) * 100%);
    height: 100%;
    margin: 0;
    padding: 0;
    transform: translateX(-50%);
}
.tabs-wrap .tabs > li {
	flex: auto;
    margin: 0;
    padding: 0;
}
.tabs-wrap .tabs li a {
	display: block;
	height: 100%;
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 100% auto;
}
.tabs-wrap .tabs li:nth-child(1).on a {
	background-image: url(/kr/event/2024/07/11_electric_stove/images/tab02_on.jpg);
}
.tabs-wrap .tabs li:nth-child(2).on a {
	background-image: url(/kr/event/2024/07/11_electric_stove/images/tab01_on.jpg);
}
.tab-contents {
	display: none;
}


/* -- 버튼 공통 -- */
.evt-btn-area {
    width: calc(640 / var(--width) * 100%);
    padding-top: calc(80 / var(--width) * 100%);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.evt-btn-area div, .evt-btn-area a {
    width: 100%;
    height: 100%;
}

/* 힌트보기 */
.btn-hint {
    width: calc(250 / var(--width) * 100%);
    margin-bottom: calc(523 / var(--width) * 100%);
    padding-top: calc(75 / var(--width) * 100%);
}
/* 당첨 내역 조회하기 */
.btn-confirm {
    width: calc(330 / var(--width) * 100%);
    margin-bottom: calc(0 / var(--width) * 100%);
    padding-top: calc(70 / var(--width) * 100%);
}


/* 동영상 */
.evt-video-box{
	position: absolute;
	bottom: calc(377 / var(--width)* 100%);
	left: 50%;
	width: calc(1110 / var(--width)* 100%);
	height: calc(458 / var(--width)* 100%);
	transform: translateX(-50%);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
    padding-right: calc(369 / var(--width)* 100%);
}
.evt-video-box .evt-video{
	position: relative;
	flex: 1;
	height: 100%;
	margin: 0 calc(25 / var(--width)* 100%);
}
.video-frame {
	width: 100%;
	height: 100%;
}
.video-frame video {
	position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
	border-radius: 10px;
    object-fit: cover;
}

/* 퀴즈 */
.quiz-area{
	display: flex;
	position: absolute;
	bottom: 0;
	left: 50%;
	width: calc(720 / var(--width)* 100%);
	height: calc(355 / var(--width)* 100%);
	flex-direction: column;
	justify-content: space-between;
    transform: translate(-50%, -50%);
}
.quiz-area .quiz{
	display: block;
	height: 100%;
}
.contents.event .ev-detail-wrap .ev-detail-con .ev-cont .quiz-area .conts{
    padding-bottom: 0;
    height: 100%;
}

.quiz-area .box{
    position: absolute;
	bottom: calc(581 / var(--width)* 100%);
	left: 0;
	width: 100%;
	height: calc(439 / var(--width)* 100%);
	display: flex;
	justify-content: space-between;
}
.quiz-area .box .input-wrap{
	width: calc(1052 / var(--width)* 100%);
	height: 100%;
}
.quiz-area .box .input-wrap input{
	height: 100%;
	padding: 10px 25px;
	border-radius: 5px;
	font-size: 20px;
	font-family: 'Pretendard';
	letter-spacing: -0.2px;
	line-height: 1.2;
    border-color: #e9ecef;
}
.quiz-area .box .input-wrap input::placeholder {
	color: #767676;
}
.quiz-area .box .cell{
	width: calc(287 / var(--width)* 100%);
	height: 100%;
}
.quiz-area .box .cell button{
	min-width: 100%;
	height: 100%;
}
.quiz-container .layer-input{
	width: 100%;
    text-align: left;
}
.quiz-container .layer-input .chk-wrap label{
	color: #8b8781;
	font-size: 18px;
	font-family: 'Pretendard';
	letter-spacing: -0.3px;
}
.quiz-container .layer-input .chk-wrap input+label::after {
    top: 3px;
    width: 20px;
    height: 20px;
    background-image: url(/kr/event/2024/07/11_electric_stove/images/chk_box.jpg);
}
.quiz-container .layer-input .chk-wrap input:checked+label::after {
    background-image: url(/kr/event/2024/07/11_electric_stove/images/chk_box_on.jpg);
}
.quiz-container .layer-input .chk-wrap label a {
	/* text-decoration: underline;
    color: #494949; */
}
.quiz-container .layer-input .chk-wrap label a:hover {
    text-decoration: underline;
    color: #494949;
}


/* -- 대상모델 상풍 링크 -- */
.dios-link{
	position: relative;
}
.dios-link ul{
	position: absolute;
	bottom: calc(170 / var(--width)* 100%);
	left: 50%;
	width: calc(1110 / var(--width)* 100%);
	height: calc(822 / var(--width)* 100%);
	transform: translateX(-50%);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.dios-link ul > li{
	position: relative;
	flex: 1;
	height: 100%;
	margin: 0 calc(16 / var(--width)* 100%);
}
.dios-link ul > li a{
	position:absolute;
	bottom:0;
	left:0;
	width:100%;
	height:100%;
}

/* 유의사항 */
.evt-acco-head{
	top: 0;
	bottom: initial;
	width: 100%;
	padding-top: calc(104 / var(--width)* 100%);
}
.evt-acco-head button{
	width: 100%;
}


/* 참여팝업 */
#goodPop table tbody tr td {
	font-weight: bold;
}
#goodPop table tbody tr td:last-child {
    font-size: 20px;
    line-height: 1.4;
	font-weight: bold;
    text-decoration: underline;
}

#prdCheckPop{
	max-width: 540px;
    min-height: 530px!important;
    border-radius: 20px;
}
#prdCheckPop.popup-wrap .pop-conts{
	padding: 0;
	max-height: 530px!important;
}

#prdCheckPop.popup-wrap .pop-conts .btn-group{
	position: absolute;
	top: 0;
	right:0;
	width:100%;
	text-align: right
}

#prdCheckPop.popup-wrap .pop-conts .btn-group button{
	width: 90px;
	height: 90px;
}
#prdCheckPop.popup-wrap .pop-conts .btn-group button span {
	display: none;
	text-indent: -9999px;
	overflow: hidden;
}

#prdCheckPop.popup-wrap>.btn-close{
	top: 0;
	right: 0;
	width: 90px;
	height: 90px;
}


@media screen and (max-width: 1460px){
	.quiz-area .box .input-wrap input{
        padding: .66vw 1.69vw;
        font-size: 1.4vw;
    }
  	.quiz-container .layer-input .chk-wrap label{
        font-size: 1.35vw;
    }
	.quiz-container .layer-input .chk-wrap input+label::after {
	    top: 0.2vw;
	    width: 1.44vw;
	    height: 1.37vw;
	}
  	.quiz-container .btn-wrap .btn{
        font-size: 1.89vw;
    }
}

@media screen and (max-width: 767px){
    * {
		--width: 720;
	}
    .tabs-wrap{
    	top: 46px;
    }
    .tabs-wrap .tabs {
        width: 100%;
    }
  	.header.helloBar~.mobile-nav-wrap ~ #content .event-container .tabs-wrap {
		top: 88px;
	}
	.tabs-wrap .tabs li:nth-child(1).on a{
		background-image:url(/kr/event/2024/07/11_electric_stove/images/m_tab02_on.jpg);
	}
	.tabs-wrap .tabs li:nth-child(2).on a{
		background-image:url(/kr/event/2024/07/11_electric_stove/images/m_tab01_on.jpg);
	}

    /* 힌트보기 */
   .mdevice .btn-hint {
        width: calc(250 / var(--width) * 100%);
        margin-bottom: calc(353 / var(--width) * 100%);
        padding-top: calc(75 / var(--width) * 100%);
    }
    .mdevice  .btn-confirm {
        width: calc(352  / var(--width)* 100%);
        margin-bottom: calc(0 / var(--width)* 100%);
        padding-top: calc(106 / var(--width)* 100%);
        bottom: calc(-82 / var(--width) * 100%);
        left: calc(125% - 352  / var(--width)* 100%);
    }

    /* 동영상 */
    .evt-video-box{
        position: absolute;
        top: calc(103 / var(--width)* 100%);
        left: 50%;
        width: calc(640 / var(--width)* 100%);
        height: calc(395 / var(--width)* 100%);
        transform: translateX(-50%);
        flex-flow: column;
        padding-right: 0;
    }
    .evt-video-box .evt-video{
        margin: 0 0 calc(175 / var(--width)* 100%) 0;
    }

    /* 퀴즈 */
	.quiz-area{
		width: calc(640 / var(--width)* 100%);
		height: calc(198 / var(--width)* 100%);
	}
	.quiz-area .quiz{
		height: calc(97 / var(--width)* 100%);
	}
	.contents.event .ev-detail-wrap .ev-detail-con .ev-cont .quiz-area .conts{
	    padding-bottom: 0;
	    height: 100%;
	}
	.quiz-area .box{
		display: block;
        height: calc(246 / var(--width)* 100%);
		bottom: calc(269 / var(--width)* 100%);
	}
	.quiz-area .box .input-wrap{
		width: 100%;
	}
	.quiz-area .box .input-wrap input{
		padding: 3vw 5.2vw;
		font-size: 3.7vw;
        margin-bottom: clac(36 / var(--width)* 100%);
	}
	.quiz-area .box .cell{
        position: absolute;
        top: calc(990 / var(--width)* 100%);
		width: calc(349 / var(--width)* 100%);
	}
	.quiz-container .layer-input {
	    bottom: 30vw;
	}
	.quiz-container .layer-input .chk-wrap label {
        padding-left: 4.5vw;
        font-size: 2.8vw;
        color : #505050;
    }
	.quiz-container .layer-input .chk-wrap input+label::after {
        top: 1.3vw;
        width: 3.2vw;
        height: 3vw;
    }
	.quiz-container .btn-wrap {
	    bottom: 12.3vw;
	}
	.quiz-container .btn-wrap .btn{
        width: calc(600 / var(--width)* 100%);
        padding: 4.42vw 3vw;
        font-size: 4.2vw;
    }
    .quiz-container .layer-input .chk-wrap input+label::after {
        background-image: url(/kr/event/2024/07/11_electric_stove/images/m_chk_box.jpg);
    }
    .quiz-container .layer-input .chk-wrap input:checked+label::after {
        background-image: url(/kr/event/2024/07/11_electric_stove/images/m_chk_box_on.jpg);
    }

    
    /* -- 대상모델 상풍 링크 -- */
    .dios-link{
        position: relative;
    }
    .dios-link ul{
        position: absolute;
        bottom: calc(37 / var(--width)* 100%);
        left: 50%;
        width: calc(640 / var(--width)* 100%);
        height: calc(565 / var(--width)* 100%);
        transform: translateX(-50%);
        display: block;
    }
    .dios-link ul > li{
        position: relative;
        flex: 1;
        height:  calc(208 / var(--width)* 100%);
        margin: calc(39 / var(--width)* 100%) 0 0 0;
    }
    .dios-link ul > li + li{
        margin: calc(38 / var(--width)* 100%) 0 0 0;
    }
    .dios-link ul > li + li + li{
        margin: calc(43 / var(--width)* 100%) 0 0 0;
    }

    /* 유의사항 */
	.evt-acco-head{
		padding-top: calc(100 / var(--width)* 100%) !important;
	}

	#prdCheckPop{
		top: 50% !important;
		left: 50% !important;
		width: 75%;
		height: auto;
		min-height: auto!important;
		transform: translate(-50%, -50%) !important;
	}

	#prdCheckPop.popup-wrap .pop-conts {
		height: calc(680 / 720 * 100%);
		max-height: calc(680 / 720 * 100%);
	}
	
	#prdCheckPop.popup-wrap .pop-conts .btn-group {
		top: 0;
	}
	
	#prdCheckPop.popup-wrap .pop-conts .btn-group button {
		width: 13.8vw;
		height: 13.8vw;
	}
	
	#prdCheckPop.popup-wrap>.btn-close {
		top: 0;
		right: 0;
		width: 13.8vw;
		height: 13.8vw;
	}
}
