﻿html, body {
    font-size: 11pt;
    border: 0;
    margin: 0;
}

div {
    box-sizing: border-box;
}

#header {
    display: block;
    height: 60px;
    border: 0;
    margin: 0;
    width: 100%;
    border-bottom: 1px solid #92c2e9;
    box-shadow: 3px 3px 5px #00000029;
}


#canvas-wrapper {
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    top: 60px;
    /*background-image: radial-gradient(circle at 1px 1px,rgb(216,216,216) 1px,transparent 0);*/
    background-size: 0.4% 0.4%;
    background-position: -1px -1px;
    box-shadow: inset 3px 3px 10px #0000006b;
    overflow: hidden;
    background-color: #526670;
}

.logo {
    display: inline-block;
    width: 200px;
    height: 100%;
    vertical-align: middle;
    border: 5px solid transparent;
}

    .logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        /*background-color: white;*/
        background-color: transparent;
    }

    .logo.logo-left {
        float: left;
    }

    .logo.logo-right {
        float: right;
    }

.logo-left img {
    /*object-position: left;*/
}

.logo-right img {
    /*object-position: right;*/
}

.canvas-item {
    display: inline-block;
    position: absolute;
    min-width: 10%;
    min-height: 10%;
    width: 10%;
    height: 10%;
    background: white;
    cursor: grab;
    border: 2px solid white; /* this is link to grid_size_css_percent*/
}

    .canvas-item div.inner {
        display: block;
        position: absolute;
        top: 0;
        bottom: 1.4rem;
        left: 0;
        right: 0;
        overflow: hidden;
    }

    .canvas-item .camera-name {
        display: inline-block;
        position: absolute;
        width: 100%;
        line-height: 1.4rem; /*this properties is link to div.inner bottom*/
        bottom: 0;
        text-align: center;
        vertical-align: middle;
        background-color: black;
        color: #cacaca;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .canvas-item:hover {
        box-shadow: 2px 2px 10px 2px #0000008c;
    }

    .canvas-item .inner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .title {
        display: inline-block;
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        text-align: center;
        line-height: 60px;
        color: black;
        font-size: 16pt;
        font-weight: bold;
    }
