#locationWrapper {
	position: fixed;
	top: 0; left: 0;
	height: 100%;
	width: 100%;
	overflow: hidden;
	z-index: 1;
}

#hideLocationChrome,
#showLocationChrome {
	position: absolute;
	height: 48px;
	width: 48px;
}

#hideLocationChrome {
	bottom: 0;
}

#showLocationChrome {
	bottom: -48px;
}

/********************   locationCp *******************************/

#locationCpContainer {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 48px;
	z-index: 320;
}

#toursTitle {
 	font-size: 1.2rem;
	 padding-right: 0;
	width: auto;
	float: left;
	position: relative;
	background-color: #484848;
}

#toursTitle img {
	float: left;
	vertical-align: middle;
	width: 22px;
}

#toursTitle span {
	font-family: 'oldStandard';
	font-size: 1.2rem;
	width: auto;
	padding-right: 0;
	line-height: 52px;
}

#locationTitle span {
	font-family: 'oldStandard';
	font-size: 1.2rem;
	overflow: hidden;
	width: 6rem;
	white-space: nowrap ;
	text-overflow: ellipsis ;
	line-height: 52px;
	padding-left: 0;
}


/********************* Pano container *******************/

#panoContainer {
	width: 100%;
	height: 100%;
	overflow: hidden;
	min-height: 400px;
	min-width: 600px;
}

#panoContainer > div {
	text-align: center;
	padding: 3em;
	font-size: 2em;
}


/************ Guide panel ***************/


#tourGuidePanel {
	position: fixed;
	background-color: var(--white);
	width: 384px;
	height: 100%;
	top: 0;
	left: -400px;
	overflow-y: hidden;
	box-shadow: 5px 0 32px 4px rgba(86, 86, 86, 0.567);
	border-right: 1px solid #979797;
	z-index: 900;
}

 #tourGuideContainer {
	position: relative;
	background-color: var(--white);
	width: 100%;
	height: calc( 100% - 40px - 34px );
	overflow: hidden;
}

 #tourGuideFrame {
 	box-sizing: border-box;
	position: relative;
	font-size: 1em;
	padding: 0 1.5em;
	width: calc( 100% + var(--scrollbarWidth) );
 	height: 100%;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
}

#tourGuideHd {
	width: 100%;
	font-size: 120%;
	height: 40px;
	background-color: var(--panelHdBck);
}

#closeTourGuide {
	float: right;
	height: inherit;
}

#closeTourGuide img {
	display: block;
	float: right;
	height: inherit;
	width: auto;
	background-color: var(--closeImgBck);
}

#tourGuideTitle {
	display: inline-block;
	font-family: "robotoCondensed";
	font-weight: 800;
	color: white;
	padding-left: 16px;
	width: calc(100% - 40px - 20px);
	line-height: 40px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}



/********* Details panel ********************/

#detailPanel {
	position: absolute;
	background-color: var(--white);
	width: 384px;
	top: 0;
	height: 100%;
	right: 100%;
	z-index: 900;

}

#detailHd {
	width: 100%;
	font-size: 120%;
	height: 40px;
	background-color: var(--panelHdBck);
}

#closeDetails {
	float: right;
	height: inherit;
}

#closeDetails img {
	height: inherit;
	width: auto;
	background-color: var(--closeImgBck);
}

#detailTitle {
	float: left;
	font-family: "oldStandard";
	font-weight: 800;
	color: white;
	padding-left: 16px;
	width: calc(100% - 40px - 20px);
	line-height: 40px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

#detailContainer {
	position: relative;
	background-color: var(--white);
	width: 100%;
	height: calc( 100% - 40px - 34px );
	overflow: hidden;
}

 #detailFrame {
	box-sizing: border-box;
	font-size: 1em;
	padding: 0 1.5em;
	width: calc( 100% + var(--scrollbarWidth) );
	height: 100%;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
}


/******** Details image ***********/

#detailImageContainer {
	position: absolute;
	left: 384px;
	top: 0;
	height: 100%;
	width: calc(100% - 384px);
	z-index: 600;
	display: none;
}

#detailImageFrame {
	position: absolute;
	width: calc(100% + var(--scrollbarWidth));
	height: calc(100% + var(--scrollbarWidth));
	overflow: scroll;
}

#detailImg {
	position: absolute;
	display: block;
	visibility: hidden;
}

/********** detail image *****************/

#mediaContainer {
	position: absolute;
	text-align: center;
	top: 0;
	bottom: 0;
	left: 384px;
	width: calc(100vw - 384px);
	display: none;
	z-index: 310;

}

#mediaContainer iframe {
	margin: 10px;
	border: 3px solid var(--white);
}

#closeFoto {
	font-family: 'roboto';
	font-size: 14px;
	line-height: 24px;
	position: absolute;
	text-align: center;
	width: 22px;
	height: 22px;
	right: 0;
	border: 2px solid white;
	border-radius: 16px;
	background-color: black;
	color: white;
}

#foto {
	box-sizing: border-box;
	opacity: 0;
	border: 3px solid var(--white);
}


/***** content formatting *********/

hr {
	width: 50%;
	margin: 16px auto 10px auto;
}

.content {
	-webkit-overflow-scrolling: touch;
	text-align: justify;
}

.content h2 {
	font-family: 'EBGaramond';
	font-size: 1.3rem;
	margin-top: 1rem;
	margin-bottom: 0.5rem;
}

.content h3 {
	font-family: 'EBGaramond';
	font-weight: 800;
	font-size: 1.2em;
	margin-bottom: 0.2em;
	margin-top: 1em;
	margin-left: 0.6em;
}

.content p {
	font-family: "sourceSerifPro";
	font-size: 1.1rem;
	line-height: 1.65rem;
	text-align: justify;
	color: black;
	margin-bottom: 0.5rem;
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
}

.content ul {
	margin-top: 1em;
	margin-bottom: 0.8em;

}

.content ul ul {
	margin-top: 0.1em;
}

.content ul li {
	list-style-type: '- ';
	line-height: 1.4em;
	margin-left: 1.8em;
	padding-right: 0.8em;
}

.content div.riquadro p {
	margin-bottom: 0;
	padding: 0;
}

.content div.riquadro {
	border: 1px solid #757575;
	padding: 6px 12px;
	font-size: 0.8em;
	margin: 0 8px 0 12px;
	margin-bottom: 6px;
}

.content blockquote {
	font-family: "oldStandard";
	margin: 2px 5% 6px 5%;
	font-size: 1em;
	line-height: 1.3em;
}

.content a {
	color: var(--blueMetal);
}

.content p.fnote {
	line-height: 1em;
	font-size: 0.9em;
}

.content p a sup {
	color: black;
}

.pageDown {
	position: absolute;
	bottom: 2.2em;
	right: 0;
	z-index: 900;
}

.pageUp {
	position: absolute;
	top: 2.8em;
	z-index: 900;
}

.pageUp,
#pageDown {
	right: 1px;
}

.pageUp img,
#pageDown img {
	height: 30px;
	display: block;
}

q::before {
	content: open-quote;
}

q::after {
	content: close-quote;
}

/********** tourMap ************/

#locationMapWindow {
	position: absolute;
	opacity: 0;
	top: 32px;
	left: 32px;
	width: 40vw;
	height: auto;
	max-width: 900px;
	min-width: 500px;
	min-height: 300px;
	box-shadow: 5px 5px 32px 4px rgba(86, 86, 86, 0.567);
	z-index: 0;
}

#locationMapHd {
	position: relative;
	font-size: 120%;
	height: 40px;
	width: 40vw;
	max-width: inherit;
	min-width: inherit;
	background-color: var(--panelHdBck);
}

#closeLocationMap {
	float: right;
	height: inherit;
}

#closeLocationMap img {
	width: auto;
	float: right;
	display: block;
	height: inherit;
	background-color: var(--closeImgBck);
}

#locationMapTitle {
	position: relative;
	/* float: left; */
	display: inline-block;
	font-family: "robotoCondensed";
	font-weight: 800;
	color: white;
	padding-left: 16px;
	line-height: 40px;
	white-space: nowrap;
	text-overflow: ellipsis;
	width: calc( 100% - 40px - 20px );
}

#locationMapContainer {
	box-sizing: border-box;
	position: relative;
	width: 40vw;
	height: 35vh;
	min-width: inherit;
	max-width: inherit;
	min-height: 332px;
	border: 1px solid #979797;
}

#locationOfflineMapContainer {
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: 1;
}

#locationOfflineMapFrame{
	position: relative;
	 width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	overflow: auto;
	 width: calc(100% + var(--scrollbarWidth) );
	height: calc(100% + var(--scrollbarWidth) );
}

#locationOnlineMapContainer {
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}

/***************** slider styling ***********************/

#sliderContainer {
	position: absolute;
	width: 220px;
	margin: 0 calc(50% - 130px);
	padding: 0 16px;
	bottom: 1em;
	height: 2.8em;
	background-color: rgba(97, 97, 97, 0.66);
	border-radius: 4px;
}


/* webkit */

.slider {
	width: 220px;
	box-sizing: border-box;
	padding: 0;
	height: inherit;
	color: #4100ff;
	background: transparent;
	border: none;
	margin: 0;
	-webkit-appearance: none;
}

.slider:focus {
	outline: none;
}

.slider::-webkit-slider-runnable-track {
	background: #00a0a0;
	border: none;
	height: 4px;
	border-radius: 4px;
	cursor: pointer;
}

.slider::-webkit-slider-thumb {
	width: 20px;
	height: 20px;
	background: rgba(255, 255, 255, 1);
 	border: 1px solid #888888;
	border-radius: 10px;
	margin-top: -8px;
	cursor: pointer;
	-webkit-appearance: none;
}

.slider:focus::-webkit-slider-runnable-track {
	background: #00a0a0;
}

/* Firefox */

.slider::-moz-range-track {
	width: 220px;
	background: #00a0a0;
	border: none;
	height: 4px;
	border-radius: 4px;
	cursor: pointer;
}

.slider::-moz-range-thumb {
	width: 20px;
	height: 20px;
	background: rgba(255, 255, 255, 1);
	border: 1px solid #888888;
	border-radius: 10px;
	margin-top: -8px;
	cursor: pointer;
	-webkit-appearance: none;
}

.slider:focus::-moz-range-track {
	background: #00a0a0;
}

/* MS */

.slider::-ms-track {
	width: 220px;
	height: 6px;

	/*remove bg colour from the track, we'll use ms-fill-lower and ms-fill-upper instead */
	background: transparent;

	/*leave room for the larger thumb to overflow with a transparent border */
	border: none;
	border-color: transparent;
	border-width: 6px 0;

	/*remove default tick marks*/
	color: transparent;
}

.slider::-ms-fill-lower {
	background: #777;
	border-radius: 9px;
}

.slider::-ms-fill-upper {
	background: #ddd;
	border-radius: 10px;
}

.slider::-ms-thumb {
	border: none;
	height: 16px;
	width: 16px;
	border-radius: 50%;
	background: goldenrod;
}

.slider:focus::-ms-fill-lower {
	background: #888;
}

.slider:focus::-ms-fill-upper {
	background: #ccc;
}





/************************** Tooltips ***************************/

#tooltipsContainer {
	position: absolute;
	border: 1px solid var(--lightGray2);
	background-color: var(--lightYellow);
	border-radius: 3px;
	visibility: hidden;
	opacity: 0;
	z-index: 0;
}

#dismiss {
	font-size: 0.8em;
	float: right;
	margin: 0.6em;
	color: var(--blueMetal);
	font-weight: 800;
	z-index: 1000;
}

#tipCnt {
	width: 20em;
	padding: 0.8em;
}

#tipCnt h1 {
	font-family: "robotoCondensed";
	font-size: 1.1em;
	font-weight: bold;
	padding: 0;
	margin: 0.3em 0 0.6em 0;
	text-align: center;
}

#tipCnt p {
	font-family: "EBGaramond";
	font-size: 0.9em;
	margin-bottom: 3px;
	line-height: 125%;
}

#tipCnt a {
	color: var(--blueMetal);
}

.tip-left-a {
	display: none;
	position: absolute;
	border-top: 12px solid transparent;
	border-right: 12px solid var(--lightYellow);
	border-bottom: 12px solid transparent;
	border-right-color: var(--lightGray2);
	left: -12px;

}

.tip-left-b {
	display: none;
	position: absolute;
	border-top: 11px solid transparent;
	border-right: 11px solid var(--lightYellow);
	border-bottom: 11px solid transparent;
	left: -11px;
}

.tip-right-a {
	display: none;
	position: absolute;
	border-left: 12px solid var(--lightYellow);
	border-left-color: var(--lightGray2);
	border-bottom: 12px solid transparent;
	border-top: 12px solid transparent;
	right: -12px;
}

.tip-right-b {
	display: none;
	position: absolute;
	border-top: 11px solid transparent;
	border-left: 11px solid var(--lightYellow);
	border-bottom: 11px solid transparent;
	right: -11px;
}

.pointHotSpot {
	font-family: 'oldStandard';
	width: auto;
	font-weight: 800;
	text-align: center;
	background-color: white;
	font-size: 1.1em;
	padding: 0.1em 1em;
	border: 1px solid #a6a6a6;
	border-radius: 2px;
}
