
/***** GENERAL ******/
body {
	margin-top: 10px;
}
/****
header {
	height: 160px !important;
}

header .logo-container {
	width: 300px;
	position:relative;
	background-color:#FFF;
	border-right: 20px solid #FFF;;
}

header .logo-container a {
	padding: 0;
}

header .logo {
	position: static;
	width:100%;
	margin-top: -17px;
}

header nav a {
	padding: 5px 10px;
	font-size: .9em;
}

.red-band {
	left:0;
    height: 60px;
	z-index:-100;
}

@media (max-width: 2000) {
	header {
		height: 160px !important;
	}
}
***/



button,a,.btn,.btn:focus {

	box-shadow: none !important;
}


/***** 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;
}





@media all and (max-width:700px) {
	body {
		margin-top: 0;
	}
	/**
	header .logo {
		width: 300px;
		top:-24px;
	}	

	.red-band {
		left: 310px;
		height: 60px;
	}
***/
	.page-nav a  {
		padding: 0 1em;
		line-height: 250%;
	}
	
		
}



@media all and (max-width:500px) {
	body {
		margin-top: 0;
	}
/**
	header {
		height: 130px !important;
	}	

	
	header .logo {
		width: 250px;
		top:-20px;
	}	

	.red-band {
		left: 260px;
		height: 50px;
		top:0;
		background-color:#e4241f;
	}
	nav .wearealogo {
		height: 20px;
		right: 43px;
		bottom: -40px;
	}
***/
	.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;
	}
/***
	header {
		height: 30vw !important;
	}
	
	header .logo {
		width: 66vw;
		top:-6vw;
	}	

	.red-band {
		left: 68vw;
		height: 12.3vw;
		top:0;
		background-color:#e4241f;
	}
	nav .wearealogo {
		height: 4vw;
	}
***/
	.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%;
}



			a.refnote {
				margin-left: .2em;
			}

			.tab-pane {
				padding: 50px 0 0 0; 
				/***
				border:1px solid var(--bs-border-color);
				border-top:10px solid var(--bs-border-color);
				***/
			}
			
			.nav-tabs .nav-link {
				font-weight:600;
				color:#1e8b80;
				font-size: 1.1em;
				padding: .5em 1em;
			}
			
			.nav-tabs .nav-link.active {
				background-color: var(--bs-border-color);
				border-bottom:1px solid var(--bs-border-color);
			}
			
			.testointervento {
				max-width: 800px;
				margin-left: auto;
				margin-right: auto;
				font-size: .9em;
			}
			
			
			
			
			.testointervento p,
			.testointervento li {
				font-weight:400;
				margin-bottom: .5em;
				line-height: 1.8em;
				overflow-wrap: break-word;
				text-align: justify;
				hyphens: auto;
				-webkit-hyphens: auto;
				-moz-hyphens: auto;
			}
			
			.testointervento h2,
			.testointervento h3 {
				font-weight:bold;
				border-bottom: 1px solid #666;
			}


/***** INTERVENTI ******/

section#elenco-interventi {
	background-color:#DDD;
	padding: 0 0 50px 0;
}

section#elenco-interventi .header-section {
	font-size: 2em;
	margin: 0;
	background-color:#CCC;
	padding: 10px 0;
}

section#elenco-interventi h2 {
	font-size: 1.8em;
}

section#elenco-interventi .titolosessione {
	font-weight: 600;
}



.interventi {
	display:flex;
	flex-wrap:wrap;
	margin: 0 -15px;
	justify-content: left
}

.interventi > *:not(div) {
	width:100%;
	margin-left: 15px;
	margin-right: 15px;
}

.interventi > div {
	padding: 15px;
	width:25%;
}


.interventi > div a {
	display:block;
	padding: 15px;
	border: 1px solid #AAA;
	background-color: #F8F8F8;
	max-width: 350px;
	margin:auto;
	transition: ALL .3s ease-out;
}
.interventi > div a::after {
	clear: both;
	display: block;
	content: "";
}

.interventi a img {
	float:left;
	width: 70px;
}

.interventi a > div {
	margin-left: 85px
}


.interventi .relatore  {
	font-weight: 700;
	font-size: 1em;
	letter-spacing: -.03em;
	line-height: 110%;
}

.interventi .relatore .cognome  {
	text-transform:uppercase;
	font-weight: 700;
}

.interventi .qualifica {
	font-size: .8em;
	line-height: 140%;
	margin-top: .5em;
}


.interventi > div a:hover {
	background-color: #EEE;
}

.notaredazione {
	font-size: .9em;
	font-weight: bold;
	margin-top: 2em;
}




.nav.nav-tabs {
	display:none;
}

#videointervento {
	max-width:800px;
	margin:auto;
}




@media (max-width:1200px) {

	.interventi {
		margin: 0 -10px;
	}

	.interventi > div {
		padding: 10px;
		width:33%;
	}

	.interventi a > div {
		margin-left:80px
	}
	
	.interventi a img {
		width:70px;
	}

	.relatore  {
		font-size: 1em;
	}				

}


@media (max-width:992px) {
	
	.interventi > div {
		width:50%;
	}				
	
}

@media (max-width:768px) {
	
	.interventi {
		font-size: 1em;	
	}

	.page .subtitle span {
		white-space: normal;
	}

	.tab-pane {
		padding: 50px 0 0 0; 
	}
	
}


@media (max-width:576px) {
	
	.interventi > div {
		width:100%;

	}				
	
}


body.addnotation .addnotation,
body.addnotation #in-frame {
	/***max-width: 900px;***/
	margin-left: auto;
	margin-right: auto;
}
			
		
		

			