/*  It appears that IE 7.0 still processes the property even though it is 
    commented out with the single line comment // if the property is within a selector. 
    To have IE respect it, use the multiline comment mechanism. */

/* Copied from scaffold.css */
body { 
    background-color: #fff;  
    color: #333; 
    text-align: center;
}

/*body, p, ol, ul, td { */
body, p, ol, ul, table, div {
  font-family: arial, verdana, helvetica, sans-serif;
  font-size: 12px;
  margin-right: auto;
  margin-left: auto;
  /* setting text-align left causes IE to not display <ul> correctly */
  /* used list-style-position (later) to fix it */
  text-align: left; 
} 

/* font "Trebuchet MS",  */
pre {
  background-color: #eee;
  padding: 10px;
  font-size: 11px;
}
 
a {text-decoration:none;}
a:link {color: blue} 
a:active {color: red} 
a:hover { color: orange }
/*a:visited { color: gray} */

.v1 {font-size:1.2em;}
.v2 {font-size:1.4em;}
.v3 {font-size:1.6em;}

.fieldWithErrors {
  padding: 2px;
  background-color: red;
  display: table;
  margin-right: 0;
  margin-left: 0;
}

#errorExplanation {
  width: 400px;
  border: 2px solid red;
  padding: 7px;
  padding-bottom: 12px;
  margin-bottom: 20px;
  background-color: #f0f0f0;
  margin-right: 0;
  margin-left: 0;
}

#errorExplanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 12px;
  margin: -7px;
  background-color: #c00;
  color: #fff;
}

#errorExplanation p {
  color: #333;
  margin-bottom: 0;
  padding: 5px;
}

#errorExplanation ul li {
  font-size: 12px;
  list-style: square inside;
}

div.uploadStatus {
  margin: 5px;
}

div.progressBar {
  margin: 5px;
}

div.progressBar div.border {
  background-color: #fff;
  border: 1px solid grey;
  width: 100%;
}

div.progressBar div.background {
  background-color: #333;
  height: 18px;
  width: 0%;
}
/* End of copy from scaffold.css */

h1, h2, h3, h4, h5, h6 {
    font-weight:bold;
    margin:0pt;
    padding:0pt;
}

h1 { font-size: 24px; } 
h2 { font-size: 18px; } 
h3 { font-size: 14px; } 
h4 { font-size: 12px; } 
h5 { font-size: 11px; } 

#topDiv {
    width: 800px;
    height: 60px;
}

img {
    border: none;
}

div.contentDiv {
    width: 800px;
}

#separatorDiv {
    background-image: url(/images/separatorGradient.gif);
	background-repeat: repeat-x;
	height: 25px;
	width: 800px; 
    position: relative;
    top: -3px;
}
/*  This is so that both IE and FF can display the same width for both textarea and 
    input type text fields. I should be able to write CSS like this
    #entry-format INPUT[type=text], @entry-format TEXTAREA { width:500px; }
    but of course IE does not respect INPUT[type=text], so I am forced to use
    a class. */
/* Start of video entry CSS */
.entry-format { 
    width: 450px;
}

.entry-margin {
    margin: 0 10px;
}

.label {
    font-size: 16px;
	font-weight: normal;
	margin-right: 0px; 
	vertical-align: top;
    text-align:right;
}
/* End of video entry CSS */

table.header td.topleft {
    background:transparent url(/images/topleft.gif) no-repeat scroll 0%;
}

td.topleft {
    font-size:0px;
    height:26px;
    width:12px;
}

table.header td.topright {
    background:transparent url(/images/topright.gif) no-repeat scroll 0%;
}

td.topright {
    font-size:0px;
    height:26px;
    width:12px;
}

table.header td.topleft-gray {
    background:transparent url(/images/topleft_gray.gif) no-repeat scroll 0%;
}

td.topleft-gray {
    font-size:0px;
    height:26px;
    width:12px;
}

table.header td.topright-gray {
    background:transparent url(/images/topright_gray.gif) no-repeat scroll 0%;
}

td.topright-gray {
    font-size:0px;
    height:26px;
    width:12px;
}

table.video-entry {
    border-left: thin solid;  
    border-right: thin solid; 
    border-bottom: thin solid;
    border-color: #eedc82;      
    width: 600px;
}

/* Start of video list CSS */

table.one-col-list {
    width: 254px; 
} 

table.viral {
    border-left: thin solid;  
    border-right: thin solid; 
    border-bottom: thin solid;      
    width: 225px; 
    border-color: #BEBEBE;
}

table.two-col-list {
    border-left: thin solid;  
    border-right: thin solid; 
    border-bottom: thin solid;      
    width: 550px; 
    border-color: #2F4F4F;
}

table.three-col-list {
    border-left: thin solid;  
    border-right: thin solid; 
    border-bottom: thin solid;      
    border-color: #2F4F4F;
    width: 750px; 
} 

/*
table.video-list-one-col {
    border-left: thin solid;  
    border-right: thin solid; 
    border-bottom: thin solid;
    border-color: #CDBE70;      
    width: 254px;
    margin: 0pt;
}
*/
/* table.video-list td {*/
.video-list-td {
    vertical-align: top;
    padding: 10px; 
    width: 33%;
}

.video-div {
/*    width:220px; */
    margin-right:0px; 
    margin-left:0px;
}

table.video-list span {
/*    font-size: 20px;*/
}
/* End of video list CSS*/

/* Tabs */
#navigationDiv {
    width: 800px; 
}

#top-level-menu {
    float: right;
    padding-top: 15px;
    padding-right: 10px;
    font-size: 14px;
}

#logo {
    float: left;
}

.off {
	display: none;
}
ul#tabs {
    margin: 0px auto; 
	padding:0; 
	list-style:none;
	font-size:1.4em;   
	height:28px; 
	text-align: center;
}
ul#tabs li {
	background:url(/images/tabRightGradient.gif) top right no-repeat;
	display:block;
	float:left; 
	margin-left: 5px;
}
ul#tabs li.on {
	background:url(/images/tabRightOn.gif) top right no-repeat;
	padding-top:1px;
	margin-bottom:-2px;
}
ul#tabs a {
	display:block;
	text-align:center;
	text-decoration:none;
	color:#666;
	margin:0px;
	padding:3px 10px;
	background:url(/images/tabLeftGradient.gif) top left no-repeat;
	outline: none;
	cursor:pointer;
/* in addition to tab height attribute, add height here to line up tabs with separator for FF & IE */
/*	height: 22px; */
	font-weight: bold;
}
ul#tabs li a:hover {
	color:#333;
}
ul#tabs li.on a {
	background:#fff;
    color: #ffffff;
	font-weight:bold;
	padding-top: 3px; 
	margin-top:-1px;
	background:url(/images/tabLeftOn.gif) top left no-repeat;
}

fieldset.user-form {
    width:50%;
    border:1px solid #DDDDDD;
    clear:left;
    margin:1em 0pt;
    padding-top:15px;
}

fieldset.entry-form {
    width:85%;
    border:1px solid #DDDDDD;
    clear:left;
    margin:1em 0pt;
    padding-top:15px;
}

.form-instructions {
    color:#999999;
    display:block;
    font-size:70%;
    margin-bottom:0.3em;
    margin-top:0pt;
}

.video-details {
    color:#666666;
/*    color:#999999;*/
    display:block;
/*    font-size:80%;*/
    margin-bottom:0.3em;
    margin-top:0pt;
}

.video-description {
    margin: 0px;
    width: 220px;
}

/*  CSS for the 3 different types of flash message. In the future, we can use
    different CSS for each type of flash message */
#notice, #message, #warning {
    border: 2px solid red;
    padding: 1em;
    margin-bottom: 1em;
    margin-top: 1em;
    background-color: #f0f0f0; 
    font: bold medium sans-serif;
    width: 765px;
    margin-right: 0px;
    margin-left: 0px;
}

table.second-level-menu {
    font-size: 15px;
    margin: 0px;
}

table.second-level-menu td {
    padding-right: 10px;
    padding-bottom: 10px;
}

.active-link {
    color: #FF8C00;
    font-weight: bold;
}

.thumbs-up {
    color: #006400;
    text-align: center;
}

.thumbs-down {
    color: #FF0000;
    text-align: center;
}

.pagination {
	padding: 3px;
	margin: 3px;
}
.pagination a {
	padding: 2px 5px 2px 5px;
	margin: 2px;
	border: 1px solid #aaaadd;
	text-decoration: none;
	color: #000099;
}
.pagination a:hover, .pagination a:active {
	border: 1px solid #000099;
	color: #000;
}
.pagination span.current {
	padding: 2px 5px 2px 5px;
	margin: 2px;
	border: 1px solid #000099;
	font-weight: bold;
	background-color: #000099;
	color: #FFF;
}
.pagination span.disabled {
	padding: 2px 5px 2px 5px;
	margin: 2px;
	border: 1px solid #eee;
	color: #ddd;
}

div.help {
    padding: 10px;
}

div.help a {
    font-size: medium;
}

div.help p {
    font-size: small;
}

div.help ul {
    list-style: square;
    list-style-position: inside;
}

#tag {
    float: left;
    font-size: 24px;
    font-weight: bold;
    font-style: oblique;
    color: #CD853F;
}

.instructions {
    font-size: 14px;
}

table.video-big-details {
    margin: 0px;
/*    color:#999999; */
    color:#000000;
    font-size: 14px;
}

table.video-big-details p {
    color:#000000;
    font-size: 14px;
}

table.video-big-details tr td table {
    margin: 0px;
    text-align: center;
}

table.video-big-details tr td {
    padding: 0 10px 0 0;
    font-size: 14px;
}

table.video-big-details table tr td {
    padding: 0 20px 0 0;
}

.get-details {
    position:relative; 
    bottom:10px;
    font-weight: bold;
    color: #000080;
    font-size: 14px;
}

.banner {
    font-size: 18px;
    text-align: center;
    color: #CD853F;
    font-weight: bold;
    font-style: normal;
}

.emphasis {
    color: #000000;
    font-weight: bold;
}    

.context {background-color: #FFFF00;}

.label-help {
    font-size: 16px;
	font-weight: normal;
	margin-right: 0px; 
	vertical-align: top;
    text-align:left;
}

.comment {
    background-color:#F3F3F3;
    border:1px solid #AAAAAA;
/*    width:500px;*/
    margin-right:0px;
    margin-left:0px;
    padding:10px;
}

.comment-small {
    font-size:12px;
    color:#999999;
}

.comment p {
    font-size:12px;
}

/* CSS start for AJAX autocomplete feature*/
div.auto_complete {
  width: 350px;
  background: #fff;
}

div.auto_complete ul {
  border:1px solid #888;
  margin:0;
  padding:0;
  width:100%;
  list-style-type:none;
}

div.auto_complete ul li {
  margin:0;
  padding:3px;
}

div.auto_complete ul li.selected { 
  background-color: #ffb; 
}

div.auto_complete ul strong.highlight { 
  color: #800; 
  margin:0;
  padding:0;
}
/* CSS end for AJAX autocomplete feature*/

.show-left {
  margin: 0px;
}

.text-center {
  text-align:center;
}
.color-gray {
  color:#666666;
}  

.related-videos {
  overflow:auto;
/*  height:280px;*/
/*  border:1px solid #CCCCCC;*/
  padding:5px;
  margin: 0px;
}

.vote-reminder {
  font-weight:bold;
  font-size:1.1em;
  color:gray;
}

/*remove the additional line inserted by IE for form element */
.form-ie-fix {display:inline;} 

.share {
  display:inline;
  font-size:1.0em;
/*  padding: 0 5px;*/
  top: 0px;
  left: 0px;
}

.share-error {
  border:1px solid red;
}

.keyword-div {
  width:500px;
  text-align:justify;
  margin:0px;
}