/*--------------------------------------------*/
/* American Association of Diabetes Educators */
/*--------------------------------------------*/
/*                                            */
/* Written By: Purple Monkey Studios, Inc.    */
/* Written On: 05/21/2007                     */
/*                                            */
/* Last Modified On: 05/31/2007               */
/* Last Modified By: Jennifer Berk            */
/*                                            */
/*--------------------------------------------*/

/* TEMPORARY - REMOVE BEFORE CREATING CMS TEMPLATES */
/*#subnav .login #case1-loggedout {
	display: block;
}
#subnav .login #case2-membergoodstanding {
	display: block;
}
#subnav .login #case3-memberexpiring {
	display: block;
}
#subnav .login #case4-registered {
	display: block;
}
#subnav .login #case2-membergoodstanding,
#subnav .login #case3-memberexpiring,
#subnav .login #case4-registered {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid black;
}*/
/* END TEMPORARY - REMOVE BEFORE CREATING CMS TEMPLATES */

/* OPENCMS - openCMS button reset */
#content .ocms_de_bt table {
	width: auto !important;
}
/* END OPENCMS */

* {
	margin: 0;
	padding: 0;
}
img {
	vertical-align: top;
}
a img {
	border: 0;
}
form input {
	vertical-align: middle;
	padding-left:3px;
}
form textarea {
	font-family: verdana, sans-serif;
	padding:2px 3px;
}
form select {
	vertical-align: middle;
}
.clearfix {
	display: block;
}
* html .clearfix {
	height: 1%;
}
.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

html {
	height: 100%;
}
body {
	height: 100%;
	text-align: center;
	color: #202021;
	font-size: 62.5%;  /* base size is 10px */
	font-family: verdana, sans-serif;
	line-height: 1.6;
	background: #3c3b31 url(../images/dropshadow.gif) top center repeat-y;
}
#container {
	min-height: 100%;
	margin: 0 auto;
	width: 999px;
	text-align: left;
	background: #ffffff;
}
* html #container {
	height: 100%;
}

#toolbar {
	display: inline;  /* Fix IE float double margin bug */
	float: left;
	width: 971px;
	margin: 0 14px;
	color: #ffffff;
	line-height: 27px;
	text-transform: uppercase;
	background: #3c3b31;
}
#toolbar a {
	color: #ffffff;
	text-decoration: none;
}
#toolbar a:hover {
	text-decoration: underline;
}
#toolbar ul#courtesynav {
	float: right;
}
#toolbar ul#courtesynav ul {
}
#toolbar ul#courtesynav li {
	float: left;
	list-style-type: none;
	font-size: .98em;
}
#toolbar ul#courtesynav li.jumplink {
	position: absolute;
	margin-left: -3000em;
}
#toolbar ul#courtesynav li form.search {
	display: inline;
	margin-left: 20px;
	margin-right: 15px;
	white-space: nowrap;
}
#toolbar ul#courtesynav li form.search p {
	display: inline;
}
#toolbar ul#courtesynav li form.search #searchlabel {
	position: absolute;
	margin-left: -3000em;
}
#toolbar ul#courtesynav li form.search #searchstring {
	color: #000000;
	height: 13px;
	line-height: 13px;
}
#toolbar ul#textsizechange {
	display: inline;  /* Fix IE float double margin bug */
	float: left;
	margin-left: 20px;
}
#toolbar ul#textsizechange li {
	display: inline;
	margin-right: 6px;
	list-style-type: none;
}
#toolbar ul#textsizechange li img {
	margin-top: 3px;
}

#header {
	clear: left;
	height: 173px;
	margin: 0 14px;
}

#mainnav {
	margin: 0 14px;
}
#mainnav li {
	float: left;
	list-style-type: none;
}

#main {
	float: left;
}
#main h1 {
	font-size: 1.0909em;  /* 12px at default text size */
}

#subnav {
	display: inline;  /* Fix IE float double margin bug */
	float: left;
	width: 216px;  /* 256px total including padding */
	min-height: 261px;  /* 325px total including padding */
	padding: 32px 20px;
	margin-left: 14px;
	color: #767561;
	background: url(../images/subnav_background.gif) top left no-repeat;
}
* html #subnav {  /* IE6 doesn't do min-height */
	height: 261px;  /* 325px total including padding */
}
#subnav h1 {
	margin-bottom: 24px;
	padding-bottom: 8px;
	color: #3c3b31;
	text-transform: uppercase;
	background: url(../images/subnav_header_background.gif) bottom left no-repeat;
}
#subnav a {
	color: #f47a20;
	text-decoration: none;
}
#subnav a:hover {
	text-decoration: underline;
}
#subnav ul.navlinks li {
	list-style-type: none;
	margin-bottom: 4px;
}
#subnav ul.navlinks li a.selected {
	color: #3c3b31;
}
#subnav ul.navlinks li ul {
	margin-top: 4px;
	margin-left: 20px;
}
#subnav ul.navlinks {
	margin-bottom: 30px;
}
#subnav .login form {
	margin-bottom: 18px;
	font-size: 0.9091em;  /* 10px at default text size */
}
#subnav .login form label {
	display: block;
	color: #3c3b31;
	text-transform: uppercase;
}
#subnav .login form label#rememberlabel {
	display: inline;
	text-transform: lowercase;
}
#subnav .login form input.textinput {
	height: 21px;
	width: 150px;
	padding:2px;
        padding-left: 3px;
	border: none;
	background: url(/system/modules/com.purplemonkey.aade/resources/images/login_textinput_background.gif) top left no-repeat;
}
/* * html #subnav .login form input.textinput {
	background-attachment: fixed;  //since firefox doesn't like this
}*/
#subnav .login form p {
	font-size: 1em;  /* Fix nesting producing wrong text size */
}
#subnav .login p {
	margin-bottom: 10px;
	font-size: 0.9091em;  /* 10px at default text size */
}
#subnav .login ul {
	font-size: 0.9091em;  /* 10px at default text size */
}
#subnav .login li {
	list-style-type: none;
	padding-left: 15px;
	background: url(../images/login_bullet.gif) center left no-repeat;
}

#content {
	display: inline;  /* Fix IE float double margin bug */
	float: right;
	width: 635px;  /* 715px total including padding */
	min-height: 261px;  /* 325px total including padding */
	margin-right: 14px;
	padding: 32px 40px;
	color: #767561;
	background: url(../images/content_background.gif) top right no-repeat;
}
* html #content {  /* IE6 doesn't do min-height */
	height: 261px;  /* 325px total including padding */
}
#content h1 {
	margin-bottom: 24px;
	padding-bottom: 8px;
	color: #3c3b31;
	text-transform: uppercase;
	background: url(../images/content_header_background.gif) bottom left no-repeat;
}
#content h2 {
	margin-top: 22px;
	margin-bottom: 5px;
	color: #3c3b31;
	font-size: 1.1818em;  /* 13px at default text size */
}
#content h3 {
	margin-top: 12px;
	margin-bottom: 3px;
	color: #3c3b31;
	font-size: 1em;  /* 11px at default text size */
}
#content h4 {
	display: inline;
	margin-top: 10px;
	font-size: 1em;  /* 11px at default text size */
}
#content h5,
#content h6 {
	display: inline;
	font-size: 1em;  /* 11px at default text size */
}
#content a,
#content a h1,
#content a h2,
#content a h3 {
	color: #f47a20;
	text-decoration: none;
}
#content a:hover {
	text-decoration: underline;
}
#content p {
	margin-bottom: 18px;
}
#content ul {
	margin-left: 28px;
	margin-bottom: 18px;
}
#content ol {
	margin-left: 28px;
	margin-bottom: 18px;
}
#content li ul {
	margin-left: 28px;
	margin-bottom: 0;
}
#content li ol {
	margin-left: 28px;
	margin-bottom: 0;
}
#content table {
	width: 99.9%;
	margin-left: 1px;
	margin-bottom: 22px;
	border-collapse: collapse;
	border: 1px solid #cacecb;
}
#content table th {
	padding: 5px 15px;
	vertical-align: top;
	font-size: 1.0909em;  /* 12px at default text size */
	background: #e2e2e2;
	border-left: 1px solid #cacecb;
	border-bottom: 1px solid #cacecb;
}
#content table th.first {
	border-left: 1px solid #e2e2e2;
}
#content table td {
	padding: 5px 15px;
	vertical-align: top;
	background: #ffffff;
	border-left: 1px solid #cacecb;
	border-bottom: 1px solid #cacecb;
}
#content table td.whiterow {
	background: #ffffff;
}
#content table.structural {
	width: auto;
	margin: 0;
	border: none;
	margin-bottom: 22px;
}
#content table.structural th,
#content table.structural td {
	padding: 5px;
	background: transparent;
	border: none;
}
#content fieldset.calendarDate {
	padding:10px;
}
#content fieldset.calendarDate p.chapter {
	margin-top: 20px;
	color: #3c3b31;
	font-size: 1em;
	font-weight: bold;
}
#content fieldset.calendarDate p.contactPerson:first-line {
	font-size: 1em;
}
#content fieldset.calendarDate p.contactPerson {
	font-size: .95em;
}
#content fieldset.calendarDate p {
	margin-bottom:8px;
}
#content .highlight {
	margin-top: 18px;
	margin-bottom: 18px;
	border: 1px solid #f47a20;
}
#content .highlight h5 {
	display: block;
	height: 36px;
	padding: 0 12px;
	color: #3c3b31;
	font-size: 1.0909em;  /* 12px at default text size */
	line-height: 36px;
	background: url(../images/highlight_background.gif) top left repeat-x;
}
#content .highlight h6 {
	display: block;
	margin-top: 15px;
	padding: 0 12px 3px;
	color: #3c3b31;
	font-size: 1em;  /* 11px at default text size */
}
#content .highlight p {
	padding: 0 12px;
	color: #3c3b31;
}
#content dl dd.hiddenpop {
	display: none;
}

#dropshadow {
	min-width: 999px;  /* Firefox otherwise makes this the width of the viewport, with #footer sticking out. */
	background: #3c3b31 url(../images/footer_background.gif) top center no-repeat;
}
#footer {
	width: 963px;
	height: 94px;  /* 160px total including padding */
	margin: 0 auto;
	padding-top: 66px;
	padding-left: 36px;
	color: #767561;
	text-align: left;
}

ol.legal {
	list-style-type: lower-alpha;
}
ol.legal li {
	margin-bottom: 4px;
}

#ieonly>#udm li a {
	display: inline-block;  /* Fix IE7 gaps between items */
}
#ieonly>#udm li a {
	display: block;  /* Fix IE7 gaps between items */
}
#udm li {
	border-bottom: 1px solid #4b4b4b;  /* Fix IE6 not showing borders on bottoms of multi-line a tags */
}
* html #udm li a {
	margin-top: -2px;  /* Fix IE6 2px gap between items */
}

/************/
/* HOMEPAGE */
/************/
body#home {
	color: #767561;
}
#home #header {
	height: 239px;
}
#home #subnav {
	width: 196px;  /* 236px total including padding */
	background: url(../images/home_subnav_background.gif) top left no-repeat;
}
#home #subnav h1 {
	height: auto;
	padding-bottom: 0;
	background: url(../images/home_subnav_header_background.gif) no-repeat center right;
}
.morelink {
	padding-right: 10px;
	background: url(../images/more.gif) center right no-repeat;
}
#home #sidebar {
	display: inline;  /* Fix IE float double margin bug */
	float: right;
	width: 208px;  /* 236px total including padding */
	min-height: 261px;  /* 325px total including padding */
	margin-right: 14px;
	padding: 32px 14px;
	background: url(../images/sidebar_background.gif) top left no-repeat;
}
* html #home #sidebar {  /* IE6 doesn't do min-height */
	height: 261px;  /* 325px total including padding */
}
#home #sidebar h1 {
	height: auto;
	margin-bottom: 16px;
	color: #3c3b31;
	text-transform: uppercase;
	background: url(../images/home_sidebar_header_background.gif) center right no-repeat;
}
#home #sidebar h3 {
	margin-top: 20px;
	margin-bottom: 3px;
	font-size: 1em;  /* 11px at default text size */
}
#home #main h5{
	color: #777066
}
#home #main a {
	color: #f47a20;
	text-decoration: none;
}
#home #main a:hover {
	text-decoration: underline;
}
#home #sidebar .featured_product {
	margin: 0 5px 20px;
	padding-bottom: 20px;
	border-bottom: 1px dotted #999999;
}
#home #sidebar .featured_product h3 a {
	color: #767571;
}
/*#home #sidebar .featured_product p {
	font-size: .9091em;  /* 10px at default text size */
	line-height: 1.3em;
}*/
#home #sidebar img {
	display: block;
}
#home #homecontent {
	width: 457px;
	margin: 0 250px;
	padding: 32px 20px;
}
* html #home #homecontent {  /* Fix IE 3px jog */
	width: auto;
	height: 1%;
	margin-left: 0;
	margin-right: 0;
}
* html #home #sidebar {  /* Fix IE 3px jog */
	margin-left: -3px;
}
* html #home #subnav {  /* Fix IE 3px jog */
	margin-right: -3px;
}
#home #homecontent h2 {
	margin-bottom: 15px;
	font-size: 1.1818em;  /* 13px at default text size */
}
#home #homecontent h2 a {
	color: #767561;
}
#home #homecontent h1.newsheader {
	color: #3c3b31;
	text-transform: uppercase;
	background: url(../images/home_content_header_news_background.gif) center right no-repeat;	
}
#home #homecontent .newsitem {
	margin-top: 22px;
}
#home #homecontent .newsitem p {
	padding-bottom:1em;
}
#home #homecontent #events {
	float: left;
	width: 457px;
	margin-top: 15px;
}
#home #homecontent h1.eventsheader {
	color: #3c3b31;
	text-transform: uppercase;
	background: url(../images/home_content_header_events_background.gif) center right no-repeat;	
}
#home #homecontent .eventsitem {
	float: left;
	margin-top: 22px;
}
#home #homecontent .eventsitem .eventdate {
	float: left;
	width: 75px;
	margin-right: 10px;
	padding-right: 5px;
	color: #3c3b31;
	/* font-size: 11px;  Adjusted so will stay the same always */
	text-align: center;
	border-right: 1px dotted #9f9f9f;
}
#home #homecontent .eventsitem .eventdate .month {
	display: block;
	font-size: 1.2727em;  /* 14px always */
	line-height: 1.3;
	text-transform: uppercase;
	color: #767561;
}
#home #homecontent .eventsitem .eventdate .days {
	display: block;
	font-size: 1.6364em;  /* 18px always */
	line-height: 1.3;
	color: #767561;
}
#home #homecontent .eventsitem .eventdesc {
	float: right;
	width: 364px;
}
#home #homecontent .eventsitem .eventdesc h2 {
	margin-bottom: 10px;
}
#home #homecontent .eventsitem .eventdesc p {
	color: #767561;
/*	font-size: .9091em;*/  /* 10px at default text size */
}

/********************************/
/* INTERIOR WITH BOARD PICTURES */
/********************************/

/*****************************/
/* INTERIOR WITH TWO COLUMNS */
/*****************************/

