﻿
.rh-liveview-widget {
    height: 100%;
    width: 100%;
    font-size: 16px;
    color: black;
}

.rh-liveview-heading {
    background-color: #d13838;
    color: white;
    height: 32px;
    font-size: 15px;
    font-weight: lighter;
    line-height: 32px;
}

.rh-liveview-icon {
    padding-left: 5px;
}

.rh-liveview-title {
    font-weight: bolder;
}

.rh-liveview-body {
    position: relative;
    text-align: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    min-height: 180px;
}

    .rh-liveview-body .fa-spin {
        position: absolute;
        left: 10px;
        top: 10px;
    }

.rh-liveview-camera-details {
    position: absolute;
    height: 20px;
    width: 100%;
    font-size: 14px;
    font-weight: bold;
    z-index: 10;
    color: white;
    background: #4e4e4e;
    background: rgba(50, 50, 50, 0.8);
}

    .rh-liveview-camera-name {
        float: left;
        display: inline-block;
        padding-left: 10px;
    }

    .rh-liveview-camera-location {
        float: right;
        display: inline-block;
        padding-right: 10px;
    }

.rh-liveview-controls {
    position: absolute;
    top: 23px;
    left: 3px;
    z-index: 10;
}

    .rh-liveview-controls button {
        width: 80px;
    }

.rh-liveview-fullscreen {
    position: absolute;
    top: 23px;
    right: 5px;
    width: 25px;
    height: 25px;
    color: #4e4e4e;
    cursor: pointer;
    background: #ffffff;
    background: rgba(255, 255, 255, 0.4);
}

.rh-liveview-fps {
    position: absolute;
    right: 5px;
    bottom: 38px;
    width: 45px;
    height: 25px;
    padding: 5px;
    font-size: 8pt;
    color: red;
    background: #ffffff;
    background: rgba(255, 255, 255, 0.4);
}

.rh-liveview-rec {
    position: absolute;
    left: 5px;
    bottom: 38px;
    width: 65px;
    height: 25px;
    padding: 5px;
    font-size: 8pt;
    color: red;
    background: #ffffff;
    background: rgba(255, 255, 255, 0.4);
}

    .rh-liveview-rec i {        
        vertical-align: baseline;
        -webkit-animation: blinker 1s cubic-bezier(.5, 0, 1, 1) infinite alternate;
        -moz-animation: blinker 1s cubic-bezier(.5, 0, 1, 1) infinite alternate;
        -ms-animation: blinker 1s cubic-bezier(.5, 0, 1, 1) infinite alternate;
        -o-animation: blinker 1s cubic-bezier(.5, 0, 1, 1) infinite alternate;
        animation: blinker 1s cubic-bezier(.5, 0, 1, 1) infinite alternate;
    }

    @keyframes blinker {  
      from { opacity: 1; }
      to { opacity: 0; }
    }

.rh-liveview-view {
    width: 100%;
    height: 100%;
}

    .rh-liveview-view > img {
        background-color: #3056bf;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

.rh-liveview-error-details {
        padding: 10px;
        font-size: 8pt;
        color: #4e4e4e;
    }

        .rh-liveview-error-details > h4 {
            font-size: 10pt;
            font-weight: bold;
        }

    .rh-liveview-error-reload {
        position: absolute;
        right: 15px;
        bottom: 45px;
    }