
/***** GENERAL ******/
body {
	margin-top: 20px;
}




/***** HEADER ******/

.photomobile {
	display:none;
}

@media all and (max-width:900px) {
	.photodesktop {
		display:none;
	}
	.photomobile {
		display:block;
	}
}

.page .subtitle {
	font-size:1.5em;
	line-height: 130%;
}

.page .subtitle span {
	font-weight: 600;
	white-space:nowrap;
}

.subtitle {
	margin-bottom: 1.5em;
}

.h1qualifica {
	font-size: .6em;
	line-height: 120%;
	font-weight: 400;
	letter-spacing: -.03em;
	margin-top: .3em;
}

.page-header {
	margin-bottom: 50px;
}

.page-header figure {
	margin: 0;
}



/***** PAGENAV ******/

.page-nav {
	display:flex;
	margin:0 -1px;
}

.page-nav > div {
	padding: 2px 1px;
}

.page-nav a {
	display:block;
	background-color: #e4241f;
	color: #FFF !important;
	line-height: 300%;
	padding: 0 2em;
	transition: background .2s;
	
}

.page-nav a:hover,
.page-nav a.active {
	background-color: #c2241a;
	color: #FFF !important;
	border:none;
}




body.intervento .subtitle {
	margin-bottom: 0.5em;
}

body.intervento p,
body.intervento li {
	font-size: .9em !important;
	font-weight:400;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto !important;
	text-align: justify;
}

body.intervento p a {
	font-weight:bold !important;
}

body.intervento h2 {
	font-size: 1.3em;
	font-weight: 600;
	color: #1e8b80;
	border-bottom:1px solid #999;
	padding-bottom: .3em;
}





@media all and (max-width:700px) {
	body {
		margin-top: 0;
	}


	.page-nav a  {
		padding: 0 1em;
		line-height: 250%;
	}
	
		
}



@media all and (max-width:500px) {
	body {
		margin-top: 0;
	}

	.page-nav a  {
		padding: 0 1em;
		line-height: 250%;
	}

	.page-header {
		margin: 0 -20px 50px -20px;
	}		
}

@media all and (max-width:400px) {
	
	body {
		margin-top: 0;
	}
	
	.page-nav a  {
		font-size: 3vw;
		padding: 0 3vw;
		line-height: 7vw;
	}	

	
}




/***** EMBED ******/
			
.fit-video {
	padding-bottom: 56.25% !important;
}

#pdfContainer.fit-video {
	padding-bottom: 65% !important;
}

.framevideo {
	position:relative;
	cursor:pointer;
}

.framevideo::after {
	position:absolute;
	display:block;
	content: '';
	left:0;
	right:0;
	top:0;
	bottom:0;
	background-image:url('/images/icon-playvideo.png');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 15%;
}

@media (max-width:800px) {

	.framevideo::after {
		background-size: 20%;	
	}
}

/***** PROGRAMMA *******/




.programma {
	font-size: .9em !important;
	text-align:left;
	line-height:160%;
}


.programma .sezione {
	/*color:#e4241f;*/
	font-weight:bold;
	letter-spacing:-.04em;
	margin-top:20px;
}

.programma .titolosezione {
	letter-spacing:-.04em;
	margin-bottom:20px;
}

.programma .relazione {
	margin-top:20px;
	margin-bottom:0px;
	margin-left:50px;
	color:#e4241f;
	font-weight:bold;
}

.programma .relatore  {
	/*margin-top:0 !important;*/
	margin-left:50px;
	font-weight:bold;
}

.programma .relatore a {
	font-weight:bold !important;
}

.programma .qualifica {
	margin-left:50px;
}

.programma .testoprogramma {
	margin-left:50px;
}


/*			.programma div {
	text-align:center !important;
}*/

.programma .orario {
	margin:2em 0 0 0 !important;
	color: #e4241f;
	border-bottom: 1px solid #CCC;
	/*margin-top:3em;*/
}
.programma .orario:first-of-type {
	margin-top:0 !important;
}

@media (max-width:500px) {
	.programma {
		padding-left:0;
		padding-right:0;
	}
	.programma .relatore,
	.programma .qualifica,
	.programma .relazione {
		margin-left:25px !important;
	}

}

.linkvideo {
	cursor:pointer;
}

.linkvideo:hover {
	text-decoration: underline;
	color: #e4241f;
}

.linkvideo:hover::after {
	text-decoration: underline;
	opacity: 1;
}

.linkvideo::after {
	content: ' ';
	display: inline-block;
	opacity: 0;
	margin-left: 10px;
	position: relative;
	top: 3px;
	width: 20px;
	height: 20px;
	background-color: #e4241f;
	background-image: url('/images/icon-play.png');
	background-size: cover;
	border-radius: 50%;
}






/***** INTERVENTI ******/

.interventi {
	display:flex;
	flex-wrap:wrap;
	margin: 0 -15px;
	justify-content: center
}

.interventi > div {
	padding: 15px;
	width:33%;
}

.interventi > div a {
	display:block;
	padding: 15px;
	background-color: #F8F8F8;
	transition: background .3s ease-out;
}
.interventi > div a::after {
	clear: both;
	display: block;
	content: "";
}

.interventi a img {
	float:left;
	width: 100px;
}

.interventi a > div {
	margin-left: 120px
}


.interventi .relatore  {
	font-weight: 700;
	font-size: 1em;
	letter-spacing: -.03em;
	line-height: 110%;
}

.interventi .qualifica {
	font-size: .8em;
	line-height: 130%;
	margin-top: 1em;
}


.interventi > div a:hover {
	background-color: #EEE;
	border: none;
}

@media (max-width:1200px) {

	.interventi {
		margin: 0 -10px;
	}

	.interventi > div {
		padding: 10px;
	}

	.interventi a > div {
		margin-left:80px
	}
	
	.interventi a img {
		width:70px;
	}

	.relatore  {
		font-size: 1em;
	}				

}


@media (max-width:1000px) {
	
	.interventi > div {
		width:50%;
	}				
	
}

@media (max-width:600px) {
	
	.interventi {
		font-size: 1.1em;	
	}
	
	.interventi > div {
		width:80%;

	}				

	.page .subtitle span {
		white-space: normal;
	}

	
}


@media (max-width:400px) {
	
	.interventi > div {
		width:100%;

	}				
	
}

			
			
			
		
		

			