/******************************************************************************/
/*                         MAIN LAYOUT CSS FILE                               */
/******************************************************************************/
/*
Theme  : Default Biblionauta Theme - CORE
Author : Valentina Calvelli, based on template of Julien Casanova
Version: 1.0
Date   : 2007/07/05
*/

/*
==========================General=============================*/
html {
    height: 100%;
    margin-bottom: 1px;
}
body, h1, h2, h3, h4, p, ul, li, form, fieldset {
    margin: 0;
    padding: 0;
}
body {
    font-size: small;
    font-family: arial, sans-serif;
    margin: 0;
    padding: 0 0 10px;
    color: #333333;
}
body.sgl {
    background-color: #EEEEEE;
    text-align: center;
}
dl {
    margin: 0 0 0.5em;
}
p {
    margin-bottom: 0.5em;
}
a {
    color: #80114A;
    text-decoration: none;
}
a:hover {
    color: #670437;
    text-decoration: underline;
}
a:focus {
    outline: none;
}
img {
    border: none;
}
hr {
    border-top: 1px dotted #999;
    border-bottom: 0px;
    height: 1px;
}

/*
======================Global layaout==========================*/
#outer-wrapper {
    clear: both;
    width: 96%;
    margin: 10px auto 0;
    text-align: left;
}
#header {
    position: relative;
}
#inner-wrapper {
    clear: both;

    /* 896 is for mainWrapper width - borders width : 900 - (2 x 2) */
}
#footer {
    clear: both;
}
#footer a {
	color: #C2583E;
}

/*
======================2 Cols Fluid============================*/
#middleCol {
    float: left;
    background: #FFFFFF;
    height: 380px; /* Sets min height for IE */
}
html > body #middleCol {
    /* Sets min height for gecko */
    height: auto;
    min-height: 380px;
}
#middleCol .inner {
    padding: 5px 10px;
}
#layout-3Cols #middleCol {
    width: 63%;
    /* 6 is for borders width : (2+1) x 2 */
}
#layout-leftCol #middleCol {
    width: 83%;
}
#layout-rightCol #middleCol {
    width: 80%;
}
#layout-noCols #middleCol {
    width: 100%;
}
#leftCol {
    float: left;
    width: 17%;
    /*background: url('http://biblionauta.comune.prato.it/biblionauta/themes/nexus/images/backgrounds/v4-bubbles.png') left top no-repeat;*/
}
#leftCol .inner {
	margin:0;
    padding:5px 0 5px 5px;
    /*padding-top: 0.8em;// altrimenti il menu viene pi� basso del content*/
}
#rightCol {
    float: right;
    width: 20%;
    background: #FFFFFF;
}
#rightCol .inner {
    margin: 2.5em 4px 4px 0;
    padding: 5px;
    padding-top: 0.8em;
    border: 1px solid #A2E031;
}

/* Cambia il colore dei link nel box sx Login */

#rightCol .inner a {
    color: #A2E031;
}
#rightCol .inner a:hover {
    color: #63AB11;
	text-decoration: none
}

/*
=========================Header===============================*/
#header {
    border-bottom: 2px solid #FFFFFF;
}
#header .wrapLeft {
    background: url('http://biblionauta.comune.prato.it/biblionauta/themes/nexus/images/backgrounds/header_tl.gif') left top no-repeat;
}
#header .wrapRight {
    background: url('http://biblionauta.comune.prato.it/biblionauta/themes/nexus/images/backgrounds/header_tr.gif') right top no-repeat;
}
#header .wrap {
    position: relative;
    height: 70px;
    margin: 0 20px;
    background: #ffa425 url('http://biblionauta.comune.prato.it/biblionauta/themes/nexus/images/backgrounds/header_tm.gif') left top repeat-x;
}
#header span#logo {
    font-size: 30px;
    font-family: "Trebuchet MS";
}
#header a#logo {
    color: #FFFFFF;
    text-decoration: none;
}
#header #logo img {
    position: relative;
    top: 7px;
    left: 0;
}
#header #bugReporter {
    position: absolute;
    bottom: 0px;
    right: -10px;
}

/*
======================Inner Wrapper===========================*/
#inner-wrapper {
    background: #FFFFFF;
    border: 1px solid #EEEEEE;
    border-top: none;
}
/*#inner-wrapper .inner-container {
    border: 1px solid #BBBBBB;
    background: url('http://biblionauta.comune.prato.it/biblionauta/themes/nexus/images/backgrounds/column_tm.gif') left top repeat-x;
}*/

/*
=======================Breadcrumbs============================*/
#breadcrumbs {
    background: #FFFFFF;
    border: 2px solid #FFFFFF;
    border-top: none;
    font-family: arial;
    font-size: 0.8em;
}
#breadcrumbs .inner {
    padding: 0.4em 0 0 1em;
    background-color: #FFF9E1;
    border-bottom: 1px solid #BBBBBB;
}
#breadcrumb {
    float: left;
    color: #f7881a;
	font-weight:bold;
	font-size: 1.10em;
}
a.breadcrumbs {
    font-weight: bold;
    color: #f7881a;
}

/*
======================Main Content============================*/
h1 {
    font-size: 1.5em;
    margin: 0.5em 0 1em;
    padding-bottom: 0.2em;
    border-bottom: 1px solid #63AB11;
    color: #63AB11;
}
h2 {
    font-size: 1.2em;
	margin-top: 0.5em;
}

h3 {
    font-size: 1.1em;
	margin-top: 0.5em;
}

ul {
    margin: 0.5em 0 0.5em 0;
    padding: 0;
    list-style-position: inside;
    list-style-image: url('http://biblionauta.comune.prato.it/biblionauta/themes/nexus/images/list_arrow.gif');
}
li {
    padding-left: 0.5em;
}

#content a:link, #content a:visited {
    color: #670437;
}

#content a:hover {
    color: #f7881a;
}

#content-header h2 {
    color: #f7881a;
}
#content h3 {
    color: #63AB11;
}

.inside label {
	padding-right: 20px;
}

/*
===============Generic columns presentation===================*/
.two-cols {
    height: 100%;
    overflow: hidden;
}
.two-cols .col {
    float : left;
	width : 49%;
	margin-left : 1%;
}
.two-cols .first {
	width : 50%;
	margin-left : 0;
}

/*
==================Default Forms Styling=======================*/

fieldset {
    padding: 10px 0;
    border: none;
}
fieldset h3 {
    font-size: 1em;
    color: #666666;
}
#content form ul {
    position: relative;
    margin: 0;
    padding: 0;
    width: 99%;
    list-style-position: outside;
    list-style-image: none;
}

#content form li {
    display: block;
    margin: 0;
    padding: 1px 4px 6px 9px;
    line-height: 1.8em;
    list-style-type: none;
}
form li.focused {
    background: #FFE680;
}

form li div {
    float: left;
    display: inline;
    margin-right: 5px;
    color: #666666;
}
form li:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
form li p {
    clear: both;
    font-size: 9px;
    line-height: 13px;
}


/*
===================Form Elements Styling======================*/
input, select, textarea {
    font-size: 100%;
}
textarea {
    font-family: arial, sans-serif;
}

#content input.text, #content select.select, #content textarea.textarea {
    border-width: 1px;
    border-style: solid;
    border-color: #7c7c7c #c3c3c3 #ddd #c3c3c3;
    background: #fff url(../images/fieldbg.gif) repeat-x top;
}

input.text {
    padding: 2px 0;
}
form label {
    font-weight: bold;
    color: #666666;
}

/* SIZES */
.third {
	width:32% !important;
}
.half {
	width:48% !important;
}
.full {
	width:100% !important;
}
input.small, select.small {
	width:25%;
}
input.medium, select.medium {
	width:50%;
}
input.large, select.large, textarea.textarea {
	width:99%;
}
input.tags {
	width:315px;
}
textarea.small {
	height:5.5em;
}
textarea.medium {
	height:10em;
}
textarea.large {
	height:20em;
}

/* BUTTONS */
.button {
    font-size: 110%;
    margin-right: 5px;
    /*border: 1px solid #666;*/
}
.inside .sgl-button {
    margin-left:-30px;
}

/*
====================Form Fields Layout========================*/
/* --
Definition lists are used to display fields labels and values
-----*/
dl.onSide {
    background-color: #F7F4EF;
	margin-top:10px;
	padding:10px;
	border-top: 1px solid #B9F13A;
	border-left: 1px solid #B9F13A;
	border-right: 2px solid #63AB11;
	border-bottom: 2px solid #63AB11;
}

dl.onSide dt {
    float: left;
    width: 200px;
    padding-right: 20px;
    text-align: right;
}
dl.onSide dd{
    margin-left: 140px;
    margin-bottom: 0.5em;
}
dl.onTop dd {
    margin: 0;
}
dd .error {
	float: right;
	margin:0;
	padding:0px;
}
.nota {
	width:400px;
	display:block;
	margin:0 0 0 80px;
	padding:0px;
	color:#C2583E;
}
/*
======================No forms layout=========================*/
div.fieldsetlike { /*
--------------------- as some pages don't use forms/fieldsets
- e.g. user/profile, we have to put data in a fieldset like
- div to have same render ------------------------------------*/
    padding: 10px 0;
}
div.fieldsetlike h3 {
    font-size: 1em;
    color: #666666;
}

/*
==================Default Tables Styling======================*/
/*  In a transition period, we'll use a sglTable class to style tables
    Everyone is encouraged not to use tables for layout purposes
    TODO: remove this when all layout tables have been replaced */
.wide {
    width: 60%;
}
.large {
    width: 85%;
}
table {
    margin: 0 0 1em;
    border-collapse: collapse;
    font-size: 1em;
}
table .nowrap {
    white-space: nowrap;
}
.sglTable td, .sglTable th {
    border-width : 0 0 1px 0;
	border-style : solid;
	border-color : #BBBBBB;
	padding : 2px 5px;
	vertical-align : top;
}
.sglTable th {
    text-align: left;
    border-bottom-color: #666666;
}
th {
    background-color: #E1FC9F !important;
	padding:3px;
}

th a {
    display: block;
    color: #333333 !important;
	text-decoration: underline;
}
th a:hover {
    text-decoration: none;
    color: #487C0E !important;
}

td {
    padding: 3px;
}
td a:hover {
    color: #A2E031;
	text-decoration:underline;

}

tr.expand td {
    border-bottom: none;
}
td.expand {
    padding: 1em 5px;
}
th.sortedAsc a {
    background: url('http://biblionauta.comune.prato.it/biblionauta/themes/nexus/images/th-sortAsc.gif') 95% 50% no-repeat;
    color: #f7881a !important;
}
th.sortedDesc a {
    background: url('http://biblionauta.comune.prato.it/biblionauta/themes/nexus/images/th-sortDesc.gif') 95% 50% no-repeat;
    color: #f7881a !important;
}

tr.alternateRow td, tr.backDark {
    background-color: #FBFFEF; /*F0FFD9*/
}
tr.selectedRow td {
    background: #F6F5F2; /*D0DCE0*/
}

/* background: #F0FFD9; commento precedente
tr.rowHover td, tr:hover td {
  background: #F0FFD9; 
}
*/

/*
=========================Footer===============================*/
#footer .wrapLeft {
    background: url('http://biblionauta.comune.prato.it/biblionauta/themes/nexus/images/backgrounds/footer_bl.gif') left bottom no-repeat;
}
#footer .wrapRight {
    background: url('http://biblionauta.comune.prato.it/biblionauta/themes/nexus/images/backgrounds/footer_br.gif') right bottom no-repeat;
}
#footer .wrap {
    position: relative;
    margin: 0 20px;
    padding: 10px 0 5px;
    background: #ffa425 url('http://biblionauta.comune.prato.it/biblionauta/themes/nexus/images/backgrounds/footer_bm.gif') left bottom repeat-x;
    text-align: center;
}
#footer p {
    margin-bottom: 0.1em;
    color: #666666;
    font-size: 0.8em;
}

/*
======================Messages & Errors=======================*/
.message {
    text-align: center;
}
.message div {
    width: 60%;
    margin: 1em auto;
    padding: 0.5em;
    -moz-border-radius: 0.3em;
}
.errorMessage {
    border: 2px solid #FA633D;
    color: #FA633D;
}
.infoMessage {
    border: 1px solid transparent;
    border-color: #BBBBBB #333333 #333333 #BBBBBB;
    background-color: #FFE5F8;
    color: #80114A;
    text-align: center;

}
.error, .required {
    color: #FA633D;
}

/* PEAR Errors
  --------------------*/
div.errorContainer {
    width: 80%;
    margin: 1em auto;
    padding: 0.5em;
    border: 2px solid #FA633D;
    -moz-border-radius: 0.3em;
    font-family: arial;
}
div.errorHeader {
    margin-bottom: 0.5em;
    font-size: 1.1em;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.3em;
    color: #FA633D;
}
div.errorContent {
    text-align: left;
}

/*
============================Flags=============================*/
a.langFlag {
    margin: 0 5px;
}

/*
========================Miscellaneous=========================*/
.floatLeft {
    float: left;
}
.floatRight {
    float: right;
}
.clear {
    clear: both;
}
.spacer {
    clear: both;
    display: block;
    visibility: hidden;
    line-height: 1px;
}
.left {
    text-align: left;
}

.right {
    text-align: right;
}
.center {
    text-align: center;
}
.hide {
    display: none;
}
.narrow {
    width: 45%;
}
.full {
    width: 100%;
	border-left: 1px solid #E1FC9F;
	border-top: 1px solid #E1FC9F;
	border-right: 2px solid #B9F13A;
	border-bottom: 2px solid #B9F13A;
}
.full img {
     margin-left:5px;
}

.button {

}
.noBg {
    background: none;
}
pre.codeExample {
    padding: 1em;
    background-color: #EEEEEE;
    border: 1px solid #666666;
    border-left: 5px solid #666666;
    font-size: 1em;
}

/*
========================Comments=========================*/

#addComment fieldset {
    padding: 10px;
    border: 1px solid grey;
}
#addComment input[type="text"] {
    width: 200px;
}

/*
========================Autocomplete======================*/
div.autocomplete {
        position:absolute;
        width:250px;
        background-color:white;
        border:1px solid #888;
        margin:0px;
        padding:0px;
}
div.autocomplete ul {
    list-style-type:none;
    margin:0px;
    padding:0px;
}
div.autocomplete ul li.selected { background-color: #ffb;}
div.autocomplete ul li {
    list-style-type:none;
    display:block;
    margin:0;
    padding:2px;
    cursor:pointer;
}
span.indicator img {
    vertical-align: bottom;
}

/*
========================Miscellaneous2=========================*/

.tipOwner {
    position: relative;
    cursor: help;
    }

label.tipOwner {
    background: url('http://biblionauta.comune.prato.it/biblionauta/themes/nexus/images/tooltip.gif') 98% 100% no-repeat;
}
.tipOwner .tipText { /* messaggio fa' attenzione */
    display: none;
    position: absolute;
    top: 0;
    left: 105%;
    border: 1px solid transparent;
    border-color: #BBBBBB #333333 #333333 #BBBBBB;
    background-color: #FFE5F8;
    color: #80114A;
    text-align: center;
    width: 15em;
    padding: 2px 5px;
        -moz-opacity: 0.85;
    }
.tipOwner:hover .tipText {
    display: block;
}


/*
TO REMOVE WHEN ALL TEMPLATES ARE CONSOLIDATED
======================Default Theme BC========================*/
.wideButton {
    /* use button instead */
    width: 8em;
}

.allinea_form {
	display:block; width:200px; margin:2px 0 1px 0; float:left 
}

.tipOwnerNxs {
    position: relative;
    cursor: help;
    }

.tipOwnerNxs {
    background: url('http://biblionauta.comune.prato.it/biblionauta/themes/nexus/images/tooltip.gif') 98% 100% no-repeat;
}

.tipOwnerNxs .tipTextNxs { /* messaggio fa' attenzione */
    display: none;
    position: absolute;
    top: 0;
    left: 105%;
    border: 1px solid transparent;
    border-color: #BBBBBB #333333 #333333 #BBBBBB;
    background-color: #FFE5F8;
    color: #80114A;
    text-align: center;
    width: 15em;
    padding: 2px 5px;
        -moz-opacity: 0.85;
    }

.tipOwnerNxs:hover .tipTextNxs {
    display: block;
}/******************************************************************************/
/*                        BLOCKS STYLE CSS FILE                               */
/******************************************************************************/
/*
Theme  : Default Biblionauta Theme
Author : Valentina based on template of Julien Casanova
Version: 1.0
Date   : 2007/11/08
*/

/*
====================Default Block Styling=====================*/
.block {
    margin-bottom: 1.5em;
}
.block .header {
    margin: 0 0.4em;
    padding-bottom: 0.4em;
    border-bottom: 1px solid #63AB11;
    color: #63AB11;
    font-weight: bold;
}
.block .header h2 {
    font-size: 1.1em;
    font-family: arial;
}
.block .content {
    padding: 0.4em;
    font-size: 1.0em;
}
.block .content a:link, .block .content a:visited {
    color: #191919;
}

.block .content a:hover {
    color: #80114A;
}

/*
=====================Lang Switcher Block======================*/
#langSwitcher {
    float: right;
    display: inline;
}

/*
====================Top Navigation Block======================*/
#top-nav {
    position: relative;
    background: #FFE680;
    border: 2px solid #FFFFFF;
    border-top: none;
}
#top-nav .inner {
    height: 2.2em;
   /* padding-left: 17px;*/
    border: 1px solid #BBBBBB;
}
#top-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
#top-nav li {
    float: left;
    padding-left: 0;
}
#top-nav li a {
    display: block;
    padding: 0.5em 1em;
    border-right: 1px solid #FFFFFF;
    font-weight: bold;
    color: #f7881a;
}
#top-nav li a:hover, #top-nav li.current a {
    background-color: #ffa425;
    color: #FFFFFF;
    text-decoration: none;
}

/*====================Azione======================*/
#manager-actions {
	border-top: 1px solid #80114A;
	margin-top: 28px;
	padding-top:10px;
    color: #80114A;
    font-style:italic;
	font-weight:bold;
}

#manager-actions a:link, #manager-actions a, #manager-actions a:visited {
	text-decoration: none;
	font-style:normal;
	padding: 2px;
	color: #FFFFFF;
	background-color: #A32666;
	border-top: 1px solid #80114A;
	border-left: 1px solid #80114A;
	border-right: 2px solid #670437;
	border-bottom: 2px solid #670437;
}

#manager-actions a:hover {
	background-color: #ffa425;
	border-top: 2px solid #C2583E;
	border-left: 2px solid #C2583E;
	border-right: 1px solid #C2583E;
	border-bottom: 1px solid #C2583E;
}#nav {
    height: 50px;
    font-size: 0.75em;
}
#nav ul {
    position: absolute;
    width: 100%;
    padding: 0;
    margin: 0;
    background-color: #ffa425;
}
#nav ul li {
    float: left;
    display: inline;
    margin: 0;
}
#nav ul li a {
    display: block;
    position: relative;
    padding: 0.2em 1.5em;
    background-color: #A2E031;
    font-size: 1.3em;
    font-weight: bold;
    color: #FFE680;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.05em;
    border-right: 1px solid #ffa425;
}
#nav ul li a:hover {
    color: #63AB11;
    text-decoration: underline;
}
#nav ul li.current a {
    color: #63AB11;
    background-color: #B9F13A;
}
#nav ul li.current a:visited {
    color: #63AB11;
}
/* hide the sublevels */
#nav ul ul {
    display: none;
}
#nav ul li.current ul {
    position: absolute;
    left: 0;
    display: block;
    /* use max-width emulation hack from
     * http://www.svendtofte.com/code/max_width_in_ie/, using the IE5.0+ dynamic
     * properties syntax, see
     * http://msdn.microsoft.com/workshop/author/dhtml/overview/recalc.asp */
        padding: 0;
    background-color: #B9F13A;
}
#nav ul li.current li {
    padding: 0.4em 0;
}
#nav ul li.current li a {
    /* hide first pipe */
    left: -1px;
    padding: 0 1em;
    font-weight: normal;
    font-size: 1.1em;
    color: #63AB11;
    border-right: none;
    border-left: 1px solid #63AB11;
}
/* hide 3rd or more levels */
#nav ul ul ul li {
    display: none;
}
