/*
SITE: simplydiabetes.co.uk 
TYPE: css 
MEDIA: screen
*/


/* ----- FOUNDATIONS ----- */

html {
	height: 100%;
	padding: 0;
	margin: 0;
}

body { 
	padding: 0;
	margin: 0;
	background-color: white;
	height: 100%;
	min-width: 800px;
}

* html body {
	border-right: 800px solid white;
}

#maincontainerleft{
	padding: 0 0 0 50px;
	margin: 0;
	background: url() white 0% 0% repeat-y;
	min-height: 100%;
}

#maincontainerright{
	padding: 0;
	margin: 0;
}

#maincontainer{
	margin:  0;
	padding: 0px 80px 0px 30px;
	background: url() white 100% 0% repeat-y;
	min-height: 100%;
}

* html #maincontainerright {
	height: 100%;
	border-left: 1px solid white;
}

* html #maincontainer {
	display: inline-block; 
	position: relative; 
	margin-right: -800px;
	margin-top: 0px;
}

.cleaner{
	clear: both;
	font-size: 0em;
	height: 0px;
	line-height: 0;
	padding:0;
	margin:-2px 0 0 0;
}


/* ----- HEADER ----- */

#headercontainer{
	width: 100%;
    padding: 0;
	margin: 0;
}

#header{
	width: 100%;
	margin: 0;
	padding: 25px 0 0 0;
	background: white;
	position: relative;
	background: url() 0% 0% repeat-x;
	
}

#logo{
	border: none;
	display: inline;
	margin: 0px 20px 0px 0px;
	padding: 0;
}

#header h1{
	margin: 0;
	padding: 10px 0px 0px 0px;
	text-align: left;
	font:  bold 2em "century gothic", sans-serif;
	color: white;
	
	display: block;
	position: relative;
	
}


/* HEADER - NAVIGATION */

#headernav{
	padding: 30px 0px 18px 0px;
	margin: 10px 0px 0px 0px;
	list-style: none;
	text-align: left;
	border: none;
	display: block;
	min-width: 400px;
	clear: both;
	border-top: 5px solid rgb(31,118,195);
	background: url() 0% 0% repeat-x;
}
	
#headernav li{
	margin: 0px 4px 0px 0px;
	padding: 0;
	list-style: none;
	text-align: center;
	display: inline;
}
	
#headernav li a{
	padding: 10px 20px 12px 20px;
	margin: 0;
	list-style: none;
	text-align: center;
	font:  0.9em verdana, "CENTURY GOTHIC", Verdana, sans-serif;
	text-decoration: none;
	color: white;
	border: 1px solid  rgb(0,101,191);
	border-top: none;
	border-bottom: 1px solid rgb(1, 75, 136);
	background: url(images/btn.gif) rgb(0,101,191) 0% 0% repeat-x;
}

#headernav .headselected{
	background: url(images/btnsltd.gif) rgb(189,30,80) 0% 0% repeat-x;
	padding: 10px 20px 25px 20px;
	color: black;
	color: white;
	border: 1px solid rgb(189, 30, 80);
	border-top: none;
}

#headernav a:hover{
	color: white;
	background: url(images/btnhvr.gif) rgb(64,64,64) 0% 0% repeat-x;
	border: 1px solid  rgb(64,64,64);
	border-top: none;
}

#headernav .headselected:hover{
	color: white;
	background: url(images/btnsltd.gif) rgb(189,30,80) 0% 0% repeat-x;
	text-decoration: none;
	border: 1px solid rgb(189, 30, 80);
	border-top: none;
}


/* ----- CONTENT ----- */

#contentcontainer{
	margin: 0;
	padding: 0;
	position: relative;
}
	
#content{
	width: 74%;
	min-width: 325px;
	float: left;
	clear: left;
	margin: 0;
	padding: 0;	
	position: relative;
	display: block;
	color: black;
	border: none;
}

#contentarea{
	border: 1px solid rgb(0, 101, 191);
	padding-bottom: 15px;
	margin: 20px 0px 80px 0px;
	position:relative;
	background-color: white;
	border-top: none;
	
}

	
#contentinner{
	padding: 15px 0px 15px 0px;
	margin: 0px 0px 0px 0px;
	background: url(images/shadowb.jpg) 0% 0% repeat-x;
}

a{
	text-decoration: underline;
	color: rgb(138, 22, 57);
	color: rgb(189, 30, 80);
}


a:hover{
	color: rgb(31,118,195);
}



#content .caption{
	vertical-align: top;
	margin: 0px 20px 0 75px;
	display: block;
	line-height: 50px;
}

#content img{
	padding: 0;
	margin: 0;
	display: inline;
	float: left;
	position: relative;
}

#content h1{
	display: block;
	margin: 0px 0 0px 0;
	padding: 10px 20px 12px 20px;
	font:  bold 1.4em georgia, serif;
	color: white;
	background: url(images/btn.gif) rgb(0,101,191) 0% 0% repeat-x;
}

#content h2{
	margin: 0;
	padding: 10px 20px 10px 20px;
	font: bold 1.2em Georgia, "Century Gothic", sans-serif;
	color: rgb(189, 30, 80);
}


#content .emtext {
	font: bold 1.2em Georgia, "Century Gothic", sans-serif;
	color: rgb(189, 30, 80);
	
}


#content p{
	margin: 0;
	padding: 8px 20px 8px 20px;
	font: 1em Georgia, "Century Gothic", sans-serif;
	display: block;
}

#content ul{
	margin: 0;
	padding: 10px 50px 10px 50px;
	font: 1em Georgia, "Century Gothic", sans-serif;
	display: block;
	list-style-type: square;
}

#content li{
	color: rgb(31,118,195);
	font: 0.9em "Verdana", sans-serif;
	padding: 5px 5px 5px 5px;
}

/* CONTENT - NAVIGATION */

#contentnav {
	padding:0;
	margin: 0;
	background: url(images/bkbox.jpg) rgb(138, 22, 57) 0% 0% repeat-x;
	position: relative;
	display: block;
	
}

#contentnav p{
	color: white;
	padding: 20px 20px 20px 20px;
	margin: 0;
	font: 1.1em Georgia, serif;
	display: relative;
}

#contentnav img{
	padding: 0 0 0 0px;
	margin: 0 0px 0px 20px;
	float: right;
	top: 0;
	right: 0;
	border-left: 2px solid rgb(138, 22, 57);
	
	position:relative;
}

#contentnav a{
	color: rgb(31,118,195);
	font-weight: bold;
}


#contentnav a:hover{
	color: rgb(189, 30, 80);
	
}


/* ----- SIDEBAR ----- */

.sidebar{
	width: 24%;
	float: right;
	margin: 0;
	padding: 0;
	text-align: left;
	background-color: white;
	position: relative;
	border: 1px solid rgb(0, 101, 191);
	border-top: none;
}

.sidebar h1{
	color: rgb(32,34,28);
	text-align: center;
	color: white;
	margin: 0;
	padding: 10px 10px 12px 10px;
	font:  bold 1.4em georgia, serif;
	background: url(images/btn.gif) rgb(0,101,191) 0% 0% repeat-x;
	position: relative;
}

.sidebar h2{
	margin: 0px 10px 0px 10px;
	padding: 10px 0px 0px 0px;
	color: black;
	font:  1em Verdana, "century gothic", sans-serif;
	text-align: left;
	border-bottom: 1px solid white;
}

.sidebar p{
	margin: 0;
	padding: 15px 10px 15px 10px;
	font: 0.8em Georgia, Verdana, "Century Gothic", sans-serif;
	color: black;
	text-align: left;
}
.sidebar img{
	float: right;
	padding: 10px 10px 10px 10px;
}
	
.sidebarcontent{
	padding: 10px 10px 10px 10px;
	margin: 0px 0px 0px 0px;
	background: url(images/shadowb.jpg) 0% 0% repeat-x;
}


/* ----- FOOTER -----*/

#footer{
	clear: both;
	margin: 0;
	padding: 40px 0 0px 0;
	text-align: center;
	background-color: white;
	position: relative;
	height: 1%;
	background: url() 0% 0% repeat-x;
}

#footer ul{
	list-style: none;
	padding: 0px 0px 15px 0px;
	margin: 0px;
	border-bottom: 5px solid rgb(31,118,195);
}

#footer li{
	display: inline;
}

#footer a{
	
	color: rgb(138, 22, 57);
	color: rgb(189, 30, 80);
	font: 0.6em "Verdana", sans-serif;
	padding: 0px 10px 0px 10px;
	margin: 0;
	text-decoration:underline;
	display:inline;
}

#footer p{
	color: rgb(31,118,195);
	font: 0.6em "Verdana", sans-serif;
	padding: 0px 10px 0px 10px;
	margin: 0px 0px 0px 0px;
}

#footer .credits{
	padding: 2px 5px 20px 0px;
	margin: 0px 0px 0px 0px;
	text-align: right;
	background: url() 0% 0% repeat-x;
}

#footer .credits a{
	color: rgb(160,160,160);
	font: small-caps 1em "Verdana", sans-serif;
	padding: 0px;
	margin: 0px;
	text-decoration: none;
}


/* ----- CORNERS ----- */

/* CORNERS - SECTIONS */

.trsection{
	margin: 0;
	padding: 0;
	background: url(images/tr.gif) transparent 100% 0% no-repeat;
	position: relative;
}

.tlsection{
	margin: 0;
	padding: 0;
	background: url(images/tl.gif) transparent 0% 0% no-repeat;
}

.brsection{
	background: url(images/br.gif) transparent 100% 100% no-repeat;
	padding-bottom: 0px;
}

.blsection{
	background: url(images/bl.gif) transparent 0 100% no-repeat;
	position: relative;
}


/* ----- ACCESSIBILITY ----- */

#skip a, #skip a:hover, #skip a:visited
{
position:absolute;
left:0px;
top:-500px;
width:1px;
height:1px;
overflow:hidden;
}
 
#skip a:active
{
position:static;
width:auto;
height:auto;
} 

.sidebar .imagelink img{
	text-decoration: none;
	border: none;
	padding: 0px 20px 20px 20px;
}

.sidebar a{
	font: 1.2em Georgia, serif;
}














#contactform {
	width: 520px;
	margin-top: 25px;
}

#contactform input, #contactform textarea {
	padding: 3px;
	width: 320px;
	font: 1em Verdana, sans-serif;
	margin: 0px 0px 10px 0px;
	border: 1px solid rgb(31,118,195);
}

#contactform textarea {
	height: 90px;
}

#contactform textarea:focus, #contactform input:focus {
	border: 1px solid rgb(189, 30, 80);
}

#contactform input.submit-button {
	width: 100px;
	margin: 5px 0px 5px 340px;
	padding: 10px 20px 10px 20px;
	font:  0.9em verdana, "CENTURY GOTHIC", Verdana, sans-serif;
	border-top: none;
	border:none;
	
	color: white;
	background: url(images/btn.gif) rgb(0,101,191) 0% 0% repeat-x;
}


label {
	float: left;
	text-align: right;
	margin-right: 15px;
	width: 100px;
	padding-top: 5px;
	font-size: 1.2em;
}
