/*
#epg .blue_row_bg{
    position: absolute;
    left: 49px;
    top: 92px;
    width: 632px;
    height: 25px;
    background-image: url("i_480/tv_table.png");    
    background-position: 0 -25px;
}
*/

#epg .active_row_bg, #epg .blue_row_bg[active="active"]{
    position: absolute;
    left: 49px;
    top: 92px;
    width: 263px;
    height: 25px;
    background-image: url("i_480/tv_table.png");
    background-position: 0 0px;
    padding: 0;
    width: 632px;
}

#epg .name_block, #epg .active_name_block{
    font-size: 17px;
    width: 128px;
    text-overflow: ellipsis;
    font-family: "Myriad Pro Cond";
    float: left;
    margin: 1px 6px 0 3px;
}

#epg .active_name_block, #epg .blue_row_bg[active="active"] .name_block{
    padding-left: 3px;
}

#epg .blue_row_bg[active="active"] .name_block{
    font-size: 19px;
    color: #002864;
    text-shadow: #fff 0 1px 0;
}

#epg .epg_container_block{
    width: 449px;
    text-overflow: ellipsis;
    float: left;
}

#epg .active_number_block, #epg .blue_row_bg[active="active"] .number_block{
    margin: 1px 0 0 4px;
}

#epg .blue_row_bg[active="active"] .number_block{
    width: 34px;
    height: 22px;
    background-image: url("i_480/mb_icons2.png");
    background-position: 0 3px;
    background-repeat: no-repeat;
    color: #fff;
    text-shadow: #122946 0 -1px 0;
    padding-top: 3px;
}

#epg .active_epg_container_block, #epg .blue_row_bg[active="active"] .epg_container_block{
    width: 449px;
    text-overflow: ellipsis;
    float: left;
    margin-left: 4px;
}

#epg .program{
    font-size: 16px;
    float: left;
    text-shadow: #122946 0 -1px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 25px;
    position: relative;
}

#epg .program .marks{
    position: absolute;
    top: 0;
    left: 0;
}

#epg .program .marks div{
    float: left;
    margin: 1px 0 0 1px;
}

#epg .program .marks .mark_memo{
    height: 8px;
    width: 8px;
    /*background-color: #0c0;*/
    background-image: url("i_480/epg_green_mark.png");
}

#epg .program .marks .mark_rec{
    height: 8px;
    width: 8px;
    background-image: url("i_480/epg_red_mark.png");
}

#epg .program .marks .mark_archive{
    height: 8px;
    width: 8px;
    background-image: url("i/epg_orange_mark.png");
}

#epg .blue_row_bg .program{
    color: #bcc7d6;
}

#epg .active_row_bg .program, #epg .blue_row_bg[active="active"] .program{
    color: #284b82;
}

#epg .program_txt{
    padding: 5px 2px 0 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space:pre;
    font-family: "Myriad Pro Cond", sans-serif;
}

#epg .program_separator{
    float: left;
    background-image: url("i_480/tv_table_separator.png");
    width: 2px;
    height: 33px;
}

#epg .program .larr{
    background-image: url("i_480/tv_table_arrows.png");
    height: 25px;
    width: 10px;
    float: left;
}

#epg .blue_row_bg .program .larr{
    background-position: 0 -25px;
}

#epg .active_row_bg .program .larr, #epg .blue_row_bg[active="active"] .program .larr{
    background-position: 0 0px;
}

#epg .program .rarr{
    background-image: url("i_480/tv_table_arrows.png");
    height: 25px;
    width: 10px;
    float: right;
}

#epg .blue_row_bg .program .rarr{
    background-position: 10px -25px;
}

#epg .active_row_bg .program .rarr, #epg .blue_row_bg[active="active"] .program .rarr{
    background-position: 11px 0px;
}

#epg .program[rel="active"]{
    background-image: url("i_480/tv_table_focus.png");
    background-position: 0 0px;
    color: #000;
}

.active_epg_container_block > .program:last-child, .epg_container_block > .program:last-child{
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
    -webkit-border-top-right-radius: 7px;
    -webkit-border-bottom-right-radius: 7px;
    -moz-border-radius-topright: 7px;
    -moz-border-radius-bottomright: 7px;
}

#epg .program_info{
    position: absolute;
    bottom:50px;
    left: 50px;
    height: 80px;
    width: 622px;
    font-size: 20px;
    color: #fff;
    overflow: hidden;
    background-image: url("i/25alfa_20.png");
    border-radius: 8px;
    padding: 0 5px;
}

#epg[overlay_mode="1"] .program_info{
    text-shadow: #000 1px 1px 2px;
}

#epg .program_info .time{
    color: #cfeafe;
    font-weight: bold;
}

#epg .on_date{
    position: absolute;
    top: 76px;
    right: 495px;
    text-align: right;
    width: 173px;
    color: #fff;
    font-size: 14px;
}

#epg[overlay_mode="1"] .on_date{
    text-shadow: #000 1px 1px 2px;
}

#epg .time_mark{
    position: absolute;
    top: 76px;
    color: #fff;
    font-size: 14px;
}

#epg[overlay_mode="1"] .time_mark{
    text-shadow: #000 1px 1px 2px;
}

#epg .mark-1{
    left: 230px;
}

#epg .mark-2{
    left: 380px;
}

#epg .mark-3{
    left: 530px;
}

#epg .mark-4{
    right: 38px;
}

#epg .live_line_container{
    position: absolute;
    top: 92px;
    left: 231px; /* 231px-678px */
    width: 447px;
}

#epg .live_line{
    position: absolute;
    background-color: rgba(255, 0, 0, 0.4);
    width: 2px;
    height: 250px;
    -webkit-transition: all 0.2s linear;
}
