/* ----------------------------------------------------------------------------
	TAG RESET
---------------------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, img, ins, kbd, q, s, samp, strike, tt, var, center,
dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	/*line-height: 1;*/
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}


/* ----------------------------------------------------------------------------
	GENERALE E STRUTTURA
---------------------------------------------------------------------------- */

body			{	width: 1024px; margin: auto; margin-top: 2px; margin-bottom: 20px;
					font-family: sans-serif; background-color: #fafafa; font-size: 0.9em; }
img				{	max-width: 100%; }
hr				{	border: 1px; height: 1px; color: #ccccee; background-color: #ccccee;
					margin: 0; width: 100%; clear: both; }
/* header */
#header			{	width: 100%; height: 95px; text-align: center; }
#head_l			{	float: left; width: 270px; height: 95px; text-align: center; padding: 0px; }
#head_r			{	float: right; width: 730px; height: 95px; text-align: right; margin-right: 5px; }
#menubar		{	clear: none; text-align: right; border-radius: 8px;
					margin-top: 5px; margin-bottom: 15px; width: auto; height: 33px;
					padding: 0; background-color: #ccccee; color: navy; font-weight: bold;
					z-index: 5; box-shadow: 3px 3px 5px #888888; }
/* logo */
.logo			{	max-height: 70px; margin: 5px 0 5px 10px; border: 0; }
/* incolonnamento e box */
#content_l		{	float: left; width: 220px; }
#content_r		{	float: right; width: 250px; }
#content_c		{	display: block; overflow: auto; } 
#content_x		{	display: block; overflow: auto;
					margin: 0; padding: 0; padding-left: 30px; padding-top: 10px; } 
#content_tr		{	display: block; height: 94px; text-align: center; margin-top: 25px; }
.content_box	{	padding: 5px; padding-top: 0; font-size: 0.8em; margin-bottom: 10px; }
/* footer */
#footer			{	clear: both; width: 100%; text-align: center; font-size: 10pt; padding: 10px; }
#footer p		{	padding: 5px; }

.alignL                 { text-align: left;   }
.alignC                 { text-align: center; }
.alignR                 { text-align: right;  }

.clickable_word {
    color: blue; border-bottom: 1px blue dashed; cursor: pointer;
    margin-left: 5px; margin-right: 5px;
}

.grid_container {
    display: grid;
    grid-gap: 20px;
}
.grid_250 {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.grid_170 {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}
.grid_170 div {
    max-width: 165px;
}
.grid_170 div img {
    margin-left: 5px;
}

/* ----------------------------------------------------------------------------
	STILI HOMEPAGE
---------------------------------------------------------------------------- */

.RubricaTestata			{	padding: 5px; text-align: center; font-weight: bold; font-size: 1.2em; 
							border-radius: 5px; background-color: #0000bb; color: #ffffff; }
.RubricaTestata	a		{	text-decoration: none; color: #ffffff; }
.RubricaTitolo			{	font-weight: bold; font-size: 1.1em; margin: 5px; }
.notizia				{	width: auto; clear: both; margin: 0; padding: 5px; padding-top: 10px; padding-bottom: 0px; }
.notizia a				{	text-decoration: none; color: navy; }
.notizia h1				{	font-size: 1.4em; font-weight: bold; text-align: center; color: navy;
							margin: 0; margin-top: 5px; margin-bottom: 10px; }
.notizia_strillo		{	display: block; text-align: justify; margin-bottom: 1px; font-size: 1.1em; }
.notizia_data			{	display: block; margin: 5px; text-align: right; font-style: italic; font-size: 0.8em; color: #666666; }
.notizia_titoletto		{	font-size: 1em; font-weight: bold; text-align: left; color: navy;
							margin: 0; }
.notizia_titoletto_data	{	float: right; position: relative; right: 0; bottom: 3px; margin: 5px; height: 100%;
							text-align: right; font-style: italic; font-size: 8pt; color: #666666; }
.rubrica_fondo			{	margin-top: 0.5em; margin-bottom: 1em; padding: 3px; padding-left: 1em; padding-right: 1em;
							font-style: italic; font-weight: bold; text-align: right; font-size: 1.1em; 
							border-radius: 5px; border: 2px #ccccee solid; clear: both; }
.rubrica_fondo a		{	color: #003399; }
.notizia_top			{	width: auto; clear: both; margin: 0; margin-top: 10px; margin-bottom: 15px; padding: 5px;
							background-color: white; border: 1px lightgray solid; border-radius: 4px; box-shadow: 3px 3px 5px #888888; }
.notizia_top a			{	text-decoration: none; }
.notizia_top h1			{	font-size: 1.4em; font-weight: bold; text-align: center; color: green; margin: 0; margin-bottom: 10px; }
.notizia_top hr			{	height: 0; }

.miniatura_larga			{	max-width: 150px; border: 0; float: left; margin-right: 10px; margin-bottom: 5px; }
.miniatura_media			{	max-width: 100px; border: 0; float: left; margin-right: 10px; margin-bottom: 5px; }
.miniatura_stretta			{	max-width:  90px; border: 0; float: left; }
.miniatura_larga_centrata	{	max-width: 150px; border: 0; margin-right: 10px; margin-bottom: 5px; }
.miniatura_stretta_centrata	{	max-width: 120px; border: 0; }

.pin					{	width: 100%; float: left; position: relative; top: -25px; padding-top: 5px;
							text-align: center; z-index: 10; margin-bottom: -35px; }
.n_breve				{	width: auto; clear: both; margin: 5px; font-size: 8pt; text-align: justify; }
.n_breve a				{	text-decoration: none; color: #111155; }
.n_breve img			{	margin-right: 10px; margin-bottom: 5px; margin-top: 3px; }
.n_breve_titolo			{	font-size: 10pt; font-weight: bold; text-align: left; color: navy;
							display: block; margin: 0px; margin-bottom: 1px; }
.n_breve_titoletto		{	font-size: 8pt; font-weight: bold; text-align: left; color: navy;
							margin: 0px; margin-right: 7px; }
.n_breve_fondo			{	text-align: right; }


/* ----------------------------------------------------------------------------
	STILI ARTICOLI
---------------------------------------------------------------------------- */

a      { text-decoration: none; color: #0000cc; }
h1     { text-align: center; font-size: 2em; font-weight: bold; color: navy; margin: 0.5em; }
h2     { text-align: center; font-size: 1em; font-weight: bold; color: black; margin-bottom: 1em; }
h3     { text-align: right; font-size:  10pt; font-weight: bold; font-style: italic; color: gray;
         margin-top: 1em; margin-right: 5px; }
h4     { text-align: center; font-size: 12pt; font-weight: bold; color: #0000cc;
         margin: 1.5em 0 1em 0; padding: 4px; border-top: 1px #cccccc solid; border-bottom: 1px #cccccc solid; }
h5     { text-align: right; font-size: 10pt; font-weight: bold; color: black; margin: 1em; }
h6     { text-align: left; font-size: 10pt; font-weight: bold; margin-top: 2em; }
p      { text-align: justify; margin-bottom: 1em; }
table  { margin: auto; margin-bottom: 2em; border: 1px gray solid; }
td, th { padding: 3px; font-size: 1.2em; }
th     { font-weight: bold; font-size: 1.4em; }
ol, ul { margin-bottom: 15px; margin-left: 2em; }
li     { margin-top: 2px; margin-bottom: 2px; padding: 0; padding-right: 10px; text-align: justify; }

.bloccofoto		{	position: relative; text-align: center; margin-bottom: 1em; }
.photodiv		{	position: relative; text-align: center;
					display: inline-block; width: 49%; margin: 1px; padding: 0px; }
.fotosingola	{	max-width: 100%; height: auto; }
.fotodoppia 	{	max-width: 100%; height: auto; /*max-height: 252px;*/ margin: 0; }
.bloccofoto ol	{	list-style-type: decimal; margin-bottom: 0; }
.numfoto		{	float: left; position: absolute; top: 0px; right: 0px; z-index: 9; padding: 4px;
				color: black; text-shadow: 0 0 1px white; background-color: rgba(255, 255, 255, 0.5); }
.bloccodida		{	margin-top: 5px; text-align: justify; font-size: 9pt; font-weight: bold; color: black; }
.reda			{	color: #cc0000; }

.t_articoli		{	width: 80%; border-collapse: collapse; font-size: 0.8em; }
.t_articoli td		{	border: 1px #ccaaaa solid; }
.t_articoli th		{	border: 1px #ccaaaa solid; background-color: #ffddaa; }
.t_articoli .dispari	{	background-color: #eeeeee; }

.t_infomodelli		{	width: 80%; border: 1px gray solid; border-collapse: collapse; font-size: 0.8em; }
.t_infomodelli th	{	background-color: #ffddaa; }
.t_infomodelli tr	{	background-color: #fafafa; }
.t_infomodelli .dispari	{	background-color: #eeeeee; }

.t_generica_1		{	margin-bottom: 5px; border-radius: 8px; padding: 10px; }
.t_generica_1 td	{	font-size: 1em; }
.t_generica_1 th	{	font-size: 1em; text-align: right; }

.t_generica_2		{	min-width: 85%; margin-bottom: 5px; }
.t_generica_2 td	{	font-size: 1em; }
.t_generica_2 th	{	font-size: 1em; }

.ghost			{ opacity: 0.3; }
.warning		{ color: #ff0033; }

.biglietti_titolo       { text-align: center; padding: 10px; margin: 10px;
                          font-weight: bold; font-size: 16pt;
                          border-top: 1px blue solid; }

/* ----------------------------------------------------------------------------
        FINESTRE MODALI
---------------------------------------------------------------------------- */

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
    background-color: #eee;
    margin: 15% auto; /* 15% from the top and centered */
    border: 1px solid #888;
    padding: 20px;
    max-width: 700px; /* Could be more or less, depending on screen size */
    font-size: 14pt;
}

.modal-content input,
.modal-content textarea {
    border: 1px black solid;
    font-size: 14pt;
    padding: 2px;
}

.modal-body {
    padding-top: 20px;
}

.modal-title {
    font-size: 18pt;
    font-weight: bold;
}

.modal-close {
    float: right;
    color: #999;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modal-close:hover,
.modal-close:focus {
    color: #000;
    text-decoration: none;
}

.modal-button {
    border: 1px black solid;
    margin: 10px;
    padding: 10px;
    font-size: 16pt;
}
