@charset "UTF-8";
@import url(menu.css);
@import url(norm-variabili.css);
@import url(pop-up.css);
/* nota bene BEGIN */
/*le percentuali vanno col punto: 0.5% - non con la virgola: 0,5%
le shorthand per font deve indicare il size e la family.*/
/* nota bene END */

/* -- ------------------------ I COMMUNIA BEGIN-------------------- -- */
div img, figure img {max-width: 80vw}

body, h4, h5, h6, h7, table, td, tr, p, ul, li, dd, dt, div, pre, figcaption {
  font-family: var(--font-family); }
h1, h2, h3, blockquote, blockquote p, .etexts:not(.nobefore):before {
  font-family: 'medioevale';
  letter-spacing: 0.2px;
}

body, ul, ol, li, blockquote, p, dd, div, pre {
  text-align: justify; }

body:not(#menu) {font-size: 110%;
}
    
/* -- TITOLI--BEGIN -- */
h1::first-letter, h2:not(.nomaius)::first-letter, h3:not(.nomaius)::first-letter, h4:not(.nomaius)::first-letter, h5:not(.nomaius)::first-letter, h6::first-letter {
  text-transform: uppercase;
}

h1 {
  font-size: 230%;
}

h1:not(#logo) {
  margin-bottom: 8%;
  border-radius: var(--rounded);
  border-bottom: solid thick var(--mattone);
}

h1:not(#logo), .listed-folder { background: -webkit-linear-gradient(var(--panna), var(--mattone) 90%);
  -webkit-background-clip: text;}

#content h1, .listed-folder {
  -webkit-text-fill-color: transparent;
} 
  
:is(h1, h2, h3, h4) + p::first-letter,
:is(h1, h2, h3, h4) + :not(p) + p::first-letter {
  font-size: 180%;
  text-transform: uppercase;
}

h1 + p.autore:first-letter {
  font-size: 100%; }

h1, h2, .h2 {
  padding-left: 20px;
  font-weight: bold;
}

h2, .h2, h2.inline {
  min-width: 75%;
  font-size: 150%;
  font-weight: bolder;
  color: white;
  background: var(--nuovo-gradient);
  text-shadow: var(--tshadow);
  border-radius: 6px;
  box-shadow: var(--shadow);
  padding-right: 10px;
  border: 1px outset #F3F3E9;
  line-height: 24px;
}

summary.inline {
  min-width: 100%;
}

summary h2.inline {
  display: inline-block;
  position: relative;
  padding-left: 1.5em; /* spazio per il triangolino */
}

summary h2.inline::before {
  content: "▶"; /* Unicode: U+25B6, triangolo destro */
  position: absolute;
  left: 0;
  padding-left: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  transition: transform 0.1s ease;
  font-size: 0.6em;
}

details[open] summary h2.inline::before {
  transform: translateY(-60%) rotate(90deg); /* Ruota il triangolo verso il basso */
}

summary h3.inline {
  display: inline-flex;
  margin: 0.1px;
}

summary {
  cursor: pointer;
}

summary h4 { /* per allineare il marker */
  margin-top: -2.4%;
}

summary.h2 {margin-left: 0%;}

h2 a {
  color: white !important;
}

h3, .h3, .etexts:before {
  margin-left: 2%;
  padding-left: 2%;
  font-size: 130%;
  border-bottom: solid 0.3rem #c2bfa5;
  border-image: linear-gradient(to right, #d9d3ca 10%, #c46a2b , #d9d3ca 90%) 0.5;
}

h3:not(#le-sezioni-del-sito h3) { width: 80%;}

h3, .h3, h3 a, .h3 a, h4, h5, h6, .etexts:before {
  color: var(--mattone);
}

h4, h5, h6 {
  font-weight: bold;
  max-width: 90%;
  padding-left: 2%;
  margin-top: 2%;
/*   margin-bottom: 0.5%; */
  border-bottom: solid thin #c2bfa5; 
}

h4 {font-size: 120%; margin-left: 3%;}
h5 {font-size: 115%; margin-left: 4%;}
h6 {font-size: 110%; margin-left: 5%;}
h5 a, h4 a, h3 a, h2 a, .nounder p a {
  text-decoration: none; }

/* -- TITOLI--END -- */
  
/* -- -tags comuni BEGIN ___________*/
p, dl, summary:not(.inline):not(.scheda), .p {
  margin: 2px 2%;
  text-indent: 8px; 
}
details details {
  margin-left: 5%;
}
pre {
  text-align: left; }

/* aggiunta transition BEGIN */
nav a, aside a, main:not(.token) a, #social a, .intell a {
  background-size: 100% 0em /*0.1em*/;
  background-position-y: 100%;
  background-repeat: no-repeat;
  transition: background-size 0.2s ease-in-out;
  padding: 0.1em;
  border-radius: 6px;
}

a:hover:not(.linklogo), nav a:hover {
  background-image: radial-gradient(/*ellipse at 15% 90%, */ var(--mattone) 20%, var(--panna-arancio) 140%);
}
.token a:hover {background-image: inherit;}

/* aggiunta transition END */
:not(.token) a:hover
/*a:focus,
a:active*/ {
  background-size: 100% 100%;
  color: white !important;
}

.token a {
  text-decoration: none;
}

a[href]:link, a[href]:visited, v[href]:link {
  color: var(--mattone);
  font-weight: bold;}

span[title], i[title] {/* cursore help dove c'è un title */
  cursor: help;
  border-bottom: dashed 1px silver; }

dfn, abbr, acronym {
  cursor: help;
  font-style: normal;
  border-bottom: dashed 1px gray; }

ins, .ins {
  text-decoration: none;
  color: inherit; 
  border-bottom: gray thin solid;
}

blockquote, .blockquote {
  line-height: 12pt;
  padding: 2%;
  margin: 2% auto;
  border-radius: var(--rounded);
  background: radial-gradient(white, #f5f3ef /*#efede9*/);
}

blockquote:not(.citazmysql) {
  position: relative;}

.citazmysql {
  border-radius: var(--rounded);
  box-shadow: var(--shadow);
}  
  
blockquote p {
  position: relative;
  z-index: 2;
}

blockquote cite {
  position: relative;
  z-index: 2;
}

blockquote:not(.citazmysql):before, .blockquote:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--rounded);
  padding-top: 1%;
  box-shadow: 2px 3px 10px black, 0 0 20px #8a4d0f inset;
  filter: url(#wavy);
  z-index: 1;
}

figure, img, .boxino { /* nisi nuovo blockquote frastagliato li copre */
  position: relative;
  z-index: 3;
}

blockquote.large { /*in GP2 */
   border: 5px solid transparent;
   background: radial-gradient(white, #efede9) padding-box, radial-gradient(var(--mattone), white 80%, var(--mattone) 100%) border-box;
   box-shadow: var(--shadow);}
  
#content blockquote, .blockquote {max-width: 90%;}

blockquote[cite]:after {
  content: attr(cite);
  font-style: italic;
  display: inline;
  padding-left: 2%; }

q[cite]:after {
  content: close-quote " (" attr(cite) ")"; }

cite {
  font-style: normal;
}

p + cite { 
  display: block;
  text-align: right;
}
  
blockquote, blockquote p, q {
  quotes: "\00AB" "\00BB" "\201C" "\201D"; }

q:before {
  content: open-quote; }

q:after {
  content: close-quote; }

blockquote not:(p + cite) {
  display: inline; }

blockquote cite:before {
  content: close-quote; }

sup {
  font: 8pt bold;
  text-decoration: none; }  
  

dt {
  border: dashed thin gray;  
  padding: 1px 3px;
  font-weight: bold;
  float: left;
  border-radius: var(--rounded);  
}

dd {
   margin: 1%;
}

hr {
  display: block;
  color: #C2BFA5;
  max-width: 80%;
  text-align: center; }

/* -- -tags comuni END ___________*/
  
/* -- -----immagini BEGIN-------- -- */
img:not(.nomargin) {
  margin: 1%;
  border: none;
  border-radius: var(--rounded);
}

img:hover {
  filter: brightness(500%); 
  filter: contrast(90%);
}  
  
img.fr {
  margin-right: 4%; }

figure {
  overflow: hidden;
  display: inline-block;
}  

figure img {
  transition: all .2s ease;
  vertical-align: middle;
  margin: 0px;
  border-radius: var(--rounded); }

figure img:hover {
  transform: scale(1.2);}

.img-alt {
  display: block;
  max-width: 400px;
  margin-left: 3px;
  font-weight: bold;
  text-align: center; }
  
#principale .img-alt, #fondopagina .img-alt, #giudizio .img-alt, #bibliografia .img-alt, h3 .img-alt {
  display: none; }

/*_______per le etichette sotto le immagini --BEGIN--*/
.caption_sx, .caption_dx, .caption {
  position: relative;
  font-size: 80%;
  font-weight: bold;
  /*background: white;*/
  border: inset silver 4px;
  border-radius: var(--rounded);
  padding: 2px;
  height: auto;
  margin: 8px;
  }
.caption_dx {
  float: right;}
.caption_sx {
  float: left; }
  
.caption_sx > figcaption, .caption_dx > figcaption, .caption > figcaption, .caption_sx > p, .caption_dx > p, .caption > p {
  visibility: visible;
  position: absolute;
  bottom: 20px;
  left: 40px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--rounded);
  color: #fff;
  padding-left: 20px;
  padding-right: 10px;
}

figcaption {
  display: inline !important;
  z-index: 2000;
}

.caption_sx:hover > figcaption, .caption_dx:hover > figcaption, .caption_sx:hover > p, .caption_dx:hover > p {
  visibility: hidden;}

.caption_dx.shape > figcaption, .caption_dx.shape > p {
  position: absolute;
  bottom: 20px;
  left: 44%;
  background-color: black;
  background: rgba(0, 0, 0, 0.4);
  /*opacity: 0.6;*/
  border-radius: var(--rounded);
  color: white;
  padding: 5px;
}

.caption_sx.shapesx > figcaption, .caption_sx.shapesx > p {
  position: absolute;
  bottom: 20px;
  right: 58%;
  background-color: black;
  background: rgba(0, 0, 0, 0.4);  
/*   opacity: 0.6; */
  border-radius: var(--rounded);
  color: white;
  padding: 5px;
}
.caption_sx.shapesx, .caption_dx.shape {
  border: none;}

/*_______per le etichette sotto le immagini --END--*/

  
.ombrato, .shaded, #content img:not(.noshadow) {
  box-shadow: var(--shadow); }

#content figure img, #content img.noshadow {  box-shadow: none; }

.rounded, .arrotondato {
  border-radius: var(--rounded); }

.pshaded p { /*usato nella logica di Hegel*/
  border-radius: var(--rounded);
  box-shadow: var(--shadow);
  padding: 1%; }
mafia
/* -- -----immagini END-------- -- */
  
/*_________LISTE__--BEGIN-----*/
dl {
  max-width: 80vw;
  margin-bottom: 2% !important;
}
li {
  text-align: justify;
  max-width: 94%;
  list-style-position: inside; }

ol {
  margin-left: 2%;
  max-width: 1024px; }

ol.a {
  list-style-type: lower-alpha; }

ul {
  margin-left: 1%;
  margin-right: 2%;
/*   max-width: 95%; */
  display: block; }
 
ul:not(#menu) li {
  list-style-type: square; }

ul.elencofilm li {margin-bottom: 1%;}  
ul.schema li b, ul.schema li a {
  font-size: 130%; }

ul:not(#menu) > ul {
  max-width: 100%;}

  
ul#menu li ul li {
/*   font-size:calc(8px + 0.5vw); non si adatta sia ai grandi che ai piccoli schermi */
  font-size: clamp(12px, 0.75vw + 7px, 15px); /* IA */
  margin-left: 2%;  
}

ul#menu li ul li a {
  font-size: 100%;
  margin-left: -1%;
}

li ul li {
  list-style-type: disc;
  color: #3C3C3C; }

ol.a li {
  list-style-type: lower-alpha; }

ul.distanziato li, ul.dist li {
  margin-top: 2%;
}  
  
/*_________LISTE--END--_____*/

/* -- -TABELLE BEGIN ___________*/
table {
  width: auto;
  max-width: 98%; 
}

table, td {
  border-radius: var(--rounded); }

caption {
  margin-top: 20px;
  margin-bottom: 10px;
  color: #BC5A1F;
  font: bold 100% var(--font-family);
  text-align: left;
  text-indent: 10%; }

td {
  /*font-size: 90%;*/
  padding: 3px;
  vertical-align: top;
  text-align: justify;
}

td, th {
  background-image: radial-gradient(white 50%, snow 150%);
}

thead, thead td, .thead {
  color: var(--mattone);
  font-weight: bold;
  text-align: center; }

th {
  background: #BBB6AE;
  color: #FFFFFF;
  font-weight: bold;
  border: solid thin white;
  border-radius: 8px;
}

table.centered td {
  text-align: center; }

table.bordata td {
  border: solid thin gray; }


/* -- --------------  tabella ideale-----BEGIN------ -- */
.tabella table {
  width: 90%;
  border: inset 2px #CCCAB5;
  margin: 3px; 
}

.tabella td {
  border: 2px outset #CCCAB5;
  margin: 2px; }

.tabella th {
  border: 2px outset #CCCAB5;
  margin: 2px; 
  background: #a9a9a9;
  color: white;
}
.tabella td, .tabella th {
  border-radius: var(--rounded); 
  text-align: left; 
  padding-left: 3px;
}

/* -- --------------  tabella ideale-----END------ -- */

/* -- opere di un autore BEGIN --*/
#img_opere {
  position: relative; 
  top: -18px; 
  margin-top: 3%; 
  margin-right: 3%; 
  float: left}

/* sotto l'ID #testi */

:is(#testi .etexts, #opere, .overflow, .pagelist ul) { /* da https://pqina.nl/blog/fade-out-overflow-using-css-mask-image/ */
  --scrollbar-width: 8px;
  --mask-height: 52px;
  overflow-y: auto;
  max-height: 300px;
  padding-bottom: var(--mask-height);
  padding-right: 20px;
  padding-top: 30px; /*per evitare che si offuschino le prime righe*/
  --mask-image-content: linear-gradient(
    to bottom,
    transparent,
    black var(--mask-height),
    black calc(100% - var(--mask-height)), transparent);
  --mask-size-content: calc(100% - var(--scrollbar-width)) 100%;
  --mask-image-scrollbar: linear-gradient(black, black);
  --mask-size-scrollbar: var(--scrollbar-width) 100%;
  mask-image: var(--mask-image-content), var(--mask-image-scrollbar);
  mask-size: var(--mask-size-content), var(--mask-size-scrollbar);
  mask-position: 0 0, 100% 0;
  mask-repeat: no-repeat, no-repeat;
}

:is(#testi .etexts, #opere, .overflow)::-webkit-scrollbar {
  width: 8px;
}

:is(#testi .etexts, #opere, .overflow)::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 4px;
}

#opere table { /* no max-height in a table */
  margin-top: 2%; 
  border-radius: var(--rounded); 
  width: 98%;
}
#opere table tbody td {
  border-bottom: solid silver thin;
  font-size: 90%;
}
#opere table thead tr td {
  font-size: 100%; 
  background-image: linear-gradient(to top, #C2BFA5, #e7e2c5); 
  color: white;}
#opere table tbody tr > td:first-child {/* 1a column */
  font-weight: 550; } 
#opere table tbody tr > td:first-child + td {/* 2a column */
  font-style: italic} 
#opere table tbody tr > td:first-child + td + td { /* 3a column */
  color: navy;} 

/* -- opere di un autore END --*/

/* -- -TABELLE END ___________*/

/* -- ---------FORMS------ -- */
input, select, textarea {
  padding-left: 3px;
  background: #C2BFA5;
  color: #FFFFFF;
  font-weight: bold;
  text-align: justify;
  font-size: 10pt;
  font-family: tahoma, Arial, Helvetica, sans-serif;
  border-radius: var(--rounded); }

/* -- ------------------------COMMUNIA END-------------------- -- */

/* -- BEGIN _____________________II. CLASSI_________________*/

/* II.1 -------------classi relative alle parole -----BEGIN- -- */

.autore {
  padding-left: 3%;
  font-size: 120%;
  color: #000146;
  margin-bottom: 30px; 
  margin-top: 0%;
  text-align: right;
  font-weight: bold;
  font-family: 'mcgarey';
}quiz
#generated-toc + .autore:before, .co-autore:before, h2 + p.co-autore:first-letter {
  content: 'di '; 
  font-weight: normal;
  font-style: normal;
}

.co-autore {
  font-style: italic;
  text-align: right;
  font-weight: bold;
}  

.pubblicato, .pub {
  font-size: 80%; 
  color: gray;
  text-align: right;
  box-shadow: var(--shadow);
  border-radius: var(--rounded);
  margin-bottom: 2%;
  padding: 1%;
  width: auto;
}
  
  
.bold, .b {
  font-weight: bold;}  
.italic, .i {
  font-style: italic;
}
.evid {
  background: yellow;}
.blu {
  color:blue;}
.navy {
  color:navy;}
.red {
  color:red;
}
.green {
  color:green;
}
.gray {
  color: gray;
}
.snow {
  color: #e1e1e1;
}
.white {
  color: white;
}

/* -- ----per interviste ---BEGIN---*/
.dom, .domanda {
  font-weight: bold; 
  font-size: 105%;
  margin-top: 2%;
  margin-left: -1%;
}
/* -- ----per interviste ---END----*/


/* -- ----per citazioni ---BEGIN---*/
.pag {
  display: none;
}

p:hover .pag {
  display: inline;
  color: gray;
  font-size: 70%;
}

/* -- ----per citazioni ---END----*/

/* -- --greco----BEGIN---*/
.greco, .gr {
  font-family: Gentium, Athena; }
/* -- --greco----END---*/

.olive, .oliva {
  color: #c2bfa5;
  font-family: OpenSymbol; }

.red {
  color: red; }

.libro, .film {
  font-style: italic;
  border-bottom: thin solid #E0E0D0; }

.libro:before {
  content: "📖";
  font-size: 90%;
  font-style: normal;
}

.film:before {
  content: "\01F3AC";
  font-size: 70%;
  vertical-align: top;
  font-style: normal;
}

.emoji { /* per films, biblio, testi */
  font-size: 30px;
  display:inline-block;
}

.lunga { /*per metrica lat o grc */
  text-decoration: overline; }

.maiusc, .maius {
  font-variant: small-caps; }

.max {
  font-size: 140%; }

.big  {
  font-size: 160%; }   

.pagelist h3 a /* per liste automatiche*/ {font-size: 150%;}
.pagelist h3 { margin-top: 3%;}
.pagelist a, .current-page span:not([lang="it"]):not([lang="en"])  /* per liste automatiche*/ {font-size: 130%;}
  
.medmax {
  font-size: 120%; }

.max, .medmax {
  font-weight: bold; }

.min {
  font-size: 85%; }

.quiz {
  margin: 2% auto 2% 10%;
  max-width: 80%;
  border: solid var(--mattone) 2px;
  border-left: solid var(--mattone) 8px;
  border-radius: var(--rounded);
  box-shadow: var(--shadow);
}

.quiz p {
  font-weight: bold;
  margin: 0;
  height: 20px;  
}    

.quiz input {
  padding: 0px;
  margin-left: 5%;
}

#quiz .marking{
  visibility: hidden;
  height: 20px;
  margin: 0 0 15px 0;
}

#marks{
  display: inline;
  margin-left: 10px;
}

.red::first-letter {
  color: red;
}
.green::first-letter {
  color: green;
}

.quiz label {
  display: block;
}
  
.symbol {
  color: #999966;
  font-size: 150%;
  font-weight: bold;
  padding: 0px;
}

.symboltop,
.symbolbottom,
.symbolleft,
.symbolright {
  width: .8em;
  height: .8em;
  border-radius: 50%;
  display: inline-block;

  --symbol-color: olive;
  background: linear-gradient(var(--dir), var(--symbol-color) 50%, transparent 50%);
}

.symboltop    { --dir: to bottom; }
.symbolbottom { --dir: to top; }
.symbolleft   { --dir: to right; }
.symbolright  { --dir: to left; }

h2 .symboltop,
h2 .symbolbottom,
h2 .symbolleft,
h2 .symbolright {
  --symbol-color: white;
}


a.amazon:before, .amazon li a:before {
  content: url(https://www.culturanuova.net/multimedia/img/clips/amazon.ico)' '; }
 
a.amazon img {max-width: 15vw}
.amzbaseline, .amzbaseline img {box-shadow: none !important; margin: 0px;}
.amz {color: gray; filter: grayscale(80%);}
.amz img, .amz a, .amz {margin: 0px; padding: -5px}

.amz, .no-italic {font-style: normal !important;}

a.interno, a[href^="#"], a[href^="javascript"], .expandable {
  color: #98987F;
  text-decoration: none;
  border-bottom: dashed 1px; 
}

a.interno:after {
  content: ' \002B';
  font-weight: bold;
  margin-left: 1px;  
}

a.interno.expanded:after {
  content: ' \002D';
  font-weight: bold;
  margin-left: 1px;  
}

.espan {
  padding-left: 2%;
  color: navy;
  font-size: 85%;
  display: block;
}

.hide {
  display: none;
  font-size: 85%;
  color: navy; 
}


/* II.1 -------------classi relative alle parole -----END- -- */

.smile, .smile.no { font-size: 110%; filter: grayscale(85%);}

/* II.2 -------------classi relative a blocchi (paragrafi e simili) -----BEGIN- -- */

/* -----allineamento ---- BEGIN -----*/
.left { 
  text-align: left; }
.right { 
  text-align: right; }

  
  
.flexvcenter {
  display: flex; flex-direction: column; align-items: center; justify-content: center;}
.flexocenter {
  display: flex; flex-direction: row; align-items: center; justify-content: center;}  

.fl {
  float: left; }

.fr {
  float: right; }

h3.fl, h4.fl, h5.fl {
  vertical-align: top;
  margin-top: 0.5%; }

h4.fl {
  font-size: 110%;
  margin-right: 6%;
  padding-left: 0%; }

h4.fl + p:first-letter {
  font-size: 100%; }

h5.fl {
  width: auto;
  margin-bottom: 1%; }
  
.center, .center p {
  margin: var(--centered-margin);
}  
div.justify p {
  text-align: justify;}
  
.flexcenter {/*per centrare orizzontalmente*/
  display: flex;
  flex-direction: column;
  justify-content: center; /* centra verticalmente */
  align-items: center; /* centra orizzontalmente */
}
.numerica td p {
  text-align: right; }

  
/* -----allineamento ---- END -----*/

.padded {padding: 1%;}
  
.inline {display: inline;}

/* --- tooltip BEGIN --*/
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.tooltiptext img{
  max-width: 200px;
  max-height: 250px;
}

@media screen and (max-width: 580px) {
  .tooltip:active .tooltiptext {
  visibility: visible;
  opacity: 1;
  transform:translateY(0%);
}
}

.tooltip {
  position: relative;
  display: inline-block;
  text-indent: 0px !important;
}

.tooltip:not(:has(.info)){
  border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
  visibility: hidden;
/*   width: 160%; */
  text-align: justify;
  font-size: 80%;
  background-color: white;
  color: black;
  border-radius: var(--rounded);
  padding: 10px;
  position: absolute;
  z-index: 1000;
  bottom: 100%;
  left: 0;
/*   margin-left: -60px; */
  margin-bottom: 3%;
  opacity: 0;
/*   transition: opacity 0.7s; */
  box-shadow: gray -3px 3px 4px;
}

#content h1 .tooltip .tooltiptext {
  -webkit-text-fill-color: black;
}

#content h1 .tooltip {
    background: -webkit-linear-gradient(var(--panna), var(--mattone) 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tooltiptext {
  min-width: 20vw}
  
.tooltip:not(:has(.info)) .tooltiptext::after {
  content: "";
  position: absolute;
  border-width: 12px;
  border-style: solid;
  top: 100%;
  left: 10%;
  margin-left: -5px;
  border-color: white transparent transparent transparent;
}

.tooltip .tooltiptext {
 transform:translateY(10%);
 transition:visibility 0.1s, opacity 0.2s linear, transform 0.2s linear;
}
.tooltip:hover .tooltiptext  {
 transform:translateY(0%);
}
/* --- tooltip END --*/

/* ---BEGIN-____________finestra flottante__________________*/
.boxino {
  background: white;
  margin: 8px;
  padding: 1%;
  width: 40%;
  float: right;
  border-radius: var(--rounded);
  box-shadow: var(--shadow);
  /*border: solid 2px var(--mattone);*/ }

.boxino p:first-child, .boxino h3 {
  background: var(--mattone);
  color: white;
  font-weight: bolder;
  margin-top: -8px;
  margin-bottom: 3px;
  padding: 2px; padding-left: 8px;
  border-radius: var(--rounded);
  clip-path: polygon(0 0, 94% 0, 100% 100%, 0% 100%); /*bordo dx angolato, no box-shadow */
}

.boxino p {
  padding: 2px; }
/* ---END- ____________finestra flottante__________________*/

.etexts {
  width: 90%;
}
.etexts:not(.nobefore):before {
  content: "Testi completi scaricabili  " attr(title) "";
  font-weight: bold;
  width: 80%;
  display: block;
}

.etexts, .etexts:before {
  border-radius: var(--rounded)}

.bottone, .outset { /*il suo contrario è incassato*/
  border: 2px outset #C2BFA5;
  padding: 2px;
  border-radius: var(--rounded);
  box-shadow: gray 3px 3px 3px; }

li .bottone {
  line-height: 20pt; }

li a.bottone {
  text-decoration: none; }
  
.box, .intro {
  border: solid thin #C2BFA5;
  background: white;
  padding: 5px;
  max-width: 90%;
  margin: 3% 1%;
  box-shadow: 3px 3px 6px gray; 
  border-radius: var(--rounded);  
}

.intro h2 {
  position: relative;
  top: -4.5vh;
  margin-bottom: -4vh;
}

/*____commenti dopo la bibliografia-BEGIN---*/
.commento:before {
  content: '\27A1';
  font-weight: bold;
  margin-bottom: -4px;
  padding-top: 0px;
  color: gray;
  border-radius: var(--rounded);  
}

.commento {
  font-size: 95%;
  width: 80%;
  border: solid thin #CCCAB5;
  padding: 1px 6px; 
  border-radius: var(--rounded);
  box-shadow: var(--shadow);
}

/*____commenti dopo la bibliografia-END---*/

ul.links {
  font-size: 120%; }

ul.links li {
  line-height: 22px; }

/* -- --esergo (enfatico)----BEGIN----*/
.esergo, .esergo p {
  font-size: 105%;
  font-style: italic;
  text-align: center;
  margin-bottom: 10px; }
.esergo cite {
  font-size: 80%;
  font-style: normal;
  color: gray;
}  

h1 + p.esergo:first-letter, h1 + p.subtitle:first-letter, h2 + p.esergo:first-letter, h2 + p.co-autore:first-letter, h2 + p.subtitle:first-letter, h3 + p.esergo:first-letter, h4 + p.esergo:first-line, h4 + p.esergo:first-letter, h5 + p.esergo:first-line, h5 + p.esergo:first-letter {
  font-size: 100%; }

h4.esergo {
  border: none;
  font-size: 95%;
  margin-top: 0px;
  color: black;
  text-align: right; }
/* -- --esergo (enfatico)----END----*/

/*----per giudizi brevi BEGIN---*/
.giudizio {
  background: #f9f9f9;
  border-left: 5px solid var(--mattone);
  width: 86%;
  padding: 5px;
  margin: 5px;
  margin-left: 4%;
  border-radius: var(--rounded);
}
/*---per giudizi brevi END---*/

table.min th {
  font-size: 75%; }

table.min td {
  font-size: 72%; }

.rientro {
  margin-left: 15%; }

audio.rientro {margin-top: 1%;}

.note {
  font-size: 90%;
  text-align: justify; }

.rim_note {
  font-size: 70%;
  vertical-align: top; }

h1 + .subtitle {
  position: relative;
  margin-top: -6%;
  font: italic 140% var(--font-family);
  text-align: center;
  max-width: 70%;}

.subtitle {
  text-align: right;
  margin-bottom: 2%;
  font-style: italic;
  font-family: var(--font-family);
}
  
h2 + .subtitle, summary:has(> h2) ~ .subtitle {font-size: 130%; }
h3 + .subtitle, summary:has(> h3) ~ .subtitle {font-size: 120%; }
h4 + .subtitle, summary:has(> h4) ~ .subtitle {font-size: 110%; }
h5 + .subtitle, summary:has(> h5) ~ .subtitle {font-size: 105%; }

p.subtitle::first-letter { font-size: 100%;}

.box_tratt{ /*nella home page*/
  border-radius: var(--rounded);
  margin-right: 0px;
  border: #C2BFA5 thin solid;
  border-top: #C2BFA5 solid 5px;
  border-bottom: #C2BFA5 solid 5px;
  padding: 4px;
  text-align: right; }

::selection {
  background:var(--mattone); 
  color: white; }

#content .noshadow, .noshadow { /*per togliere l'ombreggiatura */
  box-shadow: none;} 

.rotatevert, .verticalize {/* ROTAZIONE per schemi e altro */
  transform:rotate(270deg); }
 
.tratteggiato {
  border-radius: var(--rounded);  
}

p.tratteggiato {
  padding: 0.5%;
  box-shadow: 0 0 4px gray; 
}

#bibliografia + p:first-letter, #testi + p:first-letter, p.nomaius:first-letter, .nomaius p:first-letter {
  font-size: 100%; text-transform: none;}

.opere td {
  vertical-align: baseline; }

.opere td sup {
  font-size: 8pt;
  color: #3C3C3C; }

ul.opere li {
  font-style: italic; }

/* II.2 -------------classi relative a blocchi (paragrafi e simili) -----END- -- */
  

.hidden {
  display: none; }

/*generated content e simili*/
#content a[href^="http"]:after :not(.amz), #content a[href^="https"]:after :not(.amz){/* per link esterni*/ content: url(multimedia/img/clips/linkout.jpg); }
a[href $='.zip']:before {/*agg icona per i files con estensione zip*/
  content:url(multimedia/img/clips/zip.gif)' '; }
a[href $='.pdf']:before {/*agg icona per i files con estensione pdf*/ 
  content: url(multimedia/img/clips/pdf.gif)' '; }
a[href $='.epub']:before {/*agg per i files con estensione epub*/
  content: url(multimedia/img/clips/epub.jpg)' ';}
  
/* -- shape BEGIN -- */
@media screen and (min-width: 580px) {
@supports (shape-outside: circle(50% at 60%) margin-box) {
 .shape {
    shape-outside: circle(50% at 60%) margin-box;
    clip-path: circle(50% at 70%);
    border: none;
    float: right;
    width: 52%; 
    height: 400px; 
    padding: 10px;}

 .shapesx {
    shape-outside: circle(50% at 12%) margin-box;
    clip-path: circle(50% at 8%);
    float: left;
    width: 58%; 
    height: 390px;
    padding: 20px 1px;}
}
}
/* -- shape END -- */

img#main { /* no immagini troppo grosse*/
  max-height: 200px;
  max-width: 20vw /*200px*/;
  object-fit: contain;
  display: inline-block;;
  vertical-align: baseline;
  float: right;
  margin-right: 8%;
  margin-top: 3vh;
  border-radius: var(--rounded); 
  transition: all 2s;
  transition:transform 0.25s ease;
} 

/* -- END --- classi --*/

/* effetti speciali BEGIN */

.gradient-animato {
  --bg-size: 400%;
  --color-one: hsl(15 60% 55%);
  --color-two: hsl(50 95% 55%);
/*   font-size: clamp(3rem, 25vmin, 8rem); */
  background: linear-gradient(
                90deg,
                var(--color-one),
                var(--color-two),
                var(--color-one)
              ) 0 0 / var(--bg-size) 100%;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  animation: move-bg 8s infinite linear;
}

@media (prefers-reduced-motion: no-preference) {
  .boujee-text {
    animation: move-bg 8s linear infinite;
  }
  @keyframes move-bg {
    to {
      background-position: var(--bg-size) 0;
    }
  }
}

/* effetti speciali END */


/* auguri natalizi BEGIN */
#natalizio {
  text-align: center;
  padding: 2px;
  margin-top: 2%;
  margin-bottom: 1%;
  margin: var(--centered-margin);
  text-align: center; background-image: linear-gradient(to bottom, #E0CA7F,#9A7733); 
  padding-top: 0%; padding-bottom: 2%; 
  border-radius: var(--rounded); box-shadow: gray 8px 8px 8px;  
}
#natalizio #auguri {color: white; text-shadow: var(--tshadow);}
#natalizio img {box-shadow: none; width: 6vw; max-width: 90px; margin: 0; vertical-align: middle;}
@media screen and (min-width: 580px) {#natalizio {font-size: 2.0em; width: 70%; max-height: 80px;}}
@media screen and (max-width: 580px) {#natalizio {font-size: 1.2em; width: 90vw;}}
/* auguri natalizi END */

/* fix anchor bug BEGIN */
/* nisi con position:sticky non va nel posto giusto; */
[id] {
  scroll-margin-top: 13em;
}
:target {
  background-color: yellow;
}
/* fix anchor bug END */

/* amazon ad BEGIN */
.amazonad {width:120px; height:240px; margin:0; border:0; overflow: hidden;}
/* amazon ad END */

/* -- modal images BEGIN -- */

.modal-hover-opacity img, img[onclick] {
 opacity:1;
 filter:alpha(opacity=100);
 -webkit-backface-visibility:hidden;
 cursor:pointer;
}
 
.modal-hover-opacity img:hover, img[onclick]:hover {
 opacity:0.60;
 filter:alpha(opacity=60);
 -webkit-backface-visibility:hidden;
}

.modal {
  z-index: 5;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
  /* display: flex; when shown*/
  display: none; /* hide initially*/
  justify-content: center;
  align-items: center;
}
.modal-content {
  margin: auto;
}

#modalimg {
  width: auto;
  height: auto;
  display: block;
  margin: auto;
  max-height: calc(100vh - 2rem);
  max-width: calc(100% - 2rem);
  object-fit: contain;
  border: 5px solid #000;
}

.modal-content {
  animation: fade 2s ease;
}
@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#modalimg {
  animation: zoom 1s ease;
}
@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

/* -- modal images END -- */

/* aggiunte END */

/* ---- WebFonts -BEGIN--- */
.medioevale, blockquote, .blockquote > * {
  font-family: 'medioevale', serif;
/*   font-weight: lighter; */
  line-height: 1.2;
}
blockquote:not(.nomaius) p:first-letter {font-size: 2em;
  text-transform: capitalize;
}

blockquote p:first-line {
  line-height: 0.9;
}

/* ---- WebFonts -END--- */

/* Dia-logos */
#content img.dialogos {display: none;}
.banner .subtitlebook {display: block;}


/* -- ads BEGIN -- */
#ereader {
 border-radius: var(--rounded); 
 box-shadow: var(--shadow);
 padding: 3px;
 background: var(--gradient-spalla);
}
/* ads END */


/*image fade BEGIN */
.imgfade {
  mask-image: linear-gradient(to top, rgba(0,0,0,1), rgba(0,0,0,0));
}
/*image fade END */

/* -- svg noise BEGIN (https://css-tricks.com/grainy-gradients/) */
.noise {
  background: radial-gradient(transparent 45%, #954829), url(multimedia/img/svg/wavy.svg);
}
/* -- svg noise END */


/* pro-lista-automatica con desc BEGIN */

i.subtitle::before {content: ', '; font-style: normal;}

/* per midi-player */
midi-player::part(control-panel) {
  background: #8d8d8d;
  color: white !important;
  border-radius: 10px;
}

.controls button .icon svg, .icon .play-icon {
  fill: white !important;
  color: white!important;
}

/* -- button per approfondire BEGIN */

.more {
  border: solid 4px var(--verde-chiaro);
  border-radius: 8px;
  padding: 0px;
  width: 80px;
  font-size: 80%;
  font-variant: small-caps;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.more:after, .more:before {
  left: 100%;
  top: 50%;
  border: solid transparent;
  content: "";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.more:after {
  border-color: rgba(136, 183, 213, 0);
  border-left-color: white;
  border-width: 15px;
  margin-top: -15px;
}
.more:before {
  border-color: rgba(194, 225, 245, 0);
  border-left-color: var(--verde-chiaro);
  border-width: 20px;
  margin-top: -20px;
}

/* -- button per approfondire END */


.sepia {filter: sepia(90%);
}

/* -- per gli elenchi automatici BEGIN */
.current-page, .current-page a {
  color: gray !important;
  cursor: default;
  text-decoration: none;
  pointer-events: none;
}
.current-page span:not([lang="it"]):not([lang="en"]) {
  font-weight: bold;
}

/* per gli elenchi automatici di testi di s e su autori o temi */
.testi-autom a {font-size: 130%;}

/* evita margini eccessivi*/
.pagelist ul, /*.pagelist h3:not(:first-child),*/ .pagelist h4:not(:first-child), .pagelist h5:not(:first-child) {margin-top: 0%; /*margin-bottom: 0px;*/ padding-top: 0; padding-bottom: 0;}
.pagelist .description {margin-top: -2%; margin-left: 16%;}

/* -- per gli elenchi automatici END */

/* -- per ADSENSE BEGIN */
#google-ricerca {
  width: 70%;
  margin: 2% auto;
}
#google-ricerca input {
  color: black !important;
}
/* -- per ADSENSE END */

/* pro multilingual */
body:not(.multilingual) *[lang='en'], body:not(.multilingual) *[lang="en"] {
  display: none;
}

/* -- per le BIBLIO autom BEGIN */

#bibliolist li:not(.interessante){
border-bottom: silver thin dashed;}
.interessante {
  border: 3px solid var(--mattone); /* rosso */
  border-left: 8px solid var(--mattone);
  border-radius: 8px;
  margin: 1% 0;
}
.interessante [itemprop="name"] {
  font-size: 120%;
}
.abstract {color: gray; font-size: 90%; padding: 1%;}
.thumb {width: 60px;} /* cover nelle biblio autom */
#bibliolist li {
  margin-bottom: 3px;
  padding: 4px;
}
/* -- per le BIBLIO autom END */

.token a p {color: black; font-weight: normal;}
.token a:hover {border: none; }

.skip-link {/* accessibility */
  display: none;
}

.tooltip .info {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 width: 18px;
 height: 18px;
 border: 2px solid black;
 border-radius: 50%;
 font-size: 12px;
 line-height: 1;
 cursor: help;
 user-select: none;
 font-style: normal;
}

/* pro audio-gallery*/ 

.audio-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Spazio tra gli elementi */
}

.audio-item {
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.audio-item h3 {
    margin-top: 0;
}

.audio-item audio {
    width: 60%;
    margin-top: 10px;
}

.audio-gallery .description {
  margin-left: 10%;
  margin-top: -2%;
  padding: 1%;
  box-shadow: 2px 3px 2px gray;
  border-radius: 8px;
}

.news .description {padding: 5px;}

body:not(.multilingual) .news .description span[lang="en"] {
  display: none;
}

blockquote.versetti p b {font-size: 70%; vertical-align: super;}
blockquote.versetti p b:before {content: '['}
blockquote.versetti p b:after {content: ']'}


#publatsx .ads-gallery { /* per ads randomizzati*/
  opacity: 0;
  transform: scale(1);
  transition: 
    opacity .15s ease-out,
    transform .15s ease-out;
  will-change: opacity, transform;
}


#blog-posts li a {color: white !important;}
#blog-posts {
  width: 90%;
  margin: auto;
  max-height: 300px;
  overflow-y: auto;
  border: 2px solid #ffffff;
  border-radius: 8px;
  box-shadow: silver 8px 3px 3px;
  scrollbar-width: thick;
  scrollbar-color: #ffffff #000000;
}
#blog-posts li::marker {
color: orange;
}

time::before {content: "📅"; font-size: 80%; margin-bottom: 2px;}
time {
  font-family: Merriweather;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
  color: #333;
}

time:not(:empty)::after {
  content: "";
}

time:empty::after {
  content: attr(datetime);
}

.logo-testate img {
  height: clamp(0.9em, 1.4vw, 1.2em);
  width: auto;
}
