

body
{
  margin: 0 auto;
  padding: 0;
  background-color: #E8E8E8;
}



.Main
{
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
}

.cleared
{
  float: none;
  clear: both;
  margin: 0;
  padding: 0;
  border: none;
  font-size:1px;
}


/* end Page */

/* begin Box, Sheet */
.Sheet
{
  overflow: hidden;
  min-width:11px;
  min-height:11px;
  margin: 20px auto;
  position: relative;
  z-index: 0;
  width: 950px;
  background-color:#fff;
}


.Sheet-body
{
  position: relative;
  z-index: 0;
  border: 5px solid #ccc;
}



/* end Box, Sheet */

/* begin Header */
.Header
{
  margin: 0 auto;
  position: relative;
  z-index:0;
  height: 136px;
}

.Header .logo {
  position:absolute;
  top:0;
  width:200px;
  height:100px;
}
#openmrs-chits-logo {
  left:0;
  background-image:url('images/chits-openmrs-logo.png');
}

#institution-logo {
  right:0;
  background-image:url('images/institution-logo.jpg');
}


#institution-text
{
  color:#777;
  text-align:right;
  padding-left: 200px;
  padding-top: 30px;
  padding-right:200px;
}

#institution-text h1.name
{
  font-family: "Trebuchet MS", Arial, Helvetica, Sans-Serif;
  font-size: 18px;
  text-align:right;
  font-weight: bold;
  padding:0;
  margin:0;
  color:#777;
}

#institution-text .address
{
  font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
  font-size: 13 px;
  font-style: normal;
  font-weight: normal;
  padding:0;
  margin:0;
}

/** Orange Bar */

#header-bar {
  overflow:hidden;
  position:absolute;
  width:100%;
  bottom:0;
  background-color: #ffc000;
}

#header-bar ul li {
  float: left;
  padding: 3px 0;
  margin:0 5px;
  line-height:26px;
}

#header-bar #patientQueueSize {
  width:148px;
  border:1px solid #ffc000;
}
#header-bar #patientQueueSize .label {
  float:left;
  padding:0 5px;
  font-size:14px;
  line-height:26px;
}
#header-bar a:hover #patientQueueSize {
  border-color:#000;
  color:#000;
}
#header-bar #patientQueueSize .number {
  display: inline-block;
  float:right;
  font-size: 14px;
  margin: 0 5px;
  width: 26px;
  text-align:center;
  padding: 5px 0px;
  background-color: #FD1;
  background-color: #F00;
  line-height: 16px;
  color: #000;
  color: #FFF;
  font-weight:bold;
  border-radius: 5px;
}
#header-bar #patientQueueSize .is_0 {
  background-color:#EB0;
}


#header-bar #ave_consult_time {
  margin-left:50px;
  line-height:26px;
  width:240px;
}

#header-bar #authenticated_user {
  float: right;
  text-align:right;
  white-space: nowrap;
  width: 180px;
  margin:0 10px;
  font-size:14px;
}
#authenticated_user a {
  text-decoration:none;
}
#authenticated_user #user_id {
  display: inline-block;
  padding-left: 24px;
  background-image: url(images/icon_user_24.png);
  background-repeat: no-repeat;
  background-position: left center;
}
/* end Header */

/* begin ContentLayout */
.contentLayout
{
  margin-bottom: 0px;
  position: relative;
}
/* end ContentLayout */


/* begin Box, BlockContent */
.sidebar1
{
  overflow: hidden;
  min-width:3px;
  min-height:350px;
  margin: 0 auto;
  position: relative;
  z-index: 0;
  
  position: relative;
  border: 0;
  overflow: hidden;
}

.sidebar1 #chits-nthc {
  position:absolute;
  bottom:0;
  background: url(images/NTHC-small.jpg) no-repeat;
  height: 48px;
  font-size: 7px;
  padding-left: 50px;
}

.sidebar1 li
{
  color:#363636;

  border:1px solid #DDD;
  background-color:#e7e7e7;

  font-family:Verdana, Geneva, Arial, Helvetica, Sans-Serif;
  font-size:15px;
  list-style:none;

  line-height:14px;

  position:relative;
  z-index:0;
  margin:4px;
}
.sidebar1 li:hover {
  border-color:#000;
}

.sidebar1 a:link, .sidebar1 a:visited, .sidebar1 a.visited
{
  color: #186986;
  font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
  text-decoration: none;
  display:block;
  padding:8px 5px 8px 32px;

  background-repeat:no-repeat;
  background-position:4px 3px;
}


.sidebar1 a:hover, .sidebar1 a.hover
{
  color: #000000;
  text-decoration: none;
}

.sidebar1 ul
{
  list-style-type: none;
  color: #474747;
  margin:0;
  padding:0;
}


.sidebar1 .search { background-image:url(images/icon_search_24.png); }
.sidebar1 .users { background-image:url(images/icon_user_24.png); }
.sidebar1 .duplicate { background-image:url(images/icon_users_24.png); }
.sidebar1 .folder { background-image:url(images/icon_folder_24.png); }
.sidebar1 .lab { background-image:url(images/icon_file_info_24.png); }
.sidebar1 .admin { background-image:url(images/icon_wheel_24.png); }
.sidebar1 .appointments { background-image:url(images/icon_paste_24.png); }
.sidebar1 .queries { background-image:url(images/icon_copy_24.png); }


/* end Box, BlockContent */

/* begin Box, Post */
.Post
{
  overflow: hidden;
  min-width:1px;
  margin: 5px 5px;
  position: relative;
  z-index: 0;
  min-height: 350px;
  xoverflow: scroll;
}


.Post-body
{
  position: relative;
  z-index: 0;
  margin: 7px 7px;
}


/* Start images */
a img
{
  border: 0;
}

.article img, img.article
{
  border-style: solid;
  border-width: 0px;
  border-color: #C7C7C7;
  margin: 1em;
}

.metadata-icons img
{
  border: none;
  vertical-align: middle;
  margin:2px;
}
/* Finish images */

/* Start tables */

.article table, table.article
{
  border-collapse: collapse;
  margin: 1px;
  width:auto;
}

.article table, table.article .article tr, .article th, .article td
{
  background-color:Transparent;
}

.article th, .article td
{
  padding: 2px;
  border: solid 1px #B5B5B5;
  vertical-align: top;
  text-align:left;
}

.article th
{
  text-align:center;
  vertical-align:middle;
  padding: 7px;
}



/* Finish tables */
/* end Box, Post */


/* begin PostContent */
/* Content Text Font & Color (Default) */
body
{
  font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
  font-size: 11px;
  font-style: normal;
  font-weight: normal;
  color: #292929;
}

.PostContent
{
  font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
  font-size: 12px;
  font-style: normal;
  font-weight: normal;
  text-align: justify;
  color: #292929;
}

/* Start Content link style */
/*
The right order of link pseudo-classes: Link-Visited-Hover-Focus-Active.
http://www.w3schools.com/CSS/css_pseudo_classes.asp
http://meyerweb.com/eric/thoughts/2007/06/11/who-ordered-the-link-states/
*/
a
{
  font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
  text-decoration: underline;
  color: #1B7698;
}

/* Adds special style to an unvisited link. */
a:link
{
  font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
  text-decoration: underline;
  color: #1B7698;
}

/* Adds special style to a visited link. */
a:visited, a.visited
{
  font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
  text-decoration: underline;
  color: #595959;
}

/* :hover - adds special style to an element when you mouse over it. */
a:hover, a.hover
{
  font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
  text-decoration: none;
  color: #239CC7;
}

/* Finish Content link style */

/* Resert some headings default style & links default style for links in headings*/
h1, h2, h3, h4, h5, h6,
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover
h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited
{
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}


/* Start Content headings Fonts & Colors  */
h1, h1 a, h1 a:link, h1 a:visited, h1 a:hover
{
  font-family: "Trebuchet MS", Arial, Helvetica, Sans-Serif;
  font-size: 25px;
  font-style: normal;
  font-weight: bold;
  text-align: left;
  color: #1B7698;
}

h2, h2 a, h2 a:link, h2 a:visited, h2 a:hover
{
  font-family: "Trebuchet MS", Arial, Helvetica, Sans-Serif;
  font-size: 40px;
  margin:0;
  font-style: normal;
  font-weight: bold;
  text-align: left;
  color: #239CC7;
}

h3, h3 a, h3 a:link, h3 a:visited, h3 a:hover
{
  font-family: "Trebuchet MS", Arial, Helvetica, Sans-Serif;
  font-size: 16px;
  font-style: normal;
  font-weight: bold;
  text-align: left;
  color: #595959;
}

h4, h4 a, h4 a:link, h4 a:visited, h4 a:hover
{
  font-family: "Trebuchet MS", Arial, Helvetica, Sans-Serif;
  font-size: 14px;
  font-style: normal;
  font-weight: bold;
  text-align: left;
  color: #1F8BB2;
}

h5, h5 a, h5 a:link, h5 a:visited, h5 a:hover
{
  font-family: "Trebuchet MS", Arial, Helvetica, Sans-Serif;
  font-size: 13px;
  font-style: normal;
  font-weight: bold;
  text-align: left;
  color: #0C3645;
}

h6, h6 a, h6 a:link, h6 a:visited, h6 a:hover
{
  font-family: "Trebuchet MS", Arial, Helvetica, Sans-Serif;
  font-size: 13px;
  font-style: normal;
  font-weight: bold;
  text-align: left;
  color: #0C3645;
}
/* Finish Content headings Fonts & Colors  */

/* end PostContent */

/* begin PostBullets */
/* Start Content list */

ul
{
  list-style-type: none;
  color: #404040;
  margin:0;
  padding:0;
}

li
{
  font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
  font-size: 11px;
}



.Post ul li
{
  padding:0px 0 0px 14px;
  background-image: url('images/PostBullets.png');
  background-repeat:no-repeat;
  margin:0.5em 0 0.5em 0;
  line-height:1.2em;
}


/* Finish Content list */
/* end PostBullets */

/* begin PostQuote */
/* Start blockquote */

blockquote p
{
  color:#181006;
  font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
  font-style: italic;
  font-weight: normal;
  text-align: left;
}

blockquote
{
  border-color:#81CDE9;
  border-width: 0px;
  border-style: solid;

  margin:10px 10px 10px 50px;
  padding:5px 5px 5px 28px;

  background-color:#BEE5F4;

  background-image:url('images/PostQuote.png');
  background-position:left top;
  background-repeat:no-repeat;
}



/* Finish blockuote */
/* end PostQuote */

/* begin PostMetadata */

.PostMetadataFooter
{

  background-color: #E0E0E0;
  border-color: #C7C7C7;
  border-style: solid;
  border-width: 1px;
  padding:3px;
}




/* end PostMetadata */

/* begin PostIcons */
.PostFooterIcons, .PostFooterIcons a, .PostFooterIcons a:link, .PostFooterIcons a:visited, .PostFooterIcons a:hover
{
  font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
  font-size: 10px;
  text-decoration: none;
  color: #454545;
}

.PostFooterIcons a, .PostFooterIcons a:link, .PostFooterIcons a:visited, .PostFooterIcons a:hover
{
  margin:0;
}

.PostFooterIcons a:link
{
  font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
  text-decoration: underline;
  color: #176582;
}

.PostFooterIcons a:visited, .PostFooterIcons a.visited
{
  font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
  text-decoration: underline;
  color: #176582;
}

.PostFooterIcons a:hover, .PostFooterIcons a.hover
{
  font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
  text-decoration: none;
  color: #1F87AD;
}


/* end PostIcons */

/* begin Button */
button.Button, a.Button
{
  position:relative;
  display:inline-block;
  width: auto;
  outline:none;
  border:none;
  background:none;
  line-height:31px;
  margin:0;
  padding:0;
  overflow: visible;
  cursor: default;
  text-decoration: none !important;
}


/*This HACK needed for ie7 (button position)*/
*:first-child+html button.Button, *:first-child+html a.Button
{
  display:list-item;
  list-style-type:none;
  float:left;
}


.Button .btn
{
  position: relative;
  overflow: hidden;
  display: block;
  width: auto;
  z-index: 0;
  height: 31px;
  color: #1C1C1C;
  white-space: nowrap;
  float: left;
}

.Button .t
{
  height:31px;
  white-space: normal;
  padding: 0 16px;
  font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
  font-size: 11px;
  font-style: normal;
  font-weight: normal;
  text-align: left;
  line-height: 31px;
  text-decoration: none !important;
}

input, select
{
  font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
  font-size: 11px;
  font-style: normal;
  font-weight: normal;
}

.Button .active
{
  color: #E9F6FB;
}

.Button .hover,  a.Button:hover
{
  color: #EFDAC3;
  text-decoration: none !important;
}

.Button .active .r
{
  top: -62px;
}

.Button .hover .r
{
  top: -31px;
}

.Button .r
{
  display: block;
  position: absolute;
  overflow: hidden;
  z-index: -1;
  top: 0;
  right: 0;
  width: 7px;
  height: 93px;
}


.Button .r span
{
  display: block;
  position: absolute;
  overflow: hidden;
  z-index: -1;
  top: 0;
  right: 0;
  width:403px;
  height: 93px;
}


.Button .active .l
{
  top: -62px;
}

.Button .hover .l
{
  top: -31px;
}

.Button .l
{
  display: block;
  position: absolute;
  overflow: hidden;
  z-index: -1;
  top: 0;
  left: 0;
  right: 7px;
  height: 93px;
}


.Button .l, .Button .r span
{
  background-image: url('images/Button.png');
}

/* end Button */

/* begin Footer */
.Footer
{
  position:relative;
  z-index:0;
  overflow:hidden;
  margin: 5px auto 0px auto;
}

.Footer .Footer-inner
{
  height:1%;
  position: relative;
  z-index: 0;
  padding: 20px;
  text-align: center;
}




.rss-tag-icon
{
  position: relative;
  display:block;
  float:left;
  background-image: url('images/rssIcon.png');
  background-position: center right;
  background-repeat: no-repeat;
  margin: 0 5px 0 0;
  height: 30px;
  width: 32px;
}




.Footer .Footer-text p
{
  margin: 0;
}

.Footer .Footer-text
{
  display:inline-block;
  color:#0E3D4E;
  font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
  font-size: 10px;
}

.Footer .Footer-text a:link
{
  text-decoration: none;
  color: #176582;
  font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
  text-decoration: underline;
}

.Footer .Footer-text a:visited
{
  text-decoration: none;
  color: #4D4D4D;
  font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
  text-decoration: underline;
}

.Footer .Footer-text a:hover
{
  text-decoration: none;
  color: #1F87AD;
  font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
  text-decoration: none;
}
/* end Footer */

/* begin PageFooter */
.page-footer, .page-footer a, .page-footer a:link, .page-footer a:visited, .page-footer a:hover
{
  font-family:Arial;
  font-size:10px;
  letter-spacing:normal;
  word-spacing:normal;
  font-style:normal;
  font-weight:normal;
  text-decoration:underline;
  color:#1F87AD;
}

.page-footer
{
  margin:1em;
  text-align:center;
  text-decoration:none;
  color:#878787;
}
/* end PageFooter */


/* begin LayoutCell */
.contentLayout .content
{
  position: relative;
  width:780px;
  margin:0 auto;
  float:left;
}

/* specific login page CSS */
#view_login .contentLayout .content {
  width:auto;
  float:none;
}
#view_login .content td, #view_login .content td * { 
  font-size:20px;
  text-align:center;
}
#view_login .content label {
  font-size:13px; 
  text-transform: uppercase;
}
#view_login .content input {
  width: 100%;
  font-size:20px;
  text-align:center;
}
#view_login .article td { 
  border:0;
}

/* specific to patient_queue page */
#patient-queue { width: 100%;}
table#patient-queue-entries { width: 100%; clear: both; font-size:16px;}
table#patient-queue-entries td { vertical-align: middle; }
#patient-queue .dataTables_wrapper { min-height: 0px; height: auto !important; }
#add-to-patient-form { clear: both; }
td.patient-name { white-space: nowrap; }


/* end LayoutCell */



.commentlist, .commentlist li
{
    background: none;
}

.commentlist li li
{
    margin-left:30px;
}

.commentlist li .avatar
{
  float: right;
  border: 1px solid #eee;
  padding: 2px;
  margin:1px;
  background: #fff;
}

.commentlist li cite
{
  font-size:1.2em;
}

#commentform textarea
{
  width: 100%;
}

img.wp-smiley
{
    border:none;
    margin:0;
    padding:0;
}

.navigation
{
	display: block;
	text-align: center;
}

/** Style overrides */



textarea
{
  font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
  font-size: 11px;
  font-style: normal;
  font-weight: normal;
}


.contentLayout .sidebar1 {
  width: 160px;
  float: left;
}

/** Style for chits specific content*/

.error, .openmrs_msg, .openmrs_error {
  font-weight: bold;
    padding-left: 0.4em;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
}

.openmrs_msg, .openmrs_error {
  margin-top: 0.5em;
  /*
  padding:2em 0.5em;
  z-index:100;
  position:fixed;
  left:0;
  bottom:0;
  width:100%;
  text-align:center;
  font-size:16px;*/
}

#optionsForm ul li, ul#menu li {
  background-image: none;
}



/** Calendar/Appointments page **/
#calendar-appointments-page form {
  margin:0;
}
#calendar-appointments-page td {
  padding:0 5px;
  font-size:13px;
  vertical-align:middle;
}
#calendar-appointments-page th {
  background-color:#D1EEEE;
}

#view_admin_index .content td {
  border:0;
}
#view_admin_index .content td li{
  font-size:13px;
  line-height:13px;
}


/** Copied from openmrs.css */

#patientTabs {
  font-size: 0.8em;
  margin: 10px auto 7px auto;
  padding-top: 5px;
  padding-left: 5px;
  padding-bottom: 2px;
  border-bottom: 1px solid navy;
  width: 99%;
}

#patientTabs ul, #patientTabs li {
  display: inline;
  list-style-type: none;
  padding: 0px 0px 0px 0px;
}

#patientTabs a:link, #patientTabs a:visited {
  border: 1px solid navy;
  font-size: small;
  font-weight: bold;
  margin-right: 8px;
  padding: 2px 10px 1px 10px;
  text-decoration: none;
  xcolor: navy;
  background: #eee;
}
#patientTabs a:link.active, #patientTabs a:visited.active {
  border-bottom: 1px solid #FFFFFF;
}
#patientTabs a.current, #patientTabs a:link.current, #patientTabs a:visited.current, #patientTabs a.current:hover {
  background: #FFFFFF;
  border-bottom: 1px solid #FFFFFF;
  color: green;
  text-decoration: none;
}

#patientTabs a:hover {
  xtext-decoration: underline;
  color: #008000;
}

#patientDashboardDemographics table {
  width: 95%;
  padding: 5px 5px 5px 5px;
  font-size: small; 
}
#patientDashboardDemographics table th {
  text-align:left;
  text-decoration:underline;
}


#menu {
  padding-left: 2px;
  background-image: url(images/black-1x1.png);
  background-repeat: repeat-x;
  background-position: bottom;
  background-color: #f7f7f7;
  overflow:hidden;
}
.adminMenuList #menu {
  background-color:transparent;
  background-image:none;
}

#menu li {
  display:inline-block;
  white-space: nowrap;
  margin:0;
  padding:0;
  border-top:1px solid #ffffff;
}

#menu li.first {
  border-left-width: 0px;
}
#menu li:hover {
  background-color:#ddd;
}
#menu li a {
  display:block;
  padding:10px 14px;
  text-decoration:none;
}

.adminMenuList #menu li a {
  padding:5px;
}

#menu .active a{
  font-weight: bold;
  text-decoration: none;
}

#menu .active {
  border-top-color:#000000;
  border-left:1px solid #000000;
  border-right:1px solid #000000;
  background-color:#ffffff;
}

#content .nodata {
  color:#aaa;
}



/* Recommended by http://codex.wordpress.org/CSS */
/* Begin */
.aligncenter, div.aligncenter
{
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft
{
  float: left;
}

.alignright
{
  float: right;
}

.alignright img, img.alignright
{
    margin: 1em;
    margin-right: 0;
}

.alignleft img, img.alignleft
{
    margin: 1em;
    margin-left: 0;
}

.wp-caption
{
  border: 1px solid #ddd;
  text-align: center;
  background-color: #f3f3f3;
  padding-top: 4px;
  margin: 10px;
}

.wp-caption img
{
  margin: 0;
  padding: 0;
  border: 0 none;
}

.wp-caption p.wp-caption-text
{
  font-size: 11px;
  line-height: 17px;
  padding: 0 4px 5px;
  margin: 0;
}
/* End */


.hidden
{
	display: none;
}

/* Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
}

#wp-calendar a {
	display: block;
}

#wp-calendar caption {
	text-align: center;
	width: 100%;
}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
}
.widget-area {
	float: left;
	margin-right: 20px;
	width:  222px;

}
#fourth {
	margin-right: 0px;
}

a.ui-button {
padding: .4em 1em;
}



@media handheld,screen and (max-width:640px) {
  .Sheet { width:100%; margin:0;}
  .Sheet-body { border:0;}
  #institution-text, #institution-logo { display:none;}
  #ave_consult_time {display:none;}
  .contentLayout .content  { width:auto;}
  .sidebar1 { display:none;}
  .ui-dialog { max-width:100% !important;}
}