﻿.container {
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
}

.epg-panel {
    width: 100%;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .epg-panel {
    border: 0px;
}

    [data-theme="dark"] .epg-panel a {
        color: #ddd;
    }

.epg-heading {
    padding: 0 1px;
    border-bottom: 0 solid transparent;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
    color: #333;
    background-color: #f5f5f5;
    border-color: #ddd;
    border-top-color: #ddd;
    vertical-align: bottom
}

[data-theme="dark"] .epg-heading {
    background-color: #333333;
    border-color: #111;
    border-top-color: #111;
}

.epg-body {
    padding: 0px;
}

#dayNav {
    padding-left: 15%;
}

.week_dayNav {
    float: left;
    width: 12.14285714285714%;
    text-align: center;
}

    .week_dayNav a {
        display: block;
        color: #a6a6a6;
        text-decoration: none
    }

        .week_dayNav a:hover {
            background: #e5f1fc;
            color: rgb(218,165,32);
        }

[data-theme="dark"] .week_dayNav a {
    display: block;
    color: #a6a6a6;
    text-decoration: none;
}

    [data-theme="dark"] .week_dayNav a:hover {
        background-image: -webkit-linear-gradient(top, #808080 0%, #333 100%);
        background-image: -o-linear-gradient(top, #808080 0%, #333 100%);
        background-image: -webkit-gradient(linear, left top, left bottom, from(#808080), to(#333));
        background-image: linear-gradient(to bottom, #808080 0%, #333 100%);
        background-repeat: repeat-x;
        color: rgb(196, 167, 8);
    }

.week_dayOn {
    float: left;
    width: 14.28571428571429%;
    background: #e5f1fc;
    text-align: center;
    border: 1px solid #bcd5f9
}

[data-theme="dark"] .week_dayOn {
    float: left;
    width: 14.28571428571429%;
    text-align: center;
    border: 1px solid #403d3d;
    background-image: -webkit-linear-gradient(top, #808080 0%, #333 100%);
    background-image: -o-linear-gradient(top, #808080 0%, #333 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#808080), to(#333));
    background-image: linear-gradient(to bottom, #808080 0%, #333 100%);
    background-repeat: repeat-x;
}

    [data-theme="dark"] .week_dayOn a {
        color: rgb(255,215,0);
        text-decoration: none;
    }
/*********************************************************/

#epg_timeBar {
    width: 100%;
    background-color: #f5f5f5;
    color: #a6a6a6;
}

[data-theme="dark"] #epg_timeBar {
    background-color: #403d3d;
    color: #a6a6a6;
}

#epg_timeBar_return {
    float: left;
    width: 15%;
}

#epg_timeBar_returnBtn {
    float: left;
    display: inline-block;
    width: 70px;
    font-size: smaller;
    vertical-align: bottom;
}

#epg_timeBar_back2xbutton {
    float: left;
    display: inline-block;
    width: 10px;
}

#epg_timeBar_backbutton {
    float: left;
    display: inline-block;
    padding-left: 6px;
    width: 10px;
}

.epg_timeBar_scale {
    float: left;
    width: 16%;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
}

    .epg_timeBar_scale a:hover {
        background: #e5f1fc
    }

[data-theme="dark"] .epg_timeBar_scale a:hover {
    background: #403d3d;
}

.epg_timeBar_scaleOn {
    width: 16%;
    float: left;
    text-align: center;
    vertical-align: middle;
    background: #e5f1fc;
    text-align: center;
    border: 1px solid #bcd5f9
}

[data-theme="dark"] .epg_timeBar_scaleOn {
    background: #403d3d;
}

#epg_timeBar_right {
    width: 5%;
    display: inline-block;
    text-align: right;
}

#epg_timeBar_forwardBtn {
    float: left;
    display: inline-block;
    width: 10px;
}

#epg_timeBar_forward2xBtn {
    float: left;
    display: inline-block;
    padding-left: 6px;
    width: 10px;
}

/*********************************************************/
.epg_grid_channel {
    float: left;
    display: inline-block;
    width: 15%;
    vertical-align: middle;
    height: 33px;
    border: dashed 1px #eee !important;
    background-color: #f5f5f5
}

[data-theme="dark"] .epg_grid_channel {
    float: left;
    display: inline-block;
    width: 15%;
    vertical-align: middle;
    height: 33px;
    border: dashed 1px #403d3d !important;
    background-color: #333333;
}

.epg_grid_channel:hover {
    background-color: #e5f1fc;
    text-decoration: none
}

[data-theme="dark"] .epg_grid_channel:hover {
    background-image: -webkit-linear-gradient(top, #808080 0%, #333 100%);
    background-image: -o-linear-gradient(top, #808080 0%, #333 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#808080), to(#333));
    background-image: linear-gradient(to bottom, #808080 0%, #333 100%);
    background-repeat: repeat-x;
}

.epg_grid_channellogo {
    float: left;
    display: inline-block;
    padding-left: 18px;
    line-height: 35px;
}

.epg_grid_channelNum {
    float: left;
    display: inline-block;
    font-size: 0.7em;
    vertical-align: middle;
    padding-left: 3px;
    padding-right: 3px;
    line-height: 35px;
}

    .epg_grid_channelnum a {
        color: #333
    }

[data-theme="dark"] .epg_grid_channelnum a {
    color: #eee;
}

.epg_grid_channelname {
    float: left;
    display: inline-block;
    padding-left: 1px;
    height: 33px;
    vertical-align: middle;
    text-decoration: none;
    line-height: 35px;
    z-index: 10;
    font-size: 1.4em;
    font-family: custom_h;
    font-weight: 500;
    white-space: nowrap !important;
}

    .epg_grid_channelname a {
        color: rgb(139,69,19);
        text-decoration: none;
    }

        .epg_grid_channelname a:hover, .epg_grid_channelname a:focus {
            font-weight: bolder;
            text-decoration: none;
        }


[data-theme="dark"] .epg_grid_channelname a,
[data-theme="dark"] .epg_grid_channelname a:active,
[data-theme="dark"] .epg_grid_channelname a:default {
    color: rgb(196, 167, 8);
    text-decoration: none;
}

.epg_channel_viewer {
    float: left;
    display: inline-block;
    text-align: right;
    height: auto;
    font-size: .875rem;
    z-index: 1;
    position: relative;
    top: -37px;
    _top: -24px;
    left: 122px;
    _margin-top: -13px;
}

.epg_grid_progRow {
    float: left;
    width: 85%;
    vertical-align: middle;
    height: 33px;
    border-bottom: dashed 1px #eee !important;
}

[data-theme="dark"] .epg_grid_progRow {
    border-bottom: dashed 1px #403d3d !important;
}

.epg_grid_prog {
    text-align: center;
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    float: left;
    vertical-align: middle;
    height: 33px;
    border: dashed 1px #eee !important
}

    .epg_grid_prog a {
        color: #999;
    }

        .epg_grid_prog a:hover,
        .epg_grid_prog a:focus {
            font-weight: bolder;
            color: rgb(120,117,117);
            text-decoration: none;
        }


[data-theme="dark"] .epg_grid_prog a:hover,
[data-theme="dark"] .epg_grid_prog a:focus {
    font-weight: bolder;
    color: rgb(209,205,205);
    text-decoration: none;
}

.epg_grid_prog:hover {
    background-color: #e5f1fc;
    text-decoration: none
}


[data-theme="dark"] .epg_grid_prog {
    border: solid 1px #333 !important;
}

    [data-theme="dark"] .epg_grid_prog:hover {
        background-image: -webkit-linear-gradient(top, #808080 0%, #333 100%);
        background-image: -o-linear-gradient(top, #808080 0%, #333 100%);
        background-image: -webkit-gradient(linear, left top, left bottom, from(#808080), to(#333));
        background-image: linear-gradient(to bottom, #808080 0%, #333 100%);
        background-repeat: repeat-x;
    }

.epg_grid_progOn {
    background-color: #efefef;
    text-align: center;
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    float: left;
    vertical-align: middle;
    height: 33px;
    border-right: dashed 1px #eee !important
}

    .epg_grid_progOn:hover {
        border: medium 1px #403d3d !important;
        background-color: #e5f1fc;
        text-decoration: none;
    }

[data-theme="dark"] .epg_grid_progOn {
    background-color: rgba(149, 181, 234, 0.2);
    border: dashed 1px #f5c27d !important;
}

    [data-theme="dark"] .epg_grid_progOn:hover {
        background-image: -webkit-linear-gradient(top, #808080 0%, #333 100%);
        background-image: -o-linear-gradient(top, #808080 0%, #333 100%);
        background-image: -webkit-gradient(linear, left top, left bottom, from(#808080), to(#333));
        background-image: linear-gradient(to bottom, #808080 0%, #333 100%);
        background-repeat: repeat-x;
    }
