﻿.body-monitor {
    padding: 0px !important;
}

.body-monitor .title {
    font-size: 30px;
    font-weight: 700;
    padding: 10px;
}

    .body-monitor .menu {
        background-color: #DAEAF9;
        text-align: right;
    }

.body-monitor .btn {
    display: inline-block;
    width: auto;
    padding: 5px 8px;
    margin: 5px;
}

.body-monitor .itemlist .item {
    position: relative;
    display: inline-block;
    width: 400px;
    height: 300px;
    margin: 10px;
    background-color: #00BEBE;
}

.body-monitor .itemlist .item:before {
    content: attr(title);
    position: absolute;
    color: white;width:100%;
    bottom: 0px;
    left: 0px;
    padding: 5px 3px;
    text-align: center;
    background-color: rgba(0,0,0,0.5);
}

.body-monitor .item2 {
    position: absolute;
    top: 106px;
    left: 0px;
    width: 100%;
    height: 88%;
    background-color: rgba(0,0,0,0.5);
    vertical-align: bottom;
}
.body-monitor .item2 .content  {
    position: absolute;
    top:  0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    margin: auto;
    width: 500px;
    height: 400px;
    background-color: #00BEBE;
}.body-monitor .item2 .tool {
    position: absolute;
    bottom: 0px;
    width: 100%;
    text-align: right;
}
.body-monitor .item2 .tool .btn {
    padding: 3px 15px;
    background-color: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: #00BEBE;
    text-shadow: none;
}

@media screen and (max-width:641px) and (max-height:1000px) and (orientation: portrait) {
    .body-monitor .menu {
        position: fixed;
        top: 0px;
        right: 0px;
        background-color: transparent;
        z-index: 999;
        outline: none;
    }

    .body-monitor .menu:before {
        content: '•••';
        position: relative;
        display: inline-block;
        font-size: 22px;
        margin: 16px 20px;
    }

    .body-monitor .menu .menu-content {
        display: none;
        position: fixed;
        top: 65px;
        left: 0px;
        width: 100vw;
        height: calc(100vh - 65px);
        z-index: 999;
        background-color: rgba(0,0,0,0.8);
    }

    .body-monitor .menu:focus .menu-content {
        display: inline-block;
    }

    .body-monitor .menu:focus .menu-content .btn {
        width: 100vw;
        background-color: transparent;
        border: none;
        border-radius: 0px;
        border-bottom: 1px solid rgba(255,255,255,0.3);
        margin: 0px;
        padding: 10px;
        font-size: 18px;
    }

    .body-monitor .itemlist .item {
        width: 33.33333vw;
        height: 30vw;
        margin: 0px;
        margin-right: -4px;
        margin-bottom: -5px;
    }

    .body-monitor .item2 {
        width: 100vw;
        top: 65px;
        height: calc(100vh - 65px);
    }

    .body-monitor .item2 .content {
        width: 100vw;
        height: 80vw;
    }
}

@media screen and (max-width:1000px) and (max-height:641px) and (orientation: landscape) {
    .body-monitor .menu {
        position: fixed;
        top: 0px;
        right: 0px;
        background-color: transparent;
        z-index: 999;
        outline: none;
    }

    .body-monitor .menu:before {
        content: '•••';
        position: relative;
        display: inline-block;
        font-size: 22px;
        margin: 16px 20px;
    }

    .body-monitor .itemlist .item {
        width: calc(100vw / 4);
        height: calc((100vh - 68px) / 2);
        margin: 0px;
        margin-right: -4px;
        margin-bottom: -5px;
    }

    .body-monitor .item2 {
        width: 100vw;
        top: 65px;
        height: calc(100vh - 65px);
    }

    .body-monitor .item2 .content {
        width: calc(100vh + 100px);
        height: calc(100vh - 65px);
    }

    .body-monitor .menu .menu-content {
        display: none;
        position: fixed;
        top: 65px;
        left: 0px;
        width: 100vw;
        height: calc(100vh - 65px);
        z-index: 999;
        background-color: rgba(0,0,0,0.8);
    }

    .body-monitor .menu:focus .menu-content {
        display: inline-block;
    }

    .body-monitor .menu:focus .menu-content .btn {
        width: 100vw;
        background-color: transparent;
        border: none;
        border-radius: 0px;
        border-bottom: 1px solid rgba(255,255,255,0.3);
        margin: 0px;
        padding: 10px;
        font-size: 18px;
    }
}