/* CSS Document */

/*
# Dark grey (text): #191919
# MW Head Orange (text): #32373d
# MLC Head Yellow (text): #cc9900
# Blue (links) #0053D0
# */

h1 {margin-bottom:18px;}

#middle .wrapper {
background:url(/matlabcentral/images/mlc-contest-banner.jpg) no-repeat left top #ffffff;
}



.inputfile {position:relative; z-index: 1; background: transparent url(/matlabcentral/images/button_select.gif) no-repeat right top; width:310px; height:30px; display:block; overflow:hidden;}
.filefield {position:relative; top:-30px;z-index: 1;  width:320px; display:block;}
.filefield input.text {width:245px; margin-right:0;}
.fileUpload {
	-moz-opacity:0 ;
	filter:alpha(opacity: 0);
	-khtml-opacity: 0;
	margin:0;
	}
		
table.fileview h3 {font-family:Arial, Helvetica, sans-serif;}
table.fileview {border:1px solid #d6d4d4; color:#191919; background-color:#fff; margin-bottom:8px; margin-top:8px; width:100%; padding:0px;}

table.fileview table.section {border:none; margin:0; padding:0 10px; }
table.fileview table.section p.info {margin:0!important; padding:0!important;}

table.fileview div.textframe {
	border: solid 2px #EDEEEF; padding:4px; height:150px; width:460px; overflow-y:auto; overflow-x:hidden;
}
table.section th {
background:#EDEEEF url(../images/tabletools_bgd.gif) repeat-x scroll center bottom;
border-bottom:1px solid #FFFFFF;
font-weight:bold;
padding:3px 6px 4px;
}

td.label {border-right:none;}
table.fileview td { padding:3px 6px 3px 6px;}
table.fileview td.label {font-weight:bold; text-align:right; width:100px; padding-right:6px;}
table.fileview td.label .heading {padding-top:10px;}
table.fileview table.section td {padding:3px 12px 0 3px;}

table.fileview tr.bottom td {border-bottom:none; }

table.fileview td.label p.info {font-weight:normal; margin:0;}
table.fileview td.userratings {width:25%; padding-left:6px; }
table.fileview td.userratings a.username, table.fileview td.userratings span.date {display:block;}

table.fileview tr.title {height:2em; color:#191919; }
table.fileview td.title {width:55%; padding:14px 14px 0 14px;  }
table.fileview td.title p {margin:0;}
table.fileview td.image {text-align:center; padding:14px 14px 0 14px; }
table.fileview td.rating {text-align:center; width:auto;padding:14px 14px 0 14px; }
table.fileviewtop, table.fileviewtop td {border:none; background:#fff; margin:0; }
table.fileviewtop {width:90%; margin-left:0;}
table.fileviewtop p {margin:0;}

table.fileview h1 { font-size:12pt; line-height: 14pt; margin-bottom: 6pt; margin-top: 0; margin-left:-.05em; }
table.fileview tr.addform td.top {border-top:2px solid #edeeef; padding-top:10px;}
table.fileview table.inlineform td.label {width:23%;}

table.fileview br {
	line-height:1px;
	padding:0;
	margin:0;
}

#feedback td span.comment {
display:block;
width: 400px;
overflow:hidden;
word-wrap: break-word;
white-space:normal;
}
#feedbacks_table td span.comment {
display:block;
width: 340px;
overflow:hidden;
word-wrap: break-word;
white-space:normal;
}

#editorsnote {
border:1px solid #C1C1C1;
display:block;
margin-bottom:6px;
margin-top:12px;
padding: 6px;
text-align:left;
width:250px;
}

#editorsnote h3 {
	margin:0; padding:0;
	padding-right:10px;
	font-family:Arial, Helvetica, sans-serif;
	color:#666666;
}

.maininfo #details #editorsnote p {
	font-size:95%;
	font-weight:bold;
	}

pre {
	font-size:11px;
max-width:620px;
_width:620px;
*width:620px;
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 overflow:hidden;
}

.histogram {width: 174px; height: 210px; border: 0px solid black; position: relative; float: left; margin:10px;}
.histogram h3 {position: relative; top:-16px;  width: 174px; text-align: center; font-size:14px;}
table.details table pre {
	max-width:620px;
_width:620px;
*width:620px;
	overflow:hidden;
	font-size:8pt;
	white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
}

table.contesttable pre { 
font-size:11px;
max-width:620px;
_width:620px;
*width:620px;
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 overflow:hidden;
}
table.contesttable {
 display:block;
 margin-top:20px;
}
table.contesttable td {
	border:1px solid #D6D4D4;
	padding:3px 6px;
}


#submitform table.info {
	border-top:0px!important;
}

del.differ {color:red}
ins.differ {color:green}

#latestnews {width:65%; float:left;}
#latestnews h2 {margin-top:0px;}
.container {display:block; overflow:hidden;}

/* STATUSBOX */
#infocolumn {
	display:block; width:255px; float:right;
	font-size:110%;
	margin-left: 0.3em;
}

#infocolumn h2 {
margin-top:0px;
}

#conteststatus, #recentactivity {
	display:block;
	border:1px solid #CCCCCC; 
	padding:9px;
	margin-bottom:18px;
	background-color:#ffffff;
	font-size:8pt;
	}
#conteststatus, #recentactivity div {
	display:block; 
	padding-bottom:6px;
	_height:40px;
	min-height: 40px;
}
#toolbox .bd .c .s {
	_height:52px;
	*height:52px;
	max-height:52px;
	}


#statusbox {
 margin:0px auto;
 margin-bottom:10px;
 margin-left:-2px;
 margin-right:-4px;
 position:relative;
}
#statusbox .hd .c,
#statusbox .ft .c {
 font-size:1px; /* ensure minimum height */
 height:13px;
}
#statusbox .ft .c {
 height:14px;
}
#statusbox .hd {
 background:transparent url(/matlabcentral/images/tl.gif) no-repeat 0px 0px;
}
#statusbox .hd .c {
 background:transparent url(/matlabcentral/images/tr.gif) no-repeat right 0px;
}
#statusbox .bd {
 background:transparent url(/matlabcentral/images/ml.gif) repeat-y 0px 0px;
}
#statusbox .bd .c {
 background:transparent url(/matlabcentral/images/mr.gif) repeat-y right 0px;
}
#statusbox .bd .c .s {
 margin:0px 8px 0px 4px;
 background:#f6f6f6 url(/matlabcentral/images/ms.jpg) repeat-x 0px 0px;
 padding:.5em .5em;
}
#statusbox .ft {
 background:transparent url(/matlabcentral/images/bl.gif) no-repeat 0px 0px;
}
#statusbox .ft .c {
 background:transparent url(/matlabcentral/images/br.gif) no-repeat right 0px;
}

#statusbox {font-family:Arial, Helvetica, sans-serif; }
#statusbox p, #statusbox ul, #statusbox {font-size:11px; margin-bottom: 0px; margin-top: 0px;}
#statusbox h1, #statusbox h2, #statusbox h3, #statusbox h4 {color:#363636; margin:0; padding:0; font-size:1em; margin-bottom:.5em;}
#statusbox ul.navlinks {margin:0; padding:0;}


#statusbox #tbcontent {overflow:hidden;}

/* content-specific */

#statusbox h2 {
 /* header */
 margin:0; padding:0;
color:#BF8C02;
font-size:11px;
font-weight:bold;
float:left;
padding-bottom:2px;
margin-bottom:2px;
font-family: Arial, Helvetica, sans-serif;
}

.phase-status-box {
  width: auto !important;	
  display: block;	
  overflow: hidden;
  border: 2px solid #D6D4D4 !important;
  padding: 0.5em;   
}

.winner-box {
  width: auto !important;	
  display: block;	
  overflow: hidden;
  border: 2px solid #D6D4D4 !important;
  padding: 0.5em;   
  margin-top: 3.9em; 
  margin-bottom: 0.8em !important; 
}
.phase-status-box .phase {
  display: block;
  width: 100%;
  overflow: hidden;
  float: left;
  padding: 2px 0 2px 0;
}

.phase .phase-info,
.finish .phase-info {
  display: inline-block;
  float: center;
  color: #808080;
  vertical-align: top;
  padding: 2px 1px 2px 5px;
}

.active {
  color: #000000 !important;
  padding: 1px 1px 1px 4px;
}

.phase .phase-title {
  font-weight: bold;
}

.active-queue {
  display: block;
}

.active-text {
  font-weight: bold;	
  font-size: 1.6em !important;
  display: block;
  padding: 3px 0 8px 0;
}

.active-date {
  display: block;
  font-size: 1.2em;
  padding-bottom: 4px;
}

.phase .phase-image {
  float: left;
  padding-right: 2px;
  width: 25px;
}

.phase-image .small {
  width: 25px;
}

.active-phase-image {
  display: inline-block;
}

.active-phase-image .active-icon {
  width: 50px;
  padding: 1px 0 2px 2px;
  margin: 3px;
  overflow: visible;
}


.phase-status-box .phase-separator {
  display: block;	
  border-bottom: 1.1px solid #cbcbcb;	
}

span.date_error {
  display: block;	
  width: auto;
  border:2px solid #DDDDDD;
  margin:0.3em 0 1em 0;
  padding:0.3em 0.2em 0.2em 0.2em;
  color: #D12F19; 
  border-color: #d0a6a6; 
  background:#f1e8e8;
}

div.fields {
  padding: 5px; 
  margin: 5px;
  -moz-box-shadow: 0px 1px 2px #cbcbcb;
  -webkit-box-shadow: 0px 1px 2px #cbcbcb;
  box-shadow: 0px 1px 2px #cbcbcb;
  
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border: 1px solid #D6D4D4;
  
  background: #e6e6e6 url(/matlabcentral/images/toolbox-bgd.gif) no-repeat top left; /* fallback */
  background: -moz-linear-gradient(left top 305deg, #f1f1f1, #e6e6e6 35%, #f7f7f7 100%);
  background: -webkit-gradient(linear, left top, right bottom, from(#f1f1f1), color-stop(35%, #e6e6e6), color-stop(100%, #f7f7f7)); 
}
