/***************/
/* main layout */
/***************/
body { margin: 0; padding: 0; /* backgrounds? */ }

#bodyWrapper { width: 873px; margin: auto; margin-top: 30px; }

/* specific link colours for this site */
a:link 	  { color: #0077c0; text-decoration: none; }
a:visited { color: #0077c0; text-decoration: none; }
a:hover   { color: #8fc3ea; text-decoration: underline; }
a:active  { color: #8fc3ea; text-decoration: underline; }


/*******************/
/* header elements */
/*******************/
#navContainer { font-size: 0.909em; margin-bottom: 13px; }

#navContainer #logo { float: left; }

#navContainer ul { float: right; padding: 45px 0 0 0; }
#navContainer ul li {  }
#navContainer ul li a:link,
#navContainer ul li a:visited { background-color: #0077c0; color: #fff; text-decoration: none; padding: 3px 6px 5px; line-height: 1em; }
#navContainer ul li a:hover,
#navContainer ul li a:active { background-color: #8fc3ea; }

ul.nav    { list-style: none; margin: 0; padding: 0; }
ul.nav li { display: inline; margin-right: 4px; }


/**********************/
/* subheader elements */
/**********************/
#leftLinks { float: left; }
#mainImage { float: right; }

#leftLinks ul { list-style: none; margin: 0; padding: 0; }
#leftLinks li { width: 134px; height: 91px; margin-bottom: 8px; }


/********************/
/* content elements */
/********************/
#mainContainer {  }

.quicklinks { display: block; margin-top: 10px; }



#sidebar  { width: 254px; float: left; }
#mainArea { width: 605px; float: right; }

.module { margin-bottom: 30px; }


hr {
  margin: 18px 0;
  border-bottom: solid #b70062 1px;
  height: 1px;
  border-top: none;
  border-left: none;
  border-right: none;
}

/*********/
/* items */
/*********/
.item              { margin-bottom: 10px; line-height: 1.455em; }
.item .itemHeader  {  }
.item .itemTitle   { font-weight: bold; }
.item .itemDate    { margin: 2px 0; }
.item .itemContent {  }
.item .itemImage   { float: left; margin-right: 5px; margin-bottom: 5px; }
.item .itemMore    {  }

#itemBack          {  }

/*****************/
/* photo gallery */
/*****************/
div.galleryItem { /* one gallery item */
  width: 100px;
  height: 100px;
  float: left;
  margin: 5px;
}

/*******************/
/* footer elements */
/*******************/
#footer { background: #8fc3ea; color: #fff; padding: 12px 0 14px 14px; }
#footer a { color: #fff; text-decoration: none; } /* for the clevercherry.com link */

#footer-left { float:left; }
#footer-right{ float:right; width:186px; }

.social-med { float:left; }


/***********************/
/* general form styles */
/***********************/
#contactform	{ float: left; }  /* the contact form itself */
#contact		{ float: right; } /* contact info or whatever on right */

.required { color: #f00; }

.labelStyled { line-height: 22px; }

.inputStyled {
	background: #cfe5f6;
	color: #0077c0;
	padding: 4px 6px 5px;
	border: 0;
}

/* all form elements are contained within a formrow div, with a label and
 *  then the element, this is the best way (but still not good) to emulate
 *  a table */
div.formrow {
  clear: both;
  text-align: left;
  margin-bottom: 10px;
}

div.formrow label {
  float: left;
  text-align: right;
  margin-right: 10px;
	font-weight: bold;
  width: 80px; /* default width for a default form, add new form ids and override */
}
div.formrow.indent { margin-left: 90px; } /* label width + label margin-right, override as above */
div.formrow.indent label { float: none; text-align: inherit; margin: 0; width: auto; }

/* upload timesheet form */
#uploadTimeSheetForm div.formrow label {
  width: 42px;
}
#uploadTimeSheetForm div.formrow.indent {
	margin-left: 52px;
}

/* contact form */
#contactForm {  }
#contactForm div.formrow label {
  width: 80px;
}
#contactForm div.formrow.indent {
	margin-left: 90px;
}

/* clients form */
#clientsForm { margin-top: 30px; }
#clientsForm div.formrow label {
  width: 80px;
}
#clientsForm div.formrow.indent {
	margin-left: 90px;
}

/* vacancy (part of the clients) form */
#vacancyForm div.formrow label {
  width: 120px;
}
#vacancyForm div.formrow.indent {
	margin-left: 130px;
}

/* doctors form */
#doctorsForm { margin: 30px 0; }
#doctorsForm div.formrow label {
  width: 200px;
}
#doctorsForm div.formrow.indent {
	margin-left: 160px;
}

/* nurses form */
#nursesForm { margin: 30px 0; }
#nursesForm div.formrow label {
  width: 150px;
}
#nursesForm div.formrow.indent {
	margin-left: 160px;
}

/* message and error boxes, not just useful in contact form */
div.box { border: 1px solid #080; color: #080; padding: 3px 5px; margin-bottom: 15px; float: left; } /* you may need to clearfix this */
div.box.nomargin { margin-bottom: 0; } /* if before something with a margin-top */
div.box.error { border-color: #f00; color: #f00; } /* error box in red */
