.thb {
  margin-left: 10px;
  text-decoration: none;
  color: #179a17;
  font-size: 13px;
  display: inline-block;
  position: relative;
}

.alert a {
  text-decoration: underline;
}

.content-wrapper {
  margin-left: 0;
}

h1,
h2,
h3 {
  font-family: helvetica neue,sans-serif;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

.page-tool h1,
.page-tool h2,
.page-tool h3 {
  color: #000;
}

h1 {
  font-size: 2.4rem;
}

h2 {
  font-size: 19px;
}

h3 {
  font-size: 15px;
}

section.content {
  margin-top: 0;
}

label {
  font-weight: 400;
}
ul.gedsearch {
  z-index: 3000;
}

.gedsearch.ui-menu .ui-menu-item-wrapper {
  font-family: Novecentosanswide,Helvetica,Arial,Sans-serif;
  padding: 0 1em 3px .4em;
  text-transform: lowercase;
  display: block;
}

.gedsearch.ui-menu .ui-menu-item {
  padding: 4px;
  background-color: #efefef;
  border-bottom: 1px solid #cacaca;
}

.gedsearch.ui-menu .ui-menu-item:hover {
  background-color: #456d81;
}

.gedsearch.ui-menu .ui-menu-item:hover span {
  color: #fff;
}

.ui-widget.ui-widget-content {
  border: 0!important;
  padding: 0!important;
}

.ui-widget {
  font-family: "Helvetica neue",helvetica,Verdana,sans-serif;
}
#oldedge a:hover,
abbr[title] {
  text-decoration: underline;
}

.label,
legend {
  white-space: normal;
}

#instructions,
#matchtable,
textarea {
  overflow: auto;
}

[type=checkbox],
[type=radio],
legend {
  box-sizing: border-box;
  padding: 0;
}

.table-editable,
body>h1,
sub,
sup {
  position: relative;
}

button,
hr,
input {
  overflow: visible;
}

audio,
canvas,
progress,
video {
  display: inline-block;
}

progress,
sub,
sup {
  vertical-align: baseline;
}

html {
  font-family: sans-serif;
  line-height: 1.15;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0 0 20px;
}

figure {
  margin: 1em 40px;
}

hr {
  box-sizing: content-box;
  height: 0;
}

code,
kbd,
pre,
samp {
  font-family: monospace,monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}

a:active,
a:hover {
  outline-width: 0;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

dfn {
  font-style: italic;
}

mark {
  background-color: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
}

sub {
  bottom: -.25em;
}

sup {
  top: -.5em;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

img {
  border-style: none;
}

svg:not(:root) {
  overflow: hidden;
}

button,
input,
optgroup,
select,
textarea {
  font-family: sans-serif;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
select {
  text-transform: none;
}

[type=reset],
[type=submit],
button,
html [type=button] {
  -webkit-appearance: button;
}

[type=button]:-moz-focus-inner,
[type=reset]:-moz-focus-inner,
[type=submit]:-moz-focus-inner,
button:-moz-focus-inner {
  border-style: none;
  padding: 0;
}

[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring,
button:-moz-focusring {
  outline: ButtonText dotted 1px;
}

fieldset {
  border: 1px solid silver;
  margin: 0 2px;
  padding: .35em .625em .75em;
}

legend {
  color: inherit;
  display: table;
  max-width: 100%;
}

#year-error,
.relac {
  white-space: nowrap;
}

[type=number]:-webkit-inner-spin-button,
[type=number]:-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type=search]:-webkit-search-cancel-button,
[type=search]:-webkit-search-decoration {
  -webkit-appearance: none;
}

:-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

summary {
  display: list-item;
}

#spousearea ul li .glyphicon-ok,
.spouses,
[hidden],
template {
  display: none;
}

#treewrapper {
  -webkit-user-select: none;
  user-select: none;
}

[contenteditable],
input,
textarea {
  -webkit-user-select: text;
  user-select: text;
}

body>h1 {
  background: #2b3c4e;
  padding-bottom: 10px;
  margin: 10px 0 30px 30px!important;
  font-family: Novecentosanswide,"Lucida Grande",Century,Garamond,serif;
  text-transform: lowercase;
  top: 43px;
}

#maincontent h1 {
  font-size: 2.8rem;
}

#overallprob h3 {
  margin-top: 0!important;
  font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

#wato-welcome p.intro,
.matchstats {
  font-weight: 700;
}

.table-editable .glyphicon {
  font-size: 20px;
}

.matchstats {
  position: absolute;
  right: 2px;
  background: #1e2935;
  color: #fff;
  border-radius: 3px;
  top: 23px;
  line-height: 1;
  padding: 2px 4px;
  font-size: 11px;
}

.tree-area .innerlink {
  color: #a9e633;
  background: 0 0;
  padding: 0 5px;
}

.tree-area .innerlink.actionbutton {
  color: #000;
  background: #c7c7c7;
  padding: 4px 6px;
  margin-right: 5px;
  text-transform: uppercase;
  font-size: 1.25rem;
  border-width: 1px;
}

.tree-area .innerlink.actionbutton:hover {
  color: #333;
}

.spouses {
  color: #efefef;
  font-size: 1.125rem;
  line-height: 1.5rem;
}

.edit .spouses,
.light .spouses {
  color: #333;
}

#spousearea {
  margin: 10px 0;
}

#spousearea ul {
  padding: 0;
}

#spousearea ul li {
  font-size: 13px;
  color: #446c81;
  padding: 2px 17px 2px 0;
  position: relative;
}

#spousearea ul li.editingspouse .glyphicon-ok {
  display: inline-block;
}

#spousearea ul li.confirmingdeletion .glyphicon-remove,
#spousearea ul li.editingspouse .glyphicon-remove {
  display: none;
}

#spousearea ul li button {
  float: right;
  z-index: 5;
  background: 0 0;
  padding-left: 5px;
  margin-left: 5px;
  border: 0;
  font-size: 12px;
  top: 5px;
  right: -10px;
  position: absolute;
}

#spouses span {
  padding: 3px;
  display: inline-block;
  min-width: 80px;
  min-height: 13px;
}

.label:hover>.spouses {
  display: block;
}

.dnd .label:hover>.spouses {
  display: none;
}

.tree-area .innerlink:hover {
  color: #c5f962;
}

#spousearea ul li button.btn-alert {
  background: #dd4b39;
  display: block;
  float: none;
  color: #fff;
  padding: 3px 5px;
  clear: both;
  margin-bottom: 5px;
  position: relative;
}

#treewrapper span#probtreeBirthYear.notentered {
  color: #EC5D50;
}

#tbody td:first-child,
#thead th:first-child {
  position: sticky!important;
  left: 0;
  z-index: 1;
}

#tbody td:first-child {
  background: inherit;
}

#matchtable table table,
#matchtable table table td {
  margin: 0;
}

#kit-banners a img,
.walert {
  margin-bottom: 10px;
}

.innerlink .glyphicon {
  font-size: 1.125rem;
}

.walert {
  padding: 12px 16px;
  background: #c1c36c;
  color: #000;
  font-size: 1.8rem;
  max-width: 700px;
  display: inline-block;
  position: relative;
  border-radius: 3px;
}

#wato-welcome p,
.walert p {
  margin-bottom: 0;
}

.walert ul {
  padding: 10px 0 0 20px;
}

.walert .dpclose {
  background: 0 0;
  color: #000;
  border: none;
  font-size: 2rem;
  top: 10px;
}

#open-endogameter,
#switchprofile {
  margin-left: 0;
  margin-right: 15px;
  top: -25px;
}

.closetips.dpclose {
  position: static;
  display: inline;
}

#year-error {
  padding: 2px 8px;
  border-radius: 5px;
}

span#sstatus {
  display: block;
  text-align: center;
  background: #d7d57b;
  color: #000;
  padding: 10px;
}

#generatednotice {
  padding-right: 35px;
  background: #9cd42e;
}

.generatinghyps #generateHyp,
.tree-area .innerlink.actionbutton.inactive {
  color: #696969;
  cursor: not-allowed;
}

#wato-welcome,
#wato-welcome h2 {
  color: #100d0d;
}

#wato-welcome {
  background: #c0e3f7;
  max-width: 640px;
  padding: 15px;
  margin-bottom: 15px;
  position: relative;
  display: none;
}

#wato-welcome h3 {
  color: #286c9f;
}

#wato-welcome a {
  color: #008572;
}

#wato-welcome p a:first-child {
  float: left;
  padding: 6px 3px;
}

#wato-welcome ul {
  padding-left: 20px;
}

#wato-welcome a:hover {
  color: #446180;
}

#wato-welcome .dpclose {
  background: 0 0;
  font-size: 1.5rem;
}

#show-wato-intro {
  background: 0 0;
  border: none;
  border-bottom: 1px solid;
  padding: 0;
  display: inline-block;
}

.table-editable th {
  text-align: center;
  font-size: 13px;
}

.table-editable th .glyphicon {
  font-size: 13px;
  clear: both;
}

.row small {
  line-height: 1.25;
  color: #888;
  display: block;
  margin-top: 10px;
}

.result h3 br {
  display: none;
}

#permalink,
.generatinghyps #generating-hyps-flash {
  display: block;
}

.page-actions {
  text-align: right;
  padding-bottom: 10px;
}

.rel-remove,
.table-remove {
  color: #700;
  cursor: pointer;
}

#switchprofile {
  position: relative;
  color: #2b3c4e;
}

#open-endogameter {
  position: relative;
  background: #456d81;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 7px;
}

#instructions .btn,
.page-actions .btn {
  margin-bottom: 5px;
}

.page-actions p {
  text-align: left;
  font-size: 1.5rem;
  clear: both;
  margin-top: 10px;
  padding-top: 10px;
}

.rel-remove:hover,
.table-remove:hover {
  color: red;
}

.btn-secondary:focus {
  color: silver;
}

#tree-intro {
  max-width: 750px;
  line-height: 1.35;
}

#generating-hyps-flash {
  display: none;
  position: absolute;
  width: 100%;
  background: rgba(36,49,64,.7);
  height: 100%;
  z-index: 100;
  text-align: center;
  padding: 50px;
}

.floater h3 {
  text-transform: none;
}

#generating-hyps-flash p {
  font-size: 80px;
}

#generating-hyps-flash p:after {
  content: ' .';
  animation: dots 1s steps(5,end) infinite;
}

@keyframes dots {
  0%, 20% {
    color: transparent;
    text-shadow: .25em 0 0 transparent,.5em 0 0 transparent;
  }

  40% {
    color: #fff;
    text-shadow: .25em 0 0 transparent,.5em 0 0 transparent;
  }

  60% {
    text-shadow: .25em 0 0 #fff,.5em 0 0 transparent;
  }

  100%, 80% {
    text-shadow: .25em 0 0 #fff,.5em 0 0 #fff;
  }
}

.tree-area h2 {
  color: #d7d57b;
}

.table-down,
.table-up {
  color: #007;
  cursor: pointer;
}

.table-down:hover,
.table-up:hover {
  color: #00f;
}

#probabilities {
  display: none;
}

.rel-add,
.table-add {
  color: #070;
  cursor: pointer;
  float: right;
  clear: right;
}

.relcell strong {
  display: block;
  padding: 5px;
  color: #767676;
}

.button-area button {
  margin-bottom: 10px!important;
}

#permalink {
  clear: both;
  padding: 10px 15px;
}

.button-area {
  padding-top: 20px;
}

.ccm {
  width: 96px;
}

.ccm input {
  width: 72px;
}

.rel-add {
  float: right;
}

#instructions h2,
a.downlink {
  float: left;
}

.page-home #alerts-page {
  margin-top: 40px;
}

h2 {
  font-size: 1.8rem!important;
  margin: 0 0 10px!important;
  clear: both;
}

h3 {
  font-size: 1.6rem!important;
  margin: 20px 0 14px!important;
  color: #286c9f;
}

.calculate {
  display: block!important;
  margin-bottom: 5px!important;
}

.rel-add:hover,
.table-add:hover {
  color: #0b0;
}

.table-editable td div,
.table-editable td input {
  border: 1px solid #ccc;
  min-height: 30px;
  padding: 5px;
}

.lower-button {
  padding-top: 100px;
}

.flink:hover {
  text-decoration: none;
}

.flink .badge {
  background: #c1c36c;
  position: relative;
  top: -1px;
  left: -1px;
  color: #000;
}

.focusedHyp>.label:before {
  content: '';
  width: 100%;
  left: 1px;
  top: 2px;
  height: 100%;
  position: absolute;
  z-index: 1;
  box-shadow: -3px -5px 20px 4px #94b4b6;
}

.focusedHyp>.badgeoverlay em:after {
  content: 'Focused';
  display: block;
}

.branch:before,
.clearfix:after {
  content: "";
}

.badgeoverlay.scoreoverlay em {
  display: inline;
}

h1 a.flink {
  margin-left: 10px;
  padding-left: 0;
  border-bottom: 1px solid;
}

.alert-success {
  color: #fff;
}

input[type=file] {
  display: block;
  font-size: 1.3rem;
}

.entry .btn-secondary {
  background: 0 0;
  color: #446c81;
  font-weight: 400;
  font-size: 1.4rem;
  border: 0;
}

.entry .alert {
  font-size: 1.4rem;
}

#end-slider {
  color: #000;
  display: block;
  margin: 10px 0 0;
  padding: 5px;
  text-align: center;
  font-size: 2rem;
}

#probtreesharelink,
.action-confirm {
  display: none;
}

.ptsharing #probtreesharelink {
  display: block;
  max-width: 500px;
}

#confirm-share input {
  width: auto;
}

#confirm-share label {
  font-weight: 400;
  text-align: center;
  font-size: 1.4rem;
  color: #fff;
}

input#ptshareURL {
  color: #2b3c4e;
  padding: 10px;
  width: 100%;
  border: 0;
}

span.label:hover {
  cursor: pointer;
  z-index: 10;
}

#probtreesharelink .sharing button {
  color: #d4f1ff;
}

#not-saved-flash {
  display: none;
}

#not-saved-flash li a {
  color: #000;
}

#deleted-flash,
#imported-flash {
  display: none;
  clear: both;
  position: relative;
  border: 1px solid #6a6a6a;
}

#closealert,
#closedelalert,
#closensalert {
  top: 16px;
  background: 0 0;
}

#file-warning,
#save-container,
#upload-container {
  display: none;
  max-width: 394px;
}

#save-container,
#settings-container,
#upload-container {
  z-index: 19999;
}

#container {
  clear: both;
}

.action-confirm {
  padding: 40px 18px 18px;
  background: #404f5f;
  margin: 10px 0;
  border-radius: 2px;
  position: absolute;
  z-index: 1000;
  right: 15px;
  box-shadow: 2px 2px 0 0 rgba(141,141,141,.6);
}

.halfform h3 {
  margin-top: 0!important;
}

.clearfix:after {
  display: table;
  clear: both;
}

.dpclose {
  text-decoration: none!important;
  font-weight: 400;
  color: #fff;
  font-size: 1.25rem;
  position: absolute;
  top: 12px;
  right: 12px;
  background: #456d81;
  display: block;
  width: 20px;
  height: 20px;
  text-align: center;
  z-index: 102000;
  line-height: 20px;
}

#closealert:hover {
  color: #ccc;
}

#hypotheses-area,
.about-area {
  margin-top: 30px;
  background: #eafbfd;
  color: #000;
}



.about-area {
  padding: 30px 30px 10px;
}

#matchtable #tbody>tr:nth-child(odd) {
  background: #eaeaea;
}

#matchtable #tbody>tr:nth-child(even) {
  background: #fff;
}

#matchtable #tbody>tr:hover {
  background: #ccc;
}

#overallprob {
  background: #fff;
  width: 100%;
  margin: 15px 0 10px;
}

#overallprob td {
  padding: 15px 15px 1px;
}

.table-editable td:hover div,
.table-editable td:hover input {
  border-color: #333;
}

.tree-area a {
  color: #fff;
}

.notmany .hideable {
  display: none;
}

.navbar-brand {
  height: auto;
  padding: 0 0 0 32px;
  font-size: 14px;
  line-height: 1;
}

p {
  line-height: 1.35;
}

.relcell {
  width: 100px;
}

.result strong {
  font-weight: 400;
  color: #2b3c4e;
  font-size: 1.75rem;
  display: block;
  padding-bottom: 12px;
}

.about {
  font-size: 1.375rem;
}

.result h3>span {
  font-weight: 700;
  display: block;
  padding-bottom: 5px;
}

#matchtable table table td,
#matchtable th table th,
body {
  padding: 0;
}

#matchtable th {
  padding: 8px 12px;
  background: #2b3c4e;
  color: #fff;
  font-weight: 400;
  font-size: 1.4rem;
  position: relative;
}

#matchtable th:after {
  content: '';
  content: none;
  width: 2px;
  background: #dcddba;
  height: 100%;
  display: block;
  position: absolute;
  right: 0;
  top: 0;
}

#instructions {
  display: none;
  position: absolute;
  width: 100%;
  background-color: #f5f5f5;
  background: linear-gradient(to right,#f5f5f5,#e6f4fd);
  color: #333;
  margin: 0 auto;
  height: 100%;
  top: 107px;
  z-index: 1000;
  padding: 40px 40px 137px;
}

.instructions-open #instructions,
.instructions-open #modal {
  display: block;
}

h4 {
  font-size: 15px;
  color: #d8d47a;
  font-family: Helvetica,Helvetica Neue,Arial;
  font-weight: 700;
  margin: 0;
}

#instructions li,
#instructions p {
  clear: both;
  max-width: 760px;
}

#close-instructions {
  font-size: 20px;
  border: 0;
  text-transform: lowercase;
  background: rgba(255,255,255,.5);
  font-weight: 400;
  position: fixed;
  right: 30px;
  font-family: Novecentosanswide,"Lucida Grande",Century,Garamond,serif;
}

#close-instructions span {
  color: #842626;
}

#close-instructions:hover {
  color: #8f8f8f;
}

body.instructions-open {
  overflow: hidden;
}

.entry:only-child:before,
.instructions-open #switchprofile {
  display: none;
}

.right {
  text-align: right;
}

#matchtable td {
  padding: 8px 15px;
  font-size: 1.4rem;
}

#matchtable table table td:first-child {
  padding-right: 16px!important;
}

.label button {
  background: 0 0;
  border: none;
  line-height: 20px;
  color: #ccc;
}

*,
:after,
:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

#kit-banners {
  text-align: center;
  padding-bottom: 20px;
}

#kit-banners a {
  margin: 0 10px 0 0;
}

.kitlinks>p {
  margin-bottom: 30px;
}

body {
  margin: 0;
  color: #eee9dc;
  font: 16px 'Helvetica neue',helvetica,Verdana,sans-serif;
  background: #2a3c4e;
}

.branch:before,
.entry:after {
  border-top: 2px solid #eee9dc;
  margin-top: 1px;
  top: 50%;
}

.label,
.label strong span {
  font-weight: 400;
}

.alert-info {
  color: #efefef;
}

#hypotheses-area,
#notes-area,
.header-area,
.table-area,
.tree-area {
  padding: 30px;
}

.tree-area {
  padding: 0;
}

.table-area {
  background: #fbfbec;
  color: #2a3c4e;
}

#notes-area .container {
  background: #fff;
  color: #333;
  padding: 20px;
}

.tree-area {
  min-height: 530px;
  position: relative;
  max-width: 100%;
  overflow: auto;
  padding-bottom: 330px;
}

.jump-links {
  padding: 10px 0 0;
}

#probtreeDesc {
  width: 100%;
  padding: 25px 10px;
}

.branch {
  position: relative;
  margin-left: 200px;
}

.branch:before {
  width: 10px;
  position: absolute;
  left: -50px;
}

.entry:after,
.entry:before {
  content: "";
  left: -40px;
}

.entry {
  position: relative;
  min-height: 60px;
}

#ged-upload,
.actions,
.entry:after,
.entry:before,
.label {
  position: absolute;
}

.entry:not(.parent) {
  max-width: 152px;
}

.entry:before {
  height: 100%;
  border-left: 2px solid #eee9dc;
}

.entry:after {
  width: 40px;
}

.entry:first-child:before {
  width: 10px;
  height: 50%;
  top: 50%;
  margin-top: 2px;
  border-radius: 10px 0 0;
}

.entry:first-child:after {
  height: 10px;
  border-radius: 10px 0 0;
}

.entry:last-child:before {
  width: 10px;
  height: 50%;
  border-radius: 0 0 0 10px;
}

.entry:last-child:after {
  height: 10px;
  border-top: none;
  border-bottom: 2px solid #eee9dc;
  border-radius: 0 0 0 10px;
  margin-top: -9px;
}

.entry:only-child:after {
  width: 40px;
  height: 0;
  margin-top: 1px;
  border-radius: 0;
}

.entry.half:not(:last-child):after,
.entry.half:not(:only-child):first-child:after {
  border-top-style: dotted;
  border-top-width: 3px;
}

.entry.half:last-child:after {
  border-bottom-style: dotted;
  border-bottom-width: 3px;
}

span.year-error {
  width: 100px;
  display: none;
  font-size: 12px;
  color: #ca0e0e;
}

span.year-error.active-error {
  display: inline-block;
}

.entry .wform .radiolabel input {
  margin-top: -5px;
}

.label strong {
  display: block;
  padding-bottom: 4px;
  color: #000;
}

.label:hover strong {
  color: #fff;
}

.wform input.year {
  margin-bottom: 10px;
}

.label {
  word-wrap: break-word;
  display: block;
  min-width: 150px;
  max-width: 150px;
  padding: 5px 2px;
  line-height: 20px;
  text-align: center;
  border: 2px solid #eee9dc;
  border-radius: 5px;
  left: 0;
  top: 50%;
  margin-top: -15px;
  font-size: 1.3rem;
  max-height: 54px;
}

.label:hover {
  max-height: 140px;
}

.dnd .label:hover {
  max-height: 54px;
}

.root>.label {
  max-height: 100px;
}

.match>.label {
  background: #dcdcb9;
  color: #333;
}

.entry.match>.label,
.entry.talle:not(.sortable-chosen)>.label {
  margin-top: -26px;
}

.entry.talle:not(.sortable-chosen)>.label {
  min-height: 54px;
}

.hypothesis>.label {
  background: #71d4de;
  color: #333;
}

.hypothesis.tophyp>.label {
  border-color: #af0;
  background: #b4d1d4;
}

.hypothesis.tophyp>.label:hover {
  background: #333;
}

.ghosthyp>.label {
  background: #94b4b7;
  color: #000;
  border-color: #a9e633;
}

#gedcom-detail .dpclose {
  background: 0 0;
}

svg#gedcomdrop text {
  fill: #293c4e;
  font-weight: 700;
  font-size: 18px;
}

#cpArea,
#errorArea,
#filterkey,
#ged-drop-panel p {
  display: none;
}

#ged-upload {
  left: -999em;
}

#gedcomdrop {
  border: 1px dashed;
}

#gedcomdrop:hover {
  background: #293c4e;
  cursor: pointer;
}

svg#gedcomdrop:hover text {
  fill: #fff;
}

#choosePerson {
  width: 100%;
  display: block;
  padding: 10px;
  margin: 10px 0;
  font-size: 1.9rem;
}

#ged-drop-panel {
  padding: 20px;
  z-index: 1004;
}

#gedcom-detail {
  color: #000;
}

.hypothesis>.label>span.hypname {
  font-weight: 400;
}

.hypothesis>.label strong,
.match>.label>.badge:not(:empty) {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 9px;
  position: absolute;
  font-weight: 400;
  top: -14px;
  padding: 5px;
  right: -38px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.25);
  z-index: 1;
  display: block;
}

.starea label {
  display: inline-block;
}

.starea {
  text-align: left;
}

.match>.label>.badge:not(:empty) {
  background: rgb(46 53 61 / 94%);
  color: #fff;
  font-weight: 700;
}

.match>.label>.badge span {
  color: #fa7777;
  font-weight: 700;
}

.entry.match>.label .badge:not(:empty):hover,
.hypothesis>.label strong:hover {
  z-index: 11!important;
}

input.percentage {
  width: 60px;
}

#instructions li {
  padding: 0 0 5px;
  font-size: 1.5rem;
  color: #424e5a;
}

button.perc {
  background: 0 0;
  border: none;
  clear: both;
  display: block;
  font-size: 1.3rem;
  margin: 10px 0;
  padding: 0;
  color: #446c81;
}

#examplenotice,
#readonlynotice,
.percholder {
  display: none;
}

.content-wrapper {
  margin-left: 0;
}

#maincontent {
  background: #233140;
}

.hypothesis>.label>span {
  font-weight: 700;
}

h1 .flink {
  font-family: arial,helvetica;
  color: #eee9dd;
  font-size: 15px;
  text-transform: none;
  padding-left: 20px;
}

h1 .flink:hover {
  color: #d7d57b;
}

.half.sgroup0:after {
  border-color: #d36ad0!important;
}

.half.sgroup1:after {
  border-color: #e7e765!important;
}

.half.sgroup2:after {
  border-color: #53a753!important;
}

.half.sgroup3:after {
  border-color: #bfbff1!important;
}

.half.sgroup4:after {
  border-color: #b88807!important;
}

.half.sgroup5:after {
  border-color: #764bff!important;
}

.half.sgroup6:after {
  border-color: #ff6a6a!important;
}

.half.sgroup7:after {
  border-color: #0ff!important;
}

input.text,
input[type=text],
input[type=number],
input[type=button],
input[type=submit] {
  -webkit-appearance: none;
  border-radius: 0;
}

#otherform input[type=number] {
  min-width: 50px;
}

a.backtop,
a.downlink {
  display: block;
}

.edit>span.label:hover:after {
  content: '';
}

#matchtable table {
  margin: 25px 0 10px;
}

.actions {
  top: 99%;
  left: 0;
  margin-left: 0;
  background: rgba(10,30,51,.95);
  color: #2a3c4e;
  padding: 5px;
  z-index: 20;
  width: 100%;
  max-width: 100vw;
  text-align: center;
  box-shadow: 4px 4px 0 0 rgba(79,84,88,.6);
}

#hypotheses-area i,
#table-area i,
.backtop i,
.downlink i {
  font-size: 1.375rem;
}

span.label:hover .actions {
  visibility: visible;
  opacity: 1;
}

div.edit span.label:hover .actions {
  visibility: hidden;
  opacity: 0;
}

body:after {
  background: #ff4f47;
  color: #fff;
  position: fixed;
  -ms-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  z-index: 1030;
  width: 72px;
  height: 15px;
  top: 7px;
  left: -20px;
  text-align: center;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 300;
  line-height: 16px;
  content: none!important;
}

.settings-button {
  font-size: 2.75rem;
  clear: both;
  display: block;
  cursor: pointer;
}

#settings,
.confirm-del,
.halves {
  display: none;
}

.settings-button:hover i {
  color: #ccc;
}

#root>.actions {
  bottom: 10px;
}

.halfform label,
.wform label {
  font-size: 13px;
  font-weight: 700;
  margin-top: 0;
}

.wform .radiolabel {
  font-weight: 400;
}

#oldedge,
.btn-secondary,
.nosup {
  font-weight: 700;
}

.actions button {
  text-transform: uppercase;
  padding: 3px 4px 1px;
  border: 1px solid #3d5267;
  font-size: 11px;
  margin: 5px 3px;
}

.sp-cancel,
.sp-container button {
  font-size: 14px;
  font-family: 'Helvetica neue',helvetica,Verdana,sans-serif;
}

.sp-container button {
  border-radius: 0;
  padding: 5px;
  margin: 5px 3px;
  border: 0;
  color: #fff;
  background: #456d81;
  text-shadow: none;
}

.sp-cancel {
  color: #446c81!important;
}

.sp-container button:hover {
  color: #fff;
  border: 0;
  background: #332c69;
  text-shadow: none;
}

.actions button:hover {
  background: #000;
  color: #fff;
}

.label:hover {
  background-color: #333;
  color: #fff;
}

.match>.label:hover {
  background-color: #8e8e7a;
  color: #fff;
}

.entry input {
  background: 0 0;
  border: none;
  text-align: left;
  font-family: 'helvetica neue',helvetica,arial,Verdana,sans-serif;
  padding: 3px;
  box-sizing: border-box;
  font-size: 15px;
  max-width: 100%;
}

#confirm-share,
#confirm-share p,
#oldedge {
  text-align: center;
}

.confirm-del,
.halfform,
.wform {
  border: 1px solid #fff;
  position: absolute;
  padding: 15px;
  background: #fff;
  border-radius: 3px;
  color: #2b3c4e;
  top: calc(50% + 45px);
  z-index: 30;
  min-width: 200px;
  max-width: 320px;
}

ul#spouses {
  list-style: none;
  margin: 0;
}

.confirm-del.active,
.edithalves>.halfform,
.wform.active {
  display: block;
}

.display,
.dnd .label:hover>.display {
  display: block;
  max-height: 40px;
  overflow: hidden;
  white-space: nowrap;
}

#treeroot>.label>.display,
.display.dwrap {
  white-space: normal;
}

.match .display {
  max-height: 20px;
}

.label:hover>.display {
  max-height: 100px;
  overflow: visible;
  white-space: normal;
}

.btn-large {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.entry.edit>.label {
  background: #fff;
  color: #000;
}

#spousearea .btn-plain {
  padding: 0;
  font-size: 1.3rem;
}

#treewrapper .row {
  margin: 0;
}

#treewrapper .row>div:first-child {
  margin-left: -15px;
}

#treewrapper .row>div.jump-links {
  margin-left: 0!important;
}

#spousearea .btn-plain:not(.btn-alert):hover,
#spousearea button.glyphicon:hover,
#spouses li span:hover {
  color: #6f8590!important;
  cursor: pointer;
}

#spouses li.editingspouse span:hover {
  color: #446c81!important;
  cursor: default;
}

#spousearea .btn-plain.btn-alert:hover {
  color: #efefef;
}

.actions p,
.hypothesis>.label:hover {
  color: #fff;
}

#exampleli a {
  font-size: 24px;
}

#overallprob strong {
  padding-bottom: 1rem;
  line-height: 1.5;
}

.entry .wform input,
.entry .wform textarea {
  border: 1px solid #ccc;
  line-height: 1.42857143;
  padding: 4px 4px 5px;
  vertical-align: middle;
}

.entry .wform textarea {
  width: 100%;
  font-size: 13px;
}

div#notefield {
  margin-bottom: 10px;
}

.hypothesis>.label.strong-support strong {
  background: #aae733;
  color: #333;
}

#cannotgeneratenotice {
  background: #8acae8;
}

#oldedge {
  display: none;
  padding: 10px 0;
  clear: both;
  background: #1b8ca0;
  margin: 10px 0;
}

#oldedge a {
  color: #d7d67b;
}

.hypothesis>.label.positive-support strong,
.hypothesis>.label.weak-support strong {
  background: #aae733;
  color: #333;
}

#share-copied {
  opacity: 1;
  transition: opacity 1s;
}

#share-copied.fade {
  opacity: 0;
}

.hypothesis>.label.no-support strong.badge {
  background: #0f0e0e;
  color: #fff;
}

.nosup {
  color: #ca0e0e;
}

.hypothesis>.label.ruledout strong.badge {
  background: #b61f1f;
  color: #fff;
}

#overallprob .badgecol span {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  margin-left: 20px;
  color: #fff;
  background: #333;
  padding: 5px 7px 4px;
  letter-spacing: 1px;
  border-radius: 5px;
  position: relative;
  top: -2px;
}

.badge-ruledout:before {
  content: '';
}

span.badgeoverlay {
  background: #89D2DC;
  top: -25px;
  position: absolute;
  padding: 10px;
  border-radius: 10px;
  color: #000;
  z-index: 9;
  text-align: left;
  font-weight: 400!important;
  border: 2px solid #eee9dc;
  width: 199px;
  left: -5px;
}

.badgeoverlay small {
  font-size: 90%;
}

.ghosthyp>span.tophyp>.badgeoverlay,
.tophyp>span>span.badgeoverlay {
  background: #01e8ff;
}

.ghosthyp>span>.badgeoverlay {
  background: #94b4b7;
  color: #000;
  border-color: #a9e633;
}

.match>span>span.badgeoverlay {
  background: rgb(190 190 190);
  padding-top: 30px;
}

.label .badgeoverlay:before {
  content: "";
  display: block;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 1px;
  padding: 0 72px 2px 0;
  line-height: 1.35;
}

.walert small {
  color: #060606;
}

.walert a {
  color: #444;
}

.walert a:hover {
  color: #000;
}

.walert p.intro {
  color: #000;
  font-size: 1.8rem;
}

.walert p.introlg {
  font-size: 24px;
  padding-bottom: 10px;
}

.wsticker p {
  color: #fff;
}

.wsticker a.navlink {
  color: #abe733;
  padding-right: 10px;
  font-weight: 700;
  margin-top: 10px;
}

.wsticker a.navlink span {
  font-size: 1.25rem;
}

.wsticker a.navlink:hover {
  color: #eee9dc;
}

.badgeoverlay em {
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  display: block;
  padding-bottom: 5px;
}

.strong-support .badgeoverlay:before {
  content: "Strong Support";
}

.positive-support .badgeoverlay:before {
  content: "Positive Support";
}

.tophyp .positive-support .badgeoverlay:before {
  content: "Strongest /\APositive Support";
}

.tophyp .strong-support .badgeoverlay:before {
  content: "Strongest /\AStrong Support";
}

.tophyp>span>.badgeoverlay:after {
  font-style: italic;
  font-weight: 700;
  display: block;
  color: #333;
  padding-top: 5px;
  content: "Based on the data entered, this is the most statistically likely position, but it is not necessarily correct";
}

#treewrapper span.editable br,
.label>.badge {
  display: none;
}

.wsticker {
  background: #5d6f7d;
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.weak-support .badgeoverlay:before {
  content: "Possible";
}

.ruledout .badgeoverlay:before {
  content: "Ruled out";
}

.strong-suppert .badgeoverlay:before {
  content: "Strong Support";
}

.badge-no-support:before,
.badge-strong-support:before,
.badge-weak-support:before {
  content: '';
}

#overallprob .badgecol .badge-ruledout {
  background: #b61f1f;
}

#overallprob .badgecol .badge-no-support {
  background: #333;
}

#overallprob .badgecol .badge-positive-support,
#overallprob .badgecol .badge-strong-support,
#overallprob .badgecol .badge-weak-support {
  background: #aae733;
  color: #424141;
}

#treewrapper span.editable {
  float: none;
  text-transform: none;
  padding: 5px;
  color: #efefef;
  border-color: #2c3743;
}

#treewrapper span.editable:hover {
  border-color: #efefef;
}

.btn {
  border-radius: 0;
}

.tfoot td {
  font-weight: 700;
}

.content .floater ol>li::before {
  position: absolute;
  top: 2px;
  left: 0;
}

.content .floater ol>li {
  position: relative;
  padding-left: 36px;
}

span.label.light {
  color: #000;
}

#colfield .radiolabel {
  margin-top: 10px;
}

.hypothesis>.label>.badge {
  display: block;
}

.hypothesis>.label>.badge:empty {
  display: none!important;
}

.edit-match,
.mobile,
.remove-half,
.remove-hypothesis,
.remove-match,
.save-name {
  display: none;
}

.match>.label>.actions>.edit-match,
.match>.label>.actions>.remove-match {
  display: inline-block;
}

.hypothesis>.label>.actions>.add-hypothesis,
.hypothesis>.label>.actions>.add-match,
.match>.label>.actions>.add-hypothesis,
.match>.label>.actions>.add-match {
  display: none;
}

.hypothesis>.label>.actions>.remove-hypothesis {
  display: inline-block;
}

.edit>.label>.actions>.edit-name,
.edit>.label>.display,
.entry .label input,
.hypname,
.hypothesis>.label>.actions>.edit-name,
.lone>.label>.actions>.add-half {
  display: none;
}

.edit>.label>.actions>.save-name,
.edit>.label>input {
  display: inline-block;
}

.root>.label>.actions>.add-half,
.root>.label>.actions>.add-hypothesis,
.root>.label>.actions>.add-match,
.root>.label>.actions>.del-entry,
.root>.label>.actions>.edit-match,
.wideonly {
  display: none;
}

.edit>.label>input {
  border: 1px solid #ccc;
}

#treewrapper.repositioned .branch:after,
#treewrapper.repositioned .branch:before,
#treewrapper.repositioned .entry.last:after,
#treewrapper.repositioned .entry.last:before,
#treewrapper.repositioned .entry:after,
#treewrapper.repositioned .entry:before,
#treewrapper.repositioned .entry:last-child:after,
#treewrapper.repositioned .entry:only-child:after,
#treewrapper.repositioned .entry:only-child:before,
#treewrapper.repositioned .label,
#treewrapper.repositioned .label:after,
#treewrapper.repositioned .label:before {
  border-color: #000;
}

#treewrapper>.entry:after,
#treewrapper>.entry:before {
  content: none;
}

@media all and (min-width:1024px) {
  .wideonly {
    display: inline;
  }

  #maincontent h1 {
    float: left;
  }

  #psw {
    margin-top: 25px;
  }
}

@media all and (min-width:0px) and (max-width:991px) {
  .jump-links a {
    display: block!important;
    padding: 5px!important;
  }

  #switchprofile {
    top: -10px;
  }
}

@media all and (min-width:0px) and (max-width:767px) {
  #maincontent {
    display: inline-block;
    width: 100%;
  }

  #wato-welcome {
    max-width: 87vw;
  }

  #maincontent h1 {
    padding-top: 10px;
  }

  .container-wide #maincontent {
    padding-left: 12px;
  }

  #treewrapper {
    margin-left: 10px;
  }

  .content>h1 {
    margin: 0;
  }
}

@media all and (min-width:0px) and (max-width:667px) {
  #wato-welcome {
    max-width: 87vw;
  }

  #maincontent h1 {
    padding-top: 10px;
  }

  #instructions {
    top: 40px;
  }

  #close-instructions {
    right: 10px;
    top: 50px;
  }

  #overallprob .badgecol span {
    margin: 0 0 5px;
  }

  .mobile {
    display: inline;
  }

  #switchprofile {
    color: #2b3c4e;
    position: static;
    float: left;
    margin: 20px;
    width: auto;
    clear: both;
  }

  #kit-banners img {
    margin-bottom: 10px;
  }

  .wform .btn {
    margin-bottom: 5px;
  }

  .page-actions .btn {
    font-size: 12px;
    padding: 12px;
  }

  .page-actions .action-confirm .btn {
    float: left;
  }

  .page-actions {
    text-align: center;
  }

  body>h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.625rem!important;
  }

  h3 {
    font-size: 1.375rem;
  }

  #probtreeName:after {
    content: '';
    display: block;
  }
}

@media all and (min-width:0px) and (max-width:480px) {
  .wsticker a.navlink {
    display: block;
    text-align: center;
  }

  span.badgeoverlay {
    left: -5px;
    width: 199px;
  }

  .tree-area .innerlink.actionbutton {
    display: block;
    width: 90%;
    margin: 10px auto 0;
    padding: 10px 0;
  }
}

#treewrapper.repositioned>div.row,
#treewrapper>p,
.entry.sortable-drag .actions,
.repositioned #focus-container.fixed-cont #closefocus {
  display: none;
}

@media print {
  .instructions-open #instructions,
  .instructions-open #modal {
    visibility: visible!important;
    overflow: visible!important;
  }

  .instructions-open #modal {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
    padding: 0;
  }

  #close-instructions,
  .btn,
  .instructions-open #container,
  .instructions-open #hypotheses-area,
  .instructions-open #notes-area,
  .instructions-open #table-area,
  .instructions-open .about-area,
  .kitlinks,
  .thin-header {
    display: none;
  }
}

#treewrapper.repositioned {
  background: 0 0;
  padding: 20px 200px 50px 20px;
}

.repositioned #focus-container.fixed-cont {
  left: 5px;
  position: absolute;
  top: 5px;
  font-size: 13px;
}

#treewrapper.repositioned strong.badge {
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0;
  padding: 4px;
}

#treewrapper.repositioned .entry.tophyp>span:after {
  background: 0 0;
  color: #2b3b4d;
}

#treewrapper.repositioned .label span {
  color: #000;
}

#treewrapper.repositioned .label.dark span {
  color: #fff;
}

#treewrapper.repositioned .label .badge span {
  color: #fa7777;
}

#treewrapper.repositioned .entry.focusedHyp>span:after {
  content: 'SHOWING RELS';
}

#treewrapper.repositioned .display {
  color: #000;
}

.entry.tophyp>span:after {
  content: 'STRONGEST';
  position: absolute;
  left: 0;
  font-size: 10px;
  top: -18px;
  padding: 2px 3px 1px;
  line-height: 13px;
  color: #af0;
  font-weight: 700;
  background: #2b3b4d;
}

.tophyp.label:hover {
  background: #333;
}

.entry.sortable-drag:after,
.entry.sortable-drag:before {
  content: none!important;
}

button.btn-emph i {
  color: #8acae8;
}

button.icon-btn {
  background: 0 0;
  border: 0;
  font-size: 24px;
  display: inline-block;
  vertical-align: middle;
  color: #8acae8;
  padding: 0 0 0 10px;
}

.fixed-cont,
div.sortable-chosen .label:hover>span:not(.display),
div.sortable-chosen div.branch:empty {
  display: none;
}

.sortable-ghost {
  opacity: .7;
}

.branch {
  min-height: 40px;
}

#mastertree.dnd .branch:empty:before {
  content: "";
  width: 50px;
  border-top: 2px solid #eee9dc;
  position: absolute;
  left: -50px;
  top: 50%;
  margin-top: 1px;
}

#mastertree.dnd .entry span.label:hover {
  cursor: move;
  border-color: #11abf9;
}

#mastertree.dnd #treeroot.entry>span.label:hover {
  cursor: default;
  border-color: #eee9dc;
}

#mastertree.dnd div.branch:empty {
  border: 1px dashed #576676;
  height: 58px;
  width: 180px;
  top: 1px;
  left: -1px;
}

.fixed-cont {
  background: #8cbed8;
  padding: 0 15px 5px;
  border-radius: 2px;
  position: fixed;
  top: 202px;
  right: 44px;
  color: #2B3645;
  z-index: 19999;
  max-width: 340px;
}

#focus-container.fixed-cont {
  top: 168px;
}

.unsaved #focus-container.fixed-cont {
  top: 208px;
}

#ddrop ul {
  padding: 5px 0 0 37px;
}

.fixed-cont label {
  font-weight: 700;
}

div.sortable-ghost .label {
  border: 4px solid #11abf9;
}

div.sortable-chosen>.label,
div.sortable-ghost>.label {
  max-height: 34px;
  overflow: hidden;
}

div.sortable-chosen.hypothesis>.label,
div.sortable-ghost.hypothesis>.label {
  overflow: visible;
}

div.sortable-chosen .display,
div.sortable-chosen div.label:hover>.display,
div.sortable-ghost .display,
div.sortable-ghost div.label:hover>.display {
  overflow: hidden!important;
  max-height: 20px!important;
}

.dnd .branch {
  width: 190px;
}