/*
## layout.css - Contains style for page layout
*/

/* Normalizes margin and padding */
* { 
  margin: 0;
  padding: 0;
}

/* Normalizes article content elements */
#content p,
#content dl.fileObject,
#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content .image-box,
#content ol,
#content ul,
#content .flashContent,
#content .mediaPlayer,
#content .user-table,
#content .bordered-user-table,
#content .outlined-user-table,
#content .outlined-horizontal-user-table,
#content .horizontal-user-table,
#content .outlined-vertical-user-table,
#content .vertical-user-table,
#content .user-box,
#content form {
  margin-bottom: 12px;
}

img, fieldset {
  border: 0;
}

a {
  text-decoration: underline;
  color: #2e4f9e;
}

a:hover {
  text-decoration: none;
}


ul, ol {
  padding-left: 25px;
}

/** 75% sets medium size to 12px in standard browsers **/
body {
  font: 75% Tahoma, Verdana, Arial, Helvetica, sans-serif;
  background-color: #fff;
}

h1, h2, h3, h4, h5 {
  font-weight: normal;
}

img {
  display: block;
}

input {
  font-size: 100%;
}


/********************
## Framework style ##
********************/
#wrapper {
  margin: 0 auto;
  width: 940px;
  border: 5px solid #fff;
  background: #fff;
}

#header {
  height: 124px;
  position: relative;
}

#searchForm {
  float: right;
  position: absolute;
  display: inline;
  top: 25px;
  right: 8px;
  margin: 6px 0;
}

#searchForm label {
  font-size: 117%;
  margin-right: 8px;
}

#searchForm .query {
  width: 134px;
  margin-right: 5px;
  border: 0;
  padding: 2px;
}

.searchField {
  float: right;
}

#newSearchForm .searchField {
  float: left;
  margin-bottom: 10px;
}

#newSearchForm .searchField  .button {
  margin-top: 5px;
}

#toolbar {
  margin-bottom: 30px;
}

#breadcrumbs {
  padding: 7px 0;
  float: left;
}

#breadcrumbs a {
  color: #000;

}

#breadcrumbs a.active {
  color: #666666;
}

#main {
  border-bottom: 1px dotted #999;
  padding-bottom: 45px;
  padding-top: 20px;
  min-height: 500px;
  height: auto !important;
  height: 500px;
}

#mainFrontpage {
  padding-top: 0;
}

#leftColumnFront {
  float: left;
  width: 560px;
}

#leftColumnFront .odd {
  float: left;
  width: 179px;
  margin-right: 10px;
}

#leftColumnFront .even {
  float: right;
  width: 175px;
  margin-right: 10px;
}

#leftColumnFront .section.three .odd,
#leftColumnFront .section.three .even {
  float: left;
  width: 175px;
  margin-right: 0;
}

#rightColumnFront {
  float: right;
  margin-left: 10px;
}

#leftColumnFront .summary .text {
  display: block;
  /*clear: both;*/
  float: none!important;
}

#leftColumn {
  float: left;
  width: 180px;
  height: 100%;
}

#mainColumn {
  float: left;
  width: 580px;
}

#rightColumn {
  float: right;
  width: 180px;
}

.shortcuts {
  margin-right: 10px;
  margin-bottom:10px;
}

.shortcuts a,
.shortcuts p  {
  float: none !important; 
}

#content {
  padding: 0 30px 0 30px;
}

#mainWideColumn #content {
  padding: 0;
}

#footer {
  text-align: center;
  margin: 80px 0px;
}

/******************
## COMMON STYLES ##
******************/
h4.boxTitle {
  color: #fff;
  background: #a1a1a1;
  padding: 5px 20px;
  margin-bottom: 0;
}

div.box {
  border-bottom: 1px solid #f0f0f0;
}

div.box .content {
  padding: 15px 10px;
}

/*************************
## SUMMARY|ARTICLE LIST ##
*************************/
#content .summary p {
  margin-bottom: 7px;
}

#content .summary img {
  float: left;
  margin-right: 10px;
}

#content .odd {
}

#content .even {
}

#content .summary {
  padding: 0px 0px 20px 0px;
}

#content .section .summary h1,
#content .section .summary h2 {
  font-size: 127%;
  font-weight: bold;
  float: none;
}

#content .section .summary h2 a {
  float: none;
}

#content .summary h1,
#content .summary h2 {
  font-size: 117%;
  font-weight: bold;
  margin-bottom: 5px;
}

#content .summary h1 a,
#content .summary h2 a,
#content .summary h3 a,
#content .summary h4 a {
  color: #000;
  text-decoration: none;
}

#content .summary h1 a:hover,
#content .summary h2 a:hover,
#content .summary h3 a:hover,
#content .summary h4 a:hover {
  color: #000;
  text-decoration: underline !important;
}

#content h1 a.title,
#content h2 a.title {
  color: #444;
}

#content .article h1 {
  font-size: 170%;
  font-weight: bold;
}

#content .article h2 {
  font-size: 150%;
}

#content .article h3 {
  font-size: 117%;
  font-weight: bold;
}

#content .article h4 {
  font-size: 117%;
  font-weight: normal;
}

#content .article h5 {
  font-size: 107%;
  font-weight: bold;
}

#content .article .text {
  font-weight: bold;
}

#content .article .author {
  margin-bottom: 12px;
}

#content .article .summaryImg {
  margin-bottom: 12px;
}

.sections h1, 
.sections h2 {
 margin-bottom: 5px !important;
}

h3.boxTitle {
  color: #663399;
  font-size: 112%;
  font-weight: bold;
  margin-bottom: 15px;
  display: clear both;
}

.sections {
  padding: 10px 0px 0px 0px !important;
  margin: 0px !important;
  float: left;
}

#content .section .summary {
  padding: 0px 0px 25px 0px;
}

.section {
  float: left;
  width: 180px;
}

.section.one {
  width: 375px;
}

.section.three {
  float: right;
}

#leftColumnFront .section.three {
  float: left;
  width: 165px;
}

.articleList {
  clear: both;
  margin-top: 10px;
}

#content .section .articleList .summary {
  padding: 0 0 5px;
}


.section img,
.section p,
.section a,
.section h2 {
float: left;
}

.sectionTitle {
  float: none !important;
}

.readmore {
  float: left;
}

.summaryDate {
  float: left;
  color: #444;
}


#articleTools {
  margin-top: 35px;
  padding: 5px;
  background-color: #e0e0ee;
}

#articleTools a {
  text-decoration: none;
}

#articleTools .tip {
  background: transparent url(../GFX/icons/tipicon.png) scroll no-repeat center right;
  padding-right: 20px;
  float: left;
  margin-right: 10px;
}

#articleTools .print {
  background: transparent url(../GFX/icons/printer.gif) scroll no-repeat center right;
  padding-right: 20px;
  float: left;
}

#articleTools #articleIcons {
  float: right;
  font-size: 90%;
}

#articleTools #articleIcons span {
  vertical-align: middle;
}

#articleTools #articleIcons img {
  display: inline;
  vertical-align: middle;
  margin-left: 5px;
}

/*************
## CLEARFIX ##
*************/
.clearfix:after {
  content: "."; 
  display: block; 
  height: 0; 
  clear: both; 
  visibility: hidden;
}

.clearfix {
  display: inline-block;
}

/* Hides from IE-mac \*/
* html .clearfix {
  height: 1px;
}
.clearfix {
  display: block;
 }
/* End hide from IE-mac */

/*************
#
*************/

.media {
  clear:both;
  width:180px;
  margin-bottom: 15px;
}

.media ul li{
  float:left;
  text-indent:-9999px;
  list-style-type:none;
  height:64px;
  width:64px;
  margin-bottom: 0;
}

.media li.facebook{
 margin-right:20px;
}

.media li.twitter{
}

.two {
  margin: 0 10px;
}

.borderTop {
  margin-bottom: 10px;
  padding-top: 10px;
  border-top: 1px dotted #999;
}

.borderBottom {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dotted #999;
}

.joinBanner {
  margin-top: 5px;
  height: 60px;
  width: 370px;
  background-image: url(http://burns.idium.net/diabetes.no/filestore/dev/GFX/joinbg.gif);
  background-repeat: no-repeat;  
  background-position: top center;
}

.joinBanner a {
  padding: 17px 0;
  display: block;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  text-align: center;
}

a.headerTextLink {
  color: #FFFFFF;
  font-size: 210%;
  left: 150px;
  position: absolute;
  text-decoration: none;
  top: 30px;
}

.transLogo {
  width: 365px;
  height: 100px;
  display: inline;
}

#textSizeTool {
  float: right;
}

#textSizeTool span {
  margin: 2px;
  cursor: pointer;
  text-decoration: underline;
}

#textSizeTool .active {
  color: #ccc;
}

#content .date {
  float: right;
  color: #444;
  margin: 3px;
}

#content .print img,
#content .tip img {
  margin: 0px !important;
}

#textAudio {
  float: right;
  margin: 5px 0px 0px 0px;
}

#textAudio a {
  color: #000;
  float: left;
  margin-right: 1px;
}

#textAudio img {
  margin: 1px 0px 0px 5px;
}

#wrapper {
  font-size: 100%;
}

#themeOverview {
  float: left;
  width: 560px;
}

#themeSection {
  float: left;
}

#themeSection h3 {
  margin-bottom: 5px;
}

#themeSection h4 {
  font-weight: bold;
  font-size: 100%
}

#themeSection a h4 {
  color: #000;
}

#themeSection a:hover h4 {
  text-decoration: underline;
}

#themeOverview a {
  margin-right: 7px;
  font-size: 109%;
  text-transform: uppercase;
  font-weight: bold;
}

.theme {
  width: 170px;
  float: left;
  display: block;
}

.theme a {
  font-size: 100%;
}

.middle {
  margin: 0 10px;
}

hr.theme {
  border-collapse: collapse;
  width: 560px;
  border: 0px;
  margin: 3px 0;
  background:#FFFFFF none repeat scroll 0% 0%;
  border:0px none #FFFFFF;
  clear:both;
  color:#FFFFFF;
}

.borderTopRightColumn {
  margin-bottom: 10px;
  padding-top: 7px;
  border-top: 1px dotted #999;
}

ul.relatable {
  margin: 0px 0px 0px 0px;  
  padding: 0px;
}

ul.relatable li {
  list-style-type: none; 
}

#content #newsletter #newsletterForm fieldset {
  border: 0px;
  padding:5px 0px;
}

.ads {
  float: left;
}

div.ad {
  border-bottom: dotted 1px #999;
  width: 160px;
  padding: 0px 0px 11px 20px;
  margin-top: 11px;
}

p.ad {
  padding: 0px 0px 5px 0px;
  margin: 0px;
  width: 180px;
  border-bottom: 0px;
}

.shortcutImage {
 float: left;
 margin: 0px 5px 0px 0px;
 padding-top: 5px;
}

.shortcuts a {
  margin-bottom: 7px;
  display: block;
}

#textSizeTool span.small {
  margin-left: 5px;
}

a.themeList {
  display: block;
}

.subtitle { 
  font-size: 91%;  
}

#newSearchForm {
  margin: 10px 0px 20px 0px;
}
/*********
# EVENTS # 
**********/

.upperEvent {
  display: block;
  width: 570px;
  float: left;
}

.upperEvent h1 {
  float: left;
}

.upperEvent .date {
  float: left;
  padding: 8px 0px 0px 20px;
  font-size: 120%;
}

.lowerEvent {
  display: block;
}

.eventWhen {
  width: 80px;
}

tr.dark {
  background: #f2f2f2;
}

table.eventTable {
  border: 1px #f2f2f2 solid;
  border-collapse: collapse;
  width: 580px;
}

.eventTable td {
  padding: 5px 0px 5px 5px;
}

.eventSection {
  margin-top: 30px;
}

/*********
# FORUM # 
**********/

.forumLink {
  text-align: right;
}

.forumCategories a {
  display: block;
  padding-right: 20px;
  float: left;
}

.forumCategories {
  padding-bottom: 30px;
}

.forumList {
  width: 700px;
  margin-bottom: 20px;
}

.forumList  td {
  background: #f9f9f9;
}

.forumList tr.even td {
  background: #e3e3e3;
}

.rowTitle td,
.rowTitle td.date {
  background: #a6d1e4 !important;
  color: #fff !important;
  font-weight: bold !important;
  margin: 0 !important;
  float: none !important;
}

.rowTitle td h3 {
  color: #000;
  font-weight: bold;
  margin-bottom: 2px !important;
}



.forumpost-author {
  width: 150px;
}

.post {
  width: 150px;
}

td {
  padding: 2px 5px;
}

#content form#postForm textarea {
  height: 100px;
}

#content form#postForm {
  margin-bottom: 0px;
}

#instructions p {
  padding-bottom: 7px;
  display: block;
  float: left;
}

#instructions h3 {
  display: block;
  float: left;
  margin-bottom: 70px;
}

/*.totalHits {
  padding: 10px 0px;
}*/

.paginator  {
  text-align: center;
}

.paginator .active {
  background: #f2f2f2;
  padding: 0 3px;
}


.paginator .next {
  float: right;
}

.paginator .prev {
  float: left;
}

.paginator .pages {
  margin: 0 50px;
}

#footer div.idium {
	margin: 30px 0px 10px 390px;
	width: 170px;
}

#footer div.idium, div.idium a {
	font-family: 'Century Gothic', Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #898989;
	text-transform: uppercase;
	text-decoration: none;
}

#footer div.idium span {
	font-family: 'Century Gothic', Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: bold;
	color: #000000;
	text-transform: lowercase;
	word-spacing: 3px;
	line-height: 23px;
	padding-left: 6px;
}

#footer div.idium img {
	width: 25px;
	height: 25px;
	float: left;
}

.queryString {
  float:left;
  margin-bottom:10px;
  width:265px;
}

.totalHits {
  float: right;
  margin-bottom:10px;
}

#newSearchForm {
  margin: 10px 0 20px;
}

#newSearchForm .searchField {
  float: left;
  margin-bottom: 10px;
}

#instructions p {
  display: block;
  float: left;
  padding-bottom: 7px;
}

#content .paginator {
  clear: both;
  margin-bottom: 15px;
  padding: 5px;
}
.paginator {
  text-align: center;
}

.paginator .prev {
  float: left;
}

.paginator .next {
  float: right;

.paginator .pages {
  margin: 0 50px;
  text-align: center;
}

.paginator .pages span.active {
  background: #E2E2E2 none repeat scroll 0 0;
  color: #333333;
}

#content .paginator .pages span {
margin: 0 2px;
padding: 3px 1px;
}

#newSearch, 
#instructions {
  padding: 0 10px;
}

#dailyQuestion {
  width:180px;
}

#dailyQuestion .button {
	cursor: hand;
	cursor: pointer;
	float:none;
}

#dailyQuestion #question {
	margin-bottom:8px;
}
#dailyQuestion .alternative {
	line-height:1.5em;
}
#dailyQuestion .alternatives {
	margin-bottom:8px;
}
#dailyQuestion .alternative .radio {
	margin-right:5px;
}
#dailyQuestion .alternative .alternativeName {
	width:80px;
	float:left;
}
#dailyQuestion .alternative .quantity {
	width:20px;
	float:left;
	text-align:right;
	padding-right:3px;
}
#dailyQuestion .alternative .quantityGraphic {
	width:70px;
	float:left;
	height:0.8em;
	overflow:hidden;
	margin-top:0.2em;
}
#dailyQuestion .alternative .quantityGraphicValue {
	background:#808C21;
}
