body {
	background: #3F3F3F url('images/body.gif') repeat-x;
	color: #464847;
}

#print_head {display: none;}

a:link {
	color: #007f04;
}

.entry-content a:visited, a:visited {
	color: #346314;
}

#primary .entry-content table.mceEditor img {
	margin: 1px !important;
	padding: 1px !important;
	border: 0;
}

#page {
	border:0;
   	padding-top: 0;  
	width: 78em;
}

.secondary {
	width: 25em;
	top: 5em;
	padding:0;
	margin: 0 0 0 50em;
}

#header {
  	height: 17em;
  	background-color: #004f02;
	background: #007f04 url('images/grad3.gif') repeat-x;
}

#header h1 {
	padding: 0;
	margin: 0;
	letter-spacing: 0;
	margin: 0 1.5em 0 0;
	font-size: 2em;
}

#header h2 {
	padding: 0;
	margin: 0;
	letter-spacing: 0;
	margin: 0 1.5em 0 0;	
	font-size: 2.75em;
}

#header h2 a, #header h1 a:visited, #header h1 a:hover {
	color: #BBE5B7 !important;
}

#title {
	float: left;
	padding-left: 3em;	
}

#header p.pre, #header p.description {
	font-size: 1.2em;
	margin: 0 0;	
	padding: 1.5em 0 0.5em;
	color: #fff;
}

#header p.pre {
	padding-top: 1.75em;
	line-height: 1.25em;
}

#header p.description {
	padding-top: 0.5em;
	line-height: 1.25em;
}


#random {
	float: right;
	margin: 3em 1.5em 0 1em;
}

#random img {
	width: 7.5em;
	height: 7.5em;
	border: 0;
	margin: 0.75em 1em 0 0.75em;
}


#supheader{
	background-color: #fff;
	text-align: right;
}

#login a {
	color: #fff !important;
}

#login a:hover{
	color: #007f04 !important;
	text-decoration: underline !important;
}

#logout a {
	color: #007f04 !important;
}

#logout a, #login a {
	margin-right: 2em;
}


#supmenu, #years {
	padding: 0.65em;
}

#supmenu li, #years li{
	display: inline;
	margin: 0 0.5em;
}

#supmenu {
	padding-right: 1em;	
}

#years {
	text-align:left;	
	float: left;
	padding-left: 1em;
}



#footer {
	padding-bottom: 1em;
}



#primary {
	width: 43.5em;
	margin: 0.65em 1em 0 3em;
	min-height: 40em;
}

#primary .wide {
	width: 76em !important;
}


#primary p {
	text-align: left;
}

#primary .entry-content img {
	border: 0;
	max-width: none !important;
}

#primary .icon {
	float: left;
	font-size: 0.8em;
	text-align: center;
	margin: 0.5em;
	margin-top:0 !important;
	min-width: 75px;
}

.secondary ul {
	margin-left: 1.5em;
}

.secondary ul li {
	list-style-type: square;
}

#tools ul li {
	list-style-type: none;
}

#tools ul li:before {
	content: "";
}


#header ul.menu li a:hover, 
#header ul.submenu li a:hover,
ul#supmenu li a:hover,
#years li a:hover
{
	text-decoration:  underline;
}


ul.menu li.current_admintab a,
ul.menu li.current_admintab a:hover {
	color: #333 !important;
	background: #fff;
	text-decoration: none;
}

.current_admintab {
	position: absolute;
	right: 0px;
	}



ul.menu {
	font-size: 1.2em;
	left:1.25em;
	width:90%;
}

ul.menu li {
	margin-right: 0.25em;	
}

ul.menu li a {
 	padding: 0.6em 1em 0.5em 1em; 
}

ul.menu li a:hover {
	background: #3F3F3F;
}

ul.menu li.page_item a,
ul.menu li.admintab a {
	color: #fff;
}

ul.menu li.current_page_item a, 
ul.menu li.current_admintab a {
  	border-bottom: 1px solid #fff;	
    }


ul.menu li.current_page_item .submenu li a {
	padding-top: 0 !important;
	border: 0px !important;
	background-color: transparent !important;
}


/*  submenu  */

ul.submenu {
	position: absolute;
	bottom: -2em;	
}

ul#submenu li {
	display: inline;
}


ul.menu li ul.submenu li a { padding: 0 0.2em;}
ul.menu li ul.submenu li a:link { color: #007f04 !important; }
ul.menu li ul.submenu li a:visited { color: #346314 !important; }




ul.menu li ul.submenu li {
	padding: 0 0.2em; 
}


ul.menu li ul.submenu li.here a { color: #464847 !important;}


ul#sm_first {left: 2.1em;}
ul#sm_second {left: 10.1em;}
ul#sm_third  {left: 16.65em;}
ul#sm_fourth  {left: 18.75em;}
ul#sm_admin  {left: 47.25em; }


/*  flash messages  */


#flashbox {
	margin:0;
	margin: 5em 3em 0 3em;
	border: 1px dotted #7F7F7F;
}

.message, .warning, .pending  {
	line-height: 2em;
	padding: 0.5em 0 0.5em;
	text-align: left;
	border: 1px solid #7F7F7F;
	background-color: #EDEDED;
}

.message p, .warning p, .pending p {
	margin-left: 3.5em;
}

p.message, p.warning, p.pending {
	padding-left: 3em;
	padding-right: 0.25em;
}

	
.message a:hover,
.warning a:hover,
.pending a:hover
{
	text-decoration:  underline;
}

.message {
	background: #F6F3F2 url('images/accept.png') no-repeat 0.75em 0.75em;
}

.warning {
	background: #F6F3F2 url('images/exclamation.png') no-repeat 0.75em 0.75em;
}

.pending {
	background: #F6F3F2 url('images/error.png') no-repeat 0.75em 0.75em;
}

/*  forms  */

form th, table.form th {
	font-weight: normal;
	vertical-align: top;
	margin-right: 1em;
	white-space:nowrap;
	text-align: right;
	width: 10em;	
}

form table tr th label {
	white-space : nowrap;
}

form th, form td{
	padding-top: 0.2em;
	margin:  0;
}

form p.desc {
	font-size: 0.85em;
	line-height: 1.3em;
	color: gray;
	margin: 0.25em 0 0.25em;
} 

form table {
	border: 0;
	border-spacing:1em;
}

form div.error_message {
	color: red;
	margin: 0;
	padding: 0;
}

form input, form select {
	margin-bottom: 0.5em;
	margin-right: 0.5em;
	vertical-align:middle;
}

.up a, 	
.down a, 
.top a,
.bottom a 
{
	margin: 0px;
	padding: 2px;
	padding-left: 10px;
}

.edit a,
.hide a,
.delete a,
.join a,
.discard a,
.avatar a,
.rss a,
.add a,
.cancel a,
.delete a,
.group a,
.folder a,
.image_add a,
.image_edit a, h4.image_edit,
.tab_add a,
.tab_edit a, h4.tab_edit,
.page_add a,
.page_edit a,
.file_add a,
.file_edit a, h4.file_edit,
.page_edit a,
.email a
{
	margin: 0px;
	padding: 3px;
	padding-left: 20px;
}
.page_add a 	{background: url('images/page_add.png') left center no-repeat;}
.page_edit a 	{background: url('images/page_edit.png') left center no-repeat;}
.file_add a 	{background: url('images/file_add.png') left center no-repeat;}
.file_edit a, .file_edit 	{background: url('images/file_edit.png') left center no-repeat;}
.tab_add a 	{background: url('images/tab_add.png') left center no-repeat;}
.tab_edit a, .tab_edit 	{background: url('images/tab_edit.png') left center no-repeat;}
.folder a 	{background: url('images/folder.png') left center no-repeat;}
.image_add a 	{background: url('images/image_add.png') left center no-repeat;}
.image_edit a, .image_edit 	{background: url('images/image_edit.png') left center no-repeat;}
.group a 	{background: url('images/group.png') left center no-repeat;}
.email a 	{background: url('images/email.png') left center no-repeat;}
.edit a 	{background: url('images/pencil.png') left center no-repeat;}
.up a 		{background: url('images/bullet_arrow_up.png') left center no-repeat;}
.down a 	{background: url('images/bullet_arrow_down.png') left center no-repeat;}
.top a 		{background: url('images//bullet_arrow_top.png') left center no-repeat;}
.bottom a 	{background: url('images/bullet_arrow_bottom.png') left center no-repeat;}
.hide a 	{background: url('images/eye.png') left center no-repeat;}
.delete a {background: url('images/delete.png') left center no-repeat;}
.join a	{background: url('images/user_add.png') left center no-repeat;}
.discard a{background: url('images/group_delete.png') left center no-repeat;}
.avatar a	{background: url('images/defaultgravatar.png') left center no-repeat;}
.rss a	{background: url('images/feed.png') left center no-repeat;}
.add a					{background: url('images/add.png') left center no-repeat;}
.cancel a				{background: url('images/cross.png') left center no-repeat;}
.delete a				{background: url('images/delete.png') left center no-repeat;}



.secondary h3 {
	font-size: 1.25em;
}

.secondary h3, .secondary h4, .secondary h5 {
	margin-top:1em;
}


#primary .entry-content h3 {
	font-size: 1.8em;
	letter-spacing: 0;
}

#primary .entry-content h4 {
	font-size: 1.4em;
	letter-spacing: 0;
}

#primary .entry-content h5 {
	font-size: 1em;
	margin-top: 1em !important;
	margin-bottom: 0 !important;
}

tr.unsub, tr.unsub small  {
	color: #BBB !important;
}

#subscribers p small {
  padding-left: 3em;
  white-space: nowrap;
}

.notactive {
	color: #aaa;
}

#primary .entry-content img.howmany {
	padding:0  !important;
	margin:0 !important;
}

#addabstract {
	display: none;
}

.checkbox {
	height: 1em; width: 1em;
	margin: 0.25em 0.5em 0 0.5em;
	border: 1px solid #333;
	display: block;
	clear: left;
	float: left;
}

table.cc td, table.cc th {
	padding: 0.5em;
} 

table.cc small {
 line-height: 1.25em;
} 

table.cc .underline {
	height: 1em; width: 20em;
	margin: 0.25em 0.5em 0 0em;
	border-bottom: 1px solid #333;
	display: block;
}

table.cc .underline.short { width: 3em; }


form td span.add a, form td span.delete a {
	margin-left: 2px;
	padding-right: 0;
	padding-left: 15px;
	cursor: pointer;
	min-width: 10px;
}

form td span.add a:hover, form td span.delete a:hover {
	text-decoration: none !important;
}

form table tr td table tr {
	text-align: left;
}


form table tr td div {
	padding: 0 !important;
	margin: 0 !important;
}

form table tr td div table {
	border-spacing: 0;
}

form table tr td div table tr td {
}

.admin h4 {float: left; margin-top: 0 !important; margin-right: 1em; margin-bottom: 1em;}

.admin h3 {margin-bottom: 1em;}
