body {
  background: #ddd /**url(/images/header-bg.png) left top repeat-x*/;
  font-family:helvetica,arial,clean,sans-serif;
  font-size:13.34px;
  font-size-adjust:none;
  font-style:normal;
  font-variant:normal;
  font-weight:normal;
  line-height:1.4em;
  text-align: center;
  margin-top:0;
}

body * {
  line-height:1.4em;
}

a {
  color: #3196CA;
}

img {
  border: none;
  vertical-align:middle;
}

input[type=text], input[type=password], input[type=file], textarea, select {
  border: 2px solid #E3E3E3;
  width: 345px;
  padding-top:5px;
  padding-left: 5px;
  font-family:trebuchet ms,luxi sans,sans-serif;
  font-size: 12px;
}

input[type=text], input[type=password], select {
  height: 25px;
  color: #272727;
  height:20px;  
}

input[type=submit], input[type=button], a.button {
  color: #272727;
  height: 25px;
  border: none;
  font-weight: bold;
  border: 1px solid grey;
  background: #eee;
  color: black;
}

input[disabled=disabled] {
  color: grey
}

select {
  height: 25px;
}

label {
  color: #4D4D4D;
  font-weight: bold;
}

thead, tfoot {
  background: transparent url(/images/table-header.png) left top repeat-x;
  color: #1a1a1a;
}

div#container {
  width:800px;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
}

div#header {
  background: transparent url(/images/header_menu.png) left top no-repeat;
  height: 128px;
}

div#header img {
  margin-top: -5px;
}

div#header a {
  text-decoration: none;
  color: white;
}

div#header ul {
  list-style-type: none;
  margin-left: -27px;
}

div#header li {
  float:left;
  width: 100px;
  text-align: center;
  background: url(/images/header-separator.png) right center no-repeat;
  height: 41px;
}

div#header li a { 
  display: block;
  padding-top: 13px;
  height: 29px;
  width: 98px;
}

div#header li a.current, div#header li a.current:hover, div#header li.no-link a.current:hover {
  background: url(/images/menu_current.png) center bottom no-repeat;
  font-weight: bold;
}

div#header li.no-link a:hover {
  background:none;
  cursor: default;
}

div#header li a:hover {
  background: url(/images/menu_hover.png) left top repeat-x;
}

div#header div#logo {
  margin-left: 20px;
  padding-top: 10px;
}

div#account {
  float: right;
  margin-right: 30px;
  color: white;
  margin-top: -60px;
}

div#account a {
  color: white;
}

div#body {
  width: 600px;
}

div#body-content {
  background: transparent url(/images/body-content.png) left top repeat-y;
  padding:25px;
  padding-right: 30px;
  padding-top: 15px;
  width: 750px;
}

div#body h1 {
  color: #373737;
  font-size:24px;
  line-height:24px;
}

div#body h1#page-title {
  padding:0px 20px 5px 10px;
  margin-left:-13px;
  margin-top:0;
}

div#body h1#page-title a {
  color: #373737;
  text-decoration: none;
}

div#body h2 {
  color: #474747;
  font-size: 18px;
  margin-bottom: 30px;
  margin-top: 30px;
}

div#body h3 {
  color: #474747;
  font-size: 14px;
}

div#body ul {
  padding-left: 15px;
  margin-left: 15px;
}

div#body li {
  list-style-image: url(/images/bullet.gif);
  line-height: 22px;
}

div#body pre {
  background: #F7F7F7;
  color: black;
  overflow: auto;
  padding: 5px;
  padding-left: 20px;
  margin-left: 30px;
  border:1px solid #D7D7D7;
}

div#sidebar {
  float: right;
  width: 262px;
  margin-top: 25px;
  display: none;
}

div#sidebar-top {
  background: transparent url(/images/sidebar-top.png) left top no-repeat;
  height:25px;
}

div#sidebar-content {
  background: transparent url(/images/sidebar-content.png) left top repeat-y;
  font-size: 11px;
  padding:0px 15px;
  width: 230px;
}

div#sidebar-bottom {
  background: transparent url(/images/sidebar-bottom.png) left top no-repeat;
  height: 53px;
  margin-top:-11px;
}

div#sidebar input[type=text] {
  width: 150px;
}

div#sidebar h3 {
  background: transparent url(/images/sidebar-title.png) left top no-repeat;
  color:white;
  font-size: 11px;
  font-weight: bold;
  height: 31px;
  padding-top: 6px;
  padding-left: 10px;
  margin: 0px;
  margin-left: 5px;
}

div#sidebar p {
  padding-left: 10px;
  padding-right: 10px;
  margin-top: 2px;
  width:200px;
}

div#sidebar ul {
  padding-left: 15px;
  margin-left: 15px;
  width:190px;
}

div#sidebar li {
  list-style-image: url(/images/bullet.png);
  line-height: 20px;
}

div#foot {
  clear: both;
  background: transparent url(/images/foot.png) left top no-repeat;
  height: 61px;
  padding: 10px;
  padding-left:20px;
  padding-right: 20px;
  font-size: 11px;
  width: 760px;
}

div#foot a {
  color: #E6E6E6;
  text-decoration: none;
}

div#foot img {
  float: left;
}

div#foot ul {
  text-align: right;
  margin: 0;
  padding-right: 20px;
}

div#foot li {
  display: inline;
  margin-left: 15px;
}

a.link-credits {
  background: url(/images/credits.png) left center no-repeat;
  padding-left: 30px;
  padding-top: 4px;
}

p.align-right {
  text-align: right;
}

span.help, p.help {
  margin: 0;
  font-size: 11px;
  color: grey;
}

p.help {
  margin-bottom: 15px; 
}

div#toolbar {
  float:right;
  margin-left: 10px;
}

div#toolbar img {
  cursor: pointer;
  vertical-align: baseline;
}

div.tooltip {
 background: #FFFFE7;
  padding: 3px;
  border: 1px solid #c0c0c0;
}

input#search-field {
  width: 150px; 
  height: 18px; 
  vertical-align:top; 
  padding-top: 3px; 
  font-size: 14px;
  border-color: #27A9DC;
}

div#search-results {
  background:white none repeat scroll 0% 0%;
  border:1px solid grey;
  font-size:11px;
  margin-left:55px;
  padding:3px;
  position:absolute;
  top:170px;
  width:400px;
}

div.search-results {
  position: absolute;
  width: 350px;
  background:white; 
  border:1px solid grey; 
  padding: 3px; 
  font-size: 11px;
}

div#search-results ul {
  margin: 0px;
  padding-left: 0;
}

div#search-results a, div.search-results a {
  text-decoration: none;
  color: black;
  display: block;
}

div#search-results li {
  list-style-type: none !important;
  list-style-image: none !important;
}

table#search-results-table td.views {
	font-size: 10px;
	color: grey;
	text-align: right;
	width: 90px;
}

table#search-results-table, table#search-results-table tr, table#search-results-table td {
	border: none;
}

span#active-uploads-count {
  font-size: 10px;
  color: red;
  font-weight: bold;
  margin-left: -7px;
}

span#credits-counter {
  font-size: 24px; 
  font-weight: bold; 
}

span#credits-counter a {
  color:#DCDCDC;
  text-decoration: none;
}

span#credits-counter a:hover {
  color: #ADADAD;
}
/* archive page */

div.date {
  color: #5c5c5c;
  height: 60px;
  font-weight: bold;
  font-size: 18px;
  width: 62px;
  background: transparent url(/images/date.png) no-repeat scroll left top;
  text-align: center;
  line-height: 35px;
  float:left;
}

div.date span {
  color: white;
  font-size: 11px;
  display: block;
  line-height: 15px;
}

div.meta {
  background: #fafafa url(/images/table-header.png) left top repeat-x;
  border: 1px solid #ddd;
  margin-bottom:15px;
  padding: 5px;
  margin-left: 70px;
  font-size: 11px;
}

div.meta h3 {
  font-size: 12px;
  border-bottom: 0px;
  margin: 0;
}

div.meta h3 a {
  text-decoration: none;
  color: #585858;
}

div.meta h3 div.stat-archive {
  float: right;
  margin-top: -18px;
}
.calendar_date_select {
  color:white;
  border:#777 1px solid;
  display:block;
  width:195px;
  z-index: 1000;
}
/* this is a fun ie6 hack to get drop downs to stay behind the popup window.  This should always be just underneath .calendar_date_select */
iframe.ie6_blocker {
  position: absolute;
  z-index: 999;
}

.calendar_date_select thead th {
  font-weight:bold;
  background-color: #aaa;
  border-top:1px solid #777;
  border-bottom:1px solid #777;
  color: white !important;
}

.calendar_date_select .cds_buttons {
  text-align:center;
  padding:5px 0px;
  background-color: #555;
}

.calendar_date_select .cds_footer {
  background-color: black;
  padding:3px;
  font-size:12px;
  text-align:center;
}

.calendar_date_select table {
  margin: 0px;
  padding: 0px;
}


.calendar_date_select .cds_header {
  background-color: #ccc;
  border-bottom: 2px solid #aaa;
  text-align:center;
}

.calendar_date_select .cds_header span {
  font-size:15px;
  color: black;
  font-weight: bold;
}

.calendar_date_select select { font-size:11px;}

.calendar_date_select .cds_header a:hover {
  color: white;
}
.calendar_date_select .cds_header a {
  width:22px;
  height:20px;
  text-decoration: none;
  font-size:14px;
  color:black !important;
}

.calendar_date_select .cds_header a.prev {
  float:left;
}
.calendar_date_select .cds_header a.next {
  float:right;
}

.calendar_date_select .cds_header a.close {
  float:right;
  display:none;
}

.calendar_date_select .cds_header select.month {
  width:90px;
}

.calendar_date_select .cds_header select.year {
  width:61px;
}
.calendar_date_select .cds_buttons a {
  color: white;
  font-size: 9px;
}

.calendar_date_select td {
  font-size:12px;
  width: 24px;
  height: 21px;
  text-align:center;
  vertical-align: middle;
  background-color: #fff;
}
.calendar_date_select td.weekend {
  background-color: #eee;
  border-left:1px solid #ddd;
  border-right:1px solid #ddd;
}

.calendar_date_select td div {
  color: #000;
}
.calendar_date_select td div.other {
  color: #ccc;
}
.calendar_date_select td.selected div {
  color:white;
}

.calendar_date_select tbody td {
  border-bottom: 1px solid #ddd;
}
.calendar_date_select td.selected {
  background-color:#777;
}

.calendar_date_select td:hover {
  background-color:#ccc;
}

.calendar_date_select td.today {
  border: 1px dashed #999;
}

.calendar_date_select td.disabled div {
  color: #e6e6e6;
}

.fieldWithErrors .calendar_date_select {
  border: 2px solid red;
}
/* dashboard */

div.activity strong {
  padding: 5px;
  background: #3EA2CF;
}

div.activity table {
  width: 100%;
  border: none;
}

div.activity table td, div.activity table tr {
  border: none;
}

div#activities, div#tops {
  margin-bottom: 30px;
}

div.activities-content {
  border-left: 1px solid #c0c0c0;
  border-right: 1px solid #c0c0c0;
  border-bottom: 1px solid #c0c0c0;
}

.strong {
  font-weight: bold;
}

div.menu {
  margin-bottom:4px;
}

div.menu a {
  background: transparent url(/images/tab.png) left top repeat-x;
  border-left: 1px solid #c0c0c0;
  border-top: 1px solid #c0c0c0;
  border-right: 1px solid #c0c0c0;
  color: white;
  padding: 5px;
  padding-left: 10px;
  padding-right: 10px;
  margin-right: 2px;
  text-decoration: none;
}

div.menu a.current {
  background: transparent url(/images/tab-current.png) left top repeat-x;
  color: black;
}

div.menu-bottom {
  text-align: right;
  background: transparent;
  padding: 5px;
}

div.menu-bottom a {
  color: black;
  text-decoration:none;
  padding: 3px;
}

div.menu-bottom a.current {
  font-weight: bold;   
}

div.last-stats {
  width: 150px;
  height: 117px;
  float:left;
  margin: 5px; 
  margin-bottom: 40px;
  font-size: 11px;
  text-align: center;  
  line-height: 11px;
  cursor:pointer;
}

div.last-stats div.thumb {
  width: 150px;
  height: 111px;
  background: url(/images/thumb-shadow.png) left top no-repeat;
}

div.last-stats div.thumb img {
  width: 130px;
  height: 97px;
}

div.last-stats div.video-title {
  background: black;
  color: white;
  margin-left:10px;
  position:absolute;
  padding: 5px;
  width: 120px;
  height: 75px;
  font-weight: bold;
  padding-top: 20px;
  opacity:0.7;
  filter:alpha(opacity=70)
}

div.loading {
  margin-top:10px;
  text-align: center;
}

div.pagination {
  text-align: right;
}

div.pagination a {
  background: white;
  border:1px solid #ddd;
  color: #1a1a1a;
  padding: 3px;
  padding-left:5px;
  padding-right:5px;
  text-decoration:none;
}

div.pagination a:hover, div.pagination .current {
  background: #5a9abd;
  color: white;
  font-weight: bold;
}

div.pagination .current {
  padding: 3px;
  padding-left:5px;
  padding-right:5px;
}

div.dashboard-edit-form {
  text-align: left;
  font-weight: normal;
  padding: 8px;
  border: 1px solid #D5F1FF;
  margin-bottom: 15px;
  background: #F9FDFF;
}
/* graph bar */

table.stat-bar {
  border-collapse: collapse;
  font-size: 10px;
}

table.stat-bar tr {
  border: none !important;
}

table.stat-bar td {
  font-size: 10px;
  border: none;
	width:15px;
}

table.stat-bar tr.bar-row {
  border-bottom: 1px solid grey;
  border-left: 1px solid grey;
}

table.stat-bar tr.date-row {
  height: 10px;
  border-top: 1px solid grey !important;
}

table.stat-bar tr.date-row td {
  vertical-align: top;
  text-align: center;
  width: 15px;
	background: transparent url(/images/graph-date.png) no-repeat scroll center top;
}

table.stat-bar tr.month-row td {
  font-weight: bold;
  letter-spacing: 5px;
  text-transform: uppercase;
  font-size: 11px;
}

table.stat-bar tr.bar-row td {
  padding-bottom:0;
  vertical-align: bottom;
  text-align: center;    
  height: 100px;
  width: 15px;
  cursor: pointer;
}

div.bar {
  background:#3EA2CF;
  margin-left:auto;
  margin-right:auto;
	width:15px;
	vertical-align: bottom;
}

table.stat-bar div.tooltip {
	background: white; 
	text-align :left;
}

table.stat-bar div.tooltip span {
	color: #3EA2CF; 
	font-weight:bold;
}
/* messages */

div#messages div#notice, div#messages div#error {
  padding: 5px;
  text-align: center;
  margin-bottom: 15px;
  font-weight: bold;
  cursor: pointer;
}

div#notice {
  background: #DCF7FF;
  border: 1px solid #61CBEA;
}

div#error {
  background: #FFE2E2;
  border: 1px solid #E52D1F;
}

div#messages img {
  vertical-align:middle;
}

div#important, div.important, p.api-description {
  text-align: left;
  font-weight: normal;
  padding: 8px;
  border: 1px solid #ffdf9a;
  margin-bottom: 15px;
  background: #FFFFE7;
}

div#important p, div.important p {
	margin:0;
}
ul.arguments-list li p {
  margin-top:0px;
  margin-bottom: 5px;
  margin-left: 20px;
}

ul.arguments-list li strong, ul.arguments-list li em {
}

p.api-description {
  /*background: #eee;
  border: 1px solid #ddd;
  padding:5px;
  font-weight: bold;
  color: #1a1a1a; */
  font-weight: bold;
}

pre {
  background: #F7F7F7;
}

ul.api-methods-list li a { font-weight: bold; }
ul.api-methods-list li p {
  margin:0pt 0pt 5px;
  color: grey;
  line-height: 15px;
}
/* Upload page */

div.process-bar {
  padding:5px; 
  background: transparent url(/images/spread-process-bar.png) no-repeat scroll left top;
  font-size: 11px;
  margin-bottom: 5px;
  cursor: pointer;
}

div.process-bar strong {
  font-size: 12px;
}

div.process-bar a {
  color: black;
  text-decoration: none;
}

div.process-bar span.recommended {
  color: red;
}

p.error {
  color: red;
}

p.ok {
  color: green;
}

div#sites-list {
  width: 200px;
  float:left;
  border-right: 1px solid #c0c0c0;
  margin-right: 20px;
}

div#sites-list ul {
  padding-left:0;
  margin-left: 0;
  margin-top: 0;
}

div#sites-list li {
  line-height: 25px;
  list-style-image: none;
  list-style-type: none;
  padding-left: 4px;
}

div#sites-list li a {
  display: block;
  color: black;
  text-decoration: none;
  width: 150px;
}

div#sites-list li.current {
  background: url(/images/table-header.png) left top repeat-x;
  font-weight: bold;
}

div.credentials-forms {
  margin-left:240px;
}

div.credentials-forms input[type=text], div.credentials-forms input[type=password] {
  width: 200px;
}

span.enabled, span.ok {
  color: green;
  font-weight: bold;
}

span.error {
  color: red;
  font-weight: bold;
}

div.fieldWithErrors input, div.fieldWithErrors textarea {
  background: #FFECEC;
}

span.field-error {
  color: red;
  font-weight: bold;
}

li.sites-links {
  cursor: pointer;
}

.center {
  text-align: center;
}
/* video page */

table {
  border-collapse:collapse;
}

table, tr, td {
  border: 1px solid #eee;
}

td {
  padding: 3px;
}

thead, tfoot {
  font-weight: bold;
  color: #585858;

}

ul.links {
  margin-left:0px !important;
  padding-left: 0px !important;
}

ul.links li {
  float: left;
  width: 120px;
  list-style-type: none;
  list-style-image: none !important;
}

ul.links li.error a {
  color:red; 
  text-decoration:none; 
  font-weight: bold;
}

span.tags {
  background: transparent url(/images/tag.gif) left center no-repeat;
  border-right:1px solid #C2C1C1;
  font-size: 10px;
  padding:0.2em 0.4em 0.4em 16px !important;
  white-space:nowrap;
  margin-right: -4px;
}
.meta {
  font-size: 10px;
  color: grey;
  margin:0;
}

.cds_footer, .cds_buttons { display:none; }

.calendar_date_select select {
  height: 20px;
  padding-top:0;
}

.calendar_date_select thead th { 
  text-align: center;
}

.calendar_date_select {
  border: none;
  float:left;
  margin-right: 30px;
}

.stat-data-table {
  width: 420px;
}

.stat-diff-row {
  background-color: #FAFAFA !important;
}

.link-w-favicon {
  padding-left: 25px;
  padding-top:2px;
  line-height: 30px;
}

.right {
  text-align: right;
}

div#export {
  width: 60px;
  padding: 10px;
  background-color: #FAFAFA;
  float:right;
  text-align: center;
  border:1px solid #EEEEEE;
}

div#export a {
  line-height: 50px;
}

div#graphic {
  background:#FAFAFA;
  border:1px solid #EEEEEE; 
  margin-bottom: 20px;
}

div#range img {
  vertical-align: middle;
}

div#html-bar {
  overflow:auto;
}

#from, #to {
  height: 20px;
  padding: 0;
  font-size: 12px;
  width: 90px;
  border: none;
  font-weight: bold;
  background: transparent;
  cursor: pointer;
}

a.button {
  text-decoration: none;
  padding: 3px;
}

p.info-small {
  font-size: 11px;
  color: grey;
}

div#sidebar ul.failed-links {
  color: red;
  margin-left: 5px;
}

div#sidebar ul.failed-links li {
  padding-left: 25px;
  margin-bottom: 10px;
  list-style-image:none;
  list-style-type:none;
}

table#upload-status-table {
  width: 100%;
  font-size: 11px;
}

table#upload-status-table img {
  vertical-align: middle;
}

table#upload-status-table tr.preprocessing {
  background:#F5F9FC;
  color:black;
  border-bottom:2px solid #E2E2E2;
}

table#upload-status-table tr.preprocessing td a {
  text-decoration:none;
}

table#upload-status-table tr.preprocessing td img {
  vertical-align:middle;
}

div.toolbar {
  margin-left:550px;
  position: absolute;
  top:160px;
}

a#enable-stat {
  border: 1px solid #ddd; 
  padding: 8px; 
  color:#25A3D1; 
  text-decoration: none; 
  background: #eee url(/images/stat-big.png) 70px center no-repeat; 
  padding-right: 30px;
  font-size: 16px; 
  font-weight: bold;
}
