/** resets **/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  /* border: 0; */
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  outline: none;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html { height: 100%; }
body { 
  background: #f0f0f0 url('images/bg.gif'); 
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #313131;
  font-size: 62.5%; 
  line-height: 1; 
  height:100%;
}

#content b, b.visibl {
	/* font-size:14px;
	 */
}
::selection { background: #a4dcec; }
::-moz-selection { background: #a4dcec; }
::-webkit-selection { background: #a4dcec; }

::-webkit-input-placeholder { /* WebKit browsers */
  color: #ccc;
  font-style: italic;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  color: #ccc;
  font-style: italic;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
  color: #ccc;
  font-style: italic;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
  color: #ccc !important;
  font-style: italic;  
}

br { display: block; line-height: 2.2em; } 

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
ol, ul { list-style: none; }

input, textarea { 
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  outline: none; 
}

blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
strong { font-weight: bold; } 

table { border-collapse: collapse; border-spacing: 0; }
img { border: 0; max-width: 100%; }

#topbar {
  background: #4f4a41;
  padding: 1px 0 1px 0;
  text-align: center;
  
}

#topbar a {
  color: #fff;
  font-size:1.3em;
  line-height: 1.25em;
  text-decoration: none;
  opacity: 0.9;
  font-weight: bold;
}

#topbar a:hover {
  opacity: 1;
}

/** typography **/
h1 {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 22px;
  line-height: 1.5em;
  letter-spacing: -0.05em;
  margin-bottom: 2px;
  padding: .1em 0;
  color: #444;
	position: relative;
	overflow: hidden;
	white-space: nowrap;
	text-align: center;
	font-weight:bold;
}
h1:before,
h1:after {
  content: "";
  position: relative;
  display: inline-block;
  width: 50%;
  height: 1px;
  vertical-align: middle;
  background: #f0f0f0;
}
h1:before {    
  left: -.5em;
  margin: 0 0 0 -50%;
}
h1:after {    
  left: .5em;
  margin: 0 -50% 0 0;
}
h1 > span {
  display: inline-block;
  vertical-align: middle;
  white-space: normal;
}

p {
  display: block;
  font-size: 1.35em;
  line-height: 1.5em;
  margin-bottom: 22px;
}

.center { display: block; text-align: center; }


/** page structure **/
#w {
  display: block;
  width: 99%;
  margin: 0 auto;
  padding-top: 22px;
	border:0px solid #000;
	/* max-height:400px; */
  height:87%;
  overflow:auto;
}

#content {
  display: block;
  width: 100%;
  background: #fff;
  padding-top: 25px;
  padding-right: 25px;
  padding-left: 20px;
  border:0px solid #000;
  height:100%;
  -webkit-box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
  -moz-box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
  border:0px solid #000;
}

#home_screen{
	height:100%;
}

.flatbtn {
  box-sizing: border-box;
  display: inline-block;
  outline: 0;
  border: 0;
  color: #f3faef;
  text-decoration: none;
  background-color: #6bb642;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  font-size: 10px;
  font-weight: bold;
  padding: 5px 10px 5px 10px;
  line-height: normal;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(0,0,0,0.3);
  /*border-radius: 3px;*/
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  /*-webkit-border-radius: 3px;
  -moz-border-radius: 3px;*/
  -webkit-box-shadow: 0 1px 0 rgba(15, 15, 15, 0.3);
  -moz-box-shadow: 0 1px 0 rgba(15, 15, 15, 0.3);
  box-shadow: 0 1px 0 rgba(15, 15, 15, 0.3);
  margin-top:-5px;
}
.flatbtn:hover {
  color: #fff;
  background-color: #73c437;
}
.flatbtn:active {
  -webkit-box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.1);
  -moz-box-shadow:inset 0 1px 5px rgba(0, 0, 0, 0.1);
  box-shadow:inset 0 1px 5px rgba(0, 0, 0, 0.1);
}

/** custom login button **/
.flatbtn-blu { 

  box-sizing: border-box;
  display: inline-block;
  outline: 0;
  border: 0;
  color: #edf4f9;
  text-decoration: none;
  background-color: #4f94cf;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  font-size: 12px;
  font-weight: bold;
  padding:0 10px;
  margin-top: 5px;
  line-height: normal;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  /*text-transform: uppercase;*/
  text-shadow: 0 1px 0 rgba(0,0,0,0.3);
  /*border-radius: 3px;*/
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  /*-webkit-border-radius: 3px;
  -moz-border-radius: 3px;*/
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}
.flatbtn-blu:hover {
  color: #fff;
  background-color: #519dde;
}
.flatbtn-blu:active {
  -webkit-box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.1);
  -moz-box-shadow:inset 0 1px 5px rgba(0, 0, 0, 0.1);
  box-shadow:inset 0 1px 5px rgba(0, 0, 0, 0.1);
}


/** modal window styles **/
#lean_overlay {
    position: fixed;
    z-index:100;
    top: 0px;
    left: 0px;
    height:100%;
    width:100%;
    background: #000;
    display: none;
}


#loginmodal {
  width: 300px;
  padding: 15px 20px;
  background: #f3f6fa;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

#loginform { /* no default styles */ }

#loginform label { display: block; font-size: 1.1em; font-weight: bold; color: #7c8291; margin-bottom: 3px; }

table{
	font-size:1.3em;
}

#tr:hover{
	background-color:#eee;
	cursor:pointer;
}

table.list td, table.list th{
	border:1px solid grey;
	font-size:16px;
	padding:2px;
}
table.list-1 td, table.list-1 th{
	border:0px none;
	font-size:16px;
	padding:4px;
}
table.list tr, table.list-1 tr{
	cursor:pointer;
}
table.list tr:hover, table.list-1 tr:hover {
	background-color:#e5e5e3;
}

.txtfield, .txtfield1, .txtfield2, .txtfield3 { 
  /* display: block; */
  width: 250px;
  padding: 3px 2px;
  margin-bottom: 4px;
  font-family: 'Helvetica Neue', Helvetica, Verdana, sans-serif;
  color: #7988a3;
  font-size: 1.0em;
  /*font-weight:bold;*/
  /*text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);*/
  background-color: #fff;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#edf3f9), to(#fff));
  background-image: -webkit-linear-gradient(top, #edf3f9, #fff);
  background-image: -moz-linear-gradient(top, #edf3f9, #fff);
  background-image: -ms-linear-gradient(top, #edf3f9, #fff);
  background-image: -o-linear-gradient(top, #edf3f9, #fff);
  background-image: linear-gradient(top, #edf3f9, #fff);
  border: 1px solid;
  border-color: #abbce8 #c3cae0 #b9c8ef;
  /*-webkit-border-radius: 4px;
  -moz-border-radius: 4px;*/
  border-radius: 4px;
  /*-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25), 0 1px rgba(255, 255, 255, 0.4);
  -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25), 0 1px rgba(255, 255, 255, 0.4);*/
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25), 0 1px rgba(255, 255, 255, 0.4);
  -webkit-transition: all 0.25s linear;
  -moz-transition: all 0.25s linear;
  transition: all 0.25s linear;
}

.txtfield:focus, .txtfield1:focus , .txtfield2:focus {
  outline: none;
  color: #525864;
  border-color: #84c0ee;
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15), 0 0 7px #96c7ec;
  -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15), 0 0 7px #96c7ec;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15), 0 0 7px #96c7ec;
}

.txtfield1{
	width:200px;
	font-size:13px;
}

.txtfield2{
  width:300px;
}

.txtfield3{
  width:100px;
}
.error{
  color:red;
  border:1px solid red;
  margin-top:20px;
  padding:0 10px;
  font-size:12px;
}
/*.error{
  color:green;
  border:1px solid green;
  margin-top:20px;
  padding:0 10px;
  font-size:12px;
  font-weight: bold;
}*/

.error a{
	color:green;
	border:0px solid red;
	text-decoration:none;
}
.error a:hover{
	color:red;
	text-decoration:underline;
	border:0px solid red;
}

.error-text{
	color:red;
	border:0px solid red;
	margin-top:20px;
	font-size:14px;
}

.success{
	color:green;
	border:0px solid green;
	margin-top:20px;
	font-size:14px;
}

.patient_selected{
	margin-top:20px;
}

.list td{
	font-size:24px;
}

div.space{
	height:40px;
}

.patient_found{
	margin-top:10px;
}

table.frm td{
	padding:2px;
}
table td{
	padding:2px;
}

#footer{
	text-align:center;
	font-size:10px;
	font-family:sans-serif;
	font-weight:bold;
}

#footer a{
	color:blue;
	text-decoration:none;
}
#footer img{
	margin-top:10px;
	border-radius:20px;
}
#footer a:hover{
	color:#555;
	text-decoration:underline;
}

.as_link_{
	color:blue;
	cursor:pointer;
}
.as_link{
	color:blue;
	cursor:pointer;
	font-size:16px;
}

.as_link:hover{
	color:red;
	text-decoration:underline;
}

.title_bar{
	margin-top:-30px;
}

div.home_screen{
	
	background-color:#44f;
}

._inner_nav{
	border:0px solid #000;
	padding-bottom:20px;
	padding-left:20px;
	font-size:16px;
	font-weight:bold;
	
}
._inner_nav ._link{
	padding:0 5px;
	cursor:pointer;
  background-color: #4f4f4f;
  color: #fff;
  border-top:  1px solid #4f4f4f;
}
._inner_nav ._link:hover, ._inner_nav #active {
	color:#0FA1E0;
  background-color: #ffffff;
  border-top:  1px solid #4f4f4f;
}

.rpt_title{
	font-size:20px;
	font-weight:bold;
	font-family:sans-serif;
}

.empty_field{
	background-image: url("./images/empty_bg.png");
}

.tb_title{
	vertical-align:middle; text-align:center;
}

table.no-out-border{
	border:0px solid #000;
}
table.no-out-border td{
	border:1px solid #333;
}
td.tb_separator{
	width:60px;
	border:0px solid #000;
}

td.no-border{
	border:0px solid #000;
}

.malaria_case{
	background-color:orange;
}


.config-data{
	height:90%;
	overflow:scroll;
	width:200px;
	float:left;
}

#view_config_panel{
	color:blue;
	text-decoration:none;
}

.text-right{
  text-align: right;
  padding-right: 5px;
}
.text-center{
  text-align: center;
}
.text-left{
  text-align: left;
  padding-left: 5px;
}

tr.locked, th.locked{
  background-color: #eecca9;
}


tr.unlocked, th.unlocked{
  background-color: #aaaa49;
}

.fld_txt{
  width:100%;
}

.text-muted{color:#999}.text-primary{color:#428bca}.text-primary:hover{color:#3071a9}.text-warning{color:#c09853}.text-warning:hover{color:#a47e3c}.text-danger{color:#b94a48}.text-danger:hover{color:#953b39}.text-success{color:#468847}.text-success:hover{color:#356635}.text-info{color:#3a87ad}.text-info:hover{color:#2d6987}
.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}