/* steinwaysocietygarda.org - integrazioni a stili.css (originale) per la versione PHP */

body { background-color: #444447; margin: 0; }
img { border: 0; }
td img { display: block; }
td img.inline { display: inline; vertical-align: middle; }
.bordo-dx { background: url(../images/st06.gif) repeat-y; }

/* Ticker della home: sostituisce homenews4.swf (877x18) */
.ticker {
  width: 877px; height: 18px; overflow: hidden; position: relative;
  background: #f4f4f4; border-bottom: 1px solid #e0e0e0; box-sizing: border-box;
  font: 10px Verdana, Arial, Helvetica, sans-serif; line-height: 18px;
}
.ticker ul { list-style: none; margin: 0; padding: 0; }
.ticker li { position: absolute; left: 0; top: 0; width: 100%; padding: 0 12px; box-sizing: border-box;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transition: opacity .6s; }
.ticker li:first-child, .ticker li.attiva { opacity: 1; }
.ticker.js li:first-child:not(.attiva) { opacity: 0; }
.ticker a { color: #333; text-decoration: none; }
.ticker a:hover { color: #000; text-decoration: underline; }
.ticker-data { color: #8a7a55; margin-right: 6px; }

/* Form */
body.popup { background-color: #1e1e20; margin: 8px; }
.campo400 { width: 400px; max-width: 100%; box-sizing: border-box; }
.grigio { color: #ccc; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.errore { color: #e8b070; }

/* Visualizzatore immagini (sostituisce Shadowbox, stesso uso: rel="shadowbox..." sui link) */
.lb { position: fixed; inset: 0; background: rgba(0,0,0,.85); display: none; z-index: 1000;
  align-items: center; justify-content: center; flex-direction: column; }
.lb.aperto { display: flex; }
.lb img { max-width: 90vw; max-height: 82vh; display: block; border: 6px solid #fff; background: #fff; }
.lb iframe { width: 640px; max-width: 94vw; height: 480px; max-height: 82vh; border: 6px solid #1e1e20;
  background: #1e1e20; display: none; }
.lb-barra { color: #ccc; font: 11px Verdana, Arial, sans-serif; margin-top: 8px; }
.lb-barra button { background: none; border: 0; color: #ccc; font: inherit; cursor: pointer; padding: 2px 8px; }
.lb-barra button:hover { color: #fff; }
