/* Aquarius Plumbing Heating CSS */
/*------ 9/12/09 11:00AM ------*/
/*   
Theme Name: aphMain
Theme URI: www.aquariusplumbingheating.com
Description: Theme for Aquarius Plumbing Heating
Author: Allan Douglas, DDGraphics WebMedia
Author: URI: www.ddgwebmedia.com
 */

/******************************/

/* @group HTML Elements */
/*-------- HTML Elements --------*/

* {
	margin: 0;
	padding: 0;
}

body {
	margin: 0;
	padding: 2em;
	background: url(../SiteAssets/Jpeg/body_bg.jpg) repeat-x;
	font: 99% Arial, "Sans Serif";
	color: #036;
}

a {
	text-decoration: none;
}

a link {
	color: #990099;
}

 link {
	color: #3333CC;
} 

p, td, h1, h2, h3, h4, h5, ul, li {
	font-family: Arial, "Sans Serif";
}

p {
	font-size: 100%;
	margin: 0 0 .8em .5em;
}

h1 {
	font-size: 180%;
	margin: 0;
	padding: 0;
}

h2 {
	font-size: 150%;
	margin: 0;
	padding: 0;
}

h3 {
	font-size: 120%;
	margin: 0;
	padding: 0;
}

/* @end HTML Elements */

/*********************************/

/* @group ID Selectors */

/*------ ID Selectors ------*/

/*-- Container Around Everything --*/

#container {
	width: 95%;
	max-width: 80em;
	background-color: #FFF;
	border: .4em solid #989898;
	margin: 0 auto;
}

/*********************************/

/*---- Main Header Bar ---- */

#header {
	width: 100%;
	background: url(../SiteAssets/Jpeg/header_bg.jpg) repeat-y center;
	border-top: .2em solid #e9d300;
}

.lefthdr {
	float: left;
	width: 33%;
}

.lefthdr img {
	margin: 0 0 .5em;
	padding: .5em .3em 0;
}

.lefthdr .chamber {
	clear: both;
	text-align: center;
	margin: 0 0 .5em;
}

.centerhdr {
	float: left;
	width: 34%;
}

.centerhdr img{
	display: block;
	text-align: center;
	margin: 0 auto;
}

.righthdr {
	float: right;
	width: 31%;
	text-align: right;
	color: whitesmoke;
	padding: 0 .8em 0 0;
}

.righthdr p.phone {
	line-height: 1.2em;
	margin: 1.5em 0 0;
}

.righthdr p.email {
	line-height: 1.2em;
}

.righthdr p.email a {
	color: whitesmoke;
	text-decoration: none;
}

.righthdr p.email a:hover {
	text-decoration: underline;
}
/**************************/
#headertwo {
	clear: both;
	width: 100%;
	margin-top: .1em;
}

#headertwo.lefthdr {
	float: left;
	width: 17%;
}

#headertwo.centerhdr {
	display: block;
	width: 48%;
	border: thin solid #FFF;
}

#headertwo ul.messages {
	float: right;
	width: 32%;
}

#headertwo ul.messages li {
	list-style: none;
	border: thin solid #d8d8d8;
	background-color: #507dd0;
	color: #507dd0;
	background-position: top left;
	background-repeat: repeat-x;
	background-image: url(../images/bg_messages-n.gif);
	color: #fff;
	margin: 0 0 .2em;
	padding: 1em .1em 1em .5em;
}

#headertwo ul.messages li.light {
	background-color: #8bb9e5;
	background-image: url(../images/bg_messages-l.gif);
}

#headertwo ul.messages li.dark {
	background-color: #2A2691;
	background-image: url(../images/bg_messages-d.gif);
}

#headertwo ul.messages li a {
	display: block;
	background: url(../images/drop.gif) left center no-repeat;
	color: #fff;
	text-decoration: none;
	line-height: 1.2em;
}

#headertwo ul.messages li.light a {
	background-image: url(../images/drop-l.gif);
}

#headertwo ul.messages li a:hover {
	text-decoration: underline;
}

/*********************************/

#wrapper {
	clear: both;
	width: 100%;
	margin: .5em auto 0;
}

#maincontent {
	clear: both;
	width: 98%;
	margin: 0 auto;
}

/*-- used to scroll images on index page -*/

#pic {
	position: relative;
	width: 100%;
	text-align: center;
	overflow: hidden;
	margin: 0 auto 1.2em;
}

#picscroll {
	/*left: -100px;*/
	border-top: medium groove #030;
	border-bottom: medium groove #030;
	padding: .2em 0;
}

.imagealign {
	text-align: center;
	display: block;
	padding-top: 15%;
}

.image {
	border: medium groove #999999;
}

/* @end ID Selectors */
/******************************/
/* @group SplitEm */
/*------ SplitEm CSS ------ */
/*------ 3/30/09 ------*/
/*- used in div enclosing splits -*/
.fulldiv {
	/*float: left;*/
	clear: both;
	width: 98%;
	border-top: thin solid silver;
	margin: .5em auto 0;
}

.fulldivindex {
	clear: both;
	text-align: center;
	font-weight: bold;
	width: 95%;
}

.leftdiv { 
	float: left;
	/*text-align: left;*/
	width: 49%;
	border-top: thin solid silver;
	margin: .5em 0 0;
}

/*.leftdiv img {
	display: block;
	text-align: center;
}*/

.rightdiv {
	float: right;
	/*text-align: left;*/
	width: 49%;
	border-top: thin solid silver;
	margin: .5em 0 0;
}

/*.rightdiv img {
	float: right;
}*/

.rightdiv h1 {
	float: left;
	width: 68%;
}

/*- below used in divs above -*/
.fullclass {
	clear: both;
	width: 96%;
	margin: 0 auto;
	/*border: thin dashed purple;*/
}

.fullclass ul, li {
	margin: 0 0 0 .8em;
}

.leftclass { 
  float: left;
  text-align: left;
  /*font-weight: bold;
  color: #fff;*/
  width: 48%;
  }

.rightclass {
  float: right;
  text-align: left;
  /*font-weight: bold;
  color: #fff;*/
  width: 48%;
  }
  
div.spacer {
  clear: both;
  }
/*-- end SplitEm --*/

/* @end SplitEm */
/**************************/
/* @group Navigation */

/*-- Navigation --*/

/* @group Top Nav */

#navigation {
	clear: both;
	/*float: left;*/
	width: 100%;
	text-align: center;
	height: 2em;
	background: #e9d300;
}

/*#navigation #ournav  {
	margin: 0 0 0 15%;
}*/

#ournav, #ournav ul {
	width: 70%;
	text-align: center;
	margin: 0 auto;
	list-style: none;
	height: auto;
	background: #e9d300;
}

#ournav a {
	display: block;
	text-decoration: none;
	color: #001BAF;
	padding: .2em .5em;
}

#ournav a:hover, #ournav a:active {
	color: #507dd0;
}

#ournav li {
	float: left;
	padding: .2em 0; 
}

#ournav li.bar {
	border-left: thin solid navy;
}



/* Highlighting the current page */

body.home #ournav a#home, body.about #ournav a#about, body.towngov #ournav a#towngov, body.bylaws #ournav a#bylaws, body.permits #ournav a#permits, body.events #ournav a#events, body.history #ournav a#history, body.gallery #ournav a#gallery, body.contact #ournav a#contactc {
	color: gray;
	text-decoration: underline;
}

body.home #ournav a:hover#home,
body.about #ournav a:hover#about, body.bylaws #ournav a:hover#bylaws, body.towngov #ournav a:hover#towngov,
body.permits #ournav a:hover#permits, body.events #ournav a:hover#events, body.history #ournav a:hover#history, body.gallery #ournav a:hover#gallery, body.contact #ournav a:hover#contactc {
	color: black;
}

/* @end Top Nav */

/* @group Site Map Style Footer */

/*-- Styles for smfooter --*/

#footer {
	clear: both;
	width: 99.5%;
	margin: 0 auto;
	font-size: .9em;
	text-align: center;
	background-color: #b5cae3;
	border-top: medium solid #444A18;
	border-right: thin solid #fff;
	border-left: thin solid #fff;
}

#footer p {
	font-size: .9em;
	margin: .5em 1em 0;
}

p a:link, a:visited {
	color: #2C3B00;
}

p a:hover, a:active {
	color: #444A18;
}

div.logos {
	clear: both;
	width: 99%;
	margin: 1em auto;
	/*border: thin dotted purple;*/
}

div.logos div {
	float: left;
	width: 25%;
	display: block;
	text-align: center;
}

#sitemap {
	clear: both;
	width: 99%;
	text-align: center;
	margin: .5em auto;
}

#sitemap a {
	font-variant: small-caps;
	color: #392E5C;
	padding: .2em .4em;
}

#sitemap a:hover {
	color: #507dd0;
}

/* used in information for client */

.info {
	width: 85%;
	margin: 0 5em;
}

.leftf {
	float: left;
	width: 70%;
	text-align: left;
}

.rightf {
	float: right;
	width: 28%;
	text-align: right;
}

/* @end Site Map Style Footer */
/*--- End Footer ---*/
/* @end Navigation */
/******************************/
/* @group Portfolio Stuff */

#imgthmbswrapper {
	position: relative;
	width: 100%;
	margin: 0 auto;
}	

.thmbsrow {
	clear: both;
	width: 90%;
	margin: 0 auto;
	border: medium inset #807E59;
}

.thmbsfloat {
	float: left;
	/*width: 28%;*/
	text-align: center;
	margin: .2em .1em;
}

/*---- Portfoilio Classes ----*/
/*-------- Classes --------*/

.photoCol {
	padding: 0;
	margin: 0;
}

.photoCol img {
	display: block;
	text-align: center;
	border: .2em solid #C5BDBD;
	margin:  0 auto;
}

.phototitle {
	clear: both;
	font-size: 1.2em;
	font-variant: small-caps;
	text-align: center;
	margin: .5em 0;
}

.pfgalleryrow {
	clear: both;
	width: 70%;
	margin: 0 auto;

}

.pfgalleryprev, .pfgallerynext {
	font-size: 1em;
	font-weight: bold;
	text-transform: uppercase;
	color: #B7A07F;
}

.pfgalleryprev {
	float: left;
	text-align: left;
	width: 34%;
	/*border: .2em solid #C5BDBD;*/
	line-height: 120%;
}

.pfgallerynext {
	float: right;
	text-align: right;
	width: 34%;
	/*border: .2em solid #C5BDBD;*/
	line-height: 120%;
}

.pfpiclargepic {
	display: block;
	text-align: center;
	margin: 0 auto;
	padding: 0;
}

.photolabels{
	text-align: center;
	margin-top: .5em;
}
/*--- End Portfolio CSS ---*/

/* @end Portfolio Stuff */
/*******************************/
/* @group Contacts Page Stuff */

/*---- Contacts Page Stuff ----*/
/*-- Needed in every site that uses our DB for contact information --*/

#contact {
	float: left;
	top: 2em;
	width: 100%;
	position: relative;
}

html>body #contact {
	width: 100%;
}

#contact .modules {
	clear: both;
	padding-top: 5px;
	text-align: center;
}

#contact h2 {
	margin-bottom: 0px;
	-moz-border-radius: 10px;
	background-color: #507dd0;
	color: white;
	border-bottom-width: medium;
	border-bottom-style: groove;
	border-bottom-color: #666666;
	text-align: center;
	margin-top: 15px;
} 

#contact h4 {
	margin: 0 auto;
	text-align: center;
	margin-bottom: 0px;
	-moz-border-radius: 10px;
	background-color: #507dd0;
	color: white;
	border-bottom-width: medium;
	border-bottom-style: groove;
	border-bottom-color: #666666;
}

#contact h5 {
	text-align: center;
}

#contact .contact {
	text-align: center;
	float: left;
	display: block;
	font-size: larger;
	font-weight: bold;
	width: 33%;
}

/******************************/

/*---------- Form Stuff ----------*/

#frmcontainer {
	clear: both;
	background-color: #fff7bc;
	width: 80%;
	font-size: 98%;
	margin: 0 auto;
}

#frmcontainer h2 {
	text-align: center;
	font-size: 110%;
	margin: .5em 0em;
}

#frmcontainer h3 {
	text-align: center;
	font-size: 100%;
	margin: .5em 0em;
}

#frmcontainer fieldset {
	width:  75%;
	margin: .5em auto;
}

#frmcontainer legend {
	font-size: 100%;
	font-weight: bold;
	margin: 0 .5em;
 }

div.row {
	clear: both;
	padding-top: .5em;
	text-align: center;
}

div.row1 {
	clear: both;
	padding-top: .5em;
	text-align: center;
}

div.row span.label {
  float: left;
  width: 38%;
  text-align: right;
  }

div.row span.labelcr {
	float: left;
	width: 30%;
	text-align: right;
}

div.row span.labelbg {
	float: left;
	width: 15%;
	text-align: right;
}

div.row span.formw {
	float: right;
	width: 60%;
	text-align: left;
}

div.row span.formcr {
	float: right;
	width: 70%;
	text-align: left;
	color: #000066;
}

div.row span.formbg {
	float: right;
	width: 10%;
	text-align: left;
}

div.rowbttns {
	clear: both;
	padding-top: .5em;
	text-align: center;
}

/*------ Form Button ------*/

.formbttn {
	cursor: pointer;
	background-color: #507dd0;
	color: #FFC;
	border: outset 1px #ccc;
	padding: 1px 2px;
}

.formbttnoff {
	background-color: #666699;
	color: #CCCCCC;
	border: outset 1px #ccc;
	padding: 1px 2px;
}

/*---- Button Classes ----*/

.sbmtbutton a:link, .sbmtbutton a:visited {
	width: 7em;
	display: block;
	border-top: medium solid #CCCCCC;
	border-right: medium solid #666;
	border-bottom: medium solid #666;
	border-left: medium solid #CCCCCC;
	color: navy;
	background-color: #FF7745;
	text-align: center;
	font-size: 1em;
	padding-top: 3px;
	padding-bottom: 3px;
	float: left;
}

.sbmtbutton a:hover, .sbmtbutton a:active {
	color: #FF7745;
	background-color: navy;
	text-align: center;
	border-top-color: #666;
	border-right-color: #CCC;
	border-bottom-color: #CCC;
	border-left-color: #666;
}

/*---- End Form CSS ----*/

/* @end Contacts Page Stuff */

/********************************/
/* @group Events Calender */

/* --- Events Calendar Stuff ---*/

#calendar {
	clear: both;
	margin: 0 auto;
	width: 95%;
}

table.clndrColumns {
	border: 2px outset olive;
	border-collapse: collapse;
	width: 100%;
	background-color: silver;
}

table.clndrColumns td {
	border: 2px outset olive;
}

.clndrColumns p {
	text-align: left;
	margin-top: 0em;
	margin-left: .5em;
	font-size: .9em;
	color: olive;
}

.clndrColumns h5 {
	text-align: left;
	margin-bottom: 0em;
	margin-top: .2em;
	margin-left: .2em;
	font-size: 1em;
	color: olive;
}

.clndrColumns td.leftColumn {
	width: 30%;
	overflow: visible; /* fix for IE italics bug */
}

.clndrColumns td.rightColumn {
	width: 70%;
	overflow: visible; /* fix for IE italics bug */
}

/*--- Printer Icon for Events Calendar ---*/

#printer {
	margin: 0 auto;
	width: 80%;
}

#printer h5 {
	font-size: .9em;
	text-align: left;
}

#printericon {
	float: right;
	width: 10%;
}

#printertext {
	float: left;
	width: 65%;
	margin: 0;
}

#printer a:link, #printer a:visited {
	height: 32px;
	width: 32px;
	background-image: url(http://www.ddgwebmedia.com/DDGECom/DB/DBAssets/DBIcon/print_up.gif);
	display: block;
}

#printer a:hover {
	height: 32px;
	width: 32px;
	background-image: url(http://www.ddgwebmedia.com/DDGECom/DB/DBAssets/DBIcon/print_dwn.gif);
	background-repeat: no-repeat;
	display: block;
}

/* @end Events Calender */
/**********************************/

/* @group Classes */

/*---- Classes ----*/

/*------ ClearFix ------*/

/*---- Used to push divs ----*/

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

.clearfix {
	display: inline-block;
}

/* Hides from IE-mac \*/

* html .clearfix {
	height: 1%;
}

.clearfix {
	display: block;
}

/* End hide from IE-mac */

/*--- End ClearFix ---*/ 
/***************************/
.spacer {
	clear: both;
}


.dfltLabels {
	font-family: Optima;
	font-size: 14pt;
	color: #CC3366;
	text-decoration: none;
}

.register a:link, .register a:visited {
	display: inline;
	width: 11em;
	color: white;
	background-color: #770F0C;
	text-align: center;
	font-size: .95em;
	padding: 3px;
	border: medium ridge olive;
}

.register a:hover, .register a:active {
	color: #770F0C;
	background-color: silver;
	text-align: center;
	border: medium ridge olive;
}

.left {
	width: 50%;
}
span.ddGraphics {
	font-family: "Comic Sans MS";
	color: #666666;
}

span.WebMedia {
	font-family: "Comic Sans MS";
	color: #990000
}

/* @end Classes */