#debugBox {                                                                                                                                                       
    width: 400px;                                                                                                                                                 
    height: 100px;                                                                                                                                                
    background-color: white;
    color: black;
                                                                                                                                                                  
    position: absolute;                                                                                                                                           
    top:0;                                                                                                                                                        
    bottom: 0;                                                                                                                                                    
    left: 0;                                                                                                                                                      
    right: 0;                                                                                                                                                     
                                                                                                                                                                  
    margin: auto;
    z-index: 9999;
}

body {
    --backgroundColor: #101010;
    --rowEvenColor: #303030;
    --rowOddColor: #505050;
    --fontColor: #b0b0b0;
    --scrollbarColor: #202020; 
    --scrollbarThumbColor: #606060; 

    overflow: hidden;   /* no scrollbar on main window; need to avoid in transition */

    color: var(--fontColor);
    background-color: var(--backgroundColor);
    white-space: nowrap;
    font-family: Arial;
}

::-webkit-scrollbar {
    background: var(--scrollbarColor);
    box-shadow: inset 0 0 5px grey; 
    border-radius: 10px;
}

 
::-webkit-scrollbar-thumb {
    background: var(--scrollbarThumbColor);
    border-radius: 10px;
}


#rfIpAddr {
    position: fixed;
    bottom: 20px;
    right: 40px;
}

#videoPlayer {
    display: none;
    height: 240px;
}

#videoPlayerMessage {
    font-size: 30px;
    position: relative;
    top: 50%;
    transform: translateY(50%);
    height: 240px;
    display: block;
}

#timeBoxOverlay {
    display: none;
    border-right: 3px solid #00ff00 ;
    height: 268px;
    position: absolute;
    left: 195px;
    margin-left: -3px;
    top: 80px;
    width: 40px;
    background-color: black;
    opacity: .4;
    z-index: 200;
}

.notVisible
{
    display: none;
}

.centeredDiv {
    margin: auto;
}
    

table, tr, td {
    padding: 0;
    margin: 0;
    border: 0;
    
}
table {
    border-collapse: collapse;
    display: inline-block;
}

td {
    border-spacing: 0;
}


.channelTable {
    float: left;
}

#epgWindow {
    margin-top: 40px;
    margin-left: 40px;
}

#programTimeHeaderViewport table {
    margin-left: -1px;
}

#programTimeRowDiv  {
    clear: left;
}

#programTimeRowDiv .channelTable {
    visibility: hidden; 
}

.viewport {
    overflow-y: hidden; 
    overflow-x: hidden; 
}

.viewportYScroll {
    overflow-y: auto; 
    overflow-x: hidden; 
}

.viewportXScroll {
    overflow-y: hidden; 
    overflow-x: auto; 
}

.channelRowEven {
    border-top:solid 3px;
    border-left:solid 3px;
    border-right:solid 3px;
    border-color: var(--backgroundColor);
    background: var(--rowEvenColor);
    text-align:center;
}


#programTable.hoverControl  td:hover {
    background-color: #a0a0a0;
    color: black;
}
#channelTable.hoverControl tr:hover {

    background-color: #a0a0a0;
    color: black;
}

.channelRowOdd {
    border-top:solid 3px;
    border-left:solid 3px;
    border-right:solid 3px;
    border-color: var(--backgroundColor);
    background: var(--rowOddColor);
    text-align: center;
}

.channelRowSpace {
    border-top: solid 3px;
    border-left: solid 3px;
    border-right: solid 3px;
    border-color: transparent;   /* STAYS transparent */
}


.channelImage {
    height: 70px;
    min-height: 70px;
    min-width: 94px;
    border: none;
    padding: 0;
}


.channelImage img {
/*    max-height: 100%; */
    max-height: 70px; 
    max-width: 90px; 
    vertical-align: middle;
}

.channelTextTd {
    border: none;
    padding: 5px;
    max-width: 81px;
    min-width: 81px;
}

.channelText {
    overflow: hidden;
    text-overflow: ellipsis;
}

.programTime {
    min-width: 200px;
    max-width: 200px;
    padding:5px;
    height: 60px;
    max-height: 60px;
    border-left:solid 2px;
    border-color: var(--backgroundColor);
    font-family: Arial;
    font-size: 28px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.program {
    position: relative;   /* no affect on this node, but WILL allow absolute within the td to the td!!!*/
    max-width: 200px;
    min-width: 200px;
    padding:5px;
    height: 60px;
    max-height: 60px;
    border-left:solid 2px;
    border-color: var(--backgroundColor);
    font-family: Arial;
    font-size: 28px;

    white-space: nowrap;
    overflow: visible;
    text-overflow: ellipsis;
}

.programBoth {
    overflow: hidden;
}

.programText {
    position:relative;
    z-index: 100;
}
.programSubtext {
    position:relative;
    z-index: 100;
    font: 20px arial;
}

.programImage {
    position: absolute;
    top: 0;
    left: 0px;
}

.programImage img {
/*    max-height: 100%; */
    max-height: 70px; 
    max-width: 90px; 
    vertical-align: middle;

    position:relative;

    -webkit-transition: all 2.5s ease-in-out;
    -moz-transition: all 2.5s ease-in-out;
    -ms-transition: all 2.5s ease-in-out;
    -o-transition: all 2.5s ease-in-out;
    transition: all 2.5s ease-in-out;

    opacity: .5;
}

.programImage img.big {
    position: relative;
    max-height: 200px;
    z-index: 200;
    opacity: 1;
}

img {
}

#programCalcPixelWidth {
    position: absolute;
    float: left;
    white-space: nowrap; 
    visibility: hidden;
    font-family: Arial;
    font-size: 28px;
}

#epgProgViewport td {

    min-width: 300px;
}

#epgTimeSlotsViewport td {

    min-width: 300px;
}

#programTableViewport table {
    margin-left: -1px;
}

.programTimeText {
}

.text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ALL FOLLOWING is for login dialog!! */

.centered {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

input, button
{
    white-space: nowrap;
    font-weight: 900;
    font-family: Calibri;
    font-size: 14px;
    color: black;
    background-color: white;
}

input {
    background-color: #EBEDEF;
}
.overlay {
    position:fixed;
    top:0;
    bottom:0;
    left:0;
    right:0;
    background-color:#fff;
    opacity:0.8;
    z-index:1001;
    display: none;
}

#downloadLink {
    z-index: 1002;
    position:fixed;
    bottom:0;
    left: 0;
    height:40px;
    width: 100%;
    display: none;
}

#downloadLinkText {
    position: absolute;
    top: 0;
    left:50%;
    transform: translate(-50%, 0);
    font-weight: 400;
    font-family: Calibri;
    font-size: 24px;
    color: #3f51b5;
}


#loadArrowBox {
    z-index: 1002;
    position:fixed;
    bottom:0;
    left:0;
    height:240px;
    width: 300px;
    display: none;
}

#loadArrowText {
    position: absolute;
    top: 0;
    left:50%;
    transform: translate(-50%, 0);
    font-weight: 400;
    font-family: Calibri;
    font-size: 32px;
    color: #3f51b5;
}

#loadArrowTextL2 {
    position: absolute;
    top: 25px;
    left:50%;
    transform: translate(-50%, 0);
    font-weight: 400;
    font-family: Calibri;
    font-size: 32px;
    color: #3f51b5;
}

#loadArrowImage {
    width:200px;
    margin-top: 40px;
    left:50%;
    position: absolute;
    transform: translate(-50%, 0);
}


button:focus {outline:0;}

#interactiveMcRelayUpdate {
    display: none;
    position:absolute;
}

#interactiveMcRelayUpdateText {
    color: lightgray;
}

#interactiveMcRelayUpdateText:hover {
    color: white;
}

#interactiveCloseEpg {
    display: none;
    position:absolute;
}
#interactiveOpenEpg {
    display: none;
    position:absolute;
    height: 25px;
    overflow: hidden;
}
#interactiveCloseImg, #interactiveOpenImg {
    height: 35px;
}

#infoBox
{
    color: #404040;
    display: none;          /* for starters */
    position:absolute;
    z-index:200;
    width: 300px;
    min-height: 150px;
    margin-left: auto;
    margin-right: auto;

    background-color:  #d0d0d0;
    padding: 0px 8px 8px 8px;

    -webkit-box-shadow: 5px 5px 5px #331958;
    box-shadow: 5px 5px 5px #331958;

    -webkit-border-radius: 6px;
    -khtml-border-radius: 6px;
    border-radius: 6px;
}
#infoBoxTitleBar {
    width = 100%;
}
#infoBoxClose {
    float: right;
    margin-right: -9px;
}
#infoBoxButton {
    border:0;
    background-color:transparent;
}
#infoBoxCloseImg {
    height: 20px;
}
#infoBoxContentArea {
    clear: both;
}
#infoBoxImg {
    float: left;
    height: 120px;
    margin-right: 10px;
}
#infoBoxText {
    white-space:normal;
    word-wrap: break-word;
    height:120px;
    overflow-y: auto;
}

.dialogbox
{
    width: 400px;
    min-height: 200px;
    margin-left: auto;
    margin-right: auto;

/*    border: 1px solid black; */
    background-color:  white;
    background-image: url("art/windowback.png");
    background-repeat: repeat-x;
    padding: 0px 8px 8px 8px;

    -webkit-box-shadow: 5px 5px 5px #331958;
    box-shadow: 5px 5px 5px #331958;

    -webkit-border-radius: 6px;
    -khtml-border-radius: 6px;
    border-radius: 6px;
}
.dialogbox h1
{
    text-align: center;
    padding: 0px;
    margin: 0px;
    margin-bottom: 8px;
    color: white;
    font-size: 16px;
    line-height: 30px;
    font-weight: bold;
}

.dialogbox h2
{
    padding: 0px;
    margin: 8px 0px 8px 0px;
}

.dialogboxBody
{
    min-height: 170px;
}
.dialogboxNotice
{
    margin-top: 16px;
    text-align: center;
}
.dialogboxButtonrow
{
    margin-top: 16px;
    text-align: center;
}

#logintable
{
    display: table;
    margin-left: auto;
    margin-right: auto;
    margin-top: 16px;
}
#logintable td
{
    padding: 2px;
    vertical-align: middle;
}
#loginNotice
{
    color: red;
}

input.hidden_button
{
    position: absolute;
    width: 0px !important;
    height: 0px !important;
    margin: 0px !important;
    padding: 0px !important;
    border: 0px solid white !important;
    outline: 0px solid white !important;
    left: -10px !important;
    top: -1px !important;
}


.btn {
  background: #b7cfe8;
  background-image: -webkit-linear-gradient(top, #BB8DF9, #5e3693);
  background-image: -moz-linear-gradient(top, , #BB8DF9, #5e3693);
  background-image: -ms-linear-gradient(top, , #BB8DF9, #5e3693);
  background-image: -o-linear-gradient(top, , #BB8DF9, #5e3693);
  background-image: linear-gradient(to bottom, #BB8DF9, #5e3693);
  -webkit-border-radius: 5;
  -moz-border-radius: 5;
  border-radius: 5px;
  text-shadow: 0px 2px 0px #666666;
  font-family: Calibri;
  font-weight: 900;
  color: #ffffff;
  font-size: 14px;
  padding: 5px 20px 5px 20px;
  text-decoration: none;
}

.btn:hover {
  background: #3cb0fd;
  background-image: -webkit-linear-gradient(top, #5e3693, #BB8DF9);
  background-image: -moz-linear-gradient(top, #5e3693, #BB8DF9);
  background-image: -ms-linear-gradient(top, #5e3693, #BB8DF9);
  background-image: -o-linear-gradient(top, #5e3693, #BB8DF9);
  background-image: linear-gradient(to bottom, #5e3693, #BB8DF9);
  text-decoration: none;
}

.btn:disabled {
  background: gray;
  color: LightGray;
  text-shadow: none;
}


#titleCustomerId {
    font-size: 10px;
    position: absolute;
    left: 55px;
    top: 50px;
    color: #5e3693;
}


#titleLogoutButton {
    position: absolute;
    left: 348px;
    top: 14px;
    background-color: transparent;
    color: black;
    border: none;
    color: #5e3693;
}


#zvLogo {
    padding-bottom: 2px;
    position: absolute;
    top: 38px;
    left: 94px;
    display: none;
    transform: translate(-50%, -50%);
}

#zvLogo img {
    max-height: 70px;
    max-width: 195px;
}

.headerButton {
    background-color: transparent;
    border: none;
}

.headerButton:hover {
    color: white;
}
