@import url("../fonts/fontello-423a44cb/css/fontello.css");

body {
	background-color: #F5F5F5;
    margin: 0;
    font-family: 'Lato';
}

.container {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

.header {
    background-color: #EEE;
    border-bottom: 1px solid #E2E2E2;
}

.application-title {
    position: absolute;
    font-family: 'Crafty Girls';
    font-size: 40px;
    left: 0;
    top: 0;
    margin: -7px 10px 0 15px;
    color: #555;
}

.application-version {
    position: absolute;
    left: 140px;
    padding-top: 22px;
    font-size: 10px;
    margin-left: -5px;
    color: #444;
}

.toolbar {
    float: right;
    padding-right: 20px;
}

.toolbar-item {
    float: left;
    cursor: pointer;
    color: #C5C5C5;
    font-size: 18px;
    margin: 0 2px;
    padding: 10px 0 10px;
}

.toolbar-item:hover {
    color: #A0A0A0;
}

.toolbar-item.disabled {
    color: #E0E0E0;
    cursor: not-allowed;
}

.zoom-toolbar {
    position: absolute;
    top: 38px;
    background-color: #EEEEEE;
    border: 1px solid #E2E2E2;
    font-size: 14px;
    z-index: 500;
}

.zoom-toolbar .button, .zoom-toolbar .label {
    display: inline-block;
    padding: 5px 10px;
}

.zoom-toolbar a:hover {
    background-color: #c0c0c0;
    color: #FFFFFF;
}

.zoom-toolbar .reset {
    border-left: 1px solid #E2E2E2;
}

.inner:before, .inner:after {
    clear: both;
    content: " ";
    display: table;
}

.inner:after {
    clear: both;
}

#document-container {
    overflow: hidden;
    position: absolute;
    top: 38px;
    bottom: 0;
    left: 0;
    right: 0;
}

#web-container {
    overflow: scroll;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.web-node, .root-node {
    position: absolute;
    cursor: hand;
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
    white-space: nowrap;
}

.web-node .edit-field {
    z-index: 1000;
}

.root-node {
    font-size: 18px;
    padding: 4px;
    background-color: #c0c0c0;
    color: #ffffff;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    border: 2px solid rgba(255,255,255,0.4);
}

.root-node .action-button {
    background-color: #b0b0b0;
}

.action-button {
    cursor: pointer;
    position: absolute;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.4);
}

.action-button img {
    width: 20px;
    height: 20px;
}

.node-label {
    position: relative;
}

.root-node .node-label.empty {
    color: #505050;
}

.web-node .node-label.empty {
    color: #c0c0c0;
}

.right {
    -webkit-transform: translate(0, -65%);
    -moz-transform: translate(0, -65%);
    -ms-transform: translate(0, -65%);
    -o-transform: translate(0, -65%);
    transform: translate(0, -65%);
}

.left {
    -webkit-transform: translate(-100%, -65%);
    -moz-transform: translate(-100%, -65%);
    -ms-transform: translate(-100%, -65%);
    -o-transform: translate(-100%, -65%);
    transform: translate(-100%, -65%);
}

.right.haskids {
    -webkit-transform: translate(-80%, -120%);
    -moz-transform: translate(-80%, -120%);
    -ms-transform: translate(-80%, -120%);
    -o-transform: translate(-80%, -120%);
    transform: translate(-80%, -120%);
}

.left.haskids {
    -webkit-transform: translate(-20%, -120%);
    -moz-transform: translate(-20%, -120%);
    -ms-transform: translate(-20%, -120%);
    -o-transform: translate(-20%, -120%);
    transform: translate(-20%, -120%);
}

.dragging {
    z-index: 100;
    cursor: -webkit-grabbing;
    cursor: -moz-grabbing;
}

#tooltip-holder {
    font-family: 'Lato';
    font-size: 16px;
    color: #808080;
    position: absolute;
    text-align: center;
    top: 5px;
    left: 20%;
    right: 20%;
}

.tooltip {
    margin: auto;
    padding: 8px 0;
}

#document-download-link {
    display: none;
}

#document-chooser {
    visibility: hidden;
}

#browser-warning {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    background: rgba(0,0,0,0.80);
    font: normal 18px "Lato"; 
    color: #c0c0c0;
    text-align: center;
    padding-top: 110px;
    text-shadow: 1px 1px 1px #000;
}

.warning-message {
    margin: 30px auto;
    width: 280px;
}