
/* --------------------------------------------------------------------------------------- */
/* global.css - web site layout parameters for Harpswell House web-site */
/* --------------------------------------------------------------------------------------- */

body  {
	font: 100% Verdana, Arial, Helvetica, sans-serif;
	background: #EBEBEB;	/* Light gray */
	background: #708090;	/* Slate gray */

	/* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	margin: 0; 
	padding: 0;

	/* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	text-align: center; 
	color: #000000;
	background-image: url();
	background-repeat: repeat;
}


/* Tips for Elastic layouts 
1. Since the elastic layouts overall sizing is based on the user's default fonts size, they are more unpredictable. Used correctly, they are also more accessible for those that need larger fonts size since the line length remains proportionate.
2. Sizing of divs in this layout are based on the 100% font size in the body element. If you decrease the text size overall by using a font-size: 80% on the body element or the #container, remember that the entire layout will downsize proportionately. You may want to increase the widths of the various divs to compensate for this.
3. If font sizing is changed in differing amounts on each div instead of on the overall design (ie: #sidebar1 is given a 70% font size and #mainContent is given an 85% font size), this will proportionately change each of the divs overall size. You may want to adjust based on your final font sizing.
*/
.twoColElsLtHdr #container { 
	/*width: 46em;					/* 46em - this width will create a container that will fit in an  800px browser window if text is left at browser default font sizes */
	width: 60em;				/* 58em - this width will create a container that will fit in an 1024px browser window if text is left at browser default font sizes */
	margin: 0 auto;				/* the auto margins (in conjunction with a width) center the page */
	border: 0px solid #FFFFFF;	/* White Border, 0 pixels wide */
	text-align: left;			/* this overrides the text-align: center on the body element. */
	background: #EBEBEB;		/* Light Gray */
	/*background: #708090;			/* Slate gray */
}

.twoColElsLtHdr #header { 
	height: 115px;
	padding: 0 0 0 5px;			/* 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. */
	margin: 0em 0em 0;			/* top, right, bottom, left */
	background: #EBEBEB;		/* Light Gray */
	/*border-bottom: 3px outset #25697b;	/* 'Harpswell House Blue' Border, 5 pixels wide */
	/*border: 5px outset #25697b;		/* 'Harpswell House Blue' Border, 1 pixels wide */
}

.twoColElsLtHdr #header h1 {
	margin: 0 0 0;				/* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
	padding: 10px 10px 0;		/* using padding instead of margin will allow you to keep the element away from the edges of the div */
}


.twoColElsLtHdr #header h2 {
	font: 250% "Monotype Corsiva", Verdana, Arial, Helvetica, sans-serif;
	text-align: center;
	margin: 0 0em 0 0em;		/* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
	padding: 5px;				/* using padding instead of margin will allow you to keep the element away from the edges of the div */
	/*border-bottom: 2px outset #25697b;	/* 'Harpswell House Blue' Border, 5 pixels wide */
}


.twoColElsLtHdr #topHeader {
	margin: 1em 0em 0em 0em;	/* the right margin can be given in ems or pixels. It creates the space down the right side of the page. THIS LINE FOR LEFT-JUSTIFIED NAVIGATION BAR */
	padding: 0px;
}


.twoColElsLtHdr #botHeader {
	margin: 0 0em 1em;			/* the right margin can be given in ems or pixels. It creates the space down the right side of the page. THIS LINE FOR LEFT-JUSTIFIED NAVIGATION BAR */
	padding: 0px;
	/*border-bottom: 4px inset #25697b;	/* 'Harpswell House Blue' Border, 5 pixels wide */
	/*border-bottom: 1em solid #708090;	/* 'Harpswell House Blue' Border, 5 pixels wide */
}


/* Tips for sidebar1:
1. Be aware that if you set a font-size value on this div, the overall width of the div will be adjusted accordingly.
2. Since we are working in ems, it's best not to use padding on the sidebar itself. It will be added to the width for standards compliant browsers creating an unknown actual width. 
3. Space between the side of the div and the elements within it can be created by placing a left and right margin on those elements as seen in the ".twoColElsLtHdr #sidebar1 p" rule.
*/
.twoColElsLtHdr #sidebar1 {
	float: left;
	width: 12em;				/* since this element is floated, a width must be given */
	background: #dcdcdc;		/* the background color will be displayed for the length of the content in the column, but no further */
	padding: 0px;				/* top and bottom padding create visual space within this div */
	margin: 2em 0 0 0.75em;

	/*border: 3px outset #25697b;		/* 'Harpswell House Blue' Border, 1 pixels wide */
	/*border: 3px double #25697b;		/* 'Harpswell House Blue' Border, 1 pixels wide */
	/*border: 5px outset #25697b;		/* 'Harpswell House Blue' Border, 1 pixels wide */

	/*border-top: 1px solid #25697b;		/* 'Harpswell House Blue' Border, 1 pixels wide */
	/*border-left: 1px solid #25697b;		/* 'Harpswell House Blue' Border, 1 pixels wide */
	/*border-right: 3px solid #708090;		/* 'Harpswell House Blue' Border, 1 pixels wide */
	/*border-bottom: 3px solid #708090;	/* 'Harpswell House Blue' Border, 1 pixels wide */
	/*border: 1px solid #25697b;			/* 'Harpswell House Blue' Border, 1 pixels wide */
}


.twoColElsLtHdr #sidebar1 h3 {
	margin: 2em 0 0.5em 0;			/* the left and right margin should be given to every element that will be placed in the side columns */
	text-align: left;
	font-size: 1em;
	color: #000000;
}


.twoColElsLtHdr #sidebar1 ul {
	list-style: none;
	padding: 0;
	margin-left: 5px;			/* the left and right margin should be given to every element that will be placed in the side columns */
	margin-right: 5px;
	text-align: left;
}


.twoColElsLtHdr #sidebar1 li {
	margin: 0 5px 0;			/* the left and right margin should be given to every element that will be placed in the side columns */
	padding: 0.15em 0 0.15em;
	text-align: left;
}


.twoColElsLtHdr #sidebar1 a{
	display: block;
}


.twoColElsLtHdr #topSidebar {
	float: left;
	width: 12em;
}


.twoColElsLtHdr #botSidebar {
	float: left;
	width: 12em;
}


/* Tips for mainContent:
1. If you give this #mainContent div a font-size value different than the #sidebar1 div, the margins of the #mainContent div will be based on its font-size and the width of the #sidebar1 div will be based on its font-size. You may wish to adjust the values of these divs.
2. The space between the mainContent and sidebar1 is created with the left margin on the mainContent div.  No matter how much content the sidebar1 div contains, the column space will remain. You can remove this left margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends.
3. To avoid float drop, you may need to test to determine the approximate maximum image/element size since this layout is based on the user's font sizing combined with the values you set. However, if the user has their browser font size set lower than normal, less space will be available in the #mainContent div than you may see on testing.
4. In the Internet Explorer Conditional Comment below, the zoom property is used to give the mainContent "hasLayout." This avoids several IE-specific bugs that may occur.
*/
.twoColElsLtHdr #topContent {
	margin: 0 0em 0em 13.5em;			/* the right margin can be given in ems or pixels. It creates the space down the right side of the page. THIS LINE FOR LEFT-JUSTIFIED NAVIGATION BAR */
	padding: 0px;
}


.twoColElsLtHdr #botContent {
	margin: 0 0em 0em 13.5em;			/* the right margin can be given in ems or pixels. It creates the space down the right side of the page. THIS LINE FOR LEFT-JUSTIFIED NAVIGATION BAR */
	padding: 0px;
}


.twoColElsLtHdr #mainContent {
	width: 739px;
	margin: 0 12em 0em 0em;				/* the right margin can be given in ems or pixels. It creates the space down the right side of the page. THIS LINE FOR RIGHT-JUSTIFIED NAVIGATION BAR*/
	margin: 0 0em 0em 12em;				/* the right margin can be given in ems or pixels. It creates the space down the right side of the page. THIS LINE FOR LEFT-JUSTIFIED NAVIGATION BAR */
	margin: 1em 0em 1em 13.5em;			/* the right margin can be given in ems or pixels. It creates the space down the right side of the page. THIS LINE FOR LEFT-JUSTIFIED NAVIGATION BAR */
	/* top right bottom left */
	padding: 1px;
	background: #EBEBEB;				/* Light Gray */
	/*border: 5px outset #25697b;			/* 'Harpswell House Blue' Border, 1 pixels wide */
	/*border-top: 2px outset #25697b;			/* 'Harpswell House Blue' Border, 1 pixels wide */
}


.twoColElsLtHdr #photos {
	margin: 0 0.5em 0em 13.5em;				/* the right margin can be given in ems or pixels. It creates the space down the right side of the page. THIS LINE FOR LEFT-JUSTIFIED NAVIGATION BAR */
	padding: 10px;
	background: #EBEBEB;				/* Light Gray */
	/*background: #708090;	/* Slate gray */
}

.twoColElsLtHdr #photos a{
	margin: 0 0 0 0;
	padding: 0px;
	color: #EBEBEB;
}


.twoColElsLtHdr #photos h6 {
	text-align: center;
	color: #FFFFFF;			/* White */
	color: #25697b;			/* Harpswell House blue */
	background: #25697b;	/* Harpswell House blue */
	background: #dcdcdc;	/* Medium gray (matches the navigation sidebar */
	background: #ebebeb;	/* Light gray */
	/*border-top: 1px solid;*/
	padding: 0px;
	/*margin: 0em 22.5em 1em;*/		/* These margins are good for placing the text on a solid background */
	margin: 0em 2em 1em;
}


.twoColElsLtHdr #footer { 
	padding: 0 10px;				/* this padding matches the left alignment of the elements in the divs that appear above it. */
	margin: 0 0 0 0em;
	background: #EBEBEB;			/* Light Gray */
	background: #708090;			/* Slate gray */
	/*border-top: 1px solid #25697b;	/* 'Harpswell House Blue' Border, 5 pixels wide */
	/*border-top: 5px ridge #25697b;	/* 'Harpswell House Blue' Border, 5 pixels wide */
}

.twoColElsLtHdr #footer p {
	margin: 0;			/* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 10px 0;	/* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
	text-align: center;
	font-size: 0.75em;
}


.twoColElsLtHdr #topFooter {
	margin: 0 0em 0em;			/* the right margin can be given in ems or pixels. It creates the space down the right side of the page. THIS LINE FOR LEFT-JUSTIFIED NAVIGATION BAR */
	padding: 0px;
	/*border-bottom: 4px inset #25697b;	/* 'Harpswell House Blue' Border, 5 pixels wide */
}


/* Miscellaneous classes for reuse */
.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: 8px;
}

.fltlft { /* this class can be used to float an element left in your page */
	float: left;
	margin-right: 8px;
}

.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;
}


body,td,th {
	color: #000;
}

h1 {
	margin-left: 1em;
	font-size: large;
	color:	#25697b;	/* Harpswell House Blue */
}

h2,h3,h4,h5,h6 {
	margin-left: 1em;
	color:	#25697b;	/* Harpswell House Blue */
}

a {
	font-size: small;
}


a:link {
	color: #25697b;				/* Harpswell House Blue */
	text-decoration: none;
}


a:visited {
	color: #25697b;			/* Harpswell House Blue */
	text-decoration: none;
}


a:hover {
	color: #FFFFFF;
	background: #25697b;	/* Harpswell House Blue */
	text-decoration: none;
}

p {	margin-left: 8px;
}

BLOCKQUOTE {
	font-size: 11pt;
}

div.pic {float: left; height: 250px; width: 210px;
  padding: 0 5px; margin: 5px 5px; background: EBEBEB;
  border: 0px solid; border-color: #AAA #444 #444 #AAA;
  border: 0px solid; border-color: #EBEBEB;}
div.pic img {border: 0px solid; border-color: #444 #AAA #AAA #444;}
div.ls img {height: 200px; width: 200px; margin: 0px;}
div.pt img {height: 200px; width: 200px; margin: 0 0px;}
/*	div.pic ul {display: None;} */
div.pic ul {	margin: 0.25em 0 0;
			padding: 0;
			font: bold italic small Arial, Verdana, sans-serif;
			color: #25697b;
}
li.title {display: block; list-style: none; text-align: center;}


div.pic_lt{float: left;  height: 210px; width: 210px;}
div.pic_lt ul {display: None;}
div.pic_rt{float: right; height: 210px; width: 210px;}
div.pic_rt ul {display: None;}




div.pic a:link {
	color: white;			/*  */
	background: #EBEBEB;	/* Light gray */
}

div.pic a:visited {
	color: #EBEBEB;			/* Light gray */
	background: #EBEBEB;	/* Light gray */
}

div.pic a:hover {
	color: #EBEBEB;
	background: #EBEBEB;
	/* The outline works correctly in Firefox 4.0.1 and Internet Explorer 8, but not in Chrome 12.0.742.122 */
	outline: 2px solid #25697b;	/* Harpswell House Blue */
}


