﻿@charset "UTF-8";



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);
}

p {
	font-family: 'Nanum Gothic', sans-serif;
	font-weight:bold;
	font-size:26px;
	line-height:37px;
	text-indent:0px;
	margin:0;
}

.container {
	position:relative;
}

.button {
	cursor:pointer;
}

#tipbox {
	top: 135px;
	/* left:1197px; */
	right:0px;
	cursor: pointer;
	display: block;
	z-index: 10;
	font-family: 'Nanum Gothic', sans-serif;
	font-weight: bold;
	font-size: 18px;
	color: #fff;
	background: rgb(88, 92, 97) url(../images/ico_tip.png) no-repeat;
	background-position: 5px;
	border-radius: 15px 0 0 15px;
	padding: 5px 15px 7px 35px;
	width:83px;
	height:20px;
	white-space: nowrap;
	overflow:hidden;
}

input[type=number], .etr_input {
	position: absolute;
	bottom: 137px;
	left: 321px;
	width: 187px;
	height: 112px;
	/* border-radius: 0px; 기존 20px */
	border-radius: 20px;
	line-height: 115px;
	font-size: 60px;
	font-family: 'MathJax_Main','Baloo Paaji', 'Nanum Gothic', sans-serif;
	z-index: 30;
	text-align: center;
	/* background: rgba(255, 255, 255, 0);
	border: 2px solid #000;기존 dashed red */
	background: rgba(255, 255, 255, 0.2);
	border: 2px dashed red;/*기존 dashed red*/
}

input:focus,
select:focus,
textarea:focus,
button:focus {
	outline: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

#intro, #finish {
	top:0; left:0; width:100%; height:100%;
	display:none;
	background:rgba(0,0,0,0.1);
	z-index:1000;
}

#finish {
	background:rgba(43,39,40,0.5);
}

#success, #fail, #fail2 {
	display:none;
	margin:auto;
	left:0; right:0; top:0; bottom:0;
}
#success {
	background: url('../images/success_bg.png') no-repeat;
}
#success .snow {
	position: absolute;
	top:-100px;
	left:0;
	opacity: 0.85;;
}

#fail {
	background: url('../images/fail.png') no-repeat;
}

#fail .correct_answer {
	font-family: 'Baloo Paaji', MathJax_Main, '배민주아','Nanum Gothic', sans-serif!important;
    top: 400px;
    left: 326px;
    /* border: 3px inset #eee; */
    font-size: 2.0em;
    color: #00a8bb;
    width: 400px;
    height: 166px;
    padding: 10px;
    border-radius: 5px;
    /* background: #ff9e18; */
    font-weight: bold;
}

#fail2 {
	background: url('../images/fail2.png') no-repeat;
}

.pierrot {
	position: absolute;
	top:122px;
	left:581px;
	-webkit-transform-origin: 50% 97%;
	-moz-transform-origin: 50% 97%;
	transform-origin: 50% 97%;
}
.squirrel {
	position: absolute;
	top:122px;
	left:581px;
}


.etr_input {
	text-align:center;
	line-height:140px;
}

#etrKeyPad {
	/* font-size: 30px;
	font-weight: bold;
	background: rgba(255, 255, 255, 1); */
	border-radius: 20px;
	box-shadow: 3px 3px 3px rgba(0,0,0,0.2);
	padding: 0px;
	z-index: 1000;
	/* top: 190px;
	left: 200px; */
	/* font-family: 'Baloo Paaji', 'Nanum Gothic', sans-serif; */
	background: url('../images/keypad.png') no-repeat 0% 0%;
	width:371px;
	height:270px;
	line-height: 1px;
}
#etrKeyPad .key {
	/* border:0px solid red;
	background: rgba(255,0,0,0.5); */
	width:50px; height:50px;
	display: inline-block;
	position: relative;
	margin:8px 10px 0px 8px;
	border-radius: 8px;
	border:1px solid transparent;
	cursor: pointer;
	font-family: 'Rix밝은굴림', sans-serif;
    color: #ffffff;
    font-size: 60px;
    font-weight: bold;
    text-align: center;
    line-height: 50px;
}

#etrKeyPad .key2 {
	width:97px;
}

#etrKeyPad .key:nth-child(2),
#etrKeyPad .key:nth-child(3),
#etrKeyPad .key:nth-child(4),
#etrKeyPad .key:nth-child(5) {
	margin:20px 10px 0 8px;
}

#etrKeyPad .key:nth-child(1),
#etrKeyPad .key:nth-child(6),
#etrKeyPad .key:nth-child(11),
#etrKeyPad .key:nth-child(16) {
	margin-left: 20px;
}


.etr_input .mn{
	/* font-family: 'Baloo Paaji', MathJax_Main, 'Nanum Gothic', sans-serif!important; */
}

/* .MathJax .mfrac>span>span:nth-child(3)>span:nth-child(1) {
	height:6px!important;
} */

#content_area {
	top:0px; left:0px;
	width:1280px; height:800px;
	/* overflow: hidden; */
}

#qus {
    top: 40px;/*기존 25px*/
    left: 50px;
    width: 1100px;
    height: 70px;
    z-index: 1;
}
#qus>p {
	font-family: 'KoPubDotumB';
	font-weight: bold;
	font-size: 35px;/*기존 26px*/
	line-height: 37px;
	text-indent: 0px;
	margin: 0;
}
#btn_answer,#btn_next {
    right: 18px;
    bottom: 15px;
}

#btn_reset {
    top: 20px;
    right: 15px;
}

#pages {
	top:115px; left:0px;
	width:1250px;
	height:685px;
	overflow-y: auto;
	overflow-x: hidden;
}
#pages::-webkit-scrollbar {
	width:15px;
}
#pages::-webkit-scrollbar-thumb {
	border-radius: 10px;
	background-color: rgba(26, 144, 223, 0.8);
}
#pages::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	-moz-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
	border-radius: 10px;
	margin-top:50px;
	margin-bottom:120px;
}

.etr_page {
	top: 0px;
	display: none;
	width:100%;
	height:100%;
}

#__msgbox {
	position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 600px;
    height: 200px;
    background: rgb(47, 130, 6);
    /* border: 20px ridge; */
    border-radius: 20px;
    border-width: 5px;
    border-style: solid;
    border-color: #a6ab18;
    padding: 1em;
    padding-top: 1.5em;
	color: white;
	font-size: 50px;
	font-family: 'Rix밝은굴림', sans-serif;
	box-shadow: 5px 5px 10px #000;
	text-align: justify;
}
#__msgbox>.btn_close {
	position: absolute;
    top: 5px;
    right: 5px;
    width: 25px;
    height: 25px;
    line-height: 25px;
    color: #000;
    background: rgb(171, 94, 24);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 1px 1px 1px #000;
}
#__msgbox>.text {
	padding-right: 1em;
	padding-bottom: 1em;
}
