/**
************************************************************************************
* CSR  : http://clm.lge.com/issue/browse/BTOCSITE-47913
* CODE : Dev - EV00018691 , Prod - EV00006552
* FILE : /kr/event/2023/11/01_lg_relay/css/event.css
* DESC : LGE.COM 11월 이벤트(구매고객-신규회원 즉석경품)
* PROJ : lge.co.kr 5.0
************************************************************************************
*							Modification History
************************************************************************************
* DATE						AUTHOR				DESCRIPTION
************************************************************************************
* 2023/10/12				정규진			    Created
* 2023/10/30				신우용			    Modify
************************************************************************************
**/

/* 이벤트 기본 설정 */
.mdevice {
    --width: 720;
    }
.evt-func {
    position: relative;
}
/* 참여팝업 */
#agreeShoppingRelay1_f table tbody td, 
#agreeHeartRelay1_f table tbody td,
#agreeHeartRelay2_f table tbody td {
    font-weight: bold;
}
#agree1_f table tbody tr td:last-child,
#agreeShoppingRelay1_f table tbody tr td:last-child,
#agreeHeartRelay1_f table tbody tr td:last-child,
#agreeHeartRelay2_f table tbody tr td:nth-child(2),
#agreeHeartRelay2_f table tbody tr td:last-child {
	font-size:20px;
  	line-height:30px;
	text-decoration: underline;
}
/* 즉석당첨 레이어팝업 */
.instant-draw-pop {
	max-width: 600px;
    border-radius: 25px;
}
.instant-draw-pop .btn-pop-close {
	bottom: 101px;
    width: 215px;
    height: 72px;
}
.instant-draw-pop .evt-product-text {
	position:absolute;
	top: 236px;
    left: 43px;
    width: 455px;
    height: 85px;
	text-align:center;
	font-weight: bold;
    font-size: 24px;
    background-color: transparent;
}
.instant-draw-pop .evt-product-serial {
	position: absolute;
	bottom: 10px;
	left: 0;
	width: 100%;
	padding: 0 20px;
	font-size: 12px;
	text-align: center;
    background-color: transparent;
    color: #666;
}
.instant-draw-pop .evt-product-text:focus, .instant-draw-pop .evt-product-serial:focus {
	outline:none;
}
.instant-draw-pop.b-pop .btn-pop-close {
	bottom: 93px;
}

.mdevice .instant-draw-pop {
	max-width: 90%;
}
.mdevice .instant-draw-pop .evt-product-text {
	top: calc(314 / var(--width) * 100%);
    left: calc(57 / var(--width) * 100%);
    width: calc(608 / var(--width) * 100%);
    height: calc(114 / var(--width) * 100%);
	font-size: 4.6vw;
}
.mdevice .instant-draw-pop .evt-product-serial {
	bottom: calc(25 / var(--width) * 100%);
	padding: 0 calc(15 / var(--width) * 100%);
}
.mdevice .instant-draw-pop .btn-pop-close {
	bottom: calc(120 / var(--width) * 100%);
	width: calc(312 / var(--width) * 100%);
	height: calc(93 / var(--width) * 100%);
}
.mdevice .instant-draw-pop.b-pop .btn-pop-close {
	bottom: calc(151 / var(--width) * 100%);
}

@media screen and (max-width: 767px){
    /* 참여팝업 */
    #agree1_f table tbody tr td:last-child,
    #agreeShoppingRelay1_f table tbody tr td:last-child,
    #agreeHeartRelay1_f table tbody tr td:last-child,
    #agreeHeartRelay2_f table tbody tr td:nth-child(2),
    #agreeHeartRelay2_f table tbody tr td:last-child {
        font-size:16px;
        line-height:24px;
    }
}

/* 바닥페이지 작성 */
.banner-link{
	margin-bottom: calc(287 / 1380 * 100%);
	padding-bottom: calc(150 / 1380 * 100%);
}

.banner-link a{
	width: calc(780 / 1380 * 100%);
}

.mdevice .banner-link{
	margin-bottom: calc(333 / var(--width) * 100%);
	padding-bottom: calc(150 / var(--width) * 100%);
}

.mdevice .banner-link a{
	width: calc(660 / var(--width) * 100%);
}

.tabs-wrap .tabs {
    display: flex;
    margin: 0;
    padding: 0;
}
.tabs-wrap .tabs > li {
    flex-grow: 1;
    margin: 0;
    padding: 0;
}
.tabs-wrap .tabs li a {
    display: block;
    height: 0;
    background-size: 100% !important;
	background-repeat: no-repeat;
	background-position: center center;
    padding-top: calc(260 / 1380 * 100%);
}
.tabs-wrap .tabs li.m1 a {
    background-image: url(/kr/event/2023/11/01_lg_relay/images/tab_01.jpg);
}
.tabs-wrap .tabs li.m2 a {
    background-image: url(/kr/event/2023/11/01_lg_relay/images/tab_02.jpg);
}
.tabs-wrap .tabs li.m1.on a {
    background-image: url(/kr/event/2023/11/01_lg_relay/images/tab_01_active.jpg);
}
.tabs-wrap .tabs li.m2.on a {
    background-image: url(/kr/event/2023/11/01_lg_relay/images/tab_02_active.jpg);
}

.mdevice .tabs-wrap .tabs li a {
    padding-top: calc(260 / var(--width) * 100%);
}
.mdevice .tabs-wrap .tabs li.m1 a {
    background-image: url(/kr/event/2023/11/01_lg_relay/images/m_tab_01.jpg);
}
.mdevice .tabs-wrap .tabs li.m2 a {
    background-image: url(/kr/event/2023/11/01_lg_relay/images/m_tab_02.jpg);
}
.mdevice .tabs-wrap .tabs li.m1.on a {
    background-image: url(/kr/event/2023/11/01_lg_relay/images/m_tab_01_active.jpg);
}
.mdevice .tabs-wrap .tabs li.m2.on a {
    background-image: url(/kr/event/2023/11/01_lg_relay/images/m_tab_02_active.jpg);
}

.evt-btn-area{
    bottom: 0;
}

/* 이벤트1 */
.evt-relay-join{
    margin-bottom: calc(84 / 1380 * 100%);
    padding-bottom: calc(98 / 1380 * 100%);
}
.evt-relay-join a{
    width: calc(560 / 1380 * 100%);
}
.mdevice .evt-relay-join{
    margin-bottom: calc(80 / var(--width) * 100%);
    padding-bottom: calc(98 / var(--width) * 100%);
}
.mdevice .evt-relay-join a{
    width: calc(560 / var(--width) * 100%);
}

/* 이벤트2 */
.shopping-relay-mark{
    position: absolute;
    left: 0;
    bottom: 0;
    width:100%;
    margin-bottom: calc(310 / 1380 * 100%);
    padding-bottom: calc(406 / 1380 * 100%);
}

.shopping-relay-wrap {
    display: flex;
    align-items: center;
    position: absolute;
    left: 50%;
    top: 0;
    width: calc(1200 / 1380 * 100%);
    height: 100%;
    transform: translateX(-50%);
}
.shopping-relay-wrap li {
    position: relative;
    display: inline-block;
    flex-basis: 25%;
    height: 100%;
}
.shopping-relay-wrap li.on::before {
    content: "응모완료";
    position: absolute;
    bottom: calc(320 / 1380 * 100%);
    left: 50%;
    width: calc(989 / 1380 * 100%);
    height: calc(731 / 1380 * 100%);
    background: url(/kr/event/2023/11/01_lg_relay/images/relay_chk.png) no-repeat 0 0;
    background-size: 100% auto;
    text-indent: -9999px;
    transform: translateX(-50%);
}
.evt-auction-join{
    margin-bottom: calc(150 / 1380 * 100%);
    padding-bottom: calc(98 / 1380 * 100%);
}
.evt-auction-join a{
    width: calc(560 / 1380 * 100%);
}

.mdevice .shopping-relay-mark{
    margin-bottom: calc(300 / var(--width) * 100%);
    padding-bottom: calc(804 / var(--width) * 100%);
}

.mdevice .shopping-relay-wrap {
    width: calc(600 / var(--width) * 100%);
    flex-wrap: wrap;
}
.mdevice .shopping-relay-wrap li {
    flex-basis: 50%;
    height: 50%;
}
.mdevice .shopping-relay-wrap li.on::before {
    bottom: calc(170 / var(--width) * 100%);
    width: calc(516 / var(--width) * 100%);
    height: calc(385 / var(--width) * 100%);
}
.mdevice .evt-auction-join{
    margin-bottom: calc(142 / var(--width) * 100%);
    padding-bottom: calc(98 / var(--width) * 100%);
}
.mdevice .evt-auction-join a{
    width: calc(560 / var(--width) * 100%);
}

/* 이벤트3 */
.heart-relay-wrap {
    position: absolute;
    left: 0;
    bottom: 0;
    width:100%;
    margin-bottom: calc(238 / 1380 * 100%);
    padding-bottom: calc(386 / 1380 * 100%);
}
.heart-relay-chk{
    display: flex;
    align-items: center;
    position: absolute;
    left: 50%;
    top: 0;
    width: calc(655 / 1380 * 100%);
    height: 100%;
    transform: translateX(-50%);
}
.heart-relay-chk li {
    position: relative;
    display: inline-block;
    flex: 1;
    height: 100%;
}
.heart-relay-chk li .eachLink{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(1090 / 1380 * 100%);
}
.heart-relay-chk li .eachLink a{
    display: block;
    height: 100%;
}

.heart-relay-chk li .radio{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(300 / 1380 * 100%);
}
.heart-relay-chk li input {
    position: absolute;
  	left:0;
  	top:0;
    width: 100%;
    height: 100%;
    border: none;
    background: 0 0;
}
.heart-relay-chk li input+label {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.heart-relay-chk li input+label:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(250 / 1380 * 100%);
    height: calc(560 / 1380 * 100%);
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url(/kr/event/2023/11/01_lg_relay/images/heart_chk.png);
    transform: translate(-50%, -50%);
  	transition: all .3s ease;
}

.heart-relay-chk li input:checked+label:after {
    background-image: url(/kr/event/2023/11/01_lg_relay/images/heart_chk_on.png);
}
.evt-heart-join{
    margin-bottom: calc(80 / 1380 * 100%);
    padding-bottom: calc(98 / 1380 * 100%);
}
.evt-heart-join a{
    width: calc(560 / 1380 * 100%);
}

.mdevice .heart-relay-wrap {
    margin-bottom: calc(238 / var(--width) * 100%);
    padding-bottom: calc(386 / var(--width) * 100%);
}
.mdevice .heart-relay-chk{
    width: calc(630 / var(--width) * 100%);
}
.mdevice .heart-relay-chk li .eachLink{
    height: calc(570 / var(--width) * 100%);
}
.mdevice .heart-relay-chk li .radio{
    height: calc(150 / var(--width) * 100%);
}
.mdevice .heart-relay-chk li input+label:after {
    width: calc(130 / var(--width) * 100%);
    height: calc(305 / var(--width) * 100%);
}

.mdevice .evt-heart-join{
    margin-bottom: calc(80 / var(--width) * 100%);
    padding-bottom: calc(98 / var(--width) * 100%);
}
.mdevice .evt-heart-join a{
    width: calc(560 / var(--width) * 100%);
}

.prds-link{
	margin-bottom: calc(75 / 1380 * 100%);
    padding-bottom: calc(440 / 1380 * 100%);
}

.prds-link a{
	width: calc(470 / 1380 * 100%);
}

.mdevice .prds-link{
	margin-bottom: calc(75 / var(--width) * 100%);
	padding-bottom: calc(440 / var(--width) * 100%);
}

.mdevice .prds-link a{
	width: calc(470 / var(--width) * 100%);
}