/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    -ms-content-zooming: none;
  }
  
  html, body {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
  }
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
body{
    width: 100vw;
    height: 100vh;
    padding: 10px; 
    position:relative;
    box-sizing: border-box;
    margin: 0;
    outline: none;
}
#seadragon-viewer {
    width: 100vw;
    height: 100vh;
}
#hzmfbd-map{
    perspective: 192px;
}
.openseadragon-canvas:focus {
    outline: none;
  }
.unsupported{
    display: none;
    text-align: center;
    background: url("./images/arrow.png") no-repeat top right;
    height: 100%;
    width: 100%;
}
.tips{
    display: none;
    position: fixed;
    top:10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 2.25rem;
}
.unsupported .inner{
    font-size: 2.25rem;
    padding-top: 30rem;
}
.unsupported .inner h{
    font-size: 2.5rem;
    line-height: 3;
}
.unsupported .inner p{
    text-align: left;
    text-indent: 10%;
}
.qr-wrap {
    width: 100px;
    height: 200px;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 10;
}
.qr-code-content{
    width: 100px;
}

.wechat .qr-wrap{
    /* display: none; */
    display: block;
}
/* .wechat .unsupported{
    display: block;
} */
.android .tips{
    display: block;
}

.highlight {
    /* filter: alpha(opacity=40); */
    outline: 12px auto #0a7fbe7e;
    background-color: rgb(0, 255, 106);
    width: 20px;
    height: 20px;
    cursor: pointer;
}
.openseadragon-container{
    transition: all 500ms;
    perspective-origin: center;
}
.panorama .openseadragon-container{
    /* transform: rotateX(15deg) scale(7); */
    transform: rotateX(15deg) scale(6);

}
.panorama{
    background: url(/images/bluesky.jpeg) top center no-repeat;
    background-size: contain;
}

.download-button{
    display: none;
    position: absolute;
    top: 0px;
    width: 100%;
    left: 0px;
    background-color: rgba(0, 0, 0, 0.336);
    color: #fff;
    /* height: 2rem; */
    line-height: 2;
    font-size: 2rem;
    text-align: center;
    text-decoration: none;
}
.download-button.metro-button{
    display: block;
}

.metro .download-button.metro-button{
    display: none;
}
.metro .download-button{
    display: block;
}
.content-library{
    position: absolute;
    top: 0px;
    width: 20%;
    left: 10px;
}
.content-library .library-icon{
    /* background-color: rgba(0, 0, 0, 0.336); */
    color: #fff;
    /* height: 2rem; */
    line-height: 2;
    font-size: 2rem;
    text-align: center;
    text-decoration: none;
    padding:0px 6px;
}
.content-library .library-wrap{
    position: absolute;
    left: 0px;
    top: 4rem;
    overflow: hidden;
    height: 0px;
    cursor: pointer;
}
.content-library.clicked .library-wrap{
    height: auto;
}
.content-library.clicked .library-icon-close{
    display: inline;
}
.content-library.clicked .library-icon{
    display: none;
}
.content-library .library-icon-close{
    /* background-color: rgba(0, 0, 0, 0.336); */
    color: #fff;
    /* height: 2rem; */
    line-height: 2;
    font-size: 2rem;
    text-align: center;
    text-decoration: none;
    padding:0px 6px;
    display: none;
}
.content-library .library{
    
    background-color: rgba(0, 0, 0, 0.336);
    color: #fff;
    /* height: 2rem; */
    line-height: 2;
    font-size: 2rem;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
    padding: 0px 6px;
}
.content-library .library p{
    border-bottom: 1px solid #fff;
    margin-bottom: -1px;
    margin-top: 10px;
}
.content-library .library p a{
    color: #fff;
    text-align: center;
    text-decoration: none;
}
.content .metro_button{
    position: absolute;
    bottom: 200pt;
    right: 10pt;
    height: 80pt;
    width: 80pt;
    background-image: url(/images/hz_metro.svg);
    background-size: contain;
    background-repeat: no-repeat;
    /* border: 2px solid #f00; */
    border-radius: 20%;
    background-color: #c8c8c8;
}
.content .metro_button.on{
    background-color: #ff4040;
    background-image: url(/images/hz_metro_on.svg);
}