/* CSS for Bayes page */
@media print {
    body .nav { display: none; } 
} 

body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #2d3c49;
}

img {
      max-width: 100%;
}

div {
  padding-left: 10px;
  padding-right: 10px;
  margin-left: auto;
  margin-right: auto;
}

a {
  text-decoration: none;
  color: blue;
}

a:hover {
  text-decoration: underline;
  color: red;
}

.header_image {
  text-align: left;
  padding-bottom: 0;
  margin-top: 25px;
}

.header {
  width: 100%;
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  position: fixed;
  top: 0;
  z-index: 1;
  width: inherit;
  background-color: #191970;
  margin-left: auto;
  margin-right: auto;
  font-size: 12px;
}

.nav a {
  color: #FFFFFF;
}

.nav_div {
  margin-left: auto;
  margin-right: auto;
  padding-left: 5px;
  padding-right: 5px;
  padding-bottom: 2px;
  padding-top: 2px;
}

.bayestree {
  width: 100%
}

header,
section,
div {
  box-sizing: border-box;
}

@media screen and (min-width: 850px) {

  body {
   	width: 850px;
  	margin-left: auto;
        margin-right: auto;
  }

}


select,
textarea,
input {
  font-size: 16px;
}

.redtext {font-family: "Times New Roman", Times, serif; font-style: normal; font-weight: bold; font-size: 18px; color: red}

hr  {
    border: 0;
    height: 1px;
    background: #333;
    background-image: linear-gradient(to right, #ccc, #333, #ccc);
}


.calculator {

  display: flex;

  flex-wrap: wrap;

  width: 60%;

  margin-left:auto;
  margin-right:auto;

}

.calculator_heading {
  text-align: center;
}

.calculator_div {
  font-weight: bold;
  padding-bottom: 20px;
}

.textbox {
  border: 1px solid #456879;
  border-radius: 5px;
  padding: 2px;
  color: darkblue;
  font-weight: bold;
}

.compute_button, .reset_button {
  border: 1px solid #456879;
  border-radius: 5px;
  font-weight: bold;
}

.compute_button {
  margin-right: 30px;
}

.button_div {
  text-align: center;
}

.bayestable {
  width: 320px;
  margin-left: auto;
  margin-right: auto;
  font-weight: bold;
  font-size: 14px;
  color: darkblue;
}

.bayestable td:first-child  {
    text-align: right;
    width: 90%
}

.bayestable td:last-child  {
    text-align: left;
    width: 10%;
    vertical-align: bottom;
}

.redtext {
   color: red;
 }

.bluetext {
   color: blue;
   font-weight: bold;
 }

.parmdiv {
  text-align: center;
  width: 100%;
  overflow-x: auto;
  font-size: 14px;
}

.displayTable {
    border-collapse: collapse;
    border: 1px solid black;
    width: auto;
    font-size: 14px;

}

.displayTable td {
    border: 1px solid black;
    padding-left: 5px;
    padding-right: 5px;
}

.displayTable th {
    border: 1px solid black;
    padding-left: 3px;
    border-spacing: 3px;
    width:20%;
    background-color: #d3d3d3;
    vertical-align: middle;
}


.desc_div {
	text-align: center;
	padding-left: 0;
	adding-right: 0;
}

.desc_button {
	height: 50px;
	width: 300px;
  	font-size: 16px;
  	font-weight: bold;
	margin-left: 2px;
	background-color: #000000;
	color: white;
	padding: 0px;
	vertical-align: middle;
	border-radius: 10px;
	line-height: 15px;
	text-align: center;
	}


.desc_button::before {
    content: 'Show';
    font-weight: bold;
    margin-left: 5px;
}

.desc_button.active::before {
    content: "Hide";
}

.tree_description {
	display: none;
	color: darkblue;
}

.tree_description.active {
	display: block;
}

#ppv_prev_div, #ppv_sens_div, #ppv_spec_div, #npv_prev_div, #npv_sens_div, #npv_spec_div {
  min-width: 310px; 
  height: 300px; 
  margin: 0 auto;
}

.ppv_prev_div, .ppv_sens_div, .ppv_spec_div, .npv_prev_div, .npv_sens_div, .npv_spec_div {
  display: none;
}

hr {
  border: 0;
  clear:both;
  display:block;
  width: 96%;               
  background-color:#FFFF00;
  height: 1px;
}

.hr_div {
  display: none;
}

.footnote {
  font-size: 14px;
}
footer {
  text-align: center;
  font-size: 14px;
}
