/**
 * Writing Pro CSS
 * 2010
 */

/* general settings */
* { /* Reset the margins for cross-browser compatibility. */
    margin: 0px;
    padding: 0px;
}

html
{
	min-height:100%;
	margin-bottom:1px;
}

body
{
	color:#000000;
    background-color: #ffffff;
    font-family:Verdana, Tahoma, Microsoft sans serif;
}

div#container
{
	width: 1000px;
	clear: both;
	background-image: url(../images/background.png);
	background-repeat: repeat-y;
}

a
{
	color:#000000;
	text-decoration:none;
	cursor: pointer;
}

p
{
	padding-bottom: 1em;
}

.clear
{
	clear: both;
}

div#dynamic-content
{
	clear: both;
}

/* header */
div#header
{
	margin: 5 auto auto auto;
	padding:1em 0 30px 0;
	background-image: url(../images/WritingPro_banner.gif);
	background-repeat: no-repeat;
	background-color: #ffffff;
	text-align: right;
	border-style: none;
}

div#header_content
{
	height: 30px; 
	color: #e5e5e5;
	font-size: 65%;
	text-align: right;
	padding-right: 10px;
}

div#header_content a
{
	color: #b2b2b2;
	text-decoration: none;
}

div#header_content a:hover
{
	text-decoration: underline;
}

div#header_login
{
	color: #e5e5e5;
	padding-top: 3em;
}

/* top bar */
div#top_bar
{
	background-color:#e5e5e5;
	height: 39px;
}

div#top_grey_bar
{
	height: 15px;
	border-top: 1px solid #ffffff;
	border-bottom: 1px solid #ffffff; 
}

div#top_nav_bar
{
	font-weight: bold;
	text-align: center;
	font-size: 70%;
}

div#top_nav_bar ul
{
	list-style-type: none;	
	list-style-image: none;
}

div#top_nav_bar li a
{
	display: block;
}

div#top_nav_bar li
{
	float: left;
	width: 200px;
	height: 19px;
	padding-top: 3px;
	padding-bottom: 2px;
}

div#top_nav_bar li#selected
{
	border-top: 3px solid #BF0222;
	border-bottom: 1px solid #ffffff;
}

div#top_nav_bar li.nav_rect_light
{
	border-top: 3px solid #e5e5e5;
	background-color:#e5e5e5;
	border-bottom: 1px solid #ffffff;
}

div#top_nav_bar li.nav_rect_mid
{
	border-top: 3px solid #cccccc;
	background-color:#cccccc;
	border-bottom: 1px solid #ffffff;
}

div#top_nav_bar li.nav_rect_dark
{
	border-top: 3px solid #b2b2b2;
	background-color:#b2b2b2;
	border-bottom: 1px solid #ffffff;
}

/* main pane */
div#main_pane
{
	text-align: left;
	font-size: 70%;
	vertical-align: top;
}

/* left pane */
div#left_pane
{
	float: left;
	width: 20%;
	background-color:#e5e5e5;
	border-bottom: 1px solid #ffffff;
}

div.nav
{
	/*border: 1px solid #000000;*/
	height: 350px;
}

div#left_pane div.nav
{
	padding-top: 2em;
	padding-left: 2em;
}

div#left_pane div.nav ul, div#right_pane div.nav ul
{
	list-style-type: none;
}

div#left_pane div.nav li, div#right_pane div.nav li
{
	padding-left: 20px;
}

div#left_pane div.nav li#selected, div#right_pane div.nav li#selected
{
	background-image: url(../images/bullet.gif);
	background-repeat: no-repeat;
	background-position: 0px 1px;
	padding-left: 20px;
	font-weight: bold;
}

div.large_icon
{
	height: 150px;
	/*border-top: 1px solid #ffffff;*/
}

/* content */
div#content
{	padding-left: 25px;
	padding-right: 25px;
	padding-top: 20px;
	background-color: #ffffff;
	float: left;
	max-width: 550px;
}

div#content h1
{
	color: #bf0222;
	font-size: 120%;
	font-weight: bold;
	margin-bottom: 1em;
	clear: both;
}

div#content h2
{
	color: #bf0222;
	font-size: 100%;
	font-weight: bold;
	margin-bottom: 0.5em;
	clear: both;
}

div#content ul
{
	list-style-type: none;
	margin-left: 20px;
}

div#content ol
{
	margin-left: 20px;
}

div#content ul li
{
	list-style-position: inside;
	background-image: url(../images/bullet_li.gif);
	background-repeat: no-repeat;
	background-position: 0px 1px;
	padding-left: 20px;
}

div#content ul.subtitle
{
	list-style-type: none;
	margin-left: 0px;
	margin-top: 0px;
}

div#content ul.subtitle li
{
	background-image: url(../images/triple_square.png);
	list-style-position: inside;
	background-repeat: no-repeat;
	background-position: -3px 1.5em;
	padding-left: 30px;
	padding-bottom: 1em;
	padding-top: 1.5em;
	margin-bottom: 0px;
}

div#content .mark
{
	font-weight: bold;
}

div#content .input_error
{
	color: #ff0000;
	clear: both;
}

div#content a
{
	color:#bf0222;
	text-decoration:none;
}

div#content form .row
{
	margin-bottom: 1em;
}

div#content form .subform
{
	border-style: solid;
	border-width: 1px;
	border-color: #bf0222;/*#B2B2B2;*/
	margin-left: 2em;
	margin-top: 1em;
	margin-bottom: 1em;
	padding: 1em;
}

div#content form .add_subform
{
	color: #ffffff;
	margin-top: 2em;
	margin-left: 2em;
}

div#content form .remove_subform
{
	color: #ffffff;
	margin-top: -10px;
	margin-right: -10px;
	margin-bottom: 0px;
	float: right;
}

div#content form div#project
{
	margin-top: 1em;
}

div#content form div#references, div#content form #data, div#content form div#additional_information, div#content form div#upload
{
	display: none;
	margin-top: 1em;
}

div#content div#progress_bar
{
	clear: both;
}

div#content div#progress_bar a
{
	color: #cccccc;
}

div#content div#progress_bar .block
{
	float: left;
	border-left: 1px solid #ffffff;
	background: #e5e5e5;
	padding: 1em;
	margin-bottom: 1em;
}

div#content div#progress_bar .selected_block
{
	float: left;
	border-left: 1px solid #ffffff;
	background: #bf0222;
	padding: 1em;
	margin-bottom: 1em;
}

div#content div#progress_bar a .selected_block
{
	color: #ffffff;
}

div#content ul
{
	margin-top: 0.5em;
}

div#content li
{
	margin-bottom: 0.5em;
}

.button {
	margin: 0px;
	padding: 0 10px 0 10px;
	background-color: #bf0222;
	font: 12px "Trebuchet MS", Verdana, Arial, sans-serif;
	font-weight: bold;
	color: #FFFFFF;
	border: 1px solid #000000;
}

.textInput
{
	width: 100%;
}

div#content a.button
{
	color:#ffffff;
	text-decoration:none;
	padding-top: 1px;
	padding-bottom: 1px;
	padding-left: 1em;
	padding-right: 1em;
}

div#content div.table_head_row
{
	padding-left: 120px;
	border-top: 1px solid #000000;
	border-left: 1px solid #b2b2b2;
	border-right: 1px solid #b2b2b2;
	border-bottom: 1px solid #000000;
	height: 4em;
}

div#content div.table_head
{
	text-align: center;
	border-left: 1px solid #b2b2b2;
	width: 60px;
	float: left;
	height: 4em;
}

div#content div.table_row
{
	clear: both;
	height: 2em;
	border-bottom: 1px solid #b2b2b2;
	border-right: 1px solid #b2b2b2;
}

div#content div.row_head
{
	color:#bf0222;
	text-align: left;
	border-left: 1px solid #b2b2b2;
	width: 117px;
	float: left;
	height: 2em;
	padding-left: 3px;
/*	padding-top: 0.5em;
	padding-bottom: 0.5em;*/
}


div#content div.row_sub_head
{
	text-align: left;
	border-left: 1px solid #b2b2b2;
	width: 110px;
	float: left;
	height: 2em;
	padding-left: 10px;
}

div#content div.cell
{
	text-align: center;
	border-left: 1px solid #b2b2b2;
	width: 60px;
	float: left;
	height: 2em;
	vertical-align: middle;
}

.wordwrap { 
   white-space: pre-wrap;      /* CSS3 */   
   white-space: -moz-pre-wrap; /* Firefox */    
   white-space: -pre-wrap;     /* Opera <7 */   
   white-space: -o-pre-wrap;   /* Opera 7 */    
   word-wrap: break-word;      /* IE */
}

/* right pane */
div#right_pane
{
	width: 20%;
	float: right;
	background-color:#e5e5e5;
	border-bottom: 1px solid #ffffff;
}

div#right_pane div.nav
{
	padding-top: 2em;
	padding-left: 2em;
}

div#right_pane div.facebook 
{
	width: 80%;
	margin-left: auto;
	margin-right: auto;
	padding-top: 2em;
	padding-bottom: 2em;
	background-color: #e5e5e5;	
}

/* footer */
div#footer
{
	width: 100%;
	height: 15px;
	background-color:#e5e5e5;
	clear: both;
	border-top: 1px solid #ffffff;
	margin-bottom: 1em;
}

table#body
{
	color:#000000;
	background-color:#ffffff;
	font-size:70%;
	width:1000px;
	line-height:15px;
	border-style:none;
	border-collapse: collapse;
}

td#upper_right_bar
{
	height:30px; 
	color:#e5e5e5;
	font-size:85%;
	text-align:right;
	padding-right:10px;
}

td#upper_grey_bar
{
	 border-top:1px solid #ffffff;
	 border-bottom:1px solid #ffffff; 
	 background-color:#e5e5e5;
}

td.menuactive
{
	text-align:center;
	width: 200px; 
	font-weight: bold;
	border-top:3px solid #bf0222;
}

td.menu
{
	text-align:center;
	width: 200px; 
	font-weight:bold;
}

td.menu_cccccc
{
	text-align:center;
	width: 200px; 
	font-weight:bold;
	border-top:3px solid #cccccc;
	background-color: #cccccc;
}

td.menu_e5e5e5
{
	text-align:center;
	width: 200px; 
	font-weight:bold;
	border-top:3px solid #e5e5e5;
	background-color: #e5e5e5;
}

td.menu_b2b2b2
{
	text-align:center;
	width: 200px; 
	font-weight:bold;
	border-top:3px solid #b2b2b2;
	background-color: #b2b2b2;
}

div.linkmenu
{
	 height:20px; 
	 width:200px;
}

td.menu a
{
	color:#000000;
	text-decoration:none;	
}

td#tree, td#treeright
{
	vertical-align:top;
	border-top:1px solid #ffffff;
	background-color:#e5e5e5;
}

td#tree table
{
	margin-top:19px;
	margin-left:15px;
}

td#treeright table
{
	margin-top:19px;
	margin-left:25px;
}

td#tree table tr td, td#treeright table tr td
{
	font-size: 70%;
	vertical-align: top;
	background-color: #e5e5e5;
}

td#treeright table tr td.indent
{
	padding-left:10px;
}

td#tree table tr td.selected, td#treeright table tr td.selected
{
	font-weight:bold;
}

td#content
{
	padding-left:25px;
	padding-right:25px;
	padding-top:20px;
	vertical-align:top;
	width:600px;
}

ul.old
{
	margin-top:-10px;
	list-style-image:url(../images/bullet_li.gif);
}

/*jquery ui*/
/*
#dialog_link
{
	padding: .4em 1em .4em 20px;
	text-decoration: none;
	position: relative;
}

#dialog_link span.ui-icon
{
	margin: 0 5px 0 0;
	position: absolute;
	left: .2em;
	top: 50%;
	margin-top: -8px;
}

ul#icons
{
	margin: 0; 
	padding: 0;
}

ul#icons li 
{
	margin: 2px; 
	position: relative; 
	padding: 4px 0; 
	cursor: pointer; 
	float: left;  
	list-style: none;
}

ul#icons span.ui-icon
{
	float: left; 
	margin: 0 4px;
}
 */
