/** Basic dimensions **/

body {
  background: url(background.gif);
  font-family: "Verdana","Helvetica","sans";
  font-size: 10px:
  color: #004731;
}

#site {
  background: url(background.gif);
}

div {
  text-align: left;
}

a {
  color: #004731;
}

div, h1, h2, h3, h4, h5, h6, p, label, img, a, a img, object, embed {
  border: 0; margin: 0; padding: 0;
}

.right { text-align: right; }

/** Backgrounds and colors for the basic layout **/

#header {
  background: url(tool.jpg) no-repeat left bottom;
}

#footer {
  height: 20px;
  background: url(footer.jpg);
}

#left {
  color: white;
  background: #d2be96 url(left.jpg) no-repeat;
  border-color: #004731;
}

#right {
  color: white;
  background: #d2be96 url(right.jpg) no-repeat;
  border-color: #004731;
}

#center {
  background: #dfd2b3;
}

#path-box {
  background: #d2be96;
  font-size: 70%;
  padding: 0.3em 1em;
}

#content-box {

}

/** Footer **/

div#footer {
  text-align: right;
  vertical-align: middle;
}

#footer span {
  color: white;
  font-size: 60%;
  margin: 0 6px 6px 6px;
}

#footer a {
  color: white;
}

/** Menus **/

#mainmenu-box {
  height: 30px;
}

#mainmenu-box ul {
  margin: 0; padding: 0;
  padding-top: 2px;
  display: block; 
}

#mainmenu-box li {
  display: block;
  float: right;
  list-style: none;
  padding: 0 0.5em 0 0.5em;
  border-right: 1px solid #004731;
}

#mainmenu-box a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 80%;
}

/** Forms **/

form label, form input, form img.submit, form select {
  display: block;
}

form input.hide {
  display: none;
}

form label {
  margin-bottom: 2px;
}

form input, form select{
  margin-bottom: 4px;
}

form button {
  display: block;
  position: relative;
  top: 6px;
}

form.gridview span {
    display: block;
    float: left;
    margin-bottom: 5px;
}

form.gridview input, form.gridview textarea {
    display: inline;
}

form.gridview label.after { float: left; }
form.gridview .checkbox   { margin: 1px 7px 0px 3px; float: left; }

form.gridview .hidden { display: none; }

form.gridview .col1 { margin-right: 10px; width: 140px; }
form.gridview .col2 { margin-right: 10px; width: 290px; }
form.gridview .col3 { margin-right: 10px; width: 440px; }
form.gridview .col4 { margin-right: 10px; width: 590px; }
form.gridview .last { margin-right: 0px; }
form.gridview .fil1 { padding-right: 150px; }

form.gridview .col4 input { width: 580px; }
form.gridview .col3 input { width: 430px; }
form.gridview .col2 input { width: 280px; }
form.gridview .col1 input { width: 130px; }
form.gridview .date input { width: 120px; }

form.gridview textarea       { height: 150px; }
form.gridview .col4 textarea { width: 580px; }
form.gridview .col3 textarea { width: 430px; }
form.gridview .col2 textarea { width: 280px; }
form.gridview .col1 textarea { width: 130px; }

form.gridview .buttons { padding-top: 10px;}
form.gridview button { float: right; }

form.gridview div.text { width: 590px; float: left; margin: 5px 0px; font-size: 80%; } 
form.gridview span { font-size: 80%; }
span.error { color:red; }
span.title { font-weight: bold; font-size: 80%; margin-top: 5px; }

button.link { border:0; padding:0; margin:0; background: transparent; color: #004731;
              text-decoration: underline; cursor: pointer; }
.last button.link { margin-right: 10px; }

/** EdiTO forms, lists and informational boxes **/

.edito-edit {
  margin: 1em;
}

.edito-edit h2 {
  font-size: 100%;
  margin-bottom: 6px;
}

.edito-edit input, .edito-edit textarea {
  border: 1px solid #d2be96;
  padding: 2px;
  width: 600px;
}

.edito-edit .edito-preview {
  float: right;
}

.edito-edit .edito-preview label {
  font-weight: normal;
}

.edito-list {
  margin: 1em;
  font-size: 80%;
}

.edito-list h1 {
  font-size: 100%;
  margin-bottom: 6px;
  padding: 2px 5px 3px 5px;
  color: white;
  background: url(title.jpg) no-repeat;
}

.edito-list h1 a {
  color: white;
  font-weight: bold;
}

.edito-list h5 {
  clear: both;
}

.edito-list .edito-preview {
  float: left;
  margin: 3px 6px;
  border: 0;
  padding: 3px;
  background-color: #d2be96;
  margin-bottom: 12px;
}

.edito-list .edito-preview img {
  width: 80px;
  margin: 3px;
}

/** EdiTO toolbox and autocomplete lists **/

.owl-uri { display: none; }

.edito-toolbox {
  width: 230px;
  float: right;
  margin-right: 1em;
  padding: 3px;
  border: 2px solid #d2be96;
}

.edito-toolbox label {
  display: block;
  margin-bottom: 2px;
  font-weight: bold;
}

.edito-toolbox {
  font-size: 60%;
}

.edito-toolbox .wok-actions {
  padding-bottom: 6px;
}

.edito-toolbox .wok-info {
  padding-bottom: 6px;
}

.edito-toolbox input {
  border: 1px solid #d2be96;
  background: #ffff7f;
  padding: 2px;
  width: 220px;
}

.edito-toolbox .wok-ajax-list .wok-autocomplete {
  background: white;
  border: 1px solid black;
}

.edito-toolbox .wok-ajax-list img {
  float: left;
  width: 80px;
  margin: 3px;
}

.edito-toolbox .wok-ajax-list span.title {
  font-weight: bold;
}

.edito-toolbox .wok-ajax-list span.filename {
  font-family: italic;
}

.edito-toolbox .wok-ajax-list span.description {
  display: block;
}

.edito-toolbox .wok-ajax-list ul {
  padding: 3px; margin: 0;
  list-style-type: none;
}

.edito-toolbox .wok-ajax-list li {
  padding-bottom: 3px; margin: 0;
  height: 60px;
  overflow: hidden;
}

.edito-toolbox .wok-ajax-list li.selected {
  background: #ffff7f;
}

/** Preview and info boxes, available both in display and edit **/

.edito-preview label {
  display: block;
  margin-bottom: 2px;
  font-size: 80%;
  font-weight: bold;
}

.edito-preview img {
  width: 200px;
}

.edito-info {
  margin: 2px; padding: 6px;
  border: 1px solid #004731;
  background: #d2be96;
  color: black;
  font-size: 70%;
}

/** EdiTO documents **/

div.edito-view {
  margin: 1em;
}

.edito-view h1 {
  font-size: 100%;
  margin-bottom: 6px;
  padding: 2px 5px 3px 5px;
  color: white;
  background: url(title.jpg) no-repeat;
}

.edito-view h3 {
  font-size: 100%;
  margin-top: 12px;
  margin-bottom: 12px;
  text-align: center;
  font-weight: bold;
}

.edito-view h4 {
  font-size: 90%;
  margin-top: 24px;
  margin-bottom: 12px;
  text-align: center;
  font-weight: bold;
}

.edito-view h5 {
  font-size: 80%;
  margin-top: 12px;
  margin-bottom: 6px;
  padding: 0 5px;
  font-weight: bold;
}

.edito-view h6 {
  font-size: 80%;
  margin-top: 12px;
  margin-bottom: 6px;
  padding: 0 5px;
  font-weight: bold;
  font-style: italic;
}

.edito-view p {
  color: #004731;
  font-size: 80%;
  text-align: justify;
  margin-bottom: 6px;
  padding: 0 5px;
}

.edito-view ul {
  color: #004731;
  font-size: 80%;
  text-align: left;
  margin-top: 6px;
  margin-bottom: 6px;
}

.edito-view img {
  margin: 3px 10px 0px 10px;
  padding: 2px;
  border: 1px solid #004731;
}

.edito-pagination {
  clear: both;
}

.edito-pagination .next {
  float: right;
}

.edito-member #member-photo {
  float: right;
}

.edito-view img[align=right] {
  margin-right: 0;
}

.edito-view img[align=left] {
  margin-left: 0;
}

.edito-view .edito-preview img {
  margin: 0;
}

/** Search boxes **/

#search-generale-box {
  height: 140px;
}

#left #search-generale-box {
  background: url(background_menu.jpg) no-repeat;
}

#search-volumi-box {
  height: 280px;
  background: url(background_volumi.jpg) no-repeat;
}

div.search {
  padding: 6px;
}

.search h2 {
  margin-bottom: 6px;
  font-weight: bold;  
  font-size: 80%;
}

.search img.submit {
  position: relative;
  top: 6px;
}

.search img.submit:hover {
  cursor: pointer;
}

.search input {
  border: 1px solid #004731;
  padding: 2px;
  width: 140px;
}

/* Menu box (and submenus) */

#menu-box {
  margin-bottom: 6px;
}

#menu {
  padding: 12px;
  background: url(background_menu.jpg) top left no-repeat;
}

#menu ul {
  margin: 0 12px; padding: 0;
  list-style-type: square;
}

#menu ul a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 80%;
}

#vlc {
     width: 352px;
     height: 288px;
     border: 2px solid #004731;
}

/* Time Wheel  */

#event-calendar {
    float: right;
}

#event-calendar table {
    border: 1px solid #0C4433;
    border-spacing: 0px;
    border-collapse: collapse;
    margin-right: 5px;
}

#event-calendar th, #event-calendar td {
    font-size: 80%;
    text-align: center;
    background-color: #D2BE96;
    padding: 2px; 
}

#event-calendar td {
    cursor: pointer;
    width: 40px;
    border: 1px solid #0C4433;
}

#event-calendar th {
    cursor: pointer;
}

table.wheel {
    //border-collapse: collapse; 
    //height: 450px;
    border-spacing: 2px;
}

table.wheel td {
    border-left: 1px solid #0C4433;
    border-right: 1px solid #0C4433;
    padding: 0;
    vertical-align: top;
}

div.wrapper {
    height: 22px;
}

table.wheel div.event {
    color: #0C4433;    
    //width: 402px;    
}


table.wheel td {    
    border: none;
    }
    
table.wheel .day {    
    text-align: center;
    font-weight: bold;
    color: white;
    width: 150px;
    height: 20px;
    border: 1px solid #0C4433;
    cursor: pointer;
    
    
}

table.wheel  td.title {
    padding-left: 10px;
    padding-right: 10px;
    height: 20px;    
    font-weight: bold;
}

table.wheel div.event .summary {
    background: #D2BE96;
    border: 1px solid #0C4433;
    padding: 2px;   
}

table.wheel div.event .summary a {
    font-weight: bold;
    display: block;
    font-size: 8px;
    padding: 1px;
    text-align: right;
    text-decoration: none;    
    color: white;
}

table.wheel div.event .summary a:hover {
    color: red;
}

table.wheel th.month {
    background: url(bg_months.png);
    height: 30px;
    width: 714px;
    color: white;
    text-align: center;
    border-left: 1px solid #0C4433;
}

table.wheel th.month a {
    color: white;
}

table.wheel a.prevmonth {
	float: left;
	font-size: 10px;
	display: none;
}
table.wheel a.nextmonth {
	float: right;
	font-size: 10px;
	display: none;
}


table.wheel th.currentMonth {
    background: url(bg_months.png) repeat-x;
    height: 30px;
    width: 450px;
    color: white;
    text-align: center;
    border-left: 1px solid #0C4433;
}

table.wheel a {
    text-decoration: none;
}
table.wheel a:hover {
    text-decoration: underline;
}
table.wheel {
    border-spacing: 5px;
}
table.wheel .days {
    border: none;
    padding: 3px;
    text-align: right;
    color: white; 
    background: url(bg_months.png) repeat-x;
}

table.wheel td.summary {
    padding-left: 10px;
    padding-right: 10px;
}

/* Eventi Mappa Colori */

table.wheel .day {
    background-color: #D2BE96;
}
table.wheel .mercoledi {
    background-color: #009966;
}
table.wheel .prospettive_ricerca {
    background-color: #996600;
}
table.wheel .sedute_cf_privata {
    background-color: #000033;
}
table.wheel .sedute_cf_scientifica {
    background-color: #000099;
}
table.wheel .sedute_cm_privata {
    background-color: #FF9900;
}
table.wheel .sedute_cm_scientifica {
    background-color: #ffcc00;
}
table.wheel .commemorazioni {
    background-color: #990000;
}
table.wheel .inaugurazione_aa {
    background-color: #ff0000;
}
table.wheel .visite_guidate {
    background-color: #00cccc;
}
table.wheel .didattica {
    background-color: #ff00ff;
}
table.wheel .mostre {
    background-color: #ff0066;
}

strong + strong { margin-left: 0.5em; }

.media-preview {
    float: left;
    width: 165px;
    margin-bottom: 15px;
    margin-right: 10px;
}

.media-preview p {
    display: none;
}

#form-list { font-size: 11px; }
#form-list td { padding: 2px; }

div.edito-members-search
    { overflow: auto; }

div.edito-members-search label
    { display: none; }

div.edito-members-search div
    { float: left; width: 200px; }
div.edito-members-search div.button-bar
    { float: right; width: 120px; }
div.edito-members-search input,
div.edito-members-search select
    { width: 95%; }

div.edito-members-search div.freetext
    { width: 175px; }
div.edito-members-search div.freetext input
    { width: 165px; }
    
div.edito-members-search button
    { top: 0; float: right; }

div.edito-members ul
    { padding: 0; margin: 0; }
div.edito-members li
    { float: left; display: block; width: 340px; height: 9em; margin-right: 10px; margin-bottom: 1em; overflow: hidden; }
div.edito-members li a.photo
    { float: left; height: 9em; width: 4em; margin-right: 1ex; }
div.edito-members li img
    { height: 4em; padding:0; margin: 0; border: none; }
div.edito-members .member-name
    { font-weight: bold; }
div.edito-members .member-class
    { font-style: italic; }

div.edito-member div.overview
    { overflow: auto; border-bottom: 1px solid #004731; padding-bottom: 6px; margin-bottom: 6px; }
div.edito-member #member-classification
    { list-style: none; padding: 0 5px; }
div.edito-member #member-classification li
    { overflow: auto; margin-bottom: 6px; }
div.edito-member #member-classification li .label
    { width: 15ex; }
div.edito-member #member-classification li div
    { float: left; margin-right: 1ex; }
div.edito-member #member-title
    { font-weight: bold; }

.opt-class
    { font-weight: bold; }
.opt-type
    { padding-left: 1ex; }
.opt-section
    { padding-left: 2ex; font-style: italic; }

#login-box h1
    { font-size: 100%; margin-bottom: 6px; padding: 2px 5px 3px 5px; color: white; background: url(title.jpg) no-repeat; }

input.hint
    { color: gray; }

#document-list input { display: inline; }
#document-list button { display: inline; position: static; }

#login-info { padding: 0 0.5em; }
#login-info a { font-weight: normal; }

