/* General styles */

body {
  margin:auto;
  padding:0;
  font-family: arial, helvetica, sans-serif;
  border:0;			/* This removes the border around the viewport in old versions of IE */
  width:900px;
  background-color: #F7E5C5;
  font-size:80%;
  color: #424242;
  background-image: url(/site/sites/all/themes/cfrfoundation/images/bgimg3.png);
  background-repeat: repeat;
}

a {
  color:#369;
  padding:0 1px;
}

a:hover {
  color:#fff;
  background:#369;
  text-decoration:none;
}

h1, h2, h3 {
  margin:.8em 0 .2em 0;
  padding:0;
  color:#424242;
}

h1 {
  font-size: 17px;
}

h1 a, 
h2 a,
h3 a {
  text-decoration: none;
}

p {
  margin:.4em 0 .8em 0;
  padding:0;
  color: #424242;
}

img {
  margin:10px 0 0px;
}

/* Shadow Effect */

.blur{
  background-color: #F1D098; /*shadow color was 333*/
  color: inherit;
  margin-left: 6px;
  margin-top: 6px;
}

.shadow,
.subbody{
  position: relative;
  bottom: 2px;
  right: 2px;
}

.shadow{
  background-color: #62450E; /*shadow color was ccc*/
  color: inherit;
}

.subbody{
  background-color: #fff; /*background color of content*/
  color: #000; /*text color of content*/
  border: 1px solid #444; /*border color*/
  padding-top: .5em;
  padding-right: 1ex;
  padding-left: 1ex;
  margin-top: 1ex;
  overflow: hidden; 
  height: 100%;
}

/* Header styles */

#header {
  clear:both; 
  float:left; 
  display:block;
  width:100%;
  background-color: #369;
/*  background-color: #369; */
  border:1px solid #444;
}

#header img {
  margin: 2px 0 2px 10px;
  padding: 0;
}
 
#header a {
  color: white;
}

#header p,
#header h1,
#header h2 {
  padding:.4em 15px 0 15px;
  margin:0;
}

/* Headmenu styles  */

#headmenu ul {
  clear:left;
  float:left;
  width:100%;
  list-style:none;
  margin:0px 0 0 0;
  padding:0;
  background-color: white; 
  border-top: 1px solid #444;
}

#headmenu ul li {
  display:inline;
  list-style:none;
  margin:0;
  padding:0;
}

#headmenu ul li a {
  display:block;
  float:left;
  margin:0 0 0 1px;
  padding:3px 10px;
  text-align:center;
  background: transparent;
  color:#000;
  text-decoration:none;
  position:relative;
  left:15px;
  line-height:1.3em;
}

#headmenu ul li a:hover {
  background:#369;
  color:#fff;
}

#headmenu ul li a.active,
#headmenu ul li a.active:hover {
 color:#fff;
 background:#147;
 font-weight:bold;
}

#headmenu ul li a span {
 display:block;
}

.headerlogo {
  float: left;
  padding: 2px 5px 0px 5px;
}

.headerlogo a,
.headerlogo a:hover,
.headerlogo a:active  {
  background-color: transparent;
  padding:0px;
  margin:0px;
}

 
.headmenu {
  width:100%; 
  padding: 0;   
}

#hvessel {  
  position: absolute;
  right: 8px;
  top: -5px;
 
}


#headsearch {
  position: absolute;
  top:10px;
  right:10px;
  padding: 3px;
  background-color: white;
  border-left: 1px solid #444;
  border-right: 1px solid #444;
  border-bottom: 1px solid #444;
  border-top: 1px solid #444;
  z-index:1;
}

#headsearch input.form-text {
  width: 130px;
  color:#444;
  padding:0px;
  font-size: 85%
}

#headsearch input.form-submit {
  border: 1px solid #424242;
  background-color: #336699;
  color: #eee;
  font-size: 85%
}

#headsearch label {
  display: none;
}

/* Simple Menus  style */

#simplemenu {
	background:transparent;
	color:#fff;
	font:11px Verdana, Helvetica, sans-serif;
	width:100%;
	z-index:9999;
	text-align:left;
        margin: 3px;
        list-style:none;
}
#simplemenu a {
	color:#fff;
	text-decoration:none;
	padding:3px 12px 5px 12px;
	width:auto;
        background:transparent;
}
#simplemenu li {
  background:transparent;
  text-align:left;
}
#simplemenu li.expanded > a {
	background:url(sites/themes/cfrfoundation/images/arrow_right.gif) no-repeat 94%;
	padding-right:18px;
}
#simplemenu li.root > a {
	background:url(sites/themes/cfrfoundation/images/arrow_down.gif) no-repeat 94%;
	padding-right:18px;
}
#simplemenu li:hover, #simplemenu li.sfHover,
#simplemenu a:focus, #simplemenu a:hover, #simplemenu a:active {
        background: #cde;
	color:#4e4e4e;
}
#simplemenu li ul {
  border:1px solid #ccc;
	background:#fafcff;
}
#simplemenu li ul a {
	color:#4e4e4e; 
	height:auto;
}
#simplemenu li ul li:hover, #simplemenu li ul li.sfHover,
#simplemenu li ul a:focus, #simplemenu li ul a:hover, #simplemenu li ul a:active {
  background-color:#cde;
	color:#4e4e4e;
}


/* 'widths' sub menu */

	#layoutdims {
		clear:both;
		background:#eee;
		border-top:4px solid #000;
		margin:0;
		padding:6px 15px !important;
		text-align:right;
	}
	/* column container */
	.colmask {
	    position:relative;		/* This fixes the IE7 overflow hidden bug */
	    clear:both;
	    float:left;
            width:100%;			/* width of whole page */
            overflow:hidden;	/* This chops off any overhanging divs */
	}
	/* common column settings */
	.colright,
	.colmid,
	.colleft {
		float:left;
		width:100%;
		position:relative;
	}
	.col1,
	.col2,
	.col3 {
		float:left;
		position:relative;
		padding:0 0 1em 0;
		overflow:hidden;
	}
	/* 2 Column (left menu) settings */
	.leftmenu {
		background:#fff;		/* right column background colour */
	}
	.leftmenu .colleft {
		right:80%;				/* right column width */
/*		background:#f4f4f4; */		/* left column background colour */
	}
	.leftmenu .col1 {
		width:77%;				/* right column content width */
		left:102%;				/* 100% plus left column left padding */
	}
	.leftmenu .col2 {
		width:21%;				/* left column content width (column width minus left and right padding) */
		left:4%;				/* (right column left and right padding) plus (left column left padding) */
	}

    /* Full page view (front page and others as needed) */
    .full {
      padding: 6px 15px;
    }

/* Left sidebar formatting */

.col2 h2 {
  font-size:14px;
}

.col2 li {
  font-size: 13px;
  text-decoration: none;
  list-style: none;
  line-height: 1.3em;
}

.col2 ul {
 padding-left: 0px;
}

.col2 li a { 
  text-decoration: none; 
  color: #369;
}
.col2 li a:hover { color: #fff !important; }

/* Main drupal section formating */

.tabs {
  padding: 3px 0;
  margin-left: 0;
  margin-top: 4px;
  border-bottom: 1px solid #778;
  }
 
.tabs li {  
  list-style: none;
  margin: 0;
  display: inline;
  } 
  
.tabs li a {
  padding: 3px 0.5em;
  margin-left: 3px;
  border: 1px solid #778;
  border-bottom: none;
  background: white;
  text-decoration: none;
}

.tabs li a.active {
  background-color: rgb(51, 102, 153);
  color: #fff !important;  
  }
  
.tabs li a:hover, .tabs li a:visited {
  color: rgb(51, 102, 153);
  }
  
.content img {
  padding: 3px;
  border: 1px solid #222;
}

.content p {
  text-align: justify;
}

.content li {
  color: #424242; 
  margin-bottom: 10px; 
}

.imgleft {
  float:left;
  margin: 6px 6px 6px 0;
}

.imgright {
  float: right;
  margin: 6px 0px 6px 6px;
}

    
/* Breadcrumb styles */

.breadcrumb {
  padding: 5px 0 3px 5px;
  font-size: 85%;
}
  
.breadcrumb a {
  text-decoration: none;
}

/* View display styles */
.view-research-projects .view-content,
.view-all-research-projects .view-content,
.view-research-funding .view-content {
  border: 1px solid #ddd;
  font-size: .90em;
}

.view-research-projects .views-row-first,
.view-all-research-projects .views-row-first,
.view-research-funding .views-row-first {
  border-top: 0px !important;
}

.view-research-projects .views-row-odd, .view-research-projects .views-row-even,
.view-all-research-projects .views-row-odd, .view-all-research-projects .views-row-even,
.view-research-funding .views-row-odd, .view-research-funding .views-row-even {
  padding: 10px;
  border-top: 1px solid #ddd;
}

.view-research-projects .views-row-even,
.view-all-research-projects .views-row-even,
.view-research-funding .views-row-even{
  background-color: #eee;
}

.view-research-projects .view-content h2,
.view-all-research-projects .view-content h2,
.view-research-funding .view-content h2 {
  font-size: 13px;
}

.view-research-projects .field,
.view-research-projects ul.links,
.view-all-research-projects .field,
.view-all-research-projects ul.links,
.view-all-research-programs .field-field-rfpref,
.view-all-research-programs .listresproj,
.view-all-research-programs .view-reverse-program-reference {
  display: none;
}

.view-all-research-projects table 
 {
  border: 0;
}

.view-all-research-projects tr.odd
{
  background-color: #ffffff;
}

.view-all-research-projects th 
{
  font-size: 1.3em;
  padding: 3px 6px;
  background-color: #eee;
}

.view-all-research-projects th.views-field-title {
  width: 350px;
}i

.view-all-research-projects td.views-field-title {
  font-weight: bold;
  font-size: 1.2em;
}



.view-all-research-projects td
{
  padding: 3px 6px;
}

/*Fieldsets in CCK Content Display*/

.field-field-amount, .field-field-awarded, .field-field-fundingref {
  color: #424242;  
  margin-bottom: 8px;
}

.field-field-amount .field-label, .field-field-amount .field-items, .field-field-amount .field-item, 
.field-field-awarded .field-label, .field-field-awarded .field-items, .field-field-awarded .field-item,
.field-field-fundingref .field-label, .field-field-fundingref .field-items, .field-field-fundingref .field-item {    
    display: inline;
}


.breadcrumb a:hover {
  color: #369;
  background-color: transparent;
}

/* Front page styles */

.fp {
  width: 100%;
}

.fptop {
  width: 100%;
  overflow: hidden;
}

.fptop img {
  float: left;
  margin: 0px 15px 0 0 ;
  vertical-align:top;
}

.fpbottom {
  width: 98%;
  padding: 10px 10px 25px 10px;
  border: 1px solid #424242;
  background-color: white;
  margin: 15px 0 15px 0;
  height: 100px;
  background-color: #FFFFCC;
}

.fpbotleft a,
.fpbotleft a:hover{
  border: 0;
  background-color: transparent;
  text-decoration: none;
  color: #424242;
  font-weight: bold;
  font-size: larger;

}

.fpbotleft img {
  border: 0;
  padding: 0;
  margin: 0px 10px 8px 0;
  vertical-align: middle;
}

.fpbotleft {
  height: 100%;
  width: 40%;
  margin-right: 4%;
  clear:none;
  padding-left: 10px;
}


.fpbotright {
  height: 100%;
  width: 56%;
  float:right;
  border: 1px solid #424242;
  padding: 5px 15px;
  clear:none;
  margin-right: 5px;
  background-color:white;
}

.fpbotright .view-header {
  font-size: 1.1em;
  font-weight: bold;
}

.fpbotright .views-field-title {
  padding: 0 0 5px 5px;
}

/**
 * New Front Page Styles
 */
 
.view-id-newnews.view-display-id-block_2 h2 {
  font-size: 1.3em;
  margin: 0px 0 10px 0;
}

.view-id-newnews.view-display-id-block_2 .content {
  margin: 5px 0 5px 0px; 
}

.view-id-newnews.view-display-id-block_2 ul.links.inline {
  float:right;
}

.view-id-newnews.view-display-id-block_2 ul.links.inline li {

}

.view-id-newnews.view-display-id-block_2 ul.links.inline a {
  text-decoration: none;
  padding: 0 6px;
}

.view-id-newnews.view-display-id-block_2 ul.links.inline a:hover {
  border-top: 1px solid #dddddd;
  border-left: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
  padding: 0 5px;
}

.view-id-newnews.view-display-id-block_2 .views-row  {
  border-bottom: 1px solid #dddddd;
  margin: 15px 15px 35px 0; 
}
 


.front-right-block {
  margin-left: 0px;
  padding: 5px 10px;
  border: 1px solid #dddddd;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px; 
}

.front-right-block h2 {
  font-size: 1.1em;
  margin-bottom:5px;
}
 
 
#front-links {

  background-color: #ffffcc;
}

#front-links a,
#front-links a:hover{
  border: 0;
  background-color: transparent;
  text-decoration: none;
  color: #424242;
  font-weight: bold;
  font-size: larger;

}

#front-links img {
  border: 0;
  padding: 0;
  margin: 0px 10px 8px 0;
  vertical-align: middle;
}

#front-links .pane-content p {
  margin: 0.4em 0 0.2em 0.2em;
}

#front-about .pane-content p {
  text-align: justify;
  word-wrap: break-word; 
}

.panels-flexible-column-last {
  float:right; 
}

/* Footer styles */
#footer {
  clear:both;
  float:left;
  width:100%;
  border-top:1px solid #666;
  padding: 5px 10px;
  font-size: 80%;
  color: #222;
}

#footer img {
  float:left;
}

#footer p {
  margin:0 20px 0 0;
  text-align: right;
}
