body {
    background: #eee;
    min-width: 320px;
    overflow-x: hidden;
}

label input {
    display: inline;
}

iframe {
    border: none;
    overflow: hidden;
}

a:hover {
    color: rgba(42, 100, 150, 1);
}

.container {
    max-width: 1600px;
}

.btn:focus {
  outline: none;
}

.form-group {
    padding-left: 5px;
}

/****************************
    HEADER TITLE BAR
*****************************/
.form-group {
    margin-bottom: 0px;
}

/****************************
        OPTIONS PANEL
*****************************/
.card-body {
    padding-top: 10px;
    padding-bottom: 0px;
    padding-left: 50px;
    padding-right: 50px;
}
/****************************
    MIDDLE ROW VIDEO
*****************************/
.row {
    margin-bottom: 5px;
    margin-right: 0px;
    margin-left: 0px;
}

.col {
    padding-right: 5px;
    padding-left: 5px;
}

#chart-container {
    padding-bottom: 5px;
}

.chart-select-panel {
    height: auto;
}

.dash-video-player {
    /* background-color: #000000; */
    position: relative;
    padding: 0;
    max-width: 960px;
}

.dash-video-player video {
    width: 100%;
    height: 100%;
    margin: auto;
    object-fit: fill;
}

.btn-play-pause,
.control-icon-layout {
    padding: 4px 10px !important;
}

.cue-image {
    z-index: 2147483648;
    pointer-events: none;
    display: block;
    left: 0px;
    width: 100%;
    height: 100%;
    top: 0px;
    visibility: visible !important;
    position: absolute !important;
}

/****************************
        STATS PANELS
*****************************/

.text-success {
    color:black !important;
    font-size: 1.05em ;
    white-space: nowrap;
    overflow: hidden
}

.text-primary {
    color:#428bca;
    font-weight: 500;
    padding-right: 3px;
}

.panel-stats label {
    margin-left: 5px;
}

.tabs-section .nav > li > a {
    padding: 10px 11px;
}

.tab-content {
    margin-left: 1px;
    margin-top: -1px;
    background-color: #fff;
    height: 90%;
}

.tab-pane {
    font-size: 14px;
}

/****************************
    CHARTING AND CHART TABS
*****************************/
flot{
    display: block;
    width: 100%;
    height: 200px;
}

#chart-inventory {
    position:relative;
    background-color: #ececec;
}

.legendLabel {
    color:black;
    padding-right: 15px;
    padding-left: 10px;
}

.chart-controls {
    padding-top: 15px;
    padding-left: 15px;
    height: 50px;
    width: 100%;
}

div.chart-wrapper{
    padding: 15px;
}

.chart-panel {
    background-color: #ffffff;
    margin-top: 15px;
    margin-bottom: 15px;
}

button#disable-chart-btn {
    float: left;
}

div.legend-row {
    margin-top: 10px;
    margin-left: 10px;
    float: right;
}

/****************************
    MEDIA SCREEN CONTROL
*****************************/
.placeholder {
    display: none;
    position: absolute;
    background-size: cover;
    text-align: center;
    float: left;
    z-index: 300000;
    margin: 0;
    top: 40%;
    left: 45%;
    margin-right: -50%;
    transform: translate(-50%, -50%)
}

@media (min-width: 993px) {

    #desktop-streams {
        display: table-cell;
    }

    #mobile-streams {
        display: none;
    }
}

@media (min-width: 0px) and (max-width: 992px) {
    #desktop-streams {
        display: none;
    }

    #mobile-streams {
        display: table-cell;
    }

    #big-title {
        display: none;
    }

    .legend-row {
        display: none;
    }
}

@media (max-width: 530px) {
    .top-buttons {
        display: none;
    }
}

.spinner {
    position: absolute;
    left: 50%;
    top: 50%;
    height:60px;
    width:60px;
    margin:0px auto;
    -webkit-animation: rotation .6s infinite linear;
    -moz-animation: rotation .6s infinite linear;
    -o-animation: rotation .6s infinite linear;
    animation: rotation .6s infinite linear;
    border-left:6px solid rgba(255,255,255,.15);
    border-right:6px solid rgba(255,255,255,.15);
    border-bottom:6px solid rgba(255,255,255,.15);
    border-top:6px solid rgba(255,255,255,.8);
    border-radius:100%;
 }
 
 @-webkit-keyframes rotation {
    from {-webkit-transform: rotate(0deg);}
    to {-webkit-transform: rotate(359deg);}
 }
 @-moz-keyframes rotation {
    from {-moz-transform: rotate(0deg);}
    to {-moz-transform: rotate(359deg);}
 }
 @-o-keyframes rotation {
    from {-o-transform: rotate(0deg);}
    to {-o-transform: rotate(359deg);}
 }
 @keyframes rotation {
    from {transform: rotate(0deg);}
    to {transform: rotate(359deg);}
 }

/****************************
MOBILE SOURCE MENU MODAL LIST
*****************************/

.modal-list {
    height: 100%;
    overflow: scroll;
    background: white;
    list-style: none;
    padding: 5px;
    font-size: 16px;

    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
}

.modal-list > ul {
    padding: 5px;
}

.modal-list > ul > li {
    margin-bottom: 20px;
    list-style: none;
    font-size: 20px;
    font-weight: 200;
    padding: 10px 0;
    cursor: pointer;
    border-bottom: 3px solid #999;
}

.modal-list > ul > li > span {
    font-weight: 900;
    margin-bottom: 8px;
}

.modal-list > ul > li > ul > li {
    border-top: 1px solid #ccc;
    padding: 6px 0;
}

/****************************
        DESKTOP MENU
*****************************/
.tooltip-inner {
    white-space:pre-wrap;
}
