#tvpepg *, 
#tvpepg-dropdown *, 
#tvpepg-full *{
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
	box-sizing: unset;
}

#tvpepg {
    width: 185px;
    height: 40px;
    position: relative;
    background: #ffffff;
    -webkit-box-shadow:  0px 0px 3px 2px rgba(0, 0, 0, 0.15);
    box-shadow:  0px 0px 3px 2px rgba(0, 0, 0, 0.15);
    display:none;
    font-size: 12px;
    font-family: 
}

#tvpepg .tvpepg-button {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
}

#tvpepg .tvpepg-arrow-bg {
    position: relative;
    float: left;
    width: 33px;
    height: 100%;
    background: #eee; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #eeeeee 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #ffffff 0%,#eeeeee 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #ffffff 0%,#eeeeee 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #ffffff 0%,#eeeeee 100%); /* IE10+ */
    background: linear-gradient(to bottom, #ffffff 0%,#eeeeee 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eeeeee',GradientType=0 ); /* IE6-9 */
}

#tvpepg .tvpepg-arrow {
    background-image: url("img/arrow.png");
    background-position: center center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}

#tvpepg .tvpepg-label {
    float: left;
    width: 38px;
    height: 100%;
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: bold;
    text-align: right;
    line-height: 1.1;
    padding-top: 8px;
}

#tvpepg .tvpepg-logo {
    position: relative;
    width: auto;
    height: 100%;
    text-align: center;
    margin-left: 75px;
    padding-right: 2px;
}

#tvpepg .tvpepg-logo img {
    max-height: 100%; 
    max-width: 100%; 
    width: 100%; 
    display: inline; 
}

#tvpepg .tvpepg-logo img.svg {
    height: 100%;
}

#tvpepg-dropdown {
    font-size: 12px;
    background-color: #FFFFFF;
    width: 185px;
    -webkit-box-shadow:  0px 0px 3px 2px rgba(0, 0, 0, 0.15);
    box-shadow:  0px 0px 3px 2px rgba(0, 0, 0, 0.15);
    position: absolute;
    display: none;
    z-index: 999999;
    overflow: hidden;
}

#tvpepg-dropdown .tvpepg-table {
    font-size: 12px;
    padding: 8px 2px 4px 2px;
    margin: 0 4px;
    border-collapse: collapse;
}

#tvpepg-dropdown .tvpepg-table-row {
    margin-bottom: 6px;
    opacity: 0.5;
    clear: both;
    border-radius: 3px;
    overflow: auto;
}

#tvpepg-dropdown .tvpepg-table-row.active {
    background-color: #EEE;
    opacity: 1;
}

#tvpepg-dropdown .tvpepg-table-row.not-found {
    font-size: 11px;
	text-align: center;
    font-weight: bold;
	margin-top: #3px;
}

#tvpepg-dropdown .tvpepg-table-row-day {
    width: 18px;
    height: 18px;
    text-align: center;
    font-weight: bold;
    color: #fff;
    background-color: #5c73a5;
    float: left;
    padding: 5px 5px 3px 5px;
    border-radius: 3px;
}

#tvpepg-dropdown .tvpepg-table-row-day.holliday {
    background-color: #db3b64;
}

#tvpepg-dropdown .tvpepg-table-row-hours {
    margin-left: 28px;
    padding: 4px 4px 4px 8px;
    line-height: 1.6;
}

#tvpepg-dropdown .tvpepg-seemore {
    font-size: 10px;
    text-align: center;
    color: #222;
    text-decoration: none;
    padding: 5px 0;
    border-top: 1px solid #EEE;
    -webkit-box-shadow:  0px 0px 3px 2px rgba(0, 0, 0, 0.15);
    box-shadow:  0px 0px 3px 2px rgba(0, 0, 0, 0.15);
}

#tvpepg-dropdown .tvpepg-seemore a{
    font-size: 10px;
    text-align: center;
    color: #222;
    text-decoration: none;
    display: block;
}

/*
nano scroller
*/

.nano { background: #bba; width: 635px; height: 500px; }
.nano .content { padding: 10px; }
.nano .pane   { background: #888; }
.nano .slider { background: #111; }

/*
full epg
*/

#tvpepg-full {margin:0; padding:0; overflow: hidden; font-size: 12px;}
#tvpepg-full table {border-collapse: collapse;}
#tvpepg-full table td, #tvpepg-full table th {border-right: 1px solid #cbcfd5; border-bottom: 1px solid #cbcfd5; }
#tvpepg-full table td {color: #555; font-size: 12px; vertical-align: middle; text-align: left; padding: 8px; text-align: left; height: 100px; line-height: 1.8;}
#tvpepg-full table th {font-size: 14px; color: #FFF; background:#5c73a5; width:103px; height: 28px; vertical-align: middle; text-align: center;}
#tvpepg-full table th.holliday {background:#d2244a;}
#tvpepg-full table th.first {background:#fff;}
#tvpepg-full table td.logo {padding:2px; width: 110px; text-align: center;}
#tvpepg-full table td img {max-height: 100%; max-width: 100%; width: 100%; }
#tvpepg-full table td img.svg {height: 100%;}
#tvpepg-full table .last {border-right: 0 none;}