


html, body {
  padding: 0;
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  background-color: #f5f5f5;
  
  height: 100%;
}


#wrapper {
	position: absolute;
	left: 0px;
	right: 0px;
	top: 0px;
	bottom: 0px;
	margin: 0 !important;
	
}

#header {
	display: none;
	position: relative;
}

#container iframe {
	width: 100%;
	height: 100%;
	max-width: 800px;
	max-height: 800px;
}


#container, #imageContainer, #contact {

	text-align: center;
	position: absolute;
	left: 0px;
	right: 0px;
	top: 0px;
	bottom: 8vh;
	margin: 0 !important;
}	

.unguided #container {
	position: absolute;
	top: 10vh;
	
}	

.unguided #header {
	display: block;
	height: 8vh;
	padding: 1vh 0;
	
	background-repeat: no-repeat;
	background-size: contain;
}


#propertynum {
	text-align: right;
	margin-right: 20px;
	font-size: 1.3vh;
	padding-bottom: 0.8vh;
	
}
#nowplaying {
	text-align: right;
	margin-right: 20px;
	font-size: 1.6vh;	
	float: right;
	width: 60vw;
	box-sizing: border-box;
	border-radius: 8px;
	position: relative;
	user-select: none;
	overflow: hidden;
}

#nowplaying.clickable {
	cursor: pointer;
	text-align: center;
	display: flex;
  	align-items: center;      /* Vertical centering */
  	justify-content: left;  /* Horizontal centering (optional) */
	height: 5vh;
  
}

#nowplaying div {
	max-width: 55vw;
	text-align: center;
	flex: 1
}

#nowplaying.clickable::before {
	content: "";
	display: block;
	flex: 0 0 auto;
	width: 0;
	height: 0;
	border-left: 0.45em solid transparent;
	border-right: 0.45em solid transparent;
	border-top: 0.6em solid currentColor;
	margin-right: 3vw;
	margin-left: 3vw;
}

#nowplaying-playlist {
	display: none;
	position: absolute;
	top: 9vh;
	right: 20px;
	font-size: 1.6vh;	
	text-align: center;
	z-index: 1000;
}

#nowplaying-playlist .playlistitem {
	
	border-radius: 8px;
	margin-top: 2px;
	cursor: pointer;
	width: 60vw;
	height: 6vh;
	opacity: 0.95;
	overflow: hidden;
	display: flex;
  	align-items: center;      /* Vertical centering */
  	justify-content: left;  /* Horizontal centering (optional) */
  
}


#nowplaying-playlist .playlistitem div {
	max-width: 55vw;
	text-align: center;
	flex: 1
}

#nowplaying-playlist .playlistitem::before {
	content: "";
	width: 0;
	height: 0;
	border-top: 0.45em solid transparent;
	border-bottom: 0.45em solid transparent;
	border-left: 0.6em solid currentColor;
	margin-left: 1em;
}
#controls {
	position: absolute;
	top: 50%;
	width: 100%;
	display: none;
}
.unguided #controls {
	display: block;
}

#controls a.prev {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 25%;
	display: block;
	padding: 0 20px;
	text-align: left;
	font-size: 3rem;
	text-decoration: none;
	color: #fff;

}

#controls a.next {
	position: absolute;
	top: 0px;
	right: 0px;
	width: 25%;
	display: block;
	padding: 0 20px;
	text-align: right;
	font-size: 3rem;
	text-decoration: none;
	color: #fff;
}

#controls a.disabled {
	display: none;
}



#footer {
	display: none;
}

.unguided #footer {
	display: block;
	position: absolute;
	bottom: 0px;
	width: 100%;
	height: 8vh;
	display: flex;
	align-items: center;
	justify-content: left;
}


#wrapper.hasChapters #currentChapter {
	display: flex;
}

#currentChapter {
	cursor: pointer;
	display: none;
	align-items: center;
	justify-content: left;
	position: absolute;
	bottom: 16vh;
	text-align: center;
	margin-left: 20px;
	font-size: 1.6vh;
	padding: 0.5em 1em;
	width: 15em;
	box-sizing: border-box;
	border-radius: 8px;
	user-select: none;
	overflow: hidden;
	opacity: 0.9;
}

#currentChapter::after {
	content: "";
	width: 0;
	height: 0;
	border-left: 0.45em solid transparent;
	border-right: 0.45em solid transparent;
	border-bottom: 0.6em solid currentColor;
	margin-left: auto;
}

#chapters {
	display: none;
	position: absolute;
	bottom: 20vh;
	left: 20px;
	width: 15em;
	font-size: 1.6vh;	
	text-align: center;
	z-index: 1000;
	
}

#chapters .chapter {
	border-radius: 8px;
	margin-top: 2px;
	cursor: pointer;
	
	opacity: 0.95;
	overflow: hidden;
	display: flex;
  	align-items: center;    
  	justify-content: left;  
	padding: 0.5em 1em;

}

#chapters .chapter.current {
	font-weight: bold;
	opacity: 1;
}
#chapters .chapter::before {
	content: "";
	width: 0;
	height: 0;
	border-top: 0.45em solid transparent;
	border-bottom: 0.45em solid transparent;
	border-left: 0.6em solid currentColor;
	margin-right: 0.5vw;
}
#languageSelect {
	position: relative;
	margin-left: 20px;
}

#currentLanguage {
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 1.6vh;
	padding: 0.5em 1em;
	width: 5.5em;
	box-sizing: border-box;
	border-radius: 8px;
	user-select: none;
	opacity: 0.9;
}

#currentLanguage::after {
	content: "";
	width: 0;
	height: 0;
	border-left: 0.45em solid transparent;
	border-right: 0.45em solid transparent;

	border-bottom: 0.6em solid currentColor;
	margin-left: auto;
}

#languages {
	display: none;
	position: absolute;
	bottom: 100%;
	left: 0;
	margin-bottom: 2px;
	width: 5.5em;
	font-size: 1.6vh;
	z-index: 1000;
}

#languages .language {
	border-radius: 8px;
	margin-top: 2px;
	cursor: pointer;
	opacity: 0.95;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.5em 1em;
}

#languages .language.current {
	opacity: 1;
}

#currentLanguage img, #languages .language img {
	height: 1.2em;
	width: 1.6em;
	object-fit: cover;
	border-radius: 2px;
}

#footerButtons {
	text-align: right;
	flex-grow: 1
}


.audioPlayer {
	
	margin: 10px 20px;
	
}

#recordingPlayer {
	background-color: transparent !important;
}
#recordingPlayer .vjs-live-control, #recordingPlayer .vjs-progress-control {
	display: none;
}
#recordingPlayer .vjs-control-bar {
	font-size: 18px;
	background-color: transparent !important;
}

#videoplayer .vjs-control-bar {
	font-size: 18px;
}


#footer a.contact {
	float: right;

	display: block;
	text-align: center;
	text-decoration: none;
	color: #fff;
	font-size: 1.8vh;
	padding: 1vh 2vw;
	border-radius: 8px;
	margin-right: 20px;

}


#contact {
	padding-top: 5vh;
	color: #fff;
	z-index: 1000;
}
#contact a {
	color: #fff;
	text-decoration: none;
}


#contact #contact_card {
	margin: 0;
	padding: 2vh;
	
}

#contact a.btn {
	display: inline-block;
	border-radius: 8px;
	padding: 0.8rem 2rem;
	font-size: 1.5vh;
	margin-bottom: 2vh;
}
#contact a.btn i {
	margin-right: 2rem;
}

#contact a.btn2 {
	display: inline-block;

  	font-size: 2vh;
	
	padding: 0.8rem 1.4rem;

}
#contact a.btn2 i {
	margin-right: 2rem;
}


#contact #contact_viewing {
	padding-top: 10vh;
	background-repeat: no-repeat;
	background-position: top center;
	background-size: auto 10vh;
}


#contact #contact_viewing {
	font-size: 1.5rem;
}
#contact #contact_viewing i {
	display: block;
	font-style: normal;
	font-size: 4vh;
	margin-top: 2vh;
}

#contact #contact_viewing small {
	display: block;
	font-size: 2vh;
	
}
#contact #contact_name {
	font-size: 2vh;
	padding: 0 0 1vh 0;
}



#imageContainer img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

input[type=text], input[type=password] {
	background-color: #f9f9f9;
	padding: 10px;
	border: 1px solid #e0e0e0;
	margin: 10px;
	border-radius: 4px;
}

::placeholder {
	font-style: italic;
}

input[type=submit], a.button {
	display: inline-block;
	padding: 10px 20px;
	color: #fff;
	background-color: #0078d7;
	border: 0;
	margin: 10px;
	text-decoration: none;
	outline: none;
}


@media (min-width: 1000px) {
	#nowplaying {
		width: 40vw;
	}
	#nowplaying-playlist .playlistitem {
		width: 40vw;
	}
	#nowplaying-playlist .playlistitem::before {
		padding-left: 1vw;
		padding-right: 1vw;
	}
	#nowplaying.clickable::before {
		margin-left: 1vw;
		margin-right: 1vw;
	}

	
}


.tips {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(100, 100, 100, 0.5);
  	display: grid;
  	place-items: center;
	font-size: 3vh;
	color: #fff;
	cursor: pointer;
	user-select: none;
}

.tip {
	position: absolute;
    z-index: 10;
    width: max-content;
	max-width: min(240px, calc(100vw - 16px));
	max-height: calc(100vh - 16px - var(--tail));
	box-sizing: border-box;
	overflow-wrap: anywhere;
	overflow: visible;
    padding: 1.5vh;
    border: 1px solid #e4d8c8;
    border-radius: 12px;
    background: #fffdf9;
    color: #000;
    box-shadow: 0 12px 28px rgba(60, 40, 20, 0.12);
    font-size: 2vh;
    line-height: 1.4;
	cursor: pointer;
	user-select: none;
  }

  .tip::before,
  .tip::after {
    content: "";
    position: absolute;
    left: clamp(var(--edge), var(--ax), calc(100% - var(--edge)));
    transform: translateX(-50%);
    border-left: var(--tip) solid transparent;
    border-right: var(--tip) solid transparent;
    pointer-events: none;
  }

  .tip[data-side="bottom"]::before,
  .tip[data-side="bottom"]::after { top: 100%; border-bottom: 0; }
  .tip[data-side="top"]::before,
  .tip[data-side="top"]::after { bottom: 100%; border-top: 0; }

  .tip[data-side="bottom"]::before { border-top: calc(var(--tail) + 1px) solid #e4d8c8; }
  .tip[data-side="bottom"]::after { border-top: var(--tail) solid #fffdf9; }
  .tip[data-side="top"]::before { border-bottom: calc(var(--tail) + 1px) solid #e4d8c8; }
  .tip[data-side="top"]::after { border-bottom: var(--tail) solid #fffdf9; }