
body {
  font-family: Arial, Helvetica, sans-serif;
  color: #000;
  text-align: center;
  margin: 0px;
  padding: 0px;
}

* a {
  cursor:pointer;
}

#container {
   width: 800px;
   min-height: 900px;
   height: auto !important;
   height: 900px;
   margin: 0 auto;
   padding: 5px 0px 0px 0px;
   text-align: center;
   background: url('back_rep.jpg') repeat-y;
   cursor: default;
}

#security {
  position: absolute;
  top: 50px;
  left: 100px;
  width: 480px;
  height: 200px;
  background-color: #666;
  border: 2px solid #000;
  color: #efefef;
}

#button-clearer {
  clear:left;
  width:480px;
  height:3px;
  background:#efefef;
  margin-bottom:12px;
}

#sec-content {
  padding-left: 4px;
}

#security label {
  clear:left;
  float:left;
  width:170px;
  margin:0px;
}

ul#tabnav {
  margin: 15px 0px 15px 0px;
  border-bottom: 1px solid #000;
  list-style-type: none;
  padding: 0px 0px 1px 0px;
}

ul#tabnav li {
  display:inline;
  list-style-type:none;
  padding: 0px 0px 0px 4px;
}

ul#tabnav li a {
  background-color: #efefef;
  color: #333;
  text-decoration:none;
  border-bottom: 1px solid #000;
}

ul#tabnav li a:hover {
  background-color: #ffcc66;
}

#users {
  position: relative;
}

#usersblurb {
  width: 475px;
}

#email_config, #sqs {
  position: relative;
}

#email_help {
  position: absolute;
  bottom: 32px;
  left: 0px;
  background: url('help.jpg') no-repeat;
  width: 200px;
  height: 211px;
  color: #efefef;
}

#email_help p {
  padding: 0px 10px 2px 10px;
}

#email_help ul, #email_help p {
  width: 174px;
  font-size: 12px;
}

#email_help ul {
  margin: -8px 0px 0px 10px;
  padding: 0px 0px 0px 10px;
}

#email_help li {
  padding: 0px;
  list-style-type: circle;
}

#sq-list {
  border-top: 1px solid #7F9db9;
  border-left: 1px solid #7F9db9;
  border-right: 1px solid #7F9db9;
  float: left;
  width: 400px;
}

.sq-item {
  background: url('info.gif') no-repeat;
  border-bottom: 1px solid #7F9db9;
  padding: 3px 3px 3px 23px;
}

#new-sq {
  width: 260px;
  float:right;
}

#new-sq textarea {
  display: block;
  width: 260px;
  height: 60px;
}

#medi_mail {
  position: absolute;
  top: 30px;
  left: 120px;
  width: 470px;
  height: 400px;
  border: 3px solid #000;
  background-color: #333;
  color: #efefef;
  padding: 4px;
}

#medi_mail label {
  display: block;
  float: left;
  clear: both;
  width: 100px;
}

#medi_mail input.text, #medi_mail textarea {
  display: block;
  float: left;
  margin-top: 12px;
  width: 260px
}

#close {
  position: absolute;
  top: 4px;
  right: 4px;
}

#medi_mail .msubmit {
  width: 260px;
  display: block;
  clear: both;
  margin-left: 105px;
  margin-top: 8px;
}

#close a:link, #medi_mail #close a:visited, #medi_mail #close a:active {
  color: #efefef;
  text-decoration: none;
  cursor: default;
}

#close a:hover {
  color: #ffcc66;
}

#quickusers {
  position: absolute;
  top: 0px;
  right: 0px;
  float: right;
  background: url('http://www.medi-id.com/acatalog/test/acatalog/cart.jpg') no-repeat;
  width: 202px;
  height: 74px;
  color: #efefef;
  text-align: center;
  padding: 3px 0px 20px 0px;
  font-size: 13px;
}

.clearit {
  clear: both;
}

.helpmsg {
  width:215px;
  padding:4px;
  position:absolute;
  bottom:0px;
  left:0px;
  background-color:#333;
  border:1px solid #000;
  color:#efefef;
}

#quickusers h4 {
  margin: 0px;
  padding: 0px 0px 3px 0px;
}

#nav {
  position: relative;
  height: 50px;
  /*width: 650px;*/
}

#masternav {
  height: 26px;
  border-top: 1px dashed #333;
  border-bottom: 1px dashed #333;
  background-color: #efefef;
  text-align: center;
  margin-bottom: 10px;
}

#masternav ul {
  list-style-type: none;
  margin: 0px;
  padding: 0px;
}

#masternav ul ul {
  position: absolute;
  top: 21px;
  left: 0px;
  width: 120px;
  border-left: 1px dashed #333;
  border-bottom: 1px dashed #333;
  border-right: 1px dashed #333;
  background-color: #efefef;
}

#masternav ul li ul li {
  display: block;
}

#masternav li {
  display: inline;
  position: relative;
  list-style-type: none;
  padding: 0px 8px 0px 8px;
  font-size: 14px;
  line-height: 180%;
}

#masternav a:link, #masternav a:visited, #masternav a:active {
  color: #cc0000;
  text-decoration: none;
}

#masternav a:hover {
  color: #000;
  text-decoration: underline;
}

#masternav a:focus {
  color:#000;
}

#log {
  position: absolute;
  top: 0px;
  left: 0px;
}

.masternewform {
  border: 1px dashed #333;
  background-color: #efefef;
  padding: 4px;
  margin-bottom: 10px;
  width: 50%;
}

#loader {
  position: absolute;
  top: -24px;
  right: 19px;
}

#rightnav {
  position: absolute;
  top: 20px;
  right: -10px;
  text-align: right;
}

#login_form {
  width: 400px;
  margin: 0 auto;
  padding: 0px;
  text-align: left;
}

#login_form fieldset {
  padding: 8px;
}

#login_form legend {
   color: #000;
}

#login_form label {
   clear: left;
   width: 7em;
   float: left;
   margin-left: 0.5em;
   padding: 0px;
   margin-bottom: 0.5em;
}

#login_form input {
   margin-bottom: 0.5em;
   border: 2px groove #000;
}

#login_form input.submit {
  cursor: pointer;
  background: url('grad.jpg') repeat-x;
  width: 50px;
  color: #ffffff;
  margin-right: 10px;
  border: 0px solid #000;
}

#header {
   width: 700px;
   margin: 0 auto;
   padding: 0px;
   text-align: center;
}

#inner {
  width: 700px;
  margin-top: 5px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0px;
  padding: 0px;
  min-height: 600px;;
  text-align: left;
  position:relative;
}

.insubmit {
  cursor: pointer;
  background: url('form_grad.jpg') repeat-x;
  width: 80px;
  color: #ffcc66;
  margin-right: 10px;
  border: 0px solid #000;
}

a.insubmit:link, a.insubmit:visited, a.insubmit:active {
  display:block;
  float:left;
  text-align:center;
  color:#ffcc66;
  text-decoration:none;
}

#personal_image {
  background: url('blank_image.gif') no-repeat;
  width: 190px;
  margin: 15px 0px 0px 0px;
  text-align: center;
}

#newcontact, #newdoctor, #newimage, #newcondition, #editmedication, #newmedication {
   background: url('newperson.gif') no-repeat;
   position: absolute;
   top: 0px;
   left: 206px;
   width: 296px;
   height: 135px;
   padding: 20px 0px 0px 15px;
}

#editmedication {
  background: url('editmed.gif') no-repeat;
  height: 215px;
  padding-top: 26px;
  padding-right: 20px;
}

#newcontact h3, #newdoctor h3, #newimage h3, #newcondition h3, #editmedication h3, #newmedication h3 {
  color: #cc3300;
}

#newcontact label, #newdoctor label, #newcondition label, #editmedication label, #newmedication label {
  display: inline;
}

#tabs {
  margin:0px;
  padding:0px;
}

#tabs a.toplink:link, #tabs a.toplink:visited, #tabs a.toplink:active {
  display: block;
  color:#fff;
  text-decoration:none;
  font-weight:bold;
  background: url('grad.jpg') repeat-x;
  margin:10px 0px 0px 0px;
  padding:0px 0px 0px 8px;
  line-height:150%;
}

#tabs a.toplink:hover {
  color: #ffcc99;
}

* html #tabs a {
  height:1%;
}

#cond_main, #cont_main, #docs_main {
  width: 450px; 
  padding: 8px;
  border: 1px solid #000; 
  min-height: 200px;
  height:auto !important;
  height:200px;
  float: right;
}

/* Classes and General Styles */

.searchbox {
  width: 280px;
  float: right;
  text-align: right;
}

.searchres td {
  background-color: #ff0000;
}

.section_heading {
  background: url('grad.jpg') repeat-x;
  padding: 4px;
  color:#efefef;
}

.contact_box {
  border: 1px dashed #000;
  padding: 4px;
  margin: 8px 0px 8px 0px;
  background-color: #efefef;
}

.contact_notes {
  width: 300px;
  float: right;
  border: 1px solid #000;
  background-color: #FFFFCC;
  position:relative;
  padding: 4px;
}
.contact_notes img{
  display:block;
  position:absolute;
  top:4px;
  right:4px;
}

.error {
  color: #ff0000;
  font-size: 12px;
}

.null {
  background-color: #333;
  width: 80px;
}

.permitted {
  color: #3366FF;
  font-size: 12px;
}

.disabled {
  background-color: #fff;
  color: #cc3300;
  cursor: auto;
  border: 0px solid #000;
}

.formtable {
  border: 1px solid #000;
  width: 600px;
}

.personal-section {
   width:33%;
   height:190px;
   float:left;
}

* html .personal-section {
  margin-bottom:10px;
}
  
.cleft {
  clear:left;
}

img {
  border: none;
}

table {
  font-size: 14px;
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 8px;
}

th {
  font-weight: bold;
  text-align: left;
  padding: 5px;
}

td {
  vertical-align: top;
  padding: 5px;
}

.innerbox {
   margin-bottom: 10px;
   position:relative;
   display: block;
}

* html .innerbox {
  height:1%;
}

.innerbox a:link, .innerbox a:visited, .innerbox a:active {
  display: block;
  padding: 6px 6px 6px 0px;
  color: #000;
}

.condlinks {
  width: 180px; 
  float: left;
  border: 1px solid #000;
  background-color: #cccccc;
  padding: 4px;
}

.condlinks a:hover {
   font-weight: bold;
}

.innerbox a:hover {
  color: #660000;
  text-decoration: underline;
} 

.cond_details {
  width: 400px;
  float: right;
}

.smallertxt {
  font-size: 12px;
  color: #333;
}

.bold {
  font-weight: bold;
}

h1, h2, h3, h4 {
  margin: 0px 0px 8px 0px;
  padding: 0px;
}

h3, h3 a {
  color: #333;
  text-decoration: none;
}

a:link, a:visited, a:active {
  color: #333;
}

label {
  margin: 10px 5px 5px 0px;
  display: block;
} 

textarea {
  vertical-align: top;
}

label.outer {
  display: inline;
  padding: 0px;
  margin: 0px;
}

/* master settings */
#settings h3 {
  cursor: pointer;
  background: url('s-grad.jpg') repeat-x;
}

#avail_emails_list {
  width: 200px;
  border: 1px solid #7F9db9;
  float: left;
}

#avail_emails_list a:link, #avail_emails_list a:visited, #avail_emails_list a:active {
  display: block;
  padding: 3px 0px 3px 22px;
  color: #cc0000;
  font-size: 12px;
  background: url('envelope.jpg') no-repeat 2px center;
  /*width: 99%; fix firefox*/
  text-decoration: none;
  border-bottom: 1px solid #7f9db9;
}

* html #avail_emails_list a {
  height: 1%;
}

#avail_emails_list a.last:link, #avail_emails_list a.last:visited, #avail_emails_list a.last:active {
  border-bottom: 0px dotted #7f9db9;
}

#avail_emails_list a:hover {
  background-color: #ffffcc;
  color: #000;
}

#avail_emails_list a:focus {
  background-color: #ffffcc;
  color: #000;
  outline:none;
}

#email_form {
  float: right;
  position: relative;
  width: 485px;
}

#email_form label {
  margin: 0px 0px 5px 0px;
  width: 100px;
  float: left;
  clear: left;
}

#email_form input.content, #email_form textarea {
  width: 380px;
}

#email_form textarea {
  height: 330px;
}

.email_buttons {
  position: absolute;
  bottom: 17px;
  left: 0px;
}

.email_buttons input.insubmit {
  display: block;
  width: 90px;
  margin: 0px;
}

#email_prefs {
  margin: 10px 0px 0px 22px;
  position:relative;
}

#email_prefs .insubmit {
   position:absolute;
   bottom:0px;
   right:0px;
}

/*Curvy corners*/
.curvy {position:relative; background:#efefef;text-align:center;height:20px;padding:6px 0px 0px 0px;margin:6px 0px 0px 6px;width:140px;color:#000;float:left;font-size:12px;}
.curvy a {display:block;text-decoration:none;}
.curvy a:hover {color:#ff6600;text-decoration:underline;}
#ctl, #cbl, #ctr, #cbr {position:absolute; width:20px; height:20px; color:#efefef; background:#666; overflow:hidden; font-style:normal; z-index:1;}
#ctl {top:0; left:0;}
#cbl {bottom:0; left:0;}
#ctr {top:0; right:0;}
#cbr {bottom:0; right:0;}
.curvy em b {position:absolute; font-size:150px; font-family:arial; color:#efefef; line-height:40px; font-weight:normal;}
#ctl b {left:-8px;}
#ctr b {left:-25px;}
#cbl b {left:-8px; top:-17px;}
#cbr b {left:-25px; top:-17px;}
.curvy p {color:#ff9900;margin:0px;padding:0px 0px 4px 0px;}