/***********************************************************
* A-Touch Winwel - CSS for Video Surveillance View
* v1.0
***********************************************************/

.container {
    width: 100%;
}

/* NAV */

.video-nav {
    background-color: #333;
    width: 78%;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1002;
    padding: 0 12px;
    height: 96px;
}
.video-surveillance-off-icon {
    height: 30px;
    margin-left: 15px;
}
.expand img {
    height: 20px;
    margin-left: 1px;
}
.multiview-icon {
    float: right;
    cursor: pointer;
}

/* CAMERAS DISPLAY */
.cameras-layout-box {
    height: 220px;
    background-color: #1e5d91;
    color: #fff;
    margin-top: 3px;
}
.icon-up-arrow {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 30px 30px 30px;
    border-color: transparent transparent #1e5d91 transparent;
    float: right;
    margin: -10px -15px 0 0;
}
.cameras-layout-box h2 {
    color: #fff;
    margin-top: 0;
}
.cameras-layout-box hr {
    margin-bottom: -20px;
}
.select-to-apply p {
    margin: auto;
    margin-bottom: 20px;
}
.video-change-view-four {
    text-align:right;
}
.video-change-view-four button {
    background-color:#1e5d91;
    border:1px solid #fff;
    height:40px;
    width:80px;
}
.video-change-view-nine {
    text-align:center;
}
.video-change-view-nine button {
    background-color:#1e5d91;
    border:1px solid #fff;
    height:60px;
    width:120px;
}
.video-change-view-multiple {
    text-align:left;
    color:#fff;
}
.video-window {
    width: 100%;
    height: 100%;
}
video::-webkit-media-controls {
  display:none !important;
}
/* LEFT MENU */
.camera-box {
    width: calc(100% - 40px);
    margin: 0;
    padding: 0;
    display: table;
    height: 45px;
}
.camera-box b {
    display: table-cell;
    vertical-align: middle;
    line-height: initial;
}
.camera-box img {
    position: absolute;
    right: 13px;
    height: 17px !important;
    top: 15px;
    margin: 0 !important;
}
.vs-hr {
    margin-bottom: -1px;
}
/* RIGHT MENU */

.video-right-fixed {
    position: absolute;
    padding-top: 96px;
    right: 0;
    width: 78%;
    min-height: 100%;
    background-color: #333;
    color: #fff;
    text-align: center;
    z-index: 1001;
}
.video-camera-backgroung {
    background-color: #333;
}
.video-main-content {
    margin: 0 -5px 0 -5px;
}
.entry-camera-message-box {
    min-height: calc(100vh - 103px);
}
.entry-camera-message-box span {
    text-transform: uppercase;
    margin-top: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 22px;
}
.video-camera-name {
    padding: 0;
    padding-top: 7px;
    margin-bottom: 0 !important;
}
.video-camera-name h2 {
    color: #fff;
}
.video-camera-name hr {
    border-top: 1px solid rgba(255,255,255,.6);
}
.edit-device {
    float: right;
    cursor: pointer;
    position: relative;
    z-index: 1;
    height: 30px;
    line-height: 33px;
}
.edit-device span {
    font-size: 22px;
}
.edit-device img {
    height: 22px;
    margin-top: -5px;
}
.video-camera-iframe{
    width: 100%;
    height: calc(100vh - 170px);
    border: 0;
}
.camera-square {
    background-color: transparent;
    padding: 2px;
}
.camera-square-one {
    background-color: transparent;
    padding: 2px;
    width: 100%;
}
.camera-square-four {
    background-color: transparent;
    padding: 2px;
}
.camera-square-nine {
    background-color: transparent;
    padding: 2px;
    width: 33.3%;
}
.camera-square-right {
    padding: 0;
    padding-left: 5px;
}
.close-camera-display-square {
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 0;
}
.close-camera-display-square img {
    height: 20px;
}
.video-main-content:-webkit-full-screen {
    background: #000;
    margin: 0;
}
.video-main-content:-moz-full-screen {
    background: #000;
    margin: 0;
}
.video-main-content:-ms-fullscreen {
    background: #000;
    margin: 0;
}
.video-main-content:fullscreen {
    background: #000;
    margin: 0;
}
.video-nav-menu {
    margin: auto;
    color: #fff;
}
.mjpeg-video {
    height: 100%;
    width: 100%;
}
.empty-video-holder {
    background-color: #000;
    background-image: url('../img/video-surveillance/no_video.svg');
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.5;
}
.video-name {
    background-color: rgba(0, 0, 0, 0.5);
    margin-top: -25px;
    text-align: left;
    position: relative;
    margin-right: 0;
    padding-left: 5px;
    height: 25px;
    line-height: 25px;
    margin-bottom: 0;
}
.fullscreen-video-icon {
    float: right;
    height: 18px;
    margin: 5px;
    cursor: pointer;
}
.switch-video-icon {
    float: right;
    height: 8px;
    margin: 8px;
    cursor: pointer;
    width: 90px;
    padding-left: 40px;
}
.cameras-display-square-title {
    background-color:#1e5d91;
    text-align:left;
}
.cameras-display-square-list {
    color: #fff;
    text-transform: none;
    padding-top: 3px;
    margin: 0;
}
/* FOOTER */
footer {
    position: absolute;
    right: 15px;
    bottom: 0;
    margin: 0;
    height: 35px;
}
.fullscreen {
    float: right;
    right: 15px;
    cursor: pointer;
    margin: 0;
}
.fullscreen-icon {
    height: 25px;
    margin-right: 5px;
    margin-top: -3px;
}
.possible-cameras-box {
    max-height: 135px;
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
    cursor: pointer;
}
.possible-cameras-box::-webkit-scrollbar {
    height: 4px;
    width: 4px;
    border: 1.5px solid #1e5d91;
    background-color: rgba(255,255,255,1);
}
.possible-cameras-box::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0);
}
.possible-cameras-box::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,1);
}
.possible-cameras-box::-webkit-scrollbar-thumb:window-inactive {
    background: rgba(255,255,255,1);
}
/* MODALS */
.add-camera-input {
    margin-bottom: 20px;
}
.video-domo-select {
    margin-left: 10px;
}
.video-feed-input input {
    width: calc(100% - 10px);
}
.video-surveillance-modals-div-labels {
    padding: 0 !important;
}
.icon-arrow-cameras {
    height: 16px;
}
.cameras-display-hr hr {
    margin: 0;
}
.camera-square-nine:last-child {
    margin-bottom: 35px;
}
.camera-error-message {
    font-weight: 700;
    font-style: italic;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    margin-top: 0;
    text-align: center;
}
.paths-menu {
    margin-left: 10px;
}
.paths-menu > div:last-child {
    margin-top: 10px;
    height: 80px;
    overflow: scroll;
}
.paths-menu > div:last-child {
    padding-left: 0;
}
.paths-menu > div:last-child > div {
    cursor: pointer;
    display: flex;
    flex-flow: row nowrap;
}
.paths-menu > div:last-child > div > div {
    margin: 2px 0;
}
.paths-menu > div:last-child > div > div:first-child {
    width: 70%;
}
.paths-menu > div:last-child > div > div:last-child {
    width: 30%;
}
.paths-menu > div:last-child > div > div:first-child > span {
    color: #1e5d91;
}
.paths-menu > div:last-child > div > div:last-child > span {
    text-transform: uppercase;
    color: #c5c5c5;
    float: right;
}
.discover-button-div {
    /* display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center; */
    margin-bottom: 10px;
}
.discover-button-div > button {
    background-color: white;
    color: #1e5d91;
    border: none;
    width: 100%;
}
.cameras-discover-table {
    width: 100%;
}
.cameras-discover-table thead tr th, .cameras-discover-table tr td {
    width: 30%;
    text-align: center;
    padding: 0 10px;
}
.cameras-discover-table tbody tr {
    transition: box-shadow 0.3s;
    cursor: pointer;
}
.cameras-discover-table tbody tr:hover {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}
/********** CAMERA IFRAME **********/
.camera-frame {
    height: calc(100vh - 170px);
    width: 100%;
    padding: 0;
}
.camera-frame iframe {
    height: 100%;
}
.no-camera-image {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    margin-top: 0;
    transform: translate(-50%, -50%);
    width: 30%;
}

/* RESPONSIVE PART */
@media only screen and (max-width: 1199px) {
    .video-nav {
        height: 80px;
    }
    .entry-camera-message-box {
        min-height: calc(100vh - 86px);
    }
    /* LEFT MENU */
    .video-right-fixed {
        padding-top: 80px;
    }
    .video-surveillance-off-icon {
        height: 25px;
        margin-top: -5px;
    }
    .expand img {
        height: 16px;
    }
    .video-menu-header {
        margin-top: 15px;
        margin-bottom: 5px;
    }
    .fullscreen-icon {
        height: 22px;
    }
    footer {
        height: 30px;
    }
    /* RIGHT MENU */
    .video-camera-iframe {
        height: calc(100vh - 147px);
     }
     .edit-device img {
         margin-top: -7px;
         margin-right: -3px;
     }
     .edit-device span {
         font-size: 20px;
     }
    .empty-video-holder {
        background-size: 80px;
    }
    .switch-video-icon {
        height: 7px;
        width: 80px;
    }
    .possible-cameras-box {
        max-height: 110px;
    }
    .camera-box {
        width: calc(100% - 35px);
        height: 45px;
    }
    .camera-box b {
        display: table-cell;
        vertical-align: middle;
        line-height: initial;
    }
    .camera-frame {
        height: calc(100vh - 150px);
    }
}
@media only screen and (max-width: 991px) {
    .video-nav {
        width: 75%;
        height: 62px;
        padding: 0 11px;
    }
    .entry-camera-message-box {
        min-height: calc(100vh - 68px);
    }
    /* LEFT MENU */
    .video-surveillance-off-icon {
        height: 22px;
    }
    /* RIGHT MENU */
    .video-right-fixed {
        width: 75%;
        padding-top: 62px;
    }
    .video-camera-iframe {
        height: calc(100vh - 123px);
    }
    .edit-device {
        line-height: 22px;
    }
    .edit-device span {
        font-size: 18px;
    }
    .edit-device img {
        height: 18px;
        margin-top: -5px;
    }
    .expand img {
        height: 14px;
    }
    .camera-square {
        padding: 1px;
    }
    .video-name {
        margin-top: -20px;
        height: 20px;
        line-height: 20px;
    }
    .fullscreen-video-icon {
        height: 16px;
        margin: 2px;
    }
    .fullscreen-icon {
        height: 18px;
        margin-right: 2px;
    }
    footer {
        height: 25px;
    }
    .switch-video-icon {
        height: 6px;
        width: 60px;
        margin: 6px;
        padding-left: 20px;
    }
    .empty-video-holder {
        background-size: 60px;
    }
    .close-camera-display-square img {
        height: 15px;
    }
    .possible-cameras-box {
        max-height: 90px;
    }
    .camera-box {
        height: 38px;
    }
    .camera-box img {
        height: 15px !important;
        top: 12px;
    }
    .camera-frame {
        height: calc(100vh - 125px);
    }
    .output-box-row > div:last-child, .output-box-row > div:last-child > div, .output-box-row > div:last-child > div > div:first-child > div > output-box > div {
        padding: 0;
    } 
}
@media only screen and (max-width: 800px) {
    /******************************
    STYLING FOR IPADS
    ******************************/

    /********** LEFT MENU **********/
    .video-surveillance-modals-div-labels p {
        line-height: 35px;
    }
    /********** RIGHT MENU **********/
    .video-nav {
        width: 70%;
    }
    .video-right-fixed {
        width: 70%;
    }
    .camera-box {
        height: 45px;
    }
    .camera-box img {
        height: 17px !important;
        top: 15px;
    }
    .camera-frame {
        height: calc(100vh - 135px);
    }
}
@media only screen and (max-width: 767px) {
    .video-camera-backgroung {
        padding-left: 10px;
        padding-right: 10px;
    }
    .entry-camera-message-box {
        min-height: calc(100vh - 70px);
    }
    .video-camera-name hr {
        margin-bottom: 8px;
    }
    .nav-toggle-div-video-surveillance {
        z-index: 1002;
        position: absolute;
        height: 55px;
        width: 75px;
        margin-top: 5px;
        margin-left: 12px;
    }
    .video-nav {
        width: calc(100% - 70px);
    }
    .pgslidefixed.video-nav {
        padding-left: 75px;
    }
    .pgslideabsolute.nav-toggle-div-video-surveillance {
        margin-left: 7px;
    }
    .nav-toggle-div-video-surveillance span, .nav-toggle-div-video-surveillance span:before, .nav-toggle-div-video-surveillance span:after {
        background-color: #eff3f4 !important;
    }
    .video-right-fixed {
        width: 100%;
        margin-right: 0;
        padding-top: 46px;
        left: 0; /* needed so the pageslide can be smooth */
    }
    .video-camera-name h2 {
        margin-bottom: 6px;
    }
    .video-camera-iframe {
        height: calc(100vh - 88px);
    }
    .edit-device {
         line-height: 26px;
    }
    .edit-device img {
        height: 26px;
    }
    .edit-device span {
        font-size: 20px;
    }
    .fullscreen-video-icon {
        height: 13px;
        margin: 2px 2px;
    }
    .switch-video-icon {
        height: 5px;
        width: 55px;
        margin: 7px;
        padding-left: 20px;
    }
    .empty-video-holder {
        background-size: 70px;
    }
    .close-camera-display-square img {
        height: 13px;
    }
    .possible-cameras-box {
        max-height: 75px;
    }
    .camera-square-nine:last-child {
        margin-bottom: 0;
    }
    /********** TABLET STYLING REFACTORY **********/
    .video-surveillance-modals-div-labels p {
        line-height: 37px;
    }
    .video-surveillance-modals-div-labels li {
        padding-top: 2px;
    }
    .camera-box {
        height: 64px;
        width: calc(100% - 45px);
    }
    .camera-box img {
        height: 22px !important;
        top: 23px;
    }
    .camera-frame {
        height: calc(100vh - 127px);
    }
}
@media only screen and (max-width: 600px) {
    .empty-video-holder {
        background-size: 50px;
    }
    .video-camera-name {
        padding-top: 0;
    }
    .video-camera-name h2 {
        margin-bottom: 12px;
    }
    .video-camera-iframe {
        height: calc(100vh - 82px);
    }
    .switch-video-icon {
        height: 4px;
        width: 40px;
        margin: 5px;
        padding-left: 15px;
        line-height: 15px;
    }
    .video-name {
        margin-top: -15px;
        height: 15px;
        font-size: 10px;
    }
    .camera-square {
        padding: 0 1px 1px 0;
    }
    .camera-square-one {
        padding: 0 1px 1px 0;
    }
    .camera-square-four {
        padding: 0 1px 1px 0;
    }
    .camera-square-nine {
        padding: 0 1px 1px 0;
    }
    .close-camera-display-square img {
        height: 12px;
    }
    .cameras-display-square-list {
        font-size: 10px;
    }
    .cameras-display-square-list span {
        font-size: 10px;
    }
    .possible-cameras-box {
        max-height: 65px;
    }
    .cameras-display-hr {
        margin-bottom: -10px;
    }
    .video-feed-input {
        padding-left: 20px;
    }
    .video-surveillance-modals-div-labels input {
        width: calc(100% - 10px);
    }
    .camera-box {
        height: 57px;
    }
    .camera-box img {
        height: 19px !important;
        top: 20px;
    }
    .camera-frame {
        height: calc(100vh - 120px);
    }
}
@media only screen and (max-width: 500px) {
    .video-feed-input {
        padding-left: 30px;
    }
}
@media only screen and (max-width: 450px) {
    .empty-video-holder {
        background-size: 40px;
    }
    .edit-device {
        line-height: 18px;
    }
    .edit-device img {
        height: 18px;
    }
    .edit-device span {
        font-size: 18px;
    }
    .video-camera-iframe {
        height: calc(100vh - 77px);
    }
    .video-name {
        height: 12px;
        line-height: 12px;
        margin-top: -12px;
        font-size: 9px;
    }
    .switch-video-icon {
        padding-left: 10px;
        width: 30px;
        margin: 4px;
        height: 3px;
    }
    .close-camera-display-square img {
        height: 10px;
    }
    .cameras-display-square-list {
        font-size: 8px;
    }
    .cameras-display-square-list span {
        font-size: 8px;
    }
    .possible-cameras-box {
        max-height: 50px;
    }
    .video-menu-header {
        margin-top: 20px;
    }
}
@media only screen and (max-width: 350px) {
    .video-camera-iframe {
        height: calc(100vh - 73px);
    }
    .empty-video-holder {
        background-size: 25px;
    }
    .video-name {
        margin-top: -10px;
        height: 10px;
        line-height: 10px;
        font-size: 7px;
    }
    .switch-video-icon {
        padding-left: 5px;
        width: 20px;
        height: 2px;
        margin: 4px;
    }
    .close-camera-display-square img {
        height: 8px;
    }
    .cameras-display-square-list {
        font-size: 7px;
    }
    .cameras-display-square-list span {
        font-size: 7px;
    }
    .possible-cameras-box {
        max-height: 30px;
    }
    .cameras-display-hr {
        margin-bottom: -12px;
    }
    .video-surveillance-off-icon {
        height: 18px;
        margin-left: 5px;
        margin-top: -3px;
    }
    .video-feed-input {
        padding-left: 40px;
    }
}
