/* 
	main stylesheet for thepekarskygroup.com
	1 column of body text with image/quote at right 
	by: Jason Douglas - FieryLizard.com
	August 2009
*/
* {
	padding: 0;
	margin: 0;
}

html, body {
	/*height:100%;*/
	width:100%;
}
body { 
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.7em;
	color:#000;
	width:100%;
}
input, textarea, submit {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1em;
}

img{ border: none; }

a{
	color: #000;
	text-decoration: underline;
}
a:hover{ text-decoration: none; }

p { margin-bottom:0.7em; }
h1{ font-size:3.2em; }
h2{ font-size:2em; }

.clear{ clear: both; }

#container{
	position:relative;
	/*height:100%;*/
	height:613px;
	margin:0 auto 0 auto;
}
#content_wrap{
	/*position:absolute;*/
	width:100%;
	height:600px;
	/*top:50%;*/
	/*margin-top:-300px;*/ /* top margin should be negative half of height, but reducing for 1024x768 */
	background-image:url(../images/page_bg.png);
	/*background-position:center 50%;*/
	background-position:center top;
	background-repeat:no-repeat;
	/*background-attachment:fixed;*/
}
#content{
	width:867px;
	margin-left:auto;
	margin-right:auto;
}
#header_left {
	float:left;
	width:356px;
	height:80px;
	background-image:url(../images/header_left_bg.png);
	background-position:bottom;
	background-repeat:no-repeat;
}
#header_right {
	float:left;
	width:472px; /* 511 - padding */
	height:54px; /* 80 - padding */
	background-image:url(../images/header_right_bg.png);
	background-position:bottom;
	background-repeat:no-repeat;
	color:#5391a8;
	font-size:1.6em;
	padding:26px 39px 0 0;
	text-align:right;
}

#menu {
	float:left;
	clear:left;
	width:867px;
	height:20px;
	background-image:url(/images/menu_bg.png);
	background-position:top left;
	background-repeat:no-repeat;
	text-align:right;
}
#menu ul {
	float:right;
	margin-right:10px;
}
#menu ul li {
	display:block;
	float:left;
	height:20px;
	list-style:none;
	margin:0 40px 0 0px;
	padding-left:6px;
}
#menu ul .main{
	background-image:url(../images/menu_separator.png);
	background-position:top left;
	background-repeat:no-repeat;
}
#menu ul li a{
	text-transform:uppercase;
	text-decoration:none;
}
#menu ul .main a:hover{
	color:#97b2c3;
}
#menu ul .sub{
	background-image:url(../images/bullet.png);
	background-position:top left;
	background-repeat:no-repeat;
	margin-left:8px;
	padding-left:12px;
	text-align:left;
	text-transform:uppercase;
}
#menu ul .sub a:hover{
	color:#fff;
}
#menu ul .sub2{ 
	margin-left:20px;
}
#titlehead_left{
	float:left;
	clear:left;
	width:356px;
	height:147px;
	background-image:url(../images/titlehead_left_bg.png);
	background-position:top left;
	background-repeat:no-repeat;
}
#titlehead_left h1 {
	margin:70px 0 0 63px;
	color:#5391a8;
	font-size:2em;
	text-transform:uppercase;
}
#titlehead_left h2 {
	margin:8px 0 0 63px;
	font-size:1.2em;
	text-transform:uppercase;
}
#titlehead_right{
	float:left;
	clear:right;
	width:511px;
	height:147px;
	background-image:url(../images/main_image_top_sample.jpg);
	background-position:bottom left;
	background-repeat:no-repeat;
}
#titlehead_right img {
	width:511px;
	height:147px;
}

#maincontainer {
	float:left;
	width:613px;
	height:346px;
	/* overflow:auto; */
	background-image:url(../images/main_left_bg.png);
	background-position:left;
	background-repeat:repeat-y;
}
#maincontainer #maintext {
	clear:both;
	/*margin:44px 62px 44px 62px;*/
	width:489px;
	height:285px;
	overflow:auto;
	padding:44px 62px 0 62px;
}
#homepagecontent{ 
	float:left;
	clear:both;
}
#homepagecontent_text{
	width:827px;	/* width 867 - padding */
	height:183px;	/* height 493 - padding */
	padding:310px 0 0 40px;	/* puts it to bottom left quadrant - was 383px top */
	background-color:#b3b2b7;
	background-image:url(/images/home_page_centered_notext.jpg);
	color:#fff;
	text-align:left;
	font-size:18px;
	font-weight:bold;
}
#homep {
	margin:0;
	padding:0;
}
#pageimg {
	float:left;
	clear:right;
	width:254px;
	height:346px;
	background-image:url(../images/right_image_sample.jpg);
	background-position:top left;
	background-repeat:no-repeat;
}
#pageimg img {
	width:254px;
	height:346px;
}
#footer {
	float:left;
	clear:both;
	width:867px;
	height:7px;
	background-image:url(../images/footer_bg.png);
	background-repeat:repeat-x;
	background-position:top;
	padding:3px 0 0 8px;
}
#footerleft{
	float:left;
	clear:left;
	width:590px;
}
#footerright{
	float:right;
	clear:right;
	width:240px;
	text-align:right;
	padding-right:20px;
}
#footerright a { text-decoration:none; }
#footerright a:hover { text-decoration:underline; }

.tbl td { padding:4px; }
.b { font-weight:bold; }
.small {
	font-size:0.9em;
	font-style:italic;
}
.lf {
	text-align:right;
	font-weight:bold;
	vertical-align:top;
}
.okmsg {
	font-weight:bold;
	border:1px solid #5391a8;
	color:#5391a8;
	padding:10px;
	width:100%;
	text-align:center;
}
