/**
************************************************************************************
* CSR  : http://clm.lge.com/issue/browse/BTOCSITE-94956
* CODE : Dev - EV00020741 , Prod - EV00008401
* FILE : /kr/event/2025/05/27_water_purifiers_Quiz/eventMainWaterPurifiersQuiz.jsp
* DESC : 얼음 정수기 기획전-퀴즈_즉석당첨 이벤트
* PROJ : lge.co.kr 5.0
************************************************************************************
*							Modification History
************************************************************************************
* DATE						AUTHOR				DESCRIPTION
************************************************************************************
* 2025/05/19				신우용				Created
************************************************************************************
**/

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

.quiz-container{
	max-width: 1380px;
  	margin: 0 auto;
	padding-bottom: calc(96 / var(--width)* 100%);
	background-color: #F8F7F5;
	font-family: 'Pretendard';
	text-align: left;
}
.quiz-container > *{
	width: calc(1000 / var(--width)* 100%);
	margin: 0 auto;
}
.quiz-container > *:first-child{
	width: 100%;
}
.quiz-container > * + *{
	margin-top: calc(80 / var(--width)* 100%);
}
.quiz-container .gift-cnt{
	margin-top: 0;
}
.quiz-container .sub-title{
	margin-bottom: calc(48 / 1000 * 100%);
}
.quiz-container .sub-title span{
	display: inline-block;
	padding: 3px 20px;
	text-align: center;
	border-radius: 120px;
	background-color: #FD312E;
	color: #FFF;
	font-size: 24px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: -0.48px;
	border: 2px solid #FD312E;
}
.quiz-container .sub-title .ver2{
    color: #FD312E;
  	background-color: transparent;
}

.quiz-container .evt-info dt{
	color: #171515;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.96px;
}
.quiz-container .evt-info dd{
	margin-top: calc(16 / 1000 * 100%);
	color: #707278;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: -0.44px;
}

.quiz-container .evt-info dd + dt{
	margin-top: calc(30 / 1000 * 100%);
	padding-top: calc(30 / 1000 * 100%);
	border-top: 2px solid #E2E0DE;
}

.quiz-container .evt-prd-list{
	display: flex;
	gap: calc(32 / 1000 * 100%);
}
.quiz-container .evt-prd-list > *{
	flex: 1;
}

.quiz-container .quiz-title{
	color: #1A1A1A;
	font-size: 32px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: -1.28px;
}
.quiz-container .quiz-title em{
	color: #168EA8;
}

.quiz-container .quiz-sub-title{
  	margin-bottom: 8px;
	color: #1A1A1A;
	font-size: 32px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: -1.28px;
}

.quiz-container .hint-chk{
	margin-top: calc(20 / 1000 * 100%);
  	text-align: left;
}
.quiz-container .hint-chk .btn-hint-move{
	display: inline-flex;
  	font-size: 24px;
  	font-weight: 500;
  	color: #767676;
    line-height: 1.5;
	letter-spacing: -0.6px;
  	align-items: center;
}
.quiz-container .hint-chk .btn-hint-move:after{
	content:'';
  	display: inline-block;
  	width: 24px;
	height: 24px;
  	margin-left: 5px;
  	background: url('/kr/event/2025/05/27_water_purifiers_Quiz/images/ico_arrow.svg') no-repeat center center;
  	background-size: 100% auto;
}

.quiz-container .quiz-action .evt-func + .evt-func{
	margin-top: calc(48 / 1000 * 100%);
	padding-top: calc(48 / 1000 * 100%);
	border-top: 2px solid #E2E0DE;
}

.quiz-container .form-wrap .forms .box{
	display: flex;
	align-items: center;
	gap: 8px;
}
.quiz-container .form-wrap .forms .insert-title{
	display: inline-block;
	color: #1A1A1A;
	font-size: 50px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: -1px;
}
.quiz-container .form-wrap .forms .box input[type="text"]{
	width: 50px;
	height: 50px;
	border-radius: 8px;
	border: 2px solid #1A1A1A;
	text-align: center;
	color: #111;
	font-size: 40px;
	font-weight: 500;
	line-height: 1.4;
}
.quiz-container .form-wrap .forms .box input[type="text"]::placeholder {
	color: #B1A7A3;
}

.quiz-container .layer-input{
	width: 100%;
	margin-top: calc(60 / 1000 * 100%);
}
.quiz-container .layer-input .chk-wrap{
	width: 100%;
}
.quiz-container .layer-input .chk-wrap input{
	left: 0;
}
.quiz-container .layer-input .chk-wrap input+label{
	padding-left: calc(60 / var(--width)* 100%);
    color: #7E7C77;
    font-size: 24px;
    font-weight: 500;
	letter-spacing: -0.48px;
	line-height: 1.4;
}
.quiz-container .layer-input .chk-wrap input+label:after {
    top: 1px;
    left: 0;
    width: 28px;
    height: 28px;
	background-image:url('/kr/event/2025/05/27_water_purifiers_Quiz/images/btn_chk_off.svg');
}
.quiz-container .layer-input .chk-wrap input:checked+label:after{
	background-image:url('/kr/event/2025/05/27_water_purifiers_Quiz/images/btn_chk_on.svg');
}
.quiz-container .btn-pop-open {
    text-decoration: underline;
    display: inline;
}
.quiz-container .btn-pop-open:hover {
    text-decoration-line: underline;
}
.quiz-container #layerchk1-1:focus+label:after {
    outline: 1px auto #000;
    outline-offset: 1px;
}

.quiz-container .quiz-action .btn-wrap {
    display: flex;
    flex-direction: column;
    margin-top: calc(40 / 1000 * 100%);
    gap: 12px;
    justify-content: center;
    align-items: center;
}
.quiz-container .quiz-action .btn{
	display: inline-flex;
	width: 400px;
	height: 70px;
	justify-content: center;
	align-items: center;
	border-radius: 12px;
	background: #1A1A1A;
	color: #FFF;
	font-size: 28px;
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.5px;
}
.quiz-container .quiz-action #confirmBtnA{
	background-color: transparent;
    color: #1a1a1a;
    border: 0;
    font-weight: 400;
}
.quiz-container .quiz-action #confirmBtnA span{
	text-decoration: underline;
    text-underline-offset: 6px;
}
#prdCheckPop{
	max-width:380px;
	border-radius: 12px;
	background-color: transparent;
}
#prdCheckPop.popup-wrap .pop-conts{
	position: relative;
	padding: 0;
}
#prdCheckPop.popup-wrap .btn-ok{
	position: absolute;
	bottom: 73px;
	left: 30px;
	width: 320px;
	height: 44px;
}
#prdCheckPop.popup-wrap>.btn-close{
	top: 24px;
	right: 24px;
	width: 40px;
	height: 40px;
}
#prdCheckPop.popup-wrap>.btn-close:before{
	width: 100%;
	height: 100%;
	background-size: 100%;
}

@media screen and (max-width: 1480px){
	.quiz-container .sub-title span{
		padding: 0.2027vw 1.3514vw;
		font-size: 1.6216vw;
	}
	
	.quiz-container .evt-info dt{
		font-size: 1.6216vw;
	}
	.quiz-container .evt-info dd{
		font-size: 1.4865vw;
	}

	.quiz-container .quiz-title{
		font-size: 2.1622vw;
	}
  	.quiz-container .quiz-sub-title{
      	font-size: 2.1622vw;
	}
	.quiz-container .hint-chk .btn-hint-move{
        font-size: 1.6216vw;
    }
    .quiz-container .hint-chk .btn-hint-move:after{
        width: 1.6216vw;
        height: 1.6216vw;
    }
	.quiz-container .form-wrap .forms .box{
		gap: 0.5405vw;
	}
	.quiz-container .form-wrap .forms .insert-title{
		font-size: 3.3784vw;
	}
	.quiz-container .form-wrap .forms .box input[type="text"]{
		width: 3.3784vw;
		height: 3.3784vw;
		font-size: 2.7027vw;
	}

	.quiz-container .layer-input .chk-wrap input+label{
		font-size: 1.6216vw;
	}
	.quiz-container .layer-input .chk-wrap input+label:after {
	    width: 1.86vw;
	    height: 1.86vw;
	}
  
	.quiz-container .quiz-action .btn{
		width: 27.0270vw;
		height: 4.7297vw;
		font-size: 1.8919vw;
	}
}

@media screen and (max-width: 767px){
    * {
		--width: 720;
	}
	.quiz-container > *{
		width: calc(624 / var(--width)* 100%);
	}
	
	.quiz-container .sub-title{
		margin-bottom: calc(48 / 624 * 100%);
	}
	.quiz-container .sub-title span{
		padding: 0.8vw 4.4vw;
		font-size: 3.8889vw;
	}
	
	.quiz-container .evt-info dt{
		font-size: 3.8889vw;
	}
	.quiz-container .evt-info dd{
		margin-top: calc(16 / 624 * 100%);
		font-size: 3.8889vw;
	}
	
	.quiz-container .evt-info dd + dt{
		margin-top: calc(30 / 624 * 100%);
		padding-top: calc(30 / 624 * 100%);
	}

	.quiz-container .gift-cnt{
		width: 100%;
	}
	.quiz-container .gift-cnt .sub-title{
        width: calc(624 / var(--width) * 100%);
		margin-left: auto;
		margin-right: auto;
	}
	
	.quiz-container .evt-prd-list{
		overflow-x: auto;
		position: relative;
		padding: 0 6.6667vw;
		gap: 4.4vw;
		scrollbar-width: none; /* Firefox */
		-ms-overflow-style: none; /* IE and Edge */
	}
	.quiz-container .evt-prd-list::-webkit-scrollbar{
		display: none;
	}
	.quiz-container .evt-prd-list > *{
		flex: none;
		width: 63.8889vw;
	}
	
	.quiz-container .quiz-title{
		font-size: 4.4vw;
	}
  	.quiz-container .quiz-sub-title{
		font-size: 4.4vw;
	}
	
  	.quiz-container .hint-chk{
        margin-top: calc(20 / 624 * 100%);
    }
    .quiz-container .hint-chk .btn-hint-move{
        font-size: 3.3vw;
    }
    .quiz-container .hint-chk .btn-hint-move:after{
        width: 3.3vw;
        height: 3.3vw;
    }
  
	.quiz-container .quiz-action .evt-func + .evt-func{
		margin-top: calc(48 / 624 * 100%);
		padding-top: calc(48 / 624 * 100%);
	}
	
	.quiz-container .form-wrap .forms .box{
		gap: 1.1vw;
	}
	.quiz-container .form-wrap .forms .insert-title{
		font-size: 6.94vw;
	}
	.quiz-container .form-wrap .forms .box input[type="text"]{
		width: 8.3vw;
		height: 8.3vw;
		font-size: 5.5556vw;
		border-radius: 6px;
	}
	
	.quiz-container .layer-input{
		margin-top: calc(60 / 624 * 100%);
	}
	.quiz-container .layer-input .chk-wrap input+label{
		padding-left: calc(50 / var(--width)* 100%);
		font-size: 3.3vw;
	}
	.quiz-container .layer-input .chk-wrap input+label:after {
	    width: 3.86vw;
	    height: 3.86vw;
	}
	
	.quiz-container .quiz-action .btn-wrap{
		margin-top: calc(40 / 624 * 100%);
	}
	.quiz-container .quiz-action .btn-wrap > *{
		flex: 1;
	}
	.quiz-container .quiz-action .btn{
		width: 55.5556vw;
		height: 9.7222vw;
		font-size: 3.8889vw;
		border-radius: 8px;
	}

    #prdCheckPop{
		top: 50% !important;
		left: 50% !important;
		width: 75%;
		height: auto !important;
		transform: translate(-50%, -50%) !important;
	}
	#prdCheckPop.popup-wrap .btn-ok {
        bottom: 14.3vw;
        left: 5.8vw;
        width: 63.4vw;
        height: 8.7vw;
    }
	#prdCheckPop.popup-wrap>.btn-close{
		top: 5vw;
		right: 4vw;
		width: 8vw;
		height: 8vw;
	}
}