/**************************************
*
*  CRADLE Stylesheet
*   
***************************************/

body {
	font: small sans-serif;
	margin: 0px;
	padding: 0px;
}

h1, h2, h3, h4 {
	font-family: arial, sans-serif;
}

h1 {
	margin-top: 0;
}

h2 {
	font-size: 1.2em;
}

h5 {
	margin: 5px;
	padding: 5px;
	border-top: 10px solid #CCCCCC;
	border-left: 1px solid #CCCCCC;
	border-right: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
	background: #EEEEEE; 	
}

a {
	color: #637963;
}

a:visited {
	color: #819881;
}

a:hover {
	color: #819881;
}

#loading {
	font-size: x-large;
}

.instructions {
	font-size: medium;
	line-height: 1.3;
}

.tab {
	margin: 0px;
	padding-left: 1em;
	padding-right: 1em;
	background: #2E3092;
	color: #FFFFFF;
	font-size: x-small;
}

table {
}

.row0 {
	margin: 0px;
	font-size: x-small;
	background: #FFFFFF;
}

.row1 {
	margin: 0px;
	font-size: x-small;
	background: #E4E6EA;
}

.row2 {
    margin: 0px;
    font-size: x-small;
    background: #F7FCC2;
}


/**************************************
*
*  Big Search Box
*   
***************************************/

#bigSearch input.textBox {
	width: 350px;
}

/**************************************
*
*  Search Results
*
**************************************/

#search-results a {
	text-decoration: none;
}

/**************************************
*
*  Layout
*
**************************************/

#content {
	margin: 20px 20px 0;
	padding: 0;
}

#debug {
	margin: 0 20px;
}

/*** this is broken in IE right now ***/

#show-doc {
	float: left;
	width: 80%;
}

#show-doc iframe {
	width: 100%;
	height: 100%;
	border: 1px solid #000;
}

#search-results {
	float: right;
	width: 18%;
}

html>body #show-doc iframe {
	width: auto;
	height: auto;
	float: none;
	position: absolute;
	top: 46px;
	right: 190px;
	left: 20px;
	bottom: 20px;
	border: 1px solid;
	margin: 0;
}

html>body #search-results {
	width: auto;
	float: none;
	position: absolute;
	top: 46px;
	right: 20px;
	width: 150px;
}

#loading {
	margin: 100px;
}

.right {
	text-align: right;
}

/**************************************
*
*  Tables
*
**************************************/

table {
	border: 1px solid;
	border-bottom: 0;
	border-spacing: 0;
	margin-bottom: 1em;
}

td,th {
	border-bottom: 1px solid;
	padding: 5px 10px;
}

th {
	background: #eee;
}

/**************************************
*
*  User Bar
*
**************************************/

#info {
	padding: 5px 20px;
	background: #eee;
	border-bottom: 1px solid #aaa;
	text-transform: lowercase;
}

#info a {
	text-decoration: none;
	color: #00f;
}


/**************************************
*
*  Admin Bar
*
**************************************/

#tools {
	padding: 5px 20px;
	background: #ffa;
	border-bottom: 1px solid #dd0;
	text-transform: lowercase;
}

#tools a {
	text-decoration: none;
	color: #00f;
}

/**************************************
*
*  Eye Candy
*
**************************************/

.help {
	max-width: 700px;
	padding: 5px 10px;
	font-weight: bold;
}

.doc-title {
	font-weight: bold;
}

.notice {
	background: #faf;
	padding: 5px 10px;
	max-width: 700px;
}

.debug {
	background: #aff;
	padding: 5px 10px;
	max-width: 700px;
}

.instructions {
	max-width: 720px;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ccc;
	padding: 10px 0;
}

/**************************************
*
*  Errors
*
**************************************/

.error {
	background: #ffc;
	padding: 5px 10px; 
	list-style: none;
	max-width: 700px;
}

.error li+li {
	border-top: 1px solid #fe0;
	padding-top: 5px;
	margin-top: 5px;
}

/**************************************
*
*  Debug
*
**************************************/

.debug {
	background: #aff;
	padding: 5px 10px; 
	list-style: none;
	max-width: 700px;
}

.debug li+li {
	border-top: 1px solid #00f;
	padding-top: 5px;
	margin-top: 5px;
}

/**************************************
*
*  User Actions
*
**************************************/

#user-actions {
	margin: 1em 0 0 0;
	padding: 0;
}

#user-actions li {
	list-style-type: none;
	margin-bottom: 5px;
}

#user-actions input {
	width: 100px;
	text-align: left;
}

/**************************************
*
*  Rating the Results
*
**************************************/

#rate-results {
border-spacing: 0;
width: 720px;
margin: 0;
padding: 0;
}

#rate-results th {
border-bottom: 1px solid;
border-top: 1px solid;
padding: 8px;
background: #eee;
}

#rate-results th.rank-down {
border-right: 1px solid;
}

#rate-results th.rank-title {
border-left: 1px solid;
}

#rate-results td {
border-bottom: 1px solid;
padding: 8px;
}

#rate-results td.rank-down {
border-right: 1px solid;
text-align: center;
}

#rate-results td.rank-title {
border-left: 1px solid;
}

#rate-results td.rank-up {
text-align: center;
}

#rate-results td.rank-num,
#rate-results td.rank-rating {
text-align: center;
}

#rate-results th.rank-title {
text-align: left;
}

#rate-results td.rank-num {
background: #ffa;
}

#rank-commands {
	text-align: right;
	width: 720px;
	margin-top: 1em;
}
