﻿.td-allarmi
{
	width:100%;
}
.blink {
    color:red;
    -webkit-animation-name: blinker;
    -webkit-animation-duration: 1s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    
    -moz-animation-name: blinker;
    -moz-animation-duration: 1s;
    -moz-animation-timing-function: linear;
    -moz-animation-iteration-count: infinite;
    
    animation-name: blinker;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@-moz-keyframes blinker {  
    0% { opacity: 1.0; }
    50% { opacity: 0.0; }
    100% { opacity: 1.0; }
}

@-webkit-keyframes blinker {  
    0% { opacity: 1.0; }
    50% { opacity: 0.0; }
    100% { opacity: 1.0; }
}

@keyframes blinker {  
    0% { opacity: 1.0; }
    50% { opacity: 0.0; }
    100% { opacity: 1.0; }
}

body
{
    font-family:Tahoma;
    margin:0;
}
.header
{
    padding:5px;
    background-color:#c0c0c0;
    text-align:left;
}
.header .hleft
{
    float:left;
    text-align:left;
    width:33%
}
.header .hright
{
    float:right;
    text-align:right;
    width:33%
}
.header .hcenter
{
    float:left;
    text-align:center;
    width:33%
}
.cleaner {
    clear:both;
}
a {    
    text-decoration: none;
}
.header div a {
    background-color: #d3dce0;
    padding: 4px 10px;
    font-size: 14px;
    font-weight: bold;
    color: #222;
    line-height: 30px;
}

.bordotab {
	border: 3px double #333333;
	
}
.tabellaext {
	border: 3px solid #CCCCCC;
	box-shadow:2px 2px 2px #777777;
	border-radius: 8px 8px 8px 8px;
}
.titolocella {
	font-family: Tahoma, "Trebuchet MS", "Times New Roman";
	font-size: 10px;
	font-weight: bold;
	color: #FFFFFF;
	background-image:;
	background-repeat: repeat-x;
	line-height: 20px;
	text-shadow:1px 1px 1px #222222;
}
.avvisi {
	font-family: Tahoma, "Trebuchet MS", "Times New Roman";
	font-size: 11px;
	font-weight: normal;
	color: #000000;
}
.bordoalto {
	border-top-width: 1px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #CCCCCC;
	border-right-color: #CCCCCC;
	border-bottom-color: #CCCCCC;
	border-left-color: #CCCCCC;
}
.minpiccolo {
	font-family: Tahoma, "Trebuchet MS", "Times New Roman";
	font-size: 11px;
	font-weight: normal;
	color: #0000FF;
	text-decoration: none;
}
.maxpiccolo {
	font-family: Tahoma, "Trebuchet MS", "Times New Roman";
	font-size: 11px;
	font-weight: normal;
	color: #FF0000;
	text-decoration: none;
}
.scritt2 {
	font-family: Tahoma, "Times New Roman", "Trebuchet MS";
	font-size: 10px;
	color: #009999;
}
.temp {
	font-family: Tahoma, "Trebuchet MS", "Times New Roman";
	font-size: 22px;
	color: #666666;
}
.max {
	font-family: Tahoma, "Trebuchet MS", "Times New Roman";
	font-size: 12px;
	color: #FF0000;
}
.valori {
	font-family: Tahoma, "Trebuchet MS", "Times New Roman";
	font-size: 12px;
	color: #14528A;
}
.valor2 {
	font-family: Tahoma, "Trebuchet MS", "Times New Roman";
	font-size: 18px;
	color: #666666;
}
.blu {	font-family: Tahoma, "Trebuchet MS", "Times New Roman";
	font-size: 12px;
	color: #0000FF;
}
.valori2 {
	font-family: Tahoma, "Trebuchet MS", "Times New Roman";
	font-size: 14px;
	color: #666666;
}
.tblserra,.tblagrimix,.tblipmax
{
    margin: 20px 10px;
}
.tblipmax table table table td
{
	width:50%;
}

.led {
    margin-top:5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    /*background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent 50%), radial-gradient(circle, color-mix(in srgb, var(--led-color, #888) 25%, #333), color-mix(in srgb, var(--led-color, #888) 15%, black));*/
	background:radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent 50%),radial-gradient(circle, var(--led-color, #888), rgba(0, 0, 0, 0.9));
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 0, 0, 0.5);
    background:var(--led-color);
}

    .led::before {
        content: '';
        position: absolute;
        top: 15%;
        left: 25%;
        width: 30%;
        height: 30%;
        background: radial-gradient(ellipse, rgba(255, 255, 255, 0.8), transparent);
        border-radius: 50%;
        opacity: 0.6;
    }

    .led::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        /*background: radial-gradient(circle, color-mix(in srgb, var(--led-color, #888) 70%, transparent) 0%, transparent 70%);*/
		background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent 50%),radial-gradient(circle, var(--led-color, #888), transparent 70%);
        border-radius: 50%;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }

    .led.on {
        /*background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4), transparent 50%), radial-gradient(circle, var(--led-color, #888), color-mix(in srgb, var(--led-color, #888) 40%, black));
        box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.2), 0 0 25px color-mix(in srgb, var(--led-color, #888) 80%, transparent), 0 0 45px color-mix(in srgb, var(--led-color, #888) 40%, transparent);*/
		background:radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4), transparent 50%),radial-gradient(circle, var(--led-color, #888), rgba(0, 0, 0, 0.5));
		box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.2),0 0 25px var(--led-color, rgba(136, 136, 136, 0.8)), 0 0 45px var(--led-color, rgba(136, 136, 136, 0.4)); 
		    background: var(--led-color);
    box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #131313 0 -1px 9px, var(--led-color) 0 2px 12px;
    }


@media screen and (min-width : 1000px) {
    .tblmeteo
    {
	    width:800px;
    }
    .tblmeteo .titolocella,
    .tblmeteo .scritt2,
    .tblmeteo .valori2
    {
    font-size:16px
    }
    .tblmeteo .temp
    {
    font-size:26px
    }
    .tblserra,.tblagrimix,.tblipmax
    {
        margin: 10px;
        display:inline-block;
        vertical-align:top;
    }
    .tblwrapper
    {
        margin: 10px auto;
        
    }
    .cleaner
    {
        height:1px;
        clear:both;
    }
}
