/**
 * @copyright &copy; 2011 by Roberto Rocco Angeloni <roberto@roccoangeloni.it>
 * @license http://opensource.org/licenses/lgpl-3.0.html GNU Lesser General Public License, version 3.0 (LGPLv3)
 * @version $Id: style.css $
 * @package rproject
 *
 * Permission to use, copy, modify, and distribute this software for any
 * purpose with or without fee is hereby granted, provided that the above
 * copyright notice and this permission notice appear in all copies.
 *
 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 */

body {
	background-image: url('images/bg.gif');
	background-repeat: repeat;
	background-color: #8e8e8e; /* #6e6e6e #000000; */
	font-size: 62.5%; /* Resets 1em to 10px */
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
	color: #333;
	margin: 0px;
	padding: 0px;
}

a:link {
	text-decoration: none;
	color: #666666;
}
a:active { color: #888888; }
a:visited {
	text-decoration: none;
	color: #444444;
}
a:hover { color: #000000; }

form { margin: 0px; }

iframe { margin: 0px; border:0px; padding: 0px; }

h1,h2,h3 { margin:0px; }
h1 {
	font-weight: bold;
	font-size: 2.5em;
	/* CSS3 */
	text-shadow: 3px 3px 3px #a1a1a1;
}
h3 {
	/* CSS3 */
	text-shadow: 1px 1px 1px #a1a1a1;
}

hr {
	border: 1px solid #9FA3A6;
	padding: 1px;
	border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;
}

/* ********************************* Classi ********************************* */

.messaggio {
	margin: 10px;
	padding: 10px;
	border: 1px solid #AA4400;
	background-color: #FFFFAA;
	color: #AA4400;
	width: 70%;
}
.page {
	border-collapse: collapse;
	width: 99%;
	height: 99%;
}
.page_top {
	height: 15%;
	text-align: center;
	vertical-align: middle;
}
.page_left {
	width: 20%;
	text-align: left;
	vertical-align: top;
}
.page_center {}
.page_right {
	width: 20%;
	text-align: left;
	vertical-align: top;
}
.page_bottom {
	height: 5%;
	text-align: center;
	vertical-align: middle;
}

div.content_item {
	vertical-align:text-top;
	font-size: 12px;
}
p.content_item {
	font-size: 10px;
	margin: 0.1em;
	border: 0px;
	padding: 0.1em;
}

.elenco {
/*     font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; */
}
table.elenco {
    border: 0px solid #ffffff;
    width: 650px;
    padding: 0px;
    border-spacing: 0px;
}
th.elenco {
    border: 1px solid #dddddd;
/*     color: #444444; */
    background-color: #dddddd;
    font-size: 16px;
    font-weight: bold;
    height: 60px;
}
td.elenco {
/*     color: #555555; */
    font-size: 12px;
    font-weight: normal;
    padding: 10px;
    border: 1px solid #dddddd;
}
a.elenco {
    font-weight: bold;
/*     color: #555555; */
    text-decoration: none;
}

h1.logo {
	color: #111122;
	background-color: #ffffff;
	margin: 0.2em;
	margin-bottom: 0em;
	border: 1px solid #9FA3A6;
	padding: 0.4em;
	width: 20em;
	font-weight: bold;
	border-radius: 8px; -moz-border-radius: 8px; -webkit-border-radius: 8px;
}
h2.logo {
	color: #111122;
	background-color: #ffffff;
	margin: 0.1em;
	margin-top: -1em;
	border: 1px solid #9FA3A6;
	padding: 0.2em;
	font-size: 10px;
	width: 40em;
	border-radius: 8px; -moz-border-radius: 8px; -webkit-border-radius: 8px;
}

ul.breadcrumb {
	list-style-type: none;
	display: block;
	background-color: #f0f0f0;
	margin: 0.1em;
	border: 0px;
	padding: 0.4em 1em;
	height: 1em;
}
li.breadcrumb, a.breadcrumb:link, a.breadcrumb:active, a.breadcrumb:visited, a.breadcrumb:hover {
	display: inline;
	font-size: 12px;
	font-weight: bold;
}
ul.obj_actions {
	display:inline;
	list-style-position: inside;
	text-align: left;
	margin: 0.1em;
}
li.obj_actions {
	display:block;
	font-size: 12px;
	font-weight: bold;
}

table.menu {}
th.menu {
	color: #111122;
	background-color: #f0f0f0;
	font-size: 12px;
	font-weight: bold;
	margin: 0;
	border: 0px;
	padding: 0.4em 1em;
	heigth:2em;
}
td.menu {
	color: #9FA3A6;
	background-color: #ffffff;
	font-size: 12px;
	font-weight: normal;
}
input.menu {
	color: #6C7073;
	border: 1px solid #9FA3A6;
}

.login { padding: 2px; }
table.login {
	background-color: #ffffff;
	border: 1px solid #9FA3A6;
	border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px;
}
th.login {
	color: #111122;
	background-color: #9FA3A6;
	font-size: 12px;
	font-weight: bold;
    border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px;
}
td.login {
	color: #9FA3A6;
	background-color: #ffffff;
	font-size: 12px;
	font-weight: normal;
}
input.login {
	color: #6C7073;
	border: 1px solid #9FA3A6;
	border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px;
}

table.formtable {
	background-color: #ffffff;
	text-align: left;
	border: 1px solid #9FA3A6;
	border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px;
	padding: 2px;
}
th.formtable {
	color: #111122;
	text-align: center;
	background-color: #9FA3A6;
	font-size: 12px;
	font-weight: bold;
	border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px;
	padding: 2px;
}
td.formtable {
	color: #9FA3A6;
	background-color: #ffffff;
	font-size: 12px;
	font-weight: normal;
}
input.formtable {
	color: #6C7073;
	border: 1px solid #9FA3A6;
	border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px;
	padding: 2px;
}
textarea.formtable {
	color: #6C7073;
	border: 1px solid #9FA3A6;
	text-align: left;
	border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px;
	padding: 2px;
}
select.formtable {
	text-align: left;
	background-color: #ffffff;
	border: 1px solid #6C7073;
	color: #6C7073;
	font-family: Tahoma, Verdana, sans-serif;
	font-size: 10px;
	font-weight: normal;
	text-indent: 2px;
}
file.formtable {
	color: #6C7073;
	border: 1px solid #9FA3A6;
    border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px;
	padding: 2px;
}

div.formView { display:table; }
div.formView_row { display:table-row; }
div.formView_title, div.formView_group {
	display:table-cell;
	vertical-align: top;
	text-align: right;
	font-weight: bold;
	padding: 0.1em 0.2em;
}
div.formView_group {
	background-color: #e0e0e0;
	text-align: center;
	/* CSS3 */
	border-radius: 8px; -moz-border-radius: 8px; -webkit-border-radius: 8px;
}
div.formView_value { display:table-cell; }

div.middle_content {
	overflow:auto;
	border:0px solid red;
}

form.search {}
label.search {
	color: #444444;
/* 	background-color: #9FA3A6; */
/* 	font-size: 12px; */
	font-weight: bold;
/*     border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; */
}
input.search {
	color: #6C7073;
	border: 1px solid #e0e0e0;
	border-radius: 8px; -moz-border-radius: 8px; -webkit-border-radius: 8px;
	padding:4px;
	padding-right: 20px;
	background-image:url('icons/glass.png');
	background-repeat:no-repeat;
	background-attachment:scroll;
	background-position:right center;
}

/* ********************************* Elementi ********************************* */

#header {
	text-align: center;
	background: #ffffff url('images/Tramonto_1000x200.jpg') no-repeat center center;
	margin: 0;
	border:1px solid #ffffff;
	padding: 8px;
	height: 200px;
	width: 1000px;
	/* CSS3 */
	border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;
	border-radius-bottomleft:0px;-moz-border-radius-bottomleft:0px;-webkit-border-bottom-left-radius:0px;
	border-radius-bottomright:0px;-moz-border-radius-bottomright:0px;-webkit-border-bottom-right-radius:0px;
}
#header h1 {
	margin-top:40px;
	font-size: 40px;
	color:#ffffff;
}
#header h3 {
	font-size:20px;
	color:#ffffff;
}

#middle_container {
	width:1016px;
	margin:0px;
	border:1px solid #ffffff;
	padding:0px;
	background-color: #ffffff;
	overflow:auto; /* RRA: cosi funziona!!! */
}

#left {
	float:left;
	display:inline;
	margin:0px;
	border:1px solid #ffffff;
	padding:0px;
	width: 200px;
	background-color: #ffffff;
}
#left_content {
	margin:0;
	border:0;
	padding:0;
	width:100%;
	overflow:auto;
}
#middle, #middle_noright {
	min-height:400px;
	margin:0px;
	border:0px solid black;
	padding:0px;
	background-color: #ffffff;
}

#gestione_left, #gestione_right { min-height:600px; }
#middle_noright {
	width:808px;
	float:left;
}
#middle {
	float:left;
	width:608px;
}
#breadcrumb_after {
	float:right;
	margin-top: -2em;
}
#right {
	background-color: #ffffff;
	float:right;
	width:200px;
	border:0px solid black;
}
#footer {
	width: 1016px;
	height: 30px;
	background-color: #ffffff;
	text-align: center;
	margin: 0;
	border:1px solid #ffffff;
	padding:0px;
	font-size: 9px;
	font-weight: bold;
	/*   CSS3 */
	border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px;
	border-radius-topleft:0px;-moz-border-radius-topleft:0px;-webkit-border-top-left-radius:0px;
	border-radius-topright:0px;-moz-border-radius-topright:0px;-webkit-border-top-right-radius:0px;
}

#top_menu, #top_menu a:link, #top_menu a:active, #top_menu a:visited, #top_menu a:hover {
	margin:0px;
	margin-top: 60px;
	color: #ffffff;
	font-weight: bold;
	font-size: 15px;
	border: 0px solid black;
}
#top_menu a {
	width:100%;
	margin:0px;
	margin-left:1em;
	margin-right:1em;
}

#underconstruction {
	color: black;
	background-color: yellow;
	font-weight: bold;
	margin-top: 6em;
	margin-left: 12em;
	text-align: center;
	width: 30em;
	border: 6px solid black;
	border-radius: 8px; -moz-border-radius: 8px; -webkit-border-radius: 8px;
	transform: rotate(-20deg); -webkit-transform: rotate(-20deg); -o-transform: rotate(-20deg); -moz-transform: rotate(-20deg);
	box-shadow: 10px 10px 10px #666666; -moz-box-shadow: 10px 10px 10px #666666; -webkit-box-shadow: 10px 10px 10px #666666;
}
#underconstruction h1 { text-shadow: none; }

#search_div {
	float:right;
	text-align: left;
	clear:both;
	margin: 0px;
	margin-right:2px;
/* 	border: 1px solid #f0f0f0; */
	padding: 0px;
	
	color: transparent;
	background-color: #f0f0f0;
	background-image:url('icons/glass.png');
	background-repeat:no-repeat;
	background-attachment:scroll;
	background-position:right center;
	
	border-radius: 8px; -moz-border-radius: 8px; -webkit-border-radius: 8px;
	
	overflow: hidden;
	
	width: 20px;
	transition:width 1s;-webkit-transition:width 1s;-moz-transition:width 1s;-o-transition:width 1s;
}
#search_div:hover { width: 100px; color: inherit; }
#search_object {
	margin: 2px;
	margin-right: 20px;
	border: 0px solid #f0f0f0;
	color: inherit;
	background-color: transparent;
	width: 80px;
	
	transition:color 1s;-webkit-transition:color 1s;-moz-transition:color 1s;-o-transition:color 1s;
}

#user_div {
/* 	margin-top: 25px; */
	float:right;
	font-size: 15px;
	text-align: right;
	color: #ffffff;
}
#user_div a { color: #ffffff; }
