/************************************************
*************************************************
TV Media Default Stylesheet for Station Calendar Widget
Authors: Liz MacDonell, Kevin Rose
Last update: 4/15/2013
*************************************************
*************************************************/



/* TV LISTING DETAILS */
.tvmds_container {color: #333}
#lineupSelect {display:none}
.tvmds_lineup {margin-bottom:6px}
.tvmds_lineup_select_lineup {}
.tvmds_lineup_select select {width:auto;}

.station_calendar_default_showname {font-weight:bold;}  /* Series Name */
.station_calendar_default_showtitle {font-weight:bold;} /* Episode title */
.station_calendar_default_new_show {font-weight:bold; color:#39c;} /*New episode flag */
.station_calendar_default_starttime {font-weight: bold;}
.station_calendar_default_show_description {} /* Description of episode or generic description of series if episode unavailable */
.tmvds_stationlistings_show_guests {font-size:12px; font-weight:bold;} /* Special guests */
.station_calendar_default_movie_details {}  /* Movie year and cast */

.station_calendar_default_sports_description {} /* Extra sports information such as rounds */
.station_calendar_default_sports_event {} /* Sport event titles such as 'Playoffs' */
.station_calendar_default_sports_teams {} /* Sports teams */

.station_calendar_default_header_date {margin: 0; padding:6px; font-weight: bold; font-size: 18px !important; text-align: center; color:#fff;}
.station_calendar_default_calendar_wrapper {float: right; width: auto; margin-right: 2px; margin-top: 10px}
.station_teaser_default_data_link {color:#000 !important; text-align:center; font-size: 12px; padding-top:4px; } /* Back link to data and technology provider: TV Media */

.station_calendar_default_header {
  padding-top: 10px;
	color:#fff !important;
  height: 40px;
  border-bottom: 1px solid #ccc;
  background: rgb(56,163,215); /* Old browsers */
  background: -moz-linear-gradient(top,  rgba(56,163,215,1) 0%, rgba(38,133,181,1) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(56,163,215,1)), color-stop(100%,rgba(38,133,181,1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  rgba(56,163,215,1) 0%,rgba(38,133,181,1) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  rgba(56,163,215,1) 0%,rgba(38,133,181,1) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  rgba(56,163,215,1) 0%,rgba(38,133,181,1) 100%); /* IE10+ */
  background: linear-gradient(to bottom,  rgba(56,163,215,1) 0%,rgba(38,133,181,1) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#38a3d7', endColorstr='#2685b5',GradientType=0 ); /* IE6-9 */

}
.station_calendar_default_footer {
	text-align:center;
	padding-top:15px;
  position: relative;
  font-weight: bold;
  bottom: 0;
  height: 40px;
  border-top: 1px solid #ccc;
  background: rgb(56,163,215); /* Old browsers */
  background: -moz-linear-gradient(top,  rgba(56,163,215,1) 0%, rgba(38,133,181,1) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(56,163,215,1)), color-stop(100%,rgba(38,133,181,1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  rgba(56,163,215,1) 0%,rgba(38,133,181,1) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  rgba(56,163,215,1) 0%,rgba(38,133,181,1) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  rgba(56,163,215,1) 0%,rgba(38,133,181,1) 100%); /* IE10+ */
  background: linear-gradient(to bottom,  rgba(56,163,215,1) 0%,rgba(38,133,181,1) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#38a3d7', endColorstr='#2685b5',GradientType=0 ); /* IE6-9 */
}

.station_calendar_default_footer a {color: #333}
.station_calendar_default_lineup_selector {display:none;}

tr.station_calendar_default_listings {height: 30px;}
.station_calendar_default_series_img {display: none}

/* TV LISTINGS TABLE CONFIGURATION */

.station_calendar_default_table {
  *border-collapse: collapse  !important;
  border-spacing: 0  !important;
  height: 300px;
  width:65% !important; /* Width is set at 65% to accomodate calendar picker  */
  overflow:scroll;}

.station_calendar_default_table td, .station_calendar_default_table th {
  padding: 4px  !important;
  border-bottom: 1px solid #f2f2f2  !important;
  vertical-align: top  !important;
  min-height:120px !important;}

.station_calendar_default_table tr {min-height:100px}
.station_calendar_default_table {overflow: hidden;}
.station_calendar_default_table p {margin: 0; padding:0;}

.station_calendar_default_table tbody tr:nth-child(even) td, .station_calendar_default_table tbody tr.even td {
    background:#f5f5f5;
}

station_calendar_default_table th {
    text-align: left;
    text-shadow: 0 1px 0 rgba(255,255,255,.5); 
    border-bottom: 1px solid #ccc;
    background-color: #eee !important;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#eee));
    background-image: -webkit-linear-gradient(top, #f5f5f5, #eee);
    background-image:    -moz-linear-gradient(top, #f5f5f5, #eee);
    background-image:     -ms-linear-gradient(top, #f5f5f5, #eee);
    background-image:      -o-linear-gradient(top, #f5f5f5, #eee); 
    background-image:         linear-gradient(top, #f5f5f5, #eee);}

.station_calendar_default_table td {height:50px;}

.station_calendar_default_table th:first-child {
    -moz-border-radius: 6px 0 0 0 !important;
    -webkit-border-radius: 6px 0 0 0 !important;
    border-radius: 6px 0 0 0 !important;}

.station_calendar_default_table th:last-child {
    -moz-border-radius: 0 6px 0 0 !important;
    -webkit-border-radius: 0 6px 0 0 !important;
    border-radius: 0 6px 0 0 !important;}

.station_calendar_default_table th:only-child{
    -moz-border-radius: 6px 6px 0 0 !important;
    -webkit-border-radius: 6px 6px 0 0 !important;
    border-radius: 6px 6px 0 0 !important;}

/* TV LISTINGS CALENDAR */

.tvmds_station {width: 200px; margin-bottom: 10px; text-align: center}
.tvmds_station select {width: 140px; margin-left: auto; margin-right: auto;}

#tvmds_station_calendar_datepicker {float: right;}

#tvmds_station_calendar_datepicker .ui-corner-all {border-radius:4px !important;} /* Rounded corners on calendar */

#tvmds_station_calendar_datepicker .ui-datepicker-unselectable {color: #ccc !important;} /* Color for disabled dates in calendar */

#tvmds_station_calendar_datepicker .ui-state-hover {background-color: #e5e5e5} /* Hover background for calendar dates */

#tvmds_station_calendar_datepicker .ui-state-active {background-color: #e5e5e5} /* Active background for calendar dates */

#tvmds_station_calendar_datepicker .ui-widget {font-size: 12px !important;} /*Calendar font size */

#tvmds_station_calendar_datepicker .ui-widget-content {border: 1px solid #e5e5e5 !important; background:#ffffff !important; color:#555 !important;}

#tvmds_station_calendar_datepicker .ui-widget-content a {color: #555 !important;} /*Color of links within calendar */

/* Calendar header */
#tvmds_station_calendar_datepicker .ui-widget-header {border: 1px solid #e5e5e5 !important; background: #eeeeee !important; color: #555 !important;  font-weight: bold;}
#tvmds_station_calendar_datepicker .ui-widget-header a {color: #555;}
.ui-datepicker {width: 200px; padding: .2em .2em 0; } /* Calendar title (Month & Year ) */
.ui-datepicker-title {font-size:12px;} /* Calendar title (Month & Year ) */

#tvmds_station_calendar_datepicker .ui-datepicker .ui-datepicker-header {position: relative; padding: .2em 0;}

#tvmds_station_calendar_datepicker .ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
  position: absolute;
  top: 2px;
  width: 1.8em;
  height: 1.8em;
  margin-right: 15px;
  cursor: pointer;
}
#tvmds_station_calendar_datepicker .ui-datepicker .ui-datepicker-prev-hover,
.ui-datepicker .ui-datepicker-next-hover {
  color: #39c;
}
.ui-datepicker .ui-datepicker-prev {left: 2px;}
.ui-datepicker .ui-datepicker-next {right: 2px;}

.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
  display: block;
  position: absolute;
  left: 50%;
  margin-left: -8px;
  top: 50%;
  margin-top: -8px;
}
.ui-datepicker .ui-datepicker-title {margin: 0 2.3em; line-height: 1.8em; text-align: center;}
.ui-datepicker .ui-datepicker-title select { font-size: 1em; margin: 1px 0;}
.ui-datepicker select.ui-datepicker-month-year {width: 100%;}

.ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year {width: 49%;}
.ui-datepicker table {
  width: 100%;
  font-size: 11px;
  border-collapse: collapse;
  margin: 0 0 .4em;
}
.ui-datepicker th {
  padding: .7em .3em;
  text-align: center;
  font-weight: bold;
  border: 0;
}
.ui-datepicker td {
  border: 0;
  padding: 1px;
}
.ui-datepicker td span,
.ui-datepicker td a {
  display: block;
  padding: .2em;
  text-align: center;
  text-decoration: none;
  border:none !important;
}
.ui-datepicker .ui-datepicker-buttonpane {
  background-image: none;
  margin: .7em 0 0 0;
  padding: 0 .2em;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
}
.ui-datepicker .ui-datepicker-buttonpane button {
  float: right;
  margin: .5em .2em .4em;
  cursor: pointer;
  padding: .2em .6em .3em .6em;
  width: auto;
  overflow: visible;
}
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
  float: left;
}
#tvmds_station_calendar_datepicker .ui-state-disabled {color:#ccc !important; background:none !important;}
#tvmds_station_calendar_datepicker .ui-datepicker-unselectable {color:#ccc !important; background:none !important;}

#tvmds_station_calendar_datepicker .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
	background:none !important;
	color:#ccc !important;
}

#tvmds_station_calendar_datepicker .ui-widget-header {
	background:none !important;
	color:#ccc !important;
}

#tvmds_station_calendar_datepicker .ui-state-default {
	background:none !important;
	color:#ccc !important;
}

#tvmds_station_calendar_datepicker .ui-datepicker-title {
	color:#555;
	}


#tvmds_station_calendar_datepicker .ui-state-active .ui-state-highlight {
	background:#bbb;
	color:#000;
	}

#tvmds_station_calendar_datepicker .ui-datepicker-current-day {
	background:#38a3d7;
	color:#fff;
    -moz-border-radius: 2px 0 0 0 !important;
    -webkit-border-radius: 2px 0 0 0 !important;
    border-radius: 2px 0 0 0 !important;
	}

#tvmds_station_calendar_datepicker .ui-datepicker-next:hover {
	background:none !important;
	text-decoration:underline;}

#tvmds_station_calendar_datepicker .ui-datepicker-prev:hover {
	background:none !important;
	text-decoration:underline;}

#tvmds_station_calendar_datepicker .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover {
	border:none !important;
	color:#fff !important;
	background:#38a3d7 !important;}