html{background-color: #f0f0f0;height: 100%;min-height: 300px;font: 18px "Helvetica","HelveticaNeue","Arial",sans-serif}

body{
	height: 100%;
	border: none;
	outline: none;
	margin: 0;
	overflow-x: hidden
}

img{max-width: 100% !important}

.page{
    position: absolute;
    top: 0;left: 0;width: 100%;
    min-height: 100%;
	min-width: 320px;
	overflow-x: hidden;
	-webkit-animation-fill-mode: both;
	-ms-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation-duration: .4s;
	-ms-animation-duration: .4s;
	animation-duration: .4s
}

div[data-role="header"]{
    position: absolute;
    top: 0;left: 0;width: 100%;height: 42px;
    border: 1px solid black;
    text-align: center;
	background-image: linear-gradient(#8e8e95,#040404) !important;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box
}

div[data-role="header"] h1{
    color: #fff;
    display: inline;
    font-size: 18px;
    line-height: 40px;
    text-shadow: rgba(0, 0, 0, 0.6) 0px -1px 0;
	-webkit-user-select: none;
    -moz-user-select: none;
	-ms-user-select: none;
    -o-user-select: none;
    user-select: none
}

div[data-role="content"]{
	position: absolute;
	top: 42px;left: 0;width: 100%
}

ul{
    position: absolute;
    top: -16px;left: 0;width: 100%;
    margin-left: -40px;
    list-style: none
}

li{
    min-height: 40px;
    font-size: 16px;
    line-height: 40px;
    font-weight: bold;
	color: black;
    border-bottom: 1px solid rgb(198,198,198);
	background-image: linear-gradient(#fff,#eee);
    padding: 0 40px 0 15px;
    cursor: pointer;
    white-space: nowrap;
	overflow: hidden;
    -webkit-text-overflow: ellipsis;
	text-overflow: ellipsis;
	-webkit-user-select: none;
    -moz-user-select: none;
	-ms-user-select: none;
    -o-user-select: none;
    user-select: none
}

li:hover{
	background-image: linear-gradient(#e0e0e0,#fafafa)
}

li[data-role="list-divider"]{
	background-image: linear-gradient(#ddd,#bcbcbc);
	cursor: auto;
    color: #fff
}

li a{
	white-space: nowrap !important;
	-webkit-text-overflow: ellipsis;
	text-overflow: ellipsis
}

li svg{
	display: inline-block;
	fill: #f00;
    position: absolute;
    margin-top: 10px;
    right: 14px
}

#text{
	position: absolute;
	top: 42px;left: 0;width: 100%;
	padding: 0px 15px;
	font-weight: normal;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 16px
}

.landscape li{line-height: 45px;min-height: 45px}

.landscape li a{font-size: 18px}

.landscape li[data-role="list-divider"]{font-size: 18px}

video:not(.inlineVideo){
	position: absolute;
	top: 10%;left: 10%;width: 80%;height: 80%;
    background-color: #000;
    z-index: 99
}

.inlineVideo{
	position: relative;
	width: 320px;height: 240px;
	margin: 0
}

/* Swipe Tap */
.outLeft{-webkit-animation-name: outLeft;animation-name: outLeft}
.outRight{-webkit-animation-name: outRight;animation-name: outRight}
.inLeft{-webkit-animation-name: inLeft;animation-name: inLeft}
.inRight{-webkit-animation-name: inRight;animation-name: inRight}

@-webkit-keyframes outLeft{
	0% {-webkit-transform: translate3d(0,0,0);-webkit-transform: translateX(0);}
	100% {-webkit-transform: translate3d(0,0,0);-webkit-transform: translateX(-100%);}}

@keyframes outLeft{
	0% {transform: translateX(0);}
	100% {transform: translateX(-100%);}}

@-webkit-keyframes inLeft{
	0% {-webkit-transform: translate3d(0,0,0);-webkit-transform: translateX(-100%);}
	100% {-webkit-transform: translate3d(0,0,0);-webkit-transform: translateX(0);}}

@keyframes inLeft{
	0% {transform: translateX(-100%);}
	100% {transform: translateX(0);}}

@-webkit-keyframes outRight{
	0% {-webkit-transform: translate3d(0,0,0);-webkit-transform: translateX(0);}
	100% {-webkit-transform: translate3d(0,0,0);-webkit-transform: translateX(100%);}}

@keyframes outRight{
	0% {transform: translateX(0);}
	100% {transform: translateX(100%);}}

@-webkit-keyframes inRight{
	0% {-webkit-transform: translate3d(0,0,0);-webkit-transform: translateX(100%);}
	100% {-webkit-transform: translate3d(0,0,0);-webkit-transform: translateX(0);}}

@keyframes inRight{
	0% {transform: translateX(100%);}
	100% {transform: translateX(0);}}

/* Back Button */
.back{
    display : block;
    position:absolute;
    z-index : 0;
    top:5px;left:20px;height:30px;width:auto;
    line-height: 30px;
    padding: 0 10px 0 6px;
    background-size : 30px 30px;
    background-repeat:repeat-x;
    background-position :0;
    background-image : linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.3) 100%);
    border-radius: 5px;
    border-bottom: 1px solid rgba(255,255,255,0.4);
    box-shadow :0 -1px 1px rgba(0,0,0,0.2)inset,0 1px 2px rgba(0,0,0,0.8)inset;
    color:#fff;
    text-shadow : 0px -1px 0px rgba(0,0,0,0.8);
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none
}
.back:before{
    position:absolute;
    content : ' ';
    top:4px;left:-8px;width: 24px;height : 23px;
    z-index : 1;
    background-repeat:repeat-x;
    background-size : 30px 30px;
    background-position :-1px -1.5px;
    background-image : linear-gradient(45deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 52%, rgba(255,255,255,0.1) 52%, rgba(255,255,255,0.4) 100%);
    -webkit-transform : rotateZ(-45deg) skewY(-10deg) skewX(-10deg);
    transform : rotateZ(-45deg) skewY(-10deg) skewX(-10deg);
    border-top-right-radius : 11px;
    border-top-left-radius :0;
    border-bottom-right-radius : 0;
    border-bottom-left-radius : 10px;
    border-left : 1px solid rgba(255,255,255,0.4);
    box-shadow :  0px 1px 1px rgba(0,0,0,0.7) inset,2px -2px 2px -3px rgba(0,0,0,0.5) inset
}
.back:after{
    font-weight: bold;
    font-size : 12px;
    line-height : 30px;
    text-align:center;
    content: 'Back';
    z-index: 99;
    left:-2px;height: 30px;
    padding-left:3px;
    position:relative;
    display:block;
    background-repeat:repeat-x;
    background-size : 30px 30px;
    background-position :-1px -0.5px;
    box-shadow :0 -3px 1px -2px rgba(0,0,0,0.3)inset,0 4px 2px -3px rgba(0,0,0,0.8)inset;
    background-image : linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.3) 100%)
}
.back,.back:after,.back:before{background-color: rgba(77,77,77,1)}
.back:hover,.back:hover:after,.back:hover:before{background-color: rgba(54,88,135,1)}

/* Home Button */
.home{
	display: inline-block;
    position: absolute;
    right: 10px;
	margin-top: 7px;
	cursor: pointer
}

.home:hover{
    fill: #365887
}

#loader{
    position: absolute;
    top: 47%;left: 50%;
    margin-left: -23px;
    opacity: .4;
    z-index: 90;
    display: none
}

#error{
	position: absolute;
	top: 47%;left: 50%;width: 200px;
	margin-left: -100px;
	border: 1px solid black;
	border-radius: 5px;
	text-align: center;
	font-weight: bold;
	background-color: rgb(237,183,43);
	background-color: rgba(237,183,43,.5);
	padding: 10px;
	display: none;
	z-index: 999
}

noscript{position: absolute;top: 40%;width: 100%;text-align: center;color: red}