/* 클릭 버튼 핑크 */
._type_click_pink {
	background-image: url(../common/img/ico_click_star_pink.png);
}
._type_click_pink:hover {background-image: url(../common/img/ico_click_star_pink.png);}

.math_layer .click_btn {
	display: block;
	position: absolute;
	z-index: 15;
	width: 120px;
	height: 120px;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 35px;
	
	font-size: 0;
}

.modal-inter .modal-body {padding: 25px 75px;}

video {
	position: absolute;
	z-index: -9999;
	opacity: 0;
}

._hide {display: none;}


.step_btn_box {
	display: flex;
	position: absolute;
	bottom: 40px;
	left: 35px;
	z-index: 100;
}
.step_btn_box > div {
	position: relative;
	top: 0;
	left: 0;
}
.step_btn_box button {
	display: block;
	width: 210px;
	height: 63px;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 210px;
	font-size: 0;
}
.step_btn_box ._click_step01 {background-image: url(../img/04_j_j01_08/math_01_btn01.png);}
.step_btn_box ._click_step01.on {background-image: url(../img/04_j_j01_08/math_01_btn01_on.png);}
.step_btn_box ._click_step02 {background-image: url(../img/04_j_j01_08/math_01_btn02_on.png);}
.step_btn_box ._click_step02.on {background-image: url(../img/04_j_j01_08/math_01_btn02.png);}


.step_btn_box span {
	display: block;
	width: 60px;
	height: 63px;
	background-repeat: no-repeat;
	background-position: center center;
	background-image: url(../img/04_j_j01_08/math_arrow_right.png);
	background-size: 31px;
	font-size: 0;
}
.step_btn_box > div {margin-left: 18px;}
.step_btn_box > div:first-child {margin-left: 0;}
.step_btn_box > div .click_btn {
	visibility: hidden;
	width: 85px;
    height: 100px;
    top: 18px;
	right: -29px;
    background-size: auto 100%;
	pointer-events: none;
}
._step_no01 .step_btn_box > div ._click_no01 {visibility: visible;}
._step_next_no02 .step_btn_box > div ._click_no02 {visibility: visible;}

._step_no01 .step_btn_box ._click_step02 {pointer-events: none;}
._step_no02 .step_btn_box ._click_step01 {pointer-events: none;}
._click_step01.on {pointer-events: none;}
._click_step02.on {pointer-events: none;}
._step_next_no02 ._click_step02.on {pointer-events: auto;}

._over_img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
}
._over_img img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}
._over_img img:first-child {
	position: relative;
	top: 0;
	left: 0;
}

._quiz_img {
	overflow: hidden;
	position: absolute;
	top: 302px;
	right: 124px;
	z-index: 10;
	width: 74px;
	height: 110px;
	opacity: 0;
	cursor: pointer;
}
._quiz_a_img {
	position: absolute;
	top: 0;
	left: 0;
	width: 74px;
	height: 110px;
}
._before ._quiz_a_img {display: none;}

.math_layer .step01_box .click_btn {
	top: 50px;
	left: 490px;
}

._step_01_01 ._over_img,
._step_01_01 ._quiz_img {visibility: hidden;}


.step01_box._step_01_01 .click_btn {
	transition: all 0.5s;
	opacity: 0;
	pointer-events: none;
}

.step_box {
	position: relative;
	top: 0;
	left: 0;
}
.step02_box {
	visibility: hidden;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgb(255,255,255);
}
._step_no02 .step01_box {visibility: hidden;}
._step_no02 .step02_box {visibility: visible;}

.step02_box ._click_step02_01 {
	top: -25px;
	left: 358px
}
.step02_box ._click_step02_02 {
	top: 225px;
	left: 55px;
	opacity: 0;
}

.step02_box._step_02_01 ._over_img._over_img_no02 {opacity: 0;}
.step02_box._step_02_02 ._over_img._over_img_no02 {opacity: 1;}

._over_no03_02 {opacity: 0;}
._over_no03_03 {opacity: 0;}


._step_02_02 ._click_step01 {visibility: hidden;}
._step_02_02 ._click_step02 {visibility: hidden;}


._quiz_no01 {
	visibility: hidden;
	top: 253px;
	right: 111px;
	width: 75px;
	height: 95px;
	opacity: 1;
}
._quiz_no01 ._quiz_a_img {
	width: 75px;
	height: 95px;
}

._quiz_no02 {
	visibility: hidden;
	top: 253px;
	right: 189px;
	width: 76px;
	height: 95px;
	opacity: 1;
}
._quiz_no02 ._quiz_a_img {
	width: 76px;
	height: 95px;
}

._quiz_no01 img {vertical-align: top;}
._quiz_no02 img {vertical-align: top;}


._quiz_no01._open {visibility: visible;}
._quiz_no02._open {visibility: visible;}

.reset_btn {visibility: hidden;}
.reset_btn._open {visibility: visible;}


.page-fill .icon-click {
	position: absolute;
	bottom: 20px;
	right: 130px;
	width: 96px;
	height: 134px;
}

._custom_bubble {
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 213px;
	left: 20px;
	width: 185px;
	height: 149px;
}

._custom_bubble p {
	font-weight: 700;
	font-size: 21px;
	color: rgb(106,61,31);
	line-height: 40px;
	text-align: center;
}
._custom_bubble span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    vertical-align: 2px;
	width: 34px;
    height: 34px;
	margin-right: 5px;
    border: 2px solid rgb(0,0,0);
    border-radius: 50%;
	font-size: 17px;
}

._custom_bubble ._type1 {
	background-color: rgb(249,202,191);
	border-color: rgb(244,164,151);
	color: rgb(205,73,76);
}
._custom_bubble ._type2 {
	background-color: rgb(207,224,155);
	border-color: rgb(149,197,105);
	color: rgb(44,135,61);
}


/* 효과 */
._type_opacity {opacity: 0.4;}
._motion_del1 {animation-delay: 1s !important;}
._motion_del2 {animation-delay: 2s !important;}
._motion_del3 {animation-delay: 3s !important;}
._motion_del4 {animation-delay: 3s !important;}
._motion_del5 {animation-delay: 3s !important;}
._motion_del6 {animation-delay: 6s !important;}
._motion_del7 {animation-delay: 7s !important;}
._motion_del8 {animation-delay: 8s !important;}
._motion_del9 {animation-delay: 9s !important;}
._motion_del10 {animation-delay: 10s !important;}
._motion_del11 {animation-delay: 11s !important;}
._motion_del12 {animation-delay: 12s !important;}

._motion_twinkle_on {animation: twinkleMotionOn 2s forwards;}
._motion_twinkle_off {
	opacity: 0;
	animation: twinkleMotionOff 2s forwards;
}
._motion_twinkle_on_off {animation: twinkleMotionOnOff 2s forwards;}
._motion_twinkle_off_on_off {
	opacity: 0;
	animation: twinkleMotionOffOnOff 2s forwards;
}
._motion_fade_in {
	opacity: 0;
	animation: fadeIn 1s forwards;
}
._motion_fade_out {animation: fadeOut 1s forwards;}
._motion_fade_in_out {animation: fadeInOut 1s forwards;}

@keyframes twinkleMotionOn {
	0%, 33.32%, 66.64%, 100% {opacity: 1;}
	16.66%, 49.98%, 83.33% {opacity: 0;}
}

@keyframes twinkleMotionOff {
	0%, 40%, 80% {opacity: 0;}
	20%, 60%, 100% {opacity: 1;}
}

@keyframes twinkleMotionOnOff {
	0%, 40%, 80% {opacity: 1;}
	20%, 60%, 100% {opacity: 0;}
}

@keyframes twinkleMotionOffOnOff {
	0%, 40%, 80% {opacity: 0;}
	20%, 60%, 100% {opacity: 1;}
}

@keyframes fadeIn {
	0% {opacity: 0;}
	100% {opacity: 1;}
}

@keyframes fadeOut {
	0% {opacity: 1;}
	100% {opacity: 0;}
}

@keyframes fadeInOut {
	0% {opacity: 0;}
	50% {opacity: 1;}
	100% {opacity: 0;}
}