﻿/*
#canvas-container, #canvas {
    border: 10px solid red;
    background-color: yellow;
    padding: 10px;
    box-sizing: border-box;
}
*/

body, #canvas-container {
    background-color: black;
}

* {
    -webkit-user-select: none;
}

.no-select {
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

#canvas {
    height: 100%;
    position: absolute;
    width: 100%;
}

#canvas-container {
    bottom: 0;
    left: 0;
    margin: auto;
    max-height: 1080px;
    max-width: 1920px;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}

.grab {
    cursor: move;
    /* ReSharper disable once InvalidValue */
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

.grabbing {
    cursor: move;
    /* ReSharper disable once InvalidValue */
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}

#tooltip {
    background-color: #EEE;
    border-radius: 8px;
    box-shadow: 8px 8px 16px #000;
    color: #111;
    max-width: 100%;
    padding: 4px;
    position: fixed;
    /*-white-space: nowrap;*/
}

.zone-coords {
    display: inline-block;
    font-family: sans-serif;
    font-size: smaller;
}

.zone-info {
    display: inline-block;
    font-family: sans-serif;
    font-size: larger;
    font-style: oblique;
    font-weight: bold;
}

/* Toolbar */

.toolbar {
    top: 0;
    position: absolute;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, #cacaca, #8f8f8f);
    /**/
    border: 0 solid #686868;
    /**/
    padding-top: 6px;
    padding-bottom: 2px;
    padding-left: 3px;
    padding-right: 3px;
    overflow: hidden;
    border-bottom-width: 1px;
}

    /* Toolbar Items */

    .toolbar * {
        font-family: sans-serif;
        font-size: 16px;
    }

.menu {
    float: left;
    /**/
    margin-bottom: 3px;
    margin-right: 10px;
}

    .menu * {
        float: left;
    }

/* Buttons */

button {
    outline: none;
}

    button::-moz-focus-inner {
        padding: 0;
        border: 0;
    }

.button {
    position: relative;
    padding: 5px 10px;
    margin-left: 3px;
    margin-bottom: 2px;
    border-radius: 5px;
    /**/
    color: #3e3e3e;
    /**/
    background: linear-gradient(to bottom, #f9f9f9, #bababa);
    /**/
    border: 1px solid #4d4d4d;
    /**/
    text-shadow: 0 1px 0 #e9e9e9;
    box-shadow: 0 1px 0 #d4d4d4;
}

.button:hover {
    background: linear-gradient(to bottom, #f7f7f7, #a9a9a9);
    border-color: #626262;
    color: black;
    cursor: pointer;
    text-shadow: 0 1px 0 #e9e9e9;
}

.button:active,
.active {
    color: black;
    /**/
    background: linear-gradient(to bottom, #99caee, #559bd5);
    /**/
    border-color: #2a557b;
    /**/
    text-shadow: 0 1px 0 #99caee;
    box-shadow: none;
}

/* Checkbuttons */

.CheckGroup {
}

.CheckButton input[type=radio] {
    display: none;
}

    .CheckButton input[type=radio]:checked + label {
        color: white;
        /**/
        background: linear-gradient(to bottom, #494949, #696969);
        /**/
        border-color: #4d4d4d;
        /**/
        text-shadow: 0 1px 1px black;
        box-shadow: 0 1px 0 #d4d4d4;
    }

.Conjoined label {
    border-left-width: 0;
    border-right-width: 0;
    /**/
    border-radius: 0;
    /**/
    margin-left: 0;
    margin-right: 0;
}

.Conjoined .LeftButton label {
    border-left-width: 1px;
    border-right: 1px solid #888;
    /**/
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    /**/
    margin-left: 3px;
}

.Conjoined .RightButton label {
    border-left: 1px solid #888;
    border-right-width: 1px;
    /**/
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    /**/
    margin-right: 0;
}

/* Shadowbox */

.ShadowboxContainer {
    background: black;
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
}

.shadowbox {
    min-width: 50%;
    min-height: 50%;
    position: absolute;
    background: #000;
    padding: 6px;
    border-radius: 6px;
    /**/
    box-shadow: 1px 1px 3px #000;
    cursor: default;
}

.shadowboxTitle {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

.closeButton {
    float: right;
    margin-top: -30px;
    margin-right: -30px;
    cursor: pointer;
    color: #fff;
    border: 1px solid #AEAEAE;
    border-radius: 30px;
    background: #605F61;
    font-size: 31px;
    font-weight: bold;
    display: inline-block;
    line-height: 0px;
    padding: 11px 3px;
}

.closeButton:hover {
    background: #f00;
}

.closeButton:before {
    content: "×";
}
