/* 
    Created on : Jun 30, 2016, 10:28:39 AM
    Author     : samudra
*/
@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: 16px; line-height: 20px; }
#container{ display: block; width: 980px; height: 680px; margin: 0 auto; background: #fff; border-radius: 5px; position: relative; }

/* content body css */
#contentbody { padding: 2%; position: relative; width: 96%; height: 580px;overflow: hidden; }
.options {
    border: 1px solid #a8a9ad;
    display: inline-block;
    height: 555px;
    width: 170px;
    vertical-align: top;
    background: #DDDCDD;
    margin-top: 15px;
}
.options > div{ border-bottom: 2px solid #a8a9ad; padding: 5px;}
.graph {
    border: 1px solid #a8a9ad;
    display: inline-block;
    height: 555px;
    vertical-align: top;
    width: 555px;
    margin-top: 15px;
    position: relative;
}
.graph > canvas{
    position: absolute;
    top: 0;
    left: 0;
}
.header {
    border-bottom: 2px solid #a8a9ad;
    padding: 5px;
    background: #CCCACB;
}
.option, .set{ cursor: pointer; }
.option > div {
    display: inline-block;
    margin: 5px 8px;
    vertical-align: middle;
}
.point_symbol {
    background: #656566 none repeat scroll 0 0;
    border: 2px solid #656566;
    border-radius: 100%;
    height: 8px;
    width: 8px;
     margin-left: 14px !important;
    margin-right: 14px !important;
}
.line_symbol {
    border: 2px solid #656566;
    width: 20px;
}
.area_symbol {
    border: 2px dotted #656566;
    height: 20px;
    width: 20px;
    background: #CDCBCB;
}
.set > div {
    display: inline-block;
    margin: 5px 0px;
    vertical-align: middle;
}
.set > div:first-child {
    margin: 5px 5px 5px 10px;
}
.graphSettings_img {
    background: rgba(0, 0, 0, 0) url("../images/gsettings.png") repeat scroll 0 0;
    height: 20px;
    width: 20px;
}
.pointSettings_img, .lineSettings_img, .areaSettings_img{
    background: rgba(0, 0, 0, 0) url("../images/settings.png") repeat scroll 0 0;
    height: 20px;
    width: 20px;
}
.removeSettings_img {
    background: rgba(0, 0, 0, 0) url("../images/remove.png") repeat scroll 0 0;
    height: 20px;
    width: 20px;
}
.instruction {
    border: 1px solid;
    display: inline-block;
    margin-left: 13px;
    vertical-align: top;
    width: 195px;
    margin-top: 15px;
}
.instruction > .header{ background: #666565; color: #fff; }
.head-con { font-size: 14px; padding: 10px 5px; }
.graph-popup {
    background: #fff none repeat scroll 0 0;
    border: 1px solid #a8a9ad;
    border-radius: 5px;
    box-shadow: 2px 2px 10px #a8a9ad;
    left: 205px;
    position: absolute;
    top: 240px;
    z-index: 9;
    width: 200px;
    display: none;
}
.set-icon {
    background: rgba(0, 0, 0, 0) url("../images/gsettings.png") repeat scroll 0 0;
    height: 20px;
    width: 20px;
}
.graph-popup > div { padding: 5px 10px; }
.graph-header > div { display: inline-block;  vertical-align: middle;}
.graph-header > div:first-child{ margin-right: 5px; }
.graph-header > div:last-child{ margin-left: 15px; }
.graph-header {
    background: #1abbbc none repeat scroll 0 0;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
.graph-header > div:last-child {
    background: #e73b26 none repeat scroll 0 0;
    border: 1px solid #000;
    border-radius: 100%;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    height: 17px;
    line-height: 15px;
    margin-left: 28px;
    text-align: center;
    width: 17px;
}
.cords {
    background: #014358 none repeat scroll 0 0;
    border-radius: 5px;
    color: #fff;
    font-size: 20px;
    margin: 8px 10px;
    text-align: center;
    vertical-align: middle;
}
.x-cordVals, .y-cordVals { padding: 0 10px !important; }
.x-cordVals > div, .y-cordVals > div {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    padding: 0 3px;
}
.x-cordVals > div > input, .y-cordVals > div > input {
    background: #a8a9ad none repeat scroll 0 0;
    border: 2px solid #a8a9ad;
    border-radius: 5px;
    font-size: 16px;
    height: 35px;
    text-align: center;
    width: 50px;
}
.generate {
    background: #f0ad72 none repeat scroll 0 0;
    border-radius: 5px;
    box-shadow: 0 0 5px #a8a9ad;
    cursor: pointer;
    margin: 10px;
    text-align: center;
}
.pointSettings.set span.pointColor, .lineSettings.set span.lineColor, .areaSettings.set span.areaColor {
    border-radius: 100%;
    display: inline-block;
    height: 20px;
    vertical-align: middle;
    width: 20px;    
    cursor: pointer;        
}
.pointColor,.lineColor, .areaColor{ background: #bebcbe; }
.set > section {
    margin: 5px 10px;
}
section > input {
    background: #a8a9ad none repeat scroll 0 0;
    border: 1px solid #a8a9ad;
    height: 20px;
    width: 50px;
    border-radius: 5px;
    text-align: center;
}
section > * {
    display: inline-block;
    vertical-align: middle;
    width: 29%;
}
.lineSettings.set, .areaSettings.set{ display: none; }
.pointSettings.set, .lineSettings.set, .areaSettings.set {
    height: 140px;
    cursor: default;
}
.textDir{
    display: block;
    width: 20px;
    height: 20px;
    background: #BEBCBE;
    cursor: pointer;
    border-radius: 3px;
    margin-left: 8px;
}
.colorCode { margin-left: 16px; }
.textDir.brDir > div:nth-child(1) {
    border: 2px solid;
    display: block;
    margin: 2px;
    transform-origin: center center;
    -webkit-transform-origin: center center;
    -ms-transform-origin: center center;
    -moz-transform-origin: center center;
    transform: rotate(45deg) translate(5px,6px);
     -webkit-transform: rotate(45deg) translate(5px,6px);
    -ms-transform: rotate(45deg) translate(5px,6px);
     -moz-transform: rotate(45deg) translate(5px,6px);
    border-radius: 2px;
}
.textDir.brDir > div:nth-child(2) {
    border-bottom: 3px solid;
    border-radius: 1px;
    border-right: 3px solid;
    height: 7px;
    width: 7px;
    display: block;
    margin: 2px;
    transform-origin: center center;
    -webkit-transform-origin: center center;
    -ms-transform-origin: center center;
    -moz-transform-origin: center center;
    transform: rotate(0deg) translate(6px,2px);
     -webkit-transform: rotate(0deg) translate(6px,2px);
    -ms-transform: rotate(0deg) translate(6px,2px);
     -moz-transform: rotate(0deg) translate(6px,2px);
}
.textDir.blDir > div:nth-child(1) {
    border: 2px solid;
    display: block;
    margin: 2px;
    transform-origin: center center;
    -webkit-transform-origin: center center;
    -ms-transform-origin: center center;
    -moz-transform-origin: center center;
    transform: rotate(-45deg) translate(-4px,6px);
     -webkit-transform: rotate(-45deg) translate(-4px,6px);
    -ms-transform: rotate(-45deg) translate(-4px,6px);
     -moz-transform: rotate(-45deg) translate(-4px,6px);
    border-radius: 2px;
}
.textDir.blDir > div:nth-child(2) {
    border-bottom: 3px solid;
    border-radius: 1px;
    border-left: 3px solid;
    height: 7px;
    width: 7px;
    display: block;
    margin: 2px;
    transform-origin: center center;
    -webkit-transform-origin: center center;
    -ms-transform-origin: center center;
    -moz-transform-origin: center center;
    transform: rotate(0deg) translate(1px,2px);
     -webkit-transform: rotate(0deg) translate(1px,2px);
    -ms-transform: rotate(0deg) translate(1px,2px);
     -moz-transform: rotate(0deg) translate(1px,2px);
}
.textDir.trDir > div:nth-child(1) {
    border: 2px solid;
    display: block;
    margin: 2px;
    transform-origin: center center;
    -webkit-transform-origin: center center;
    -ms-transform-origin: center center;
    -moz-transform-origin: center center;
    transform: rotate(-45deg) translate(-7px,6px);
     -webkit-transform: rotate(-45deg) translate(-7px,6px);
    -ms-transform: rotate(-45deg) translate(-7px,6px);
     -moz-transform: rotate(-45deg) translate(-7px,6px);
    border-radius: 2px;
}
.textDir.trDir > div:nth-child(2){
    border-top: 3px solid;
    border-radius: 1px;
    border-right: 3px solid;
    height: 7px;
    width: 7px;
    display: block;
    margin: 2px;
    transform-origin: center center;
    -webkit-transform-origin: center center;
    -ms-transform-origin: center center;
    -moz-transform-origin: center center;
    transform: rotate(0deg) translate(5px,-2px);
     -webkit-transform: rotate(0deg) translate(5px,-2px);
    -ms-transform: rotate(0deg) translate(5px,-2px);
     -moz-transform: rotate(0deg) translate(5px,-2px);
}
.textDir.tlDir > div:nth-child(1) {
    border: 2px solid;
    display: block;
    margin: 2px;
    transform-origin: center center;
    -webkit-transform-origin: center center;
    -ms-transform-origin: center center;
    -moz-transform-origin: center center;
    transform: rotate(45deg) translate(6px,6px);
     -webkit-transform: rotate(45deg) translate(6px,6px);
    -ms-transform: rotate(45deg) translate(6px,6px);
     -moz-transform: rotate(45deg) translate(6px,6px);
    border-radius: 2px;
}
.textDir.tlDir > div:nth-child(2) {
    border-top: 3px solid;
    border-radius: 1px;
    border-left: 3px solid;
    height: 7px;
    width: 7px;
    display: block;
    margin: 2px;
    transform-origin: center center;
    -webkit-transform-origin: center center;
    -ms-transform-origin: center center;
    -moz-transform-origin: center center;
    transform: rotate(0deg) translate(1px,-3px);
     -webkit-transform: rotate(0deg) translate(1px,-3px);
    -ms-transform: rotate(0deg) translate(1px,-3px);
     -moz-transform: rotate(0deg) translate(1px,-3px);
}
.color-popup {
    background: rgba(17, 17, 17, 0.4);
    border-radius: 10px;
    height: 92px;
    left: 205px;
    padding: 5px;
    position: absolute;
    top: 330px;
    width: 92px;
    display: none;
}
.color-row > div {
    border-radius: 100%;
    display: inline-block;
    height: 20px;
    margin: 4px 5px;
    width: 20px;
    cursor: pointer;
}
.color_1{ background: #FF0000; }
.color_2{ background: #0000FF; }
.color_3{ background: #008000; }
.color_4{ background: #5F9EA0; }
.color_5{ background: #999999; }
.color_6{ background: #F1A63C; }
.color_7{ background: #FF00FF; }
.color_8{ background: #00BFFF; }
.color_9{ background: #808000; }

.direction-popup {
    background: rgba(17, 17, 17, 0.4);
    border-radius: 10px;
    left: 205px;
    position: absolute;
    top: 300px;
    width: 92px;
    height: 92px;
    padding: 5px;
    display: none;
}
.direction-popup > .direction-row > div {
    display: inline-block;
    height: 47px;
    width: 44px;
    vertical-align: top;
    cursor: pointer;
}
.blDir > p { left: 10px;  position: absolute; top: 72px; }
.brDir > p { left: 80px;  position: absolute; top: 72px; }
.tlDir > p { left: 10px;  position: absolute; top: 10px; }
.trDir > p { left: 80px;  position: absolute; top: 10px; }
.direction-row .brDir > div:nth-child(1) {
    border: 2px solid;
    display: block;
    margin: 2px;
    transform-origin: center center;
    -webkit-transform-origin: center center;
    -ms-transform-origin: center center;
    -moz-transform-origin: center center;
    transform: rotate(45deg) translate(2px,10px);
     -webkit-transform: rotate(45deg) translate(2px,10px);
    -ms-transform: rotate(45deg) translate(2px,10px);
     -moz-transform: rotate(45deg) translate(2px,10px);
    width: 25px;
}
 .direction-row .brDir > div:nth-child(2)  {
    border-bottom: 3px solid;
    border-radius: 2px;
    border-right: 3px solid;
    height: 10px;
    width: 10px;
    display: block;
    margin: 2px;
    transform-origin: center center;
    -webkit-transform-origin: center center;
    -ms-transform-origin: center center;
    -moz-transform-origin: center center;
    transform: rotate(0deg) translate(9px,5px);
     -webkit-transform: rotate(0deg) translate(9px,5px);
    -ms-transform: rotate(0deg) translate(9px,5px);
     -moz-transform: rotate(0deg) translate(9px,5px);
}
 .direction-row .blDir > div:nth-child(1) {
    border: 2px solid;
    display: block;
    margin: 2px;
    transform-origin: center center;
    -webkit-transform-origin: center center;
    -ms-transform-origin: center center;
    -moz-transform-origin: center center;
    transform: rotate(-45deg) translate(5px,17px);
     -webkit-transform: rotate(-45deg) translate(5px,17px);
    -ms-transform: rotate(-45deg) translate(5px,17px);
     -moz-transform: rotate(-45deg) translate(5px,17px);
    width: 25px;
}
 .direction-row .blDir > div:nth-child(2)  {
    border-bottom: 3px solid;
    border-radius: 2px;
    border-left: 3px solid;// #CCC9CD;
    height: 10px;
    width: 10px;
    display: block;
    margin: 2px;
    transform-origin: center center;
    -webkit-transform-origin: center center;
    -ms-transform-origin: center center;
    -moz-transform-origin: center center;
    transform: rotate(0deg) translate(18px,4px);
     -webkit-transform: rotate(0deg) translate(18px,4px);
    -ms-transform: rotate(0deg) translate(18px,4px);
     -moz-transform: rotate(0deg) translate(18px,4px);
}
.direction-row .trDir > div:nth-child(1) {
    border: 2px solid;
    display: block;
    margin: 2px;
    transform-origin: center center;
    -webkit-transform-origin: center center;
    -ms-transform-origin: center center;
    -moz-transform-origin: center center;
    transform: rotate(-45deg) translate(-26px,19px);
     -webkit-transform: rotate(-45deg) translate(-26px,19px);
    -ms-transform: rotate(-45deg) translate(-26px,19px);
     -moz-transform: rotate(-45deg) translate(-26px,19px);
    width: 25px;
}
 .direction-row .trDir > div:nth-child(2)  {
    border-top: 3px solid;
    border-radius: 2px;
    border-right: 3px solid;
    height: 10px;
    width: 10px;
    display: block;
    margin: 2px;
    transform-origin: center center;
    -webkit-transform-origin: center center;
    -ms-transform-origin: center center;
    -moz-transform-origin: center center;
    transform: rotate(0deg) translate(9px,15px);
     -webkit-transform: rotate(0deg) translate(9px,15px);
    -ms-transform: rotate(0deg) translate(9px,15px);
     -moz-transform: rotate(0deg) translate(9px,15px);
}
 .direction-row .tlDir > div:nth-child(1) {
    border: 2px solid;
    display: block;
    margin: 2px;
    transform-origin: center center;
    -webkit-transform-origin: center center;
    -ms-transform-origin: center center;
    -moz-transform-origin: center center;
    transform: rotate(45deg) translate(33px,12px);
     -webkit-transform: rotate(45deg) translate(33px,12px);
    -ms-transform: rotate(45deg) translate(33px,12px);
     -moz-transform: rotate(45deg) translate(33px,12px);
    width: 25px;
}
 .direction-row .tlDir > div:nth-child(2)  {
    border-top: 3px solid;
    border-radius: 2px;
    border-left: 3px solid;
    height: 10px;
    width: 10px;
    display: block;
    margin: 2px;
    transform-origin: center center;
    -webkit-transform-origin: center center;
    -ms-transform-origin: center center;
    -moz-transform-origin: center center;
    transform: rotate(0deg) translate(18px,16px);
     -webkit-transform: rotate(0deg) translate(18px,16px);
    -ms-transform: rotate(0deg) translate(18px,16px);
     -moz-transform: rotate(0deg) translate(18px,16px);
}
.direction-row > div{ color: #CCC9CD; }
.textDir{ color: #bebcbe; }
.direction-row > div.directionActive,.pointTextdir.directionActive,.lineTextdir.directionActive,.areaTextdir.directionActive{ color: rgba(17, 17, 17, 0.7)  !important}
.optionsMask {
    background: #a8a9ad none repeat scroll 0 0;
    height: 192px;
    left: 20px;
    opacity: 0.5;
    position: absolute;
    top: 272px;
    width: 171px;
}
.optionActive > .point_symbol,.optionActive > .line_symbol{ color: #F27421; background: #F27421 none repeat scroll 0 0;
    border: 2px solid #F27421; }
.optionActive > .area_symbol{ color: #F27421; background: #F27421 none repeat scroll 0 0; }
.optionActive > div:last-child{ color: #F27421; }
/* popup css */

#mask{ position: absolute; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); border-radius: 5px; }
#popup {
    display: block;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    position: absolute;
    border-radius: 5px;
    z-index: 9;
}
#popup-content{
    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-hedader {
    height: 35px;
    position: relative;
}
#popup-close {
    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; }

/* 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: 20px;
    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{ opacity: 1; background: rgba(0, 0, 0, 0) url("../images/submitOn.png") no-repeat scroll 0 0 / cover ; right: 135px; cursor: pointer; }
#submit.disable{ opacity: 1; 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{ opacity: 1; 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{ opacity: 1; background: rgba(0, 0, 0, 0) url("../images/btResetOff@2x.png") repeat scroll 0 0 / cover ; cursor: auto; }