@charset "UTF-8";

/* @font-face {
	font-family: 'Rix밝은굴림'; font-weight: bold; font-style: normal; src: url('/tms_asset/fonts/GulimAi2 Bold.woff');
}
@font-face {
	font-family: 'Rix밝은굴림'; font-weight: normal; font-style: normal; src: url('/tms_asset/fonts/GulimAi2 Medium.woff');
} */
@font-face {
	font-family: 'YaB';
	font-weight: normal;
	font-style: normal;
	src: url('../fonts/YaB.ttf');
}

html,
body,
.container {
	width: 1280px;
	height: 800px;
	overflow: hidden;
	margin: 0px;
	padding: 0px;
}

div,
img {
	position: absolute;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.container {
 /* position: relative; */
}

.objects,
.buttons {
	width: 100%;
	/* height: 100%; */
}
.buttons {
	z-index: 10;
}
.button {
	cursor: pointer;
}

#btn_pause {
	top: 16px;
	left: 40px;
}

#btn_help {
	top: 16px;
	left: 1160px;
}
#title01 {
  left: 0px; top:0px;
}

#stage {
	padding: 0px;
	right: 140px; top: 16px; min-width: 210px; height: 84px;
	text-align: center;
}
.stage_bg {
	position: absolute;
	height: 84px;
	min-width: 33px;
}
#stage_bg_l {
	left:0;
	background: url('/tms_asset/images/stage_bg_l.png') no-repeat;
}
#stage_bg_r {
	right:0;
	background: url('/tms_asset/images/stage_bg_r.png') no-repeat;
}
#stage_bg_m {
	margin: auto;
	right:33px; left:33px;
	background: url('/tms_asset/images/stage_bg_m.png') repeat-x;
}
#stage>img {
	position: relative;
	margin-top: 17px;

}

#timerarea {
	top: 16px;
	left: 142px;
	width:204px; height:84px;
	background: url('/tms_asset/images/timerarea.png') no-repeat;
}
#watch {
	top: 6px;
	left:18px;
	width:58px;
	height:68px;
	background: url('/tms_asset/images/watch.png') no-repeat;
}
#second-hand {
	top: 18px;left: 19px;
	width:20px; height:27px;
	-webkit-transform:rotate(180deg);
	-moz-transform:rotate(180deg);
	transform:rotate(180deg);
	-webkit-transform-origin: 50% 75%;
	-moz-transform-origin: 50% 75%;
	transform-origin: 50% 75%;
}

#remains {
	left: 0px;	top:  0px;
	width:180px; height:80px;
	font-family: 'Rix밝은굴림', sans-serif;
	position: absolute;
	color: #333333;
	font-size: 40px;
	font-weight: bold;
	text-align: right;
	line-height: 87px;
	letter-spacing: -2px;
}

#remains::after {
	content: '초';
	font-size: 35px;
}


#title_t {
	position: absolute;
	top: 93px;
	left: 514px;
	width: 233px;
	height: 72px;
}

#title_t p {
	font-family: 'Rix밝은굴림', sans-serif;
	color: #fff;
	font-size: 90px;
	line-height: 72px;
	letter-spacing: 0px;
	margin: 0 !important;
	text-align:center;
}

#text_input {
	top: 14px;
	left: 442px;
}


#finish {
    font-family: 'Rix밝은굴림', sans-serif;
    font-weight: bold;
    font-size: 60px;
    text-align: center;
    width: 1280px;
    height: 800px;
    display: table-cell;
    vertical-align: middle;
    padding-top: 387px;
	color: #e03733;
	z-index: 100;
}

/* 시작, 도움말 팝업 화면 */
#start,
#start2 {
	width: 1280px;
	height: 800px;
	top: 0;
	left: 0;
	z-index: 5;
	/* display:none; */
}

#start2 {
	background-color:rgba(0,0,0,0.3);
	display: none;
}
#fi1,#fi2,#fi3 {
	margin: auto;
	top:0;bottom:0;left:0;right:0;
	width:250px; height:269px;
}
#fi2,#fi3 {
	display: none;
}

#bg {
	width: 1280px;
	height: 800px;
	top: 0;
	left: 0;
}

#btn_start {
	top: 320px;
	left: 495px;
	cursor: pointer;
}

#btn_desc {
	top: 445px;
	left: 495px;
	cursor: pointer;
}

#content_area {
	top: 125px;
	left: 20px;
	width: 1220px;
	height: 650px;
	/* border: 1px solid red; */
}

/* 테이블 영역 */
#content_area_table {
	/* top: 280px;
	left: 40px; */
    top: 430px;
    left: 385px;
    width: 500px;
    height: 152px;
    /* border: 1px solid red; */
}
#bottle1 {
	top: 320px;
	left: 90px;
	position: absolute;
	z-index: 3;
}
#bottle2 {
	top: 280px;
	left: 220px;
	position: absolute;
	z-index: 3;
}
#bottle3 {
	top: 280px;
	left: 890px;
	position: absolute;
	z-index: 3;
}
#bottle4 {
	top: 320px;
	left: 1040px;
	position: absolute;
	z-index: 3;
}
#content_area_left {
	top: 120px;
	left: 430px;
}
#content_area_right {
	top: 120px;
	left: 660px;
}
#content_area_op {
	top: 140px;
	left: 570px;
}
#wolf5 {
	top: 37px;
	left: 78px;
	position: absolute;
	z-index: 3;
	display: none;
}


/* 늑대 그림자 */

#wolf_shadow {
	top: 332px;
	left: 166px;
	position: absolute;
	z-index: 2;
}


/* 늑대의 벽돌 */

#wolf_brick1 {
	position: absolute;
	top: 295px;
	left: 50px;
	z-index: 1;
}

#wolf_brick2 {
	position: absolute;
	top: 305px;
	left: 45px;
	z-index: 1;
	display: none;
}

#wolf_brick3 {
	position: absolute;
	top: 306px;
	left: -24px;
	z-index: 1;
	display: none;
}

#wolf_brick4 {
	position: absolute;
	top: 309px;
	left: -82px;
	z-index: 1;
	display: none;
}

#wolf_brick5 {
	position: absolute;
	top: 309px;
	left: -82px;
	z-index: 1;
	display: none;
}


/* 늑대의 벽돌 그림자 */

#brickshadow1 {
	position: absolute;
	top: 380px;
	left: 41px;
}


/* 늑대 x박스 */

#wolf_xbox {
	position: absolute;
	top: 561px;
	left: 88px;
}

#wolf_x1 {
	position: absolute;
	top: 578px;
	left: 106px;
}

#wolf_x2 {
	position: absolute;
	top: 578px;
	left: 181px;
}

#wolf_x3 {
	position: absolute;
	top: 578px;
	left: 256px;
}

#wolf_x4 {
	position: absolute;
	top: 578px;
	left: 331px;
}


/* 왼 쪽 늑대 영역 끝 */


/* 오른쪽 돼지 영역 */

#content_area_r {
	top: 0px;
	right: 0px;
	width: 390px;
	height: 650px;
	/* border: 1px solid red; */
}


/* 다섯가지 표정의 돼지 */

#pig1 {
	top: 63px;
	left: 81px;
	position: absolute;
	z-index: 3;
}

#pig2 {
	top: 63px;
	left: 73px;
	position: absolute;
	z-index: 3;
	display: none;
}

#pig3 {
	top: 63px;
	left: 83px;
	position: absolute;
	z-index: 3;
	display: none;
}

#pig4 {
	top: 60px;
	left: 81px;
	position: absolute;
	z-index: 3;
	display: none;
}

#pig5 {
	top: 57px;
	left: 108px;
	position: absolute;
	z-index: 3;
	display: none;
}


/* 돼지 그림자 */

#pig_shadow {
	top: 332px;
	left: 122px;
	position: absolute;
	z-index: 2;
}


/* 돼지의 벽돌 */

#pig_brick1 {
	position: absolute;
	top: 295px;
	left: 2px;
	z-index: 1;
}

#pig_brick2 {
	position: absolute;
	top: 307px;
	left: -3px;
	z-index: 1;
	display: none;
}

#pig_brick3 {
	position: absolute;
	top: 307px;
	left: -72px;
	z-index: 1;
	display: none;
}

#pig_brick4 {
	position: absolute;
	top: 309px;
	left: -130px;
	z-index: 1;
	display: none;
}

#pig_brick5 {
	position: absolute;
	top: 309px;
	left: -130px;
	z-index: 1;
	display: none;
}


/* 돼지의 벽돌 그림자 */

#brickshadow2 {
	position: absolute;
	top: 380px;
	left: -7px;
}


/* 돼지 x박스 */

#pig_xbox {
	position: absolute;
	top: 561px;
	left: 40px;
}

#pig_x1 {
	position: absolute;
	top: 578px;
	left: 58px;
}

#pig_x2 {
	position: absolute;
	top: 578px;
	left: 133px;
}

#pig_x3 {
	position: absolute;
	top: 578px;
	left: 208px;
}

#pig_x4 {
	position: absolute;
	top: 578px;
	left: 283px;
}


/* 오른쪽 돼지 영역 끝 */


/* 가운데 풍선 영역 */

#content_area_c {
	top: 2px;
	left: 401px;
	width: 438px;
	height: 532px;
	/* border: 1px solid red; */
}

#balloon1 {
	position: absolute;
	top: 4px;
	left: 124px;
	cursor:pointer;
}

#balloon2 {
	position: absolute;
	top: 124px;
	left: 280px;
	cursor:pointer;
}

#balloon3 {
	position: absolute;
	top: 210px;
	left: 20px;
	cursor:pointer;
}

#balloon4 {
	position: absolute;
	top: 334px;
	left: 224px;
	cursor:pointer;
}

.digit1 {
	position: absolute;
	top: 45px;
	left: 28px;
}

.digit2 {
	position: absolute;
	top: 45px;
	left: 68px;
}


/* 가운데 풍선 영역 끝 */




#bomb_box {
	position: absolute;
    top: 110px;
    left: 200px;
    width: 785px;
    height: 500px;
}
#bomb {
	top:0; left: 0;
	width:786px;
}
#b_line {
	top:104px;
	left:74px;
	width:119px;
}
#flame {
	top:0px;
	left:0px;
	display: none;
}
#flame>img {
	width: 192px;
}
#flame2 {
	display: none;
}
#explosion {
	margin: auto;
	top:-85px;
	left: 0; right:0;
	width:790px;
	transform-origin: center;
	transform: scale(0.5);
	display: none;
}
#bomb1 {
	display: none;
    top: 110px;
    left: 200px;
    width: 785px;
    position: absolute;
    height: 500px;
}

#n_1{top:0px; left:0px; width: 70px; height: 70px;}
#n_2{top:0px; left:85px; width: 70px; height: 70px;}
#n_3{top:0px; left:170px; width: 70px; height: 70px;}
#n_4{top:0px; left:255px; width: 70px; height: 70px;}
#n_5{top:0px; left:340px; width: 70px; height: 70px;}
#n_6{bottom:0px; left:0px; width: 70px; height: 70px;}
#n_7{bottom:0px; left:85px; width: 70px; height: 70px;}
#n_8{bottom:0px; left:170px; width: 70px; height: 70px;}
#n_9{bottom:0px; left:255px; width: 70px; height: 70px;}
#n_0{bottom:0px; left:340px; width: 70px; height: 70px;}
#n_v{bottom:0px; right:0px; width: 70px; height: 70px;}

.num.down {
	transform-origin: 0 0;
    transform: translate(1px,1px);
}

#num_a1{top:0px;left:0px; width:43px;}
#num_a2{top:0px;left:63px; width:43px;}
#num_a3{top:0px;right:0px;width:43px;}

#content_area_top{
    top: 285px;
    left: 553px;
    width: 170px;
    height: 80px;
    position: absolute;
    /* border: 1px solid red; */
}

/********************************************************/


@font-face {font-family:'돋움'; font-style:normal; font-weight:normal;src: url('../fonts/KoPubDotumMedium.ttf');}

img, div { position:absolute; }


.background {
	top:0px;
	left:0px;
	width:1280px;
	height:800px;
	margin:0px;
	padding:0px;
	overflow:hidden;
}
.full{
	top:0px;
	left:0px;
	width:1280px;
	height:800px;
	z-index:2;
}

.popup_dimm{
	top:0px;
	left:0px;
	width:1280px;
	height:800px;
	margin:0px;
	padding:0px;
	z-index:10;
	/*background:url(image/blink.png);*/
}
.popup_dimm2{
	top:0px;
	left:0px;
	width:1280px;
	height:800px;
	margin:0px;
	padding:0px;
	z-index:20;
	/*background:url(image/blink.png);*/
}

.Replay{
	top:393px;
	left:442px;
	width:200px;
	height:70px;
}
.popupclose{
	top:393px;
	left:684px;
	width:200px;
	height:70px;
	z-index:100;
}

.img { display:none; }
.on { display:block; }

#issue1 { top:493px; left:35px; z-index:5; opacity:1; }
#To_issue1 { top:291px; left:35px; z-index:4; opacity:0; }

#issue2 { top:173px; left:300px; z-index:5; opacity:1; }
#To_issue2 { top:173px; left:300px; z-index:4; opacity:0; }
#A_issue2 { top:173px; left:300px; z-index:3; opacity:0; }

#issue3 { top:173px; left:787px; z-index:5; opacity:1; }
#To_issue3 { top:173px; left:787px; z-index:4; opacity:0; }
#A_issue3 { top:173px; left:787px; z-index:3; opacity:0; }

#issue4 { top:491px; left:787px; z-index:5; opacity:1; }
#To_issue4 { top:491px; left:787px; z-index:4; opacity:0; }
#A_issue4 { top:491px; left:787px; z-index:3; opacity:0; }

#issue5 { top:491px; left:300px; z-index:5; opacity:1; }
#To_issue5 { top:491px; left:300px; z-index:4; opacity:0; }
#A_issue5 { top:491px; left:300px; z-index:3; opacity:0; }

#Next_btn {
	left:1127px; top:0px; z-index:3;
}

#popup { top:0px; left:0px; z-index:10; }
#popup_bg { top:0px; left:0px; z-index:10; }
.popup_bg2 { top:0px; left:0px; z-index:15; }

#cnvs,#cnvs_bg {
	position:absolute;
	/* top:152px; left:189px;width:887px;height:592px;  */
	top:152px;
	left:189px;
	width:887px;
	height:592px;
	z-index:10;
	/* border:1px dotted gray; */
}

.levelNum, #panTimer, #panClose { top:15px;}
#levelNum01 {top:30px;left:740px;}
#levelNum02 {top:30px;left:810px;}
#levelNum03 {top:30px;left:880px;}
#levelNum04 {top:30px;left:950px;}
#levelNum05 {top:30px;left:1020px;}

#panTimer {
	left:682px; width:210px; height:77px;
	background:url('../image/timer_bg.png') no-repeat;
	color:#0094c9;font-weight:bold;
	padding-left:85px; padding-top:12px;
	/* font-size: 45px; */ font-size: 45px;
	/* font-family:'명조'; */
}

#timer { font-family:'돋움'; }


#pop_txt { left:490px; top:240px; width:300px; height:350px; z-index:500; }
#pop_txt2 { left:0px; top:0px; z-index:200; }


#panClose { left:1200px; }


#btn_bg {
    top:540px; left:1110px;
  }


#btnErase {
	left:1132px; top:550px;
	/* filter: drop-shadow(3px 3px 3px black); */
}
#btnRedraw {
	left:1132px; top:650px;
	/* filter: drop-shadow(3px 3px 3px black); */
}

.guide {
	top:0px;left:0px;
	z-index:20; display:none;
}

/* #levelPan { left:150px;top:43px;width:966px;height:719px;} */
#levelPan { left:179px;top:137px;width:910px;height:624px;}

.popup { top:0px; left:0px; z-index:15;}
#continue {left: 411px; top:327px; }
#exit {left: 640px; top:327px; }

#point, #point2, #arrow, .popup { display:none;}

#again {left: 436px; top:400px; }
#exit2 {left: 677px; top:400px; }

.shake {
	animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) infinite both;
	transform: translate3d(0, 0, 0);
	backface-visibility: hidden;
	perspective: 1000px;
}

@keyframes shake {
	10%, 90% {
		transform: translate3d(-1px, 0, 0);
	}

	20%, 80% {
		transform: translate3d(2px, 0, 0);
	}

	30%, 50%, 70% {
		transform: translate3d(-4px, 0, 0);
	}

	40%, 60% {
		transform: translate3d(4px, 0, 0);
	}
}
@keyframes shake2 {
	10%, 90% {
		transform: translate3d(-1px, -1px, 0);
	}

	20%, 80% {
		transform: translate3d(2px, 2px, 0);
	}

	30%, 50%, 70% {
		transform: translate3d(-4px, -4px, 0);
	}

	40%, 60% {
		transform: translate3d(4px, 4px, 0);
	}
}
