/* CSS for zoom nwk tree test page */

div.ptree {
	/*padding-left: calc(var(--branch-length)*25000);*/
	padding-left: calc(var(--branch-length)*(25000/var(--wscale)) * 1px);
	background: url('tree-branch-C.png') center left;
	min-width: 1px;
}
div.ptree.root {
	background: none !important;
}
div.ptree.leaf {
	/*padding-left: calc(var(--branch-length)*25000 + 1px);*/
	padding-left: calc(var(--branch-length)*(25000/var(--wscale)) * 1px + 1px);
}
div.ptree p {
	margin: 0 0 0 0;
	background-color: #fff;
	padding: 0 0 0 0.2em;
	line-height: inherit;
	font-size: inherit;
	display: flex;
}
div.ptree p:hover {
	font-size: 20px;
}
div.ptree p a:hover {
	font-weight: bold;
}
div.ptree:first-of-type {
	background: url('tree-branch.png') no-repeat top calc(50% + 12500px) left;
}
.first.root.ptree {
	background: url('black-dot.png') repeat-x center;
}
div.ptree:last-of-type {
	background: url('tree-branch.png') no-repeat bottom calc(50% + 12500px) left;
}	
span.leafFgs {
	margin-left: 0.5em;
	font-size: smaller;
}
#zmCtrl button {
	height: 2.7em;
	min-width: 3em;
	font-size: medium;
	vertical-align: middle;
	line-height: 0.9em;
	margin: 0 2px;
}
#zmCtrl {
	position: sticky;
	margin-left: 1em;
	top: 7em;
}
#zmCtrl legend {
	margin-bottom: 0;
}
#zmCtrl fieldset {
	width: fit-content;
	display: inline-flex;
	border: 1px solid #c0c0c0 !important;
	padding: 6px !important;
	margin: 0 6px !important;
	vertical-align: top;
	height: 5em;
}
#zmCtrl fieldset input {
	margin: 15px 2px !important;
}
#deBug p {
	border: 1px solid red;
}
#deBug p::after {
	content:' => debbug info';
	color: red;
	font-style: italic;
}
div#zoom {
	width: fit-content;
}

#zoom.hideFamily .leafFamily, #zoom.hideGenus .leafGenus, #zoom.hideSpecies .leafSpecies, #zoom.hideCountry .leafCountry, #zoom.hideDepth .leafDepth {
	display: none !important;
}

.ptree.lightSpec p a, .ptree.lightSpec div a {
	color: darkblue;
	font-weight: bold;
	background-color: lightcyan;
}


/* tweeky */
/*
.path-ptree .container, .path-ptree-turridae .container {
	max-width: 100% !important;
}
*/
/* tweeky END */


.ptree.leaf > div {
	background-color: #FFFFFF;
	margin: 0 0 0 0;
	padding: 0 0 0 0.2em;
	line-height: inherit;
	font-size: inherit;
	display: flex;
}

div.ptree.leaf > div:hover {
	font-size: 20px;
}
div.ptree.leaf > div a:hover {
	font-weight: bold;
}
div.ptree.leaf div img {
	height: var(--imgheight);
	margin-top: -50%;
}
div.ptree.leaf > div:hover img {
	height: 20px;
}
.ptree div.flag-bookmark {
	display: inline-flex;
	top: 3px;
	position: relative;
	margin-left: 5px;
}
div.ptree.closed {
	/*width: fit-content;*/
}
div.ptree.closed .ptree {
	display: none;
}
#zoom div.ptree.branch p.cladeLabel {
	display: none;
}
div.closed p.cladeLabel {
	background-color: white;
	display: list-item !important;
	list-style-image: url('closed.png');
	margin-left: 18px;
}
div.lightSpec p.cladeLabel {
	background-color: lightcyan;
}
div.closed p.cladeLabel input {
	padding: 0;
	display: block;
	height: 18px;
	margin-left: -0.6em;
	padding-left: 5px;
	font-size: 17px;
}
#btnSandbox {
	color: white;
	width: min-content;
	line-height: 0.9em;
	height: 2.7em;
}
/*--------------------Clade Operation SubMenu-------------------------*/
#pTreeSubMenu {
	position: absolute;
	margin-left: -3px;
	margin-top: -3px;
	width: 130px;
	height: 96px;
	background-color: red;
	display: none;
	z-index: 9999;
}
#pTreeSubMenu:hover {
	display: block !important;
}
#pTreeSubMenu ul {
	list-style: none;
	padding: 0px !important;
	margin: 0px !important;
}
#pTreeSubMenu ul li {
	width: 100%;
}
#pTreeSubMenu ul li button {
	width: 100%;
	font-size: 15px;
	padding: 0 !important;
	margin: 0 !important;
}
	
