
/************************************************************************

    Reset all browser defaults

 ************************************************************************/
 
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,th,td
{
    margin: 0;
    padding: 0;
}

table
{
    border-collapse: collapse;
    border-spacing: 0;
}

fieldset, img 
{
    border: 0;
}

address,caption,cite,code,dfn,em,th,var
{
    font-style: normal;
    font-weight: normal;
}

ol,ul 
{
    list-style: none;
}

caption,th 
{
    text-align: left;
}

h1,h2,h3,h4,h5,h6
{
    font-size: 100%; font-weight: normal;
}

hr 
{
 border: 0px;
 border-top: solid 1px #EEE;
 border-bottom: transparent;
}

q:before,q:after
{
    content:'';
}


/* -------------------------------------------------------------
   Basic
   -------------------------------------------------------------*/



body {
    
    margin: 0;
    padding: 0;
    font-family: "Lucida Grande", Tahoma, sans-serif;
    font-style: normal;
	font-variant: normal;
	font-weight: normal;
	font-size: small;
	background: #dfdfdf url(/images/background.gif) repeat-x top left;
}

h1 {
    font-family: "Lucida Grande", Verdana, Arial, sans-serif;
    font-size: 160%;
	margin: 1em 0;
	color: #8F8256;	
}

h2 {
    font-family: "Lucida Grande", Verdana, Arial, sans-serif;
    font-size: 150%; line-height: 1.6em;
    color: #F90;
	color: #8F8256;
}

h3 {
    font-family: "Lucida Grande", Verdana, Arial, sans-serif;
    font-size: 110%;
	color: #8F8256;
}

hr {
    padding: 0; height: 1px; margin: 1em 0;
}

a {
    color: #0066CC;
}

a:hover {
    color: #006699;
}

p {
	margin: 1em 0;
}

p a {
	color: #660000;
}

/* ----------------------------------------------------------------------- 
   Form
   ----------------------------------------------------------------------- */

fieldset p {
	margin: 0; margin-top: 1em;
}

label {
    color: #666; 
}

input, select, textarea {
    font-family: "Lucida Grande", Tahoma, sans-serif;
    font-size: 100%;
}

input[type=text] {
	margin-right: 1em;
}

input.big {
	font-size: 180% !important; width: 100%;
}

fieldset {
	margin: 2em 0;
}

fieldset legend {
	display:block; color: orange; margin-bottom: 1em;
}

textarea {
	width: 100%;
}
textarea.text {
	height: 250px;
}

textarea.address {
	height: 100px; width: 250px;
}

/* ----------------------------------------------------------------------- 
   Structure
   ----------------------------------------------------------------------- */

#wrap {

    margin: 0; margin-left:auto; margin-right:auto; padding: 0;
    width: 800px; min-height: 100%;
    font-size: 11px; 
    line-height: 1.6em;
}

/* ----------------------------------------------------------------------- 
   Structure: Header
   ----------------------------------------------------------------------- */


#header {
    position: relative;
    height: 105px;
	background: #500 url(/images/header-background.gif) repeat-x top left;
	width: 100%;
}

/* ----------------------------------------------------------------------- 
   Structure: Stage
   ----------------------------------------------------------------------- */

#stage {
	width: 100%; margin: 0; padding: 0;
	background: #FFF url(/images/background-navigation.jpg) repeat-x top left;
}

#stage .gutter {
	 padding: 20px; padding-top: 0px;
}
/* ----------------------------------------------------------------------- 
   Structure: Headline
   ----------------------------------------------------------------------- */

#headline {
	position: relative; height: 80px; margin: 0; padding: 0;
	padding-bottom: 0.5em; border-bottom: 1px solid #DDD; 
}

	#headline .gutter { padding: 0; }

	#crumbs {
		position: absolute; display: block; top: 10px; left: 240px;
		font-size: 11px;
	}
	
	#mainOffices {
		display: block; top: 10px; left: 240px;
		font-size: 11px;
	}
	

	#headline h1 {
		margin: 0; padding: 0;
		position: absolute; display: block; top: 50px; left: 240px;
	}
/* ----------------------------------------------------------------------- 
   Structure: Content
   ----------------------------------------------------------------------- */

#content {
    width: 540px; float: right; background: #FFF;
}

#content .gutter {
	padding: 20px
}

#content h3 {
	margin-top: 2em; padding-bottom: 0.5em; border-bottom: 1px solid #DDD;
	font-size: 130%; 	 
}


/* ----------------------------------------------------------------------- 
   Structure: Sidebar
   ----------------------------------------------------------------------- */

#sidebar {
    width: 220px; float: left;
}


#sidebar {
	line-height: 1.6em; 
}

#sidebar .gutter {
	padding: 0;
}


/* ----------------------------------------------------------------------- 
   Sidebar: Navigation
   ----------------------------------------------------------------------- */

ul.menu {
	list-style: none;
	
}

ul.menu li {
	float: left;
}

ul.menu a {
	display: block; text-align: center; 
	
}

#sidebar ul.menu {
	position: relative; padding: 10px; margin-top: 12px !important; margin-top: 6px;
	
}

#sidebar ul.menu li {
	position: relative; float:none; 
	
}

#sidebar ul.menu li a {
	padding: 5px 10px !important; padding: 5px 10px; color: #666; font-weight: normal; text-align: left;
	border-bottom: 1px solid #CCC; 
	text-decoration: none;
	
}

#sidebar ul.menu li.current a {
	font-weight: bold;
}

#sidebar ul.menu li a:hover {
	text-decoration: underline;
}

#sidebar ul.menu li.submenu a{
	text-indent:20px;
	border-bottom:none;
	}

/* ----------------------------------------------------------------------- 
   Structure: Footer
   ----------------------------------------------------------------------- */


#footer {
	clear: both;
	width: 100%; height: 70px; padding-top: 20px;
	color: #999;
	background: transparent; text-align: center;
}

#footer a {
	color: #999;
}

#footer a:hover {
	color: #666;
}

#footer span {
	padding: 0 0.5em;
}

/*
#menu {
    position: absolute; bottom: 0; right: 20px;
}

#menu ul {
    margin: 0;
    padding: 0;
    list-style:none;
}
#menu li {
    float: left;
    margin: 0 0 0 3px;
    padding: 3px 0 !important; padding: 1px 0;
	background: #500;
}
#menu a {
    display: block;
	padding: 5px 15px;
    color: #EEE;
    text-decoration: none;
    font-family: "Lucida Grande", Verdana, Arial, sans-serif;
    font-weight: normal;
    line-height: 15px;
    font-size: 11px;
}

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

#menu #current {
    color: #666;
	background-color: #FFF; 
}
#menu #current a {
    color: #444; margin: 0;
}

*/

/* ------------------------------------------------------------------------------------------ *
 *
 * Menu
 *
 * ------------------------------------------------------------------------------------------ */

#menu {
	position: absolute; bottom: 0; right: 20px;
}

#menu ul li {
	display: inline; /* Fix IE Step Down */
	
}

	#menu ul li a:link, #menu ul li a:visited {
		display: block;
		height: 30px;
		float: left;
/*		background: url(/images/tab-right.gif) top right no-repeat;*/
		background-color: #600;
		margin: 0 1px 0 1px;
		line-height: 30px; font-weight: normal; font-size: 11px; color: #FFF; text-decoration:none;
	}
	#menu ul li.current a:link, #menu ul li.current a:visited {
		display: block;
		height: 30px;
		float: left;
/*		background: url(/images/tab-right.gif) bottom right no-repeat;*/
		background-color: #FFF;
		margin: 0 1px 0 1px;
		line-height: 30px; font-weight: normal; font-size: 11px; color: #FFF; text-decoration:none;
	}

		#menu ul li a span {
			display: block;
			height: 30px; line-height: 30px;
			float: left; /* IE 6 Fix */
			padding: 0 20px;
/*			background: url(/images/tab-left.gif) top left no-repeat;*/
			background-color: #600;
		}
		
		#menu ul li a span.with_icon {
			padding-left: 40px; position:relative;
		}
		#menu ul li a span.with_icon img {
			position: absolute; top: 12px; left: 15px;
		}
		
		#menu ul li.current a span {
			display: block;
			height: 30px; line-height: 30px;
			float: left; /* IE 6 Fix */
			padding: 0 20px;
/*			background: url(/images/tab-left.gif) bottom left no-repeat;*/
			background-color: #EEE; color: #300;
		}
		
		#menu ul li.current a span.with_icon {
			padding-left: 40px; position:relative;
		}
		#menu ul li.current a span.with_icon img {
			position: absolute; top: 12px; left: 15px;
		}

		#menu ul li a:hover, #menu ul li a:active {
			background-position: bottom right; color: #AAA;
		}
		
		#menu ul li a:hover span {
			background-position: bottom left;
			color: #AAA;
			cursor: pointer; /* Remind IE which cursor to use! */
		}

/* ----------------------------------------------------------------------- 
   Auth
   ----------------------------------------------------------------------- */

#auth {
	position: absolute;
	right: 1em; top: 1em; color: #EEE;
}

#auth a {
	color: #FFF;
}


/* ----------------------------------------------------------------------- 
   Logo
   ----------------------------------------------------------------------- */

#logo {
	position: absolute;
	left: 2em; top: 0;
}



/* ----------------------------------------------------------------------- 
   Item
   ----------------------------------------------------------------------- */

div.item {
	margin-bottom: 1em; padding-bottom: 1em;
	border-bottom: 1px solid #EEE;
}

div.item h1 {
	font-size: 110%; margin: 0.5em 0;
}

div.item div.image { 
	float: left; width: 220px; 
}

	div.item div.image img {
		border: 1px solid #EEE; padding: 5px;
	}
	
div.item div.text { float: right; width: 260px; color: #333;}


/* ----------------------------------------------------------------------- 
   Helper
   ----------------------------------------------------------------------- */

.clear {
	clear: both;
}

.icon {
	margin-right: 1em;
}

.button {
    display: inline;
    padding: 0.3em 0.6em 0.3em 0.6em;
    text-align: center;
}
    head:first-child+body .button {
        padding: 0.3em 1.2em 0.3em 1.2em;
    }

.separate {
    margin-left: 6px; margin-right: 6px; color: #BBB; font-size: 80%;
}


/* -----------------------------------------------------------------  */
/* Paginator  */
/* -----------------------------------------------------------------  */


.pagination {
    padding: 0; margin: 0; 
}
.pagination a {
    margin: 0 5px 0 5px;
}
.pagination span.current {
    margin: 0 5px 0 5px; color: #AAA;
}
.pagination span.disabled {
    color: #AAA; margin: 0 5px 0 5px;
}
.pagination .previous {
    padding-right: 10px;
    border-right: 1px solid #ddd;
}  
  
.pagination .next {
    padding-left: 10px;
    border-left: 1px solid #ddd;
}  



/* -----------------------------------------------------------------  */
/* Errors & Notifications  */
/* -----------------------------------------------------------------  */

.messages {
    background-color: #FFF;
	padding: 10px 20px;
	margin: 1em 0;
}

.messages IMG {
	margin: 0;
	padding: 0;
	margin-right: 10px;
	vertical-align: middle;
}

.messages-error {
	background-color: #EED0D0;
	border: 1px solid #660000;
}
.messages-success {
	background-color: #E0E7D8;
	border: 1px solid #006600;
}
.messages-info {
	background-color: #ECEEF0;
	border: 1px solid #556B82;
}


.message-idle		{color: #AAAAAA;vertical-align: middle;}
.message-info		{color: #556B82;vertical-align: middle;}
.message-success 	{color: #006600;vertical-align: middle;}
.message-error  	{color: #660000;vertical-align: middle;}
.message-error-item {color: #660000;margin-left: 27px; margin-top:5px; display:block}


.errorExplanation {
	margin: 0;
	margin-bottom: 2em;
}

.errorExplanation li {
	color: red;
}

.fieldWithErrors {
    display: inline; margin: 0; padding: 0;
}

.fieldWithErrors input {
}
.fieldWithErrors select {
}
.field-error {
}

/* ----------------------------------------------------------------------- 
   Rails Defaults
   ----------------------------------------------------------------------- */
div.auto_complete {
    width: 300px;
    background: #fff ;
	z-index: 10;
}

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;
    background-color: #fff ;
    color: #5F4241;
}

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

div.auto_complete ul strong.highlight {
    color: #800 ;
    margin:0;
    padding:0;
}

div.uploadStatus {
  margin: 5px;
}

div.progressBar {
  margin: 5px;
}

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

div.progressBar div.background {
  background-color: #333;
  height: 18px;
  width: 0%;
}

/* -------------------------------------------------------------------------------------
   Hacks
   -------------------------------------------------------------------------------------*/


