/* 
    Created on : Jun 30, 2016, 10:28:39 AM
    Author     : samudra
*/
 * { -webkit-tap-highlight-color:rgba(0,0,0,0); }
@font-face {
    font-family: 'digital-7regular';
    src: url('../fonts/digital-7-webfont.eot');
    src: url('../fonts/digital-7-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/digital-7-webfont.woff2') format('woff2'),
         url('../fonts/digital-7-webfont.woff') format('woff'),
         url('../fonts/digital-7-webfont.ttf') format('truetype'),
         url('../fonts/digital-7-webfont.svg#digital-7regular') format('svg');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'open_sansitalic';
    src: url('../fonts/opensans-italic-webfont.eot');
    src: url('../fonts/opensans-italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/opensans-italic-webfont.woff2') format('woff2'),
         url('../fonts/opensans-italic-webfont.woff') format('woff'),
         url('../fonts/opensans-italic-webfont.ttf') format('truetype'),
         url('../fonts/opensans-italic-webfont.svg#open_sansitalic') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'open_sansbold';
    src: url('../fonts/OpenSans-Bold-webfont.eot');
    src: url('../fonts/OpenSans-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/OpenSans-Bold-webfont.woff') format('woff'),
         url('../fonts/OpenSans-Bold-webfont.ttf') format('truetype'),
         url('../fonts/OpenSans-Bold-webfont.svg#open_sansbold') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'open_sansregular';
    src: url('../fonts/OpenSans-Regular-webfont.eot');
    src: url('../fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/OpenSans-Regular-webfont.woff') format('woff'),
         url('../fonts/OpenSans-Regular-webfont.ttf') format('truetype'),
         url('../fonts/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
*{ margin: 0; padding: 0; }
body{ 
    background: #a8a9ad; font-family: open_sansregular; font-size: 18px; line-height: 20px; 
    user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
}
#container{ overflow: hidden; display: block; width: 980px; height: 680px; margin: 0 auto; background: #fff; border-radius: 5px; position: relative; }

/* content body css */
#contentbody { padding: 3%; position: absolute; width: 94%;}
#canvas-container { overflow: hidden; }
#canvas-arrow {
    left: 0;
    position: absolute;
    user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
}
#contentbody > .numText {
    borderm: 2px solid #a8a9ad;
    height: 65px;
    left: 0;
    position: absolute;
    top: 560px;
    width: 99.8%;
    opacity: 0;
    cursor: pointer;
}
.drawing-elements,.drawing-elements > div{ position: absolute; top: 20px; z-index: 9; }
#circle{
    left: 50px;
    top: 32px;
    width: 31px;
    height: 31px;
    border-radius: 100%;   
    cursor: pointer;
    background: #F16560;
    background: url("../images/addPoint_active.png");
}
#circle.disable{ background: url("../images/addPoint_inactive.png"); }
#rArrowCircle{
    left: 130px;
    width: 70px;
    height: 48px;  
    cursor: pointer;
    background: #F16560;
    background: url("../images/arrowForward_active.png") no-repeat scroll 0 0 / cover;
}
#rArrowCircle.disable{ background: url("../images/arrowForward_inactive.png") no-repeat scroll 0 0 / cover;}
#lArrowCircle{
    left: 230px;
    width: 70px;
    height: 48px;  
    cursor: pointer;
    background: #F16560;
    background: url("../images/arrowBackward_active.png") no-repeat scroll 0 0 / cover;
}
#lArrowCircle.disable{ background: url("../images/arrowBackward_inactive.png") no-repeat scroll 0 0 / cover; }
#line{
    left: 330px;
    top: 35px;
    width: 90px;
    height: 14px;   
    cursor: pointer;
    background: #F16560;
    background: url("../images/difference_active.png") no-repeat scroll 0 0 / cover;
}
#line.disable{ background: url("../images/difference_inactive.png") no-repeat scroll 0 0 / cover; }
#erasar{
    left: 470px;
    width: 51px;
    height: 43px;
    cursor: pointer;
    background: #F16560;
    background: url("../images/eraser_active.png");
}
#erasar.disable{ background: url("../images/eraser_inactive.png"); }
#lock{
    left: 750px;
    width: 75px;
    height: 48px;   
    cursor: pointer;
    background: #F16560;
    background: url("../images/lockClosed.png") repeat scroll 0 0 / cover;
}
#lock.disable{ background: url("../images/lockOpened.png") repeat scroll 0 0 / cover; }
#settings{
    left: 840px;
    width: 75px;
    height: 50px;  
    cursor: pointer;
    background: #F16560;
    background: url("../images/setting.png") repeat scroll 0 0 / cover;
}
.x5 {
    border-top: 2px solid #a8a9ad;
    height: 61px;
    left: 0;
    line-height: 61px;
    position: absolute;
    text-align: center;    
    display: table-cell;
    vertical-align: middle;
    width: 100%;
    top:560px;
}
math,fmath, .x5 > * {
    display: table-cell;
    font-family: open_sansbold;
    vertical-align: middle;
    height:61px;
}
span.frac {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
}
span.frac > sup {
    border-bottom: 1px solid;
    display: block;
    font: inherit;
}
span.frac > sub {
    display: block;
    font: inherit;
}
span.frac > span {
    display: none;
}
#input-container { display: none; }
/* popup css */

#mask{ position: absolute; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); border-radius: 5px; }
#popup,#popup-settings {
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    position: relative;
    border-radius: 5px;
    z-index: 9;
}
#popup-settings { display: none; }
#popup-content,#popup-content1{
    color: white;
    width: 50%;
    padding: 10px;
    background: #8f6daa none repeat scroll 0 0;
    border: 3px solid #ffe00f;
    border-radius: 5px;
    height: 150px;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    margin: auto;
    bottom: 0;
}
#popup-content1{ height: 400px; width: 56%; }
#popup-content1 input[type='text']{
    width: 50px;
    height: 25px;
    border:1px solid #a8a9ad;
    border-radius: 5px;
    text-align: center;
    font-size: 18px;
}
.table{ width: 100%; }
.table > div { display: table-cell; }
.table > div:first-child { width: 70%; }
.table > div:last-child { width: 30%; }
.button{ text-align: center; margin-top: 60px !important; }
.button > button, .inner-popup > button{
    border: 2px solid #BDD63B;
    border-radius: 5px;
    color: #fff;
    font-size: 20px;
    padding: 5px 20px;
    text-shadow: 0 1px 5px #000;
    cursor: pointer;
    background: rgba(255,175,75,1);
    background: -moz-linear-gradient(top, rgba(255,175,75,1) 41%, rgba(251,159,64,1) 50%, rgba(247,138,48,1) 62%, rgba(242,117,33,1) 74%);
    background: -webkit-gradient(left top, left bottom, color-stop(41%, rgba(255,175,75,1)), color-stop(50%, rgba(251,159,64,1)), color-stop(62%, rgba(247,138,48,1)), color-stop(74%, rgba(242,117,33,1)));
    background: -webkit-linear-gradient(top, rgba(255,175,75,1) 41%, rgba(251,159,64,1) 50%, rgba(247,138,48,1) 62%, rgba(242,117,33,1) 74%);
    background: -o-linear-gradient(top, rgba(255,175,75,1) 41%, rgba(251,159,64,1) 50%, rgba(247,138,48,1) 62%, rgba(242,117,33,1) 74%);
    background: -ms-linear-gradient(top, rgba(255,175,75,1) 41%, rgba(251,159,64,1) 50%, rgba(247,138,48,1) 62%, rgba(242,117,33,1) 74%);
    background: linear-gradient(to bottom, rgba(255,175,75,1) 41%, rgba(251,159,64,1) 50%, rgba(247,138,48,1) 62%, rgba(242,117,33,1) 74%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffaf4b', endColorstr='#f27521', GradientType=0 );
}
#popup-body1 > div {  margin: 10px 0; }
#popup-body1 > div:first-child {  margin: -15px 0 10px; }
#wholeDecIvl > input[type='radio'], #fractionIvl > input[type='radio'],#wholeDecIvl > label, #canvas-arrowfractionIvl > label
{ margin-right: 10px; }
.interval{ display: none; position: absolute; }
#wholeDecIvl{ display: block; }
#wholeDecIvl, #fractionIvl{margin-top: 10px; }
#popup-hedader,#popup-hedader1 { height: 35px; position: relative; }
#popup-hedader1 { margin-left: 150px; }
#popup-close,#popup-close1 {
    border: 2px solid #fff;
    border-radius: 100%;
    display: table-cell;
    font-family: open_sansbold;
    font-size: 14px;
    height: 20px;
    position: absolute;
    right: 0;
    text-align: center;
    text-shadow: 0 2px #000;
    top: 0;
    vertical-align: middle;
    width: 20px;
    cursor: pointer;
    line-height: 18px;
}
#popup-info{
    width: 34px; 
    height: 34px;
    background: rgba(0, 0, 0, 0) url("../images/btInfoOn@2x.png") no-repeat scroll 0 0 / cover ;
}
#popup-body{ padding: 15px; line-height: 22px; }
#popup-body1{ padding: 0 15px 5px; line-height: 25px; }
.inner-popup {
    background: #1ABBBC;
    border-radius: 5px;
    height: 50%;
    left: 0;
    position: absolute;
    top: 25%;
    width: 100%;
    text-align: center;
    display: none;
}
.inner-popup > .error {
    color: #000;
    display: table-cell;
    height: 100px;
    padding: 20px;
    position: relative;
    text-align: left;
    vertical-align: middle;
    width: 100%;
    line-height: 30px;
}
/* footer css */
#footer { border-top: 2px solid #a8a9ad; bottom: 0; display: table-cell; height: 55px; position: absolute; vertical-align: middle; width: 100%; }
#instruction{
    display: block;
    height: 45px;
    left: 30px;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    top: 5px;
    width: 775px;
    opacity: 0;
    font-size: 16px;
	font-family: open_sansbold;
}
.single{ top: 16px; }
.double{ top: 8px; }
.fBtn{ position: absolute; top: 10px; width: 34px; height: 34px; }
#submit{ display: none; background: rgba(0, 0, 0, 0) url("../images/submitOn.png") no-repeat scroll 0 0 / cover ; right: 135px; cursor: pointer; }
#submit.disable{ background: rgba(0, 0, 0, 0) url("../images/submitOff.png") no-repeat scroll 0 0 / cover ; cursor: auto; }
#info{ background: rgba(0, 0, 0, 0) url("../images/btInfoOn@2x.png") no-repeat scroll 0 0 / cover ; right: 80px; cursor: pointer; }
#info.disable{ background: rgba(0, 0, 0, 0) url("../images/btInfoOff@2x.png") no-repeat scroll 0 0 / cover ; cursor: auto; }
#reset{ background: rgba(0, 0, 0, 0) url("../images/btResetOn@2x.png") repeat scroll 0 0 / cover ; right: 25px; cursor: pointer; }
#reset.disable{ background: rgba(0, 0, 0, 0) url("../images/btResetOff@2x.png") repeat scroll 0 0 / cover ; cursor: auto; }

/* keyboard css*/
.keyboard{
    position: absolute;
    font-family: open_sansbold;
    margin: auto;
    right: 0;
    left: 0;
    border: 2px solid #E73B26;
    background: #1ABBBC;
    height: 220px;
    width: 150px;
    bottom: 0;
    top: 0;
    border-radius: 5px;
    padding: 30px 5px 10px;
    border-spacing: 5px;
}
.key-row{ display: table-row; }
.keys {
    border: 2px solid #cfe8d0;
    border-radius: 5px;
    cursor: pointer;
    display: table-cell;
    height: 35px;
    text-align: center;
    vertical-align: middle;
    width: 46px;
}
.mixed{ 
    background: url("../images/fraction7-01.png");
    background-position: 0 center;
    background-size: 100% 100%;
    color: transparent;
}
.fraction{ 
    background: url("../images/fraction5-01.png");
    background-position: 50% center;
    background-repeat: no-repeat;
    background-size: 55% 100%;
}
.keyboard-close {
    background: #000 none repeat scroll 0 0;
    border-radius: 100%;
    box-shadow: 0 0 2px #f00;
    color: #fff;
    display: table-cell;
    font-size: 14px;
    padding: 1px 6px;
    position: absolute;
    right: 15px;
    top: 5px;
    vertical-align: middle;
    cursor: pointer;
}
.mixedMode{}
.mixedMode > .numerator{
    font-size: 14px;
    border-bottom: 2px solid #000;
}
.mixedMode > .denominator{ 
    font-size: 14px;
}