/* z-index stack
    0       entities
    0       container covers
    100     container control buttons
    10000   toolbar
    20000   modal window
    100000  signalizer
*/


body
{
    margin: 0;
    font-family: 'Open Sans';
}

#yard
{
    background-color: #fff;
    width: 1000000px;
    height: 1000000px;
}

#container_control_delete
{
    position: absolute;
    /*background-color: red;*/
    width: 20px;
    height: 20px;
    padding: 0px;
    left: 500000px;
    top: 500000px;
    z-index: 100;
}

#container_control_move
{
    position: absolute;
    /*background-color: green;*/
    width: 20px;
    height: 20px;
    padding: 0px;
    left: 500000px;
    top: 500030px;
    z-index: 100;
}

#container_control_move a
{
    cursor: move;
}

#container_control_resize
{
    position: absolute;
    /*background-color: cyan;*/
    width: 20px;
    height: 20px;
    left: 500000px;
    top: 500060px;
    z-index: 100;
}

#container_control_resize a
{
    cursor: nw-resize;
}

#container_control_type
{
    position: absolute;
    /*background-color: cyan;*/
    width: 20px;
    height: 20px;
    padding: 0px;
    left: 500000px;
    top: 500090px;
    z-index: 100;
}

#container_control_maximize
{
    position: absolute;
    /*background-color: cyan;*/
    width: 20px;
    height: 20px;
    padding: 0px;
    left: 500000px;
    top: 500120px;
    z-index: 100;
}

.entity_container
{
    background-color: #fff;
    position: absolute;
    border: 0px solid #fff;
}

.entity_cover
{
    background-color: rgba(255,0,0,0.0);
    position: absolute;
    width: 100%;
    height: 100%;
}

#toolbar
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #222;
    height: 25px;
    /*color: #121212;*/
    z-index: 10000;
    font-size: 13px;
    padding-top: 5px;
}

#toolbar img
{
    vertical-align: middle;
}

#toolbar .button
{
    position: relative;
    padding: 5px;
    height: 20px;
    display: inline;
}

#toolbar a
{
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    color: #eee;
}

.active_container
{
    outline: 1px dashed #aaa;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 20000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal_content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    min-width: 360px;
}

.modal_close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.modal_close:hover,
.modal_close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal_button {
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    padding: 5px 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    border-radius: 3px;
}

.modal_url {
    padding: 0 0 0 0;
    font-size: 14px;
    color: #aaa;
}

#share_not_saved {
    color: #e55050;
}