/**
 * @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: #98bee5 url(IMG_0485_1365x1024.JPG) repeat-x fixed center bottom;
	color: #313131;
	font-family: Ubuntu,'Tahoma','Gill Sans',Verdana,sans-serif;
	font-size: 85%;
	font-weight: normal;
	margin: 0px;
	text-decoration: none;
}

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;
}

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;
}
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.1em;
	border: 0px;
	padding: 0.4em 1em;
}
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-bottom-width: 1px;
	border-color: #6C7073;
	border-left-width: 1px;
	border-right-width: 1px;
	border-top-width: 1px;
	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;
	position:absolute;
	top:2em;
	left:0.2em;
	right:0.2em;
	bottom:4px;
}

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 {
	position: absolute;
	top: 1em;
	left: 8em;
	right: 8em;
	text-align: center;
	height: 8em;
	background-color: #fefefe;
	/* CSS3 */
	opacity:0.9; filter:alpha(opacity=90); -moz-opacity:0.9;
	border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px;
	box-shadow: 5px 5px 5px #666666; -moz-box-shadow: 5px 5px 5px #666666; -webkit-box-shadow: 5px 5px 5px #666666;
}
#left {
	position: absolute;
	top: 10em;
	bottom: 5em;
	left: 8em;
	width: 10em;
	background-color: #fefefe;
	/* CSS3 */
	opacity:0.9; filter:alpha(opacity=90); -moz-opacity:0.9;
	border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px;
	box-shadow: 5px 5px 5px #666666; -moz-box-shadow: 5px 5px 5px #666666; -webkit-box-shadow: 5px 5px 5px #666666;
}
#left_content {
	width:100%;
	overflow:auto;
	position:absolute;
	top:2em;
	bottom:4px;
}
#middle, #middle_noright {
	position: absolute;
	top: 10em;
	bottom: 5em;
	left: 19em;
	right: 19em;
	background-color: #fefefe;
	/* CSS3 */
	opacity:0.9; filter:alpha(opacity=90); -moz-opacity:0.9;
	border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px;
	box-shadow: 5px 5px 5px #666666; -moz-box-shadow: 5px 5px 5px #666666; -webkit-box-shadow: 5px 5px 5px #666666;
}
#middle_noright { right: 8em; }
#breadcrumb_after {
	position:absolute;
	top:2px;
	right:0.5em;
}
#right {
	position: absolute;
	top: 10em;
	bottom: 5em;
	right: 8em;
	width: 10em;
	background-color: #fefefe;
	/* CSS3 */
	opacity:0.9; filter:alpha(opacity=90); -moz-opacity:0.9;
	border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px;
	box-shadow: 5px 5px 5px #666666; -moz-box-shadow: 5px 5px 5px #666666; -webkit-box-shadow: 5px 5px 5px #666666;
}
#footer {
	position: absolute;
	bottom: 1em;
	left: 8em;
	right: 8em;
	height: 3em;
	background-color: #fefefe;
	text-align: center;
	/* CSS3 */
	opacity:0.9; filter:alpha(opacity=90); -moz-opacity:0.9;
	border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px;
	box-shadow: 5px 5px 5px #666666; -moz-box-shadow: 5px 5px 5px #666666; -webkit-box-shadow: 5px 5px 5px #666666;
}

#top_menu, #top_menu a:link, #top_menu a:active, #top_menu a:visited, #top_menu a:hover{
	margin-top: 1.5em;
	color: #080;
	font-weight: bold;
}

#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;
	margin: 2px;
	border: 1px solid #f0f0f0;
	padding: 0px;
/* 	padding-right: 20px */
/* 	background-color: #f0f0f0; */
	
	color: transparent;
	
	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;
/* 	background-color: #e8e8e8; */
	width: 80px;
	
	transition:color 1s;-webkit-transition:color 1s;-moz-transition:color 1s;-o-transition:color 1s;
}
/* #search_object:hover { width: 100px; } */

#user_div {
	float:right;
	text-align: right;
}

#loginForm {
	position: absolute;
	top: 15em;
	bottom: 5em;
	left: 17em;
	right: 17em;
}
