/* GENERAL */

html, body {
    height: 100%;
}
body {
    background-color: #FFF;
    margin: 0;
    color: #333;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 9pt;
    height: 80%;
}
a, a:visited {
    color: #13C;
}
img {
    border: 0;
}
dt {
    font-weight: bold;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
    border: 0;
    font-size: inherit;
}
td {
    margin: 0;
    border: 0;
    padding: 0;
}
h1 {
    margin: 0;
}



#body {
 /*   clear: both;
    margin: 0 auto;
    padding: 10px;
    width: 800px;*/
    height: 95%;
     clear: both;
}
#footer {
    color: #999; /* footer text colour */
    margin: 50px auto;
    padding: 10px;
    clear: both;
    width: 800px;
}
#footer a, #footer a:visited {
    color: #444; /* footer link colour */
}
#footer a:hover {
    color: #777; /* footer link hover colour */
}


/* CLEARS */

.clearboth {
    clear: both;
}

/* reference:
 *   http://www.positioniseverything.net/easyclearing.html
 *   http://www.zeldman.com/2006/10/27/ie7fixes1/
 *      comment by michael on 10/28/2006
 */
.clearfix {
    min-height: 1%;
}

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

/* hides from ie5-mac \*/
* html .clearfix { height: 1%; }
/* end hide from ie5-mac */


/* HEADER */

#tabhead {

    border-bottom: 0px solid #000; /* tab border */
    float: right; 
   /* width: 320px;*/ 
    padding-right: 20px;
}
#tabhead .logo {

    padding-left: 5px;
    padding-top: 0;
}
#tabhead .logo img {

}
#tabhead .login {
    color: #111; /* login bar text colour */
}
#tabhead .login a, #tabhead .login a:visited {
    color: #111; /* login bar link colour */
}
#tabhead .login a:hover {
    color: #FFF; /* login bar link hover colour */
}

#locale_switcher {
    display: inline;
}

#subnav {
    margin: 0;
    padding: 0;
  /*  background: #DEF;  tab colour */
    border-bottom: 0px solid #9BC;
    margin-left:6px;
}

#subnav ul {
    float: left;
    margin: 0 2px;
    padding: 0;
}
#subnav ul li {
    display: inline;
    list-style-type: none;
        -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}
#subnav ul a:link, #subnav ul a:visited {
    float: left;
    font-weight: bold;
    text-decoration: none;
    text-align: left;
    color: #444;
    padding: 4px 9px;
}
#subnav ul a:hover {
    color: #FFF;
    background: #9BC;
}

#subnav ul a.current {
    color: #FFF;
    background: #4A5563;
}


/* FORMS */

form th {
    text-align : left;
}
form.signup input[type="submit"], form.login input[type="submit"] {
    margin: 20px 0;
    font-size: 14pt;
}
input[type="text"], input[type="password"], textarea {
    padding: 3px;
    margin: 3px;
    border: solid 1px #C6C6C6;
    border-bottom: solid 1px #E3E3E3;
    color: #666;
    font-size: 10pt;
    background: #F3F3F3 url('/site_media/static/images/form-shadow.png?917cc8193dfe') left top repeat-x;
}
ul.errorlist {
    margin: 0;
    padding: 0;
    list-style: none;
    color: red;
}


/* MESSAGES */

ul#messages {
    margin: 0 0 10px 0;
    padding: 0;
    list-style: none;
}
ul#messages li {
    padding: 5px 10px;
    margin: 3px;
}
ul#messages li a {
    float: right;
    color: #693;
}
ul#messages .debug {
    background: #EEE;
    border: 1px solid #BBB;
}
ul#messages .info {
    background: #DEF;
    border: 1px solid #9BC;
}
ul#messages .success {
    background: #EFD;
    border: 1px solid #BC9;
}
ul#messages .warning {
    background: #FED;
    border: 1px solid #CB9;
}
ul#messages .error {
    background: #FDD;
    border: 1px solid #C99;
}


/* WHAT NEXT */

dl.what_next {
    margin: 2em;
}
dl.what_next dt {
    font-size: 120%;
}
dl.what_next dd {
    margin: 0 0 1em 0;
    font-style: italic;
}
p.what_next {
    font-size: 120%;
}


/* FORM TOGGLE */

.form-toggle p {
    margin-bottom: 2px;
}

.form-toggle p span {
    background: #DEF;
    padding: 3px 6px;
    border-top: 1px solid #9BC;
    border-left: 1px solid #9BC;
    border-right: 1px solid #9BC;
    cursor: pointer;
}

.form-toggle form {
    padding: 3px 6px;
    margin: 0;
    background: #DEF;
    border: 1px solid #9BC;
}



/* EXTRAS TO CLEAN UP */

.warning {
    color: red;
    font-weight: bold;
}

div.profile_info p {
    margin: 0;
}
div.left_panel {
    width: 550px;
}
div.right_panel {
    margin-top: 20px;
    width: 200px;
    float: right;
    z-index: 999;
}
.box .action_bar{
    display:block;
    height:18px;
    width:100px;
    position: relative;
    right:-50%;
    top:-28px;
}

.flat_area .action_bar{
    display:block;
    height:25px;
    width:160px;
    position: relative;
    right:-60%;
    top:-32px;
}

#patient_table_length select{
    width:60px;
}

.dataTables_processing{
    margin-left:40%;
}

.filter_column input{
    width:92%;
}

.padded_table th, td{

    margin: 0;
    border: 0;
    padding: 5px;

}

.pe_padded_table th, td{
    text-align: left!important;
    margin: 0;
    border: 0;
    padding: 5px;


}

table.doctors_peme {
    border-width: 1px;
    border-spacing: 0px;
    border-style: none;
    border-color: gray;
    border-collapse: collapse;
    background-color: white;
    font-size:102%;
}
table.doctors_peme th {
    border-width: 1px;
    padding: 1px;
    border-style: solid;
    border-color: gray;
    background-color: white;
    -moz-border-radius: ;
}
table.doctors_peme td {
    border-width: 1px;
    padding: 0px;
    border-style: solid;
    border-color: gray;
    background-color: white;
    -moz-border-radius: ;
}

table.no_border td {
    border-width: 0px;
    padding: 5px;
    border-style: inset;
    border-color: gray;
    background-color: white;
    -moz-border-radius: ;
}

table.with_border {
    border-width: 1px;
    border-spacing: 0px;
    border-style: solid;
    border-color: gray;
    border-collapse: collapse;
    background-color: white;
    font-size:102%;
}

table.with_border th {
    border-width: 1px;
    padding: 1px;
    border-style: solid;
    border-color: gray;
    background-color: white;
    -moz-border-radius: ;
    text-align: right!important;
}
table.with_border td {
    border-width: 1px;
    padding: 0px;
    border-style: solid;
    border-color: gray;
    background-color: white;
    -moz-border-radius: ;
}

textarea {
    width:300px;
}
label{
text-align: left!important;
}
.rush_case {
    background-color:#f08080!important;
}
.screening {
    background-color:#bdb76b!important;
}
.repeat_test {
    background-color:SandyBrown!important;
}
.exam_entry {
    background-color:LightYellow!important;
}
.exam_done {
    background-color:LightGreen!important;
}
.initial_transactions {
    background-color:LightBlue!important;
}
.fr_unfit {
    background-color:#1B8EE0!important;
}



/* GENERAL TAB STYLING */

#left_tabs {
    position: absolute;
    bottom: -1px; /* must be same thickness as tab border */
    left: 210px; /* based on width and padding of logo */
}
#right_tabs {
    position: absolute;
    right: 15px;
    bottom: -1px; /* must be same thickness as tab border */
}

ul.tabs a, ul.tabs a:visited {
    color: #444; /* unselected tab text colour */
    font-weight: bold;
    text-decoration: none;
}
ul.tabs a:hover {
    color: #666; /* unselected tab text hover colour */
}
ul.tabs li {
    list-style-type: none;
    display: inline;
    background-color: #DDD; /* unselected tab colour */
    padding: 5px 0 4px;
    margin: 0 1px; /* to compensate for border */
}
ul.tabs li a {
    padding: 5px 12px;
}
ul.tabs {
    margin: 0 0 5px;
}

#facebox .b {
    background:url('/site_media/static/pinax/img/facebox/b.png?917cc8193dfe');
}

#facebox .tl {
    background: url('/site_media/static/pinax/img/facebox/tl.png?917cc8193dfe');
}

#facebox .tr {
    background: url('/site_media/static/pinax/img/facebox/tr.png?917cc8193dfe');
}

#facebox .bl {
    background: url('/site_media/static/pinax/img/facebox/bl.png?917cc8193dfe');
}

#facebox .br {
    background: url('/site_media/static/pinax/img/facebox/br.png?917cc8193dfe');
}

#facebox {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    text-align: left;
}

#facebox .popup {
    position: relative;
}

#facebox table {
    border-collapse: collapse;
}

#facebox td {
    border-bottom: 0;
    padding: 3px;
}

#facebox .body {
    padding: 10px;
    background: #fff;
    width: 370px;
}

#facebox .loading {
    text-align: center;
}

#facebox .image {
    text-align: center;
}

#facebox img {
    border: 0;
    margin: 0;
}

#facebox .footer {
    border-top: 1px solid #DDDDDD;
    padding-top: 5px;
    margin-top: 10px;
    text-align: right;
}

#facebox .footer img {
    vertical-align: middle;
}

#facebox .tl, #facebox .tr, #facebox .bl, #facebox .br {
    height: 10px;
    width: 10px;
    overflow: hidden;
    padding: 0;
}

#facebox_overlay {
    position: fixed;
    top: 0px;
    left: 0px;
    height:100%;
    width:100%;
}

.facebox_hide {
    z-index:-100;
}

.facebox_overlayBG {
    background-color: #000;
    z-index: 99;
}

* html #facebox_overlay { /* ie6 hack */
    position: absolute;
    height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

/* ANNOUNCEMENTS */

#site_wide_announcements {
    background: yellow;
    padding: 10px;
    text-align: center;
}
#site_wide_announcements ul {
    padding: 0;
    margin: 0;
}


/** ACCOUNTS **/

/* EMAIL ADDRESS */

.verified {
    color: green;
}
.remove {
    color: red;
}
.unverified {
    color: gray;
}
.primary {
    font-weight: bold;
}
table.email_list td {
    padding: 5px 10px;
}

/*
 * File:        TableTools.css
 * Description: Styles for TableTools 2
 * Author:      Allan Jardine (www.sprymedia.co.uk)
 * Language:    Javascript
 * License:     GPL v2 / 3 point BSD
 * Project:     DataTables
 * 
 * Copyright 2009-2012 Allan Jardine, all rights reserved.
 *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 *
 * CSS name space:
 *   DTTT                  DataTables TableTools
 *
 * Style sheet provides:
 *   CONTAINER             TableTools container element and styles applying to all components
 *   BUTTON_STYLES         Action specific button styles
 *   SELECTING             Row selection styles
 *   COLLECTIONS           Drop down list (collection) styles
 *   PRINTING              Print display styles
 */


/*
 * CONTAINER
 * TableTools container element and styles applying to all components
 */
div.DTTT_container {
	position: relative;
	float: right;
	margin-bottom: 1em;
}

button.DTTT_button,
div.DTTT_button,
a.DTTT_button {
	position: relative;
	float: left;
	margin-right: 3px;
	padding: 5px 8px;
	border: 1px solid #999;
	cursor: pointer;
	*cursor: hand;
	font-size: 0.88em;
	color: black !important;

	-webkit-border-radius: 2px;
	   -moz-border-radius: 2px;
	    -ms-border-radius: 2px;
	     -o-border-radius: 2px;
	        border-radius: 2px;

	-webkit-box-shadow: 1px 1px 3px #ccc;
	   -moz-box-shadow: 1px 1px 3px #ccc;
	    -ms-box-shadow: 1px 1px 3px #ccc;
	     -o-box-shadow: 1px 1px 3px #ccc;
	        box-shadow: 1px 1px 3px #ccc;

	/* Generated by http://www.colorzilla.com/gradient-editor/ */
	background: #ffffff; /* Old browsers */
	background: -webkit-linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* Chrome10+,Safari5.1+ */
	background:    -moz-linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* FF3.6+ */
	background:     -ms-linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* IE10+ */
	background:      -o-linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* Opera 11.10+ */
	background:         linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f9f9f9',GradientType=0 ); /* IE6-9 */
}


/* Buttons are cunning border-box sizing - we can't just use that for A and DIV due to IE6/7 */
button.DTTT_button {
	height: 30px;
	padding: 3px 8px;
}

.DTTT_button embed { 
	outline: none;
}

button.DTTT_button:hover,
div.DTTT_button:hover,
a.DTTT_button:hover {
	border: 1px solid #666;
	text-decoration: none !important;

	-webkit-box-shadow: 1px 1px 3px #999;
	   -moz-box-shadow: 1px 1px 3px #999;
	    -ms-box-shadow: 1px 1px 3px #999;
	     -o-box-shadow: 1px 1px 3px #999;
	        box-shadow: 1px 1px 3px #999;

	background: #f3f3f3; /* Old browsers */
	background: -webkit-linear-gradient(top, #f3f3f3 0%,#e2e2e2 89%,#f4f4f4 100%); /* Chrome10+,Safari5.1+ */
	background:    -moz-linear-gradient(top, #f3f3f3 0%,#e2e2e2 89%,#f4f4f4 100%); /* FF3.6+ */
	background:     -ms-linear-gradient(top, #f3f3f3 0%,#e2e2e2 89%,#f4f4f4 100%); /* IE10+ */
	background:      -o-linear-gradient(top, #f3f3f3 0%,#e2e2e2 89%,#f4f4f4 100%); /* Opera 11.10+ */
	background:         linear-gradient(top, #f3f3f3 0%,#e2e2e2 89%,#f4f4f4 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f3f3f3', endColorstr='#f4f4f4',GradientType=0 ); /* IE6-9 */
}

button.DTTT_disabled,
div.DTTT_disabled,
a.DTTT_disabled {
	color: #999;
	border: 1px solid #d0d0d0;
	
	background: #ffffff; /* Old browsers */
	background: -webkit-linear-gradient(top, #ffffff 0%,#f9f9f9 89%,#fafafa 100%); /* Chrome10+,Safari5.1+ */
	background:    -moz-linear-gradient(top, #ffffff 0%,#f9f9f9 89%,#fafafa 100%); /* FF3.6+ */
	background:     -ms-linear-gradient(top, #ffffff 0%,#f9f9f9 89%,#fafafa 100%); /* IE10+ */
	background:      -o-linear-gradient(top, #ffffff 0%,#f9f9f9 89%,#fafafa 100%); /* Opera 11.10+ */
	background:         linear-gradient(top, #ffffff 0%,#f9f9f9 89%,#fafafa 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#fafafa',GradientType=0 ); /* IE6-9 */
}



/*
 * BUTTON_STYLES
 * Action specific button styles
 * If you want images - comment this back in

button.DTTT_button_csv,
button.DTTT_button_xls,
button.DTTT_button_copy,
button.DTTT_button_pdf,
button.DTTT_button_print {
	padding-right: 0px;
}

button.DTTT_button_csv span,
button.DTTT_button_xls span,
button.DTTT_button_copy span,
button.DTTT_button_pdf span,
button.DTTT_button_print span {
	display: inline-block;
	height: 24px;
	line-height: 24px;
	padding-right: 30px;
}


button.DTTT_button_csv span { background: url('/site_media/static/images/csv.png?917cc8193dfe') no-repeat bottom right; }
button.DTTT_button_csv:hover span { background: url('/site_media/static/images/csv_hover.png?917cc8193dfe') no-repeat center right; }

button.DTTT_button_xls span { background: url('/site_media/static/images/xls.png?917cc8193dfe') no-repeat center right; }
button.DTTT_button_xls:hover span { background: #f0f0f0 url('/site_media/static/images/xls_hover.png?917cc8193dfe') no-repeat center right; }

button.DTTT_button_copy span { background: url('/site_media/static/images/copy.png?917cc8193dfe') no-repeat center right; }
button.DTTT_button_copy:hover span { background: #f0f0f0 url('/site_media/static/images/copy_hover.png?917cc8193dfe') no-repeat center right; }

button.DTTT_button_pdf span { background: url('/site_media/static/images/pdf.png?917cc8193dfe') no-repeat center right; }
button.DTTT_button_pdf:hover span { background: #f0f0f0 url('/site_media/static/images/pdf_hover.png?917cc8193dfe') no-repeat center right; }

button.DTTT_button_print span { background: url('/site_media/static/images/print.png?917cc8193dfe') no-repeat center right; }
button.DTTT_button_print:hover span { background: #f0f0f0 url('/site_media/static/images/print_hover.png?917cc8193dfe') no-repeat center right; }

 */

button.DTTT_button_collection span {
	padding-right: 17px;
	background: url('/site_media/static/images/collection.png?917cc8193dfe') no-repeat center right;
}

button.DTTT_button_collection:hover span {
	padding-right: 17px;
	background: #f0f0f0 url('/site_media/static/images/collection_hover.png?917cc8193dfe') no-repeat center right;
}


/*
 * SELECTING
 * Row selection styles
 */
table.DTTT_selectable tbody tr {
	cursor: pointer;
	*cursor: hand;
}

table.dataTable tr.DTTT_selected.odd {
	background-color: #9FAFD1;
}

table.dataTable tr.DTTT_selected.odd td.sorting_1 {
	background-color: #9FAFD1;
}

table.dataTable tr.DTTT_selected.odd td.sorting_2 {
	background-color: #9FAFD1;
}

table.dataTable tr.DTTT_selected.odd td.sorting_3 {
	background-color: #9FAFD1;
}


table.dataTable tr.DTTT_selected.even {
	background-color: #B0BED9;
}

table.dataTable tr.DTTT_selected.even td.sorting_1 {
	background-color: #B0BED9;
}

table.dataTable tr.DTTT_selected.even td.sorting_2 {
	background-color: #B0BED9;
}

table.dataTable tr.DTTT_selected.even td.sorting_3 {
	background-color: #B0BED9;
}


/*
 * COLLECTIONS
 * Drop down list (collection) styles
 */

div.DTTT_collection {
	width: 150px;
	padding: 8px 8px 4px 8px;
	border: 1px solid #ccc;
	border: 1px solid rgba( 0, 0, 0, 0.4 );
	background-color: #f3f3f3;
	background-color: rgba( 255, 255, 255, 0.3 );
	overflow: hidden;
	z-index: 2002;

	-webkit-border-radius: 5px;
	   -moz-border-radius: 5px;
	    -ms-border-radius: 5px;
	     -o-border-radius: 5px;
	        border-radius: 5px;
	
	-webkit-box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
	   -moz-box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
	    -ms-box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
	     -o-box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
	        box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
}

div.DTTT_collection_background {
	background: transparent url('/site_media/static/images/background.png?917cc8193dfe') repeat top left;
	z-index: 2001;
}

div.DTTT_collection button.DTTT_button,
div.DTTT_collection div.DTTT_button,
div.DTTT_collection a.DTTT_button {
	position: relative;
	left: 0;
	right: 0;

	display: block;
	float: none;
	margin-bottom: 4px;
	
	-webkit-box-shadow: 1px 1px 3px #999;
	   -moz-box-shadow: 1px 1px 3px #999;
	    -ms-box-shadow: 1px 1px 3px #999;
	     -o-box-shadow: 1px 1px 3px #999;
	        box-shadow: 1px 1px 3px #999;
}


/*
 * PRINTING
 * Print display styles
 */

.DTTT_print_info {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 400px;
	height: 150px;
	margin-left: -200px;
	margin-top: -75px;
	text-align: center;
	color: #333;
	padding: 10px 30px;

	background: #ffffff; /* Old browsers */
	background: -webkit-linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* Chrome10+,Safari5.1+ */
	background:    -moz-linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* FF3.6+ */
	background:     -ms-linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* IE10+ */
	background:      -o-linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* Opera 11.10+ */
	background:         linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f9f9f9',GradientType=0 ); /* IE6-9 */
	
	opacity: 0.95;

	border: 1px solid black;
	border: 1px solid rgba(0, 0, 0, 0.5);
	
	-webkit-border-radius: 6px;
	   -moz-border-radius: 6px;
	    -ms-border-radius: 6px;
	     -o-border-radius: 6px;
	        border-radius: 6px;
	
	-webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
	   -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
	    -ms-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
	     -o-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
	        box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
}

.DTTT_print_info h6 {
	font-weight: normal;
	font-size: 28px;
	line-height: 28px;
	margin: 1em;
}

.DTTT_print_info p {
	font-size: 14px;
	line-height: 20px;
}


/*
 * File:        TableTools.css
 * Description: Styles for TableTools 2 with JUI theming
 * Author:      Allan Jardine (www.sprymedia.co.uk)
 * Language:    Javascript
 * License:     LGPL / 3 point BSD
 * Project:     DataTables
 * 
 * Copyright 2010 Allan Jardine, all rights reserved.
 *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 *
 * Notes:
 *   Generally speaking, please refer to the TableTools.css file - this file contains basic
 *   modifications to that 'master' stylesheet for ThemeRoller.
 *
 * CSS name space:
 *   DTTT                  DataTables TableTools
 *
 * Colour dictionary:
 *   Button border         #d0d0d0
 *   Button border hover   #999999
 *   Hover background      #f0f0f0
 *   Action blue           #4b66d9
 *
 * Style sheet provides:
 *   CONTAINER             TableTools container element and styles applying to all components
 *   SELECTING             Row selection styles
 *   COLLECTIONS           Drop down list (collection) styles
 *   PRINTING              Print display styles
 *   MISC                  Minor misc styles
 */


/*
 * CONTAINER
 * TableTools container element and styles applying to all components
 */
div.DTTT_container {
	position: relative;
	float: left;
}

.DTTT_button {
	position: relative;
	float: left;
	margin-right: 3px;
	padding: 3px 10px;
	border: 1px solid #d0d0d0;
	background-color: #fff;
	color: #333 !important;
	cursor: pointer;
	*cursor: hand;
}

.DTTT_button::-moz-focus-inner { 
	border: none !important;
	padding: 0;
}



/*
 * SELECTING
 * Row selection styles
 */
table.DTTT_selectable tbody tr {
	cursor: pointer;
	*cursor: hand;
}

table.dataTable tr.DTTT_selected.odd {
	background-color: #9FAFD1;
}

table.dataTable tr.DTTT_selected.odd td.sorting_1 {
	background-color: #9FAFD1;
}

table.dataTable tr.DTTT_selected.odd td.sorting_2 {
	background-color: #9FAFD1;
}

table.dataTable tr.DTTT_selected.odd td.sorting_3 {
	background-color: #9FAFD1;
}


table.dataTable tr.DTTT_selected.even {
	background-color: #B0BED9;
}

table.dataTable tr.DTTT_selected.even td.sorting_1 {
	background-color: #B0BED9;
}

table.dataTable tr.DTTT_selected.even td.sorting_2 {
	background-color: #B0BED9;
}

table.dataTable tr.DTTT_selected.even td.sorting_3 {
	background-color: #B0BED9;
}


/*
 * COLLECTIONS
 * Drop down list (collection) styles
 */

div.DTTT_collection {
	width: 150px;
	background-color: #f3f3f3;
	overflow: hidden;
	z-index: 2002;
	
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
}

div.DTTT_collection_background {
	background: url('/site_media/static/images/background.png?917cc8193dfe') repeat top left;
	z-index: 2001;
}

div.DTTT_collection button.DTTT_button,
div.DTTT_collection div.DTTT_button,
div.DTTT_collection a.DTTT_button {
	float: none;
	width: 100%;
	margin-bottom: -0.1em;
}


/*
 * PRINTING
 * Print display styles
 */

.DTTT_print_info {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 400px;
	height: 150px;
	margin-left: -200px;
	margin-top: -75px;
	text-align: center;
	background-color: #3f3f3f;
	color: white;
	padding: 10px 30px;
	
	opacity: 0.9;
	
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
}

.DTTT_print_info h6 {
	font-weight: normal;
	font-size: 28px;
	line-height: 28px;
	margin: 1em;
}

.DTTT_print_info p {
	font-size: 14px;
	line-height: 20px;
}


/*
 * MISC
 * Minor misc styles
 */

.DTTT_disabled {
	color: #999;
}

/* **************** GRIDS ***************** */
.line, .lastUnit {overflow: hidden;_overflow:visible;_zoom:1; }
.unit{float:left;_zoom:1;}
.unitExt{float:right;}
.size1of1{float:none;}
.size1of2{width:50%;}
.size1of3{width:33.33333%;}
.size2of3{width:66.66666%;}
.size1of4{width:25%;}
.size3of4{width:75%;}
.size1of5{width:20%;}
.size2of5{width:40%;}
.size3of5{width:60%;}
.size4of5{width:80%;}
.lastUnit {float:none;_position:relative; _left:-3px; _margin-right: -3px;width:auto;}
/* extending grids to allow a unit that takes the width of its content */
.media{width:auto;}
/*#
 *  Theme Name: common CMS
 *  Version: 1.0
 *  Author: Jed Bernabe
 *  Author URI: www.ajbernabe.com
 * 
 */

/* Global CSS */
/*==========================================> */
.marginAuto { 
	margin: 0 auto; 
}
.borderNone {
	border:none !important;
}
.margin010 {
	margin:0 20px;
}
.width620 {
	width:620px;
	margin:0 auto;
}
	
/* Theme Skin */


#logo img
{
    margin-left: 15px;
}


/*
 Reset Label 
*/
.dataTables_filter label
{
    float: none !important;
    height: auto !important;
    margin: auto !important;
    padding: 0px !important;
    width: auto !important;
}

.dataTables_length  label
{
    float: none !important;
    height: auto !important;
    margin: auto !important;
    padding: 0px !important;
    width: auto !important;
}

.dataTables_wrapper select {
	width: auto !important;
}

/*
 Form 
*/
input, select, textarea {
	border: solid 1px #c5c5c5;
	padding: 5px;
	font-size: 12px;
	margin-right: 5px;
}
textarea {
	height: 100px;
}

input[type="radio"], input[type="checkbox"] {
	width: 30px;
}
input:focus, select:focus, textarea:focus {
	border: solid 1px #777;
}
input.ui-pg-input {
	width: 30px;
}
fieldset {
	border: dotted 1px #c5c5c5;
	margin: 10px 0px;
}

.form {
	width: 100%;
/*
	width: 1230px;
*/
}
/* MISCE
-------------------------------------*/

    /* ADD SIZE
    -----------------------------------*/

    .form-480{
        width: 480px;
    }

    /* NEWLY ADDED COLOR/SIZE DISPLAY
        DISPLAY OF ADDED COLOR/SIZE
    -----------------------------------*/
    .add_item{
        left:140px;
        position:relative;
        margin-bottom:25px;
    }


.form label {
	float: left;
	text-align: right;
	width: 150px;
	height: 26px;
	padding: 6px;
	margin: 2px 0px;
}
.form textarea  {
    width: auto;
}

form.form label {
	/*padding: 12px 6px 6px 6px;*/
        float: left;
}
.form .field {
	float: left;
	padding: 6px;
	height: 26px;
        width: 270px;
	margin: 2px 0px;
}
.form .buttons {
	margin: 20px 0px;
}
.logs {
	font-size: 11px;
	color: #777;
	border-top: dotted 1px;
}
.logs label {
	float: left;
	text-align: left;
	width: 100px;
	margin: 3px;
}
.logs .field {
	float: left;
	margin: 3px;
}
.msg {
	padding: 6px;
	margin: 10px 0px;
}
.error {
	display: inline-block;
	vertical-align: top;
}
/* Fonts */
.bold {
	font-weight:bold;
}

/* Layout */
.hidden {
	display: none;
	visibility: hidden;
}
/* Line */
.linesTop, .linesBottom {
	width:988px;
	height:42px;
	margin:0 auto;
}

.linesTop {
	background: url('/site_media/static/images/lines-top.jpg') no-repeat;
}

.linesBottom {
	background: url('/site_media/static/images/lines-bottom.jpg') no-repeat;
}

.lineSolo {
	background: url('/site_media/static/images/line-solo.jpg') no-repeat;
	height:14px;
	width:960px;
}

/* Login */
#loginPage {		
	font-size:14px;
	width:220px;
	margin:30px 0;
	padding:20px;
	border:2px solid #e3e3e3;
	overflow:hidden;
}
#loginPage label{
	width:250px;
	float:left;
	font-family: georgia, times new roman, arial;
	font-size:16px;
	font-weight:bold;
}
#loginPage input{
	width:200px;	
	float:left;	
	padding:2px 5px;
}
#loginPage span{
	font-size:10px;
	margin-right:10px;
}
/* Button */
#loginPage .submitBut{
	width:70px;
}

#footerWrapper{
	border-top:1px solid #e3e3e3;
	margin:20px;
	font-size:11px;
	padding:10px 20px;
}
/* primarynav */
.primarynav{
	margin:0;
	padding:5px 0;
	background-color: #1a82f7;
	-moz-border-radius: 20px;
	border-radius: 20px;
	border:1px solid #5D7AD3;
	background-image: -moz-linear-gradient(100% 100% 90deg, #4885BE, #1a82f7);
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#4885BE), to(#1a82f7));
    -moz-box-shadow: 0 0 5px #ccc;
	-webkit-box-shadow: 0 0 5px #ccc;
	box-shadow: 0 0 5px #ccc;

	
}
.primarynav ul{
	list-style-type:none;
	overflow:hidden;
	margin:0;
	padding:0;
}
.primarynav ul li{
	float:left;
	margin:0;
	padding:5px;	
}
.primarynav ul li a{
	margin:0 10px;
	padding:5px 10px;
	text-decoration:none;
	font-size:12px;
	color:#fff;	
	font-family:verdana;
	text-shadow: 1px 1px 4px #222;
	overflow:hidden;
	-moz-border-radius: 20px;
	border-radius: 20px;
}
.primarynav ul li a:hover, .primarynav ul li.active a{
	background-color: #ccc;	
	background-image: -moz-linear-gradient(100% 100% 90deg, #095BA5, #095BA5);
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#095BA5), to(#095BA5));
    text-shadow: none;
}


/* nav */
#nav {
	margin: 0;
/*
	background-color: #d35587;
*/
/*
	background-image: url('/site_media/static/images/gradient.png'); 
*/
	background-repeat: repeat-x;
	background-position: 0 -110px;
/*
	background-image: -moz-linear-gradient(100% 100% 90deg, #0B5AA5, #1a82f7);
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#0B5AA5), to(#1a82f7));
*/
	line-height: 100%;
	/*border-radius: 2em;
	-webkit-border-radius: 2em;
	-moz-border-radius: 2em;*/

/*
	-webkit-box-shadow: 0 1px 23px rgba(0,0,0, .4);
	-moz-box-shadow: 0 1px 23px rgba(0,0,0, .4);
*/

}
#nav li {
    color: #444444;
	margin: 0 5px;
	padding: 0 0 0px;
	float: left;
	position: relative;
	list-style: none;
}


/* main level link */
#nav a {
	color: #444444;
	text-decoration: none;
	display: block;
	padding:  5px 15px;
	margin: 0;
	font-weight: bold;
	-webkit-border-radius: 1.6em;
	-moz-border-radius: 1.6em;
}
#nav a:hover {
	background: #000;
	color: #fff;
}

/* main level link hover */
#nav li:hover > a {
	background: #99BBCC url('/site_media/static/images/gradient.png') repeat-x 0 -40px;
	color: #FFFFF;
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0, .2);
	-moz-box-shadow: 0 1px 1px rgba(0,0,0, .2);
	box-shadow: 0 1px 1px rgba(0,0,0, .2);
}

#nav .current a {
    background: none repeat scroll 0 0 #4A5563;
    color: #FFFFFF;
}

/* sub levels link hover */
#nav ul li:hover a, #nav li:hover li a {
	background: none;
	border: none;
	color: #666;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
}
#nav ul a:hover {
	background: #99BBCC url('/site_media/static/images/gradient.png') repeat-x 0 -100px !important;
	color: #fff !important;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	text-shadow: 0 1px 1px rgba(0,0,0, .1);
}

/* dropdown */
#nav li:hover > ul {
	display: block;
}

/* level 2 list */
#nav ul {
	display: none;
         z-index:99999;
	margin: 0;
	padding: 0;
	width: 185px;
	position: absolute;
	top: 20px;
	left: 0;
	background: #ddd url('/site_media/static/images/gradient.png') repeat-x 0 0;
	border: solid 1px #b4b4b4;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0, .3);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0, .3);
	box-shadow: 0 1px 3px rgba(0,0,0, .3);
}
#nav ul li {
	float: none;
	margin: 0;
	padding: 0;
}

#nav ul a {
	font-weight: normal;
	text-shadow: 0 1px 0 #fff;


}

/* level 3+ list */
#nav ul ul {
	left: 181px;
	top: -3px;
}

/* rounded corners of first and last link */
#nav ul li:first-child > a {
	-webkit-border-top-left-radius: 9px;
	-moz-border-radius-topleft: 9px;

	-webkit-border-top-right-radius: 9px;
	-moz-border-radius-topright: 9px;
}
#nav ul li:last-child > a {
	-webkit-border-bottom-left-radius: 9px;
	-moz-border-radius-bottomleft: 9px;

	-webkit-border-bottom-right-radius: 9px;
	-moz-border-radius-bottomright: 9px;
}

/* clearfix */
#nav:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
/*
#nav {
	display: inline-block;
} 
html[xmlns] #nav {
	display: block;

}
 */
* html #nav {
	height: 1%;
}

.clear
{
    clear:both
}

#patient_type ul {
	list-style-type: circle;
}
