/*
::-webkit-scrollbar {
    display: none;
}

html {
    overflow: -moz-scrollbars-none;
}
*/

tr {
    height: 29px;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

input[type="radio"] {
    width: 20px;
    height: 18px;
}

/*     ALSO: in small mode, set id infobox AND editButtons to display none */
/*     LARGE MODE: epgEdidtButton to display*/
#epgEdit {
    --backgroundColor: #101010;
    --evenRowColor: #303030;
    --oddRowColor: #505050;
    --fontColor: #b0b0b0;
    margin: auto;
    border-collapse: collapse;
    background-color: var(--backgroundColor);
    -webkit-box-shadow: 5px 5px 5px #331958;
    box-shadow: 5px 5px 5px #331958;
    color: var(--fontColor);
    position: relative;
    top: 20px;
}
.epgEditLargeIP {
    width: 400px;      
    height: 200px;     
    font-size: 20px;
}
.epgEditLargeRF {
    width: 400px;    
    height: 128px;   
    font-size: 20px;
}
.epgEditSmallIP {
    width: 150px;       
    height: 80px;       
    font-size: 7px;
}
.epgEditSmallRF {
    width: 150px;       
    height: 55px;       
    font-size: 7px;
}

.epgEditSpacer {
    margin-top: 5px;
    clear: both;
}
/* The top spacer margin does not work, so using hard space and setting font size */
#epgEditTopSpacer {
    font-size: 80%;
}
#editButtons {
    position: absolute;
    top: -3px;
    left: 426px;
    font-size: 14px;
    color: black;
    padding: 5px;
}

#editButtons input {
    width: 19px;
    height: 19px;
    padding: 0px;
}

#editButtons td {
    width: 60px;
}
  
#editLoadIconBtn {
    position: relative;
    left: -5px;
}

#epgEditButton {
    display: none;
    position: absolute;
    top: 35px;
    left: 162px;
    font-size: 14px;
    color: white;
    padding: 5px;
}

#epgPic {
    width: 20%;
    height: 40%;
    margin: auto;
    color: white;
}
#epgPic img {
    height: 100%
}

.epgRow, .epgTimeRow {
    clear: both;
    margin-left: 4%;
}

.epgRow img {
    width: 20%;
    position: relative;
    top: 2px;
    left: 15px;
}

.epgOddChannel, .epgTimeSpacer {
    float: left;
    width: 30%;
    background-color: var(--oddRowColor);
    border-color: var(--backgroundColor);
    border-style: solid;
    border-width: 1px;
}

.epgTimeSpacer {
    background-color: transparent;
    border-color: transparent;
    border-style: solid;
    border-width: 1px;
}

.epgTimeSpacer img {
    margin-left: 30%;
    position: absolute;
    left: -77px;    /* small -17px */
    top: 102px;
    transform: translate(-50%, -50%);
}

.epgEvenChannel {
    float: left;
    width: 30%;
    background-color: var(--evenRowColor);
    border-color: var(--backgroundColor);
    border-style: solid;
    border-width: 1px;
}

.epgChannel {
}

.epgOddProgram, .epgTime {
    position: relative;
    float: left;
    width: 32%;
    background-color: var(--oddRowColor);
    border-color: var(--backgroundColor);
    border-style: solid;
    border-width: 1px;
}

.epgEvenProgram {
    float: left;
    width: 32%;
    background-color: var(--evenRowColor);
    border-color: var(--backgroundColor);
    border-style: solid;
    border-width: 1px;
}

.hoverProgram {
    background-color: #a0a0a0 !important;
    color: black;
}

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

.sortArrow, .sortArrow2 {
    position: absolute;
    right: 3px;
    margin-left: -5px;
    border-width: 7px;
}

.sortArrowNone {
    border-color: transparent transparent transparent transparent;
    border-style: solid;
    bottom: 10px;
}
.sortUpArrowPrimary {
    border-color: transparent transparent black transparent;
    border-style: solid;
    bottom: 10px;
}
.sortUpArrowSecondary {
    border-color: transparent transparent grey transparent;
    border-style: solid;
    bottom: 10px;
}
.sortUpArrowNone {
    border-color: transparent transparent #79608b transparent;
    border-style: solid;
    bottom: 12px;
}
.sortDownArrowPrimary {
    border-color: black transparent transparent transparent;
    border-style: solid;
    bottom: 1px;
}
.sortDownArrowSecondary {
    border-color: grey transparent transparent transparent;
    border-style: solid;
    bottom: 1px;
}
.sortDownArrowNone {
    border-color: #79608b transparent transparent transparent;
    border-style: solid;
    bottom: -2px;
}

.tooltip {
    visibility: hidden;
    min-width: 120px;
    background-color: #beaeec;
    color: #5e3693;
    text-align: center;
    padding: 2px 3px;
    font-size: 12px;
    border-radius: 3px;
    transform: translate(-25%, 50%);

    position: absolute;
    left: -10px;
    top: -10px;
    z-index: 1;
    -webkit-box-shadow: 5px 5px 5px #331958;
    box-shadow: 5px 5px 5px #331958;
}


td:hover .tooltip {
    /* visibility: visible; */
}

input {
    background-color: #d7d9da;
    width: 100%;
}

input:read-only {
  color: gray;
}

button:focus {outline:0;}

td {
    padding-left: 10px;
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notVisible
{
    display: none;
}

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

#inputLabel {
    margin-right: 10px;
}

label.fileselector input
{
    opacity: 100;
}

.topLine {
    position: relative;
    min-height: 30px;
}

#titleOwner {
     position: absolute;
     left: 487px;
     top: 14px;
     color: #5e3693;
 }
 
#titleOwnerName {
     position: absolute;
     left: 561px;
     top: 14px;
     color: #5e3693;
 }

#titleEpg {
    position: absolute;
    left: 175px;
    top: 10px;
    color: #5e3693;
}

#titleEpgId {
    position: absolute;
    left: 230px;
    top: 10px;
    color: #5e3693;
}

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

#titleFilter {
    position: absolute;
    left: 830px;
    top: 8px;
    color: #5e3693;
    font-size: 16px;
}

#titleFilterInput {
    color: #5e3693;
    height: 12px;
    width: 150px;
}

.zvLogo {
    height: 30px;
    position: absolute;
    left: 63px;
    padding-bottom: 2px;
}

.zvLogo img {
    max-height: 100%;
}

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

#progress {
    margin: auto;
    margin-top: 30px;
    width: 400px;
    background-color: grey;

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

    -webkit-border-radius: 6px;
    -khtml-border-radius: 6px;
    border-radius: 6px;
}

#progressBar {
    background-color: #5e3693;
    height: 25px;
    -webkit-border-radius: 6px;
    -khtml-border-radius: 6px;
    border-radius: 6px;
    width: 1%
}

.overlay {
    position:fixed;
    top:0;
    bottom:0;
    left:0;
    right:0;
    background-color:#fff;
    opacity:0.8;
    z-index:1001;
}
.overlay-message{
    background-color:#fff;
    opacity:1;
    z-index:1002;
}

.overlay-message2{
    background-color:#fff;
    opacity:1;
    z-index:1010;
    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;
}

#epgTableAndButtons{ display: none; }
#loginDialog { display: none; }
#serverNotUpDialog { display: none; }

.spacerCell {
    padding-right: 40px;
}

.providerDropdowns {
    width: 220px;
    height: 25px;
}

.dropdowns {
    width: 143px;
    height: 25px;
}

#epgTypeRadioLabel {
    font-size: 17px;
    position: relative;
    top: -4px;
}

.newEpgRow {
    height: 40px;
}

.providerName {
}

#epgLoginDialog .dialogboxBody {
    min-height: 100px;
}

#epgId {
    width: 100px;
}

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

.noticeboxBody
{
    min-height: 25px;
}

.noticebox
{
    min-width: 160px;
    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
{
/*    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
{
    padding-left: 20px;
    padding-right: 20px;
    min-height: 170px;
}
.dialogboxNotice
{
    margin-top: 16px;
    text-align: center;
}

.dialogboxButtonrow
{
    padding-top: 20px;
    margin-top: 16px;
    text-align: center;
}

input[type="file"] {
    display: none;
}
.custom-file-upload {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
    max-width: 200px;
    min-width: 200px;
    text-overflow: ellipsis;
    overflow: hidden;
}

/*
  IE and Chrome have bugs where in certain circumstances, a form will NOT submit when you press enter in a text
  field UNLESS there is a <input type="submit"> ALL browsers, even Firefox and Chrome, have bugs where <input type="submit">
  does NOT obey CSS style rules correctly!  Example:  Firefox FORCES line-height: 15px no matter what.
  We get around these problems by (1) Using <a> tags as the visible buttons (2) Using a hidden <input type="submit">
  */
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;

}

.niceTable {
    border-collapse: collapse;
    -webkit-box-shadow: 2px 2px 2px #331958;
    box-shadow: 2px 2px 2px #331958;
}

.niceTable thead {
    background-color: #5e3693;
    color: #fdfdfd;
    border-bottom: solid white 3px;
}

.niceTable thead tr {
    display: table;     /* Wow, defaults to table-row which is completely messed up */
    position: relative;
}

.niceTable th, .niceTable td {
    padding: 5px;
    padding-left: 18px;
    text-align: left;
}

.niceTable th {
    position: relative;   /* need this for the sort arrows absolute positions */
 }

.niceTable tbody {
    display: block;
    overflow: auto;
    width: 100%;
    height: 180px;
}

#epgTable  tbody {
    height: 380px;
    overflow-y: scroll;
}
#epgTableAndButtons  .dialogboxButtonrow
{
    padding-top: 0px;
}

#epgTable td:nth-child(1), #epgTable th:nth-child(1) { min-width: 201px; max-width: 201px; }
#epgTable td:nth-child(2), #epgTable th:nth-child(2) { min-width: 75px; max-width: 75px; }
#epgTable td:nth-child(3), #epgTable th:nth-child(3) { min-width: 35px; max-width: 35px; }
#epgTable td:nth-child(4), #epgTable th:nth-child(4) { min-width: 55px; max-width: 55px; }
#epgTable td:nth-child(5), #epgTable th:nth-child(5) { min-width: 90px; max-width: 90px; }
#epgTable td:nth-child(6), #epgTable th:nth-child(6) { min-width: 180px; max-width: 180px; }
#epgTable td:nth-child(7), #epgTable th:nth-child(7) { min-width: 180px; max-width: 180px; }
#epgTable td:nth-child(8), #epgTable th:nth-child(8) { min-width: 180px; max-width: 180px; }


#closeEpgLineupChange {
    min-width: 82px;
}

.filtered {
    display: none;
}

.channelError {
    background: #FE848E;
}

.channelChanged {
    background: #B3F0AA;
}

#epgLineupTable tbody {
    height: 180px;
    overflow-y: scroll;
}

#epgLineupTableAndButtons  .dialogboxButtonrow
{
    padding-top: 0px;
}
#epgLineupTable {

}
#epgLineupTable td:nth-child(1), #epgLineupTable th:nth-child(1) { min-width: 70px; }  
#epgLineupTable td:nth-child(2), #epgLineupTable th:nth-child(2) { min-width: 70px; max-width: 70px; }
#epgLineupTable td:nth-child(3), #epgLineupTable th:nth-child(3) { min-width: 50px; max-width: 50px; }
#epgLineupTable td:nth-child(4), #epgLineupTable th:nth-child(4) { min-width: 70px; max-width: 70px; }
#epgLineupTable td:nth-child(5), #epgLineupTable th:nth-child(5) { min-width: 150px; max-width: 150px; }
#epgLineupTable td:nth-child(6), #epgLineupTable th:nth-child(6) { min-width: 160px; max-width: 160px; }
#epgLineupTable td:nth-child(7), #epgLineupTable th:nth-child(7) { min-width: 100px; }
#epgLineupTable td:nth-child(8), #epgLineupTable th:nth-child(8) { min-width: 200px; max-width: 200px; }

#epgLineupTable img {
    height: 19px;
}


.even {
    background-color: #dbdbdb;  
}
.odd {
    background-color: #EBEDEF;
}
/*
.niceTable tbody tr:nth-child(odd) {
    background-color: #ddd;
}
.niceTable tbody tr:nth-child(even) {
    background-color: #EBEDEF;
}
*/

.niceTable .selected  {
    background-color: #aaa5f8 !important;
}   


td {
    border-spacing: 0;
}

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

.channelRowEven {
    border-top:solid 3px;
    border-left:solid 3px;
    border-right:solid 3px;
    border-color: #ccccff;
    background: LightSteelBlue;
    text-align:center;
}

.channelRowOdd {
    border:solid 3px;
    border-color: #ccccff;
    color: LightSlateGray;
    text-align: center;
}

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


.channelImage {
    height: 60px;
    min-height: 60px;
    min-width: 82px;
    border: none;
    padding: 0;
}


.channelImage img {
    max-height: 100%;
    vertical-align: middle;
}
.channelTextTd {
    border: none;
    padding: 5px;
    max-width: 81px;
    min-width: 81px;
}

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


       


#infoBox
{
    color: #404040;
    position:absolute;
    left: 21px;
    bottom: 15px;
    height: 19px;
    font-size: 15px;
    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: 10px;
}
#infoBoxContentArea {
    clear: both;
}
#infoBoxImg {
    float: left;
    height: 120px;
    margin-right: 10px;
}
#infoBoxText {
    white-space:normal;
    word-wrap: break-word;
    height:120px;
    overflow-y: auto;
}





