/*Stylesheet for S.Friedman Associates
Created by http://www.ilenehass.com
5-24-2010*/


@charset "UTF-8";




@font-face {
  font-family: "ITC Berkeley Oldstyle Std";
  src: url("http://typefront.com/fonts/825588137.eot");
  src: local("?"),
       url("http://typefront.com/fonts/825588137.woff") format("woff"),
       url("http://typefront.com/fonts/825588137.ttf") format("truetype"),
       url("http://typefront.com/fonts/825588137.svg") format("svg");
  font-weight: normal;
  font-style: normal;
}


* {
	margin: 0;
	padding: 0;} /*CSS Reset to keep designs consistent across browsers*/

/**html  {
	height: 100%;}*/

	

body {
	height: 100%;
	font-size: 80%;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #000;
	background-color: #397A83;
	margin: 0; /* Necessary for Safari to remove default around entire page */
	 padding: 0; /* Necessary for Safari to remove default around entire page */
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
    }
	
#container { 
	width: 100%;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	background: #F5F0E8;;
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	/*border: 1px solid #000000;*/
	text-align: left; /* this overrides the text-align: center on the body element. */
} 

#page-wrap { 
	width: 960px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	/*border: 1px solid #000000;*/
	/*text-align: left;  this overrides the text-align: center on the body element. */
} 
#header { 
	
	background: #F5F0E8; 
	padding: 0 10px 0 0;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */

}


#sidebar {
	float: right; /* since this element is floated, a width must be given */
	width: 310px;
	/*background: #F5F0E8 url(images/rolo.jpg) no-repeat left bottom; /* the background color will be displayed for the length of the content in the column, but no further */
	padding: 15px 0 15px 0px;
}


#sidebar h3 { 
width: 240px;
font-size: 1em;
line-height: 1.5em;
padding: 60px 0 20px 0;
color: #333;
}





#sidebar p, #sidebar ul { 
font-size: 1em;
width: 240px;
line-height: 1.8em;
padding-bottom: 1em;
color: #a37673; /*#333;*/
}

#sidebar p.casestudy, #sidebar ul.casestudy { 
font-size: .8em;/*was 1em;*/
width: 240px;
line-height: 1.5em;/*was 1.8em;*/
padding-bottom: 1em;
color: #a37673; /*#333;*/
}


#sidebar p.casestudy-caption { 
font-size: .8em;/*was 1em;*/
width: 240px;
line-height: 1.5em;/*was 1.8em;*/
padding-bottom: 1em;
color: #333;
}







#sidebar li{
	list-style-type: square;
	list-style-position: inside;
}



#mainContent { 
	margin: 0 375px 0 0; /* the right margin on this div element creates the column down the right side of the page - no matter how much content the sidebar1 div contains, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. */
	padding: 0 20px 0 110px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
} 


#mainContent p, #mainContent ul{ 
font-size: 1em;
line-height: 1.8em;
padding-bottom: 1em;
color: #333;
}


#mainContent li{
	list-style-type: square;
	list-style-position: inside;
}




/* need to troubleshoot these*/
#maincontent a[href]:link { 
    color: #4798a1;
	text-decoration: none;
	} 



#maincontent a[name]:link {
	color: #000;
	} 




	
h1 {
/*font-family: Tangerine, Cardo, serif;*/
 font-family: "ITC Berkeley Oldstyle Std", sans-serif; 

	font-size: 2em;
	line-height: 1.2em;
	font-weight: normal;
	color: #a37673;
	padding: 30px 0;  
	}

 /*.wf-inactive h1 { // Show heading in serif font until fonts have loaded.
    font-family: serif;
    font-size: 16px;
	}
  
  .wf-active h1 { // Show heading in Cantarell when the fonts have loaded.
   font-family: 'Cardo', serif;
  /*  font-family: 'Cardo:200', 'Cantarell:200', serif;
    font-size: 16px;
	}*/


h2 {

	font-size: 1em;
	line-height: 1em;
	font-weight: bold;
	color: #000;
	padding: 10px 0 0 0;  
	}





 a { 
    color: #4798a1;
	text-decoration: none;
	}





#footer { 
	font-size: .9em;
	line-height: 1em;
	background:#FFF;
	min-height:60px;
	
} 

#footer-content { 
	padding-top: 20px;
	width: 960px;
	margin: 0 auto; 
} 
#footer p {
	padding: 10px 10px 10px 110px; 
	margin: 0;
	
}







.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 12px;
}
.fltlft { /* this class can be used to float an element left in your page */
	float: left;
	margin-right: 12px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}



#nav {
	margin: 0 auto;
	padding-top: 15px;
	float: right;
	height: 80px;
	vertical-align: top;
	text-align: right;
	width: 960px;
	}
	
#nav li {
	display: inline;
	padding: 5px 20px 5px 20px;
	/*margin-right: 5px;*/
	}
	
	
 #nav-on {
	color: #000;
	border: 1px solid #FFFFFF;
	background-color: #f8f5f0;
	padding: 5px 20px 5px 20px;
	margin: 0 -20px;
	}	
	
	
		

#nav li a:link { color: #4798a1; text-decoration: none; }		
/*#nav li a:visited {text-decoration: underline;}	*/	
#nav li a:hover {text-decoration: underline; }	
/*#nav li a:active {text-decoration: none; }	*/
	
 /* #nav-on li a:link, #nav-on li a:hover { text-decoration: none;}   not working   */
	
	
#sidebar p.rolocopy {
	width: 310px;
	margin: 0px;
	margin-right: -20px;
	font-size: 12px;/*.9em;*/
	line-height: 16px;/*1.4em;*/
	padding: 25px 0px 75px 25px;
	color: #333;
	background: #F5F0E8 url(images/rolo.jpg) no-repeat left top;
}


.sitecredit {
	padding-top: 15px;
	padding-left: 650px;
	font-size: .9em;
}

.sitecredit a {
	color: #a2cad0;
	text-decoration: none;
	
	}
.sidebar-top{
	padding: 100px 0 20px 0;
	}
