html {
	min-width: 600px;
	background: #FFF;
	padding: 0;
	margin: 0;
	/* aligns everything to center */
	text-align: center;
}

body, div, td, th, h2, h3, h4 { /* redundant rules for bad browsers  */  
    font-family: verdana,sans-serif,Traditional Arabic;
	font-size:    x-small;
	margin: 0px;
	padding: 0px;
	voice-family: "\"}\"";
	voice-family: inherit;
	font-size: 8pt;
	color: #333;
}  

a { color: #06C; }
a:hover { color: #333; }
a:active { color: #000; }

p { line-height: 140%; }

h1#print { font-size: 14pt;
}

h1.right-to-left {
					font-family: trebuchet ms,arial,verdana,sans-serif,Traditional Arabic;
					text-align: center;
					font-weight: bold;
					font-size: 22px;
					color: #333;
					padding-bottom: 2px;
					border-bottom: 1px dotted #CCC;
					margin: 0;
}
h1.left-to-right {
					font-family: trebuchet ms,arial,verdana,sans-serif,Traditional Arabic;
					text-align: center;
					font-weight: bold;
					font-size: 140%;
					color: #333;
					padding-bottom: 2px;
					border-bottom: 1px dotted #CCC;
					margin: 0;
}

.note {
	background: #EEE;
	padding: 4px;
}

p#password_field {	margin-left: 90px;
					font-size: 9pt;
					font-weight: bold;
}
input#password {	margin-left: 10px;
					margin-right: 10px;
}
span#wrong_password {	color: #990000;
						margin-left: 10px;
}

/* adercley - this div centralizes things on screen */
div#page_div {	text-align: center;
				/* max length of everything */
				width: 695px;
				margin-left: 13%;
				margin-right: 10%;
}

p, li, blockquote {
	font-size:12px;
}
li#sub_barra {
	font-size:13px;
}
.medium {
	font-size:11px;
}
.grey {
	color:#666;
}
tr#nav {
	background:#006;
}
tr#nav td, tr#content td {
	padding:5px;
	border-top:1px dotted #fff;
}
tr#content {
	background:#eee;
}
tr#nav ul {
	margin:0;
}
tr#nav ul li {
	display:inline;
}
tr#nav ul li a {
	color:#fff;
	font-weight:bold;
	margin:0 1.5em 0 1.5em;
}
tr#nav ul li a:hover {
	text-decoration:none;
	color:#ed8121;
}
a {
	color:#006;
}
a:hover {
	text-decoration:none;
}
h1, h2, h3, h4, h5, h6 {
	color:#006;
}
h4 {
	color:#8a5322;
	font-size: 16px;
	font-weight:bold;
	text-align: center;
}
.h4_span {
	font-size:16px;
	color:#8a5322;
	font-weight:bold;
}
ol {
	margin:0;
	padding:0;
}
ol li {
	margin:10px 0 10px 0;
}
#main {
	text-align: left;
	border: 1px solid #666;
	background: #FFFDF3;
	clear: both;
	margin-top: -1px;
}

#bodyarea {
	padding-top: 20px;
	padding-right: 20px;
	padding-left: 20px;
	padding-bottom: 20px;
	min-height: 300px;
	text-align: left;
}

#topbar {
	padding-bottom: 0.5em;
	font-family: trebuchet ms,verdana,sans-serif, Traditional Arabic;
	font-weight: bold;
	text-align: left;
	font-size: 200%;
}

#topbar a { text-decoration: none; color: #000; }

#topbar a:hover { text-decoration: underline; }

/*///////////// Tabs Code ////////////*/

#tabs {
	font-family: tahoma,verdana,sans-serif,Traditional Arabic;
	font-size: 85%;
	clear: both;
	text-align: center;
}

#tabs ul {
	display: inline;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#tabs li { float: left; }

#tabs a,span { width: 90px; }

#tabs a#selected {
	position: relative;
	top: 0;
	margin: 0 2px 0 0;
	float: left;
	background: #FFF3B3;
	border-right: 1px solid #666;
	border-top: 1px solid #666;
	border-left: 1px solid #666;
	padding: 6px 4px 6px 10px;
	text-decoration: none;
	color: #333;
}

#tabs a {
	position: relative;
	top: 0;
	margin: 1px 2px 0 0;
	float: left;
	background: #FFFAE1;
	border-right: 1px solid #AAA;
	border-top: 1px solid #AAA;
	border-left: 1px solid #AAA;
	padding: 5px 4px 5px 10px;
	text-decoration: none;
	color: #333;
}

#tabs a:hover {
	background: #FFF7CD;
	position: relative;
	top: 0;
	padding: 5px 4px 6px 10px;
	margin-top: 0px;
}

#tabs a.active {
	position: relative;
	top: 0;
	margin: 0 2px 0 0;
	float: left;
	background: #FFF3B3;
	border-right: 1px solid #666;
	border-top: 1px solid #666;
	border-left: 1px solid #666;
	padding: 6px 4px 6px 10px;
	text-decoration: none;
	color: #333;
}

#tabs a.active:hover {
	position: relative;
	top: 0;
	margin: 0 2px 0 0;
	float: left;
	background: #FFF3B3;
	border-right: 1px solid #666;
	border-top: 1px solid #666;
	border-left: 1px solid #666;
	padding: 6px 4px 6px 10px;
	text-decoration: none;
	color: #333;
}

#subtabs ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#subtabs li {
	float: left;
	text-align: center;
	padding: 0 8px 0 8px;
	border-left: 1px solid #CCC;
	white-space: nowrap;
}

#subtabs li:first-child { border-left: none; }

#subtabs {
	/* adercley - makes it fills the whole bar */
	width: 100%;
	margin: 0;
	font-family: tahoma,verdana,sans-serif,Traditional Arabic;
	font-size: 85%;
	background: #CCF;
	color: #666;
	padding: 5px 7px 7px 7px; /* for All other Browsers */
}

	img.botao_ferramenta {	/* Margem */
							margin-left: 10px;
							margin-top: 10px;
							/* Formato do Mouse */
							cursor: pointer;
							/* Remove a borda que destroi a aparencia dos botoes */
							border: 0;
	}
	/* Os Botoes da Barra de Ferramentas ficam dentro de links. Aqui removo toda formatacao do link */
	a.link_botao_ferramenta:link {	text-decoration: none;
													border: 0;
	}
	a.link_botao_ferramenta:visited {	text-decoration: none;
														border: 0;
	}
	a.link_botao_ferramenta:hover {	text-decoration: none;
														border: 0;
	}
	a.link_botao_ferramenta:active {	text-decoration: none;
														border: 0;
	}

/********************************************************
********************   body_form  ************************
*********************************************************/
	div#body_form {	width			: 480px;
					font-size		: 6pt;
					padding			: 1px;
					background-color: #FFF;
					word-wrap		: break-word;
}

	div#body_form select#EssayTitleUS {	visibility: hidden;
										display: none;
	}	
	div#body_form select#EssayTitleME {	visibility: hidden;
										display: none;
	}

	div#body_form p#error_messages {text-align: left;
									margin-left: 5px;
									font-size: 10pt;
									margin-bottom: -15px;
									font-weight: bold;
									color: #990000;
	}

	span.error_message {	text-align: left;
							font-size: 7pt;
							font-weight: bold;
							color: #990000;
							width: 80%;
	}

	div#body_form p#agreement_terms_right-to-left {	text-align: right;
													width: 90%;
													font-style: italic;
													padding-top: 15px;
													margin: 0px;
	}
	div#body_form p#agreement_terms_left-to-right {	text-align: left;
													width: 90%;
													font-style: italic;
													font-size: 9pt;
													padding-top: 15px;
													margin: 0px;
	}

	div#body_form form {	margin-top: 3px;
							padding-top: 2px;
							margin-left: 5px;
	}

	div#body_form label.required_field {	font-weight: bold;
											padding-right: 10px;
	}

	div#body_form span.essay_division {	font-weight: bold;
										width: 100%;
	}

	div#body_form legend {	font-weight: bold;
							color: #000009;
							margin: 0px;
							padding: 0px;
							border: #000000;
	}

	div#body_form fieldset {	width: 97%;
								margin-bottom: 30px;
								padding-left: 10px;
								padding-bottom: 20px;
								padding-right: 0px;
								padding-top: 10px;
								border: 1px solid #000099;
								color: #000000;
	}

	div#body_form span.half_page {	width: 300px;
	}

	div#body_form span.comment {	font-style: italic;
									width: 70%;

	}

	div#body_form input.right-to-left {	
										color: #000000;
										border-style: solid;
										border-width: 1px;
										/* Left padding for input's contents */
										padding-left: 2px;
										margin-right: 10px;
										direction: rtl;
										border-color: #666666;
										/* Background */
										background-color: #FFF;
	}
	div#body_form input.left-to-right {	
										color: #000000;
										border-style: solid;
										border-width: 1px;
										/* Left padding for input's contents */
										padding-left: 2px;
										margin-right: 10px;
										direction: ltr;
										border-color: #666666;
										/* Background */
										background-color: #FFF;
	}

	div#body_form select.right-to-left {	
										color: #000000;
										margin-right: 10px;
										border-color: #666666;
										direction: rtl;
										/* Background */
										background-color: #FFF;
	}
	div#body_form select.left-to-right {	
										color: #000000;
										margin-right: 10px;
										font-size: 11px;
										border-color: #666666;
										direction: ltr;
										/* Background */
										background-color: #FFF;
	}

	div#body_form textarea.right-to-left {
											color: #000000;
											border-style: solid;
											border-width: 1px;
											padding-left: 5px;
											margin-right: 10px;
											direction: rtl;
											border-color: #666666;
											/* Background */
											background-color: #FFF;
	}
	div#body_form textarea.left-to-right {
											color: #000000;
											border-style: solid;
											border-width: 1px;
											padding-left: 5px;
											margin-right: 10px;
											direction: ltr;
											border-color: #666666;
											/* Background */
											background-color: #FFF;
	}

	/* table for search results */
	.column_title {	/* Fonte e Alinhamento do texto */
					font-weight: bold;
					font-size: 8pt;
					text-align: center;
	}
	/* coluna padrao, alinhada ao centro */
	.column_contents {	/* Fonte e Alinhamento do texto */
						font-weight: normal;
						font-size: 8pt;
						text-align: center;
						height: 20px;
						padding-bottom: 2px;
	}
	#changes_ok {	font-size: 12pt;
					color: #990000;
	}

	tr.subtotal {	font-weight		: bold;
					font-size		: 8pt;
					text-align		: left;
					height			: 18px;
					padding-bottom	: 2px;
					background-color: #CACACA;
	}
	tr.total {	font-weight		: bold;
				font-size		: 8pt;
				text-align		: left;
				height			: 18px;
				padding-bottom	: 2px;
				background-color: #A3A3A3;
	}
	
/* Print Friendly Code */
	table#print_friendly {	background-color: #FFF;
							width: 690px;
							height: 350px;
							word-wrap: break-word;
							line-height: 20px;
							margin-top: 20px;
	}
	#print_div {
				text-align: left;
				width: 700px;
				border: 0px;
				background-color: #FFFFFF;
				margin: 0px;
	}
	span.title {	font-weight: bold;
	}
	pre#essay_pre {	display: block;
					width: 100px;
					background-color: #000;
	}
/* Navigation bar */
	div#navigation_bar {	width				: 100%;
							_width				: 101%;
							height				: 20px;
							background-color	: #333;
							color				: #FFF;
							text-align			: center;
							margin				: 0;
							padding-top			: 3px;
	}
	div#navigation_bar a:link,
	div#navigation_bar a:visited {	text-decoration	: none;
									color			: #FFF;
									font-weight		: bold;
	}
	div#navigation_bar a:hover {	text-decoration	: underline;
									font-weight		: bold;
	}
	div#navigation_bar a:active {	text-decoration	: none;
									color			: #FFF;
									font-weight		: bold;
	}

/* Tool bar */
	div#toolbar {	text-align		: right;
					margin			: 0;
					margin-top		: 10px;
					padding			: 0;
					padding-right	: 10px;
					margin-bottom	: 10px;
	}

	img {	border	: 0;
			cursor	: hand;
	}

	div#toolbar a:link,
	div#toolbar a:visited {	text-decoration	: none;
							color			: #FFF;
							font-weight		: bold;
							border			: none;
							cursor			: hand;
	}
	div#toolbar a:hover {	text-decoration	: underline;
							font-weight		: bold;
							cursor			: hand;
	}
	div#toolbar a:active {	text-decoration	: none;
							color			: #FFF;
							font-weight		: bold;
							cursor			: hand;
	}

	/* Elementos de Formulario */
	form#newsletter_form {	margin			: 15px;
							font-size		: 8pt;
							padding			: 0;
							margin-bottom	: 25px;
	}
	form#newsletter_form fieldset {	border			: 1px solid #999;
									color			: #000;
									width			: 620px;
									padding			: 20px;
	}
	form#newsletter_form legend {	font-weight	: normal;
									color		: #000;
									margin		: 0px;
									padding		: 0px;
									border		: #000;
	}
	form#newsletter_form input {	color				: #000;
									border-style		: solid;
									border-width		: 1px;
									padding-left		: 2px;
									margin-right		: 10px;
									border-color		: #999;
									background-color	: #F2F2F2;
	}
	form#newsletter_form input.img_button {	font-size			: 8pt;
											color				: #000;
											border				: 0;
											padding-left		: 2px;
											margin-right		: 10px;
											background-color	: #FFF;
	}
	form#newsletter_form label { 	font-size	: 8pt;
									font-weight	: bold;
	}
	form#newsletter_form td.center {	text-align	: center;
	}

	h3#newsletter_title {	text-align			: center;
							background-color	: #D7D7FF;
							height				: 20px;
							border				: 1px solid #999;
							padding-top			: 5px;
							font-size			: 9pt;
	}
	p#img_button {	text-align			: right;
	}
	input.botao {	margin		: 0;
					margin-left	: 25px;
	}

	td#conteudo {	word-wrap: break-word;
	}

	/* Simple links */
	a.simple:link,
	a.simple:visited {	text-decoration: none;
						border: 0;
	}
	a.simple:hover {	text-decoration: underline;
						border: 0;
	}
	a.link_botao_ferramenta:active {	text-decoration: none;
										border: 0;
	}

	span.database {	font-size	: 7pt;
					color		: #093;
					height		: 15px;
					padding-top	: 3px;
					width		: 100%;
					display		: block;
					text-align	: center;
	}
	
	/*************************************************
	*********** Survey Search section ****************
	**************************************************/
	table.matrix_table {	border		: 1px ridge #333;
	}
	table.matrix_table tr { height		: 20px;
	}
	/*
	table.matrix_table td {	border-left	: 1px ridge #333;
							border-top	: 1px ridge #333;
	}
	*/
	td.matrix_title {	background-color: #C1BCB3;
						text-align		: center;
						font-weight		: bold;
						border-top		: 1px ridge #333;
						border-left		: 1px ridge #333;
	}
	td.matrix_column {	background-color: #C1BCB3;
						text-align		: center;
						font-weight		: bold;
						border-top		: 1px ridge #333;
						border-left		: 1px ridge #333;
	}
	td.matrix_subcolumn_title {	background-color: #D5D0CA;
								text-align		: center;
								width			: 10px;
								font-weight		: bold;
								border-top		: 1px ridge #333;
								border-left		: 1px ridge #333;
	}
	td.matrix_subcolumn_evens {	background-color: #E6E3DF;
								text-align		: center;
								width			: 10px;
								font-weight		: bold;
								border-top		: 1px ridge #333;
								border-left		: 1px solid #B7B7B7;
	}
	td.matrix_subcolumn_evens_corner {	background-color: #E6E3DF;
										text-align		: center;
										width			: 10px;
										font-weight		: bold;
										border-top		: 1px ridge #333;
										border-left		: 1px ridge #333;
	}
	td.matrix_subcolumn_odd {	background-color: #FFF;
								text-align		: center;
								width			: 10px;
								font-weight		: bold;
								border-top		: 1px ridge #333;
								border-left		: 1px solid #B7B7B7;
	}
	td.matrix_subcolumn_odd_corner {	background-color: #FFF;
										text-align		: center;
										width			: 10px;
										font-weight		: bold;
										border-top		: 1px ridge #333;
										border-left		: 1px ridge #333;
	}
	td.matrix_result {	background-color: #FFF;
						text-align		: left;
						padding-left	: 2px;
						border-top		: 1px ridge #333;
						border-left		: 1px ridge #333;
	}
	table.matrix_table a,
	table.matrix_table a:link,
	table.matrix_table a:visited {	text-decoration: none;
	}
	table.matrix_table a:hover {	text-decoration: underline;
	}

	table.result_table {	margin-top		: 10px;
							background-color: #E6E3DF;
							height			: 20px;
							border			: 1px ridge #333;
							font-weight		: bold;
	}
	
	/*************************************************
	***** Essay Search merged with Survey Search *****
	**************************************************/

	table#survey_table {visibility	: hidden;
						display		: none;
	}

	/* Essay navigation bar */
	ul.navigation_bar {	display	: inline;
						list-style-type: none;
						margin: 0;
						padding: 0;
	}
	.navigation_bar li { float: left;
						 margin-left: 15px; }
