/*
Theme Name: OBSMedical
Theme URI: http://wordpress.org/
Description: OBS Medical wordpress theme
Version: 0.2
Author: OBS Medical
Author URI: http://obsmedical.com/
Tags: obs

*/

ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input
{ margin: 0; padding: 0; }
a img,:link img,:visited img { border: none; }

body
{
  font-family: Arial, Helvetica, sans-serif;
  font-size: 62.5%;   /* So that 1.1em roughly means 11px */
  text-align: center; /* Helps centering layers on IE */
  background-color: #6E94B8;
}

a {
	text-decoration: none;
}

/*** MAIN STYLES ***/
#MainContainer {
	margin: 0 auto;
	margin-top: 0.4em;
	text-align: left; /* This undoes the evil created on the body tag */
	width: 950px;
	height: auto;
	top: 0px;
	font-size: 1.1em;
	background-color: white;
	background-image: url('images/MainBackground.gif');
	background-repeat: repeat-y;
}

#Header {
	width: 100%;
	height: 93px;
	background-image: url('images/HeaderBackground.gif');
	background-repeat: no-repeat;
	background-color: white;
}

#Header strong {
	color: #3DB65F;
}

#Header a {
	color: #4D7294;
	font-weight: bold;
}

#Header #TopSearch {
	position: relative;
	float: right;
	top: 0.5em;
	clear: both;
}

#Header #TopSearch label {
	font-weight: bold;
	color: white;
}

#Header #Contact {	
	position: relative;
	float: right;	
	right: 1em;
	top: 1.5em;
	
	clear: both;
}

#MenuBar {
	position: relative;	
	top: 20px;
	width: 98%;
	margin: 0 auto;
	background-image: url('images/MenuBackground.gif');
	background-repeat: repeat-x;
	background-position: bottom left;
	height: 29px;
	clear: both;
}



#ContentContainer {
	width: 100%;
	min-height: 496px;
	background-image: url('images/ContentBackground.gif');
	background-repeat: no-repeat;
	padding-top: 20px;
	clear: both;
	z-index: 0;
}

#Footer {
	width: 100%;	
	height: 3em;
	background-image: url('images/FooterBackground.gif');
	background-repeat: no-repeat;
	background-position: 0 0;
	background-color: #6E94B8;
	clear:both;
}

#Footer ul {
	position: relative;
	top: 2em;
	text-align: center;
}

#Footer ul li {
	display: inline;
	padding: 0em 1em;
	border-width: 0 1px 0 0;
	border-color: white;
	border-style: solid;
}

#Footer ul li a {
	font-weight: bold;
	color: white;
	text-decoration: none;	
}

#Breadcrumbs {
	margin: 1em 1em;
	clear: both;
}

/*** BOXES ***/
.lightBox, .darkBox, .whiteBox {
	position: relative;
	float: left;
	margin: 0 0 0 0.8em;

	background-repeat: no-repeat;
	background-position: bottom right;
	z-index: 0;
}

.lightBox h2, .darkBox h2, .whiteBox h2  {
	padding: 0.2em 1.6em;
	color: white;
	font-size: 1.1em;
	height: 34px;
	
	background-repeat: no-repeat;
	background-position: top left;
}

.lightBox h3, .darkBox h3, .whiteBox h3  {
	color: #3DB65F;	
	font-size: 1.0em;
}

.lightBox .readMore, .darkBox .readMore, .whiteBox .readMore {
	padding-bottom: 0.5em;
}

.lightBox .body, .darkBox .body, .whiteBox .body {
	padding-top: -2em;	
	padding-bottom: 0.3em;
	padding-left: 1em;
	padding-right: 1em;
	background-repeat: no-repeat;
	background-position: bottom left;
	height: 100%;
}

.lightBox .header, .darkBox .header, .whiteBox .header {
	background-repeat: no-repeat;
	background-position: top right;	
}

.lightBox .body img, .darkBox .body img, .whiteBox .body img {
	position: relative;
	display: block;
	margin: 0 auto;
}

img.splash {
	position: absolute !important;
}

.lightBox ul, .darkBox ul, .whiteBox ul {
	margin-top: 0em;
	padding-top: 0em;
	margin-bottom: 1em;
}

.lightBox li, .darkBox li, .whiteBox li {
	margin-left: 2em;
}

.lightBox a, .darkBox a, .whiteBox a {
	font-weight: bold;
	color: #3DB65F;
}

.lightBox p, .darkBox p, .whiteBox p {
	padding-bottom: 0.5em;
}

.lightBox {
	background-image: url('images/boxes/lightBoxBottomRight.gif');
}

.lightBox h2 {
	background-image: url('images/boxes/lightBoxTopLeft.gif');
}

.lightBox .body {
	background-image: url('images/boxes/lightBoxBottomLeft.gif');
}

.lightBox .header {
	background-image: url('images/boxes/lightBoxTopRight.gif');
}

.darkBox {
	background-image: url('images/boxes/darkBoxBottomRight.gif');
}

.darkBox h2 {
	background-image: url('images/boxes/darkBoxTopLeft.gif');
}

.darkBox .body {
	background-image: url('images/boxes/darkBoxBottomLeft.gif');
}

.darkBox .header {
	background-image: url('images/boxes/darkBoxTopRight.gif');
}

.whiteBox {
	background-image: url('images/boxes/whiteBoxBottomRight.gif');
}

.whiteBox h2 {
	background-image: url('images/boxes/whiteBoxTopLeft.gif');
}

.whiteBox .body {
	background-image: url('images/boxes/whiteBoxBottomLeft.gif');
}

.whiteBox .header {
	background-image: url('images/boxes/whiteBoxTopRight.gif');
}

/*** Special template styles ***/
#HowItWorksBox {
	clear: both; 
	padding-left: 1em; 
	padding-top:1em; 
	height: 300px;
}

#HowItWorksBox li {
	margin-left: 2em;	
}

#HowItWorksBox img {
	margin-right: 2em;	
}

#HowItWorksBox object {
	/*border: 1px black solid;*/
}

#HowItWorksBox p {
	margin: 1em 0em;
}

/*** Editor images ***/
img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
}

.alignright {
	float: right;
}

.alignleft {
	float: left;
}

/*** Default contents ***/
.defaultContent h3 {
	border-bottom: 1px solid #ccc;
	margin-bottom: 1em;
	padding-bottom: 0.3em;
	font-size: 1.2em;
	display: block;
	clear: both;
}

.defaultContent p {
	margin-bottom: 15px;
	padding: 0px 8px;
}

.defaultContent input[type=text],
.defaultContent textarea {
	width: 100%
}

.defaultContent input[type=submit] {
	border: 1px black solid;
	font-weight: bold;
	background-color: #EEE;
	float: right;
	font-size: 1.1em;
	padding: 0.2em;
}

.defaultContent label {
	font-weight: bold;
}

/*** Dropdown menu ***/
#Header ul#TopMenu {
	height: 29px;
	margin-top: 0.8em;
	list-style-type: none;
	
	clear: right;
	top: 2.5em;
	padding-top: 0.5em;
}

#Header ul#TopMenu li {
	display: inline;
}

#Header ul#TopMenu li:hover {
	background-image: url('images/MenuHoverBackground.gif');
	background-position: top left;
	background-repeat: repeat-x;
}

#Header ul#TopMenu li a {
	color: #494949;
	font-weight: bold;
	text-decoration: none;
	padding: 0.2em 0.5em;
	border-right: 1px #ccc solid;
}

#TopMenu, #TopMenu ul {
	padding: 0;
	margin: 0;
	list-style: none;
	z-index: 100;
}

#TopMenu a {
	display: block;
}

#TopMenu li {
	float: left;
}

#TopMenu li ul {
	position: absolute;
	width: 18em;
	left: -999em;
	border-width: 0px 1px 1px 1px;
	border-color: #C4CFD9;
	border-style: solid;
	z-index: 100;
	
}

#TopMenu li ul li {
	width: 100%;
	height: 2em;
	vertical-align: middle;
	margin: 0 !important;
	padding-top: 0.3em;
}

#TopMenu li ul li a {
	width: 100%;
	height: 100%;
	border: 0 !important;
}

#TopMenu li:hover ul, #TopMenu li.sfhover ul {
	left: auto;
	background-color: white;
	z-index: 100;
}

textarea {
	height: 5em;
}

.page-id-33 textarea {
	height: 17em;
}

#HowItWorksBox > p > object {
	float: left;
	margin: 0px 2em 0px 0px;
	padding: 0;
	text-align: left;
	border: 1px black solid;
	z-index: -100;
}

.searchButton {
	vertical-align: middle;
}

/*** News ***/
.newsItem {
	border-width: 0 0 1px 0;
	border-style: solid;
	border-color: #ccc;
	padding: 1em;
	margin: 0em 1em 0em 1em;	
}

.newsItem .date {
	color: #375477;
	font-weight: bold;
}

.newsItem small {
	font-weight: bold;
	clear: both;
	display: block;
	font-size: 1.0em;
	margin-bottom: 1em;
}

.newsItem .item {
	width: 85%;
	float: left;
}

.newsItem p {
	margin-bottom: 0 !important;
}

.newsItem .link {
	width: 15%;
	float: right;
	text-align: right;
}

#TB_closeWindowButton {
	font-weight: bold;
	border: 1px black solid;
	background-color: #fff;
	padding: 0.1em 0.5em;
}

.bottomNavigation {
	padding: 1em;
}

.topNavigation {
	margin: 0;
	padding: 1em;
}

#copyright {
	color: white;
	font-weight: bold;
	text-align: center;
	padding: 1em;
}

/*** PRODUCT PAGES ***/
#ProductContainer .darkBox {
	position: relative;
	width: 200px;
	float: left;	
}

#ProductContainer .darkBox .body {
	 min-height: 540px;
	 _height: 540px;
}

#ProductContainer .lightBox {
	position:relative;
	float: left;
	width: 230px; 
}

#ProductContainer .lightBox .body {
	min-height: 230px;
	_height: 230px;
}

/*** SERVICES PAGES ***/
#ServiceContainer .whiteBox .body {
	width: 670px;
	min-height: 472px;
	_height: 460px;
}
#ServiceContainer .darkBox,
#ServiceContainer .lightBox {	
	width: 230px;	
}

#ServiceContainer .darkBox .body,
#ServiceContainer .lightBox .body {
	 min-height: 210px;
	 _height: 210px;
}



/*** MISC ***/
/* new clearfix */
.clearfix {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
	}
* html .clearfix             { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */