@charset "UTF-8";
@import url('https://fonts.googleapis.com/css?family=Titillium+Web&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');

/* CSS Document */



body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 24px;
}

#splash{
		position: absolute;
		top:0;
		left: 0;
		width: 100%;
		height: 100%;
		background-image: url('./images/splash.jpg');
		background-size: cover;
		background-position: center;

		  -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 */

		font-family: 'Roboto', sans-serif;
	}	
#splash_loading{
	color: #FFFFFF;
	font-size: 2em;
	text-align: center;
	position: absolute;
	bottom: 50px;
	width: 100%;
	text-shadow: 0px 0px 3px rgba(150, 150, 150, 1);
}


.card {
	display: none;
	
	position: fixed;
	z-index:10000;
	top: 10px;
	/* CARD CENTRALE
	left: 50%;
	margin-left: -180px;
    */
	/* CARD A SINISTRA*/
	left:10px;
	/**/
	width: 360px;
	
    height: auto; /* MOD 4 LUGLIO 640px; */
	
	
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border-radius: 0; /* MOD 4 LUGLIO 5px; */
	background-color: #FFF;
	
	  -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 */
}



div.image {
    width: 100%;
    position: relative;
	
	height: 170px; /* MOD 4 LUGLIO 250px; */
	background-position: center;
    background-size: cover;
}

div.image .tipologia {
    position: absolute;
    top: 10px;
    left: 0;
    width: auto;
    min-width: 100px;
    height: 20px;
    background-color: #d20019;
    padding: 0.5em;
    color: #fff;
    display: flex;
    align-items: center;
    font-family: 'Titillium Web', sans-serif;
    font-weight: 700;
    font-size: 1.2em;
    /*22.4px*/
}

div.image img {
    width: 100%;
    height: 250px;
}

div.image a .icon-close {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: rgba(58, 58, 58, 0.8);
    top: 10px;
    right: 10px;
    border-radius: 50%;
}


div.image a span.icon-close::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: #fff;
    top: calc(50% - (2px/2));
    left: calc(50% - (20px/2));
    border-radius: 5px;
    transform: rotate(45deg);
}

div.image a span.icon-close::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: #fff;
    transform: rotate(-45deg);
    top: calc(50% - (2px/2));
    left: calc(50% - (20px/2));
    border-radius: 5px;
}

.container {
	padding: 0 15px; 
	overflow: hidden;
	position: absolute;
	
	background: #fff;
	height: auto;
	max-height: 450px;

	/* MOD 21 APRILE 2020 - aumentata max height per rendere leggibile archivio di stato di napoli
	max-height: 410px;
	*/

	/* MOD 4 LUGLIO
	height: 390px;
	*/
}

.container h2 {
	font-size: 17px;
    line-height: 1.4em;
    font-family: 'Titillium Web', sans-serif;
    font-weight: 600;
    margin: 10px 0;
	/*
	    height: 66px;
    text-overflow: ellipsis;
	overflow: hidden;
	*/
}

#blank{
	height: 20px;
	width: 100%;
}

div.description{font-size: 14px;line-height: 1.3rem;}


.right{
	float:left;
	width:50%;
	
	margin-top: 5px;
}

span.address{
	display:inline-block;
	font-weight:600;
	margin:6px 0;
	font-size:12px;
	line-height:1rem;
	min-height: 32px;
}

.left{
float:right;
width:50%;
display:flex;
justify-content:center;
align-items:center;
	
	margin-top: 5px;
}

a.cta {
	background-color:#d20019;
	color:#ffffff;
	text-decoration:none;
	padding:5px 12px;
	font-weight:600;
	text-transform:uppercase;
	font-size:13px;
	border-radius:30px
}

span.arrow {
	width:10px;
	height:2px;
	background:#ffffff;
	display:inline-block;
	position:relative;
	top:-3px;}

span.arrow::before{
	right:-3px;
	content:'\2192';
	position:absolute;
	width:10px;
	top:-3px;
	height:2px;
	transform:rotate(45deg);
	background:#ffffff;}

span.arrow::after{
	content:'\2192';
	position:absolute;
	width:10px;
	right:-3px;
	background:#ffffff;
	top:3px;
	transform:rotate(-45deg);
	height:2px;
}

/*
.right{
	float: left;
	width: 50%;
}
.left {
	float: right;
	width: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
}

span.address {
	display:inline-block;
	font-weight:600;
	margin: 6px 0;
	font-size: 12px;
	line-height: 1rem;
}



a.cta { 
	background-color: #d20019;
	color: #ffffff;
	text-decoration: none;
	padding: 5px 12px;
	font-weight: 600;
	text-transform: uppercase;
	font-size:13px;
	border-radius:30px
}

span.arrow {width: 10px;height: 2px;background: #ffffff;display: inline-block;position: relative;top: -3px;}

span.arrow::before {right: -3px;position: absolute;width: 10px;top: -3px;height: 2px;transform: rotate(45deg);background: #ffffff;}

span.arrow::after {position: absolute;width: 10px;right: -3px;background: #ffffff;top: 3px;transform: rotate(-45deg);height: 2px;}
*/


/*
span.address {
	display: inline-block;
	font-weight: 600;
	margin-top: 6px;
	font-size: 12px;
	
    width: 220px;
}
span.approfondisci{
	width: 110px;
    display: inline-block;
}
span.approfondisci a{
	text-decoration: none;
	color: #d20019;
	font-weight: 600;
}
span.approfondisci a:hover{
	
}



@media screen and ( max-height: 660px ) {
	.card{
		height: 500px;
		width: 320px;	
	}
	.container{height: 300px;}
	div.image {height: 200px;}
}
*/


/* ICONE */

.icon {
	width: 22px;
	height: 22px;
	margin-left: 4px;
	margin-right: 14px;
}


.museo {
    background: url(poi-images/icon/museo.svg) no-repeat;
}
.sito-archeologico {
    background: url(poi-images/icon/sito_archeologico.svg) no-repeat;
}
.teatro{
    background: url(poi-images/icon/teatro.svg) no-repeat;
}
.fondazione{
    background: url(poi-images/icon/fondazione.svg) no-repeat;
}
.luogo-culto{
    background: url(poi-images/icon/luogo_culto.svg) no-repeat;
}
.edificio-storico{
    background: url(poi-images/icon/edificio_storico.svg) no-repeat;
}
.luogo-interesse{
    background: url(poi-images/icon/luogo_interesse.svg) no-repeat;
}

.archivio{ /*GENERICA */
    background: url(poi-images/icon/luogo_interesse.svg) no-repeat;
}
.biblioteca{ /*GENERICA */
    background: url(poi-images/icon/luogo_interesse.svg) no-repeat;
}

/* DIDA VIRTUAL TOUR */
.didavt, .didapastpresent, .dida3dobject {
	position: fixed;
    top: 31px;
    left: 4%;
    background: black;
    width: 90%;
    color: #FFF;
    padding: 1%;
	border-radius: 10px;

	display: none;
	/*display:flex;*/
}
.didavt_text, .didapastpresent_text, .dida3dobject_text {
	padding: 10px;
	flex-grow: 1;
}
#didavt_title, #didapastpresent_title, #dida3dobject_title  {
	font-size: 1.3rem;
	line-height: 1.5rem;
	font-weight: bold;
	margin-bottom: 10px;
	
}
#didavt_subtitle, #didapastpresent_subtitle, #dida3dobject_subtitle {
	font-size: 1rem;
    line-height: 1.1rem;
	font-style: italic;
}
#dida3dobject_text {
	margin-top: 10px;
}
#dida3dobject_text p {
	margin: 0;
}
#didavt_close {

}
#didavt_close:hover, #didapastpresent_close, #dida3dobject_close{
	cursor: pointer;
}
#didavt_close img, #didapastpresent_close img, #dida3dobject_close img {
	width: 30px;
	padding: 10px;
}
/* DIDA VIRTUAL TOUR */