 /* CSS Mastery: Advanced Web Standards Solutions - Simon Collison's tutorial */

/* the appropriate background class will be applied based on class attached to the body */

body {
margin: 0;
padding: 0;
font:70% 'Lucida Grande',Verdana, Helvetica, sans-serif;
}
#threeColLayout {
background: #CAC78A url(../images/background.gif) repeat-x fixed;
}
#twoColLayout {
	background: #243c4f;
}

#twoColLayout2 {
	background: #000000;
}



#oneColLayout {
background: #CAC78A url(../images/background.gif) repeat-x fixed;
}

.kemps {
	background: #A9A4A0;
}

/* default links */

a:link {
	background-color: transparent;
	text-decoration: underline;
	color: #377192;
}
a:hover {
text-decoration: underline;
color: #000000;
}
a:visited {
background-color: transparent;
text-decoration: underline;
color: #666
}

/* headers here */

h1 {
margin: 0;
padding: 30px;
font-size: 150%;
color: #FF0000;
text-indent: -9000px;
}

h2 {
	margin: 0 10px 0 3px;
	padding: 2px;
	font-size: 130%;
	color: #243c4f;
	text-transform: uppercase;
}

.callOut h2 {
font-size: 90%;
text-transform: uppercase;
background-color:#000000;
color: #ffffff;
margin: 0px 0px 0 0px;
padding: 5px;
}


/* and then these h3 statements, unique to whichever section has been attached above, will give the headers the appropriate background color */

h3 {
text-transform: uppercase;
display: inline;
font-size: 92%;
margin: 10px 5px 0 5px;
padding: 2px;
}

.default h3 {
background: #F6CE45;
}
.careers h3 {
background: #F762E0;
}
.one_man h3 {
font-size: 110%;
background: #B18FD1;
}
.features h3 {
font-size: 90%;
text-transform: uppercase;
display: inline;
margin: 10px 5px 0 0px;
padding: 0px;
}
.profiles h3 {
background: #C4DDB8;
}

/* main wrapper that holds it all centrally */

#wrapper {
	width:795px;
	margin:0 auto;
	background-color: #FFFFFF;
	padding: 0 0px 0px 0px;
	background-image: url(../images/duo-trees-bg.jpg);
}

#wrapperPhotos {
	width:795px;
	margin:0 auto;
	background-color: #FFFFFF;
	padding: 0 0px 0px 0px;
	
}

/* default masthead holding the banner and mainNav */

#header {
	width: 795px;
	height: 350px;
	background-image: url(http://www.unilevernationalparks.com/images/photo-contest2008/grand-prize/Scott_Vincent_header.jpg);
}

#headerKemps{
width: 795px;
height: 350px;
background:url(../images/header-kemps.jpg);
}

#headerInternships{
width: 795px;
height: 350px;
background:url(../images/header-internship.jpg);
}

#headerClassroom{
width: 795px;
height: 350px;
background:url(../images/header-classroom.jpg);
}

#headerGrants{
width: 795px;
height: 350px;
background:url(../images/header-grants.jpg);
}

#headerNpat{
width: 795px;
height: 350px;
background:url(../images/header-npatour.jpg);
}

#headerVisitor{
	width: 795px;
	height: 350px;
	background:url(../images/header-visitor.jpg);
}

#headerHPHL{
width: 795px;
height: 350px;
background:url(../images/header-hphl.jpg);
}

#headerJRranger{
width: 795px;
height: 350px;
background:url(../images/header-jrrangers.jpg);
}

#headerContact{
width: 795px;
height: 350px;
background:url(../images/header-contact.jpg);
}

#headerPhoto{
	width: 795px;
	height: 350px;
	background-image: url(http://www.unilevernationalparks.com/images/photo-contest2008/grand-prize/Scott_Vincent_gradprize_hea.jpg);
}

/* now the three main columns, named in order of importance and display when styles switched off */

#primaryContent {
float:left;
width:750px;
display:inline;
margin: 0 0 20px 0;
}

/* note here that specifying threeColLayout in the body will activate the following div instead of the default primaryContent */

#threeColLayout #primaryContent {
float:left;
width:270px;
margin: 0 0 20px 195px;
}

/* note here that specifying twoColLayout in the body will activate the following div instead of the default primaryContent */

#twoColLayout #primaryContent {
width:530px;
float:left;
margin: 0 0 20px 265px;
}

/* just incase twoColLayout is specified in body, and secondaryContent is left in, we turn it off - not ideal, but it works */

#twoColLayout #secondaryContent {
display: none;
}

#secondaryContent{
float:left;
width:270px;
margin: 0 0 20px 15px;
}

#sideContent{
float:left;
width:250px;
margin: 0 0 20px -795px;
font-size:10px;
}


/* just incase oneColLayout is specified in body, and these are left in, we turn them off - not ideal, but it works */

#oneColLayout #secondaryContent, #oneColLayout #sideContent {
display: none;
}

/* twoColContent - used to span two right-hand columns - ONLY LEAVE THIS IN IF I DISCUSS IT - box used only if no selector */

#twoColContent{
width:555px;
float:left;
margin: 0 0 20px 195px;
}

/* cbSide controls non-rounded boxes in the thinner left column, known as sideContent */

.cbSide {
width:245px;
margin: -20px 0 0 0px;
padding: 0px 0 5px 0;
}
.cbSide p {
margin: 0;
padding: 0 5px 2px 5px;
font-size: 120%;
color: #666;
}

/* box is the shaded area that holds a rounded corner box or flat box, fitting the given width of the column it is in. Usually combined with another class to control inner elements, eg box default */

.box {
margin: 15px 0 0 0;
padding: 5px 15px 5px 0;
}

/* Styling of the boxes if there is no JavaScript support */

.cbb {
margin: 0 10px 0 10px;
background: #FFF;
padding: 5px 0 5px 0;
line-height: 150%;
}

/* paragraph styles for any main boxes */
.cbb p, .cb p {
margin: 0;
padding: 0 5px 5px 5px;
color: #333;
}

/* Insert the custom corners and borders for browsers with sufficient JavaScript support */

.cb {
margin: 0.5em 0;
line-height: 190%;
	}

/* Rules for the top corners and border */
.bt {
	background:url(../box.png) no-repeat 100% 0  !important;
	background:url(../box.gif) no-repeat 100% 0;
	margin:0 0 0 18px;
	height:27px;
	}
.bt div {
	height:27px;
	width:18px;
	position:relative;
	left:-18px;
	background:url(../box.png) no-repeat 0 0  !important;
	background:url(../box.gif) no-repeat 0 0;
	}

/* Rules for the bottom corners and border */
.bb {
	background:url(../box.png) no-repeat 100% 100%  !important;
	background:url(../box.gif) no-repeat 100% 100%;
	margin:0 0 0 12px;
	height:14px;
	}
.bb div {
	height:14px;
	width:12px;
	position:relative;
	left:-12px;
	background:url(../box.png) no-repeat 0 100%  !important;
	background:url(../box.gif) no-repeat 0 100%;
	}

/* Insert the left border */
.i1 {
	padding: 0 0 0 12px;
	background:url(../borders.png) repeat-y 0 0  !important;
	background:url(../borders.gif) repeat-y 0 0;
	}
/* Insert the right border */
.i2 {
	padding: 0 12px 0 0;
	background:url(../borders.png) repeat-y 100% 0  !important;
	background:url(../borders.gif) repeat-y 100% 0;
	}
/* Wrapper for the content. Use it to set the background colour and insert some padding between the borders and the content. */
.i3 {
	background:#FFF;
border: 1px solid #FFF;
	border-width:1px 0;
	padding:0 5px;
	}
/* CSS for the box ends here */

/* date and posted control the small text info in article blurbs */

.credit {
	font-size: 80%;
	font-weight: normal;
	color: #243C4F;
	display: block;
	margin-top: 0px;
	line-height: 15px;
}

.creditTitle {
	font-size: 90%;
	font-weight: bold;
}

.caption {
	font-size: 85%;
	font-weight: normal;
	color: #000000;
	display: block;
	margin-top: 15px;
	line-height: 15px;
}



.caption a:link{
	font-weight: normal;
	color: #000000;
	text-decoration: underline;
}

.caption a:hover{
font-weight: normal;
background-color: #000000;
color: #FFFFFF;
}


.posted {
display: block;
margin: -5px 0 0 50px;
padding: 0 0 10px 0;
font-weight: bold;
color: #666;
}

.postedUnderline {
display: block;
margin: 0 5px 5px 50px;
padding: 0 0 5px 0;
font-weight: bold;
color: #666;
border-bottom: 1px solid #999;
}

address {
margin-left: 50px;
}

/* erm, the footer */

#footer{
	clear:both;
width: 750px;
height: 40px;
padding: 0px;
}
#footer p {
margin: 10px 10px 0 0;
padding: 50px 4px 4px 0;
font-weight: bold;
}

#footer a:link, #footer a:visited {
color: #D7D493;
}
#footer a:hover {
color: #000;
background: #D7D493;
}

/* image control. First we define stuff common to ALL images on the page. It is then up to other styles to override these. By default, all images will have a 2px border, and bottom and right margins of 5px. They will all float left. */

img {
float: none;
margin: 0px 0px 0px 0px;
border: 0px solid #FFFFFF;
}

/* For any images in the default boxes - the pencil icons - I don't want the 2px border. So I set border to 0 */

.default img {
	border: 6;
	border-color: #FFFFFF;
}

.cb img {
float: right;
margin: 7px 5px 7px 12px;
border: 2px solid #FFFFFF;
}

/* For these larger images, I don't want them to float, for that causes the h3 above to be pushed to the right. I also declare a top margin to space the header and image apart, and also increase the border width slightly.  We also set it to display:block so that if body id is twoColLayout, the image will force the header and other bits to wrap around it */

.mainImage {
	display: inline;
	float: none;
	margin-top: 4px;
	border: 3px solid #ffffff;
	margin-bottom: 4px;
}

/* drop shadow effect for the gallery thumbnails. Sadly this requires a div to be wrapped around the image markup, which is a shame */

.img-wrapper {
	margin: 0px 0px 20px 10px;
	float:right;
	line-height:0;
}

.img-wrapper-gallery {
	line-height:0;
}

.gallery img {
	margin:0;
	float: none;
	background:#fff;
	padding:4px;
	border:1px solid #243c4f;
	position:relative;
	left:0px;
	top:0px;
	
}

.img-wrapper-left {
margin: 0px 0px 20px 5px;
float:left;
}

.margin {
margin-right:15px;
}
 
.img-wrapper img {
float:none;
margin:0;
background:#fff;
padding:6px;
border:1px solid #243c4f;
position:relative;
left:0px;
top:0px;
}

.img-wrapper-left img {
float:none;
margin:0;
background:#fff;
padding:6px;
border:1px solid #243c4f;
position:relative;
left:0px;
top:0px;
}

/* used to ensure all our floated thumbnails stay the right width away from the left side of the box */

.thumbnails {
margin: 0 0 20px 50px;
}

/* spacer used immediately after the floated gallery thumbnails to ensure the box expands to hold them all */

.spacer {
clear: both;
}

/* CSS for the ticked off links. Note, I am not ordering things in the LVHA way, as I prefer the visited tick to work above the arrow once visited. */

.cbSide ul {
	font-weight: bold;
	list-style-type: none;
	margin-top: 0px;
	margin-left: 0px;
	margin-bottom: 0;
	padding: 3px;
}

.cbSide li a:link {
	color:#243c4f;
	line-height:250%;
	text-decoration:none;
	display:block;
	width:245px;
	border-bottom: 1px dotted #243c4f;
}


.cbSide li a:hover {
	color:#000000;
	line-height:250%;
	display:block;
	width:245px;
	border-bottom: 1px dotted #243c4f;
	text-decoration:none;
	background-color: #CBDACF;
}

.cbSide li a:visited {
	color:#243c4f;
	line-height:250%;
	text-decoration:none;
	display:block;
	width:245px;
	border-bottom: 1px dotted #243c4f;
}

/* Highlighting the current page */

body.home .cbSide a#home, body.photo .cbSide a#photo, body.kemps .cbSide a#kemps, body.contact .cbSide a#contact, body.internships .cbSide a#internships, body.classroom .cbSide a#classroom, body.grants .cbSide a#grants, body.npat .cbSide a#npat, body.visitor .cbSide a#visitor, body.hphl .cbSide a#hphl, body.rangers .cbSide a#rangers, body.contact .cbSide a#contact {
	color:#000000;
	line-height:250%;
	display:block;
	width:245px;
	border-bottom: 1px dotted #243c4f;
	text-decoration:none;
	background-color: #CBDACF;
}

body.home .cbSide a:hover#home,  body.photo .cbSide a:hover#photo, body.kemps .cbSide a#kemps, body.contact .cbSide a:hover#contact, body.internships .cbSide a:hover#internships, body.classroom .cbSide a:hover#classroom, body.grants .cbSide a:hover#grants, body.npat .cbSide a:hover#npat, body.visitor .cbSide a:hover#visitor, body.hphl .cbSide a:hover#hphl, body.rangers .cbSide a:hover#rangers, body.contact .cbSide a:hover#contact  { 
	color:#000000;
	line-height:250%;
	display:block;
	width:245px;
	border-bottom: 1px dotted #243c4f;
	text-decoration:none;
	background-color: #CBDACF;
}

.callOut {
	clear:both;
	font-weight: bold;
	margin: 20px 0 10px 0px;
	padding: 0px;
	line-height: normal;
	background-color: #FFFFFF;

}

.callOut2 {
	font-weight: bold;
	margin: 20px 0 10px 0px;
	padding: 0px;
	line-height: normal;
	background-color: #FFFFFF;

}

.callOut ul {
	color: #000000;
	font-weight: normal;
	margin: 10px 0 2px 15px;
	padding: 2px;

}
