* {
    margin: 0;
    padding: 0;
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;
    font-family: arial;
    font-size: 11pt;
    color: #000;
}

canvas{
    background: #E1ECF6;
    padding: 0;
    display: block;
    overflow: hidden;
    position: absolute;
}

#sheeld {
    position: absolute; /* Change back to fixed when ePub's allow */
    z-index: 1000;
    background-color:#000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    opacity:0.4;
    filter:alpha(opacity=40);
}

#openOrNew, #openOrNew1, #open, #new, #delete, #print, #saveImage, #editTitle {
    position: absolute; /* Change back to fixed when ePub's allow */
    width: 420px;
    height: 286px;
    left: 50%;
    margin-left: -235px;
    top: 50%;
    margin-top: -143px;
    border: 1px solid #58585A;
    background-color: #FFF;
    z-index: 1001;
    padding: 20px;
    border-radius: 5px;
    display: none;
}

#print {
    height: 174px;
}

#saveImage {
    height: 120px;
}

#open {
    height: 144px;
    margin-top: -72px;
}

#openOrNew1 {
    height: 104px;
    margin-top: -52px;
}

#openOrNew label {
    color: #000;
    margin-bottom: 5px;
    clear: both;
    padding-bottom: 8px;
}

h1 {
    color: #000;
    font-size: 18pt;
    margin-bottom: 8px;
}

h2 {
    color: #000;
    font-size: 16pt;
    margin-bottom: 5px;
}

input[type=text], select {
    display: block;
    width: 94%;
    height: 34px;
    padding: 6px 12px;
    line-height: 1.42857143;
    background-color: #fff;
    border: 1px solid #58585A;
    /*border-radius: 4px;*/
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    margin: 0;
    margin-top: 4px;
}

input[type=text] {
    height: 20px;
}

select {
    width: 100%;
}

.left{
    float: left;
    display: inline-block;
    width: 46%;
    padding: 8px;
}

.right {
    float: right;
    display: inline-block;
    width: 46%;
    padding: 8px;
}

.centerT {
    text-align: right;
    margin-top: 8px;
}

.node {
    position: absolute;
    white-space: pre-wrap;
    max-width: 225px;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.transparent {
    opacity:0.6;
    filter:alpha(opacity=60);
    border-style: solid!important;
}

.notrans {
    opacity:1!important;
    filter:alpha(opacity=100)!important;
}

.nodeS {
    position: absolute;
    /*color: #000;*/
    text-decoration: none;
    display: inline-block;
    white-space: pre-wrap;
    max-width: 250px;
    height: 10px;
    /*border: 1px dashed #3c7375;*/
    /*background: url('../img/arrow.png') no-repeat left center;*/
    /*background: #56a5a8;*/
    z-index: 1;
    /*opacity:0.2;*/
    /*filter:alpha(opacity=20);*/
    min-width: 29px;
    border-radius: 5px;
}

.nodeS.selected {
    background: #9B9C9D!important;
    color: #FFF!important;
}

.nodeS:hover, .nodeS:focus {
    background: #9B9C9D!important;
    color: #FFF;
}

textarea.node {
    background: transparent;
    border: none;
    text-decoration: none;
    outline: transparent;
    padding: 0;
}

.move div.node.selected, .move div.node.selected:hover {
    background: #EACB9F;
    color: #FFF;
}

a.node.selected {
    background: #9B9C9D!important;
    color: #FFF!important;
}

.move a.node:hover, .move a.node:focus{
    text-decoration: underline;
}

.move div.node{
    opacity:0.6;
    filter:alpha(opacity=60);
}

.move div.node:hover, .move div.node:focus{
    color: #000;
    text-decoration: none;
}

textarea.node:fucus, textarea.node:hover {
    text-decoration: none!important;
}

/*  STYLE FOR NODES BEGIN */

.st1 {
    color: #000;
}

.move .node.st1 {
    border: 3px dashed #0089C5;
}

.move .node.st2 {
    border: 1px dashed #CA7F1B;
}

.move .node.st2:hover {
    color: #FFF;
    background: #9B9C9D;
}

.nodeS.st2, .nodeS.st1 {
    border: 1px dashed #CA7F1B;
    background: #FFF;
}

.nodeS.st2.selected {
    background: #9B9C9D!important;
}

.node.st2:focus {
    background: #EACB9F;
}

.node.move-this {
    background: #FFF;
}

/*  STYLE FOR NODES END*/

#canvasMimic {
    position: absolute; /* Change back to 'fixed' when ePub's allow */
    top:0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: scroll;
    display: inline-block;
    z-index: 1;
}

.menuCon{
    position: absolute;
    top: 0;
    left: 0;
    /* width: 280px; */
    z-index: 101;
    border: 1px solid #58585A;
    background-color: #FFF;
    display: none;
    border-radius: 5px;
    text-align: center;
}

.menuCon .visibleM {
    display: inline-block;
    list-style: none;
}

.menuCon .visibleM li {
    float: left;
}

.menuCon .visibleM a{
    width: auto;
    padding: 6px;
    margin: 2px;
    border-radius: 5px;
    border: 1px solid #58585A;
    background: #E1ECF6;
}

.menuCon .visibleM a:hover, .menuCon .visibleM a:focus {
    background: #7EB4DB;
}

.menuCon .lCon{
    float: left;
    display: inline-block;
    width: 110px;
}

.menuCon .rCon{
    float: right;
    display: inline-block;
    width: 90px;
}

.menuCon a{
    color: #000;
    text-decoration: none;
    display: inline-block;
    padding: 7px 6px;
    text-align: left;
}

.menuCon a:hover, .menuCon a:focus{
    background-color: #D6E6F3;
}

.menuCon #extraMenu {
    border-top: 1px solid #58585A;
    margin-top: 4px;
    clear: both;
    display: none;
}

.menuCon #extraMenu ul{
    list-style: none;
}

.menuCon #extraMenu ul a {
    width: 258px;
}
#new, #editTitle{
    height: 100px!important;
}

.margin-l {
    margin-left: 10px;
}

#help {
    position: absolute; /* Change back to 'fixed' when ePub's allow */
    top:20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid #58585A;
    background-color: #FFF;
    z-index: 1001;
    padding: 20px;
    border-radius: 5px;
    display: none;
}

#help .centent {
    overflow: auto;
    height: auto;
    position: absolute;
    bottom: 20px;
    right: 20px;
    top: 60px;
    left: 40px;
}

#delete .centent{
    overflow: auto;
    height: auto;
    position: absolute;
    bottom: 80px;
    right: 20px;
    top: 60px;
    left: 40px;
}

#delete .centerT {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

#help button {
    position: absolute;
    right: 20px;
    bottom: 20px;
}

.ortext {
    text-align: center;
    margin-bottom: 8px;
    margin-top: 8px;
    display: inline-block;
    font-size: 16pt;
    width: 100%;
}

#printData {
    display: none;
}

#cancelM{
    display: none;
}

#mapTitle, #mapTitle1 {
    width: 254px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bold;
    text-align: left;
    padding: 8px;
    border-bottom: 1px solid #AAA7A7;
    color: #AAA7A7;
    font-size: 12pt;
    margin-left: 4px;
}

.hanging {
    padding-left: 24px;
    text-indent: -24px;
}

#menuCon .visibleM .btn{
    margin-top: 6px;
}

/* OU style */
* {
    margin: 0;
    padding: 0;
}

html {
    font-size: 100%;
}

html * {
    max-height: 1000000px;
}

body {
    font: 14px/1.5 Arial, sans-serif;
    color: #000000;
}

body {
    font-size: 0.875em;
}

h1 {
    padding: 5px 20px 5px 20px;
    background-color: #002158;
    color: #ffffff;
    font-weight: normal;
    font-size: 1.4em;
}

button, input, textarea {
    font: 99% Arial, sans-serif;
    border-radius: 0;
}

button[disabled] {
    color: #888888;
    cursor: default;
}

button {
    display: inline-block;
    margin-left: 5px;
    margin-right: 5px;
    border: 1px solid #002158;
    border-radius: 3px;
    padding: 2px 8px 3px;
    background-color: #ffffff;
    vertical-align: top;
    line-height: 1.5;
    font-size: 1em;
    transition: background-color 0.25s, color 0.25s;
    cursor: pointer;
}

button:hover,
button:focus,
.menuCon a:hover, .menuCon a:focus {
    background: #002158;
    color: #ffffff;
    outline: none;
}

canvas {
    background-color: #efefef;
}

.menuCon {
    border-color: #002158;
    border-radius: 3px;
}

#help button.top {
    top: 2px;
    bottom: auto;
    right: 5px;
}
