/* This rule resets a core set of elements so that they will appear consistent across browsers. Without this rule, content styled with an h1 tag, for example, would appear in different places in Firefox and Internet Explorer because each browser has a different top margin default value. By resetting these values to 0, the elements will initially be rendered in an identical fashion and their properties can be easily defined by the designer in any subsequent rule. */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
}
/* The body is the outermost layout component and contains the visible page content. Setting properties for the body element will help to create consistent styling of the page content and more manageable CSS. Besides using the body element to set global properties, it is common to use the body element to set the background color of the page and create a centered container for the page content to display. */
body {
  background-color: #2c2d27;
  background-image: url("../ptqgpreset_images/bg.jpg");
  background-repeat: repeat;
  border-style: none; /* Sets the border style properties for an element using shorthand notation */
  color: #3e3d38;
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 14px;
  font-weight: normal;
  line-height: 14px;
  margin: 0 0 0 0; /* Sets the margin properties for an element using shorthand notation (top, right, bottom, left) */
  padding: 0px 0px 0px 0px; /* Sets the padding properties for an element using shorthand notation (top, right, bottom, left) */
  text-align: center; /* Centers the page content container in IE 5 browsers. */
}
/* Commonly used to style page titles. */
h1 {
  color: #36312d;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 22px;
  font-weight: bold;
  line-height: 14px;
}
/* Commonly used to style section titles. */
h2 {
  color: #36312d;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 20px;
  font-weight: bold;
  line-height: 14px;
}
/* Sets the style for the h3 header. */
h3 {
  color: #36312d;
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 16px;
  font-weight: bold;
}
/* Sets the style for the h4 header. */
h4 {
  color: #36312d;
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 12px;
  font-weight: bold;
}
/* Sets the style for the h5 header. */
h5 {
  color: #36312d;
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 11px;
  font-weight: bold;
  line-height: 1.2em;
  padding: 5px 20px 10px 0;
  text-align: right;
}
/* Sets the style for the h6 header. */
h6 {
  color: #36312d;
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 12px;
  font-weight: bold;
}
/* Sets the style for unvisited links. */
a,  a:link {
  color: #668975;
  font-weight: bold;
  text-decoration: none;
}
/* Sets the style for visited links. */
a:visited {
  color: #884303;
  font-weight: bold;
  text-decoration: none;
}
/* Sets the style for links on mouseover. */
a:hover {
  color: #a1a68c;
  font-weight: bold;
  text-decoration: underline;
}
/* Sets the style for a link that has focus. */
a:focus {
  color: #7e8753;
  font-style: italic;
  font-weight: bold;
}
/* Sets the style for a link that is being activated/clicked. */
a:active {
  color: #164619;
}
/* This is a container for the page content. It is common to use the container to constrain the width of the page content and allow for browser chrome to avoid the need for horizontal scrolling. For fixed layouts you may specify a container width and use auto for the left and right margin to center the container on the page. IE 5 browser require the use of text-align: center defined by the body element to center the container. For liquid layouts you may simply set the left and right margins to center the container on the page. */
#outerWrapper {
  margin: 0 auto 0 auto; /* Sets the margin properties for an element using shorthand notation (top, right, bottom, left) */
  padding: 0px 0px 0px 0px; /* Sets the padding properties for an element using shorthand notation (top, right, bottom, left) */
  text-align: left; /* Redefines the text alignment defined by the body element. */
  width: 980px;
  border-top: solid 2px #2c2d27;
}

/* Sets the style for top navigation. */
#outerWrapper #topNav {
	float: right;	
	margin: 0;
	padding: 10px 20px 10px 20px;
	border: none;
	font-family: Tahoma, Geneva, sans-serif;
	font-size: 14px;
	font-weight: bold;
}
#outerWrapper #topNav li {
	list-style: none;
}
#outerWrapper #topNav ul li {
	display:inline;
	font-weight: normal;
}
#outerWrapper #topNav li a {
	color: #F1FFF0;
	text-decoration: none;
	font-weight: normal;
	padding: 0 10px 0 0;
}
#outerWrapper #topNav li a:hover {
	font-size: 1em;
	color: #ffffff;
	font-weight: normal;
	text-decoration: underline;
}
/* Sets the style for header. */
#outerWrapper #header {
  background-image: url("../ptqgpreset_images/logo.png");
  background-repeat: no-repeat;
  height: 100px;
  margin: 20px 0px 0px 0px; /* Sets the margin properties for an element using shorthand notation (top, right, bottom, left) */
  padding: 0px 10px 0px 20px; /* Sets the padding properties for an element using shorthand notation (top, right, bottom, left) */
}
#outerWrapper #mainNav {
  background-color: #457a46;
  border-bottom: solid 1px #93b178; /* Sets the bottom border properties for an element using shorthand notation */
  color: #f1fff0;
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 14px;
  font-weight: bold;
  height: 32px;
  margin: 0px 0px 0px 0px; /* Sets the margin properties for an element using shorthand notation (top, right, bottom, left) */
  padding: 0px 0px 0px 0px; /* Sets the padding properties for an element using shorthand notation (top, right, bottom, left) */
  width: 980px;
}
#outerWrapper #mainNav a, #outerWrapper #mainNav a:link {
  color: #f1fff0;
  text-decoration: none;
}

/* Sets the style for main navigation. */
#outerWrapper #mainNav {
  background-color: #eef6ed;
  background-image: url("../ptqgpreset_images/main_nav_back.png");
  background-repeat: repeat-x;
  border-style: none; /* Sets the border style properties for an element using shorthand notation */
  color: #f1fff0;
  font-family: Tahoma, Geneva, sans-serif;
  height: 32px;
  margin: 0px 0px 0px 0px; /* Sets the margin properties for an element using shorthand notation (top, right, bottom, left) */
  padding: 0px 0px 0px 0px; /* Sets the padding properties for an element using shorthand notation (top, right, bottom, left) */
  text-decoration: none;
  width: 980px;
}
#outerWrapper #mainNav a, #outerWrapper #mainNav a:link {
  color: #f1fff0;
}
#outerWrapper #mainNav a:hover {
  color: #ffffff;
}

/* Sets the style for body of the webpage. */
#outerWrapper #contentWrapper {
  background-color: #edeee8;
  margin: 4px 0px 0px 0px; /* Sets the margin properties for an element using shorthand notation (top, right, bottom, left) */
  padding: 0px 0px 0px 0px; /* Sets the padding properties for an element using shorthand notation (top, right, bottom, left) */
}
#outerWrapper #contentWrapper #aside {
  background-color: #d9dccb;
  border-top: 0; /* Sets the border properties for an element using shorthand notation */
  border-right: 0;
  border-bottom: solid 1px #2c2d27;
  border-left: solid 1px #2c2d27;
  color: #3e3d38;
  float: right;
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 12px;
  font-weight: normal;
  line-height: 1.25em;
  margin: -19px -20px 0px 0px; /* Sets the margin properties for an element using shorthand notation (top, right, bottom, left) */
  padding: 20px 20px 20px 20px; /* Sets the padding properties for an element using shorthand notation (top, right, bottom, left) */
  width: 299px;
}
/* Contains the main page content. When using a mutliple column layout the margins will be set to account for the floated columns' width, margins, and padding. */
#outerWrapper #contentWrapper #mainContent {
  background-color: #edeee8;
  border-top: 0;
  border-right: solid 2px #2c2d27; /* Sets the right border properties for an element using shorthand notation */
  color: #3e3d38;
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.5em;
  margin: -17px 0 0 0; /* Sets the margin properties for an element using shorthand notation (top, right, bottom, left) */
  padding: 20px 20px 20px 20px; /* Sets the padding properties for an element using shorthand notation (top, right, bottom, left) */
  width: 598px;
}
/* Using floated elements and a clear float class is a common method to accomplish multiple column tableless layouts. If floated elements are used without being cleared the elements following will wrap around the floated element. This class should be applied to an element after the last floated element and before the close of the container with floated elements. */
#outerWrapper #contentWrapper .clearFloat {
  clear: right;
  display: block;
}
#outerWrapper #footer {
  background-color: #457a46;
  border-top: solid 1px #93b178; /* Sets the top border properties for an element using shorthand notation */
  color: #f1fff0;
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  margin: 3px 0px 0px 0px; /* Sets the margin properties for an element using shorthand notation (top, right, bottom, left) */
  padding: 10px 10px 10px 10px; /* Sets the padding properties for an element using shorthand notation (top, right, bottom, left) */
}
#outerWrapper #footer h6 {
  color: #f1fff0;
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 12px;
  font-weight: bold;
}
/* Sets the style, links and dropdowns for main navigation. */
#mainNav ul li {
	list-style: none;
	float: left;
}
#mainNav ul li {
	text-align: left;
	line-height: 32px;
	width: auto;
	border-left: 1px #B3B89A;
}
#mainNav ul li a {
	display: block;
	padding: 2px 10px 1px 15px;
	text-decoration:none;
	color:#f1fff0;
	font-weight: normal;
}
#mainNav ul li a:hover {
	font-weight: normal;
	font-color: #7e8753;
	text-decoration:none;
	background-image: url(../images/main_nav_hover.png);
	background-repeat: repeat-x;
}
#mainNav ul li ul {
	display: none;
	width: 11em;  /* width to help Opera out */
}
#mainNav li:hover ul, nav li.hover ul{
	position: absolute;
	display: block;
	margin: 0;	
}
#mainNav li:hover li, nav li.hover li {
	float: none;
	}
#mainNav li:hover li a, nav li.hover li a {
	background: #B3B89A;
	color:#f3f3f1;
	border-top: 1px solid #383932;
	
}
#mainNav li li a:hover {
	background:#719871;
	color:#f3f3f1;
	padding: 0 10px 1px 15px;
}

/* Sets the hover page specs. */
#homePage li#homeNav a{
	background: url(../images/main_nav_hover.png) repeat-x;
}
#aboutPage li#aboutNav a{
	background: url(../images/main_nav_hover.png) repeat-x;
}
#calendarPage li#calendarNav a{
	background: url(../images/main_nav_hover.png) repeat-x;
}
#servicePage li#serviceNav a{
	background: url(../images/main_nav_hover.png) repeat-x;
}
#formsPage li#formsNav a{
	background: url(../images/main_nav_hover.png) repeat-x;
}
#quiltPage li#quiltNav a{
	background: url(../images/main_nav_hover.png) repeat-x;
}
#contactPage li#contactNav a{
	background: url(../images/main_nav_hover.png) repeat-x;
}
#newsPage li#newsNav a{
	background: url(../images/main_nav_hover.png) repeat-x;
}

sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("li");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" hover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" hover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

/* Sets the style for facebook widget. */
#facebook {
	padding: 10px 10px 10px 10px;
	border-top: solid 2px #455936;
	border-right: solid 1px #455936;
	border-bottom: solid 2px #455936;
	border-left:solid 1px #455936;
	background: #F6F0E2;
}

/* Sets the style for sidebar widget. */
#aside #widget {
	background: url(../images/topic_border_hilight.png) top right no-repeat;
	margin: 10px -5px 0 0;
}
#aside #widget #date {
	font: Tahoma, Geneva, sans-serif;
	font-size: .9em;
	text-transform: uppercase;
	background: #393d2b;
	color: #ffecc5;
	padding: 3px 10px 3px 3px;
	text-align: right;
	width: 290px;
	margin: 5px 0 5px -20px;
	letter-spacing: 3px; 
}
#aside #widget h3 {
	color: #3e3d38;
	text-align: right;
	font-size: 1.2em;
	text-transform: uppercase;
	margin: 0 20px 5px 0px;
	padding: 10px 0 5px 0;
	letter-spacing: 2px;
	font-weight: normal;
}
#aside #widget p {
	color: #222222;
	font-size: 12px;
	line-height: 1.5em;
	padding-right: 10px;
	margin: 5px 10px 5px 0px;
	text-align: justify;
}
#aside #widget h5 {
	font-family: Tahoma, Geneva, sans-serif;d
	font-size: 11px;
	font-weight: bold;
	line-height: 1.3em;
	text-align: right;
}
#mainContent p {
	padding: 5px 40px 5px 20px;
}
#mainContent ul li{
	padding: 0 40px 5px 20px;
	text-align: left;
	line-height: normal;
}
#sitemap ul li{
	list-style: none;
}
#sitemap ul li a {
	display: block;
	padding: 0 20px 0 20px;
	text-decoration:none;
	font-weight: bold;
	line-height: 2em;
}
.titleQuiltShow {
	font-size: 18px;
	font-family: Georgia, "Times New Roman", Times, serif;
	color: #990113;
	font-weight: bold;
	text-align: center;
	line-height: 1.3em;
}
.titleQuiltShowsm {
	font-size: 14px;
	font-family: Georgia, "Times New Roman", Times, serif;
	color: #990113;
	font-weight: bold;
	text-align: center;
	line-height: 1.3em;
}
.noShow {
	color:#999;
	font-weight: normal;
}
.caption {
	font-family:Georgia, "Times New Roman", Times, serif;
	font-size: .9em;
	color: #666;
	text-align: center;
	padding: 5px 10px 5px 10px;
	}
/* Sets the style for Gallery content. */
#outerWrapper #contentWrapper {
  background-color: #edeee8;
  padding: 20px 20px 20px 20px; /* Sets the padding properties for an element using shorthand notation (top, right, bottom, left) */
}
/* Contains the main page content. When using a mutliple column layout the margins will be set to account for the floated columns' width, margins, and padding. */
#outerWrapper #contentWrapper #content {
  margin: 0 0 0 0; /* Sets the margin properties for an element using shorthand notation (top, right, bottom, left) */
  padding: 10px 10px 10px 10px; /* Sets the padding properties for an element using shorthand notation (top, right, bottom, left) */
}
.table {
	font-family: Tahoma, Geneva, sans-serif;d
	font-size: 14px;
	font-weight: normal;
}

