:focus { outline: 0; }

.clear { clear: both; }


/* SCHEDULE
 ---------------------------------------------------------------- */
.sched_show_pic  {
    display: inline-block;
    height: 90px;
    margin: 0 8px -2px 53px;
    overflow: hidden;
    }
    
#main .when_to_watch_module TABLE a.sitewide_schedule_link {
    text-decoration: underline;
    }
    
#main .schedule_color {
    color: #ff0000;
    }
	.when_to_watch_module {
	    border-bottom: 1px solid #bfbfbf;
	    padding-bottom: 25px;
	    margin-bottom: 36px;
	    position: relative;
	    }
	    .when_to_watch_module:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
	    
	    .when_to_watch_module .last_full {
		text-align: right;
		}
	    .when_to_watch_module .last_full_daily {
		text-align: center;
		}
	    .calendar_padding {
		padding-right: 20px;
		display: inline-block;
		}
	    .when_to_watch_module .time_zone {
		margin-bottom: 30px;
		}
		.when_to_watch_module .time_zone .time_zone_elem {
		    display: inline-block;
		    margin-left: 3px;
		    padding-right: 7px;
		    border-right: 2px solid #777;
		    font-weight: bold;
		    text-decoration: underline;
		    line-height: 100%;
		    }
		    .when_to_watch_module .time_zone .time_zone_elem:last-child {
			border: 0;
			}
		#main .when_to_watch_module .time_zone .current {
		    text-decoration: none;
		    color: #44d8e2;
		    }
		    
	    .when_to_watch_module .view_select {
		border: 1px solid #d7d7d7;
		margin-bottom: 30px;
		}
		.when_to_watch_module .view_select:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
		.when_to_watch_module .view_select .view_select_elem {
		    font-weight: bold;
		    text-decoration: none;
		    display: block;
		    float: left;
		    padding: 16px 26px;
		    }
		    #main .when_to_watch_module .view_select .current, #main .when_to_watch_module .view_select .view_select_elem:hover  {
			background-color: #ffaa00;
			color: #fff;
			}
	    
	    .when_to_watch_module TABLE {
		border: 1px solid #d7d7d7;
		width: 624px;
		margin-bottom: 25px;
		}
		.when_to_watch_module TABLE .left_table_elems {
		    float: left;
		    position: relative;
		    z-index: 2;
		    }
		    #main .left_table_elems .daily_time {
			position: absolute;
			right: 144px;
			top: 28px;
			white-space: nowrap;
			}
		#main td.date_nav {
		    padding: 0;
		    text-align: center; 
		    }
		    #main td.date_nav .cal_left {
			border-right: 1px solid #d7d7d7;
			float:left;
			}
			#main td.date_nav .cal_left:hover, #main td.date_nav .cal_right:hover {
				opacity: 0.7;
				filter:alpha(opacity=70);
				-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
				-moz-opacity:0.7; 
				}
		    #main td.date_nav .cal_right {
			border-left: 1px solid #d7d7d7;
			float: right;
			}
		.when_to_watch_module TABLE .week_display {
		    text-align: center;
		    float: left;
		    width: 546px;
		    margin-top: 8px;
		    }
	
		.when_to_watch_module TABLE TD, .when_to_watch_module TABLE TH {
		    font-family: arial, helvetica, sans-serif;
		    font-size: 13px;
		    line-height: 110%;
		    padding: 6px 0;
		    border-bottom: 1px solid #d7d7d7;
		    font-weight: bold;
		    text-align: center;
		    vertical-align: top;
		    color: #777;
		    position: relative;
		    }
		.daily_wrap {
		    position: relative;
		    }
		.daily_wrap:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
		.daily_wrap+.showings_table {
		    margin-left: 50px;
		    margin-right: 0px;
		    width: 500px;
		    top: 7px;
		    }
		    #main .trapper_div+.daily_wrap {
			margin-top: 5px;
			}
		    #main .daily_wrap+.showings_table TABLE {
			width: inherit;
			}
		    #main .daily_wrap .when_to_watch_module TABLE .block_type, #main .daily_wrap .view_showings, #main .daily_wrap .episode_link:first-child {
			margin-top: 28px;
			}
		    .showings_daily_position {
			display:block;
			float:left;
			position: absolute;
			bottom:0px;
			left: 180px;
			line-height: 60%;
			}
@media screen and (-webkit-min-device-pixel-ratio:0) {
			.showings_daily_position {bottom:3px};
			}

			
		.pop_up_align {
		    position: relative;
		    float: right;
		    }
		    .pop_up_align:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
		    #main .daily_wrap .pop_up_align {
			margin-top: 26px;
			}
		.when_to_watch_module TABLE TH {
		    color: #b20b81;
		    }
		.when_to_watch_module TABLE .even {
		    background-color: #efefef;
		    }
		.when_to_watch_module TABLE .callout {
		    background-color: #00cad8;
		    }
		    .when_to_watch_module TABLE .callout .first, #main .when_to_watch_module TABLE .callout .episode_link {
			color: #fff;
			text-decoration: none;
			}
		    .when_to_watch_module TABLE .callout .first {
			position: relative;
			}
		    #main .when_to_watch_module TABLE .callout .view_showings {
			color: #fff;
			}

			#main .when_to_watch_module TABLE .callout .first .now_playing {
			    color: #fff;
			    top: -14px;
			    left: -18px;
			    background-color: #ffaa00;
			    padding: 1px 6px;
			    font-size: 11px;
			    font-weight: bold;
			    position: absolute;
			    }
		.when_to_watch_module TABLE .table_title {
		    text-align: left;
		    color: #44d8e2;
		    text-transform: uppercase;
		    }
		.when_to_watch_module TABLE .episode {
		    text-align: left;
		    width: 260px;
		    }
		    
		#main .when_to_watch_module TABLE .table_date {
		    color: #44D8E2;
		    }
		#main .when_to_watch_module TABLE .block_type {
		    color: #85239e;
		    text-transform: uppercase;
		    display: block;
		    width: 300px;
		    padding-bottom: 2px;
		    }
		    #main .when_to_watch_module TABLE.full_weekly .block_type {
			margin-top: 3px;
			}
		.when_to_watch_module TABLE .episode_link {
		    display: block;
		    position: relative;
		    width: 330px;
		    float: left;
		    text-decoration: none;
		    }
		    #main .when_to_watch_module TABLE .daily {width: 310px;}

		.when_to_watch_module TABLE .episode_description, .when_to_watch_module TABLE .send_to_calendar {
		    background-color: #fff;
		    padding: 14px;
		    border: 2px solid #44d8e2;
		    display: none;
		    position: absolute;
		    left: 0;
		    float: left;
		    z-index: 10000;
		    -moz-box-shadow: 0 5px 5px 0 rgba(187,187,187,0.7);
		    -webkit-box-shadow: 0 5px 5px 0 rgba(187,187,187,0.7);
		    box-shadow: 0 5px 5px 0 rgba(187,187,187,0.7);
		    color: #777777;
		    }
		.when_to_watch_module TABLE .episode_description {
		    background-color: #fff;
		    padding: 14px;
		    border: 2px solid #44d8e2;
		    display: none;
		    position: absolute;
		    left: 0;
		    float: left;
		    z-index: 10000;
		    -moz-box-shadow: 0 5px 5px 0 rgba(187,187,187,0.7);
		    -webkit-box-shadow: 0 5px 5px 0 rgba(187,187,187,0.7);
		    box-shadow: 0 5px 5px 0 rgba(187,187,187,0.7);
		    color: #777777;
		    }
		    .when_to_watch_module TABLE .episode_description {
			left: -223px;
			width: 592px;
			}
		    .when_to_watch_module TABLE.full_daily .episode_description {
			left: -19px;
			top: 100px;
			}
		    .when_to_watch_module TABLE.full_weekly .episode_description {
			left: -113px;
			top: 35px;
			}

		    .when_to_watch_module TABLE .episode_description:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
		    .when_to_watch_module TABLE A.episode_link:hover .episode_description, .when_to_watch_module TABLE A.episode_link:hover+.episode_description {
			display: block;
			}
		    .when_to_watch_module TABLE .episode_description_pic {
			display: block;
			float: left;
			}
		    .when_to_watch_module TABLE .episode_description_text {
			font-weight: normal;
			float: right;
			padding-left: 6px;
			width: 464px;
			}
			.when_to_watch_module TABLE.full_daily .episode_description_text {
			    float: none;
			    width: auto;
			    }

		.when_to_watch_module TABLE .first {
		    padding-left: 18px;
		    text-align: left;
		    }
		.when_to_watch_module TABLE A {
		    color: #777;
		    }
		    .when_to_watch_module TABLE A:hover {
			color: #000;
			}
		#main .when_to_watch_module TABLE A.view_showings {
		    display: block;
		    float: right;
		    margin-right: 5px;
		    margin-top: 4px;
		    font-size: 10.5px;
		    font-weight: normal;
		    }
		    #main .when_to_watch_module TABLE A.showings_arrow {
			background: url('http://media.sundancechannel.com/UPLOADS/sundance_www/showings_arrow.png') left bottom no-repeat;
			width: 11px;
			height: 5px;
			display: inline-block;
			text-indent: -99999px; 
			float: right;
			margin-right: 14px;
			margin-top: 8px;
			}
			#main .when_to_watch_module TABLE .callout A.showings_arrow {
			    background-image: url('http://media.sundancechannel.com/UPLOADS/sundance_www/showings_arrow_white.png');
			    }
		.when_to_watch_module TABLE A.add_to_calendar {
		    background-image: url('http://media.sundancechannel.com/UPLOADS/sundance_www/schedule_icon.png');
		    width: 26px;
		    height: 24px; 
		    border: 0;
		    display: block;
		    float: right;
		    margin-right: 20px;
		    
		    }
		    .when_to_watch_module TABLE.full_daily A.add_to_calendar {margin-right: 34px;}
		    A.add_to_calendar:hover {
			opacity:0.8;
			-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
			filter: alpha(opacity=80);
			-moz-opacity:0.8;
			}
			.when_to_watch_module TABLE .send_to_calendar {
			    width: 245px;
			    left: -140px;
			    top: 25px;
			    opacity: 1;
			    position: absolute;
			    }
			    .when_to_watch_module TABLE A.add_to_calendar:hover .send_to_calendar {
				opacity: 1;
				}
			.when_to_watch_module TABLE .send_to_calendar .cancel {
			    background: url('http://media.sundancechannel.com/UPLOADS/sundance_www/cancel.png') no-repeat;
			    width: 13px;
			    height: 13px;
			    position: absolute;
			    top: 5px;
			    right: 5px;
			    cursor: pointer;
			    }
			.when_to_watch_module TABLE .send_to_calendar FORM {
			    display: block;
			    }
			    .when_to_watch_module TABLE .send_to_calendar FORM:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
			    
			    .when_to_watch_module TABLE .send_to_calendar .title {
				margin-bottom: 8px;
				font-size: 16px;
				text-align: left;
				}
			    .when_to_watch_module TABLE .send_to_calendar FORM INPUT[type="text"] {
				width: 130px;
				height: 22px;
				display: block;
				margin-right: 12px;
				float: left;
				}
			    .when_to_watch_module TABLE .send_to_calendar FORM INPUT[type="image"] {
				float: left;
				}

		.when_to_watch_module TABLE .rating {
		    display: block;
		    float: right;
		    margin-right: 20px;
		    }
		.when_to_watch_module .all_vids_link {
		    display: block;
		    color: #777;
		    font-family: arial, helvetica, sans-serif;
		    font-size: 13px;
		    line-height: 100%;
		    font-weight: bold;
		    right: 56px;
		    bottom: 20px;
		    position: absolute;
		    }
		    .when_to_watch_module .all_vids_link:hover {
			color: #000;
			}
			'
/* SHOWINGS TABLE
----------------------------------------------------*/
#main .showings_table {
    display: block;
    left: 3px;
    bottom: -7px;
    width: 446px;
    height:0;
    overflow:hidden;
    position:relative;
    }
    #main .full_daily .showings_table {
	height:0;
	overflow:hidden;
	position:relative;
	}
    #main .full_weekly .showings_table {
	height:0;
	overflow:hidden;
	position:relative;
	top:7px;
	}
    #main .showings_table TD {
	vertical-align: middle;
	}
    #main .callout .showings_table TD {
	color: #fff;
	}
.showings_table:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
    
    #main .showings_table TABLE {
	width: 446px;
	margin-bottom: 0;
	border-top: 0;
	border-right: 0;
	border-left: 0;
	}
	#main .showings_table TABLE TD.last_row {
	    border-bottom: 0;
	    }
	    
/* CALENDAR WIDGET
----------------------------------------------------*/

TABLE.calendar_widget {
    width: 273px;
    border-collapse: collapse;
    border: 1px solid #d7d7d7;
    margin-bottom: 20px;
    }
    TABLE.calendar_widget TD, TABLE.calendar_widget TH {
	text-align: center;
	height: 30px;
	border: 1px solid #d7d7d7;
	width: 39px;
	vertical-align: middle; 
	}
	#main TABLE.calendar_widget TD A, #main TABLE.calendar_widget TH A {
	    text-decoration: none;
	    color: inherit;
	    display: block;
	    font-weight: normal;
	    }
    TABLE.calendar_widget TD {
	color: #a3a3a3;
	background-color: #f0f0f0;
	}
	TABLE.calendar_widget TD:hover, TABLE.calendar_widget TD.empty:hover, TABLE.calendar_widget TD.active:hover {
	    background-color: #b8ddf8;
	    color: #000;
	    }
    TABLE.calendar_widget TD.empty {
	background-color: #e1e1e1;
	}
    TABLE.calendar_widget TD.active {
	color: #000;
	background-color: #ffffff;
	}
    TABLE.calendar_widget TD.selected {
	background-color: #ff0000;
	color: #ffffff;
	}
    TABLE.calendar_widget TH {
	color: #44D8E2;
	text-transform: uppercase;
	font-weight: bold;
	}
	
.cal_widget_arrow {
    background: url('http://media.sundancechannel.com/UPLOADS/sundance_www/cal_widget_arrows.png') no-repeat;
    width: 36px;
    height: 31px;
    display: block;
    text-indent: -99999px;
    }
    .cal_widget_arrow:hover {
	opacity: 0.7;
	filter:alpha(opacity=70);
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
	-moz-opacity:0.7;	
	}
    .cal_right {
	background-position: top right;
	}
