* {
	margin: 0;
	padding: 0;	
}

html {
	height: 100%;
	margin: 0;
	background: url(pagegraphics/back.png) repeat-x #633767;
}

div#fullpage {
	position: absolute;
	width: 100%;
	height: 100%;
	background: url(pagegraphics/V1-topback.png) repeat-x;
}

/* Horrible IE6 hack to show transparent PNG on banner */
span#bannerlogowrapper {
	display: inline-block;
	border: none;
	padding: none;
	margin: none;
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://www.healthygayhampshire.com/pagegraphics/bannerlogo.png');
	width: 350px;
	height: 92px;
}
span#bannerlogowrapper a {
	text-decoration: none;
}
span#bannerlogowrapper img {
	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);
}


/* Main layout */

a.boxbutton {
	display: inline-block;
	margin-top: 20px;
	background-color: #4995b4;
	/*background-image: url(pagegraphics/backtile-blue.png);*/
	padding: 4px;
	color: white;
	text-decoration: none;
}

body {
	font-family: Arial;
	font-size: 80%;
	background-color: #633767;
	margin: 0px;
}

#maincontent #frontnews span.postdate {
	font-style: italic;
	color: #666;
	margin-bottom: 2em;
}

#maincontent #news_news p {
	margin-top: 0;
	margin-bottom: 1em;
}

a {
	color: rgb(112, 44, 117);
	font-weight: bold;
}

div#freecondomsbutton P {
	margin: 0;
	color: #4995b4;
	font-size: 130%;
	line-height: 110%;
	padding: 12px;
}

#maincontent #frontnews .newsitem {
	margin-bottom: 2.5em;
}

#maincontent #frontnews h1 {
	color: #4995b4;
	margin-bottom: -3pt;
	font-size: 140%;
}

#maincontent #frontnews h2 {
	font-size: 110%;
}

#maincontent #frontnews h1.news_topstory {
	font-size: 200%;
}

#news_news h1.news_topstory {
	font-size: 240%;
}

div#menu {
	position: absolute;
	margin-top: 3px;
	margin-left: 0px;
	background-color: black;
}

div#freecondomsbutton {
	position: absolute;
	right: 20px;
	top: 20px;
	width: 280px;
	background-color: #333333;
	height: 60px;
	margin: 0;
}

div#freecondomsbutton A {
	font-weight: normal;
	text-decoration: none;
}

div#freecondomsbutton P STRONG {
	color: #cccccc;
}

div#menu a {
	font-size: 100%;
	color: #999999;
	text-decoration: none;
	padding-left: 4px;
	padding-right: 4px;
}

div#content {
	margin-top: 0px;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 0px;
	padding-bottom: 20px;
}
#innerbody {
	width: 988px;
	margin-left: auto;
	margin-right: auto;
	height: 100%;
}

#fixedpage {
	position: absolute;
	width: 988px;
	min-height: 100%;
	
	/* soft shadow */
	background: url(pagegraphics/pageshadowsoft.png) repeat-y;
	
	/* plain background */
	/* background: none; */
}

#page {
	background-color: white;
	position: relative;
	margin-top: 0;
	margin-left: auto;
	margin-right: auto;
	width: 968px;
	padding: 0;
	min-height: 100%;
    height: auto !important;
    height: 100%;
}

/*div#page {
	background-image: url(pagegraphics/back.png);
	background-repeat: repeat-x;
	background-color: #633767;
}*/

div#menubar {
	position: relative;
	width: 968px;
	margin-left: auto;
	margin-right: auto;
	height: 32px;
	z-index: 1;
}

div#searcharea {
	position: absolute;
	width: 292px;
	right: 0px;
	padding-top: 7px;
	padding-bottom: 4px;
	padding-left: 8px;
	padding-right: 0;
	height: 21px;
	color: #cccccc;
	background-color: #444444;
	font-size: 90%;
}

div#searcharea input {
	width: 230px;
	font-size: 100%;
	background-color: #fffff;
	border: none;
	height: 11px;
	padding-top: 3px;
	padding-left: 4px;
	padding-right: 4px;
	padding-bottom: 4px;
	vertical-align: middle;
}

form#cse-search-box {
	display: inline;
}

div#searcharea input.button {
	background-color: #4995b4;
	color: #cccccc;
	font-weight: bold;
	font-size: 80%;
	height: 18px;
	width: 31px;
	border: none;
}

div#main {
	margin-left: auto;
	margin-right: auto;
	width: 968px;	
	background-color: white;
	/*background-image: url(pagegraphics/bigphoto-about.jpg);*/
	background-repeat: no-repeat;	
}

/* Now set with image switcher on index.php
div#main.frontpage {
	background-image: url(pagegraphics/bigphoto-front.jpg);
} */

div#topstrip {
	width: 100%;
	background-color: black;
	height: 32px;	
}

.section_about {
	background-image: url(pagegraphics/bigphoto-about.jpg);
}

.section_admin {
	background-image: url(pagegraphics/bigphoto-about.jpg);
}

.section_lifestyle {
	background-image: url(pagegraphics/bigphotowide-lifestyle.jpg);
}

.section_health {
	background-image: url(pagegraphics/bigphotowide-health.jpg);
}

.section_links {
	background-image: url(pagegraphics/bigphotowide-links.jpg);
}

.section_serpro {
	background-image: url(pagegraphics/bigphotowide-serpro.jpg);
}

.section_young {
	background-image: url(pagegraphics/bigphotowide-young.jpg);
}

.section_women {
	background-image: url(pagegraphics/bigphotowide-women.jpg);
}

div#maincontent {
	padding-right: 10px;
	width: 580px;
	float: left;
	margin-top: 325px;
	margin-bottom: 25px;
}

#maincontent p {
	margin-top: 1em;
	margin-bottom: 1em;
}

div#main.frontpage div#maincontent {
	padding-left: 10px;
	margin-top: 330px;
}

div.overlay {
	top: 0;
	bottom: 0;
	background-color: rgb(212, 169, 218);
	width: 100%;
	position: absolute;
	opacity: 0.6;
	filter:alpha(opacity=60);
}

* html div.overlay {
	height: expression(document.getElementById("sidebar").offsetHeight);
}

div.secondoverlay {
	top: 0;
	bottom: 0;
	background-color: rgb(212, 169, 218);
	width: 100%;
	position: absolute;
	opacity: 0.6;
	filter:alpha(opacity=60);
}

* html div.secondoverlay {
	height: expression(document.getElementById("secondsidebar").offsetHeight);
}

div.overlay_blue {
	top: 0;
	bottom: 0;
	background-color: #4995b4;
	width: 100%;
	position: absolute;
	opacity: 0.3;
	filter:alpha(opacity=30)
}

* html div.overlay_blue {
	height: expression(document.getElementById("menusidebar").offsetHeight);
}

div.overlay_black {
	left: 0;
	top: 0;
	bottom: 0;
	background-color: #000000;
	width: 100%;
	position: absolute;
	opacity: 0.8;
	filter:alpha(opacity=80);
}

div#menusidebar {
	margin-left: 20px;
	width: 240px;
	float: left;
	margin-top: 325px;
	margin-right: 30px;
	position: relative;
	margin-bottom: 20px;
}

div#sidebarcontainer {
	width: 280px;
	float: left;
	margin-bottom: 5px;
}

div#sidebar {
	width: 280px;
	margin-top: 120px;
	margin-left: 48px;
	position: relative;
	padding-bottom: 10px;
}

div#secondsidebar {
	width: 280px;
	margin-top: 0px;
	margin-left: 48px;
	position: relative;	
	padding-bottom: 10px;
}

div#emisbutton {
	background-color: #3a4a9d;
	width: 280px;
	margin-left: 48px;
	text-align: center;
}

div#sidebarcontent, div#menusidebarcontent {
	position: relative;
}

#sidebarcontent h2 {
	font-size: 120%;
	color: white;
	background-color: #ad64b3;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 10px;
	padding-right: 10px;
	margin-top: 0;
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 10px;
}

/* Front page sidebars */

#sidebarcontent h2.titled-about {
	padding-bottom: 0;
	padding-right: 0;
	padding-top: 7px;
	padding-left: 7px;
	height: 25px;
	background: rgb(112, 44, 117);
}

#sidebarcontent h2.titled-diary {
	padding-bottom: 0;
	padding-right: 0;
	padding-top: 7px;
	padding-left: 7px;
	height: 25px;
	background: rgb(112, 44, 117);
}

#sidebarcontent h2.titled-about span.wording, #sidebarcontent h2.titled-diary span.wording {
	display: inline;
}

#sidebarcontent h2 a {
	color: white;
	text-decoration: none;
}

#menusidebarcontent h2 {
	font-size: 120%;
	color: white;
	background-color: rgb(15, 102, 136);
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 10px;
	padding-right: 10px;
	margin-top: 0;
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 10px;
}

#menusidebarcontent h2 a {
	color: white;
	text-decoration: none;
}

#sidebarcontent h1, #menusidebarcontent h1 {
	font-size: 120%;
	margin: 10px;
	color: #666666;
}

#sidebarcontent p, #menusidebarcontent p {
	color: #333333;
	font-size: 90%;
	margin: 10px;
}

#menusidebarcontent p.submenuitem_spaced {
	margin-top: 16px;
}

p.alert {
	background-color: #fbff63;
	color: #ff0015;
	font-weight: bold;
	padding: 5px;
}

#menusidebarcontent form.linksearch {
	color: #333333;
	font-size: 90%;
	margin: 10px;	
}

#menusidebarcontent p a {
	color: rgb(15, 102, 136);
	text-decoration: none;
}

#maincontent h1.sectionhead {
	color: #666666;
	font-size: 150%;
	font-weight: normal;
	font-style: italic;
	margin-bottom: 0;
}

#maincontent h1 {
/*	color: #4995b4;*/
	color: rgb(15, 102, 136);
	font-size: 240%;
	margin-top: 0;
}

#maincontent h1 a {
	text-decoration: none;
	/*	color: #4995b4;*/
		color: rgb(15, 102, 136);
}

/* @group Diary */

div#diary div#diary_item {
	background-color: #c9dfe9;
	padding: 10px;
	margin-top: 15px;
	margin-bottom: 15px;
}

div#diary div#diary_item h2 {
	font-style: normal;
	font-size: 120%;
	margin-top: 0;
	margin-right: 0;
	margin-left: 0;
	margin-bottom: 3pt;
}

div#diary div#diary_item p {
	margin: 0;
}

div#diary div#diary_item p.diary_information {
	margin-top: 3pt;
	font-style: italic;
	color: #666666;
}

div#diary {
}

div#diary h1 {
	font-size: 150%;
	padding-top: 20px;
	border-top: 2pt solid #cccccc;
}

#sidebarcontent #diary_item {
	margin-bottom: 1em;
}

#sidebarcontent #diary_item h2.diary_event {
	background: none;
	padding: 0;
	margin: 10px;
	margin-bottom: 3pt;
	font-size: 120%;
	color: #484848;
}

#sidebarcontent #diary_item p {
	margin-top: 3pt;
	margin-bottom: 3pt;
}

#sidebarcontent #diary_item p.diary_information {
	font-style: italic;
	color: #666666;
}

#sidebarcontent #diary_item h2 {
	font-size: 100%;
	background: none;
	color: #ad64b3;
	padding-bottom: 0;
	margin-bottom: 0;
}

#sidebarcontent #diary_item LI {
	color: #484848;
	margin-left: -6pt;
}

#diary_item p.diary_information span.diary_location {
	font-weight: bold;
}

/* @end */

p.admin-front-image {

}

span.admin-front-image-caption {
	vertical-align: top;
	padding-left: 20px;
	font-style: italic;
	color: #999999;
}

/* @group Links */

div#links {
}

div#links div#links_link {
	margin-top: 1em;
	margin-bottom: 1em;
	display: block;
}

div#links h1 /* Section headers */ { 
	color: #4995b4;
	margin-top: 1em;
	margin-bottom: -0.5em;
	font-size: 140%;
	font-style: italic;
	
}

div#links h2 /* Link name */ {
	font-style: normal;
	display: inline;
	font-size: 100%;
	padding-right: 0.5em;
}

div#links p {
	display: inline;
}

div#links p.links_section {
	font-size: 90%;
	padding-left: 0.5em;
	color: #666666;
	font-style: italic;
}

div#links p.links_section span.links_section_text {
	font-weight: bold;
}

/* @end */

/* @group News */

#news_news span.postdate span.news_posteddate {
	font-weight: bold;
}

div#news {
	margin-top: 20px;
}

#news_news h1 {
	font-size: 180%;
}

div#news h1 {
	font-size: 200%;
	padding-top: 0;
	margin: 0;
}

#news span.postdate {
	margin-bottom: 2em;
	font-style: italic;
	color: #666666;
}

/* @end */

#maincontent h2 {
	color: rgb(15, 102, 136);
	margin-top: 1em;
	margin-bottom: -0.5em;
	font-size: 140%;
	font-style: italic;
}

#menusidebarcontent p.menuheading {
	font-size: 80%;
	color: #666666;
	font-weight: bold;
	margin-top: 1.4em;
	margin-bottom: -0.7em;
}

#sidebarcontent ul, #menusidebarcontent ul {
	color: #333333;
	font-size: 90%;
	margin: 10px;
	padding-left: 15px;
	margin-top: -4pt;
}

#sidebarcontent li, #menusidebarcontent li {
	margin-top: 3pt;
}

div#mastbar {
	position: absolute;
	height: 100px;
	width: 100%;
	background-color: black; /* rgb(0, 37, 51); rgb(5, 34, 46); */
	opacity: 0.5;
	filter: alpha(opacity=50);
}

div#mast {
	position: absolute;
	margin-left: auto;
	margin-right: auto;
	width: 968px;
}

div#mast img {
}

div#mast h1 {
	padding: 12px;
	color: white;	
}

div#copyright {
	width: 100%;
	color: #cccccc;
	background-color: black;
	text-align: center;
	clear: both;
	padding-top: 10px;
	padding-bottom: 10px;
}

#copyright a {
	text-decoration: none;
}

/* @group CSS Menus */

#cssdropdown, #cssdropdown ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

#cssdropdown li {
	float: left;
	position: relative;
	padding-top: 6px;
	padding-bottom: 6px;
}

#cssdropdown li.mainitems ul.subuls li.item {
	padding: 0;
}

.mainitems{
	padding-left: 0px;
	padding-right: 0px;
}

div#menu .mainitems a{
	padding-left: 8px;
	padding-right: 8px;
	padding-top: 6px;
	padding-bottom: 6px;
	font-size: 100%;
	text-decoration: none;
	font-weight: normal;
}

#cssdropdown li.mainitems ul.subuls li.item a {
	color: #cccccc;
	width: 164px;
	display: block;
}

div#menu .mainitems a:hover {
	background-color: #666666;
	color: #ffffff;
}

#cssdropdown .subuls{
	display: none;
	width: 180px;
	position: absolute;
	top: 26px;
	left: 0;
	border: 1px solid black;
	padding-bottom: 4px;
	background-color: black;
}

.subuls li{
	color: #ffffff;
	width: 100%;
}

.subuls li.description {
	padding-left: 8px;
	padding-right: 8px;
	width: 160px;
	margin-left: 0px;
	margin-right: 0px;
	color: #888888;
	font-size: 90%;
	background-color: black;
}

subuls li a{
	text-decoration: underline;
}

#cssdropdown li>ul {  /*to override top and left in browsers other than IE, which will position to the top right of the containing li, rather than bottom left*/ 
	top: auto;
	left: auto;
}

#cssdropdown li:hover ul, #cssdropdown li.over ul { /* lists nested under hovered list items */
	display: block;
}

/* @end */

/* @group Admin
 */

#maincontent table.admintable {
	margin-top: 15px;
	width: 100%;
	padding: 0;
	background: none;
}

#maincontent table.admintable TH {
	text-align: left;
	padding: 5px;
	background-color: #4995b4;
	color: white;
}

#maincontent p.adminlinkline {
	margin-bottom: 30px;
}

#maincontent p.admintoolbar {
	margin-top: 1.5em;
	margin-bottom: 2.5em;
	padding: 8px;
	background-color: #c9dfe9;
}

span.info {
	color: #666666;
	font-style: italic;
}

#maincontent table.admintable TD {
	padding: 5px;
	background-color: #c9dfe9;
}

#maincontent table.admintable A {
	color: #4995b4;
}

/* @end */

#news_news span.imageholder {
	/*display: inline-block;
	width: 108px;
	text-align: center;*/
	padding-right: 20px;
	padding-bottom: 8px;
	float: left;
}

#news_news h1.news_topstory span.imageholder {
/*	display: inline-block;
	width: 164px;
	text-align: center;*/
	float: left;
	padding-right: 20px;
	padding-bottom: 8px;
}

/*#news_news div.newstext {
	float: left;
	display: inline;
}*/

#frontnews h1 img {
	border: 2px solid #4995b4;
	margin-top: 5px;
}

#news div.news_item div.newsimage {
	margin-bottom: 10px;
	float: right;
	margin-left: 10px;
}

#news div.news_item div.newsimage img {
	margin-top: 1em;
	border: none;
}

#news div.news_item div.newsimage span.imagecaption {
	color: #4995b4;
	font-size: 90%;
	font-style: italic;
	text-align: center;
	display: block;
}

#news div.news_item div.newsimage a {
	text-decoration: none;
	font-weight: normal;
}

#maincontent table.admintable td.topstorycell {
	background-color: #ad64b3;	
}

#news div.news_item h1 {
	font-size: 250%;
}

#news div.news_item {
	margin-top: 25px;
}

#news #news_news div.newsimage {
	float: right;
	margin-top: 1em;
	margin-left: 10px;
	margin-right: 0;
	margin-bottom: 10px;
}

#news #news_news div.newsimage img {
	border: none;
}

#news #news_news div.newsimage span.imagecaption {
	color: #4995b4;
	font-size: 90%;
	font-style: italic;
	text-align: center;
	display: block;
}

#news #news_news div.newsimage a {
	text-decoration: none;
	font-weight: normal;
}

#news #news_news h1 {
	margin-top: 40px;
	clear: both;
}

#maincontent p.bighighlight {
	font-size: 125%;
	font-weight: bold;
	color: #4995b4;
	background-color: #c9dfe9;
	margin: 10px;
	padding: 10px;
}

#maincontent p a.button {
	background-color: #4995b4;
	color: white;
	text-decoration: none;
	font-weight: bold;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 10px;
	padding-right: 10px;
	margin-top: 10px;
	display: inline-block;
}

#maincontent table {
	margin-top: 25px;
	background-color: #c9dfe9;
	width: 100%;
	padding: 6px;
}

#maincontent table tr {
	padding: 0;
}

#maincontent table td {
	padding: 3px;
}

#maincontent h3.wheretogo {
	padding: 4px;
	margin-top: 20px;
	margin-bottom: 0px;
	font-weight: bold;
	color: #4995b4;	
	background-color: #c9dfe9;
}

#maincontent h3 {
	margin-top: 20px;
	margin-bottom: 0px;
	font-weight: bold;
	color: #4995b4;		
}

#maincontent p.seealso {
	padding: 10px;
	margin-top: 20px;
	margin-bottom: 0px;
	font-weight: bold;
	color: #4995b4;	
	background-color: #c9dfe9;	
}

#maincontent table p {
	margin: 0;
}

#maincontent ul {
	margin-top: 1em;
}

#maincontent ul li {
	margin-left: 20px;
}