/* Here is the page design for the family tree viewer
    +-------------------------framer---------------------------+
    | icon LogoInfo           header               user login  |
    +----------------------------------------------------------+
    |                                                          |
    |                                                          |
    |                                                          |
    |                                                          |
    |                        container                         |
    |                                                          |
    |                                                          |
    |                                                          |
    |                                                          |
    |                                                          |
    +----------------------------------------------------------+
    |                        footer                            |
    +----------------------------------------------------------+  */

/* More detailed framer styles will defined in specific css file */
html, body {
	height: 100%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
.framer {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100vh;
	overflow: hidden;
}
.framer > .header {
	position: relative;
	z-index: 2;
	display: flex;
	flex: 0 0 40px;
	background-color: #ebeafa;
	height: 40px;
	align-items: center;
	justify-content: space-between;
}
.framer > .header > #button {
	display: flex;
	box-sizing: border-box;
	flex: 1 1 auto;
	width: auto;
	align-items: center;
	padding-left: 10px;
}
.framer > .header > #button p {
	margin: 0;
	padding: 0;
}
.btnEnable {
	box-sizing: border-box;
	width:  24px;
	height: 24px;
	padding: 0;
	border: 1px solid #aaa;
	cursor: pointer;
	background: linear-gradient(
		to bottom,
		#555555 0px, #555555 2px,
		transparent 2px, transparent 5px,
		#555555 5px, #555555 7px,
		transparent 7px, transparent 10px,
		#555555 10px, #555555 12px
	);
	background-color: white;
	background-size: 12px 12px;
	background-position: center;
	background-repeat: no-repeat;
	display: block;
	transition: background-color 120ms ease;
}
.btnEnable:hover {
	background-color: #d3d3d3;
}
.btnEnable:focus {
	outline: none;
	box-shadow: none;
}
.btnEnable:focus-visible {
	outline: 2px solid #555;
	outline-offset: 2px;
}
.btnEnable.is-pressed,
.btnEnable.is-pressed:hover {
	background-color: #999;
}
.menu-control {
	position: relative;
	flex: 0 0 auto;
}
.menuCls {
	display: none;
	width: max-content;
	height: auto;
	max-width: calc(100vw - 10px);
	max-height: calc(100vh - 10px);
	box-sizing: border-box;
	overflow-y: auto;
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	background: #ccc;
	border-radius: 0 0 5px 5px;
	box-shadow: 0 0 8px 2px #959595;
	z-index: 1;
	opacity: 0.85;
	margin: 0;
}
.menuCls.is-open {
	display: block;
}
#Nav {
	color:       #81F781;
	font-size:   14 px;
	font-family: "Calibri";
	background-color: #efe3f9;
	margin-top:  0;
}
.menuCls #Nav ul {
	margin: 0;
	padding: 8px 12px;
	text-align: left;
}
.menuCls li {
	list-style: none;
	padding: 3px 0;
}
.framer > .header .header-account {
	margin-left: auto;
	font-size:   14px;
}
.framer > .header .header-account .fa {
	/* font-size: 16px; */
	color:    blue;
}

.framer > .page-container {
	width: var(--page-container-width, 100%);
	max-width: var(--page-container-max-width, none);
	box-sizing: border-box;
	flex: 1 1 0;
	min-width: 0;
	min-height: 0;
	margin-inline: auto;
	overflow: auto;
}

.footer {
	flex: 0 0 auto;
	padding: 4px 10px;
	font-size: 12px;
	background-color: #eee;
}
.footer ul {
	margin: 0;
}
