/* home.css */

html {
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	font-family: Calibri,Verdana,Tahoma,sans-serif; 
	font-size: 12pt;
	color: rgb(68,85,95);
}

*, *:before, *:after {
	box-sizing: inherit;
}

body, form {
	margin:0; 
	padding:0;
	width: 100%;
	height: 100%;
	color: rgb(68,85,95);
	/* Fixes height not being 100% */
	/* overflow: auto; */
}

/*test
.wrapper {
	background-color: #f8f8f8;
}
input, label {
	background-color: #fff;
}
label, select, option {
    display: inline-block;
    width: 100%;
}
test end*/

.group:after {
  content: "";
  display: table;
  clear: both;
}

option {
	font-family: Calibri,Verdana,Tahoma,sans-serif; 
	font-size: 12pt;
}

a, a:visited {
	color: #003d67;
	text-decoration: none;
	/*
	font-size: 0.9em;
   	font-style: normal;
  	font-weight: normal;
	*/
}

.modal a, .modal a:visited {
	text-decoration: underline;
}

p {
	margin: 0.5em 0;
}

#left a, #right a {
	color: #FFF;
}

a:hover {
	text-decoration: underline;
}

h1, h2, h3, h4, h5 {
	font-family: Calibri,Tahoma,Verdana,sans-serif; 
	margin: 0 0 0px 0;
	padding: 0;
	color: #006269;	
}

h2 {
	border-bottom: 3px solid #006269;
	margin-bottom: 0.25em;
}

.subhead {
	background-color: #EFE4F2;
	padding: 0.25em;
	border-bottom: 2px #006269 solid;
}

/* HEADER */
.main-header {
	/*width: 100%;*/
}

#titleRow {
	/*background: #FFF;
	color: #FFF;*/
	display: table;
	width: 100%;
}

#titleRow div {
	/*display: inline-block;
	*display: inline;
	*zoom: 1;*/
}

#logox {
	/*position: relative;
	left: 0;
	top: 0;
	height: 5em;
	margin: 0 0 0 1em;*/
}

#titleBlock {
	margin: 0;
	padding: 0;
	border: 0 solid;
	clear: both;
	width: 100%;
}

#titleBlock a:visited {
	color: #fff;
}

#titleText {
	font-size: 2.5em;
	font-weight: bold;
	color: #006269;
}

#titleSubText {
	font-size: 1em;
	font-weight: bold;
	padding: 4px;
	color: #555;
}

#titleContainer {
	margin: 1em;
	float: right;
	text-align: right;
	display: inline-block;
}

#titleLogo {
	vertical-align: middle;
	display: table-cell;
}

#titleMenuRow {
	background: #006269;
	color: #FFF;
}

#titleMenu {
	padding: 6px;
	background: #006269;
	color: #FFF;
}

#titleMenu a:visited {
	color: #FFF;
}

#titleUser {
	padding-right: 15px;
	text-decoration: none;
}

#titleUser a:hover {
	text-decoration: underline;
}

.logoSpacer {
	width: 90px;
}

.holderTable {
	padding: 0;
	color: #FFF;
	width: 100%;
}

.holderTable td a {
	padding: 0 10px 0 10px;
	text-decoration: none;
	color: #FFF;
}

.holderTable td a:hover {
	text-decoration: underline;
}

.holderTable .tab {
	padding: 0 5px 0 5px;
	text-decoration: none;
}

td.topTabNormal {
	margin: 0px;
	padding: 5px;
	white-space:nowrap;
	color: #FFF;
}

td.topTabNormal a.topMenuLink {	
	text-decoration: none;
	font-weight: bold;
	color: #FFF;
}

td.topTabSelected a.topMenuLink {
	text-decoration: none;
	font-weight: bold;
	color: #FFF;
}

td.topTabSelected {
	margin: 0px;
	padding: 5px;
	white-space:nowrap;
	color: #FFF;
}

.SectionHead {
padding: 0;
}

.SectionHead_First{
font-size:90%;
width:70%;
}

.SectionHead_Last{
padding: 0;
text-align: right !important;
font-weight: bold;
/*font-size: 0.75em !important;
font-size: 60%;*/
}

hr {
	color: rgb(0,170,167);
	/* background-color: #005A8B; */
 	border: 0;
	height: 3px;
	background: rgb(235,223,237);
}

ul {
	padding-left:0px;
	padding-bottom:10px;
	margin:0px;
}

li {
	padding-left:5px;
	padding-right:5px;
	padding-bottom:5px;
	list-style-type:none;
}

/* === HEADER === */

#header{
	/*background-color: #95CEC7;*/
	color: #FFF;	
	padding: 0.8em;
}

#header a {
	text-decoration:none;
	color:#FFF;
	padding-left:5px;
	text-decoration:none;
	display:inline-block;
}

#header a:hover {
	color:#000;
}

#header a:active, .current {
	color:#007F80;
	text-decoration:underline;
}

/* === CONTENT === */

.content {
	font-size:11pt;
}

#content {
	overflow: auto;
	white-space: normal;
	/*word-break: break-all;*/
	/*word-wrap: break-word;*/
	/*width: 99%; /*needed to wrap text*/
	margin: 0;
	padding: 4px;
	font-size: 12pt;
}

#content a{
	/*color: #FFF;
	font-weight: bold;*/
}

#content th a {
	color: #FFF;
}

.content2 {
	overflow: auto;
	white-space: normal;
	word-break: break-all; 
	word-wrap: break-word;
	width: 99%; /*needed to wrap text*/
}

#content2 {
	overflow: auto;
	white-space: normal;
	word-break: break-all; 
	word-wrap: break-word;
	width: 99%; /*needed to wrap text*/
}

.content thead td, .content thead th {
	text-align: left;
	padding:4px;
	background-color: #00a499;
	border-bottom: 3px solid #006269;
	color: #FFF;
	font-weight: normal;
}

.content thead a {
	text-align:center;
	/*font-weight:bolder;*/
	padding:5px;
	/*background-color:#545658;*/
	/*color: white;*/
}

.content tbody {
	padding:4px;
	/*text-align:center;
	background-color:#00A499;
	font-size: 86%;*/
}

.content tbody td {
	padding: 2px 4px;
}

#docContent{
	/*overflow: hidden;
	width: 100%;
	height: 100%;*/
}

#viewTable {
	overflow: auto;
	white-space: normal;
	/*word-break: break-all;*/
	/*word-wrap: break-word;*/
	/*width: 99%;*/
	margin: 0;
	padding: 4px;
	font-size: 12pt;
}

#tabs{
	margin: 0.5em;
}


#title, .active {
	font-family:arial;
	font-size: 1.2em;
	/*color:#007F80;*/
	font-weight: bold;
}

#spinner {
	position:absolute;
	top:80px;
	left:210px;
	z-index:4;
}

.title{
	font-weight:bold;
	color:#FFF;
	font-size:12pt;
	vertical-align: top;
	/*padding-bottom: 1em;*/
}

.user{
	font-weight:bold;
	font-size:10pt;
	vertical-align: top;	
}

p.datawarning {
	font-size:10pt;	
}

#login {
	float:right;
	font-size:75%;
	text-align:right;
}

#mainBodyTD {
	background-image: url("HeartDisease.jpg");
	color: #EEE;
	font-size: 13pt;
}

#mainBodyTD h1, #mainBodyTD h2, #mainBodyTD h3, #mainBodyTD h4 {
	color: #EEE;
}

#mainBodyTD a {
	color: #EEE;
	font-size: 14pt;
	font-weight:bold;
}

.vwBtns {
padding: 10px;
}

/**** FOOTER ****/

footer {
    background-color: #AAA;
    display: table;
    width: 100%;
}
footer a, footer a:visited {
    color: #333;
}
footer .footer-copyright {
    color: #555;
    display: table-cell;
}
@media (max-width: 900px) {
	footer .copyright {
		float: none;
		display: block;
		margin-top: 0.5em;
	}
}
@media (max-width: 600px) {
	footer .crown-logo {
		float: none;
		display: block;
	}
}
footer .links a {
	display: inline-block;
}
footer .links a:not(:last-child) {
		margin-right: 1em;
}
footer .row {
		padding: 0.5em 1em 0.5em 1em; 
		overflow: hidden;
}
.footer-logo {
	display: table-cell;
	vertical-align: middle;
	text-align: right;
}

.footer-logo a {
	display: inline-block;
	margin: auto 1em;
	vertical-align: middle;
}
.footer-logo img {
	height: 36px;
	display: block;
	margin: 0 auto;
}

/* === MENUS === */

#left, #right {
	/*min-width: 5%;*/
	min-width: 150px;
	background-color: #00a499;
	padding: 5px; 
	margin: 0px;
	/*color: #FFF;*/
	color: #44555F;
}

.leftMenu, .rightMenu {
	/*width: 8em;*/
	min-width: 5%;
	width: 150px;
}

.centre {
	/*position: relative; /* Position is declared "relative" to gain control of stacking order (z-index). */
	width: 100%;
	background-color: white;
	padding: 8px;
	/*z-index:3; /* This allows the content to overlap the right menu in narrow windows in good browsers. */
}

/* === FOOTER === */

#footer {
	width: 100%;
	border-top:1px solid grey;
	padding: 8px 0;
	margin: 0;
	background: #CCCCCC;
	overflow: hidden;
}

#crown-footer-logo {
	float: right;
	margin-right: 8px;
}

@media (max-width: 1200px) {
	#footer .fRight {
		float: none !important;
		padding-left: 10px;
	}
	#footer span {
		display: block;
	}
	#crown-footer-logo {
		float: none;
	}
}

.footerLink {
	margin: 0 5px;
	padding: 5px;
}

.fRight {
	float:right;
}

.redcell {
	background-color: #F09999;	
}

/* === Marquee News === */
#m{
	border: 0px;
	width:240px;
	height:280px;
	font-size:12pt;
}

.ndate{ 
	color:#007F80; 
	text-align:right;
	font-size:10px;
}

.datahdr {
	background-color: #D8E9EC;
}

h3.tabtitle {
	margin-top: 0px; 
	margin-bottom: 5px;
}

/* === DATA TABLE / FORM LAYOUT === */

/* TODO: remove id based selectors from this list */
.error-panel, #error, #error0, #error1, #error2, #error3, #error4, #error5, #error6, #error7, #error8, #error9, #errorDateTimes {
	padding: 10px;
	margin-top: 0.5em;
	text-align: left;
	background-color: #FFCB00;
	border: solid 1px red;
	width: 98.5%;
	display: none;
}

.item_label {
	width: 35%;
	font-weight:normal;
	/*font-size:13px;*/
	padding:10px 4px;
	vertical-align:top;
}

.item_label_r {
	width: 35%;
	font-weight: normal;
	/*font-size:13px;*/
	padding:4px;
	vertical-align:top;
	text-align:right;
}

.item_label_i {
	width: 35%;
	font-weight: normal;
	font-style: italic;
	/*font-size: 13px;*/
	padding: 10px 4px;
	vertical-align: top;
	padding-left: 4em;
}

.int_table_item_label {
	width: 30%;
	font-weight:normal;
	/*font-size:13px;*/
	padding:4px;
	text-align:right;
	vertical-align:top;
}

.item_label_wide {
	width: 40%;
	font-weight:normal;
	/*font-size:13px;*/
	padding:5px;
	vertical-align:top;
}

.item_label img {
	vertical-align:middle;
}

.item_value {
	/* width:32%; */
	/*font-size:13px;*/
	font-weight: bold;
	padding:10px 4px;
	vertical-align:top;
	text-align:left;
}

.item_value1 {
	font-weight: bold;
	padding:4px;
	vertical-align:top;
	text-align:left;
}

.item_value2 {
	/*width:20%;*/
	/*font-size:11px;*/
	padding:1px;
	vertical-align:top;
	text-align: left;
	/*font-weight: bold;*/
}
.item_value3 {
	font-size:11px;
	padding:1px;
	vertical-align:top;
	text-align: left;
	font-weight: bold;
}

.item_other {
	/*width:32%;*/
	/*font-size:13px;*/
	/*font-weight: bold;*/
	font-weight: normal;
	font-style: italic;
	padding:4px;
	vertical-align:top;
	text-align:left;
}

.item_ds {
	width: 4%;
	font-weight: normal;
	/*font-size: 11pt;*/
	font-size: 80%;
	font-style: italic;
	vertical-align: baseline;
	padding:12px 4px;
}

.item-status {
	width: 20%;
	font-weight: normal;
	font-size: 11pt;
	font-style: italic;
	vertical-align: top;
	padding:10px 4px;
}

.datepicker {
	width: 7em;
}

.timepicker {
	width: 7em;
}

.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
	font-family: Calibri,Verdana,Arial,sans-serif !important;
	font-size: 100% !important;
}

input {
	font-style: normal;
}

.note {
	font-style: italic;
	font-size: 85%;
	padding: 4px 10px;
	border-left: 2px solid #aaa;
	margin: 4px;
	color: #aaa;
	transition: color 0.5s ease;
}

.note:hover {
	color: #111;
}

.note1 {
	font-style: italic;
	font-size: 85%;
	font-weight: normal;
	padding: 4px 10px;
	margin: 4px;
}

.note2 {
	font-style: italic;
	font-size: 85%;
	font-weight: normal;
	padding: 4px 0;
	margin: 4px 0;
}

.staff-picker {
	margin: 1em 0;
}

.staff-picker select, .staff-picker label, .staff-picker button {
	margin-right: 0.5em;
}

/* BEM style - http://getbem.com - used on pef prediction form */
.form {}

.form__control {
	margin-bottom: 0.5em;
}

.form__label {
	font-weight: bold;
    display: block;
    margin-bottom: 0.25em;
}

.form__input {
	display: block;
	margin-left: 2em;
}
/* end BEM and pef prediction form */

.ui-datepicker-trigger {
	margin: 0 0 0 8px;
	padding: 0 0 0 0px;
	vertical-align: text-bottom;
}

[type="checkbox"], [type="radio"] {
	/*padding: 5px;*/
	margin: 5px;
}

#FEV1FVC {
	background-color: transparent;
}

/* Selectize */
.gpprac-selectize-input {
	width: 30%;
	min-width: 300px
}

.gpprac-selectize-input.selectize-dropdown {
	width: 100%;
}

.selectize-input {
	font: inherit !important;
	z-index: 0 !important;
}

#gp-label {
	display: block;
	font-weight: normal;
	margin-top: 0.5em;
}

.hide53 div {
	padding: 10px;
}

.bottom-nav-bar {
	overflow: hidden;
	text-align: center;
	padding: 0px;
	margin: 10px;
}

.btnPrev {
	float: left;
}

.btnNext {
	float: right;
}

.bottom-nav-note {
	font-style: italic;
	font-size: 85%;
}

.error-panel button {
	margin-left: 1em;
}

.hl-warning {
	color: #C00;
}

#map {
	height: 450px;
	width: 700px;
	/*margin: auto;*/
}

.record-header {
    box-sizing: border-box;
    overflow: hidden;
    width: 100%;
}

.half {
    float: left;
    width: 50%;
}

.half-left {
    float: left;
   /* width: 50%;*/
}
.half-right {
    float: right;
    /*width: 50%;*/
}

.xBorder {
	border:0;
}

.hide {
	display: none;
}

.show {
	display: block;
}

select, input, textarea {
	font-family: Calibri,Arial !important; 
	font-size: 12pt !important;
}

.full-width {
	width: 100%;	
}

label, select, option, .ui-datepicker-trigger {
	cursor: pointer;
}

.col1-left td:nth-child(1) {text-align: left}
.col2-left td:nth-child(2) {text-align: left}
.col3-left td:nth-child(3) {text-align: left}
.col4-left td:nth-child(4) {text-align: left}
.col5-left td:nth-child(5) {text-align: left}
.col6-left td:nth-child(6) {text-align: left}
.col7-left td:nth-child(7) {text-align: left}
.col8-left td:nth-child(8) {text-align: left}
.col9-left td:nth-child(9) {text-align: left}
.col10-left td:nth-child(10) {text-align: left}
.col11-left td:nth-child(11) {text-align: left}
.col12-left td:nth-child(12) {text-align: left}
.col13-left td:nth-child(13) {text-align: left}
.col14-left td:nth-child(14) {text-align: left}
.col15-left td:nth-child(15) {text-align: left}

.col1-right td:nth-child(1) {text-align: right}
.col2-right td:nth-child(2) {text-align: right}
.col3-right td:nth-child(3) {text-align: right}
.col4-right td:nth-child(4) {text-align: right}
.col5-right td:nth-child(5) {text-align: right}
.col6-right td:nth-child(6) {text-align: right}
.col7-right td:nth-child(7) {text-align: right}
.col8-right td:nth-child(8) {text-align: right}
.col9-right td:nth-child(9) {text-align: right}
.col10-right td:nth-child(10) {text-align: right}
.col11-right td:nth-child(11) {text-align: right}
.col12-right td:nth-child(12) {text-align: right}
.col13-right td:nth-child(13) {text-align: right}
.col14-right td:nth-child(14) {text-align: right}
.col15-right td:nth-child(15) {text-align: right}

.col1-ctr td:nth-child(1) {text-align: center}
.col2-ctr td:nth-child(2) {text-align: center}
.col3-ctr td:nth-child(3) {text-align: center}
.col4-ctr td:nth-child(4) {text-align: center}
.col5-ctr td:nth-child(5) {text-align: center}
.col6-ctr td:nth-child(6) {text-align: center}
.col7-ctr td:nth-child(7) {text-align: center}
.col8-ctr td:nth-child(8) {text-align: center}
.col9-ctr td:nth-child(9) {text-align: center}
.col10-ctr td:nth-child(10) {text-align: center}
.col11-ctr td:nth-child(11) {text-align: center}
.col12-ctr td:nth-child(12) {text-align: center}
.col13-ctr td:nth-child(13) {text-align: center}
.col14-ctr td:nth-child(14) {text-align: center}
.col15-ctr td:nth-child(15) {text-align: center}

.file-attach a {
	background-color:#FFF;
	border: solid 1px black;
    margin: 10px;
    padding: 5px;
    text-decoration: none;
    width: 26em;
    height: 6em;
    max-width:26em;
    display: inline-block;
	box-shadow: 5px 5px 5px rgba(128,128,128,0.75);
}

.no-margin-bottom {
	margin-bottom: 0;
}

.text-center {
    text-align: center;
}

.inline-block {
	display: inline-block;
}

.align-middle {
	vertical-align: middle;
}

/* == Data Status Highlights == */

.status-na {
    background-color: lightgrey;
}

.status-ok {
	background-color: white; /*rgb(111, 209, 111);*/
}

.status-warning {
	background-color: rgb(255, 229, 0);
}

.status-error {
	background-color: rgb(234, 125, 0);
}

.status-fatal {
	background-color: rgb(214, 0, 0);
}

.status-na-light {
    background-color: lightgrey;
}

.status-ok-light {
    /*background-color: rgba(111, 209, 111, 0.2);*/
    background-color: white;
}

.status-warning-light {
    background-color: rgba(255, 229, 0, 0.2);
}

.status-error-light {
    background-color: rgba(234, 125, 0, 0.2);
}

.status-fatal-light {
    background-color: rgba(214, 0, 0, 0.2);
}

/* Not Applicable */
.na {
	border: 2px darkgrey;
	border-radius: 5px;
	background-color: lightgrey;
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
}
.na-bg {
	background-color: lightgrey;
}

.subfield label {
	font-weight: normal;
	font-style: italic;
	padding: 2px 0;
	display: inline-block;
}

.status-list {
	display: inline-block;
	border: 2px darkred solid;
	border-radius: 5px;
	background-color: #F52234;
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
	padding:0;
	margin:0;
}

.dateDOW {
	font-weight: normal;
	font-style: italic;
	padding: 2px 0;
	display: inline-block;
	margin-left: 2em;
}

div.status {
	display: inline-block;
}

.status ul {
    padding: 0;
}
.disabled, input:disabled, select:disabled  {
	/*color: grey;
	background-color: lightgray;*/
	color: #bbb;
	background-color: #eee;
}

.units {
	font-size: 85%;
	font-weight: normal;
	font-style: italic;
	padding: 2px 0;
	display: inline-block;
	margin-left: 0.25em;
}

.number-field {
	text-align: right;
	/* not necessary?
	direction: rtl;
	unicode-bidi: bidi-override;
	*/
}

/* Confirm save copied from NHFD */
.modal {
    box-sizing: content-box;
}

.modal ul {
    list-style-type: disc;
    list-style-position: outside;
    padding-left: 1em;
    padding-top: 1em;
}
.modal li {
    list-style-type: disc;
    list-style-position: outside;
    padding-bottom: 0.5em;
}


.confirm-save .ui-dialog-titlebar {
    background-color: orange;
}

.fatal-modal .ui-dialog-titlebar {
    background-color: red;
}

.duplicate-modal .ui-dialog-titlebar {
    background-color: red;
}

.help-modal .ui-dialog-titlebar {
	background-color: #00A499;
}

.ui-widget-header {
    color: #fff !important;
}

.no-close .ui-dialog-titlebar-close {
    display: none;
}

.help-modal h2 {
    border: 0;	
}

.ui-state-active {
    font-weight: bold !important;
}

.ui-state-active a {
    text-decoration: underline !important;
}

.help {
	display: inline-block;
	margin-left: 0.25em;
	margin-top: -7px;
	padding-top: 0;
	vertical-align: middle;
	cursor: pointer;
}

.disabled-label {
    color: grey;
    text-decoration: line-through;
}

#pef-prediction-link {
    color: inherit;
}

.ui-tabs-anchor {
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
}

/* BUTTON LINKS */
/* Style links as buttons */

.button-link {
	display: inline-block;
	padding: 6px 12px;
	background: #4479BA;
	color: #FFF !important;
	font-weight: bold;
	font-style: normal;
	border-radius: 4px;
	border: solid 1px #20538D;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
	box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
	transition-duration: 0.2s;
	user-select:none;
}
.button-link:hover {
	background: #244d7e;
	border: solid 1px #2A4E77;
	text-decoration: none;
}
.button-link:active {
	box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
	background: #2E5481;
	border: solid 1px #203E5F;
}

.alert {
    display: inline-block;
    min-width: 3em;
    padding: 4px 4px;
    background: #EA0 !important;
	color: #FFF !important;
	font-weight: normal;
	font-style: normal;
	border-radius: 4px;
	border: solid 1px #20538D;
	margin-left: -4px;
}

/*Feb 2020
label > input:checked {
	background-color: #900;
}
*/

.stripe tr:nth-child(even) {
  background-color: #eee;
}
