.btn {
  background: #3498db;
  background-image: -webkit-linear-gradient(top, #3498db, #2980b9);
  background-image: -moz-linear-gradient(top, #3498db, #2980b9);
  background-image: -ms-linear-gradient(top, #3498db, #2980b9);
  background-image: -o-linear-gradient(top, #3498db, #2980b9);
  background-image: linear-gradient(to bottom, #3498db, #2980b9);
  -webkit-border-radius: 13;
  -moz-border-radius: 13;
  border-radius: 13px;
  -webkit-box-shadow: 6px 4px 3px #666666;
  -moz-box-shadow: 6px 4px 3px #666666;
  box-shadow: 6px 4px 3px #666666;
  font-family: Arial;
  color: #ffffff;
  font-size: 12px;
  padding: 0px 20px 0px 20px;
  text-decoration: none;
}

.btn:hover {
  background: #3cb0fd;
  background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -ms-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -o-linear-gradient(top, #3cb0fd, #3498db);
  background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
  text-decoration: none;
}
.btn1 {
  background: #3498db;
  background-image: -webkit-linear-gradient(top, #3498db, #2980b9);
  background-image: -moz-linear-gradient(top, #3498db, #2980b9);
  background-image: -ms-linear-gradient(top, #3498db, #2980b9);
  background-image: -o-linear-gradient(top, #3498db, #2980b9);
  background-image: linear-gradient(to bottom, #3498db, #2980b9);
  -webkit-border-radius: 9;
  -moz-border-radius: 9;
  border-radius: 9px;
  -webkit-box-shadow: 6px 4px 3px #666666;
  -moz-box-shadow: 6px 4px 3px #666666;
  box-shadow: 6px 4px 3px #666666;
  font-family: Arial;
  color: #ffffff;
  font-size: 14px;
  padding: 0px 60px 0px 40px;
  text-decoration: none;
}

.btn1:hover {
  background: #3cb0fd;
  background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -ms-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -o-linear-gradient(top, #3cb0fd, #3498db);
  background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
  text-decoration: none;
}

div#contenitore{
position:relative;
left:0px;
top:5px;
background-color:#fafafa;
border:1px solid #900;
padding:0.4em;
width:99% !important;  width /**/:200px;
height:78% !important; height /**/: 200px;
color: #900;
overflow:auto;
}
div#contenitore label{
    font-family:Arial, Helvetica, sans-serif; font-size:14px;color:#000;
}
div#sel{
position:relative;
left:0px;
top:0px;
background-color:#fafafa;
border:1px solid #900;
padding:0.4em;
width:99% !important;  width /**/:200px;
height:30px !important; height /**/: 200px;
color: #900;
}
div#sel a{
    font-family:Arial, Helvetica, sans-serif; 
    font-size:12px;
    color:#000;
    font-weight:bold;
}
div#sel1{
position:relative;
left:0px;
top:0px;
background-color:white;
width:100% !important;  width /**/:100px;
height:20px !important; height /**/: 200px;
color: #900;
}
div#sel1 a{
    font-family:Arial, Helvetica, sans-serif; 
    font-size:12px;
    color:#000;
    font-weight:bold;
}
div#intestazione{position:relative; margin:0; padding:2px 5px; background: #AE4445; color: #fff;} 
div#intestazione h1{font-family:Arial, Helvetica, sans-serif; font-size:14px; color:#fff; line-height:1.2;} 
div#intestazione p{font-family:"Courier New", Courier, mono; font-size:1.1em; line-height:1.2;}

div#footer{position:relative; margin:0; background-color: #880507; color: #fff; padding:2px 5px;} 
div#footer h1{font-family:Arial, Helvetica, sans-serif; font-size:14px; color:#fff;} 
div#footer center{font-family:Arial, Helvetica, sans-serif; font-size:14px; color:#fff;} 
div#footer p{font-family:"Courier New", Courier, mono; font-size:1.1em; line-height:1.2;}

div#menu-nav{
/*background:#FADDA5;*/
color:#000;
float:left;
width:20%;
/*margin-left:-100%;*/
}
div#menu-nav h2{
font-family:Arial, Helvetica, sans-serif;
font-size:1.5em;
padding-bottom:5px;
padding:0 5px;
color:#000;
line-height:1.2;

}
div#menu-nav p{
font-family:"Courier New", Courier, mono;
font-size:1.1em;
line-height:1.2;
padding:0 5px;
}
div#contenuto{
margin: 0 0 0 0% ; 
color: #000; 
} 
div#contenuto label{
    font-family:Arial, Helvetica, sans-serif; font-size:14px;color:#000;
}
div#contenuto h2{ 
font-family:Arial, Helvetica, sans-serif; 
font-size:14px; 
padding:0 5px; 
color:#000; 
line-height:1.2; 
} 
div#contenuto p{ 
font-family:"Courier New", Courier, mono; 
font-size:1.1em; 
line-height:1.2; 
padding:0 5px; 
}
div#box
{
    width:350px !important;  width /**/:200px;
    height:200px !important; height /**/: 200px;
    padding: 4px;
    border:1px solid #EEE; border-right:0 solid;
    background:url(gradient.png) repeat-x fixed top left;
    overflow:auto;
}
ul.glossymenu{
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
	text-align: left; /* change to "center" or "right" to align differently */
	border-bottom: 10px solid darkred; /* bottom border */
	background: #ffffff;
	background: -moz-linear-gradient(top,  #ffffff 0%, #d8d8d8 100%); /* gray gradient background */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#d8d8d8));
	background: -webkit-linear-gradient(top,  #ffffff 0%,#d8d8d8 100%);
	background: -o-linear-gradient(top,  #ffffff 0%,#d8d8d8 100%);
	background: -ms-linear-gradient(top,  #ffffff 0%,#d8d8d8 100%);
	background: linear-gradient(to bottom,  #ffffff 0%,#d8d8d8 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#d8d8d8',GradientType=0 );
}


ul.glossymenu li{
 display: inline;
}

ul.glossymenu li:first-of-type{
	margin-left: 10px;
}

ul.glossymenu a{
	position: relative;
	display: inline-block;
	overflow: hidden;
	color: black; /* font color */
	text-decoration: none;
	padding: 8px 20px;
	font-size: 11px; /* font size */
	font-weight: bold;
	vertical-align: bottom;
	-webkit-transition: color 0.5s; /* transition property and duration */
	-moz-transition: color 0.5s;
	transition: color 0.5s;
}

ul.glossymenu a b{
	position: relative;
	z-index: 10;
}

ul.glossymenu a::before{
	content: '';
	color: white;
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	background: darkred; /* tab background */
	left: 0;
	top: 110%; /* extra 10% is to account for shadow dimension */
	box-shadow: -2px 2px 10px rgba(255,255,255,.5) inset;
	border-radius: 15px 15px 0 0 / 12px 12px; /* oval shaped border for top-left and top-right corners */
	-webkit-transition: top 0.5s; /* transition property and duration */
	-moz-transition: top 0.5s;
	transition: top 0.5s;
}

ul.glossymenu a:hover{
	color: white; /* hover color */
}

ul.glossymenu a:hover::before{
	top: 0; /* slide tab up */
}

/****** Responsive Code ******/

@media screen and (max-width: 640px) {
	
	ul.glossymenu li:first-of-type{
		margin-left: 0;
	}
}

/****** Theme Red ******/

ul.glossymenu.red{
	border-bottom-color: darkred;
}

ul.glossymenu.red a::before{
	background: darkred;
}
div#selmenu{
position:relative;
left:0px;
top:0px;
background-color:#fafafa;
border:1px solid #900;
padding:0.4em;
width:99% !important;  width /**/:200px;
height:100px !important; height /**/: 200px;
color: #900;
}
div#selmenu h2{
font-family:Arial, Helvetica, sans-serif;
font-size:14px;
padding-bottom:5px;
padding:0 5px;
color:#000;
}
/* The Modal (background) */
.modal {
font-family:Arial, Helvetica, sans-serif;
font-size:14px;
font-weight: bold;    
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
padding-top: 100px; /* Location of the box */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(255,255,255); /* Fallback color */
background-color: rgba(255,255,255,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
background-color: #FFF68F;
margin: auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
background-image: -webkit-linear-gradient(top, #FFEC8B, #EEDC82);
background-image: -moz-linear-gradient(top, #FFEC8B, #EEDC82);
background-image: -ms-linear-gradient(top, #FFEC8B, #EEDC82);
background-image: -o-linear-gradient(top, #FFEC8B, #EEDC82);
background-image: linear-gradient(to bottom, #FFEC8B, #EEDC82);
-webkit-border-radius: 13;
-moz-border-radius: 13;
border-radius: 13px;
-webkit-box-shadow: 6px 4px 3px #666666;
-moz-box-shadow: 6px 4px 3px #666666;
box-shadow: 6px 4px 3px #666666;

}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

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

a.ovalbutton{
background: transparent url('../images/oval-blue-left.gif') no-repeat top left;
display: block;
float: left;
font: normal 13px Tahoma; /* Change 13px as desired */
line-height: 16px; /* This value + 4px + 4px (top and bottom padding of SPAN) must equal height of button background (default is 24px) */
height: 24px; /* Height of button background height */
padding-left: 11px; /* Width of left menu image */
text-decoration: none;
}

a:link.ovalbutton, a:visited.ovalbutton, a:active.ovalbutton{
color: #494949; /*button text color*/
}

a.ovalbutton span{
background: transparent url('../images/oval-blue-right.gif') no-repeat top right;
display: block;
padding: 4px 11px 4px 0; /*Set 11px below to match value of 'padding-left' value above*/
}

a.ovalbutton:hover{ /* Hover state CSS */
background-position: bottom left;
}

a.ovalbutton:hover span{ /* Hover state CSS */
background-position: bottom right;
color: black;
}
/* red */
a.ovalbuttonr{
background: transparent url('../images/oval-red-left.gif') no-repeat top left;
display: block;
float: left;
font: normal 13px Tahoma; /* Change 13px as desired */
line-height: 16px; /* This value + 4px + 4px (top and bottom padding of SPAN) must equal height of button background (default is 24px) */
height: 24px; /* Height of button background height */
padding-left: 11px; /* Width of left menu image */
text-decoration: none;
}

a:link.ovalbuttonr, a:visited.ovalbuttonr, a:active.ovalbuttonr{
color: #494949; /*button text color*/
}

a.ovalbuttonr span{
background: transparent url('../images/oval-red-right.gif') no-repeat top right;
display: block;
padding: 4px 11px 4px 0; /*Set 11px below to match value of 'padding-left' value above*/
}

a.ovalbuttonr:hover{ /* Hover state CSS */
background-position: bottom left;
}

a.ovalbuttonr:hover span{ /* Hover state CSS */
background-position: bottom right;
color: black;
}
/* button */
button.ovalbutton{
overflow: hidden;
background: transparent url('../images/oval-blue-left.gif') no-repeat top left;
float: left;
font: normal 13px Tahoma; /* Change 13px as desired */
line-height: 16px; /* This value + 4px + 4px (top and bottom padding of SPAN) must equal height of button background (default is 24px) */
height: 24px; /* Height of button background height */
padding-left: 11px; /* Width of left menu image */
text-decoration: none;
border:none;
}

button:link.ovalbutton, button:visited.ovalbutton, button:active.ovalbutton{
color: #494949; /*button text color*/
}

button.ovalbutton span{
background: transparent url('../images/oval-blue-right.gif') no-repeat top right;
padding: 4px 11px 4px 0; /*Set 11px below to match value of 'padding-left' value above*/
}

button.ovalbutton:hover{ /* Hover state CSS */
background-position: bottom left;
}

button.ovalbutton:hover span{ /* Hover state CSS */
background-position: bottom right;
color: black;
}
button.ovalbuttonr{
overflow: hidden;
background: transparent url('../images/oval-red-left.gif') no-repeat top left;
float: left;
font: normal 13px Tahoma; /* Change 13px as desired */
line-height: 16px; /* This value + 4px + 4px (top and bottom padding of SPAN) must equal height of button background (default is 24px) */
height: 24px; /* Height of button background height */
padding-left: 11px; /* Width of left menu image */
text-decoration: none;
border:none;
}

button:link.ovalbuttonr, button:visited.ovalbuttonr, button:active.ovalbuttonr{
color: #494949; /*button text color*/
}

button.ovalbuttonr span{
background: transparent url('../images/oval-red-right.gif') no-repeat top right;
padding: 4px 11px 4px 0; /*Set 11px below to match value of 'padding-left' value above*/
}

button.ovalbuttonr:hover{ /* Hover state CSS */
background-position: bottom left;
}

button.ovalbuttonr:hover span{ /* Hover state CSS */
background-position: bottom right;
color: black;
}
fieldset.row1{
    width:50%;
    padding:5px;
    float:left;
    border-top:1px solid #F5F5F5;
    margin-bottom:15px;
}
fieldset.row2{
    border-top:1px solid #F1F1F1;
    border-right:1px solid #F1F1F1;
    padding:5px;
    float:left;
}
fieldset.row3{
	border-top: 1px solid #F1F1F1;
	padding: 5px;
	float: left;
	margin-bottom: 15px;
	width: 159px;
 
}
fieldset.row4,fieldset.row5{
    border-top:1px solid #F1F1F1;
    border-right:1px solid #F1F1F1;
    padding:5px;
    float:left;
    clear:both;
}
fieldset.row5{
	width:100%;
}
