/*
Site and Template name: Push the Envelope
Version: 0.1
Author: Sarah J How
Author: http://sarahhow.co.uk/

*/

/* Main Sections 
------------------------------------------------------------------------- */
* {
margin: 0;
}
body {
font-family:  'Verdana', Helvetica, sans-serif;
font-size: 12px;
text-align: left;
color: #666;
background: #ffd88d;
}
div, p, a, td, ul, ol {
font-size: 1em; 
}

ol {
margin-left: 1em;
padding-left: 1em;
}
ol li {
margin-left: 1em;
padding: 0 0 .5em.3em;
}
h1, h2, h3, h4 {
font-family: 'Lucida Grande', 'Lucida Sans', Verdana, Helvetica, sans-serif;
	font-weight: bold;
	color: #4769b9;
	margin: .5em 0;
	letter-spacing: .07em;
}
h1 { font-size: 218% }
h2 { font-size: 120%;  padding-left: 10px;  }
h3 { font-size: 145%; }
h4 { font-size: 118%; letter-spacing: .15em }

p { padding: 0 0 1em; }

a, a:link { 
text-decoration: none;
color: #c52828; }

a:visited { color: #c52828; text-decoration: none; }
a:hover { color: #61adf3;  text-decoration: none; }
a:active { color: #c52828; text-decoration: none; }




.clear {
clear: both;
height: 1px;
margin: -1px 0 0;
font-size: 1px;
}


#page {
width: 780px;
margin: 0 auto;
text-align: left;
background: url(site-images/page-bg.png) repeat-y center;    
}

#content {
float: right;
text-align: justify;
width: 520px;
margin-right: 35px;
_margin-right: 10px;
padding-right: 0px;
line-height: 1.5em;
}

.content img {
padding: 0px;
}


/* Special text formatting 
------------------------------------------------------------------------------- */
h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited {
	color: #c52828;
}

h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, cite {
	text-decoration: none;
}
h2 a:hover, h3 a:hover {
	color: #06c;
	border-bottom: 1px dotted #06c;
}

h2.pagetitle {
	margin-top: 30px;
	text-align: center;
}

h4.date-header {
margin-top: 0;
padding-left: 14px;
font-size: 90%;
color: #f93;
background: url(images/date_icon.gif) no-repeat 0 50%;
}

blockquote {
margin: 0 0 0 30px;
padding: 10px 0 0 20px;
font-size: 88%;
line-height: 1.5em;
color: #666;
background: url(images/quotes.gif) no-repeat top left;
}

blockquote p { margin-top: 0; }

blockquote cite {
	margin: 5px 0 0;
	display: block;
}
code {
	font: 1em/2.5em 'Courier New', Courier, monospace;
	color: #444;
	white-space: pre; 
width: 350px;
height: auto;
	overflow: auto;
display: block;
border: 1px solid #999;
border-width: 2px 0;
padding: 1em;
margin: 0 0 1em 0;
background-color: #fafafa;
}
li code { width: 330px }

acronym, abbr, span.caps {
	font-size: 90%;
	letter-spacing: .07em;
	cursor: help;
	border-bottom: 1px dotted #3f3f3f;
}

.center { text-align: center;}
.alignright { float: right; }
.alignleft { float: left; }

hr { display: none; }


.error, .message {
padding: 12px;
background-color: red;
color: #fff;
}
.message {
background-color: green;
}

/* Header 
------------------------------------------------------------------------- */

#header { 
background: url(images/header.jpg) no-repeat;
position: relative;
height: 170px;
z-index: 1;
}




/* Main (main content entries)
------------------------------------------------------------------------- */

.main {	
width: 520px;
padding: 0 0 1.5em 16px;  
}

.main ul li {
list-style-image: url(site-images/listenv.gif);
text-align: left;
margin-left: 20px;
padding-left: 10px;
_margin-left: 30px; /* IE 7 HACK */
_padding-left: 10px; /* IE 7 HACK */
}

.address li {
list-style: none;
display: inline;
}



/* Secondary Content 
------------------------------------------------------------------------- */

#secondarycontent {
	position: relative;
	float: left;
	width: 185px;
	margin-top: -15px;
	margin-left: 27px;
	_margin-left: 15px;
}

.secondarycontent {
	width: 185px;
	margin-left: -10px;
}

#secondarycontent ul{
	list-style: none;
	font-weight: bold !important;	
	font-size: 100%;
	margin-top:-20px;
	_margin-top: 0px;
	margin-left: -20px;
	padding:0 0 15px 10px;
}

#secondarycontent li{
	list-style:none;
	font-weight: bold !important;	
	margin:0 0 4px 0;
	padding:0;
}

#secondarycontent li a{
	font-size: 100%;
	font-weight: bold !important;
	padding: 2px;
}

#secondarycontent ul ul{
	font-weight: bold;
	margin: 6px 0 3px 6px;
	line-height:1.2em;	
	padding:0;
}

#secondarycontent ul ul li a{
	font-weight:normal;
}

#secondarycontent ul ul ul li a{
	font-size: 85% !important;
	padding-left: 0px;
	font-weight: normal !important;
}

#secondarycontent ul ul ul  li a:hover{
	font-size: 85% !important;
	font-weight: normal !important;
}

#secondarycontent ul ul ul ul li a{
	font-size: 85% !important;
	padding-left: 0px;
	font-weight: normal !important;
	color: #B86363;
}

#secondarycontent ul ul ul ul li a:hover{
	font-size: 85% !important;
	font-weight: normal !important;
	color: #e6b6c5;
}

/* main rounded corners css 2
-------------------------------------------------------------------------*/

/* set the image to use and establish the lower-right position */ 

.cssbox2, .cssbox_body2, .cssbox_head2, .cssbox_head2 h2 { 
	background: transparent url(site-images/demobox.png) no-repeat bottom right; 
} 

.cssbox2 { width: 505px !important; /* intended total box width - padding-right(next) */ 
	width: 500px; /* IE Win = width - padding */ padding-right: 15px; /* the gap on the right edge of the image (not content padding) */ 
	margin: -5px auto; /* use to position the box */ 
	} 
	
/* set the top-right image */ 
.cssbox_head2 { 
	background-position: top right; 
	margin-right: -15px; /* pull the right image over on top of border */ 
	padding-right: 20px; /* right-image-gap + right-inside padding */ 
	}
	
/* set the top-left image */ 
.cssbox_head2 h2 { 
	background-position: top left; 
	margin: 0; /* reset main site styles*/ 
	border: 0; /* ditto */ 
	padding: 25px 0 15px 30px; /* padding-left = image gap + interior padding ... no padding-right */ 
	height: auto !important; height: 1%; /* IE Holly Hack */ 
	} 
	
/* set the lower-left corner image */ 
.cssbox_body2 { 
	background-position: bottom left; 
	margin-right: 25px; /* interior-padding right */ 
	padding: 15px 0 15px 30px; /* mirror .cssbox_head right/left */ 
	} 


	
	
/* rounded corners css
-------------------------------------------------------------------------*/

/* set the image to use and establish the lower-right position */ 

.cssbox, .cssbox_body, .cssbox_head, .cssbox_head h2 { 
	background: transparent url(site-images/demobox.png) no-repeat bottom right; 
} 

.cssbox { width: 185px !important; /* intended total box width - padding-right(next) */ 
	width: 190px; /* IE Win = width - padding */ padding-right: 15px; /* the gap on the right edge of the image (not content padding) */ 
	margin: 10px auto; /* use to position the box */ 
	} 
	
/* set the top-right image */ 
.cssbox_head { 
	background-position: top right; 
	margin-right: -15px; /* pull the right image over on top of border */ 
	padding-right: 20px; /* right-image-gap + right-inside padding */ 
	}
	
/* set the top-left image */ 
.cssbox_head h2 { 
	background-position: top left; 
	margin: 0; /* reset main site styles*/ 
	border: 0; /* ditto */ 
	padding: 25px 0 15px 30px; /* padding-left = image gap + interior padding ... no padding-right */ 
	_padding: 0px 0 15px 30px; /* padding-left = image gap + interior padding ... no padding-right */ 
	height: auto !important; height: 1%; /* IE Holly Hack */ 
	} 
	
/* set the lower-left corner image */ 
.cssbox_body { 
	background-position: bottom left; 
	margin-right: 25px; /* interior-padding right */ 
	padding: 15px 0 15px 30px; /* mirror .cssbox_head right/left */ 
	_padding: 15px 0 15px 30px; /* mirror .cssbox_head right/left */ 	
	} 


/* Footer 
------------------------------------------------------------------------- */
#footer {
	text-align:center;
	height: 64px;
margin-top: -20px;
padding-top: 2px;
font-size: 85%;
font-weight: bold;
color: #666;
background: url(site-images/footer.jpg) no-repeat bottom left;    
}

#footer p {
	margin-top:25px;
}

#footer a {
	border-bottom: none;
	}

.creditfooter {
	font-size: xx-small;
	}

/* Forms 
------------------------------------------------------------------------------- */
form {
	width: 360px;
	text-align: left;
	clear: both;
	padding-bottom: 20px;
	border: none;
}
form.full { width: 100%; }


fieldset {
border: none;
}

legend {
	display: none;
}
form h3 {
	clear: both;
	padding: 15px 0 5px;
	font-size: 14px;
	font-family: Helvetica, Arial, sans-serif;
	color: #000;
	font-weight: bold;
}

form label,
form p {
	display: block;
	clear: both;
	width: 310px;
	font-size: 1em;
	line-height: 1.5em;
	padding: 0 0 9px;
}

form input {
	display: block;
	margin-top: 3px;
}

form select {
	float: left;
	display: block;
}

form label.first,
form label.city {
clear: left;
margin-right: 10px;
width: 150px;
}

form label.second,
form label.state {
	float: left;
	clear: none;
	margin: 0 10px 0 0;
	width: 150px;
}
form label.state { width: 60px; }

form label.first input,
form label.city input,
form label.second input {
	float: left;
	width: 150px;
	padding: 0;
}

form label.state select {
	width: 60px;
	float: left;
	margin-top: 3px;
}

form label.zip,
form label.zip input {
	float: left;
	width: 80px;
}
form label.zip { clear: none; }

form label {
	float: left;
	clear: left;
	width: 310px;
	margin: 0;
	line-height: 1.5em;
}

form label input {
	float: left;
	width: 310px;
	padding: 0;
}

form input.radio,
form input#radiobutton_1,
form input#radiobutton_2,
form input#radiobutton_3,
form input#radiobutton_4 {
	clear: left;
	float: left;
	padding: 0;
	margin: 0;
}

form label.radio,
form label.radioitem {
	clear: none;
	margin: 0 0 0 25px;
	padding: 0 0 15px;
}

form input.checkbox,
form input#checkbox_1,
form input#checkbox_2,
form input#checkbox_3,
form input#checkbox_4 {
	clear: both;
	float: left;
	padding: 0;
	margin: 0;
}

form label.checkbox {
	clear: none;
	margin: 0 0 0 25px;
	padding: 0 0 15px;
}
/* style the form elements to look similar across browsers ... emulates Safari */
form label input,
form textarea {
border: 1px solid #ddd;
border-left-color: #c3c3c3;
border-top-color: #7c7c7c;
padding: 0 2px;
height: 18px;
line-height: 20px;
background: #fff url(images/input-bg.gif) repeat-x top left;
}
form input.checkbox,
form select {
border: 1px solid #ddd;
border-left-color: #c3c3c3;
border-top-color: #7c7c7c;
background-color: #fff;    
}
form textarea {
	margin-top: 3px;
	width: 383px;
	height: auto;
	display: block;
}

form label input.calc {
text-align: right;
width: 100px;
clear: left;
padding: 0;
}
form input.button {
clear: left;
}

/* Special handling for images & alignment 
------------------------------------------------------------------------------- */



img.centered {
	display: block;
	margin: 0 auto;
}
img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
}
img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
}

/* Fixes for RichText widgets
------------------------------------------------------------------------------- */
.MODX_RichTextWidget {
	float: left;
}

.MODX_RichTextWidget a {
	border: 0px;
}