/*
## 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: 20px;
}

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

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: 5px;
  margin: 6px 0;
}

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

#searchForm .query {
  width: 134px;
  margin-right: 5px;
}

.searchField {
  float: right;
}

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

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

#toolbar {
  margin-bottom: 30px;
}

#breadcrumbs {
  padding: 7px 0px;
  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;
}

#main frontpage {
  padding-top: 0;
}

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

#leftColumnFront .odd {
  float: left;
  width: 180px;
  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;
}

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

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

#mainAndRightColumn {
  float: left;
  width: 760px;
}

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

.shortcuts {
  margin-right: 10px;
}

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

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

#mainWideColumn #content {
  padding: 0;
}

#footer {
  text-align: center;
  margin: 9px 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;
}

#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: 116%;
  font-weight: bold;
  margin-bottom: 15px;
}

.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 {
  float: left;
  margin-top: 10px;
}

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


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

.readmore {
  float: left;
}

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

/*************
## 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 */

/*************
#
*************/
.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.jpg);
  background-repeat: no-repeat;  
}

.joinBanner a {
  padding: 17px 0px 0px 90px;
  display: block;
  font-weight: bold;
}

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

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


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

#textSizeTool {
  float: right;
}

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

#textSizeTool .active {
  color: #ccc;
}

.print {
  float: right;
  margin: 5px 0px 0px 0px;
  padding-right: 50px;
}

.print a {
  color: #000;
  float: left;
  margin-right: 5px;
}

.print img {
  margin: 0px 0px 0px 5px;
}

#content .print,
#content .tip {
  float: left;
  margin: 25px 0px 0px 0px;
}

#content .print a,
#content .tip a {
  color: #000;
}

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

.print a,
.tip a {  
  float: left;
  margin-right: 5px;
}

#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: 180px;
  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: -10px 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;
}

table.round {
  padding: 0px 0px 0px 0px;
}


/*********
# 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;
}

.paginator  {
  text-align: center;
}

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


.paginator .next {
  float: right;
}

.paginator .prev {
  float: left;
}

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