body
{
	margin: 0;
	padding: 0;
	font-family: georgia,garamond;
	background: #004 url(images/bg01.png) repeat;
}



header
{
	padding: 10px 100px;
	box-sizing: border-box;
	
}

section
{
    width: 100%;        /* Su mobile prende tutto lo schermo */
    height: auto;       /* Corretto da 100vh a auto per non tagliare la lista pubblicazioni */
    margin: 0 auto;     
}


section.sec2
{
	padding: 20px 20px 20px 20px;
	box-sizing: border-box;
	height: auto;
	background: #fff;
	border-radius: 8px; 
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); 
}

section.sec2 h2
{
	font-size: 2.4em;
	margin:0;
	padding:0 0 20px;
	color: #1F1851
}

section.sec2 h3
{
	font-size: 1.8em;
	margin:0;
	padding:0 0 20px;	
}


section.sec2 h4
{
	font-size: 1.4em;
	margin:0;
	padding:0 0 10px;	
}


section.sec2 p
{
	font-size: 1em;
	margin:0;
	padding:0;	
}

section.sec2 y
{
	font-size: 1.2em;
	margin:0;
	padding:0;	
}


section.sec2 papt
{
	font-size: 1.1em;
	margin:0;
	padding:0;
	color: #000E80
}

section.sec2 author
{
	font-size: 0.9em;
	margin:0;
	padding:0;
	color: #000
}

section.sec2 jour
{
	font-size: 1.0em;
	margin:0;
	padding:0;
	color: #000
}




section.sec3
{
	width: 100%;
	height: 90px;
	margin: 0px auto 0px 0px;
	background: rgba(88,88,88,0.50)
}

.sidebar
{
    width: 100%;        /* Su mobile si dispone sopra a tutta larghezza */
    padding: 15px;
    margin: 0 auto 20px auto;
    background: rgba(255,255,255,0.4);
    box-sizing: border-box;
}


.sidebar .hs2
{
	font-size: 1.1em;
	margin:0;
	padding:0 0px 0px;	
}

.sidebar .ps
{
	font-size: 1.0em;
	margin:0;
	padding:0px 0px;
}


a {
  transition: all 0.3s ease-in-out;
}

a:hover {
  /* Colore per l'hover, quando il cursore va su link: */
  color: #FDD400;
  text-decoration: none;
}




/* On large screens (PC)*/
@media all and (min-width:1024px) {

  /* ---------------------------------------------------
     1. NUOVO LAYOUT GENERALE (Flexbox)
  --------------------------------------------------- */
  .main-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; 
    max-width: 1400px;       
    margin: 20px auto;       
    padding: 0 20px;
    gap: 4%;                 
  }

  .sidebar {
    position: -webkit-sticky; 
    position: sticky;
    top: 70px; /* 50px del nav + 20px di margine per non accavallarsi */
    width: 25%;              
    flex-shrink: 0;          
  }

  .content-block {
    width: 71%;              
    display: flex;
    flex-direction: column;
    gap: 30px;               
  }

  .content-block section.sec2 {
    width: 100%;
    margin: 0; 
  }

  /* ---------------------------------------------------
     2. STILE DELLA BARRA DI NAVIGAZIONE IN ALTO (Mantenuto)
  --------------------------------------------------- */
  nav {
    width: 100%;
    height: 50px;
    background: rgba(67,67,67,0.70);
    border-top: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    position: sticky;
    top: 0px;
    font-size: 1.2em;
    font-style:italic;
  }

  nav ul { 
    text-align: center;
    margin: 0;
    padding: 0 100px;
  }

  nav ul li {
    list-style:none;
    display: inline-block;
  }

  nav ul li a {
    display: block;
    color:#fff;
    padding: 0 20px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 50px; 
  }

  /* ---------------------------------------------------
     3. STILI INTERNI PER HIGHLIGHTS E TABELLE (Mantenuti)
  --------------------------------------------------- */
  div.autopad {
    padding: 12px 24px;
  }

  div.row {
    clear: left;
    padding-bottom: 10px;
    margin: 0px;
    display: table;
  }

  div.column {
    display: table-cell;
    border: solid 0px red;
  }

  div.highlight-img {
    display: table-cell;
    width: 300px;
  }

  div.highlight-txt {
    display: table-cell;
    padding-left: 18px;
  }

} /* FINE DELLA MEDIA QUERY PER PC */



/* On small screens (not a PC)*/
@media all and (max-width:1023px){
nav
{
	width: 100%;
	height: 50px;
	background: rgba(67,67,67,0.70);
	border-top: 1px solid rgba(255,255,255,0.2);
	border-bottom: 1px solid rgba(255,255,255,0.2);
	position: sticky;
	top: 0px;
	font-size: 1.2em;
	font-style:italic;
}

nav ul
{	
	text-align: center;
	margin: 0;
	padding: 0 0px;
}

nav ul li
{
	list-style:none;
	display: inline-block;
}

nav ul li a
{
	display: block;
	color:#fff;
	padding: 0 20px;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: bold;
	line-height: 50px; 
}
}


.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 76%;
}

span.invisible {
  display: none;
}


img.circle {
  border-radius: 50%;
  display: block;
  width: 100%;
  border: solid 2px rgba(30,30,30,0.60);
	margin-right: 8px;
}

img.highL {
  display: block;
  width: 100%;
  border: solid 1px rgba(30,30,30,0.20);
	margin-right: 4px;
}



img.tagC {
  border-radius: 10%;
  display: block;
  width: 30%;
  margin-right: 8px;
}

div.figure {
  float: right;
  width: 30%;
  margin: 0.5em;
  padding: 0.5em;
  text-align: center;
  font-style: italic;
  font-size: 1em;
  text-indent: 0;
}




img.scaled {
  width: 100%;
}

.horizontalLine {
  border-bottom: solid#FDD400;
}

.verticalLine {
  border-left: thick solid #FDD400;
}

.verticalLine_r {
  border-right: thick solid #FDD400;
}




/* On small screens (not a PC)*/
@media all and (max-width: 1023px) {
  div.autopad {
    padding: 5px 5px;
  }

  div.row {
    clear: left;
    padding-bottom: 32px;
    margin: 0px;
    display: block;
  }

  div.column {
    display: block;
    width: 100%;
  }

  div.highlight-img {
    width: 100%;
    display: block;
  }

  div.highlight-txt {
    display: block;
    padding-top: 16px;
    text-align: center;
  }
}
