.ui-page-theme-a a:visited, html .ui-bar-a a:visited, html .ui-body-a a:visited, html body .ui-group-theme-a a:visited {
	color: unset;
}
.ui-page-theme-a a{
	color: unset;
	font-weight: unset;
	text-decoration: none;
}
.ui-page-theme-a{
	text-shadow: none;
}
#version-select li.version-btn {
    display: inline-block;
    float: right;
    margin: 5px;
    width: 35px;
    fill: #b1b1b1;
}
#version-select ul#version-select {
    display: block;
}
#version-select li.version-btn.selected {
    fill:  #FCBD41;
    filter: drop-shadow(0px 0px 5px #ffe3ab);
}
#landing, #choice, #audio-only, #contents{
	background-image: url("../img/background.png");
	background-size: cover;
	background-attachment: fixed;
}
.text-reader, #credits{
	background-image: url("../img/marble.png");
	background-size: cover;
	background-attachment: fixed;
}
#contents .ui-content{
	background-color: rgba(16, 54, 74, 0.8);
	color: #fefefe;
	text-shadow: 0 1px 0 #333;
}
#credits .ui-content{
	background-color: rgba(199, 60, 77, 0.8);
	text-shadow: none;
	color: #efd6a9;
}
#credit-title{
	max-width: 100%;
}
#book-title{
	text-align: center;
	margin-top: 50px;
	padding-left: 25px;
	padding-right: 25px;
	max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}
#book-title img{
	width: 100%;
}
.ui-content{
	background-color: #f5e8e2;
	background-origin: padding-box;
	margin-left: 20px;
	margin-right: 20px;
	margin-top: 30px;
	position: relative;
	margin-bottom: 15px;
	max-width: 700px;
}
#landing .ui-content{
	background-color: rgba(235, 235, 235, 0.8);
}
.ui-content>*{
	z-index: 2;
	position: relative;
}
.footer{
	display: flex;
	flex-wrap: wrap;
	text-align: center;
	color: #FCBD41;
	text-shadow: 0 1px 0 #333;
	padding-bottom: 5px;
	z-index: 50;
	position: relative;
}
.footer>*{
	flex: 1;
}
.center-text{
	text-align: center;
}
.nav-btn{
	margin-top: 0.5rem;
}
.serif{
	font-family: 'Constantia', serif;
}
.quote{
	font-style: italic;
}
.splat{
	position: absolute;
	right: 0;
	top: 50px;
	width: 75%;
	max-width: 400px;
}
.splat>img{
	width: 100%;
}
.break{
	width: 100%;
}
.break img{
	width: 100%;
	max-width: 400px;
}
#splat-rear{
	z-index: 0;
}
#splat-front{
	z-index: 2;
}
h1>span{
	font-size: 0.5em;
	line-height: 0.5em;
	font-weight: normal;
}
#home-title{
	margin-top: 10px;
	line-height: 0.6em;
}
#paper-buttons{
	display: flex;
	flex-wrap: wrap;
}
#paper-buttons>div{
	flex:300px;
	position: relative;
}
.paper-button{
	margin-left: auto;
	margin-right: auto;
	font-size: 1.3em;
	font-family: 'Constantia', serif;
	font-style: italic;
	margin-bottom: 5px;
	height: 4em;
	display: flex;
	align-items: center;
}
.paper-button>img{
	position: absolute;
	left: 0;
	right: 0;
    margin: auto;
    width: 100%;
    max-width: 290px;
    z-index: 0;
    top: 0;
}
.paper-button>div{
	position: relative;
	z-index: 2;
	flex: 1;
}
.paper-button span{
	font-size: 0.5em;
	font-weight: bold;
	display: block;
	margin-top: -0.4em;
}
#audio-text-btn>img{
	transform: rotate(180deg);
}
#text-only-btn>img{
	transform: scaleY(-1);
}
#contents-btn>img{
	transform: rotate(180deg) scaleY(-1);
}
.story{
	font-family: 'Constantia', serif;
}
.story h2{
	font-style: italic;
}

.story p{
	text-align: justify;
	text-indent: 20px;
	margin-bottom: 0;
	margin-top: 0;
}
#choice .ui-content, #audio-only .ui-content{
	background: none;
	color: #FCBD41;
	padding: 0;
	overflow: visible;
}
#choice h1, #audio-only h1{
	font-family: 'Constantia', serif;
	text-transform: uppercase;
	font-size: 3.5em;
	font-weight: normal;
	margin-top: 0;
	text-shadow: none;
	line-height: 0.7em;
}
#choice h1 span, #audio-only h1 span{
	font-size: 0.7em;
}
#symbols{
	text-align: center;
	display: flex;
	flex-direction: column;
	height: calc(100vh - 11rem);
	max-height: 1000px;
    overflow: visible;
}
#symbols .active{
	display: block !important;
}
#symbols>div{
	flex:1;
	flex-basis: 1px;
	position: relative;
}
#symbols img{
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	height: 100%;
	max-width: 100%;
}
#symbols div.bee-container{
	flex-grow: 213;
}
div.bee-container img.glow{
	transform: scale(1.286, 1.286);
	display: none;
}
div.key-container img.glow{
	transform: scale(1.342, 1.342);
	display: none;
}
div.sword-container img.glow{
	transform: scale(1.068, 1.068);
	display: none;
}
#symbols div.key-container{
	flex-grow: 152;
}
#symbols div.sword-container{
	flex-grow:587;
}
#contents .ui-content{
	/*background: none;
	color: #FCBD41;
	text-shadow: 0 1px 0 #333;*/

}
#contents ul li{
	list-style-type: none;
	/*color: #FCBD41;*/
	font-size: 1.5rem;
	margin-bottom: 1rem;
}
#contents li ul{
	margin-top: 1rem;
}
#contents .unlock{
	display: none;
}

@media only screen and (-Webkit-min-device-pixel-ratio: 1.5),
only screen and (-moz-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min-device-pixel-ratio: 1.5) {
    #landing, #choice, #audio-only, #contents{
		background-image: url("../img/background@2x.png");
	}
	.text-reader, #credits{
		background-image: url("../img/marble@2x.png");
	}
}
@media only screen and (min-width: 752px){
	.ui-content{
		margin-right: auto;
		margin-left: auto;
	}
}