﻿@charset "UTF-8";

html {
    height: 100%;
    padding: 0px;
    width: 100%;
    max-width: 1004px;
    margin: 0px auto;
}

body {
    height: 100%;
    width: 100%;
    /* max-width: 1004px; */
    margin: 0px;
    padding: 0px;
    background: #c7f8ff;
    overflow:scroll;
    position: relative;
}
a:hover,a:focus{
  border: dotted 1px #e2abb7;
}
body,
input {
    font-size: 0.75rem;
}

#dCanvas{
    background: #fff;
    box-shadow: 1px 1px 2px 1px #96969691;
    border-radius: 5px;
}

.option {
    float: left;
    width: 54px;
    height: 55px;
    border: 4px solid #d6d6d6;
    margin-bottom: 17px;
    margin-left: 10px;
    border-radius: 10px;
}
a.option:hover,  a.option:focus {
    border: dotted 4px #e2abb7;
}

.option:before {
    background: url(../../../images/game/drawingboard/color_light.png) no-repeat center center;
    display: block;
    background-size: 100%;
    width: 100%;
    height: 100%;
    content: "";
}

.active {
    border: 4px solid #999;
}

.lw {
    text-align: center;
    vertical-align: middle;
}

img.output {
    border: 1px solid green;
}

#cSketchPad {
    cursor: arrow;
}
#cSketchPad2{
    position:absolute;
    top: 0px;
    left: 0px;
}

.wrapper {
    width: 1004px;
    /*max-width: 1004px;*/
    background: #b0de6e url(../../../images/game/drawingboard/bg.jpg) no-repeat center ;
    background-size: 100%;
    height: 100%;
    max-height: 700px;
    margin:0px;
    overflow-y:hidden;
    position: relative;
}

@media (max-width: 750px) {
    .wrapper {
        width: 568px;
        height: 320px;
        margin:0px auto;
    }
}
@media (max-width: 450px) {
    .wrapper {
        width: 100%;
        height: 100%;
    }
}

.wrapper:after {
    display: block;
    clear: both;
    content: "";
}

#dPallete {
    float: left;
    width: 20%;
    background: url(../../../images/game/drawingboard/color_bg.png) no-repeat center top;
    padding: 60px 0px;
    padding-left: 2%;
    margin-top: -25px;
}

#dPallete:after {
    display: block;
    clear: both;
    content: "";
}

#true_strokes {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    cursor: none;
    display: none;
    border: solid 1px #e1e1e1;
}

#dCanvas ,#dCanvas2 {
    width: 650px;
    margin: 0 2% 0 0 ;
    float: left;
    cursor: none;
    height: 550px;
    /*position: relative;*/
}
#dCanvas2{
    position: absolute;
    pointer-events: none;
}

#dCanvas:hover {
    cursor: none;
}

#dCanvas:hover #true_strokes {
    display: block;
}

/* #dCanvas canvas {
    box-shadow: 1px 1px 2px 1px #96969691;
    border-radius: 5px;
} */

#dLine {
    float: left;
    width: 10%;
}

.control_box {
    padding: 0px 10px 5px 10px;
}

.control_box ul:after {
    clear: both;
    display: block;
    content: "";
}

.control_box ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.control_box ul li {
    float: left;
}

.control_box ul li .icon {
    border-radius: 5px;
    padding: 10px;
    background: #e6e7e9;
    box-shadow: 1px 1px 3px 1px #929292;
    margin: 10px;
}

.control_box ul li .icon img {
    width: 100%;
    max-width: 30px;
}

.control_box ul li a {
    text-decoration: none;
    display: block;
    text-align: center;
    font-size: 1.0625rem;
    color: #333;
    border: solid 1px rgba(255, 255, 255, 0);
}

.control_box ul li a p {
    padding: 0px;
    margin: 0px;
}

.dLine_box {
    float: left;
    width: 60px;
    background: #e0e0e0;
    margin: 0px 2%;
    border-radius: 5px;
}

.dLine_box * {
    margin: 0;
    padding: 0;
    border: 0;
}

.dLine_box #progress {
    width: 40px;
    height: 422px;
    line-height: 35px;
    margin: 0px auto;
    position: relative;
}

.dLine_box .bar {
    width: 10px;
    height: 280px;
    background: #adadad;
    border-radius: 8px;
    position: relative;
    margin: 10px auto;
}

.dLine_box .pro-value {
    background: #797979;
    border-radius: 5px;
    color: #fff;
    text-align: center;
    font-size: 1.125rem;
    margin: 10px 0px;
}

.dLine_box .hang {
    width: 0;
    height: 100%;
    background: #f40;
    border-radius: 8px 0 0 8px;
}

.dLine_box span.point {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #9c9c9c;
    position: absolute;
    /* left: -50%; */
    margin-left: -8px;
    top: -7px;
    cursor: pointer;
    background: rgb(160, 160, 160);
    /* Old browsers */
    background: -moz-radial-gradient(center, ellipse cover, rgba(160, 160, 160, 1) 0%, rgba(142, 142, 142, 1) 44%, rgba(117, 117, 117, 1) 100%);
    /* FF3.6-15 */
    background: -webkit-radial-gradient(center, ellipse cover, rgba(160, 160, 160, 1) 0%, rgba(142, 142, 142, 1) 44%, rgba(117, 117, 117, 1) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: radial-gradient(ellipse at center, rgba(160, 160, 160, 1) 0%, rgba(142, 142, 142, 1) 44%, rgba(117, 117, 117, 1) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a0a0a0', endColorstr='#757575', GradientType=1);
    /* IE6-9 fallback on horizontal gradient */
}

.strokes {
    width: 100%;
    height: 50px;
    text-align: center;
    border-bottom: solid 1px #c7c7c7;
    vertical-align: middle;
    line-height: 50px;
}

.strokes span {
    display: inline-block;
    position: relative;
    margin: 0px;
    left: 0px;
    top: 0px;
    left: 0px;
    border-radius: 50%;
    vertical-align: middle;
}

.dLine_box p {
    padding: 0px;
    margin: 0px;
    font-size: 0.9375rem;
    line-height: 19px;
    text-align: center;
}

.wireframes{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
}
.wireframes img{
    width: 100%;
}
.prompt_box{
    display: none;
}

@media screen and (max-width: 750px) {
    .prompt_box{
        display: none;
    }
    .true_strokes{
        display: none;
    }
    .control_box{
        padding-top: 0px;
    }
    .control_box ul li a .icon img{
        width: 50%;
    }
    .control_box ul li .icon{
        padding: 5px;
    }
    .control_box ul li a p{
        font-size: 0.9375rem;
    }
    .dLine_box{
        margin: 0px 1%;
    }
    .dLine_box #progress{
        height: 118px;
    }
    .dLine_box .bar{
        height: 90px;
        display: none;
    }
    #dCanvas{
        height: 250px;
        max-width: 470px;
        width: 73%;
        margin-right: 0px;

    }
    #dPallete{
        background: #ececec;
        padding: 10px 0px;
        margin: 0px;
        border-radius: 5px;
        width: 220px;
        margin-left: 1%;

    }
    .option{
        width: 30px;
        height: 22px;
        margin-bottom: 8px;
        margin-left: 5px;
    }
    .control_box ul li a p {
        display: none;
    }
}
@media screen and (max-width: 500px) {
    .prompt_box{
        display: block;
        background: rgba(181, 255, 250, 0.9);
        position: absolute;
        width: 100%;
        height: 100%;
        padding: 0px;
        margin: 0px;
        z-index: 9999;

    }
    .prompt_box h2{
        font-size: 1.25rem;
        color: #2f2f2f;
    }
    .prompt_box p{
        font-size: 1rem;
        color: #2f2f2f;
    }
    .prompt_box img{
        width: 100%;
        max-width: 150px;
    }
    .prompt{
        max-width: 310px;
        width: 100%;
        margin: 0px auto;
        text-align: center;
        background: #79efe8;
        border-radius: 50%;
        padding-top: 20px;
        padding-bottom: 20px;
        margin-top: 20%;
        border: solid 1px #effffe;
    }
}
a.add_st{
    border-radius: 50%;
    margin: 5px auto;
    width: 30px;
    height: 30px;
    background: #3854d0;
    color: #fff;
    text-align: center;
    line-height: 30px;
    font-size: 1.25rem;
    padding: 0px;
    display: block;
    text-decoration: none;
}
a.less_st{
    display: block;
    border-radius: 50%;
    margin: 0px auto;
    width: 30px;
    height: 30px;
    background: #3854d0;
    color: #fff;
    text-align: center;
    line-height: 30px;
    font-size: 1.25rem;
    padding: 0px;
    text-decoration: none;
}
.description_bg{
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 99;
    width: 100%;
    height: 100%;
    background: rgba(199, 248, 254, 0.93);
}
.description_box{
    margin: 5px auto;
    width: 50%;
    padding: 20px;
    border: solid 8px #ff9191;
    font-size: 1.125rem;
    background: #ffffff;
    border-radius: 20px;
    margin-top: 5%;
    height: 500px;
    overflow-y: scroll;
}
@media screen and (max-width: 750px) {
    .description_box{
      height: 230px;
      overflow: scroll;
      margin-top: 1%;
    }
}
.description_box h2{
  width: 100%;
  text-align: center;
  color: #de4e01 !important;
  padding: 0px;
  margin: 0px;
  /* padding-bottom: 12px; */
  /* background: #111; */
  /* border-bottom: solid 1px #f5d2c2; */
}
.description_box p{
  margin: 0px;
  width: 96%;
  color: #fb797a !important;
  line-height: 31px;
  border-bottom: solid 1px #f9c7cc;
  background: #fff4f5;
  padding: 2%;
}
.description_box p a.sm2_playing{
  background: #7c4e0e;
}
.description_box p a{
    display: block;
    width: 80%;
    text-align: center;
    padding: 0px;
    margin: 0px;
    background: #de8d1b;
    color: #fff;
    border-radius: 20px;
    padding: 5px 10px;
    margin: 10px auto;
}
.description_box p span.title{
  color: #b74142;
  font-weight: bold;
  display: block;
  float: left;
  line-height: 30px;
}
.description_box p span{
  /* float: left; */
  font-size: 1rem;
  line-height: 25px;
  color: #797979;
}
.description_box p:after{
  display: block;
  content: "";
  clear: both;
}
.btn_ground{
  width: 100%;
  /* text-align: center; */
  /* background: #ffd2bc; */
  /* padding: 2%; */
}
.btn_ground a{
  border-radius: 10px;
  background: #de4d00;
  color: #fff;
  text-align: center;
  width: 92%;
  padding: 2% 4%;
  display: block;
  margin: 20px auto 0px;
  text-decoration: none;
}
.btn_ground a:hover,.btn_ground a:focus{
  background: #b43e00;
}

.video_btn{
    display: block;
    width: 74px;
    text-align: center;
    padding: 0px;
    margin: 0px;
    background: #de8d1b;
    color: #fff;
    border-radius: 20px;
    padding: 5px 10px;
    margin: 10px auto;
    text-decoration: none;
    /* position: absolute; */
    font-size: 0.9375rem;
    /* top: 0px; */
    /* right: 0px; */
}
@media (max-width:750px) {
   .dLine_box #progress{
       width: 33px;
   }
   .dLine_box .pro-value{

        font-size: 0.8125rem;

    }
}
.modal-content {
    width: 230px;
    margin: 0 auto;
    background: #fff;
}

.sk-fading-circle {
    margin: 40px auto;
    width: 40px;
    height: 40px;
    position: relative;
}

.sk-fading-circle .sk-circle {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.sk-fading-circle .sk-circle:before {
    content: '';
    display: block;
    margin: 0 auto;
    width: 15%;
    height: 15%;
    background-color: #01252a;
    border-radius: 100%;
    -webkit-animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
    animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
}

.sk-fading-circle .sk-circle2 {
    -webkit-transform: rotate(30deg);
    -ms-transform: rotate(30deg);
    transform: rotate(30deg);
}

.sk-fading-circle .sk-circle3 {
    -webkit-transform: rotate(60deg);
    -ms-transform: rotate(60deg);
    transform: rotate(60deg);
}

.sk-fading-circle .sk-circle4 {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.sk-fading-circle .sk-circle5 {
    -webkit-transform: rotate(120deg);
    -ms-transform: rotate(120deg);
    transform: rotate(120deg);
}

.sk-fading-circle .sk-circle6 {
    -webkit-transform: rotate(150deg);
    -ms-transform: rotate(150deg);
    transform: rotate(150deg);
}

.sk-fading-circle .sk-circle7 {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.sk-fading-circle .sk-circle8 {
    -webkit-transform: rotate(210deg);
    -ms-transform: rotate(210deg);
    transform: rotate(210deg);
}

.sk-fading-circle .sk-circle9 {
    -webkit-transform: rotate(240deg);
    -ms-transform: rotate(240deg);
    transform: rotate(240deg);
}

.sk-fading-circle .sk-circle10 {
    -webkit-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
}

.sk-fading-circle .sk-circle11 {
    -webkit-transform: rotate(300deg);
    -ms-transform: rotate(300deg);
    transform: rotate(300deg);
}

.sk-fading-circle .sk-circle12 {
    -webkit-transform: rotate(330deg);
    -ms-transform: rotate(330deg);
    transform: rotate(330deg);
}

.sk-fading-circle .sk-circle2:before {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.sk-fading-circle .sk-circle3:before {
    -webkit-animation-delay: -1s;
    animation-delay: -1s;
}

.sk-fading-circle .sk-circle4:before {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

.sk-fading-circle .sk-circle5:before {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

.sk-fading-circle .sk-circle6:before {
    -webkit-animation-delay: -0.7s;
    animation-delay: -0.7s;
}

.sk-fading-circle .sk-circle7:before {
    -webkit-animation-delay: -0.6s;
    animation-delay: -0.6s;
}

.sk-fading-circle .sk-circle8:before {
    -webkit-animation-delay: -0.5s;
    animation-delay: -0.5s;
}

.sk-fading-circle .sk-circle9:before {
    -webkit-animation-delay: -0.4s;
    animation-delay: -0.4s;
}

.sk-fading-circle .sk-circle10:before {
    -webkit-animation-delay: -0.3s;
    animation-delay: -0.3s;
}

.sk-fading-circle .sk-circle11:before {
    -webkit-animation-delay: -0.2s;
    animation-delay: -0.2s;
}

.sk-fading-circle .sk-circle12:before {
    -webkit-animation-delay: -0.1s;
    animation-delay: -0.1s;
}

@-webkit-keyframes sk-circleFadeDelay {
    0%,
    39%,
    100% {
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
}

@keyframes sk-circleFadeDelay {
    0%,
    39%,
    100% {
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
}
.loading_box{
    background: #fff;
    border-radius: 20px;
    width: 120px;
    height: 120px;
    margin: 20% auto;
    padding: 20px;
}