﻿body {
    font-size: 12px;
    font-family: verdana;
    color: #808080;
    margin: 0px;
    background-color: #f1f1f1;
    min-width:600px;
}

h1, h2, h3, h4 { margin-bottom:5px;}
h1 {color:#fff;}

hr {
    color: #fff;
    height: 3px;
    lighting-color: none;
    border: 0;
    background-color: #fff;
}

a{color:#000; text-decoration:none; font-family:Verdana; font-size:100%}
a:hover{color:#000; text-decoration:none}
a:focus{color:#000; text-decoration:none}

img{border:0px;}
.right {text-align: right; }

/*------------------------------------------pannelli messaggi----------------------------------------*/
.pageMessage{
    position:fixed;
    width:100%;
    height:100%;    
    top:0px;
    left:0px;
    z-index:200;
    background-color:rgba(0,0,0,0.3);
    
}

.pageMessageContent{
    min-width:300px;
    max-width:90%;
    min-height:10%;
    background-color:#f8eeee;
    top:0px;
    left:0px;    
    margin:auto;
    margin-top:10%;
    border: 2px solid #808080;
    border-radius:5px;
    z-index:300;
    text-align:center;
    padding:10px;
}
/*------------------------------------------pannello motore ricerca----------------------------------------*/
.printHideEl{
    /*nel css intranetPrint.css è nascosto (display:none)*/
}
/*------------------------------------------pannelli input----------------------------------------*/
.inputPanel {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 200;
    background-color: rgba(0,0,0,0.3);
}

.inputPanelContent{
    min-width:300px;
    max-width:95%;
    min-height:10%;
    background-color:#f1f1f1;
    /*top:0px;
    left:0px;*/    
    margin:auto;
    margin-top:5%;
    border: 2px solid #808080;
    border-radius:5px;
    /*z-index:300;*/
    /*text-align:center;*/
    padding:10px;
}

/*------------------------------------------pannelli menu'----------------------------------------*/
.menuPanel{
    position:fixed;
    width:100%;
    height:100%;    
    top:0px;
    left:0px;
    z-index:200;
    background-color:rgba(0,0,0,0.3);
    transition: 0.5s; 
    text-align:left;
}

.menuPanelContent{
    width:270px;
    /*max-width:90%;*/
    /*min-height:10%;*/
    height:100%;
    background-color:#3D5727;
    top:30px;
    left:0px;  
    padding: 8px 8px 8px 32px;  
    /*margin:auto;*/
    margin-top:0px;
    border: 0;
    /*border-radius:5px;*/
    z-index:300;
    text-align:left;
    font-size: 16px;
    font-family: Arial;
    color: #f1f1f1;
    overflow-y:auto;

}

.menuPanelContent a{color:#C3C3C3; text-decoration:none; font-family:Verdana; font-size:100%;  }
.menuPanelContent a:hover{color:#FFF; text-decoration:none}
.closebtn {position: relative; top: 10px; right: 20px; font-size: 24px; margin-left: 260px;z-index:400;}

/*------------------------------------------pannelli input----------------------------------------*/

/*--------------------------------------------------menu----------------------------------------------------*/
.menu_testo{
    border:0px;
    width:210px;
    cursor:pointer;
    padding:5px;
    border-radius:4px;
    margin-top:10px;
}

.menu_testo:hover {
    border: 0px;
    background-color: #587d38;
    color:#fff4b4;
    width: 210px;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    margin-top: 10px;
    box-shadow: inset;
}

.menu {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 50px;
    background-color: #587d38;
    background-image: url(../img/menu_bg.jpg);
    z-index: 100;
}
/*.menu:hover{background-color:#2196F3;}*/

/*div menu*/
.menuButton{
    
    width:100px;  
    height:20px;  /*stessa altezza menu - 30px di padding*/ 
    color:white;
    background-color: #587d38;
    cursor:pointer;
    text-align:center;
    padding:15px;
    
}
.menuButton:hover{background-color: #719c44;}

/*----------------------------------------------contenitore paginne content-------------------------------------------*/
.mainContainer{
    margin:50px 10px 10px 10px; /*stessa altezza del menu*/
}

/*------------------------------------------------footer-------------------------------------------------*/
.footer{
    position:fixed;
    bottom:0px;
    left:0px;
    width:100%;
    height:30px;
    background-color:#587d38;
    background-image: url(../img/footer_bg.jpg);
    padding:5px;
    z-index:100;
    color:#f8eeee
}

/*-----------------------------------------------menu contestuale-----------------------------------------------------*/
.contextMenu {
    position:absolute;
    padding:10px;
    border-radius:7px;
    color:#808080;
    background-color:#fff4b4;
    font:italic 12px verdana;
    border:2px solid #808080;
    box-shadow:#d5d5d5 2px 4px 7px;
    background-color:#fff;
    z-index:300;
}

/*-----------------------------------------------------elementi------------------------------------------------------*/

select{border:1px solid #808080; font-size: 100%;font-family:Verdana; color:#808080; margin-right:10px; width:auto; }

input[type=submit], [type=button] {
    background-color: #587d38;
    border: none;
    padding: 5px;
    border-radius: 6px;
    cursor: pointer;
    color: white;
    padding: 5px 10px;
    margin: 4px 0;
}

input[type=file] {
    border: 1px solid #ccc;
    width: 100%;
}


input[type=submit]:hover, [type=button]:hover {
    background-color: #719c44;
    border: none;
    padding: 5px;
    border-radius: 6px;
    cursor: pointer;
    color: white;
    padding: 5px 10px;
    margin: 4px 0;
    opacity: 0.8;
}



input[type=text], [type=password], [type=email], [type=date] {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 3px;
    border-radius: 6px;
    font-size: 100%;
    font-family: Verdana;
    color: #808080;
    width: 100%;
    
}
textarea, select {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 3px;
    border-radius: 6px;
    font-size: 100%;
    font-family: Verdana;
    color: #808080;
    width: 100%;
}


fieldset {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px 20px 10px 10px;
    width: 95%;
    margin: 10px auto 10px auto;
}

legend{
    font-size:large; 
    font-weight:bold;
    padding:0px 10px 0px 10px;
}
label {
    padding: 2px 2px 2px 0;
   display: inline-block;

}
.nowrap {
    white-space: nowrap;
}

/*------------------------------------------------------pagina menu------------------------------------------------------------*/
.cssMenuLink {width:180px;height:120px; background-color:#e5e5e5;  text-align:center;padding:10px; float:left; margin:5px;box-shadow:rgba(0,0,0,0.3) -2px -2px inset; }
.cssMenuLink:hover {background-color:#fff5a9; box-shadow:rgba(0,0,0,0.3) 2px 2px inset; cursor:pointer;}
.cssImgLink {margin:auto;display:inline-block;}


/*-----------------------------------------------------------tabelle----------------------------------------------------*/
table{border: 0; border-spacing:1px; width:100%;}

.tr{background-color:#fff;margin:0;padding:0;}
.trAlt{background-color:#f8f8f8}
.thead{border: 1px solid #808080; border-spacing:0px; background-color:#587d38; color:#fff;}
.thead:hover{border: 1px solid #808080; border-spacing:0px; background-color:#587d38; color:#fff;}
.theadEmpty{border: 0px; border-spacing:0px; color:#587d38}
.theadEmpty:hover{border: 0px; border-spacing:0px;background-color:inherit}
tr:hover{
    background-color:#fff4b4;
}

.trActive{background-color:#fff4b4;} /*riga selezionata*/

td{padding:2px 5px 2px 5px;}

/*--------------------------------------------------------elementi disabilitati--------------------------------------*/
.txtDisabled{
    background-color:#fff;
    border: 0px;
    padding:3px;
    border-radius:6px;
    min-width:100px;
    font-size: 100%;
    font-family:Verdana; 
    color:#808080; 
    margin-top:10px; 
    resize:none;  
}
.txtEnabled{
    background-color:#fff4b4;
    border: 1px solid #2196F3;
    padding:3px;
    border-radius:6px;
    width:50%;
    font-size: 100%;
    font-family:Verdana; 
    color:#808080;
    overflow:visible;
    margin-top:10px;   
}

/*------------------------------------------------------------Login page-------------------------------------------------*/

.center {
    text-align: center;
    margin: 24px 0 12px 0;
}
.left {
    text-align: left;
}

img.avatar {
    width: 20%;
    border-radius: 50%;
}
.container {
    padding: 6px;

}

/*----------------------------------------------Pulsanti delle righe nelle tabelle e repeater---------------------------------------*/
.buttonTabella{
    height:32px; 
    cursor:pointer
}

/*------------------------------------------------------------blink button-------------------------------------------------*/

.buttonflash-Green {
    background-color: #587d38;
    padding: 5px 10px;
    color: #fff;
    border: none;
    border-radius: 5px;
    animation-name: flash;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes flash {
    0% {
        opacity: 1.0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1.0;
    }
}

.buttonflash-Red {
    background-color: #ff0000;
    padding: 5px 10px;
    color: #fff;
    border: none;
    border-radius: 5px;
    animation-name: flash;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes flash {
    0% {
        opacity: 1.0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1.0;
    }
}

/*-------------------------------------------------clock----------------------------------------------*/
 input.digitalClock  {
    width:150px;
    height:20px;
    margin-right:30px;
    margin-top:10px;
    color:#000;
    background-color:#ffffff;
    font-size:14px;
    text-align:center;
    float:right   
    }

 /*--------------------------------------------postit-------------------------------------------------*/

.postit {
    width:50px;
    height:50px;
    padding:20px;
}

textarea.postitcss {
    width: 220px;
    height: 200px;
    border: 0px;
    resize: none;
    font-family: verdana, tahoma, sans-serif;
    padding: 15px 10px 10px 10px;
    box-shadow: 1px 3px #dfdfdf;
    border-radius: 0px;
}


 


