/* 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; */
}

a, a:visited {
	color: #003d67;
	text-decoration: none;
	/*
	font-size: 0.9em;
   	font-style: normal;
  	font-weight: normal;
	*/
}

#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: rgb(144, 83, 161);	
}

h2 {
	border-bottom: 3px solid rgb(144, 83, 161);
	margin-bottom: 0.25em;
}

.subhead {
	background-color: #ebdfed;
	padding: 0.25em;
	border-bottom: 2px #9053a1 solid;
}

/* HEADER */

#logox {
	position: relative;
	left: 0;
	top: 0;
}

#titleBlock {
	margin: 0;
	padding: 0;
	border: 0 solid;
	clear: both;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
}

#titleBlock a:visited {
	color: #fff;
}

#titleText {
	font-size: 48px;
	font-weight: bold;
	padding: 5px;
	color: rgb(144, 83, 161);
}

#titleSubText {
	font-size: 14pt;
	font-weight: bold;
	padding: 5px;
	color: rgb(0, 131, 190);
}

#titleRow {
	background: #FFF;
	color: #FFF;
	display: block;
}

#titleRow div {
	display: inline-block;
	/*display: inline;
	zoom: 1;*/
}

#titleContainer {
	/*
	padding-left: 20px;
	position: relative;
	bottom: 15px;
	vertical-align: middle;
	*/
	margin: 1em 5em 1em 1em;
	float: right;
}

#titleLogo {
	vertical-align: middle;
}

#titleMenuRow {
	background: rgb(235,223,237);
	/*
	color: #FFF;
	*/
}

#titleMenu {
	padding: 6px;
	background: rgb(235,223,237);
	/*
	background: rgb(44, 129, 189);
	text-decoration: none;
	color: #FFF;
	*/
}

#titleMenu a:visited {
	color: #000;
}

#titleUser {
	padding-right: 15px;
	text-decoration: none;
}

#titleUser a:hover {
	text-decoration: underline;
}

.logoSpacer {
	width: 90px;
}

.holderTable {
	padding: 0;
	color: #000;
	width: 100%;
}

.holderTable td a {
	padding: 0 10px 0 10px;
	text-decoration: none;
	color: #000;
}

.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 {
	margin: 0;
	padding-left: 0;
	padding-bottom: 10px;
	list-style: inside square;
}

li {
	padding-left:5px;
	padding-right:5px;
	padding-bottom:10px;
	/*list-style-type: none;*/
}

li.status-fatal {
	padding-bottom: 4px;
}
li.status-error {
	padding-bottom: 4px;
}
li.status-warning {
	padding-bottom: 4px;
}

/* === 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*/
	padding: 8px;
}

#content a{
	color: rgb(0,170,167);
	font-weight: bold;
}

.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 tbody th {
	text-align:center;
	/*font-weight:bolder;*/
	padding:5px;
	background-color: rgb(235,223,237);
	border-bottom: 3px solid rgb(144, 83, 161);
}

.content thead a {
	text-align:center;
	/*font-weight:bolder;*/
	padding:5px;
	/*background-color:#545658;*/
	/*color: white;*/
}

.content tbody {
	padding:5px;
	/*background-color:#00A499;
	text-align:center;
	font-size: 86%;*/
}

#docContent{
	/*overflow: hidden;
	width: 100%;
	height: 100%;*/
}

#tabs{
	margin: 0;
}


#title, .active {
	font-family:arial;
	font-size: 1.2em;
	/*color:#007F80;*/
	font-weight: bold;
}

#spinner {
	position:absolute;
	top:80px;
	left:210px;
	z-index:4;
}


thead {
	text-align:center;
	/*font-weight:bolder;*/
	padding:20px;
}


.title{
	font-weight:bold;
	font-size:12pt;
	vertical-align: top;
	padding-bottom: 5px;
}

.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;
}

/* === MENUS === */

#left, #right {
	/*min-width: 5%;*/
	width: 150px;
	background-color: #00abbe;
	padding: 5px; 
	margin: 0px;
	color: #FFF;
}

#left a, #right a {
color: #FFF;
}

.leftMenu, .rightMenu {
	/*width: 8em;
	min-width: 5%;*/
	width: 140px;
	color: #fff;
}

.leftMenu li {
	padding-left:5px;
	padding-right:5px;
	padding-bottom:5px;
	list-style-type: none;
	color: #fff;
}

.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:12px;
	/* Again, the ugly brilliant hack.
	voice-family: "\"}\""; 
	voice-family: inherit; 
	width:158px;*/
}

.ndate{ 
	color:#007F80; 
	text-align:right;
	font-size:10px;
}

/*
p.nifty{
	margin:0;
	padding: 5px 10px;
	line-height: 1.3;
	text-align: justify;
	overflow:auto;
	max-height:380px;
	scrollbar-highlight-color: #b3b3b1;
		height: expression( this.scrollHeight > 350 ? "350px" : "auto" );
	scrollbar-face-color: #b3b3b1;
	scrollbar-3dlight-color: #b3b3b1;
	scrollbar-darkshadow-color: #b0b0b0;
	scrollbar-shadow-color: #b3b3b1;
	scrollbar-arrow-color: #000000;
	scrollbar-track-color: #F0F0F0;
	scrollbar-highlight-color: #b3b3b1;
	scrollbar-highlight-color: #b3b3b1;
}
*/

.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;
	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_value:nth-child(1) label {
	padding-top: 6px;
}

.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_value_sub {
	/* width:32%; */
	font-size: 12pt;
	font-weight: bold;
	font-style: italic;
	padding:10px;
	padding-top: 0;
	vertical-align:top;
	text-align:left;
}

.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: 85%;
	font-style: italic;
	vertical-align: top;
	padding:10px 4px;
}

.item-status {
	width: 20em;
	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%;
	font-weight: normal;
	padding: 4px 10px;
	border-left: 2px solid #aaa;
	margin: 4px;
	color: #aaa;
	transition: color 0.5s ease;
}

.note:hover {
	color: #111;
}

.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;
}

/* Selectize */
.gpprac-selectize-input {
	width: 30%;
	min-width: 300px
}

.selectize-input {
	font: inherit !important;
	z-index: 0 !important;
}

.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;
}

label {
	padding-left: 15px;
	text-indent: -25px;
	display: inline-block;
	/*border: 1px solid #eee;
	margin-bottom: 0;
	line-height: 8px;*/
	padding-top: 0.25em;
}

.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;
	/*color: black;*/
    margin: 10px;
    padding: 5px;
    text-decoration: none;
    width: 26em;
    height: 6em;
    max-width:26em;
    display: inline-block;
	/*box-shadow: 5px 5px 5px #888888;*/
	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);
	color: #fff;
}

.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 {
	margin-left: 1.5em;
}

.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: #EE4343;
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
	padding:0;
	margin:0;
	list-style-type: none;
}

.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 {
	color: #888;
	background-color: lightgray;
}

.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;
	width: 4em;
	/* not necessary?
	direction: rtl;
	unicode-bidi: bidi-override;
	*/
}

/* Confirm save copied from NHFD */
.modal {
    box-sizing: content-box;
}

.modal li {
    list-style-type: circle;
    list-style-position: inside;
}

.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: rgb(235,223,237);
}

.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;
}

input:disabled {
    color: #bbbbbb;
}

.ui-tabs-anchor {
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
}

img[src*="help"] {
cursor: pointer;
}

/* -- RISK SCORE PANELS -- */

.rs-display-card {
	border-radius: 10px;
	padding: 10px
}

.rs-display-card-danger {
	border: 3px solid red;
	background-color: #ff888888
}

.rs-display-card-success {
	border: 3px solid green;
	background-color: #88ff8888 
}

.rs-display-card_badge {
	font-size: 120%
}

.rs-display-card_score {
	font-size: 150%
}

.rs-display-card_body {
	font-size: 12pt;
	font-weight: normal;
}

.rs-display-card ul {
	font-style: italic
}

.rs-display-card ul li {
	list-style-type: disc !important;
	list-style-position: inside;
}