﻿
/* top menu */

.title_logo{
    margin: 0;
    height: 40px;
    max-height: 40px;
    max-width: 140px;
}

.logo-container{
    display:block;
    float:left;
    text-align: center;
}
.icon_container{
	display:block;
    float:left;
    height: 40px;
    width: 40px;
    display:block;
    text-align: center;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
}

.toolbar-icon
{
	padding-top: 10px;
	text-align: center;
}

.menu {
	background-color:#1a2d4b;
	height:50px;
	width:100%;
	z-index:40;
	position: fixed;
	left:0;
	color: white;
	overflow: hidden;
	font-family:Verdana, Geneva, sans-serif;
}

.nav {
	height: 100%;
	width: 35px;
	z-index:30;
	position: fixed;	
	top: 0;
	/*font-size: 10em;*/
	font-family:Verdana, Geneva, sans-serif;
}

.nav img {
	top: calc(50% - 25px);
	position: relative;
	height: 50px;
	/*left: calc(50% - 12px);*/
}

.nav:hover {
	background-color: rgba(0, 0, 0, .5);
}

.nav div {
	margin: auto 0px;
}

#topMenu {
	top: 0px;
	left: 0px
	border-bottom: thin solid #000;
}

.pagenamecontainer
{
	background: rgba(0,0,0,0.7);
	margin-left :10px;
}

#bottomMenu {
	bottom: 0px;
	left: 0px
	border-top: thin solid #000;
	background-color: transparent;
	background-image:none;
}

#leftNav {
	left: 0px;
	top: 0px;
	text-align: left;
}

#rightNav {
	right: 30px;
	top: 0px;
	text-align: right;
}

#nav {
	height: 100%;
	width: 100%;
	overflow: display;
	border: 0px;
	padding: 0px;
	top: 0px;
	left: 0px;
	position: absolute;
}

.title {
	font-size: 3em;
	margin: 5px;
}

.menu .title {
	font-size: 2.5em;
	margin: 0px;
	overflow: hidden;
	line-height: 35px;
	height: 68px;
}

.menu .title.subtitle {
	font-size: 1em;
}

.buttons {
	height:50px;
	padding-top: 5px;
	clear: none;
}

.buttons .button {
	float: right;
	margin: 5px 10px;
}

.win8button {
	float: right;
	/*width: 40px;*/
	/*height: 40px;*/
	margin: 5px;
	text-align: center;
}

.win8button .img {
	width: 40px;
	height: 40px;
	background-position: 0px 0px;
	background-color: transparent;
	border: 2px solid white;
	border-radius: 50%;
	margin: 0px auto;
	background-size: 160px 80px;
	font-family: 'html_viewer_fontregular';
	font-size: 1.8em;
	line-height: 40px;
	cursor: pointer;
}

.win8button.active {
	/*background-color: white;*/
}

.win8button.active .img {
	background-position: 0px -40px;
	background-color: #FFFFFF;
}

.left {
	float:left;
}

.right {
	float:right;
}

body {
	overflow: hidden;
}

.fullscreenSpacer {
	display: none;
	width: 30px;
	float: left;
	clear: none;
	height: 20px;
}

.right .fullscreenSpacer {
	float: right;
}

#backBtn .label {
	display: none;
}

#morePopin{
	width: 330px;
	height: 100%;
	right: 0px;
}

#morePopin #moreTitleTable {
	padding: 20px 0px 0px 25px;
}

#morePopin #moreTitleTable td {
	padding: 2px 0px;
	margin: 0px;
	line-height: 1px;
	height: 1px;
}

#morePopin #morePopinTable {
	height: 100%;
	width: 100%;
	margin: 0px;
	padding: 0px;
}

table#morePopinTable {
	border-left: 2px solid #121c33;
	border: 0px 0px 0px 2px;
	margin: 0px;
	padding: 0px;
}

#morePopin .headline {
	font-size: 32px;
	vertical-align: top;
	/*color: white;*/
	margin-left: 20px;
	line-height: 50px;
}

#morePopin .buttonDivider {
	width: 250px;
	height: 1px;
	vertical-align: top;
	border-bottom: 1px solid #FFFFFF;
	margin-bottom: 2px;
}

.moreSpacer {
	height: 15px;
}

#closeMoreMenu img {
	width: 44px;
	height: 44px;
}

table#morePopinTable tr {
	margin: 0px;
	padding: 0px;
}

table#morePopinTable td {
	vertical-align: top;
	margin: 0px;
	padding: 0px;
}

.morePopinButtonContainer {
	overflow-x: hidden;
	overflow-y: auto;
	height: 100%;
	width: 325px;
	/*position: absolute;*/
	-webkit-overflow-scrolling: touch;
	/*margin-left: 8px;*/
	margin: 10px 0px;
}

.morePopinButtonContainer > * {
	-webkit-transform: translateZ(0px);
}

#buttonInner {
	list-style: none;
	margin: 0px;
}

@media (max-height:640px) {
	#morePopin{
		width: 162px;
		height: 100%;
		right: -167px;
		border-left: 2px solid #121c33;
	}
	
	#morePopin #moreTitleTable {
		padding: 15px 0px 0px 17px;
	}

	#morePopin #moreTitleTable td {
		padding: 1px 0px;
		margin: 0px;
		line-height: 1px;
		height: 1px;
	}

	#morePopin .headline {
		font-size: 16px;
		vertical-align: top;
		margin-left: 10px;
		line-height: 25px;
	}

	#morePopin .buttonDivider {
		width: 124px;
		height: 1px;
		vertical-align: top;
		/*margin-bottom: 3px;*/
	}
	
	#closeMoreMenu img {
		width: 22px;
		height: 22px;
	}

	.morePopinButtonContainer {
		overflow-x: hidden;
		overflow-y: auto;
		height: 100%;
		width: 157px;
		-webkit-overflow-scrolling: touch;
		margin: 5px 0px;
	}
	
	.moreSpacer {
		height: 10px;
	}
}

}
@media screen and (max-device-width: 360px) { 
	.title_logo{
		margin: 0;
		height: 40px;
		max-height: 40px;
		display:none;
	}
}