﻿html, body {
    padding: 0;
    margin:0;
}

body {
    background-color: #faf6ec;
    /* background: url(../images/bg.png) no-repeat; */
}

* {
    border: none;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;

	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none;   /* Chrome/Safari/Opera */
	-khtml-user-select: none;    /* Konqueror */
	-moz-user-select: none;      /* Firefox */
	-ms-user-select: none;       /* Internet Explorer/Edge */
	user-select: none;			 /* Non-prefixed version, currently not supported by any browser */

	-webkit-tap-highlight-color: #B2D8FF;
	-webkit-tap-highlight-color: transparent;
}

#container {
    position: absolute;
    /* width: 1920px;
    height: 1080px; */
    width: 1125px;
    height: 760px;
    /* background-color: #faf6ec; */
    background: url(../images/bg.png) no-repeat;
}

.content{
    position: absolute;
    /* width: 1440px; */
    width: 1025px;
    height: 660px;
    margin: auto;
    top: -50px;
    /* left: 0; */
    left: 0px;
    right: 0;
    bottom: 0;
}

/*활동 버튼*/
.timer_btn{
    position: absolute;
    top: 30px;
    left: 110px;
    width: 300px;
    height: 65px;
    background: url(../images/timerBtn.png) no-repeat;
    background-size: 100% 100%;
}

.btn{
    width: 135px;
    height: 40px;
    color: #fff;
    font-size: 20px;
    text-align: center;
    float: left;
    border: 1px solid #393939;
    background: #4A4C4E;
    border-radius: 25px;
    padding-top: 9px;
    margin: 7px 0 0 8px;
    font-weight: bold;
    cursor: pointer;
}

.btn_on{
    background: linear-gradient(180deg, rgba(250,101,89,1) 34%, rgba(245,60,45,1) 100%);
}

.activity_timeTable {
    position: absolute;
    /* width: 1220px; */
    width: 692px;
    height: 229px;
    background: url(../images/border_bg.png) no-repeat;
    background-size: 100% 100%;
    top: 230px;
    left: 25px;
}

.timer_box {
    width: 100%;
    height: 660px;
}

/*활동타이머 타이틀*/
.timer_title {
    position: absolute;
    top: 40px;
    left: 30px;
}
.timer_title p {
    font-family:'Noto Sans KR';
    font-weight: bold;
    font-size: 50px;
    color:#363636;
}
.timer_title img {
    vertical-align: -4px;
    width: 50px;
}

/*활동타이머*/
.timeTable_text{
    width: 100%;
    height: 229px;
    font-size: 110px;
    color: #fff;
    font-family: 'BMJUA';
    text-align: center;
    /* padding-top: 70px; */
    /* vertical-align: middle; */
    line-height: 220px;
    margin-top: 0px;
}

/*숫자 키패드*/
.keypad {
    position: absolute;
    top: 445px;
    width: 880px;
    left: 50px;
}

.number_btn{
    float: left;
    margin-top: 25px;
    margin-right: 12px;
    cursor: pointer;
    /* margin: 10px; */
    width: 160px;
    height: 159px;
}

.number_btn.on {
    /* filter: invert(1); */
    width: 152px;
    height:159px;
    margin-right: 20px;
}

.number_btn img{
    width: 100%;
}

#num5, #num0 {
    margin-right:0px;
}

/*버튼 선택 박스*/
.activitySelect_box {
    position: absolute;
    width: 160px;
    top: 127px;
    left: 795px;
    z-index: 1;
}

.select_btn{
    float: left;
    /* margin-left: 15px; */
    cursor: pointer;
    width: 76px;
}
.select_btn img {
    /* width: 110px; */
    width:100%;
}
.bomb_btn {
    display:none;
}
.sand_btn {
    margin-left: 8px;
}

.activityBtn_box {
    position: absolute;
    top: 495px;
    left: 195px;
    width: 376px;
}
.activityBtn_box .startBtn {
	display: block;
	width: 182px;
	height: 68px;
	position: absolute;
	top: 0px;
	left: 0px;
}

.activityBtn_box .resetBtn {
    width: 182px;
    height: 68px;
    position: absolute;
    top: 0;
    left: 195px;
}

.activityBtn_box img{
    width: 100%;
    cursor: pointer;
}

.activityBtn_box .pauseBtn,
.activityBtn_box .restartBtn {
    display: none;
    width: 182px;
    height: 68px;
    position: absolute;
    top: 0px;
    left: 0px;
}

/*스톱워치*/
.stopWatch_box{
    display: none;
}
.timeTable_second{
    /* width: 82%; */
    width: 950px;
    font-size: 210px;
    color: #fff;
    font-family: 'BMJUA';
    text-align: right;
    padding-top: 50px;
}

.timeTable_milliSecond{
    position: absolute;
    bottom: 70px;
    left: 960px;
    font-size: 120px;
    color: #fff;
    font-family: 'BMJUA';
    text-align: center;
    padding-top: 100px;
    display: inline-block;
    width: 260px;
}

/*기록판*/
.record_box{
    position: absolute;
    left: 110px;
    top: 480px;
    width: 760px;
    height: 375px;
    border: 3px solid #9BAAB9;
    border-radius: 25px;
    background: #E3EAF1;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'BMJUA';
}

.record_box .row {
    position: relative;
    width: 700px;
    height: 55px;
    left: 30px;
    /* background-color: #fff; */
    border-bottom: 2px solid #ADBAC7;
    margin-top: 10px;
    margin-bottom: 15px;
}

.record_box .row .seq {
    position: relative;
    float: left;
    top: 50%;
    width: 75px;
    /* height: 75px; */
    margin-top: -17px;
    /* margin-left: 20px; */
    color: #ffffff;
    /* width: 45px; */
    height: 75px;
    line-height: 78px;
    font-size: 40px;
    border-radius: 100%;
    background: #6D6D6D;
    /* padding: 15px 0px; */
    /* vertical-align: -25px; */
    text-align: center;
}

.record_box .row .record {
    position: relative;
    float: left;
    top: 50%;
    margin-top: -17px;
    margin-left: 30px;
    color: #FC682A;
    font-size: 72px;
}

.record_box .row .remove_row {
    position: absolute;
    bottom: 6px;
    right: 10px;
    width: 40px;
    cursor: pointer;
}

/*버튼 선택 박스*/
.stopWatchBtn_box{
    position: absolute;
    top: 474px;
    left: 953px;
    cursor: pointer;
}

.closeBtn {
    display: block;
    position: absolute;
    top: 30px;
    right: 40px;
    width: 40px;
    height: 40px;
    background: url(../images/kkamkkamBox_close.png) no-repeat;
    background-size: 40px 40px;
    cursor: pointer;
}

.timer_box.run .activity_timeTable {
    /* transform-origin: 100% 40%;
    transform: scale(0.45); */
}

.timer_box.run .hh {
    display: inline-block;
    width: 135px;
}


.timer_box.run .mm {
    display: inline-block;
    width: 135px;
}


.timer_box.run .ss {
    display: inline-block;
    width: 135px;
}



/* .timer_box.run .hh,
.timer_box.run .mm,
.timer_box.run .ss {
    display: inline-block;
    width: 135px;
} */

/*
.timer_box.run .timeTable_text {
    font-size: 180px;
} */

.timer_box .timeTable_text .millisec {
    display: none;
    font-size: 118px;
    vertical-align: middle;
    width: 200px;
}

/* .timer_box.run .timeTable_text .millisec {
    display: inline-block;
} */

.timer_box.run .keypad,
.timer_box.run .activitySelect_box {
    /* display: none; */
}
/*
.timer_box.run .activityBtn_box {
    top: 470px;
} */

.timer_box .timer_animate_box {
    display: none;
    position: absolute;
    top: 70px;
    left: 620px;
    width: 256px;
    height: 323px;
    transform-origin: 0 0;
    -webkit-transform: scale(2);
    -moz-transform: scale(2);
    -ms-transform: scale(2);
    transform: scale(2);
}

.timer_box.run .timer_animate_box {
    display: block;
}

.timer_box.run .timer_animate_box .timer_animate1,
.timer_box.run .timer_animate_box .timer_animate2 {
    width: 100%;
    height: 100%;
    background-size: auto 60%;
    background-position: center;
    background-repeat: no-repeat;
}

.timer_ani {
    position: absolute;
    bottom: 60px;
    left: 25px;
    width: 704px;
}

.timer_ani .start_end {
    width:100%;
}

.timer_ani .start, .timer_ani .end {
    width:77px;
    position: absolute;
    top: -2px;
    z-index: 1;
}
.timer_ani .start {
    left: 0;
}
.timer_ani .end {
    right: 0;
}

.timer_ani .se_bar {
    position: absolute;
    top: 20px;
    left: 45px;
    width: 615px;
    height: 20px;
    background: #434343;
}

.timer_ani .start_end_boat {
    position: absolute;
    bottom: 35px;
    left: 130px;
    width: 199px;
}
.timer_ani .start_end_line {
    width: 10px;
    height: 8px;
    background: #faf6ec;
    position: absolute;
    top: 26px;
    left: 76px;
    border-radius: 10px 10px 10px 10px;
}

.timer_animate2 .sand_clock {
    position: absolute;
    background: url(../img/clock.png) no-repeat center;
    background-size: 100%;
    margin:auto;
    top:69px;
    left: 0; right: 0;
    width:94px;
    height: 177px;
}

.timer_animate2 .sand_clock .sand {
    position: absolute;
    top: 30px;
    left: 9px;
    width: 76px;
}

/* 오브젝트 */

#cloud1 {
	position:absolute;
	top: 294px;
    left: 90px;
}

#cloud2 {
	position:absolute;
	top: 466px;
    left: -5px;
}

#balloon1 {
	position:absolute;
	top: 171px;
    left: 1847px;
}

#balloon2 {
	position:absolute;
	top: 295px;
    left: 1771px;
}

/*시간*/

#hr{
    position: absolute;
    top: 135px;
    left: 25px;
    z-index: 5;
    /* width: 330px;
    height: 105px;
    border-radius: 15px;
    font-size: 50px;
    padding: 10px 25px; */
}

#mn{
    position: absolute;
    top: 135px;
    left: 260px;
    z-index: 5;
    /* width: 330px;
    height: 105px;
    border-radius: 15px;
    font-size: 50px;
    padding: 10px 25px; */
}

#sc{
    position: absolute;
    top: 135px;
    left: 495px;
    z-index: 5;
    /* width: 330px;
    height: 105px;
    border-radius: 15px;
    font-size: 50px;
    padding: 10px 25px; */
}

select{
    font-family:'NotoSansM';
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url(../images/select.png) no-repeat 95% 50%;
    background-color: #fff;
}

select::-ms-expand{
    display: none;
}


/**
    Custom Select box style
**/
div.selectui {
    position:absolute;
    background:#fff;
    border-radius:15px;
    height: 70px;
    padding: 0;
    width: 224px;
    font-size: 50px;
    font-weight: bold;
    font-family: 'Noto Sans KR', sans-serif;
    box-sizing: border-box;
    border: 2px solid #afb0b1;
}

div.selectui.open {
    border-radius:15px 15px 0 0;
}

div.selectui label.select_text {
    font-size: 28px;
    font-weight:bold;
    line-height: 66px;
    padding: 0 25px;
    font-family: 'Noto Sans KR', sans-serif;
    display: block;
    height: 70px;
    position: relative;
}

div.selectui .select_arrow {
    position:absolute;
    margin:auto;
    top:0; bottom:0;
    right:15px;
    /* width: 55px;
    height: 55px; */
    width: 37px;
    height: 37px;
    cursor: pointer;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: transform 0.3s;
    -moz-transition: transform 0.3s;
    transition: transform 0.3s;
}

div.selectui .select_arrow.on {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    transform: rotate(180deg);
}

div.selectui .select_arrow>svg {
    width:100%;
    height:100%;
    -webkit-transform:rotate(180deg);
    -moz-transform:rotate(180deg);
    transform:rotate(180deg);
    -webkit-transition: transform 0.3s;
    -moz-transition: transform 0.3s;
    transition: transform 0.3s;
}

div.selectui.open .select_arrow>svg {
    -webkit-transform:rotate(0deg);
    -moz-transform:rotate(0deg);
    transform:rotate(0deg);
}

div.selectui ul.select_items {
    position: absolute;
    top: 68px;
    width: 100%;
    background: #ececec;
    left: -2px;
    /* height: 308px; */
    height: 200px;
    border-radius: 0 0 15px 15px;
    overflow: hidden;
    overflow-y: auto;
    font-weight: normal;
    font-size: 32px;
    display: none;
    border: 2px solid #afb0b1;
    border-top: none;
}

div.selectui.open ul.select_items {
    display: block;
}

div.selectui ul.select_items li {
    border-bottom: 1px solid #afb0b1;
    height: 49px;
    padding-left: 26px;
    line-height: 50px;
    cursor: pointer;
    font-size: 28px;
    color: #3e3e3e;
}

div.selectui ul.select_items li:last-child {
    border-bottom: 0px;
}

div.selectui ul.select_items li.select,
div.selectui ul.select_items li:hover {
    background: #cccccc;
}


/**************************************** 스크롤 ****************************************/
::-webkit-scrollbar {
    width: 11px;
}
::-webkit-scrollbar-button {
    background:transparent;
}
::-webkit-scrollbar-corner {
    width:0;
    height:0;
}
::-webkit-scrollbar-button:start:decrement, ::-webkit-scrollbar-button:end:increment {
    display: block;
    height:30px;
    background:transparent;
}
::-webkit-scrollbar-track {
    background: #d9d9d9;
    border-radius: 10px;
    box-shadow: inset 0 0 4px rgba(0,0,0,.2);
}
::-webkit-scrollbar-thumb {
    /* background: rgba(159,134,128,.2); */
    background: #b7b7b8;
    border-radius: 8px;
    /* box-shadow: inset 0 0 4px rgba(0,0,0,.1); */
}