html,body{margin:0!important;padding:0!important;background:#0c2c32!important;color:#f4f7f7!important;font-family:Arial,Helvetica,sans-serif!important;overflow:visible!important}
*{box-sizing:border-box}
#container,#contenitore,#contenuti,.newsbox,#probformh,.IntLayer{width:100%!important;max-width:none!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;float:none!important;position:static!important;background:transparent!important;border:0!important;box-shadow:none!important}
#container{padding:0!important}
.newsbox>h2{margin:0 0 20px!important;padding:17px 12px!important;background:#10363e!important;border-bottom:2px solid #ffc16b!important;color:#ffc16b!important;text-align:center!important;font-size:23px!important;line-height:1.3!important}
#probformh>table:first-of-type{width:100%!important}
#probformh table{border-collapse:collapse!important;color:#f5fbff!important;background:transparent!important}
#probformh table table{width:100%!important}
#probformh td{vertical-align:top!important}
#probformh table table td{padding:5px 7px!important;border:1px solid #44636a!important}
#probformh table table tr:nth-child(2n){background:#183f48!important}
#probformh table table tr:nth-child(2n+1){background:#102f37!important}
#probformh table table tr:first-child{background:#214d56!important;color:#ffc16b!important;font-weight:700!important}
#probformh a{color:#8ddcff!important}
#probformh input,#probformh select{color:#fff!important;background:#092a33!important;border:1px solid #617e84!important;border-radius:7px!important;padding:8px 12px!important;font-size:14px!important}
#probformh input[type=submit],#probformh button[type=submit],#probformh input[type=button]{display:none!important}
#probformh>table>tbody>tr>td{border:none!important;padding:4px!important}
#probformh>table>tbody>tr>td>table{width:100%!important}
#probformh>table>tbody>tr>td>table>tbody>tr>td{width:50%!important;padding:8px!important;border:none!important;background:transparent!important}
#probformh center,#probformh h3,#probformh h4{color:#ffc16b!important}
#probformh select{min-width:175px!important}
@media(max-width:750px){#probformh>table>tbody>tr>td>table>tbody>tr{display:flex;flex-direction:column}#probformh>table>tbody>tr>td>table>tbody>tr>td{display:block;width:100%!important}}

/* V3: testata in stile Classifiche, solo modulo centrale WebSite X5 */
#mfa-topflop.mfa-topflop-wrapper{max-width:1150px;margin:24px auto;background:#102d32;border:1px solid #31545b;border-radius:17px;padding:14px;box-sizing:border-box;color:#fff}
#mfa-topflop .mfa-topflop-hero{background:#172f33;border:1px solid #34575e;border-radius:18px;padding:29px 15px 27px;margin-bottom:16px;text-align:center;font-family:Arial,Helvetica,sans-serif;color:#fff}
#mfa-topflop .mfa-topflop-eyebrow{color:#88dfec;letter-spacing:4px;font-size:13px;font-weight:800}
#mfa-topflop .mfa-topflop-hero h2{font:900 46px/1.15 Arial,Helvetica,sans-serif;color:#ffc16b;margin:14px 0 8px;letter-spacing:1px}
#mfa-topflop .mfa-topflop-hero p{font-size:15px;line-height:1.5;margin:0;color:#edf7f9}
#mfa-topflop-frame{width:100%;display:block;border:0;background:#102d32}
/* Prevent classic Almanacco theme from painting white cells. Scoped to the frame document. */
#probformh table table th,#probformh table table tr:first-child > td,
#probformh table table tr:first-child > th{background:#234850!important;background-color:#234850!important;color:#ffc16b!important;border-color:#44636a!important}
#probformh table table tr:not(:first-child)>td,#probformh table table tr:not(:first-child)>th{background-color:transparent!important;color:#f7fcfe!important}
#probformh table table tr:nth-child(even){background-color:#1b414a!important}
#probformh table table tr:nth-child(odd){background-color:#113139!important}
#probformh table table, #probformh table table tbody{background-color:#102f37!important}
#probformh table table tr:first-child *{color:#ffc16b!important}
#probformh table table td, #probformh table table th{box-shadow:none!important}
/* Fantasquadra label and table section names */
#probformh form,#probformh form label{color:#f7fcfe!important}
#probformh table caption,#probformh b,#probformh strong{color:#ffc16b}

/* V4: la pagina principale deve poter scorrere normalmente. */
html,body{overflow-x:visible!important;overflow-y:auto!important}
/* Etichetta scelta fantasquadra, anche se emessa come testo libero FCM */
#probformh, #probformh form, #probformh label, #probformh font,
#probformh form td, #probformh form span{color:#f5fbff!important}


/* V5: intestazioni tabelle più curate e bordo finale ben chiuso */
#probformh>table>tbody>tr>td>table{
  border-collapse:separate!important;
  border-spacing:0!important;
  border:1px solid #49676e!important;
  border-bottom:2px solid #6f9198!important;
  border-radius:10px!important;
  overflow:hidden!important;
  box-shadow:0 0 0 1px rgba(255,255,255,.03) inset!important;
  margin-top:8px!important;
}
#probformh table table tr:first-child td,
#probformh table table tr:first-child th{
  background:linear-gradient(180deg,#2b5660 0%, #224850 100%)!important;
  color:#ffd089!important;
  font-weight:800!important;
  text-transform:none!important;
  border-top:1px solid #6c8c92!important;
  border-bottom:2px solid #6f9198!important;
}
#probformh table table tr:first-child td:first-child,
#probformh table table tr:first-child th:first-child{
  border-top-left-radius:10px!important;
}
#probformh table table tr:first-child td:last-child,
#probformh table table tr:first-child th:last-child{
  border-top-right-radius:10px!important;
}
#probformh table table tr:last-child td,
#probformh table table tr:last-child th{
  border-bottom:2px solid #6f9198!important;
}
#probformh table table tr:last-child td:first-child,
#probformh table table tr:last-child th:first-child{
  border-bottom-left-radius:10px!important;
}
#probformh table table tr:last-child td:last-child,
#probformh table table tr:last-child th:last-child{
  border-bottom-right-radius:10px!important;
}
#probformh table table td,
#probformh table table th{
  border-left:0!important;
  border-right:0!important;
}
#probformh table table{
  position:relative!important;
}
#probformh table table::after{
  content:"";
  display:block;
  height:0;
  border-bottom:2px solid #6f9198;
}
/* Titoli delle quattro tabelle */
#probformh center,
#probformh h3,
#probformh h4,
#probformh b,
#probformh strong{
  letter-spacing:.3px!important;
}
#probformh td > b:first-child,
#probformh td > strong:first-child,
#probformh td > center:first-child,
#probformh td > h3:first-child,
#probformh td > h4:first-child{
  display:inline-block!important;
  margin:0 0 8px!important;
  padding:5px 14px!important;
  background:linear-gradient(180deg,#1a434c 0%,#12343b 100%)!important;
  border:1px solid #4c6b72!important;
  border-radius:999px!important;
  color:#ffd089!important;
  font-weight:800!important;
  box-shadow:0 1px 0 rgba(255,255,255,.05) inset!important;
}

/* V6: nessun'altezza minima artificiale sotto le classifiche */
#mfa-topflop-frame{min-height:0!important;max-height:none!important;}
#mfa-topflop.mfa-topflop-wrapper{min-height:0!important;height:auto!important;}

/* Moduli selezione, testo chiaro e intestazione */
#probformh select{min-width:92px!important;max-width:240px!important;}
#probformh form{padding:6px 0 12px!important;text-align:left!important;}
#probformh>table>tbody>tr>td>table{table-layout:auto!important;}
#probformh table table td{overflow-wrap:normal!important;}
#probformh table table tr:first-child td{white-space:nowrap!important;}
