/********************************************
   AUTHOR:         Erwin Aligam 
   WEBSITE:        http://www.styleshout.com/
   EDITED BY:      Ed Kay, Dietsure
 *******************************************
   COLOUR LIST:
     Orange        #FF9A35
     Blue          #6074D4
     Green         #77C018
     Yellow        #F0DE1A
     Red           #F7381F
     Grey          #999999 
 *******************************************/


/********************************************
   HTML ELEMENTS
********************************************/ 

/* Top Elements */
* { margin: 0; padding: 0; }

body {
	background: #cccccc;
	font: 70%/1.5em Verdana, Tahoma, 'Trebuchet MS', Arial, sans-serif;
	color: #333; 
	text-align: center;
}

/* paragraphs */
p, PDFNormal {
	padding: 10px;		
	margin: 0px;
}

/* links */
a, a:visited {
	text-decoration: none;
	color: #6074D4; 
	background: inherit;
}
a:hover {
	color: #FF9A35;
	background: inherit;
}

/* headers */
h1, h2, h3, p.PDFTitle1, p.PDFTitle2, p.PDFTitle3 {
	font-family: Verdana, Tahoma, 'Trebuchet MS', Arial, sans-serif;
	color: #6074D4;		
}
h1 {
	font-size: 200%;
	font-weight: normal;
	margin: 0px;
	border-bottom: 1px solid #cccccc;
	padding: 10px 10px 10px 0px;
}
h2, p.PDFTitle1 {
	font-size: 120%;
	font-weight: Bold;
	padding: 10px;
}
h3, p.PDFTitle2, p.PDFTitle3 {
	font-size: 120%;
	font-weight: Bold;
	padding: 10px;
	color: #333333;
}

/* lists */
ul, ol {
	margin: 10px 20px 0px 20px;
	padding: 0px 10px;
	color: #FF9A35;	
}
ul span, ol span {
	color: #333333;
}

/* horizontal rule */
hr {
    height: 1px;
    color: #cccccc;
}

/* tables */
td {
    padding-bottom: 4px;
}
td.subtotal {
    border-top: 1px solid #000000;
    padding-top: 5px;
}
td.total {
    border-top: 2px solid #000000;
    border-bottom: 2px solid #000000;
    font-weight: bold;
    padding-top: 5px;
}

/* images */
img {
	border: none;
}
img.float-right {
  margin: 5px 0px 10px 10px;  
}
img.float-left {
  margin: 5px 10px 10px 0px;
}

/* form elements */
label {
	display:block;
	font-weight:bold;
	margin:5px 0;
}
input, select {
	padding: 3px;
	border:1px solid #999;
	font: normal 1em Verdana, sans-serif;
	color:#777;
}
textarea {
	width:400px;
	padding:2px;
	font: normal 1em Verdana, sans-serif;
	border:1px solid #999;
	height:100px;
	display:block;
	color:#777;
}
input[type="button"] { 
	padding: 1px; 
	font-weight: bold; 
	color: #333;
	margin: 0; 
	background: #cccccc;
}
input[type="radio"], input[type="checkbox"] {
    border-style: none;
}
input.indent {
	position: relative;
	left: 20px;
}

/********************************************
   DIETSURE SPECIFIC STYLES AND CLASSES
********************************************/ 

/* Questionnaire button styles */
input[type="button"].QuestOptionBtn {
	border: none;
	background: #f0f0f0;
	width: 330px;
	padding: 5px;
	margin: 3px;
}
input[type="button"].QuestNumGridBtn { 
	border: none;
	background: #f0f0f0;
	width: 55px;
	padding: 5px;
	margin: 3px;
}

/* Grid Classes */
.gridsMouseNotOver {background-color:#f5f5f5;}
.gridsMouseOver {background-color:#d3d3d3;}
.gridsHighlighted {background-color:#ffd700;}

/********************************************
   LAYOUT
********************************************/ 
#wrap {
	width: 820px;
	background: #CCC url(content.jpg) repeat-y center top;
	margin: 0 auto;
	text-align: left;
}
#content-wrap {
	clear: both;
	width: 760px;
	padding: 0; 
	margin: 0 auto;
}
#header {
	width: 820px;
	position: relative;
	height: 120px;
	background: #CCC url(header.jpg) no-repeat center top;
	padding: 0;
	font-weight: bold;
	text-align: right;
}

/* login */
#login {
	float: right;
	position: relative;
	top: 35px;
	right: 35px;
	background: transparent;
	border: none;
	text-align: right;
}
#login h1 {
    font-size: 150%;
    color: #FF9A35;
	margin: 0px;
	padding: 0px 0px 20px 0px;
	border: none;
}
#login p {
    margin: 0px;
    padding: 0px;
}
#txtLoginResult {
	color: #F7381F;
	padding-top: 2px;	
}

/* Main Column */
#main {
	float: right;
	width: 72%;
	padding: 0;
	margin: 0;
	min-height: 600px;
}

.post-footer {
	background-color: #FAFAFA;
	padding: 5px; margin: 20px 10px 0 10px;
	border: 1px solid #f2f2f2;
	font-size: 95%;	
}
.post-footer .date {
	background: url(clock.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}
.post-footer .comments {
	background: url(comment.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}
.post-footer .readmore {
	background: url(page.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}

/* Sidebar */	
#sidebar {
	float: left;
	width: 26.5%;
	padding: 0; margin: 0;	
}	
#sidebar h1 {
	margin-top: 10px;
	padding: 5px 0 5px 8px; 
	font: bold 1.3em Verdana, Tahoma, 'Trebuchet MS', Arial, sans-serif;
	color: #999999;
	border: none;
}
#sidebar a h1 {
	color: #FF9A35;
}
#sidebar a:visited h1 {
	color: #FF9A35;
}
#sidebar a:hover h1 {
	color: #FF9A35;
}
#sidebar .left-box {
	border: none; 
	margin: 0 0 5px 0;	
}
#sidebar ul.sidemenu {
	list-style: none;
	text-align: left;
	margin: 3px 0 8px 0; padding: 0;
	text-decoration: none;		
}
#sidebar ul.sidemenu li {
	/*border-bottom: 1px solid #EFF0F1;*/
	border: none;
	background: url(go.gif) no-repeat 5px 5px;	
	padding: 2px 0 2px 25px;
	margin: 0 2px;
	position: relative;
}
#sidebar ul.sidemenu a {
	font-weight: bolder;
	text-decoration: none;	
	background-image: none;	
}

/* Footer */	
#footer {
	color: #666666;
	background: #CCC url(footer.jpg) no-repeat center top;
	clear: both;
	width: 820px;
	height: 55px;
	text-align: center;	
	font-size: 92%;
}
#footer a { text-decoration: none; }

/* alignment classes */
.float-left  { float: left; }
.float-right { float: right; }
.align-left  { text-align: left; }
.align-right { text-align: right; }

/* display and additional classes */
.clear { clear: both; }
.gray { color: #CCC; }
.error { color: Red }
.small {font-size: 80%;}
td.head, p.PDFBold { font-weight: bold; }
p.PDFGreen { font-weight: bold; color: #77C018; }
p.PDFRed { font-weight: bold; color: #F7381F; }
p.PDFItalic { font-style: italic; }

/* NOT USED */
code {
  margin: 5px 0;
  padding: 10px;
  text-align: left;
  display: block;
  overflow: auto;  
  font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace ;
  /* white-space: pre; */
  background: #FAFAFA;
  border: 1px solid #f2f2f2;  
}
acronym {
  cursor: help;
  border-bottom: 1px solid #777;
}
blockquote {
	margin: 10px;
 	padding: 0 0 0 28px;  
    border: 1px solid #f2f2f2; 
  	background: #FAFAFA url(quote.gif) no-repeat 5px 5px;    
}
