@CHARSET "UTF-8";

.body{
	margin: 0;
}

.wrapper {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	margin: 0;
	height: 99vh;
	-webkit-flex-flow: column nowrap;
	flex-flow: column nowrap;
	align-items: stretch;
}

.wrapper>* {
	box-sizing: border-box;
	-moz-box-sizing: border-box; /* Firefox */
	-webkit-box-sizing: border-box; /* Safari */
}

.wrapper .header {
	order: 1;
	min-height: 5.5em; /* IE11 */
	min-height: min-content;
	min-height: -moz-min-content;
	min-height: -webkit-min-content;
	max-height: 5.5em; /* IE11 */
	max-height: min-content;
	max-height: -moz-min-content;
	max-height: -webkit-min-content;
	flex-basis: 10%;
	border-bottom: solid 1px;
	white-space: nowrap;
}

.wrapper .container {
	order: 2;
	height: 90%;
	display: inherit;
	flex-flow: inherit;
	-webkit-flex-flow: inherit;
	margin: 0;
	align-items: stretch;
}
.header .topFrame {
	display: none;
}

.header .menuBtn {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content:space-between;
	align-items:center;
}

.main {
	order: 3;
	width: 100%;
	flex-basis: 100%;
}

.wrapper .container .aside {
	border-bottom: solid 1px;
	padding-top: 0.3em;
	height: auto;
	flex-wrap: nowrap;
	margin: 0;
	display: block;
	min-height: 14em; /* IE11 */
	min-height: min-content;
}

.wrapper .container .aside .menuMain {
	display: flex;
	flex-wrap: wrap;
}

.wrapper .container .aside .menuBtn {
	width: 100%;
	text-align: right;
	height: 100%;
}

/* chrome */
@media all and (-webkit-min-device-pixel-ratio:0) and (min-resolution: .001dpcm) {
	.wrapper .container .aside {
		flex-basis: 30%;
		max-height: min-content;
	}
}

@media (min-width : 768px) {
	.wrapper .header {
		order: 1;
		flex-basis: 10%;
	}
	.wrapper .container .aside .menuBtn {
		display: none;
	}
	.wrapper .container .aside .menuMain {
		display: block;
		height: 100%;
		position: relative;
		height: inherit;
		border: none;
	}
	.wrapper .container .aside {
		height: inherit;
		max-width: 25em;
		border: none;
		flex-basis: auto;
		max-height: none;
	}
	.wrapper .main {
		flex: 5 0px;
		border-left: solid 1px;
		height: inherit;
		overflow: hidden;
		flex-grow: 5;
	}
	.wrapper .header .menuBtn {
		display: none;
	}
	.wrapper .header .topFrame {
		display: block;
		position: relative;
		height: 100%;
		max-height: inherit;
	}
	.wrapper  .container {
		-webkit-flex-flow: row nowrap;
		flex-flow: row nowrap;
		align-items: stretch;
		display: inline-flex;
		height: 100%;
	}
}