/*
 Text Metrics and Node behaviour
*/
.node-text-behaviour {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: sans-serif;
}

/*
 jquery ui
*/
.ui-effects-transfer {
    border: 2px dashed #AAA;
}

/*
  APPLICATION
*/
html,body {
    height: 100%; /* needed for container min-height */
    font-family: sans-serif;
    font-size: 10px; /*conform with jquery-ui em settings */
    overflow-y:hidden;
}

#container {
    position: relative; /* needed for footer positioning*/
    height: auto !important;
    min-height: 100%;
    border-left: 1px solid #1e59a5;
    border-right: 1px solid #1e59a5;
}

#topbar {
    border-bottom: 1px solid #AAA;
    overflow: hidden; /* causes container to stretch vertically */
    width: 100%;
}

.logo-bg {

    background: #31A1DF; /* Old browsers */
    background: -moz-linear-gradient(left, #31A1DF 7%, #e5e5e5 100%);
    /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(7%, #31A1DF),
        color-stop(100%, #e5e5e5) ); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left, #31A1DF 7%, #e5e5e5 100%);
    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left, #31A1DF 7%, #e5e5e5 100%);
    /* Opera11.10+ */
    background: -ms-linear-gradient(left, #31A1DF 7%, #e5e5e5 100%);
    /* IE10+ */
    filter: progid : DXImageTransform.Microsoft.gradient (startColorstr = '#31A1DF', endColorstr = '#E5E5E5', GradientType = 1 );
    /* IE6-9 */
    background: linear-gradient(left, #31A1DF 7%, #e5e5e5 100%); /* W3C */

}

.rotate-180 {
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
}

.rotate-180:hover {
    -webkit-transition: all 1s ease-out;
    -moz-transition: all 1s ease-out;
    transition: all 1s ease-out;
    -moz-transform: scale(1) rotate(180deg) translate(0px, 0px)
        skew(0deg, 0deg);
    -webkit-transform: scale(1) rotate(180deg) translate(0px, 0px)
        skew(0deg, 0deg);
    -o-transform: scale(1) rotate(180deg) translate(0px, 0px)
        skew(0deg, 0deg);
    -ms-transform: scale(1) rotate(180deg) translate(0px, 0px)
        skew(0deg, 0deg);
    transform: scale(1) rotate(180deg) translate(0px, 0px) skew(0deg, 0deg);
}

#logo {
    float: left;
    width: 170px;
    height: 34px;
    margin-right: 45px;
    margin-left: 12px;
    color: white;
    font-size: 3em;
    text-align: center;
    overflow: hidden;
    padding-top: 2px;
}

#logo span {
    line-height: 10px;
}
#toolbar {
    background-color: #1e59a5;
    overflow: hidden;
    width: 100%;
}

#toolbar .buttons {
    margin-top: 6px;
}

#toolbar .ui-buttonset {
    margin-right: 14px;
}

.buttons-right {
    position: absolute;
    right: 0;
    margin-right: 8px;
}

#toolbar .menu-wrapper {
    position: relative;
    display: inline-block; /* fix for opera 11.50 */
}

#toolbar .menu-wrapper .menu {
    position: absolute;
    right: 0;
    z-index: 5000;
    display: none;
    background: #EDEDED;
    box-shadow: 1px 1px 9px 0 #636B6A;
    width: 160px;
}
#toolbar .menu-wrapper .menu span.ui-button-text {
    margin-left: 10px;
}

.ui-button-text{
    font-weight: bold;
    line-height: 13px;
}
#toolbar .menu-wrapper .menu-item {
    display: block;
    text-align: left;
    width: 100%;
}

#toolbar .menu-wrapper .menu-item:hover {
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(1, #B9E0F5),
        color-stop(0, #92BDD6) );
    background-image: -moz-linear-gradient(center top, #B9E0F5, #92BDD6);
    background-image: -o-linear-gradient(center top, #B9E0F5, #92BDD6);
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    color: #1C4257;
}

#bottombar {
    position: fixed; /* absolute caused scroll bar, depending on border */
    width: 100%;
    bottom: 0;
    background: #EEE;
    border-top: 1px solid #AAA;
}

#statusbar {
    height: 32px;
    background-color: #1e59a5;
}

#statusbar .buttons {
    margin-top: 4px;
}

#about {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #454545;
    font-size: 12px;
}

#about a {
    color: inherit;
}

#file_details {
    position: absolute;
    top: 2px;
    left: 10px;
    color: #fff;
    font-size: 11px;
}

#file_details div {
    padding-bottom: 3px;
}

#file_details div {
    width:125px;
    float: left;
    overflow: hidden;
}

#scissors {
    position: absolute;
    cursor: pointer;
    display: none;
    z-index: 11;
}

/* apply styles to button and wrapper div */
.buttons-small .ui-button .ui-button-text,.buttons-small.ui-button .ui-button-text
{
    font-size: 12px;
}

.buttons-very-small .ui-button .ui-button-text,.buttons-very-small.ui-button .ui-button-text
{
    font-size: 10px;
}

.buttons-less-padding .ui-button .ui-button-text,.buttons-less-padding.ui-button .ui-button-text
{
    padding: 0.1em 0.3em;
}

#canvas-container {
    position: absolute;
    width: 100%;
    overflow: hidden;
}

#canvas-container.mode2 {
    overflow-x: hidden;
    overflow-y: auto;
}

#drawing-area {
    position: absolute;
    background-color: white;
    background-image: url("../img/grid.gif");
    background-size: 24px 24px;
    /* need this for webkit as well. */
    image-rendering: -moz-crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
}

#drawing-area.help1 {
    background-image: url("../img/back_1.gif");
    background-size: 100% 100%;
}

#drawing-area.help2 {
    background-image: url("../img/back_2.gif");
    background-size: 100% 100%;
}

.mindmap .line-canvas {
    position: absolute;
    z-index: 10;
}

.mindmap .node-container {
    position: absolute;
    padding-bottom: 2px;
    font-size: 15px;
}

.mindmap .root.node-container {
    border-bottom: 10px solid transparent;
    width: 1px;
    height: 20px;
    left: 50%;
    top: 50%;
}

#solo {
    left: 50%;
    top: 50%;
    position: absolute;
}

.mindmap .node-caption {
    position: relative;
    cursor: move;
    z-index: 100;
    padding: 4px;
    text-align: center;
    border-radius: 5px;
}

.mindmap .node-caption:hover {
    border: 2px dotted #DDD;
    padding: 2px;
}

.mindmap .node-caption.selected {
    border: 2px solid #c60c30;
    padding: 2px;
    webkit-box-shadow: 3px 3px 7px #828282;
    -moz-box-shadow: 3px 3px 7px #828282;
    box-shadow: 3px 3px 7px #828282;
}

.mindmap .node-caption.edit {
    border: 2px solid blue;
}

.mindmap .node-caption.root {
    cursor: default;
    background: white;
    border: 3px solid #1e59a5;
    border-radius: 10px 10px 10px 10px;
    left: -70px;
    position: absolute;
    padding: 4px;
}


.mindmap .node-caption.root.mode2 {
    left: 0px;
    top: 0px;
    z-index: 1;
    text-align:left;
    border-radius: 0px;
    box-shadow: 0px 0px 0px #000000;
    border-width: 0px;

}
.mindmap .node-container.root.mode2 {
    left: 0px;
    top: 0px;
}

#solo.mode2 {
    left: 400px;
    top: 0px;
}

.mindmap .node-caption.root.selected {
    border-color: #c60c30;
}

.mindmap .node-caption.root.edit {
    border-color: blue;
}

.mindmap .button-fold {
    width: 16px;
    height: 16px;
    bottom: -12px;
    background-image: url("../img/plus-minus.png");
    background-repeat: no-repeat;
    position: absolute;
    z-index: 100;
    cursor: pointer;
}
.mindmap .button_arrow {
    width: 19px;
    height: 7px;
    bottom: 20px;
    background-image: url("../img/arrows.gif");
    background-repeat: no-repeat;
    position: absolute;
    z-index: 100;
    cursor: pointer;
}

.mindmap .button-fold.left {
    left: 4px;
}

.mindmap .button-fold.right {
    right: 4px;
}

.mindmap .button-fold.closed {
    background-position: 0 0;
}

.mindmap .button-fold.open {
    background-position: 0 -16px;
}

#creator-wrapper {
    position: absolute !important;
    bottom: -16px;
    /* open hand cursor */
    cursor:
        url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAGxJREFUeNqskgsOwCAIQ+n9D80+bkmDVJmTxIRq+giI2Tj8OTKQGN57P6MJQHpYdAbW4Q07AH7L2IIyZfArXwJwjtHw0qknANn7LDpArDAz8xC9WlUBPkN+AXiZ5DeuAqzyjWqVS5DtgEOAAQCmx2gKY+jFZgAAAABJRU5ErkJggg==),
        default !important;
}

#creator-wrapper.ui-draggable-dragging { /* closed hand cursor */
    cursor:
        url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAALCAYAAACksgdhAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFhJREFUeNqUkAEKgDAMA5Pi/79cdS5YC2p2MMi6lnQBbnKeLz2gHg6uAok3rZlAQ01dl3vyWUv8cTpG2dtmcx0qsdI8wxhBsCTjDbtByKWvZzsu/UnsAgwAQG4nCi//474AAAAASUVORK5CYII=),
        default !important;
}

#creator-wrapper.left {
    left: -18px;
}

#creator-wrapper.right {
    right: -18px;
}

#creator-nub {
    width: 24px;
    height: 24px;
    background-image: url("../img/creator-nub-sprite.png");
    background-repeat: no-repeat;
    position: relative;
    z-index: 100;
}

#creator-fakenode {
    height: 12px;
    border-bottom-color: transparent;
    border-bottom-style: none;
}
#creator-fakenode span {
    color:gray;
    font-style: italic;
    font-size: 11px;
    line-height: 8px;
}

#creator-wrapper.ui-draggable-dragging #creator-fakenode {
    border-bottom-style: solid;
}

#caption-editor {
    display: block; /** important for webkit */
    resize: none;
    background: none;
    border: none;
    font: inherit;
    margin: 0;
    padding: 0;
    outline: none;
    text-align: center;
    overflow: hidden;
    vertical-align: baseline;
    /** override aristo */
    -webkit-border-radius: none;
    -moz-border-radius: none;
    border-radius: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    -webkit-border-radius: none;
}

.float-panel.ui-dialog {
    min-width: 200px;
    min-height: 90px;
    position: fixed !important;
    box-shadow: none;
    z-index: 500;
    width: auto !important;
}

.ui-dialog-content ui-widget-content{
    overflow: visible;
}
.ui-dialog-content {
    overflow: visible;
}
.ui-dialog{
    overflow: visible;
}
.ui-dialog .ui-dialog-content {
    overflow: visible;
    padding: 0.5em;
}

.float-panel div.ui-dialog-titlebar {
    padding: 0.4em 0.5em 0.3em;
}

.float-panel span.ui-dialog-title {
    margin: 0;
}

.float-panel a.ui-dialog.titlebar-close {
    right: 0.5em;
    margin-top: -9px;
}

.float-panel.ui-dialog .ui-dialog-titlebar-close span.ui-icon {
    _background: url("Aristo/images/ui-icons_222222_256x240.png") -48px -128px;
    background: url("images/ui-icons_fff_256x240.png") -48px -128px;
}

#navigator .inactive {
    width: 256px;
}

#navi-canvas-wrapper {
    margin: 5px 0;
    position: relative;
}

#navi-canvas {
    width: 250px;
    display: block;
    border: 1px solid black;
    padding: 2px;
}

#navi-canvas-overlay {
    border: 2px solid red;
    width: 50px;
    height: 25px;
    position: absolute !important;
    top: 0;
    left: 0;
    cursor: move;
}

#navi-zoom-level {
    float: left;
    font-size: 14px;
    margin-right: 10px;
    margin-top: 3px;
    width: 50px;
}

#navi-slider {
    float: left;
    width: 140px;
    margin: 7px 6px;
}

#navi-controls .button-zoom {
    width: 18px;
    height: 18px;
    float: left;
    border-radius: 12px;
}

#inspector-table {
    width: 100%;
}

#inspector-table tr {
    height: 28px;
}

#inspector-table td {
    padding: 3px 0px;
    white-space: nowrap;
    font-weight: bold;
}

#inspector-table {
    width: 100%;
    font-size: 12px;
}

#inspector-table .font-styles .ui-button-text {
    font-size: 11px;
    font-weight: normal;
}

#inspector-label-font-bold .ui-button-text {
    font-weight: bold !important;
}

#inspector-label-font-italic .ui-button-text {
    font-style: italic;
}

#inspector-label-font-underline .ui-button-text {
    text-decoration: underline;
}

#inspector-label-font-linethrough .ui-button-text {
    text-decoration: line-through;
}

#inspector-table .ui-button {
    padding: 0.1em 0.3em;

}

#inspector-table .color_color_0,#inspector-table .color_color_1 {
    visibility:hidden;
    cursor: pointer;
    font-weight: normal;
    font-size: 10px;
}

.fileUpload {
    position: relative;
    overflow: hidden;
    margin: 10px;
    background-color: red;
}
.fileUpload input.upload {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}

.file-chooser {
    position: relative;
    overflow: hidden;
    margin: 10px;
    background-color: #e7effb none repeat scroll 0 0;
    border:1px solid #1e59a5;
    color: #1e59a5;
    font-weight:bold;
    width: 100px;
    border-radius: 3px;
    padding: 0.5em 0.7em;


}
.file-chooser input.upload {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}


/* TIMER */

#timer {

}
#timer-display {
    font-size: 14px;
    margin-bottom: 8px;
    text-align: center;

}
#timer-display span {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 8px;
}
#timer-text {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
}
#timer-start-button {
    display: none;
    cursor: pointer;
}

/* assistance */

#assistance {

}

#assistance-text,#assistance-text_1,#assistance-text_2  {
    font-size: 12px;
    margin-bottom: 4px;
}
#assistance-pic-button_1,#assistance-pic-button_2,#assistance-pic-button_3,
#assistance-branch-button, #assistance-branch-button_1, #assistance-branch-button_2,
#assistance-branch-button_3, #assistance-branch-button_4, #assistance-branch-button_5 {
    cursor: pointer;
    margin-bottom: 4px;
    padding: 0.2em 0.5em;
    font-weight: bold;
}

#assistance-branch-button_4, #assistance-branch-button_5,#assistance-text_1,#assistance-text_2 {
    display:none;
}

#plus_root,#plus_assistance {
    position: absolute;
    cursor: pointer;
    display: none;
    z-index: 1;
}
#plus_assistance {
    z-index: 20;
}

#assistance-border {
    border-bottom: 1px solid #1e59a5;
    margin-bottom: 6px;
    margin-top: 0px;
    width:100%;
}

.minicolors {
    border: 1px solid #1e59a5;
}
.file-dialog {
    /* overwrite aristo behaviour */
    padding: 10px !important;
}

.file-dialog h1 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.file-dialog .highlight {
    color: #14BB14;
    margin-right: 4px;
}

.file-dialog p {
    margin: 8px 0 15px;
    font-size: 13px;
    line-height: 15px;
}

.file-dialog .error {
    font-size: 13px;
    color: #F70000;
    margin-left: 10px;
}

.file-dialog .cloud-loading {
    margin-left: 10px;
    font-size: 13px;
    display: none;
    padding-left: 22px;
    padding-top: 2px;
}

.file-dialog .cloud-loading.loading {
    display: inline-block;
}

.file-dialog .localstorage-filelist {
    width: 100%;
    margin: 12px 0;
    font-size: 14px;
}

.file-dialog .localstorage-filelist thead {
    font-weight: bold;
    text-align: left;
}

.file-dialog .localstorage-filelist th {
    padding-bottom: 4px;
}

.file-dialog .localstorage-filelist th.title {
    width: 50%;
}

.file-dialog .localstorage-filelist th.modified {
    width: 40%;
}

.file-dialog .localstorage-filelist tbody td {
    padding: 4px;
}

.file-dialog .localstorage-filelist tbody tr:nth-child(odd) {
    background-color: #E8E8E8;
}

.file-dialog .localstorage-filelist tbody tr:hover,.file-dialog .localstorage-filelist tbody tr:nth-child(odd):hover
{
    background-color: #B9E0F5;
}

.file-dialog .localstorage-filelist a.delete {
    display: none;
}

.file-dialog .localstorage-filelist tr:hover a.delete {
    display: inline;
}

.file-dialog .autosave {
    margin-left: 20px;
}

.file-dialog .autosave + label {
    font-size: 13px;
}

.file-dialog .seperator {
    display: block;
    clear: both;
    border-top: 1px dashed #AAA;
    margin: 15px 0;
    width: 100%;
}

.file-dialog .file-chooser {
    margin: 10px 0;
}

.ui-widget-content{
    background-color: #e7effb;
}

#button-save-hdd .ui-button-text {
    position: absolute;
}

#button-save-hdd object {
    position: relative;
}
.ui-dialog-title{
    color:#fff;
    font-weight: bold;
}

/**
* NOTIFICATION
*/
.notification {
    border: 7px solid;
    border-radius: 7px;
    position: absolute;
    z-index: 10000;
    display: block;
    padding: 7px;
    background-color: white;
    display: none;
}

.notification.info {
    border-color: #E2E2E2;
    box-shadow: 1px 1px 7px 1px #B2B2B2;
}

.notification.warn {
    border-color: #FFC53D;
    box-shadow: 1px 1px 7px 1px #FF943D;
}

.notification.error {
    border-color: #F75F00;
    box-shadow: 1px 1px 7px 1px #F70000;
}

.notification .title {
    font-weight: bold;
    font-size: 18px;
    color: #4F4F4F;
    padding-bottom: 6px;
    margin-top: -3px;
    padding-right: 10px;
}

.notification .content {
    font-size: 13px;
    color: #454545;
    line-height: 16px;
}

.notification .close-button {
    color: #4F4F4F;
    margin-top: -6px;
    margin-right: -2px;
    float: right;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    float: right;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    padding: 4px;
}

.notification .close-button:hover {
    text-decoration: underline;
}

#print-area {
    visibility: hidden;
    position: absolute;
    overflow: hidden;
    height: 0px;
}

#print-area .map {
    max-width: 100%;
    max-height: 100%;
}

@media print {
    body {
        height: auto;
    }
    #container {
        display: none;
        visibility: hidden;
    }
    .no-print {
        visibility: hidden;
        display: none
    }
    #print-area {
        display: block;
        visibility: visible;
        height: auto;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
    }
}

#export-map-dialog {
    padding: 10px;
    font-size: 12px;
    background-color: #EEE;
}

#export-map-dialog .image-description {
    font-style: italic;
    padding-bottom: 10px;
    font-size: 13px;
}

#export-preview {
    text-align: center;
}

#export-preview .map {
    border: 2px dashed #AAA;
    border-radius: 5px;
    max-width: 100%;
}

#debug-warning {
    position: fixed;
    top: 50px;
    left: 10px;
    z-index: 10000;
    font-size: 15px;
    font-weight: bold;
    color: gray;
}

#warning_center,#warning_toolbar {
    display: none;
}

.format_bold {
    font-weight: bold;
}

.format_italic {
    font-style: italic;
}

.format_linethrough {
    text-decoration: line-through;
}

.format_underline {
    text-decoration: underline;
}

.format_decrease {
    font-size:60%;
}

.format_increase {
    font-size:140%;
}

