@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;600&display=swap');

/*
@font-face {
    font-family: 'Open Sans';
    src: url('fonts/OpenSans-Semibold-webfont.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('fonts/OpenSans-Semibold-webfont.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}
*/

* {
	margin: 0;
	padding: 0;
	outline: 0;
	box-sizing: border-box;
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

.clearfix {
	position:relative;
}

.clearfix:after {
	clear:both;
	content:".";
	display:block;
	height:0;
	line-height:0;
	visibility:hidden;
}

.hidden {
	display:none;
}

.gtm * {
	pointer-events: none;
}

html, body {
	width: 100%;
	height: 100%;
	background-color: black;
	color: rgb(0,0,0,0.8);
	overflow: hidden;
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	line-height: 1.5em;
    font-weight: 300;
}

@media (max-width: 576px){

	html, body {
		font-size: 12px;
	}

}

#webgl, canvas {
	width: 100%;
	height: 100%;
	cursor:grab;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	z-index: 1;
	overflow: hidden;
}

#bake_webgl, #bake_canvas {
	display:none;
	overflow: hidden;
}

#bake_webgl {
	position:fixed;
	bottom:2px;
	left:2px;
	height:200px;
	width:400px;
}

#loader {
	position: fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background-color: rgba(0,0,0,0.33);
	color:white;
	z-index: 999;
	text-align: center;
    cursor: wait;
}

#saver {
	position: fixed;
	top:0;
	left:0;
	width:100%;
	height:100% !important;
	background-color: black;
	z-index: 998;
	display:none;
}

#saver div {
	background-size: cover;
	background-position: center center;
	width:100%;
	height:100%;
}

#loader:after {
	content: '';
	position:absolute;
	top:50%;
	left:50%;
	width:100px;
	height:100px;
	transform: translate(-50%,-50%);
	background-image: url(images/sprites/sprite-loading.png);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	animation-name: rotate;
	animation-duration: 2s;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}

#loader #tips {
	position:absolute;
	top:50%;
	left:50%;
	transform: translate(-50%,-12vh);
	max-width: 33vw;
}

#loader #tips img {
	max-width: 24vw;
	max-height: 24vh;
	border-radius: 50%;
	margin: 0 auto 14px;
	border:solid 2px white;
}

#loader #bytes {
	position:absolute;
	top:75%;
	left:50%;
	width:200px;
	transform: translate(-50%,-50%);
}

@keyframes rotate {
  from {transform: translate(-50%,-50%) rotate(0deg);}
  to {transform: translate(-50%,-50%) rotate(360deg);}
}

h1, h2 {
	font-size: 1em;
	font-weight: 600;
	margin-bottom: 1em;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.title {
	font-size: 3em;
	line-height: 1em;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.subtitle {
	font-size: 1.5em;
	line-height: 1.5em;
}

p {
	margin-bottom: 0.5em;
}

b,strong {
	font-weight: 600;
}

sup {
	font-size: 0.5em;
}

a {
	text-decoration: none;
	color: inherit;
}

a[target="_blank"]{
	cursor: alias;
}

.fa {
	margin-right:0.5em;
}

.link {
	text-decoration: underline;
	cursor: pointer;
}

.number {
	font-size: 12px;
	width:20px;
	height:20px;
	line-height: 20px;
	vertical-align: middle;
	background-color: white;
	color:black;
	border-radius: 50%;
	display: inline-block;
	margin-right:10px;
	text-align: center;
}

hr {
	margin:30px auto;
	border:none;
	border-top:solid 1px #ccc;
	max-width: 100px;
}

img {
	display:block;
	max-width: 100%;
}

table {
	width:100%;
	border-spacing: 0;
	border-collapse: collapse;
	margin:15px 0;
}

table th, table td {
	padding:4px 8px;
	text-align: center;
	border:solid 1px rgba(127,127,127,0.5);
	margin: -1px 0 0 -1px;
}

small {
	display:block;
	padding:1em;
	font-size:10px;
	background-color: #eee;
}

.text-left {
	text-align: left;
}

.text-center {
	text-align: center;
}

.text-right {
	text-align: right;
}

.error {
	display:block;
	padding:10px 20px;
	margin:10px 0;
	border-radius:3px;
	border:solid 1px #da4152;
	background-color:#ffe5e5;
	color: #da4152;
}

.notice {
	display:block;
	padding:10px 20px;
	margin:10px 0;
	border-left:solid 2px #fc0;
	background-color:#fff7d7;
	color: #fff7d7;
}

.agree {
	display:block;
	padding:10px 20px;
	margin:10px 0;
	border-radius:3px;
	border:solid 1px #3ed12e;
	background-color:#e1f8de;
	color: #e1f8de;
}

.hidden {
	display:none;
}

/************ HEADER */

#main_logo {
	position: fixed;
	top: 2vh;
	left: 50%;
	transform: translateX(-50%);
	z-index: 9999;
	max-height:5vh;
	max-width:25vw;
}

@media (max-width: 768px){

	#main_logo {
		max-height:3vh;
		max-width:25vw;
	}

}

#splash_logo {
	max-height:150px;
	max-width:200px;
}

#credits {
	position:fixed;
	bottom:5px;
	right:10px;
	opacity: 0.5;
	font-size: 10px;
	color:white;
	text-shadow: 0px 0px 5px black;
	z-index: 2;
	text-align: right;
	line-height: normal;
	transition: all 0.5s ease;
}

#credits:hover {
	opacity: 1;
}

#backto_florim {
	position:fixed;
	top: 2vh;
	left: 2vw;
	opacity: 0.8;
	font-size: 14px;
	color:white;
	z-index: 2;
	text-align: left;
	line-height: normal;
	transition: all 0.5s ease;
}

@media (max-width: 576px){

	#backto_florim {
		display:none;
	}

}

#backto_florim:hover {
	opacity: 1;
}

#panel_splash {
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	z-index: 3;
	transition: all 0.5s ease;
	text-align: center;
	display:flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding:10vh 0 5vh;
	background-color: #f2f2f2;
	transition: all 0.5s ease;
}

#panel_splash.start {
	color:white;
	background-color: black;
	text-shadow: 0px 0px 3px rgba(0,0,0,0.5)
}

#panel_splash:before {
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	content:'';
	display:block;
	background-image: url(images/gui/preview.png);
	background-size: cover;
	background-position: center center;
	opacity: 0;
	transition: all 1s ease;
}

#panel_splash.start:before {
	opacity: 0.5;
}

.panel_splash_content {
	width: 100%;
	max-height: 100%;
	overflow-y: auto;
	padding: 0 5vw;
	position:relative;
}

#panel_splash .collezione {
	margin-bottom: 2em;
	text-align: left;
}

#panel_splash .collezione h2 {
	display:block;
	padding-bottom:0.5em;
	margin-bottom:0.5em;
	border-bottom:solid 1px #ccc;
}

#panel_splash .colore {
	display: inline-block;
	margin:0 0.5em;
	width:100px;
	vertical-align: top;
	cursor: pointer;
	text-align: center;
}

#panel_splash .colore img {
	width:100%;
	border-radius: 50%;
	margin-bottom: 0.5em;
	border: solid 5px rgba(255,255,255,0.5);
	transition: all 0.5s ease;
}

#panel_splash .colore:hover img {
	border: solid 5px rgba(255,255,255,1);
}


/************ MENU ICONS */

#menu {
	position: fixed;
	top: 50%;
	right:0;
	z-index: 2;
	transform: translate(100%,-50%);
	background-color: white;
	width: 150px;
	min-width: 15vw;
	text-align: center;
	box-shadow: 0px 0px 5px rgba(0,0,0,0.2);
	padding: 10px 0;
	text-transform: uppercase;
	transition: all 0.5s ease;
}

@media (max-width: 576px){

	#menu {
		top: auto;
		bottom: 0;
	}

}

#menu.open {
	transform: translate(0,-50%);
}

#menu > span {
	display: block;
	padding: 0.8em 0;
	transition: all 0.5s ease;
	cursor: pointer;
}

#menu > h1 {
	display: block;
	padding: 0.8em 0 calc(0.8em + 10px);
	margin:0 0 10px;
	border-bottom: solid 1px rgba(76, 168, 52, 1);
}

@media (max-width: 576px){

	#menu > h1 {
		display: none;
	}

}

#menu > span:hover , #menu > span.active {
	color: rgba(76, 168, 52, 1);
}

/*
#top_menu {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 2;
	background-color: white;
	text-align: right;
	box-shadow: 0px 0px 5px rgba(0,0,0,0.2);
	text-transform: uppercase;
	transition: all 0.5s ease;
}
*/

/************ COLS ****************/

/*
.col-1 {
	width:100%;
	padding: 0 20px;
	margin-bottom:20px;
}

.col-2 {
	float:left;
	width:50%;
	padding: 0 20px;
	margin-bottom:20px;
}

.col-3 {
	float:left;
	width:33%;
	padding: 0 20px;
	margin-bottom:20px;
}

.col-4 {
	float:left;
	width:25%;
	padding: 0 20px;
	margin-bottom:20px;
}

.col-5 {
	float:left;
	width:20%;
	padding: 0 20px;
	margin-bottom:20px;
}

.col-6 {
	float:left;
	width:16%;
	padding: 0 20px;
	margin-bottom:20px;
}

@media (max-width: 768px){

	.col-2, .col-3, .col-4, .col-5, .col-6 {
		float:none;
		width:100%;
	}

}
*/


/************ LISTS */

.panel ul {
	margin-bottom:1.2em;
}

/*
.panel ul li {
	list-style-type: none;
	padding-bottom: 7px;
	margin-bottom: 7px;
	border-bottom:solid 1px rgba(0,0,0,0.1);
	cursor: pointer;
	transition: color 0.3s ease;
}

.panel ul li:hover {
	color: rgba(76, 168, 52, 1);
}
*/

.panel ul li {
	list-style-type: none;
	font-size: 1.2em;
	padding: 0.8em;
	margin-bottom: 0.8em;
	cursor: pointer;
	transition: color 0.5s ease , background 0.5s ease;
	/*border: solid 1px rgba(0,0,0,0.1)*/
	background: rgba(255,255,255,0.5);
}

.panel ul li:hover {
	color: rgba(76, 168, 52, 1);
	background: rgba(255,255,255,1);
	/*border: solid 1px rgba(76, 168, 52, 1);*/
}

.panel ul li.active {
	opacity:0.5;
	color: rgba(76, 168, 52, 1);
	/*border: solid 1px transparent;*/
}

.panel ul li p {
	margin-bottom:0;
}

/*
.panel ul li:last-child {
	border-bottom:none;
}
*/


/************ MENU CONTENTS */

.flex {
	display:flex;
	height:100%;
	flex-direction:column;
	flex-wrap:nowrap;
	justify-content: center;
    align-items: flex-end;
}

.panel {
	position: fixed;
	top: 0;
	right: 0;
	width: 50vw;
	height: 100%;
	z-index: 3;
	transition: all 0.5s ease;
	transform: translateX(100%);
	text-align: center;
}

@media (max-width: 768px){

	.panel {
		width: 100%;
		height: 100%;
	}

}

.panel.open {
	z-index: 5;
	transform: translateX(0);
}

.panel.active {
	right:0;
	z-index: 4;
}

.panel .panel_info {
	background-color: rgba(255,255,255,0.9);
	width: 33vw;
	padding:40px 40px 20px;
	flex: 0 1 auto;
}

.panel .panel_content {
	background-color: #f2f2f2;
	overflow-y: scroll;
	padding:40px;
	width: calc(33vw + 15px);
	transition: all 0.5s ease;
	margin-right:-15px;
	flex: 1 1 auto;
}

.panel.open .panel_content {
	width: calc(40vw + 15px);
}

@media (max-width: 768px){

	.panel .panel_info {
		width: 50vw;
		padding-top: 9vh;
	}
	
	.panel .panel_content, .panel.open .panel_content {
		width: calc(75vw + 15px);
	}

}

@media (max-width: 576px){
	
	.panel .panel_info {
		width: 100vw;
	}
	
	.panel .panel_content, .panel.open .panel_content {
		width: calc(100vw + 15px);
	}
	
}


body .close {
	position:absolute;
	display:block;
	width:20px;
	height:20px;
	top:20px;
	right:20px;
	font-size: 30px;
	line-height: 20px;
	cursor: pointer;
	color: inherit;
	opacity: 0.5;
}


/************ GUIDA */

#guide_panel .istruzione {
	display:inline-block;
	width: 45%;
	margin:0 2% 30px 0;
	vertical-align: top;
}

@media (max-width: 767px){

	#guide_panel .istruzione {
		width:100%;
		margin:0 0 30px;
	}
	
}

.istruzione img {
	float:left;
	margin:0 20px 20px 0;
	width:100px;
}

.istruzione b {
	font-size: 18px;
	display:inline-block;
	margin-bottom:7px;
}


/************ MAP */

#mappa {
	position:relative;
	margin:0 auto;
	max-width: 25vw;
}

#mappa img {
	width:100%;
}

#mappa .pin {
	position:absolute;
	display:block;
	background-color: rgba(255,255,255,0.5);
	min-width:2vh;
	min-height:2vh;
	width: 14px;
	height: 14px;
	border: solid 2px rgba(76, 168, 52, 1);
	border-radius: 50%;
	transform: translate(-50%,-50%);
	cursor: pointer;
	transition: all 0.5s ease;
}

#mappa .pin:hover , #mappa .pin.active {
	background-color: rgba(76, 168, 52, 1);
}


/************ COLLEZIONI */

#back_sezione {
	font-size: 0.8em;
	padding: 0.8em;
	margin:-39px -39px 2em;
	cursor: pointer;
	transition: color 0.5s ease , background 0.5s ease;
	background: rgba(255,255,255,0.5);
	display:block;
}

#back_sezione:hover {
	color: rgba(76, 168, 52, 1);
	background: rgba(255,255,255,1);
}

#sezione_collezione ul {
	text-align: left;
}

#sezione_collezione li p:nth-child(1) {
	font-weight: 600;
	margin-bottom: 0.5em;
}

#sezione_collezione li p:nth-child(2) {
	font-size:0.8em;
}

#sezione_collezione li.active {
	text-align: center;
}

#sezione_collezione li.active p:nth-child(1) {
	font-weight: 300;
	margin-bottom: 0;
}

#sezione_collezione li.active p:nth-child(2) {
	display:none;
}

#sezione_collezione li {
	position:relative;
	padding-left:calc(50px + 0.8em);
	margin-left:50px;
	min-height: 100px;
}

#sezione_collezione li img {
	position:absolute;
	width:100px;
	height:100px;
	top:50%;
	left:-50px;
	transform: translateY(-50%);
	border-radius: 50%;
}

#sezione_colore ul {
	text-align: left;
}

#sezione_colore li {
	display: inline-block;
	vertical-align: top;
	width: 100px;
	border: none;
	background: transparent;
	padding:0.5em;
	text-align: center;
}

/*
@media (min-width: 1024px){

	#sezione_colore li {
		width: 32%;
	}

}

@media (min-width: 1280px){

	#sezione_colore li {
		width: 24%;
	}

}
*/

#sezione_colore li img {
	width:100%;
	border-radius: 50%;
	margin-bottom:0.5em;
	border: solid 5px rgba(255,255,255,0.5);
	transition: all 0.5s ease;
}

#sezione_colore li:hover img {
	border: solid 5px rgba(255,255,255,1);
}

#sezione_colore li p {
	font-size:0.8em;
}

#sezione_colore li.active {
	display: block;
	width: 100%;
}

#sezione_colore li.active img {
	display:none;
}

#sezione_colore li.active p {
	font-size:1em;
}

/************ INFO */

.side_thumb{
	max-width: 25vw;
	max-height: 25vh;
	border-radius: 50%;
	margin: 0 auto 14px;
	border:solid 2px white;
}

/************ GUI */

.overlay {
	position:fixed;
	left:0;
	top:0;
	right:0;
	bottom:0;
	background-color: rgba(0,0,0,0.5);
	z-index: 50;
	display:none;
}

.window {
	display: block;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width:100%;
	max-width:1024px;
	max-height:100%;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
	z-index: 51;
	overflow: hidden;
	background-color: white;
}

@media (min-width: 767px){
	.window {
 		min-width:768px;
	}
}

.window_content {
	overflow-y: scroll;
	padding:20px;
	max-height: 100%;
	width: calc(100% + 15px);
	transition: all 0.5s ease;
}

.window_content video {
	width:100%;
}

.window_content img {
	border-radius: 3px;
}

.window_content .note-float-left {
	margin-right:40px;
}

.window_content .note-float-right {
	margin-left:40px;
}

.window_content .gallery {
	width:50%;
	float:left;
	margin-right:40px;
}

.window_content .gallery_item img {
	max-width:100%;
	max-height:100%;
	margin:auto;
}

@media (max-width: 767px){
	
	.window_content .note-float-left , .window_content .note-float-right {
		margin:0;
		float:none !important;
		width: 100% !important;
	}
	
}

.window_content a {
	text-decoration: underline;
}

#tooltip {
	display:none;
	background-color: white;
	padding:4px 8px;
	position:fixed;
	z-index: 200;
	max-width:200px;
	text-align: center;
	border-radius: 3px;
	transform: translate(-50%,-120%);
	opacity: 0.9;
	color:black;
}

#info.window {
	top:150%;
	transition: all ease 0.5s;
	opacity: 0;
}

#info.window.open {
	top:50%;
	opacity: 1;
}

/************ EDITOR */

/*
.form {
	background-color: rgba(127,127,127,0.2);
	border-radius: 3px;
	padding:15px;
	max-width: 400px;
}
*/

input:not([type="checkbox"]), select, textarea {
	font-family: inherit;
	display:inline-block;
	transition: all 0.5s ease;
	border:solid 1px rgba(76, 168, 52, 1);
	color: black;
	background-color: white;
	font-size: 14px;
	padding:0.5em 1.5em;
	margin: 0.5em 0.25em;
	box-shadow: inset 0px 0px 3px rgba(0,0,0,0.1);
}

input[type="checkbox"] {
	border:solid 1px rgba(76, 168, 52, 1);
	box-shadow: inset 0px 0px 3px rgba(0,0,0,0.1);
}

.button {
	display:inline-block;
	transition: all 0.5s ease;
	border:solid 1px rgba(76, 168, 52, 1);
	color: rgba(76, 168, 52, 1);
	background-color: rgba(255,255,255,1);
	font-size: 14px;
	padding:0.5em 1.5em;
	margin: 0.5em 0.25em;
	cursor: pointer;
	text-transform: uppercase;
	text-shadow: none;
	letter-spacing: 0.1em;
}

.button[disabled] {
	opacity: 0.2;
}

.button_big {
	display:block;
	width:100%;
	margin: 15px 0 0;
	text-transform: uppercase;
}

.button:hover {
	background-color: rgba(76, 168, 52, 1);
	color: white;
}

#question_1 .button {
	border:none;
	background-color: transparent;
	min-width: 180px;
}

#question_1 .button img {
	display:inline-block;
	transition: all 0.5s ease;
	border:solid 1px rgba(76, 168, 52, 1);
	border-radius: 50%;
	max-width: 100px;
	margin: 0 0 1em;
	opacity: 0.8;
}

#question_1 .button:hover {
	background-color: transparent;
	color: rgba(76, 168, 52, 1);
}

#question_1 .button:hover img {
	opacity: 1;
}

/*
#editor .window, #accesso .window {
	max-width: 600px;
}
*/

#accesso .window {
	max-width: 400px;
}

/************ SUMMERNOTE */

/*
.note-editor * {
	box-sizing: revert;
	color: revert !important;
	background: revert !important;
}
*/

.note-editable {
	background-color: white;
}

.note-modal-backdrop {
	display: none !important;
}

/************ NOTIFICATIONS */

#notifications {
	position:fixed;
	bottom:10px;
	right:10px;
	z-index: 100;
	width: 400px;
	max-width: calc(100% - 20px);
}

.notification {
	background-color: white;
	padding:10px 20px;
	margin:5px 0 0;
	border-left: solid 4px rgb(76, 168, 52);
}

/************ VIDEO CHAT */

#chat_panel {
	max-width:350px;
	border-top-left-radius: 3px;
}

@media (max-width: 767px){

	#chat_panel {
		max-width: none;
		border-top-left-radius: 0;
		top:50%;
		height:50%;
	}

}

#chat_panel .panel_content {
	padding:0;
	height: 100%;
}

#chat_panel .panel_content #videochat {
	height: 100%;
	width: 100%;
}