img.bg {opacity: 0.5;}
img {;}
#ttree {width: 100%;}
div.popup {position: fixed;width: 100%;top: 36px;font-family: 'Open Sans', sans-serif;font-weight: 700;color: black;border-collapse: collapse;border: none; z-index: 2;}
/* div.popup {position: absolute;width: 100%;top: 36px;font-family: 'Open Sans', sans-serif;font-weight: 700;color: black;border-collapse: collapse;border: none; z-index: 2;} */
/* fixed needed so that when you select a tech near the bottom of the tree, you can see the popup */
div.popup img {margin-left: auto; margin-right: auto; display: block;}
body::after{position:absolute; width:0; height:0; overflow:hidden; z-index:-1;content:url(/images/trainee/1.png) url(/images/trainee/2.png) url(/images/trainee/3.png) url(/images/trainee/4.png) url(/images/trainee/5.png) url(/images/trainee/6.png) url(/images/trainee/7.png) url(/images/trainee/8.png) url(/images/trainee/9.png) url(/images/trainee/10.png) url(/images/trainee/11.png) url(/images/trainee/12.png) url(/images/ce/1.png) url(/images/ce/2.png) url(/images/ce/3.png) url(/images/ce/4.png) url(/images/ce/5.png) url(/images/ce/6.png) url(/images/ce/7.png) url(/images/ce/8.png) url(/images/ce/9.png) url(/images/ce/10.png) url(/images/ce/11.png) url(/images/ce/12.png) url(/images/ce/13.png) url(/images/ce/14.png) url(/images/ce/15.png) url(/images/ce/16.png) url(/images/ce/17.png) url(/images/ce/18.png) url(/images/ce/19.png) url(/images/ce/20.png) url(/images/ce/21.png) url(/images/ce/22.png) url(/images/ce/23.png) url(/images/ce/24.png) url(/images/ce/25.png) url(/images/ce/26.png) url(/images/ce/27.png) url(/images/ce/28.png) url(/images/ce/29.png) url(/images/ce/30.png) url(/images/mm/1.png) url(/images/mm/2.png) url(/images/mm/3.png) url(/images/mm/4.png) url(/images/mm/5.png) url(/images/mm/6.png) url(/images/mm/7.png) url(/images/mm/8.png) url(/images/mm/9.png) url(/images/mm/10.png) url(/images/mm/11.png) url(/images/mm/12.png) url(/images/mm/13.png) url(/images/mm/14.png) url(/images/mm/15.png) url(/images/mm/16.png) url(/images/mm/17.png) url(/images/mm/18.png) url(/images/mm/19.png) url(/images/mm/20.png) url(/images/mm/21.png) url(/images/mm/22.png) url(/images/mm/23.png) url(/images/mm/24.png) url(/images/mm/25.png) url(/images/mm/26.png) url(/images/mm/27.png) url(/images/mm/28.png) url(/images/mm/29.png) url(/images/mm/30.png);}
table.rescost {
	background-color: white;
	margin-top: 25px;border-collapse: collapse; margin-left: auto;margin-right:auto;border: solid 1px black;border-width: 0px
}
table.rescost tr:nth-child(1) td {font-weight: 700;text-align: center;vertical-align: middle;}
table.rescost tr td {font-size: 0.8em;padding: 0.2em 0.4em;border-width: 1px;border-color: black;}
table.rescost tr:nth-child(1n+2)  td:nth-child(1) {text-align: center;}
table.rescost tr:nth-child(1n+2)  td:nth-child(2) {text-align: right;}
table.rescost tr:nth-child(1n+2)  td:nth-child(3) {text-align: right;}
table.rescost tr:nth-child(1n+2)  td:nth-child(4) {text-align: center;}
table.extras {
	background-color: white;
	margin-top: 25px;border-collapse: collapse; margin-left: auto;margin-right:auto;border: solid 1px black;border-width: 0px
}
tr.extrahead td {font-weight: 700;text-align: center;vertical-align: middle;}
table.extras tr td {font-size: 0.8em;padding: 0.2em 0.4em;border-width: 1px;border-color: black;text-align: center;}
/* table.extras tr:nth-child(1n+2)  td:nth-child(1) {text-align: center;}
table.extras tr:nth-child(1n+2)  td:nth-child(2) {text-align: center;}
table.extras tr:nth-child(1n+2)  td:nth-child(3) {text-align: center;}
table.extras tr:nth-child(1n+2)  td:nth-child(4) {text-align: center;} */

div.calculator {
    border-image: url(/images/calc-border.png) 63 12 94 12 / 63px 12px 94px 12px;
    border-style: solid;
    border-image-outset: 63px 12px 94px 12px;
    position: relative;
    top: 65px;
    padding: 0px 4px;
}
div.info {
    border-image: url(/images/v-bg.png) 61 16 21 16 / 61px 16px 21px 16px;
    border-style: solid;
    padding: 60px 16px 21px 16px;
    background-color: #c6d1d3;
    max-width: 443px;
    margin-left: auto;
    margin-right: auto;
}
table.info {
    width: 100%;
    border-width: 0px;
    margin-top: 0px;
}
table.calcinner {
	background-color: white;
    border-width: 3px;
    border-color: white;
    width: 100%;
    border-radius: 6px;padding:12px;
	background-image: linear-gradient(#5b7cbc, #2b316a);
}
table.calcinner tr td div {
	text-align: center;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
	color: greenyellow;
	}
table.calcinner tr td input[type="radio"] {
	width: 1rem;
    height: 1rem;
    margin: 8px;
    padding-right: 16px;
    position: relative;
    top: 0.2rem;
	}
table.calcinner tr td input[type="number"] {
	font-size: 1em;
	padding-left: 12px;
	}
span.button {
	background-color: #4040ff;
    color: white;
    font-size: 1.2rem;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    border: 1px solid;
    text-align: center;
    border-color: black;
    display: table;
    padding: 9px 18px;
    background-image: linear-gradient(#5b7cbc, #2b316a);
    margin-left: auto;
    margin-right: auto;
    border-radius: 14px;
    text-shadow: 2px 0 0 black;
}
span.fw {
	width: 120px;
    display: inline-table;
    text-align: right;
    position: relative;
    left: -24px;
}
#result {
	font-size: 0.9em;
    color: white;
    font-family: 'Open Sans', sans-serif;
	margin: 12px 0px 12px;
}
div.cres img {float:left; clear:left;}
div.cres span:nth-child(2) {width: 440px; display: inline-block;}
div.cres span {vertical-align: middle;}

table.cres {}
table.cres tr td {vertical-align: top}
table.cres tr td:nth-child(1) {}
table.cres tr td:nth-child(2) {}
table.cres tr td:nth-child(3) {}

h2 {
	margin-block-end: 0.2em;
    text-align: center;
    font-size: 1.8em;
}
table.versionhistory {
	margin: 1em;
	font-family: 'Open Sans', sans-serif;
	font-weight: 600;
	margin: 0px;
}
table.versionhistory tr td {
	vertical-align: top;
	padding: 0.15em 0.25em;
}
table.contact {
margin-top: 1.5em;
margin-left: auto;
margin-right: auto;
}
table.contact tr td:nth-child(1) {
font-weight: 700;
align: right;
padding-right: 0.25em;
vertical-align: top;
}
table.contact tr td input[type=text] {border-radius: 4px;width: 160px;}
table.contact tr td textarea {border-radius: 4px;width: 160px;height: 120px;}
table.contact tr td span {border-radius: 4px;font-size: 1.2em;font-weight: 600;background-color: #464e73;color: white;padding: 4px 12px;margin-left: auto;margin-right: auto;display: table;}
#errmsg {color: red;text-align: center;}

table.popupo {
  position: relative;
  top: 15px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  color: black;
  border-collapse: collapse;
  border: 2px solid;
  border-radius: 4px;
  border-color: #383d5b;
  z-index: 3;
  margin-left: auto;
  margin-right: auto;
  background-color: #c6cdd5;
  }
tr.popupo {
  text-align: center;
  color: white;
  text-shadow: 0 0 4px black;
  font-weight: 700;
}
tr.popupo td {
  background-color: #383d5b;
}
table.odesc {
  padding: 5px 30px
}
table.fx {
	background-color: white;
	margin-top: 5px;border-collapse: collapse; margin-left: auto;margin-right:auto;border: solid 1px black;border-width: 0px
}
table.fx tr:nth-child(1) td {font-weight: 700;text-align: center;vertical-align: middle;}
table.fx tr td {font-size: 0.8em;padding: 0.2em 0.4em;border-width: 1px;border-color: black;}
table.fx tr td:nth-child(2) {margin-left:25px;}
table.fx tr:nth-child(1n+2) td:nth-child(1) {text-align: left;}
table.fx tr:nth-child(1n+2) td:nth-child(2) {text-align: right;}

table.rescosto {
	background-color: white;
	margin-top: 25px;border-collapse: collapse; margin-left: auto;margin-right:auto;border: solid 1px black;border-width: 0px
}
table.rescosto tr:nth-child(1) td {font-weight: 700;text-align: center;vertical-align: middle;}
table.rescosto tr td {font-size: 0.8em;padding: 0.2em 0.4em;border-width: 1px;border-color: black;}
table.rescosto tr td:nth-child(2) {margin-left:25px;}
table.rescosto tr:nth-child(1n+2)  td:nth-child(1) {text-align: center;}
table.rescosto tr:nth-child(1n+2)  td:nth-child(2) {text-align: right;}

table.reqs {font-size: 0.8em;text-align: center;margin-left:auto;margin-right: auto;margin-top 5px;}
table.reqs tr td {padding: 0px 8px;}

span.resco {
  width: 45%;
  display: inline-block;
  text-align: center;
}
