/*
	Colors
	
	dark purple: 	#685070
	light purple: 	#ccc4ce
	light gray:		#e7e7e7
	gray:			#787878
	dark gray:		#474747
	whiteish:		#f5f5f5
*/

/* @group Global */

html, body {
  font-size: 12px;
  padding: 0;
  margin: 0;
  font-family: "Helvetica", "Verdana", sans-serif;
  background-color: #444;
}

#main {
  background-color: white;
}

img {
  border: none;
}

dt {
  font-weight: bold;
  padding: 3px;
}

dd {
  margin-left: 10px;
}

button a {
  text-decoration: none;
  color: inherit;
}

/* @end */

/* @group Header */

#header {
  color: #ccc4ce;
  background-color: #685070;
  border: 1px solid #685070;  
}

#header h3 {
  padding: 0;
  margin: 0;
}

#header h3 {
  float: right;
  font-size: 14px;
  font-weight: normal;
}

#header img {
  float: left;
  margin-bottom: 7px;
  margin-top: 5px;
}

/* @end */

/* @group Footer */

#footer {
  color: #f0f0f0;
  padding-left: 10px;
  padding-bottom: 20px;
  font-size: 11px;
  font-family: "Lucida Sans";
  clear: both;
}

#footer .credits {
  float: left;
  padding-top: 20px;
}

#footer a {
  color: #ccc4ce;
  text-decoration: none;
}

#footer .feed {
  margin-top: 10px;
  float: right;
  background-color: #666;
  color: white;
  border: 1px solid #666;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  padding: 3px;
  line-height: 16px;
  margin-right: 6px;
}

#footer .feed img {
  vertical-align: middle;
}

#footer .feed a {
  text-decoration: none;
  color: inherit;
}

/* @end */

/* @group Navigation tabs */

#header .tabs {
  clear: left;
  margin-left: 10px;
}

#header .tabs img {
  vertical-align: bottom;
}

#header .tabs span {
  font-size: 14px;
  padding-top: 5px;
  padding-bottom: 1px;
  /*color: #555;*/
  color: #ddd;  
}

#header .tabs a {
  padding: 0 10px 0px 10px;
  text-decoration: none;
  font-weight: bold;
  color: inherit;
}

body.frontpage.tv #tab_tv,
body.frontpage.cinema #tab_movies,
body.frontpage.archive #tab_archive,
body.movies #tab_archive,
body.users #tab_users,
body.broadcasts #tab_tv,
body.releases #tab_releases,
body.stations #tab_stations,
body.accounts #tab_users,
body.passwords #tab_users,
body.sessions #tab_users,
body.genres #tab_archive,
body.ads #tab_ads,
body.pages #tab_pages,
body.broadcasts #tab_tv,
body.stations #tab_stations,
body.newsletters #tab_newsletters,
body.issues #tab_newsletters,
body.reviews #tab_reviews,
body.user_reviews #tab_users,
body.reviews #tab_movies,
body.duplicates #tab_archive,
body.parts #tab_newsletters,
body.pages .selected_tab {
  border-top: 1px solid #685070;
  border-right: 1px solid #685070;
  border-left: 1px solid #685070;
  background-color: white;
  color: #444;
  -webkit-border-top-right-radius: 8px;
  -webkit-border-top-left-radius: 8px;
  -moz-border-radius-topright: 8px;
  -moz-border-radius-topleft: 8px;
}
body.pages .selected_tab a {
  color: #444 !important;
}
/* @end */

/* @group Dashboard */

#dashboard {
  float: right;
  background-color: #685070;
  color: white;
  font-size: 11px;
  font-family: "Lucida Grande";
  padding: 3px 4px 2px 4px;
  line-height: 16px;
  height: 16px;
  color: #f0f0f0;
  text-align: right;
}

#dashboard a:link {
}

#dashboard img {
  vertical-align: middle;
}

#dashboard a {
  color: inherit;
  text-decoration: none;
}

/* @end */

/* @group Content & Sidebar */

#content {
  margin-right: 260px;
  min-height: 530px;
  padding: 5px;
}

#sidebar {
  float: right;
  width: 250px;
  padding: 5px;
  font-family: "Trebuchet MS";
}

#sidebar .list a {
  color: darkblue;
  text-decoration: none;
}

#sponsored_links {
	-moz-border-radius: 8px;
  	-webkit-border-radius: 8px;
 	padding: 6px;
	text-align: center;
	background-color: #f0e0f0;
}

#sponsored_links a {
  font-weight: bold;
  color: black;
}

#google_ad {
  clear: right;
  width: 200px;
  margin: 10px auto;
}

#sidebar .title {
  color: #685070;
  font-weight: bold;
  text-align: center;
  border-bottom: 1px solid #ccc4ce;
  padding-bottom: 2px;
}

#sidebar .title a.action {
  float: right;
  font-size: 11px;
  font-weight: normal;
}

#sidebar .section {
  clear: left;
  margin: 5px;
}

#sidebar .section.list ul {
  list-style-type: none;
  padding: 0;
}

#sidebar .section.list li {
  padding: 2px;
  border-bottom: 1px dotted #ccc;
}

#sidebar .section.list .info {
  float: right;
  font-size: 11px;
  color: #444;
}

#sidebar .ad {
  width: 200px;
  margin: 10px auto;
  text-align: center;
  padding-bottom: 5px;
  border-bottom: 1px solid #444;
}

/* @end */

/* @group Headline */

.headline {
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  background-color: #e7e7e7;
  padding: 6px;
}

.headline h2 {
  margin: 0;
  color: black;
}

.headline h2 a {
  color: inherit;
  text-decoration: none;
}

.headline .actions {
  float: right;
  margin-right: 10px;
  font-size: 11px;
  color: #685070;
}

.headline .actions a {
  color: inherit;
  text-decoration: none;
}

/* @end */

/* @group Day browser */

.day_browser {
  margin-top: 5px;
  margin-bottom: 5px;
  color: #444;
}

.day_browser a {
  color: #444;
  text-decoration: none;
  padding: 3px 8px 2px 8px;
}

.day_browser a:hover {
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  background-color: #d5d5d5;
  /*padding: 3px 8px 2px 8px;*/
}

.day_browser span {
  padding: 5px;
}

.day_browser .current a {
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  background-color: #685070;
  color: white;
  /*padding: 3px 8px 2px 8px;*/
}

/* @end */

/* @group Tables */

table.data {
  margin-top: .5em;
  width: 100%;
  border-spacing: 0;
}

table.data caption {
  font-weight: bold;
  color: #685070;
  background-color: #ebf1fb;
  text-align: left;
  padding: 5px;
  margin-left: 5px;
  margin-bottom: 5px;
}

table.data tr {
  height: 30px;
}

table.data tbody th {
  text-align: left;
  color: #444;
  padding: 3px 6px;
  border-bottom: 1px solid #ddd;
  width: 25%;
}

table.data tbody td {
  padding: 3px 6px;
  border-bottom: 1px solid #ddd;
}

table.data tfoot td {
  padding-top: 10px;
}

table.data tfoot form,
table.data tfoot div {
  display: inline;
}

table.data td.errors {
  font-size: 11px;
  color: darkred;
}

table.list {
  margin-top: .5em;
  background-color: white;
  width: 100%;
  border-spacing: 0;
}

table.list caption {
  font-weight: bold;
  color: #685070;
  text-align: left;
  padding: 5px 0 5px 0;
  margin-left: 5px;
}

table.list th {
  text-align: left;
  color: #000;
  padding: 6px;
  background-color: #b0c4de;
}

table.list th a {
  background-color: #b0c4de;
  color: #f0f0f0;
  text-decoration: none;
}

table.list th a.sort_key {
  border-bottom: 2px solid black;
}
table.list th:first-child {
  -webkit-border-top-left-radius: 4px;
  -moz-border-radius-topleft: 4px;
}

table.list th:last-child {
  -webkit-border-top-right-radius: 4px;
  -moz-border-radius-topright: 4px;
}

table.list th a {
  color: inherit;
}

table.list tbody td {
  padding: 6px;
  border-bottom: 1px solid #ddd;
}

table.list td.date {
  width: 6em;
}

table.list td.datetime {
  width: 8em;
}

table.list td.icon {
  width: 20px;
}

table.list td.count {
  width: 2em;
  text-align: center;
}

table.list td.rating {
  width: 85px;
}

table.list th.year,
table.list td.year {
  width: 3em;
}

table.list th.genre,
table.list td.genre {
  width: 15em;
}

table.list td.role {
  width: 6em;
}

table.list th.id {
  text-align: right;
}

table.list td.id {
  width: 3em;
  text-align: right;
}

table.list td.screen_name {
  width: 20em;
}

/* @end */

/* @group Frontpage */

table#broadcasts td {
  
}

td.movie a.movie {
  color: darkblue;
  font-weight: bold;
}

td.imdb {
  width: 40px;
}

td.info {
  width: 150px;
}

td.info .station {
  /*font-weight: bold;*/
  padding-bottom: 2px;
}

td.info .hour {
}

td.info .hour span {
  /*background-color: #777;
  color: #fff;
  padding: 1px 3px;*/
  font-weight: bold;
}

td.stats {
  width: 80px;
  text-align: right;
  vertical-align: top;
}

td.stats .reviews {
  font-size: 11px;
}

td.movie a.genre, td.movie a.person {
  color: #448;
}

/* @end */

/* @group Movies/Reviews */

body.movies #sidebar .current {
  background-color: #ccc4ce;
  font-weight: bold;
}

body.movies #sidebar .time {
  font-weight: bold;
}

body.movies #details .poster,
body.reviews #details .poster {
  float: left;
  margin: 5px;
}

body.movies dt,
body.reviews dt {
  font-size: 11px;
}

body.movies .headline .ratings,
body.reviews .headline .ratings {
  font-size: 11px;
  color: #444;
  margin-top: 5px;
}

body.movies .headline .ratings .rating,
body.reviews .headline .ratings .rating {
  display: inline;
}

body.movies .headline .ratings .rating img,
body.reviews .headline .ratings .rating img {
  vertical-align: bottom;
}

body.movies #review {
  background-color: #f9f9f9;
  margin: 6px;
  padding: 5px;
}

body.movies #review .field {
  margin-bottom: 10px;
}

body.movies #review .field label {
  display: block;
  font-size: 11px;
}

body.movies #review .field textarea {
  display: block;
  width: 100%;
}

body.movies #review .field.float {
  float: left;
  margin-right: 10px;
}

body.movies #review .field.clear {
  clear: left;
}

body.movies #reviews,
body.reviews #review {
  clear: left;
  margin-top: 20px;
  width: 100%;
  border-collapse: collapse;
}

body.movies #reviews tr.byline,
body.reviews #review tr.byline {
  background-color: #D4D5DC;
}

body.movies #reviews td,
body.reviews #review td {
  padding: 2px;
}

body.movies #reviews td.author,
body.reviews #review td.author {
  font-weight: bold;
}

body.movies #reviews td.author a,
body.reviews #review td.author a {
  color: #685070;
  text-decoration: none;
}

body.movies #reviews .rating,
body.reviews #review .rating {
  font-size: 11px;
  margin-top: 5px;
}

body.movies #reviews .rating img,
body.reviews #review .rating img {
  vertical-align: bottom;
}

body.movies #reviews tr.body td,
body.reviews #review tr.body td {
  padding: 5px 5px 10px 5px;
}

body.movies #reviews tr.body td .classification,
body.reviews #review tr.body td .classification {
  margin-top: 5px;
  font-weight: bold;
  color: darkblue
}

body.movies #reviews tr.body .date,
body.reviews #review tr.body .date {
  margin-top: 5px;
  color: #666;
}

body.movies.edit table.data th {
  width: 15em;
}

body.movies table.data.movie,
body.reviews table.data.movie {
  margin-left: 120px;
  width: auto;
}

body.movies #miniguide {
  vertical-align: middle;
  width: 100%;
}

body.movies #miniguide .current {
  text-align: center;
  width: 50%;
  font-size: 13px;
  background-color: lightyellow;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
}

body.movies #miniguide .prev,
body.movies #miniguide .next {
  width: 25%;
}

body.movies #miniguide .next {
  text-align: right;
}

body.movies #miniguide .broadcast {
  padding: 4px 8px;
  background-color: #d4d5dc;
  font-size: 11px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
}


/* @end */

/* @group Account */

body.account table.data th {
  width: 10em;
}

body.account.signup form .message,
  body.account.edit form .message {
  color: red;
}

body.account.login form {
  margin: 50px auto;
  background-color: #f0f0f0;
  padding: 10px;
  width: 250px;
}

body.account.login form th {
  text-align: right;
}

body.account.login form p.submit {
  text-align: center;
}

body.account.login form hr {
  width: 50%;
}

body.account.login form div.footer {
  text-align: center;
  font-size: 11px;
}

body.account.login form div.footer a {
  color: darkblue;
  text-decoration: none;
}

/* @end */

/* @group Pagination */

.pagination {
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  background: #e9e9fa;
  border: 1px solid #E5E5E5;
  text-align: center;
  padding: 1em;
  margin-bottom: 10px;
}

.pagination a, .pagination span {
  padding: .2em .3em;
}

.pagination span.disabled {
  color: #aaa;
}

.pagination span.current {
  font-weight: bold;
  background: transparent url(../images/circle.gif) no-repeat 50% 50%;
}

.pagination a {
  text-decoration: none;
  color: black;
}

.pagination a:hover, .pagination a:focus {
  text-decoration: underline;
}

/* @end */

/* @group Users */

body.users #stats,
body.user_reviews #stats {
  list-style-type: none;
  padding: 0;
}

body.users #stats li,
body.user_reviews #stats li {
  padding: 0;
  padding: 6px;
  -webkit-border-top-left-radius: 6px;
  -webkit-border-bottom-left-radius: 6px;
  background-color: lavender;
  color: #222;
  margin-bottom: 4px;
  text-align: right;
}

body.users #stats li.selected,
body.user_reviews #stats li.selected {
  background-color: #685070;
  color: white;
}

body.users #stats li a,
body.user_reviews #stats li a {
  color: inherit;
}

/* @end */

/* @group Admin/Stations */

body.stations table#stations .status {
  width: 20px;
}

body.stations table#stations .group {
  width: 80px;
}

/* @end */

/* @group Admin/Broadcasts */

body.broadcasts table#broadcasts .status {
  width: 20px;
}

body.broadcasts table#broadcasts .hour {
  width: 100px;
}

body.broadcasts table#broadcasts .station {
  width: 100px;
}

body.broadcasts tr.broadcast.highlight {
  background-color: lightyellow !important;
}

/* @end */

/* @group Admin/Releases */

body.release table#releases .status {
  width: 75px;
}

body.release table#releases .expire {
  width: 20px;
}

/* @end */

/* @group Admin/Newsletters */

body.issues .actions {
  margin-top: .5em;
}

body.issues .actions form {
  display: inline;
}

body.issues .actions form div {
  display: inline;
}

/* @end */

/* @group Admin/Reviews */

body.reviews table#reviews tr.body_review td {
  font-size: 11px;
  color: #444;
}

/* @end */

/* @group Misc */

.notice {
  background-color: lightyellow;
  padding: 5px;
  color: #444;
}

img.avatar {
  vertical-align: middle;
}

.buttons {
  clear: left;
  margin-top: .5em;
}

.buttons br {
  clear: left;
}

.buttons a, .buttons button {
  display: block;
  float: left;
  margin: 0 7px 0 0;
  color: #444;
  background-color: #f0f0c0;
  border: 1px solid #888;
  border-top: 1px solid #ddd;
  border-left: 1px solid #ddd;
  font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
  font-size: 11px;
  text-decoration: none;
  cursor: pointer;
  padding: 3px 8px;
  line-height: 16px;
  width: auto;
}

*:first-child+html button[type] {
  padding: 4px 10px 3px 7px;
}

.buttons button img, .buttons a img {
  vertical-align: middle;
  border: none;
  width: 16px;
  height: 16px;
}

/* @end */