/* @group Universal Overrides */
body{
	background-color: #697A88; }

#header { 
background-image:none;
/*background:transparent url(../images/header_bg.gif) no-repeat scroll left bottom; */
font-size:11px;
/*height:100px; */
height: auto;
margin:0 18px 0 0;
padding:10px 32px 10px 20px;
width:817px;
}
#header ul.header_nav {
float:right;
margin:0;
}
#header ul.header_nav li {
list-style: none;
}
#wrapper {
width:872px;
background-image:url(../images/wrapper_bg.gif);
}

 .submitted{display:none;}

a {
color:#2F5583;
text-decoration:underline;
font-weight:bold;
}

a:hover {
color: #5D9345;
 text-decoration:underline;	
}
 h1.title {
color:#4C6474;
margin-top: 0px;
}

h2, h2 a, h2 a:hover {
color: #4C6474;
 
}

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

h1 { 
 font-size: 1.8em;
 color:#4C6474;
}

h1.section-title {
 border-bottom: 2px solid #4d4d4d;
}

h2 {
color:#675D48;
font-size:1.5em;
}

h2.title {
 color:#4F6293;
}
#latest_block h2.title {
border-bottom:2px solid #4D4D4D;
font-size:1.5em;
font-weight:bold;
margin-bottom:20px;
}

h3 {
 color: #4D4D4D;
 font-size: 1em;
}
.faceted-search-facet h3 {
display:block;
background-color: #ccc;
}
.faceted-search-facet .item-list li a{
font-weight:normal;
}
h4 {
 color: #000000;
 font-size: 0.9em;
}

h5 {
 color: #4d4d4d;
 font-size: 1em;
 font-weight:normal;
}


/* @end Universal Overrides */

/* @group Header */
#topsearch #searchcontent {
width:320px;
}
#header .advertisement {
 float: right;
 border: none;
 padding: 5px;
}

/* @end Header */


/* @group Major Layout */

#content {
background-image: none;
/* background:#FFFFFF url(../images/splash_message_bg.gif) repeat-x scroll left top;*/
margin:0 23px 0 19px;
overflow:hidden; /*was visible for navigation*/
}
.tmc #content-header {
padding-top:0px;
}
.tmc #content{ overflow:visible;}
.techmission #main-content {
 padding-bottom:20px;
 padding-right: 15px;
 width:800px;
}
.tmc #main-content {
width:620px;
padding-right: 10px;
}
 #inner-wrapper {
margin: 0px;
padding:0px;
}

 div.panel-flexible div.panel-row-1 div.panel-col-1 {
width:500px;
}
/* @end Major Layout */


/* @group Nodes */

.node-teaser .links, .node .links {
 font-size: 11px;
}

/* @end Node */


/* @group Main Navigation */

 #menu {
background:transparent url(../images/nav_bg.gif) repeat-x scroll left top;
font-size:17px;
font-weight:bold;
height:33px;
margin:0;
padding:0 0 0 16px;
text-transform:capitalize;
width:856px;
border:none;
}

 #menu ul { /* Setting a precedant for dropdowns beneath */
 padding: 0px;
 margin: 0px;
 list-style: none;
}

 #menu li { /* Setting a precedant for dropdown-items beneath */
 padding: 0px;
 margin: 0px;
}

 #menu a{ /* Setting a precedant for links beneath */
 color: #FFF;
 text-decoration: none;
 font-size:15px;
 padding:10px 10px 5px;
}

 #menu ul.nice-menu li { /* Styles for Main Buttons */
 font-weight: bold;
 position: relative;
 float: left;
 border-right: none;
 
background:transparent url(../images/nav_item_bg.gif) no-repeat scroll right top;
display:inline;
float:left;
list-style-type:none;
margin:0;
}

 #menu ul.nice-menu li a:hover{
 background-color:#5C9444;
}
 #menu ul.nice-menu li a{
height:24px;
padding:9px 10px 0;
}
 #menu ul.nice-menu > li:hover > a {
 background: none;
 color: #FFF;
}

 ul.nice-menu ul { /* First level of dropdowns */
 display: none;
 position: absolute;
 top: 34px; /* Height of #menu + 1 */
 border-bottom: 1px solid #ccc;
 border-top: none;
 background-color: #eee;
 size: 0.85 em;
}

 #menu ul.nice-menu ul li { /* Styles for Dropdown items */
background:#697A88 none repeat scroll 0 0;
border-top:1px solid #8C8C8C;
clear:both;
display:block;
float:none;
height:auto;
padding:0;
position:relative;
width:150px;
}
 #menu ul.nice-menu ul li a,  #menu ul.nice-menu ul li a:visited {
 color: #FFF;
 display:block;
 height:auto;
 padding:9px;
}

 #menu ul.nice-menu ul li a:hover {
 background-color:#5C9444; 
 color: #fff;
}

 #menu ul.nice-menu ul ul { /* Second level dropdown */
 left: 150px; /* = width of 1st tier items */
 top: -1px; /* Compensating for border on top of 1st tier items */
 border-left: solid 4px #ccc;
}
#menu ul.nice-menu li ul{
	font-size:12px;
}
#menu ul.nice-menu li ul li:hover { /* Turns on a highlight color on 1st Tier Item while on 2nd Tier Child */
 background-color: #5C9444;
}


/* @end Main Navigation */
#content-wrapper {
	background-image: none;
/* background:transparent url(../images/nav_ribbon.gif) no-repeat scroll left top; */
clear:both;
}


/* @group Footer */

 #footer {
background-color:#8F8164;
margin:0 23px 0 19px;

}
#footerbar {
	font-size: 10px;
	color: #fff;
	margin-top: 20px;
	padding: 15px 30px 15px 30px;
	background: transparent url(../images/footerbar_bg.gif) repeat-y;
	text-align: right;
}

#footerbar_footer {
	height: 22px;
	background: transparent url(../images/footerbar_footer.gif) no-repeat;
	text-align: right;
}
#footer .footer_sections a {color:#2F5583;}

 .footer_sections {
 background-color:#D6D7C4;
 }

 td.footer_sections_left {
  background-color:#C2C3B1;
}

.footer_links {
padding-left:5px;
padding-right:5px;
text-decoration:none;
margin:10px 0;
width:100%;
}

/* @end Footer */

/* @group Sidebar */

 #sidebar .block {
 border:1px solid #D6D7C4;
}

 #sidebar .block h3.title {
 background-color:#D6D7C4;
 font-size:12px;
}
#sidebar-wrapper {
background:transparent url(../images/sidebar_footer.gif) no-repeat scroll left bottom;
float:left;
margin-left:-19px;
padding-bottom:24px;
width:210px;
}
#sidebar-content {
background-color:#D6D7C4;
color: #666;
margin-top:20px;
padding:15px;
font-weight:normal;
line-height:1.4em;
}
#sidebar-content li{color:#666; font-weight:normal; padding-bottom:5px; list-style:none;}
#sidebar-content a{ text-decoration:none; font-weight:normal;}
#sidebar-content a:hover{ text-decoration:underline;}
#sidebar-content form#civicrm-subscribe-form{width:150px;}
/* @end Sidebar */



/*----------------Sidebar Items ---------------------------*/
.sidebar_item{
border: solid 1px #D6D7C4;
margin-left: 20px;
}
 .sidebar_item h2.title {
background-color:#D6D7C4;
border-bottom-color:#FFFFFF;
color:#000000;
margin:0;
padding:5px;
}
.sidebar_item h2.title {
 color:#000000 !important;
 }
 .sidebar_item p, .sidebar_item .form-item, .sidebar_item .item-list ul li, .sidebar_item .more-link {
 padding: 0px 10px;
 }
/*---------------end: Sidebar Items ------------------------*/
 #featured_video {
height: 250px;
width:550px;
background-color: #FFFFFF;
padding:10px;
overflow:auto;
border:1px solid #6699CC; }

.node-text {
margin-bottom:10px;
}
#video_body h2 a {
color:#6B768F;
}
#video_body h2 a:hover { text-decoration:none; color:#5D9345;}



/*------------Popular Block - from drupal5------------------*/

 #popular_block {
margin-bottom: 20px;
}

#popular_block .fragment{
padding: 15px;
background-color: #93B6F0;
border:1px solid #4D4D4D;
}
#popular_block .panel-pane .content { /* tabs block when it's inside popular block */
height: 250px;
background-color: #FFFFFF;
padding:10px;
overflow:auto;
border:2px solid #4D4D4D;
border-top:none;
}
 #popular_block .section-title {
border-bottom:none;
padding-bottom: 0px;
}

#popular_block .tabs ul.primary li.active a {
background-color:#93B6F0;
color:#000000;
font-weight:bold;
text-decoration:none;
}
#popular_block #tabs .fragment{
height: 250px;
overflow:scroll;
}
 #popular_block .faceted-search-env-Grants,  #popular_block .faceted-search-env-Jobs,  #popular_block .faceted-search-env-Authors,  #popular_block .faceted-search-env-Volunteer_opps,  #popular_block .faceted-search-env-Volunteers,  #popular_block .faceted-search-env-Volunteer_orgs{
float:left; 
width:180px;
padding-right: 5em;
}

 #popular_block th{
display:none;}

 #popular_block td.active{
background-color:#FFFFFF;
}
/* end of popular block */
.clearer {
clear:both;
}
 /* Weird*/
form#civicrm-subscribe-form input#edit-email { float:none;}

 #organiz-edit, div#user-edit, #volunteer_opp {
margin-left:0;
padding:10px;
width:auto;
overflow:scroll;
}

#staff_favorites .sidebar_item h2.title, .sidebar_item h2.section-title, .sidebar_item h2.pane-title, .panel-pane.box h2.pane-title {
background-color:#CFCFCF;
}
#staff_favorites.panel-pane.sidebar_item {width:280px; /*overflow-x: scroll;*/ font-size:10px;}
#staff_favorites.panel-pane.sidebar_item a {font-size:10px; font-weight:normal; text-decoration:none;}



#connect_with_tm.panel-pane.sidebar_item li{margin-bottom:10px; list-style:none;}

#tmstaff_blog.panel-pane.sidebar_item .feed-icon {position:absolute; left:120px; top:5px;}
#tmstaff_blog.panel-pane.sidebar_item .views-label-title{display:none;}
#tmstaff_blog.panel-pane.sidebar_item .field-content { text-transform: capitalize;}
#tmstaff_blog.panel-pane.sidebar_item ul{padding-left: 5px;}
#tmstaff_blog.panel-pane.sidebar_item li{margin-bottom:10px; list-style:none; margin-left:0px; padding-left:0; }
#tmstaff_blog.panel-pane.sidebar_item li a, #connect_with_tm.panel-pane.sidebar_item li a{text-decoration:none;}
#staff_favorites.panel-pane.sidebar_item a:hover, #tmstaff_blog.panel-pane.sidebar_item li a:hover, #connect_with_tm.panel-pane.sidebar_item li a:hover{text-decoration:underline;}

.nav2-annual-report #primary-nav #item-annual-report {
{ background-color: #45516F;}

