﻿/*--CSS Template for The MED Group--*/
/*--Author:  Bryce Hays, Web Designer, 806.722.2537 Ext. 107--*/

/*--Notes--*/
/*  - I use em to size font except where text size changes in browser will break design (ie. Top Navigation).
	- "!important" is used to hide an attribute from all browsers except Internet Explorer.  Mainly used to correct box-model 			
	  discrepencies between IE and all other major browsers.
	- Negative margins and z-index used to correctly position navigation over drop shadow image.  All are neccessary to acheive top bar three layer effect.
*/

html {
	margin: 0;
	padding: 0;
	font-size: 62.5%;
}

body {
	text-align: center;
	margin: 0;
	padding: 0;
	color: #666666;
	font-family: Arial, Trebuchet MS, sans-serif;
	text-decoration: none;
	word-spacing: normal;
	letter-spacing: 0;
	line-height: 1.4em;
	font-size: 1.3em;
	background: #ffffff url('/images/top-bar.gif') repeat-x 0 0;
}

#container {
  	margin: 0 auto;
	width: 760px;
	width: 732px !important;
	padding: 0 14px;
	overflow: hidden;
	text-align: left;
	background: url('/images/shadow.gif') repeat-y;
}

img.bottom {
	margin: 0 0 -4px -14px;
	padding-top: 24px;
}

img.top {
	margin: 0 0 0 -14px;
	position: absolute;
	top: 115px;
	z-index: 1;
}

#header {
	height: 115px;
	width: 760px;
	width: 732px !important;
	margin: 0 0 0 -14px;
	border-left: solid 14px #ffffff;
	border-right: solid 14px #ffffff;
}

#logo {
	float: left;
	display: block;
	height: 112px;
	width: 360px;
}

#logo img {
	border: none;
}

#login {
    float: right;
    padding-top: 25px;
}

#top-nav {
	width: 100%;
	position: relative;
	z-index: 10;
	height: 40px;
}

#content-container {
	width: 100%;
	position: relative;
	z-index: 2;
	margin: 20px 0 0 0;
}

#content {
	float:left;
	width: 552px;
	width: 541px !important;
	padding-right: 10px;
	border-right: dotted 2px #eeeeee;
}

#rail {
	float:right;
	width: 168px;
}

#footer {
	clear: both;
	height: 75px;
	height: 50px !important;
	width: 760px;
	width: 732px !important;
	margin: 0 0 0 -14px;
	padding-top: 25px;
	border-left: solid 14px #ffffff;
	border-right: solid 14px #ffffff;
}

#footer .right {
	text-align: right;
}

a {
	color: #336699;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a img {
    border: none;
}

a.button {
    display: block;
    width: 146px;
    height: 28px;
    height: 23px !important;
    padding-top: 5px;
    margin: 5px 0;
    text-align: center;
    background: url('/images/button.gif') top no-repeat;
}

a.button-more {
    display: block;
    float: right;
    width: 75px;
    height: 18px;
    text-align: center;
    font-size: 12px;
    color: #336699;
    background: url('/images/button-more.gif') top no-repeat;
}

a.button-more:hover {
    text-decoration: none;
    color: #336699;
}

p.teaser {
	margin: 0 0 5px 0;
}

.left {
	float: left;
}

.right {
	float: right;
}

.left-column {
	width: 168px;
	float: left;
	margin-right: 10px;
}

.right-column {
	width: 362px;
	float: right;
}

/* Box Styles */

.box {
    background: #eeeeee url('/images/box-head.gif') repeat-x top;
    border: solid 1px #eeeeee;
    padding: 5px;
}

.box h5 {
    color: #666666;
    margin-top: 0;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
}

/* Image Styles */

img.image {
	border: 1px solid #cccccc;
	background: #ffffff;
	padding: 3px;
}

img.image-left {
	border: 1px solid #cccccc;
	background: #ffffff;
	padding: 3px;
	float: left;
	margin: 10px 10px 10px 0;
}

img.image-right {
	border: 1px solid #cccccc;
	background: #ffffff;
	padding: 3px;
	float: right;
	margin: 10px 0 10px 10px;
}

/* Heading Styles */

h1 {
	font-size: 1.8em;
	line-height: 1.3em;
	font-weight: bold;
}

h1.banner {
    width: 100%;
    padding: 28px 30px;
    background: url('/images/banner1.gif') no-repeat;
    color: #669966;
    font-size: 1.25em;
}

h2 {
	font-size: 1.4em;
	line-height: 1.3em;
	font-weight: bold;
	color: #336699;
}

h3 {
	font-size: 1.1em;
	font-weight: bold;
	margin: 5px 0;
}

h4 {
	font-weight: bold;
	color: #003366;
	padding-bottom: 3px;
	border-bottom: solid 1px #cccccc;
}

h4 .right {
    font-weight: bold;
    color: #666666;
    font-size: .9em;
}

h5 {
	font-weight: bold;
	color: #999999;
}

h6 {
	font-size: .75em;
	color: #cccccc;
	margin: 4px 0;
}

/* Top Navigation Styles */

#nav {
	float: left;
	list-style: none;
	background: url('/images/top-bar-off.gif') repeat-x;
	padding: 0;
	margin: 0;
	font-size: 15px;
	line-height: 22px;
}

#nav ul {
	float: left;
	list-style: none;
	background: #333333 url('/images/drop-down-bkg.gif') repeat;
	padding: 0;
	font-size: 12px;
}

#nav a {
	display: block;
	color: #ffffff;
	text-decoration: none;
	padding: 9px 14px;
}

#nav ul a {
	display: block;
	color: #ffffff;
	text-decoration: none;
	line-height: 14px;
	padding: 5px 11px;
}

#nav img {
	border: none;
}

#nav li {
	float: left;
	padding: 0;
}

#nav li ul {
	position: absolute;
	left: -999em;
	height: auto;
	font-weight: normal;
	margin: 0;
	width: 190px;
}

#nav li li {
	display: block;
	clear: both;
	width: 190px;
}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {
	left: -999em;
}

#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul {
	left: auto;
}

#nav li:hover, #nav li.sfhover {
	background: #336699 url('/images/top-bar-hover.gif') repeat-x;
}

#nav ul li:hover, #nav ul li.sfhover {
	background: #669999 url('/images/drop-down-hover.gif') repeat;
}

/*--Left Navigation Styles--*/

#left-nav {
    line-height: 1em;
    font-size: 1em;
    background-color: #eeeeee;
    border-left: solid 2px #eeeeee;
    border-right: solid 2px #eeeeee;
}

a.link-off {
	display: block;
    cursor:pointer;
    padding: 5px 5px 5px 15px;
    background: #eeeeee url('/images/item-left-nav-off.jpg') repeat-x;
	width: 162px;
	width: 142px !important;
    border-left: solid 1px #cccccc;
    border-right: solid 1px #cccccc;
	text-decoration: none;
}

a.link-on {
	color: #ffffff;
	display: block;
    cursor:pointer;
    padding: 5px 5px 5px 15px;
    background: #336699 url('/images/item-left-nav-on.jpg') repeat-x;
	width: 162px;
	width: 142px !important;
    border-left: solid 1px #cccccc;
    border-right: solid 1px #cccccc;
	text-decoration: none;
}

a.link-off:hover, a.link-on:hover {
	background: #ffffcc url('/images/item-left-nav-hover.jpg') repeat-x;
	color: #336699;
}

a.submenu-off {
	display: block;
    cursor:pointer;
    padding: 5px 5px 5px 15px;
    background: #eeeeee url('/images/left-nav-off.jpg') repeat-x;
	width: 162px;
	width: 142px !important;
    border-left: solid 1px #cccccc;
    border-right: solid 1px #cccccc;
	text-decoration: none;
}

a.submenu-on {
	color: #ffffff;
	display: block;
    cursor:pointer;
    padding: 5px 5px 5px 15px;
    background: #336699 url('/images/left-nav-on.jpg') repeat-x;
	width: 162px;
	width: 142px !important;
    border-left: solid 1px #cccccc;
    border-right: solid 1px #cccccc;
	text-decoration: none;
}

a.submenu-off:hover, a.submenu-on:hover {
	background: #ffffcc url('/images/left-nav-hover.jpg') repeat-x;
	color: #336699;
}


a.submenu2-off {
	display: block;
    cursor:pointer;
    padding: 5px 5px 5px 15px;
    background: #cccccc url('/images/sub-left-nav-off.jpg') repeat-x;
	width: 162px;
	width: 142px !important;
    border-left: solid 1px #cccccc;
    border-right: solid 1px #cccccc;
	text-decoration: none;
}

a.submenu2-on {
	display: block;
    cursor:pointer;
    padding: 5px 5px 5px 15px;
    background: #cccccc url('/images/sub-left-nav-on.jpg') repeat-x;
	width: 162px;
	width: 142px !important;
    border-left: solid 1px #cccccc;
    border-right: solid 1px #cccccc;
	text-decoration: none;
}

a.submenu2-off:hover, a.submenu2-on:hover {
	background: #ffffcc url('/images/left-nav-hover.jpg') repeat-x;
}

a.submenu-links-off {    
	padding: 5px 5px 5px 15px;
	color: #6699cc;
	background: #eeeeee;
    text-decoration: none; /* remove underlines */
	display: block; 
	width: 162px; /* capture on-click for entire row that the button occupies */
	width: 142px !important;
    border-left: solid 1px #cccccc;
    border-right: solid 1px #cccccc;
}

a.submenu-links-on {    
    padding: 5px 5px 5px 15px;
	color: #ffffff;
    background: #6699cc;
    text-decoration: none; /* remove underlines */
	display: block; 
	width: 162px; /* capture on-click for entire row that the button occupies */
	width: 142px !important;
    border-left: solid 1px #cccccc;
    border-right: solid 1px #cccccc;
}

a.submenu-links-off:hover, a.submenu-links-on:hover {    
    padding: 5px 5px 5px 15px;
	color: #6699cc;
	background: #ffffe0;
    text-decoration: none; /* remove underlines */
	display: block; 
	width: 162px; /* capture on-click for entire row that the button occupies */
	width: 142px !important;
    border-left: solid 1px #cccccc;
    border-right: solid 1px #cccccc;
}

/* JON */
table.tblForm
{
	margin: 0;
	border: solid 1px #DDDDDD;
	border-collapse: collapse;
	width: 100%
}

.tblForm th
{
	border: solid 1px #DDDDDD;
}

.tblForm td
{
	border: solid 1px #DDDDDD;
}

.clearBorder td
{
	border: 0;
}

.required
{
	font-weight: bold;
	color: #993300;

}

label.formLabel {
	width: 80px;
	float: left;
	text-align: right;
	padding-right: 2em;
}

.daysCheckbox
{
	letter-spacing: -2px;
}

.daysCheckbox td
{
	border: 0;
}

