/* toolbar */

.fullscreen#full {
    position: absolute;
    margin: 0px;
    padding: 0px;
    top: 0.65vh;
    left: 4.95vh;
    width: 8.33vh;
    height: 8.33vh;
    background:  url('../assets/ui/fullOff2.svg');
    background-size: 100%;
}

.fullscreen.presentationmode#full {
    left: 0px;
    top: 0px;
    background:  url('../assets/ui/fullOn2.svg');
    background-size: 100%;
}

.gridToggle {
    position: absolute;
    margin: 0px;
    padding: 0px;
    top: 0.65vh;
    left: 13.54vh;
    width: 8.33vh;
    height: 8.33vh;
}

.gridToggle.off {background:  url('../assets/ui/gridOn.svg'); background-size: 100%; }
.gridToggle.on {background:  url('../assets/ui/gridOff.svg'); background-size: 100%; }

.addText {
    position: absolute;
    margin: 0px;
    padding: 0px;
    top: 0.65vh;
    left: 37.89vh;

    width: 8.33vh;
    height: 8.33vh;
    background:  url('../assets/ui/addText.svg');
    background-size: 100.5%; /* webview pixelates the image unless we do this */
}

.addText:active {
    background:  url('../assets/ui/addTextPressed.svg');
    background-size: 100.5%; /* webview pixelates the image unless we do this */
}

.changeBkg {
    position: absolute;
    margin: 0px;
    padding: 0px;
    top: 0.65vh;
    left: 29.3vh;

    width: 8.33vh;
    height: 8.33vh;
    background:  url('../assets/ui/scene1.svg');
    background-size: 100%;
}

.changeBkg:active {background:  url('../assets/ui/scenePressed1.svg'); background-size: 100%; }


.resetall {
    position: absolute;
    margin: 0px;
    padding: 0px;
    top: 0.65vh;
    left: 53.13vh;
    background:  url('../assets/ui/resetAll.svg');
    background-size: 100.5%; /* webview pixelates the image unless we do this */
    width: 8.33vh;
    height: 8.33vh;
}

.resetall:active {
    background:  url('../assets/ui/resetAllPressed.svg');
    background-size: 100.5%; /* webview pixelates the image unless we do this */
}

.resetall.presentationmode {
    position: absolute;
    left: 126.17vh;
    top: 15.63vh;
}

.resetall.nopresent {
    top: 0.65vh;
    left: 53.13vh;
}

.go {
    position: absolute;
    margin: 0px;
    padding: 0px;
    top: 0.65vh;
    left: 61.72vh;
    width: 8.33vh;
    height: 8.33vh;
    background:  url('../assets/ui/go.svg');
    background-size: 100%;
}

.go.on {background:  url('../assets/ui/go.svg'); background-size: 100%; }

.go.off:active {background:  url('../assets/ui/goPressed.svg'); background-size: 100%; }

.go.off {background:  url('../assets/ui/stop1.svg'); background-size: 100%; }

.go.on:active {background:  url('../assets/ui/stopPressed1.svg'); background-size: 100%; }

.go.on.presentationmode, .go.off.presentationmode {
    position: absolute;
    right: 0vh;
    left: initial;
    top: 0px;
}

.go.on.nopresent, .go.off.nopresent {
    position: absolute;
    top: 0.65vh;
    left: 61.72vh;
    background: blue;
}


/* stage text edit */

.pagetext {
    background: #4682B5;
    border: 1px solid #355E7C;
    position: absolute;
    overflow: hidden;
    width: 63.28vh;
    height: auto;
    min-height: 10.42vh;
    margin: 0px;
    padding: 0px;
    -webkit-box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5), 0 1px 2px rgba(0, 0, 0,0);
    -webkit-border-bottom-left-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
    z-index: 20;
}

.pageform {
    position: relative;
    left: 0px;
    margin: 0.65vh 0px 0.65vh;
    padding: 0px;
    width: 62.5vh;
    height: auto;
}

*.edittext{
    position: absolute;
    margin: 0px;
    padding: 0px;
    text-align: center;
    font-family: Helvetica;
    font-weight: bold;
    border: 2px solid #355E7C;
    -webkit-border-radius: 8px;
    cursor: default;
    background: white;
    width: 62.5vh;
    outline: 0px;
}

.pagetextactions {
    position: relative;
    left: 0px;
    margin: 0.65vh 0px 0.65vh;
    padding: 0px;
    width: 63.28vh;
    height: 8.59vh;
    z-index: 50;
}

.pagetext.on {display: block;}
.pagetext.off {display: none;}


*.textuicolormenu {
    position: relative;
    background: #4682B5;
    display: inline-block;
    position: relative;
    margin: -0.65vh 0px 0.65vh;
    padding: 0px;
    width: 66.41vh;
    height: 7.03vh;
}

*.textuifont {
    position: relative;
    background: #4682B5;
    display: inline-block;
    position: relative;
    margin: -5.21vh 0px 0px;
    padding: 0px;
    width: 66.41vh;
    height: 10.42vh;
    z-index: 2;
}

*.textuicolormenu.on, *.textuifont.on {display: inline-block;}
*.textuicolormenu.off, *.textuifont.off {display: none;}

*.textcolorbucket {
    display: inline-block;
    position: relative;
    margin: 0px;
    padding: 0px;
    width: 6.25vh;
    height: 7.03vh;
    -webkit-user-select: none;
}

.fontsizeText {
    position: absolute;
    margin: 0px;
    padding: 0px;
    left: 1.3vh;
    width: 13.02vh;
    height: 8.59vh;
}

.fontsizeText.off {	background:  url('../assets/ui/WordSizeOff.svg'); background-size: 102%; }
.fontsizeText.on {	background:  url('../assets/ui/WordSizeOn.svg'); background-size: 102%; }

.changecolorText {
    position: absolute;
    margin: 0px;
    padding: 0px;
    left: 52.08vh;
    width: 10.94vh;
    height: 8.59vh;
}

.changecolorText.off {	background:  url('../assets/ui/PaintcanOff.svg'); background-size: 103%; }
.changecolorText.on {	background:  url('../assets/ui/PaintcanOn.svg'); background-size: 103%; }

.textuisize {
    display: inline-block;
    position: relative;
    margin: 0px 1.95vh 0px;
    padding: 0px;
    padding: 0px;
    height: 10.42vh;
    color: #ffffff;
    text-shadow: 0 0.26vh #000;
    line-height: 13.02vh;
    font-weight: bold;
    font-family: Roboto;
}

.textuisize.t1{ font-size: 1.56vh;}
.textuisize.t2{ font-size: 2.08vh;}
.textuisize.t3{ font-size: 3.13vh;}
.textuisize.t4{ font-size: 4.69vh;}
.textuisize.t5{ font-size: 6.25vh;}
.textuisize.t6{ font-size: 7.29vh;}
.textuisize.t7{ font-size: 9.38vh;}

.textuisize.t1.on, .textuisize.t2.on, .textuisize.t3.on, .textuisize.t4.on,
.textuisize.t5.on, .textuisize.t6.on, .textuisize.t7.on { color: #ffcc00;}

.textuisize.t1.off, .textuisize.t2.off, .textuisize.t3.off, .textuisize.t4.off,
.textuisize.t5.off, .textuisize.t6.off, .textuisize.t7.off { color: #ffffff;}


/* stage */

#stageframe {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    width: 70.57vh;
    height: 61.2vh;
}

#stageframe .stage {
    background: #ffffff;
    position: absolute;
    margin: 0px;
    margin-bottom: 5px;
    overflow: hidden;
    width: 480px;
    height: 360px;
    border: 1px solid #B3B3B3;

    /*-webkit-box-shadow: 1px 1px 3px #D0D1D2;*/
}

*.stage.fullscreen {
    position: absolute;
    border: 0px solid #4d4e4e;
    width: 480px;
    height: 360px;
    overflow: hidden;
    background: none;
    /* -webkit-box-shadow: 1px 1px 1px #4d4e4e; */
}



*.stage.normal {
    position: absolute;
    width: 480px;
    height: 360px;
    border: 1px solid #D0D1D2;
    overflow: hidden;
    -webkit-box-shadow: 1px 1px 3px #D0D1D2;
}

*.stagepage {
    position: absolute;
    width: 480px;
    height: 360px;
    -webkit-transform-style: preserve-3d;
    -webkit-text-size-adjust: auto;
}

#stageframe .stage.editable { left: 92px;}

#stageframe .stage.noteditable { left: 26px;}

#stageframe .grid {
    position: absolute;
    left: 93px;
    top: 2px;
    width: 482px;
    height: 362px;
    z-index: 10;
    background: yellow;
}

#stageframe .rownum{
    position: absolute;
    left: 68px;
    top: 364px;
    width: 512px;
    height: 24px;
    z-index: 10;
    background: lime;
}

#stageframe .colnum{
    position: absolute;
    left: 68px;
    top: 2px;
    height: 380px;
    width: 24px;
    z-index: 10;
    background: lime;
}

.nextpage {
    position: fixed;
    bottom: 0;
    right: 0;
    margin: 0px 1.04vh 1.3vh;
    width: 6.51vh;
    height: 6.51vh;
    z-index: 10;
    background: url('../assets/ui/nextpage.svg');
    background-size: 100%;
    -webkit-user-select: none;
}

.nextpage:active {background: url('../assets/ui/nextpagePressed.svg'); background-size: 100%; }

.nextpage.on {display: block;}

.nextpage.off {display: none;}

.prevpage {
    position: fixed;
    bottom: 0;
    left: 0;
    margin: 0px 1.3vh 1.3vh;
    width: 6.51vh;
    height: 6.51vh;
    z-index: 10;
    background: url('../assets/ui/prevpage.svg');
    background-size: 100%;
    -webkit-user-select: none;
}

.prevpage:active {background: url('../assets/ui/prevpagePressed.svg'); background-size: 100%; }

.prevpage.on {display: block;}

.prevpage.off {display: none;}


/* Grid */


p.stylelabel {
    position: relative; text-align: center;
    margin-top: 5px;
    color: #C9C9C9;
    font-family: Roboto;
    font-weight: bold;
    margin-left: auto;
    margin-right: auto;
    opacity: 1;
    width: 24;
    font-size: 11px;
    top: 0px;
    margin-bottom: 0px;
    cursor: default;
}

*.circlenum{
    position: relative;
    text-align: center;
    margin-top: 5px;
    color: #ffffff;
    font-family: Roboto;
    font-weight: bold;
    margin-left: auto; margin-right: auto;
    width: 24;
    font-size: 11px;
    top: 0px;
    margin-bottom: 0px;
    cursor: default;
}
