* {
 margin: 0px;
 padding: 0px;
}

body {
 /*background:#1A3B6C url(/images/stingray.gif) 65px 0px no-repeat;*/
  background:#1A3B6C url(/images/Sharky06.png) 5px 5px no-repeat;
 /* background:#1A3B6C url(/images/sharky02.gif) 0px 0px no-repeat;*/
 /* background:#1A3B6C url(/images/Sharky03.gif) 0px 0px no-repeat;*/
 /* background:#1A3B6C url(/images/Sharky04.gif) 0px 0px no-repeat;*/
  /*background:#1A3B6C url(/images/Sharky05.gif) 5px 4px no-repeat;*/
  /*background:#1A3B6C url(/images/Sharky06.gif) 0px 0px no-repeat;
  background:#1A3B6C url(/images/Sharky07.gif) 0px 0px no-repeat;*/
 font-family: Verdana, Arial, sans-serif;
 font-size: 16px;
 color: White;
}

img{ border: 0px; }

a img{ border: 0px; }

a { text-decoration: none;}

a:hover {
 font-weight: bold;
}

input {
 background: #1A3B6C;
   font-size: small;
 font-weight: bold;
     padding: 2px;
       color: Black;
      border: 1px Solid white;
 }
	
button {
 background: #1A3B6C;
 font-size: small;
 font-style: italic;
 font-weight: bold;
 padding: 2px;
 color: White;
 border: 1px Solid Black;
 height: 20px;
 } 
	
ul, li {
 list-style: none;
}



/**** Span class *****/
.hidden { text-indent: -9000px;}
.br { clear: both; padding: 2px 0px;}
.white { color: White;}
.red { color: Red}
.yellow { color: Yellow;}
.byellow { color: Yellow; font-weight: Bold;}
.lgreen { color: Aqua;}
.blgreen { color: Aqua; font-weight: Bold;}
.green { color: Green;}
.bgreen { color: Green; font-weight: Bold;}
.red { color: Red;}
.bred { color: Red; font-weight: Bold;}
.blue { color: Blue;}
.bblue { color: Blue; font-weight: Bold;}
.black { color: Black;}
.pink { color: #D01A71;}
.micro { font-size: xx-small;}
.small { font-size: x-small;}
.medium { font-size: small;}
.large { font-size: xx-large;}
.xlarge { font-size: 20mm;}
.right { float: right;}
.left { float: left;}
.center { margin: 0 auto; text-align: center;}
.firefoxnote { color: white; font-size: x-small; text-align: right; }
.active {  display:block; width: 150px; height: 20px; padding: 0px; font-size: 1.0em; font-weight: bold; color: White; background: Black; border:1px Solid White;}
.counter { background: Black; padding: 1px 10px; height: 16px; font-size: x-small; font-weight: bold; color: White; border:1px Solid White; }
.message { display:block; background: Black; padding: 5px; font-size: small; font-weight: bolder; color: White; border:1px Solid White; }
.info_error { color : red; font-size: large; text-align: center;}
/**** News Class ****/
.Notizia { display: block; width: 800px; padding: 0px; font-size: small; font-weight: normal; color: White; background: inherit; }
.Intestazione { height: 18px; padding-left: 2px; padding-right: 2px; border: 1px Dashed White;}
.TitoloData { font-size: x-small; font-weight: normal; color: Yellow;}
.Titolo { font-size: x-small; font-weight: bold; color: White;}
.TitoloAutore { font-size: x-small; font-weight: normal; color: Red;}
.Corpo { padding: 5px; font-weight: italic; color: White; background: Black; border-bottom: 1px Dashed White; border-right: 1px Dashed White; border-left: 1px Dashed White; }

/**** News Home Class ****/
.HNotizia { display: block; width: 800px; padding: 0px; font-size: small; font-weight: normal; color: White; background: black; text-align:center;}
.HIntestazione { height: 18px; padding-left: 2px; padding-right: 2px; border: 1px Dotted #28D;}
.HTitoloData { font-size: small; font-weight: normal; color: Yellow;}
.HTitolo { font-size: small; font-weight: bold; color: White;}
.HTitoloAutore { font-size: small; font-weight: normal; color: Red;}

.Elimina { font-size: x-small; font-weight: normal; color: Red;  border-left: 1px Solid White; border-right: 1px Solid White;}
.Modifica { font-size: x-small; font-weight: normal; color: Red; border-left: 1px Solid White; border-right: 1px Solid White;}
.AggiungiNuova { font-size: small; font-weight: normal; color: Red;}

/**** News Class Edit ****/
.EElimina { display: block; padding: 2px; font-size: small; font-weight: bold; color: Red; background: black; border: 1px Solid White; }
.EModifica { display: block; padding: 2px; font-size: small; font-weight: bold; color: Red; background: black; border: 1px Solid White; }
.EAggiorna { display: block; padding: 2px; font-size: small; font-weight: bold; color: Red; background: black; border: 1px Solid White; }
.EAnnulla { display: block; padding: 2px; font-size: small; font-weight: bold; color: Aqua; background: black; border: 1px Solid White; }
.EPubblicare { padding: 2px; font-size: small; color: White; background: Black; border: 1px Dashed White;}

.ENotizia { display: block; width: 700px; padding: 2px; font-size: small; font-weight: normal; color: White; background: LighBlue; }
.EIntestazione { background: Black; padding: 2px; border: 1px Dashed White;}
.ETitoloData { background: Black; font-size: x-small; font-weight: normal; color: Yellow;}
.ETitolo { background: Black; font-size: x-small; font-weight: bold; color: White;}
.ETitoloAutore { background: Black; font-size: x-small; font-weight: normal; color: Red;}
.ECorpo { font-weight: italic; color: White; background: Black; border-bottom: 1px Dashed White; border-right: 1px Dashed White; border-left: 1px Dashed White; }
.Esmall { font-size: x-small; Border: 2px Solid Black;}


.blinking-text {
    animation: blinkingText 1.5s infinite;
}

@keyframes blinkingText {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}



/**** Gallery ****/
#summary {
    position: relative;
     z-index: 5;
      margin: auto;
	   width: 500px;
      border: 2px Solid Black;
   font-size: small;
 font-weight: normal;
       color: Black;
  text-align: Left;
     padding: 10px;
  background: #F0E68C;
   }
/**** Sponsor ****/
#sponsor {
 font-size: small;
 color: white;
 width: 600px;
 padding: 5px;
 border: 1px Solid White;
}

/**** Site Container ****/
#container {
 position: relative;
 margin: auto;
 width: 1000px;
 /*border: 1px solid White;*/
 }

/***Header***/

#logo { 
 float: center;
/* border: 1px solid White;*/
 }

#logo h1 { 
 margin-top: 45px;
 margin-right: 10px;
 font-size: 64px;
 font-style: italic;
 letter-spacing: inherit;*
 }

#logo img {
 margin-top: 5px;
 margin-left: 100px;
}
/***left Side Bar***/

#navlist { 
 float: left;
 width: 150px;
 height: 20px;
 text-align: center;
 margin-top: 3px;
 margin-left: 2px;
 padding: 0px;
/* border: 1px solid White;*/
 }

#navlist ul {
 list-style: none;
 width: 150px;
 height: 20px;
}

#navlist li a{
 display: block;
 width: 150px;
 height: 20px;
 margin: 2px 0px;
 background: inherit;
 color: White;
 text-transform: capitalize;
 font-size: 0.9em;
 }
 
#navlist li a:hover {
 width: 150px;
 height: 18px;
 color: White;
 font-weight: bold;
 background: Black;
 border: 1px Solid White;
 text-transform: capitalize;
 }
 
#navlist li .active {
 width: 150px;
 height: 18px;
 color: White;
/* background: #1A3B6C;*/
background: Black;
/* border-top: 1px Solid White; */
}

#navlist dt {
 width: 150px;
 height: 18px;
 color: White;
 border-bottom: 1px Solid White;
 /*border-top: 1px Solid White; */
}

/***newslist the news Bar***/

#newslist { 
 float: right;
 width: 150px;
 text-align: center;
 margin-top: 65px;
 margin-left: 2px;
/* border: 1px solid White;*/
 }

#newslist ul {
 list-style: none;
}

#newslist li a{
 display: block;
 height: 18px;
 padding: 5px;
 margin: 0px;
 background: inherit;
 color: White;
 text-transform: capitalize;
 font-size: 0.9em;
 }
 
#newslist li a:hover {
 color: White;
 font-weight: bold;
 background: Black;
 border: 1px Solid White;
 text-transform: capitalize;
 }
 
#newslist li .active {
 color: White;
 background: #1A3B6C;
}

#newslist dt {
 color: White;
 border-bottom: 1px Solid White;
}


.paginazione 
 {
  font-size: small;
  background: #092A5b;
  border: 1px Solid Black;
  width: 100%;
 }

.paginazione a:hover
 {
  font-weight: bold;
 }

.paginazione a:active
 {
  font-size: small;
  font-weight: bold;
  color: red;
 }

/***Content***/

#content { 
 float: left;
 width: 750px;
 margin-top: 0px;
 margin-left: 15px;
 padding: 5px 10px;
/* border: 1px solid White;*/
}

#content a { color:White; font-style: italic;}

#content a:hover { 
 color: White; 
 font-weight: bold;
}

#content a:active { 
 color: White; 
 font-weight: bolder;
}
 
/*#content p {line-height: 1.4em; font-size: 0.7em; margin-bottom: 20px; color: White;}*/

 
#content h3 {
/*text-indent: 20px;*/
color: White;
letter-spacing: 1px;
margin-bottom: 4px;
}

#content h3:hover { color: White; font-weight: bold; font-style: italic;}

#content .code{
  color: White;
  background: MidNightBlue url(/images/codenums.png) repeat-y;
  border: 1px solid Black;
  padding: 1px;
  padding-left: 25px;
  font-family: "courier new", helvetica, "times new roman", monospace;
  font-size: 0.8em;
  width: 630px;
  margin: 1px auto;
  white-space: nowrap;
  overflow: auto;
  }
	  
#content  code {
  color: #2484D4;
  font-family: "courier new", helvetica, "times new roman", monospace;
  background-color: #42484D;
  font-size: 1.2em;
 }

#content blockquote { color: White; font-style: italic; text-align: center; width: 450px; margin: 5px auto;}

#content ul { list-style: url(/Images/star.gif); vertical-align: middle; }

/***Footer***/
#footer {
 text-align: center;
 color: White;
 margin-top: 30px;
 font-size: 0.7em;
 font-style: italic;
 }
 
#footer p { color: White;}
 
#footer a { color: White; font-style: italic;}
 
#footer a:hover { color: White; font-style: italic; font-weight: bold;}

/*----- IMAGES ----- */
a img{
	border: none;
}

img.left,img.center,img.right {
	padding: 4px;
	border: 1px solid #a0a0a0;
}

img.left {
	float: left;
	margin: 0px 12px 5px 0px;
	background:#fff;
}

img.right {
	float: right;
	margin: 0px 30px 5px 0px;
}

.hoverbox
{
	cursor: default;
	list-style: none;
}

.hoverbox a
{
	cursor: default;
	border: 0px;
}

.hoverbox a .preview
{
	display: none;
}

.hoverbox a:hover .preview
{
	display: block;
	top: -38px;
	left: -50px;
	z-index: 1;
}

.hoverbox img
{
	border-style: solid;
	border-width: 1px;
	color: inherit;
	vertical-align: top;
}

.hoverbox li
{
	color: inherit;
	display: inline;
	float: middle;
	margin: 0px;
}

.hoverbox .preview
{
	/*border-color: #000;*/
/*	width: 100%;*/
/*	height: 200%;*/
}

/* TZ edits to add hoverbox p */
.hoverbox .label
{
/*	width: 150px;
	height: 50px;*/
	color: white;
}

/* =IE Hacks
----------------------------------------------------------------------*/

* html .hoverbox a
{
	position: relative;
}

* html .hoverbox a:hover
{
	font-size: 100%;
	z-index: 1;
/*	width: 300%;
	height: 300%;*/
}

* html .hoverbox a:hover .preview
{
	top: -38px;
	left: -50px;
/*	width: 300%;
	height: 300%;*/
}

* html .hoverbox li
{
	position: static;
}


 
#managenews a 
{ 
   color: White; 
   font-style: italic;
   border : solid 1px White;
   background-color : Transparent;
}
 
#managenews a:hover 
{ 
    color: White; 
    background-color : Black;
    border : solid 1px White;
    font-style: italic; 
    font-weight: bold;
}


.caption {
    font-family: Verdana, sans-serif;
    font-size: 10px;
    float: left;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.caption img {
    float: left;
    margin: 0;
    padding: 0;
   /* background: #fff;*/
    border: none;
}

.caption span {
    float: left;
    margin: 0;
    padding: 0px;
    width: 97%;
	color: white;
    
    background: rgba(0,0,0,0.7);
    position: absolute;
    left: 0;
    bottom: 0;
}

.caption span strong {
    font-weight: bold;
    font-size: 10px;
    text-transform: propercase;
    display: block;
    padding-bottom: 5px;
}



/* Overlay per sponsor chiuso - VERSIONE DEFINITIVA */
#act_closed {
    position: relative;
    display: inline-block;
    width: 600px; /* Stessa larghezza del #sponsor */
    margin: 0 auto;
}

#act_closed::before {
    content: "CHIUSO PER CESSATA ATTIVITÀ";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-25deg);
    color: #ff0000;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.9);
    opacity: 0.85;
    padding: 5px 12px;
    background-color: rgba(255, 255, 255, 0.2);
    border:  none;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
    font-family: Verdana, Arial, sans-serif;
    letter-spacing: 1.5px;
    line-height: 1.2;
    z-index: 100;
    pointer-events: none;
    white-space: nowrap;
}

/* Opacità ridotta per il contenuto dietro la scritta */
#act_closed #sponsor {
    opacity: 0.6;
    filter: grayscale(40%);
}

/* Versione responsiva */
@media screen and (max-width: 768px) {
    #act_closed {
        width: 90%;
        max-width: 600px;
    }
    
    #act_closed::before {
        font-size: 36px;
        padding: 20px 30px;
        transform: translate(-50%, -50%) rotate(-20deg);
        white-space: normal;
        max-width: 90%;
    }
}

@media screen and (max-width: 480px) {
    #act_closed::before {
        font-size: 28px;
        padding: 15px 20px;
        transform: translate(-50%, -50%) rotate(-15deg);
    }
}