/*-----------------------------------------------------------------------------
Mackays Cottage
last update:    	October 2007
design and code:   	Universal Head
-----------------------------------------------------------------------------*/

/* Basics
-----------------------------------------------------------------------------*/

* {
  	margin: 0;
	padding: 0;
}

.clear {
	clear: both;
}

img {
	border: 0;
}

body {
	font: 62.5%/1.6 'Lucida Grande', 'Lucida Sans', Tahoma, Verdana, 'Trebuchet MS', sans-serif;
	text-align: center;
	background-color: #1d291b;
	margin-top: 20px;
	margin-bottom: 30px;	
}

/* Typography
-----------------------------------------------------------------------------*/

p {
	font-size: 1.2em;
	color: #968E79;
}

h1 {
	font-family: Georgia, Times, 'Times New Roman', sans-serif;
	font-size: 3em;
	font-weight: normal;
	line-height: 1.2em;
	color: #3f4b33;
}

h2 {
	font-family: Georgia, Times, 'Times New Roman', sans-serif;
	font-size: 1.9em;
	line-height: 1.2em;
	font-weight: normal;
	color: #3f4b33;
}

h3 {
	font-family: Georgia, Times, 'Times New Roman', sans-serif;
	font-size: 1.7em;
	font-style: italic;
	font-weight: normal;
	color: #5e682f;
}

h4 {
	font-family: 'Lucida Grande', 'Lucida Sans', Tahoma, Verdana, 'Trebuchet MS', sans-serif;
	font-size: 1.2em;
	font-weight: bold;
	color: #867436;
}

h5 {
	font-family: 'Lucida Grande', 'Lucida Sans', Tahoma, Verdana, 'Trebuchet MS', sans-serif;
	font-size: 1em;
	font-weight: bold;
	color: #867436;
}

h6 {
	font-family: 'Lucida Grande', 'Lucida Sans', Tahoma, Verdana, 'Trebuchet MS', sans-serif;
	font-size: 1em;
	font-weight: bold;
	color: #867436;
}

/* Links
-----------------------------------------------------------------------------*/

a:link {
	color: #867436;
	text-decoration: none;
}

a:visited {
	color: #1d291b;
	text-decoration: none;
}

a:hover {
	color: #1d291b;
	text-decoration: none;
}

a:active {
	color: #867436;
	text-decoration: none;
}

.gallerygrid a {
	border-bottom: none;
}

.external {
	background: url(../images/externalLink.gif) no-repeat right top;
	padding-right: 10px;
}


/* Structure
-----------------------------------------------------------------------------*/

#wrapper {
	width: 936px;
	margin: 0 auto;
	text-align: center;
	background: #1d291b url(../images/wrapperbg.jpg) repeat-y top left;        
}

#masthead {
	width: 900px;
	height: 416px;
	margin: 0 auto;
	background-color: #f6f4df;
}

#mainnav {
	width: 936px;
	height: 55px;
	margin: 0 auto;
	text-align: center;
	background: url(../images/navbg.jpg) no-repeat bottom left;        
}

#contentwrapper {
	width: 900px;
	margin: 0 auto;
	text-align: left;
}

#maincolumn {
	width: 635px;
	float: left;
	display: inline;
	overflow: visible;
	position: relative;
	text-align: left;
	padding-top: 30px;
	padding-bottom: 30px;
}

#widecolumn {
	width: 900px;
	float: left;
	display: inline;
	overflow: visible;
	position: relative;
	text-align: left;
	padding-top: 30px;
	padding-bottom: 0;
}

#sidecolumn {
	width: 265px;
	float: left;
	display: inline;
	overflow: visible;
	position: relative;
	text-align: left;
	padding-top: 30px;
	padding-bottom: 30px;
}

#footer {
	clear: both;
	width: 936px;
	height: 59px;
	margin: 0 auto;
	text-align: center;
	background: url(../images/footerbg.jpg) no-repeat top left;
}


#footerindex {
	clear: both;
	width: 936px;
	height: 54px;
	margin: 0 auto;
	text-align: center;
	background: url(../images/footerbgindex.jpg) no-repeat top left;
}


/* Main Nav
-----------------------------------------------------------------------------*/

#mainnav ul { 
	font: 1.2em/4em Georgia, Times, 'Times New Roman', sans-serif;
	letter-spacing: 0.1em;
	list-style-type: none;
	overflow: hidden;
	padding: 0;
	margin-left: 130px;
	padding-top: 2px;
}

#mainnav ul li {
	float: left;
	width: 95px;
	padding: 0;
	margin: 0;
}

#mainnav ul li a {
	text-align: center;
	text-decoration: none;
	border-bottom: 0;
}

#mainnav ul li#one { 
	width: 100px;
	background: url(../images/divider.gif) no-repeat right;
}

#mainnav ul li#two { 
	width: 100px;
	background: url(../images/divider.gif) no-repeat right;
}

#mainnav ul li#three { 
	width: 100px;
	background: url(../images/divider.gif) no-repeat right;
}

#mainnav ul li#four { 
	width: 100px;
	background: url(../images/divider.gif) no-repeat right;
}

#mainnav ul li#five { 
	width: 130px;
	background: url(../images/divider.gif) no-repeat right;
}

#mainnav ul li#six { 
	width: 130px;
}

body#sectionone #mainnav li#one a, 
body#sectiontwo #mainnav li#two a,
body#sectionthree #mainnav li#three a,
body#sectionfour #mainnav li#four a,
body#sectionfive #mainnav li#five a,
body#sectionsix #mainnav li#six a {
	color: #1d291b;
	border-bottom: 4px solid #1d291b;
}

#mainnav a:hover {
	color: #1d291b;
	border-bottom: 4px solid #1d291b;
}

#mainnav a:active {
	color: #867436;
}

#mainnav .here a {
	color: #1d291b;
	border-bottom: 4px solid #1d291b;
}

/* Main Column
-----------------------------------------------------------------------------*/

#widecolumn h1 {
	margin: 0 30px 0.2em 60px;
}

#widecolumn p {
	font-size: 1em;
	margin: 0 30px 1em 60px;
}

#maincolumn p, #maincolumn h1, #maincolumn h2, #maincolumn h3, #maincolumn h4, #maincolumn h5, #maincolumn h6, #maincolumn form, #maincolumn fieldset, #maincolumn table {
	margin: 0 30px 1em 60px;
}

#maincolumn h1 {
	margin-bottom: 0.5em;
}

#maincolumn h2 {
	padding-top: 10px;
	margin-bottom: 0.2em;
}

#maincolumn h3 {
	padding-top: 0.5em;
	margin-bottom: 0.2em;
}

#maincolumn h4 {
	margin-bottom: 0;
}

#maincolumn ul {
	margin: 0 30px 1.2em 80px;
	color: #968E79;
	font-size: 1.3em;
}	

#maincolumn ul li {
	list-style-type: circle;
	padding-bottom: 0.5em;
}

#maincolumn #subnav {
	font: 1.2em/3em Georgia, Times, 'Times New Roman', sans-serif;
	color: #ccc8a3;
	letter-spacing: 0.1em;
	font-size: 1.2em;
	line-height: 3em;
	margin: 0 25px 20px 26px;
	text-align: left;
	border-bottom: 4px #ccc8a3 solid;
}	


/* Side Column
-----------------------------------------------------------------------------*/

#sidecolumn p, #sidecolumn h1, #sidecolumn h2, #sidecolumn h3, #sidecolumn h4, #sidecolumn h5, #sidecolumn h6, #sidecolumn form, #sidecolumn fieldset, #sidecolumn table, #sidecolumn ul {
	margin: 0 60px 1em 30px;
}

#sidecolumn h1 {
	margin-bottom: 0.5em;
}

#sidecolumn h2 {
	padding-top: 10px;
	margin-bottom: 0.2em;
}

#sidecolumn h3 {
	padding-top: 0.5em;
	margin-bottom: 0.2em;
}

#sidecolumn h4 {
	margin-bottom: 0;
}

#sidecolumn h5 {
	margin-top: 0;
	margin-bottom: 1em;
}

#sidecolumn h6 {
	margin-top: 2em;
	margin-bottom: 0;
}

#sidecolumn p {
	font-size: 1.1em;
	margin-bottom: 0.5em;
}

#sidecolumn .fineprint {
	font-size: 1em;
	margin: 0 60px 0.8em 30px;
}

#sidecolumn ul {
	margin-top: 5px;
	margin-left: 25px;
	list-style-type: circle;
}	

#sidecolumn ul li {
	padding-bottom: 0.7em;
}


/* Footer
-----------------------------------------------------------------------------*/

#footer p {
	font-size: 1em;
	line-height: 4em;
	margin: 0 30px 0 30px;
}

#footerindex p {
	font-size: 1em;
	line-height: 3em;
	margin: 0 30px 0 30px;
}


/* Images
----------------------------------------------- */

.fLeftCaption {
	float: left;
	width: 234px;
	margin: 0 20px 1em 25px;
	text-align: center;
	background-color: #eae9d9;
	border: 1px solid #ccc8a3;
}

.fLeftCaption img {
	padding: 2px;
}

.fLeftCaption p {
	margin: 0 !important;
	padding: 0 !important;
	padding: 5px 8px 8px 8px  !important;
	font-size: 1.1em;
	font-style: italic;
}

.fRightCaption {
	float: right;
	width: 234px;
	margin: 0 30px 1em 20px;
	text-align: center;
	background-color: #eae9d9;
	border: 1px solid #ccc8a3;
}

.fRightCaption img {
	padding: 2px;
}

.fRightCaption p {
	margin: 0 !important;
	padding: 0 !important;
	padding: 5px 8px 8px 8px  !important;
	font-size: 1.1em;
	font-style: italic;
}


/* Gallery Grid
----------------------------------------------- */

.gallerygrid {
	width: 780px;
	margin: 0;
	padding: 0;
	margin-left: 50px;
}

.gallerygrid .pic {
	float: left;
	width: 180px;
	height: 120px;
	margin: 0;
	margin-left: 13px;
	margin-top: 13px;
	padding: 0;
	border: 1px solid #fff;
}

iframe {
	border: 1px solid #fff;
	margin-top: 20px;
	margin-left: 60px;

}

/* Forms
----------------------------------------------- */

fieldset { border: 1px solid transparent; }
form label { cursor: pointer; }
input, select, textarea { font-size: 100%; }

form {
	font-size: 1.1em;
	font-style: italic;
	color: #968E79;
}

form dl {
	padding-bottom: 1em;
	padding-left: 0px;
	margin: 0;
}

form dl dd {
	padding-bottom: 1.5em;
	padding-left: 0px;
	margin: 0;
}

/* Lightbox
----------------------------------------------- */

#lightbox {
	position: absolute;
	top: 40px;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
}

#lightbox a { border: none; }
#lightbox a img { border: none; }

#outerImageContainer {
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	margin: 0 auto;
}

#imageContainer {
	padding: 10px;
}

#loading {
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
}

#hoverNav {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
}

#imageContainer>#hoverNav { left: 0;}
#hoverNav a { outline: none;}

#prevLink, #nextLink {
	width: 49%;
	height: 100%;
	background: transparent url(../images/blank.gif) no-repeat; /* Trick IE into showing hover */
	display: block;
}

#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(../images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(../images/nextlabel.gif) right 15% no-repeat; }

#imageDataContainer {
	font: 10px Verdana, Helvetica, sans-serif;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
}

#imageData {
	padding:0 10px;
}

#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em;	}	
		
#overlay {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
	background-color: #000;
	filter:alpha(opacity=60);
	-moz-opacity: 0.6;
	opacity: 0.6;
	}
	

.clearfix:after {
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
}

* html>body .clearfix {
	display: inline-block; 
	width: 100%;
}

* html .clearfix {
	/* Hides from IE-mac \*/
	height: 1%;
	/* End hide from IE-mac */
}	

