﻿/*----------------------------------------------------------
The base color for this template is #5c87b2. If you'd like
to use a different color start by replacing all instances of
#5c87b2 with your new color.
----------------------------------------------------------*/
::selection {color:white;background:#82b26e;}
::-moz-selection {color:white;background:#82b26e;}

body
{
    background-color: White;
    font-size: .85em;
    font-family: Tahoma, Arial, Helvetica;
    margin: 0; /*20px 25px 0px 25px; */
    padding: 0;
    color: #595959;
}

a:link
{
    color: #034af3;
    text-decoration: underline;
}
a:visited
{
    color: #034af3;
}
a:hover
{
    color: #034af3;
    text-decoration: none;
}
a:active
{
    color: #034af3;
}

p /*, nav ul */
{
    margin-bottom: 20px;
    line-height: 1.6em;
    margin-top:0;
}

header,
footer,
nav,
section {
    display: block;
}

fieldset
{
    padding: 0px 15px;    
}

legend 
{
	font-weight:bold;
	font-size:1.4em;
	padding:5px;
	color: Black;
}

label
{
    font-weight:bold;   
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6
{
    font-size: 1.5em;
    color: #595959;
    /*font-family: Tahoma, Arial, Helvetica;*/
}

h1
{
    font-size: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
}
h2
{
    padding: 0;
    line-height: 0em;
}
h3
{
    font-size: 1.2em;
    line-height:1.0em;
}
h4
{
    line-height:1.1em;
    font-size: 1.1em;
}
h5
{
    font-size: 1em;
}
h6
{
   font-size: 2.2em; 
   padding-left: 2.2em;
}

/* this rule styles <h2> tags that are the 
first child of the left and right table columns */
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2
{
    margin-top: 0;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */
.page
{
    width: 100%;
    margin-left: auto;
    margin-right: auto;

}

header, #header
{
    position: relative;
    height:83px;
    margin-bottom: 0px;
    color: #000;
    padding: 0;
    background-image:url(./Images/banner_sfondo_basso.png);
    background-repeat:repeat-x;
}
table
{
    padding: 0;
}

#main
{
    /*background-color: #fff;*/
    /*padding: 30px 30px 15px 30px; */
    padding: 0;
    margin: 0;
}
#contentblock
{
    border: 1px solid #BCBCBC;
    margin: 0px;
	background-image:url(./Images/main-background.png);
    background-repeat:repeat-x;
    vertical-align: top;
    padding: 0px 5px 5px 5px;
    position:relative;
    top:0px;
}

#footer
{
    color: #999;
    padding: 10px 0;
    text-align: center;
    line-height: normal;
    margin: 0;
    font-size: .9em;
}

#sitetitle
{
    display:block;
    text-align:left;
    font-weight: bold;
    margin: 0;
    color: #fff;
    border: none;
    line-height: .8em;
    font-family: Tahoma, Arial, Helvetica;
    font-size: 25px !important;
    padding-top:10px;
}

#sitesubtitle
{
	display: block;
    text-align: left;
    color: #92EF52;
    padding-left: 0px;
    float: left;
    
}

#logindisplay
{
    font-size:1.0em;
    display:block;
    text-align:right;
    color:White;
    float:right;
    padding-top:0px;
    margin: 5px;
}

#logindisplay a:link, #logindisplay a:visited 
{
    color: White;
    text-decoration: none;
    font-weight: bold;
}

#logindisplay #gobutton
{
	border: 0;
	padding: 0;
	margin: 0;
	font-family: Tahoma, Arial, Helvetica;
	background-color: Transparent;
	cursor: pointer;
	color: white;
    text-decoration: none;
    font-weight: bold;
}




/* MISC  
----------------------------------------------------------*/
.clear
{
    clear: both;
}

.error
{
    color:Red;
}

.field-validation-error
{
    color: #ff0000;
}

.input-validation-error
{
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors
{
    font-weight: bold;
    color: #ff0000;
}

.limelabel
{
	text-align: left;
	color: #92EF52;
	line-height: .6em;
}

fieldset {
    border: 1px solid #82b26e;
    padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 1.5em 0;
}

legend {
    font-size: 1.2em;
    font-weight: bold;
}

textarea {
    min-height: 75px;
}

.readOnly {
	background: #bbbbbb;
	font-weight: bold;
	border: solid 1px #bbbbbb;
}

input[type="text"], 
input[type="date"], 
input[type="number"], 
input[type="password"] {
    padding: 2px;
    font-size: 1.2em;
    /*display:block;*/
    margin-bottom:5px;
    vertical-align:top;
    color:#595959;
    border:1px solid #82b26e;
    /*background:#F0F0F0 url(Images/text-background.png) repeat;*/

}

select {
    border: 1px solid #82b26e;
    padding: 2px;
    display:block;
    margin-bottom:5px;
    font-size: 1.2em;
    color: #595959;
    vertical-align:top;
}
/*
select option:hover  {
    background-color: #82b26e; 
    color:white;
}    
select option:selected  {
    background-color: #82b26e; 
    color:White;
} */   

input[type="cancel"],
input[type="submit"],
input[type="button"],
button {
    font-size: 1em;
    padding: 5px;
    border-style:solid;     
    border: 1px solid #75A95F;
    padding:5px 10px;
    cursor:pointer;
    font-family: Tahoma, Arial, Helvetica;
    color: #595959;
    background-color: #B8D2AC;
    font-weight: bold;
}

input[type="cancel"]:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
button:hover
{
    background-color: #82b26e;
    color: White;
}

input.activated[type="button"], input.activated[type="button"]:hover
{
    background-color: #80AD69;
    color: white; /*#595959;*/
}
.borderedtab {
    border: solid 1px #75A95F;
    border-collapse: collapse;
}

.borderedtab td {
    padding: 5px;
    border: solid 1px #75A95F;
}

.borderedtab th {
    padding: 6px 5px;
    text-align: left;
    background-color: #B8D2AC;
    border: solid 1px #82b26e;
}
	
.highlight { 
    background-color: #82b26e; 
    color:White;
    cursor:pointer;
    border: solid 1px #75A95F;
}
.nothighlight { 
    cursor:pointer;
    border: solid 1px #75A95F;
}
.context-menu-item.icon-sel {
    background-image: url('images/ok.png');
}
.context-menu-item.icon-prj {
    background-image: url('images/pencil.png');
}

.ui-widget.ui-dialog-titlebar-close.tahoma-noclose {
	display: none;
}
.ui-widget.ui-dialog-titlebar.tahoma-notitle {
	display: none;
}
.no-close .ui-dialog-titlebar-close {
  display: none;
}

.noTitleStuff .ui-dialog-titlebar {display:none}

.ui-resizable-se {
    bottom: 17px;
}

.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
}
/* IE 6 doesn't support max-height
* we use height instead, but this forces the menu to always be this tall
*/
* html .ui-autocomplete {
    height: 100px;
}