body {
  font: .825em "Lucida Grande", "Nimbus Sans L", "Arial", sans-serif;
  color: #000;
  margin: 0;
  padding: 0;
  /*background: #fff url(header-bg.png) repeat-x left top;*/
}

a:link,a:visited,a:active {
  font-weight: bold;
  font-style: normal;
  text-decoration: none;
  color: #000;
  -webkit-transition-property: color, background-color, opacity;
  -webkit-transition-duration: 250ms;
}

a:hover {
  text-decoration: underline;
}

h1,h2,h3,h1 a,h2 a,h3 a,h1 a:link,h2 a:link,h3 a:link,h1 a:visited,h2 a:visited,h3 a:visited
  {
  color: #8C0029;
  font-size: 1em;
  margin-top: 1em;
  margin-bottom: 0;
  padding: 0;
  font-weight: bold;
  font-family: Georgia, serif;
}

h1 {
  font-size: 1.75em;
}

h2 {
  font-size: 1.275em;
}

h3 {
  font-size: 1em;
}

img {
  border: 0;
}

input,textarea {
  font: 1em "Lucida Grande", "Nimbus Sans L", "Arial", sans-serif;
  padding: .2em;
  border: 2px solid #dddddd;
  background: #fff;
  color: #000;
}

form,fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

input:hover,textarea:hover {
  border: 2px solid #dcc;
}

input:focus,textarea:focus {
  border: 2px solid #cbb;
  background: #fff;
}

input.button {
  padding: .5em 1em;
  color: #8C0029;
  font-weight: bold;
  background: #fff url(sd.png) repeat-x left bottom;
  width: auto !important;
}

input.image {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

input.button:focus {
  background: #eee url(ds.png) repeat-x left top;
}

input.checkbox {
  width: auto !important;
}

input.file {
  border: 0;
}

input.hidden {
  display: none !important;
}

.main {
  clear: both;
  padding: 2em 0 1em 0;
}

.main h1 {
  margin-top: 0;
}

p.text, li.text {
  line-height: 1.5em;
  text-align: justify;
  font-size: 1.275em;
}

/* header */
#header {
  height: 150px; /* 100 + 30 + 1*/
}

.main, #header, #footerMain {
  margin: 0 auto;
  max-width: 70em;
  /* width: expression(document.body.clientWidth > 1000 ? "70em": "auto");
  width:auto; */
  min-width:1024px;
}


#header a#logo {
  position: relative;
  top: 0;
  display: block;
  padding-top: 100px;
  width: 348px;
  overflow: hidden;
  margin: 20px 0 0 0;
  height: 0 !important;
}

#header>a#logo.it {
  background: url(logo-it.png) no-repeat left top;
}

#header>a#logo.en {
  background: url(logo-it.png) no-repeat left top;
}

#header a#logo.spqr {
  width: 276px;
}

#header>a#logo.spqr.it {
  background: url(spqr-it.png) no-repeat left top;
}

#header ul#tipi,#header ul#tipi li {
	z-index:99;
  float: left;
  list-style-type: none;
  margin: 0 0;
  padding: 0;
}

#header ul#tipi {
  float: left;
}

ul#tipi a {
	display: block;
	float: left;
	padding: 9px 25px;
	color: #333;
	text-shadow: #fff 0 0 .2em;
	border: 1px solid #ccc;
	border-right: 0;
	background: #d0d0d0 url(nav.png) repeat-x left bottom;
}

ul#tipi li.first a {
	border-right: 0;
  -moz-border-radius-topleft: .5em;
  -webkit-border-top-left-radius: .5em;
  border-top-left-radius: .5em;
  -moz-border-radius-bottomleft: .5em;
  -webkit-border-bottom-left-radius: .5em;
  border-bottom-left-radius: .5em;
}

ul#tipi li.last a {
	border-right: 1px solid #b0b0b0;
  -moz-border-radius-topright: .5em;
  -webkit-border-top-right-radius: .5em;
  border-top-right-radius: .5em;
  -moz-border-radius-bottomright: .5em;
  -webkit-border-bottom-right-radius: .5em;
  border-bottom-right-radius: .5em;
}

ul#tipi a:hover {
	background: #999;
  color: #fff;
	text-shadow: #000 0 0 .2em;
	text-decoration: none;
}

ul#tipi li.active a {
	background: #707070;
  color: #fff;
	text-shadow: #000 0 0 .2em;
}


/* ricerca */
#ricerca {
  float: right;
  vertical-align: middle;
  text-align: right;
}

#ricerca form {
  text-align: right;
  white-space: nowrap;
}

#ricercaQ,#ricercaGo {
  vertical-align: middle;
  margin: 0;
  padding: .4em;
}

#ricercaQ {
  opacity: .9;
  width: 12em;
  border: 1px solid #999;
  -moz-border-radius: .5em;
  -webkit-border-radius: .5em;
  border-radius: .5em;
  background: #fff;
	-moz-box-shadow: 0 0 .5em #999;
	-webkit-box-shadow: 0 0 .5em #999;
	box-shadow: 0 0 .5em #999;
}

#ricercaQ:hover, #ricercaQ:focus {
  opacity: 1;
  border: 1px solid #808080;
}

#ricercaQ.tip {
  color: #999;
}

#ricercaGo {
  background-color: transparent;
  opacity: .9;
}

#ricercaGo:hover {
  opacity: 1;
}

/* completer */
#ricercaCompleter {
  background: #fff !important;
  white-space: normal;
}

#ricercaCompleter ul {
  border: 1px solid #ccc;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

#ricercaCompleter ul li {
  margin: 0;
  padding: 3px;
  text-align: left;
  cursor: default;
}

#ricercaCompleter ul li.selected {
  color: #fff;
  background-color: #8C0029;
}

ul.completer .h,ul.completer .hr {
  display: none;
}

/* end completer */ /* end ricerca */
#altLang {
  position: absolute;
  top: 1px;
  right: 1px;
  padding: 1em;
  font-size: .9em;
  color: #666;
  -moz-border-radius-bottomleft: .5em;
  -webkit-border-bottom-left-radius: .5em;
  border-bottom-left-radius: .5em;
  background: #dcdcdc;
}

#altLang:hover {
  color: #333;
  text-decoration: none;
}

/* end header */
#footer {
  float: left;
  width: 100%;
  padding: 30px 0 0 0;
  text-align: left;
  vertical-align: top;
  background: #1f1f1f url(sd.png) repeat-x;
  color: #ccc;
  clear: both;
  /* border-bottom: 1px solid #2e2e2e; */
}

#footer h2 {
  padding: 0;
  margin: 0 0 .5em 0;
  color: #808080;
  text-transform: uppercase;
  font-weight: normal !important;
  text-shadow: #666 0 0 1em;
}

#footer a {
  color: #fff;
}

#footer .item ul,#footer .item li, , #footer .item li a {
  
}

#footer li a:hover {
  color: #39f;
  text-shadow: #333 0 0 .25em;
  text-decoration: none;
}

#footer ul {
  list-style: square;
  margin: 0;
  padding: 0;
  color: #333;
}

#footer ul li a {
  display: block;
  padding: .25em 0;
}

#footer ul li:hover {
  color: #06c;
}

#footer #copyright {
  float: left;
  width: 100%;
  padding: 2em 0 2em 0;
  margin: 0;
  font-size: .9em;
  text-align: center;
  border-top: 1px solid #404040;
  color: #ccc;
  background: #343434;
}

#footer #copyright img {
  vertical-align: middle;
  margin-left: 1em;
}

#footer #copyright a {
  color: #ccc;
}

#footer div.item {
  float: left;
  padding: 0;
  margin: 2em;
  width: auto;
}

#footer div.cloud {
  max-width: 27em;
}

/* error pages */
#tNotFound ul {
  list-style-type: square;
}

#tNotFound li {
  padding: .25em;
}

/* end error pages */ /* cloud */
.cloud {
  position: relative;
  text-align: center;
}

.cloud h2,.cloud h2 a,.cloud h2 a:hover {
  margin: 0;
  text-decoration: none;
}

.cloud p {
  margin: 0;
  font-size: 1.275em;
}

.cloud p a,.cloud p a:visited {
  position: relative;
  line-height: 2em;
  text-decoration: none;
  color: #444;
  padding: .4em .8em;
  white-space: nowrap;
  margin: 0;
  -moz-border-radius: .5em;
  -webkit-border-radius: .5em;
  border-radius: .5em;
}

.cloud p a:hover {
  text-decoration: none;
  background: #36c;
  color: #fff;
}

.cloud .more {
  font-size: .875em;
}

.cloud .l1 {
  font-size: .875em;
  font-weight: normal !important;
}

.cloud .l2 {
  font-size: 1em;
  font-weight: normal !important;
}

.cloud .l3 {
  font-size: 1.1em;
  font-weight: bold !important;
}

/* end cloud */ /* tags */
ul.tags {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.tags li {
  padding: 0 .5em 0 0;
  display: inline;
}

ul.tags a:link,ul.tags a:visited {
  color: #8C0029;
  font-size: .925em;
  border-bottom: 1px dotted #fff;
  white-space: nowrap;
}

ul.tags a:hover {
  border-bottom: 1px dotted #667F99;
  text-decoration: none;
}

/* end tags */ /* home */
.post .pic {
  float: right;
  margin: 0 0 2em 2em;
  text-align: center;
  color: #808080;
  font-weight: bold;
  line-height: 1.5em;
}

.post #sl {
  width: 420px;
  height: 320px;
  padding-bottom: 48px;
  background: #343434 url(ds.png) repeat-x left bottom;
}

.post #sl a {
  display: block;
  padding: 10px;
}

.post #sl p {
  padding: 2em;
  color: #eee;
}

.post #sl p a {
  display: inline;
  padding: 0;
  color: #fff;
  text-decoration: underline;
  white-space: nowrap;
}

.post #sl noscript p {
  margin-top: -320px;
  background-color: #343434;
  opacity: .9;
}

.post .pic:hover {
  text-decoration: none;
  color: #666;
}

.post .pic img {
  display: block;
}

#fullSL {
  display: none;
}

#fullSL.on {
  z-index: 999;
  position: absolute;
  display: block;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
}

#fullSL p, #fullSL p a {
  color: #fff;
}

p.meta {
  line-height: 1.5em;
  color: #808080;
  margin: .25em 0 0 0;
}

p.meta a.author {
  color: #808080;
}

p.meta .commenti {
  background: transparent url(commenti.png) no-repeat left center;
  padding-left: 20px;
}

p.meta .commenti:hover {
  background: transparent url(commenti.png) no-repeat left center;
  text-decoration: none;
  border-bottom: 1px solid #8C0029;
  color: #8C0029;
}

p.meta .commenti span {
  display: none;
}

p.postMeta {
  clear: both;
  line-height: 1.5em;
  color: #666;
  background: #f8f8f8;
  margin: 2em 0 0 0;
  padding: 1em;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

p.postMeta a {
  color: #8C0029;
}

p.postMeta a:hover {
  color: #8C0029;
}

.tools {
  float: right;
}

.post div.abstract {
  line-height: 1.5em;
  text-align: justify;
}

.post div.body {
  font-family: Georgia, serif;
  font-size: 1.275em;
  line-height: 1.5em;
  text-align: justify;
  margin: 1em 0 0 0;
}

.post div.body p {
  margin: 0 0 1em 0;
}

.post div.body div.l {
  float: left;
  margin: 0 1em .25em 0;
}

.post div.body div.r {
  float: right;
  margin: 0 0 .25em 1em;
}

div.body blockquote {
  background: url(blockquote.png) no-repeat left top;
  margin: 1em 0 1em 0;
  padding-left: 64px;
  padding-top: 16px;
}

/* prev */
div.prev {
  clear: both;
  margin-top: 4em;
}

div.prev h2, .miniHeader {
  color: #808080;
  text-transform: uppercase;
  font-size: .8em;
  margin: 0;
  padding: 0;
}

/* end prev */ /* end home */ /* lista */
ul.lista {
  list-style: none;
  clear: both;
  margin: 1em 0 0 0;
  padding: 0;
}

ul.lista li {
  clear: both;
  margin: 1em 0 0 0;
  padding: 1em;
  background: url(left-top-corner-box.jpg) no-repeat;
}

ul.lista h2,ul.lista h3 {
  font-size: 1.25em;
  margin: 0;
}

ul.lista img {
  float: left;
  margin: 0 1em .5em 0;
}

ul.lista h2 a:hover img,ul.lista h3 a:hover img {
  opacity: .9;
}

ul.lista p.meta {
  margin: 0;
}

ul.lista .abstract {
  margin: 0;
  padding: .5em 0 0 0;
  line-height: 1.5em;
  text-align: justify;
}

ul.lista .edit,.post .edit {
  float: right;
  line-height: 1.5em;
  color: #8C0029;
  background: #f0f0f0;
  padding: 0 .5em;
}

/* end lista */ /* pics */
#pictures {
  clear: left;
  margin-top: 2em;
  margin-bottom: 2em;
  float: left;
}

#pictures h2 {
  display: none;
}

#pictures ul {
  float: left;
  list-style: none;
  list-style-image: none;
  margin: 0;
  padding: 0;
}

#pictures li, .thumb {
  display: block;
  padding: 10px;
  background: url(thumb.png) no-repeat center top;
  width: 150px;
  text-align: center;
}

#pictures li {
  margin-right: 0px;
  float: left;
  height: 100px;
}

#pictures img,.thumb img {
  border: 1px solid #ccc;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#pictures a,.thumb a {
  display: block;
  height: 100%;
  line-height: 1.5em;
  color: #333;
  font-style: italic;
  font-weight: normal;
  text-decoration: none;
}

#pictures a span,.thumb a span {
  display: none;
}

#pictures a:hover img,.thumb a:hover img {
  opacity: .9;
}

/* end pics */ /* comments */
div.comments {
  clear: both;
  margin: 0;
}

div.comments ol.l,div.comments ol.l li {
  list-style: none;
  list-style-image: none;
  padding: 0;
  margin: 0;
}

div.comments ol.l {
  margin: 1em 0 0 0;
}

div.comments ol.l li {
  color: #999;
  margin: 0 0 1em 0;
  background: url(fumetto.png) no-repeat 0 2em;
  padding: 0 32px;
}

div.comments ol.l li div {
  padding: 1em;
  background: #f8f8f8;
  border: 1px solid #eee;
}

div.comments ol.l .meta {
  padding: 0;
  margin: 0;
  color: #666;
  font-style: italic;
}

div.comments ol.l .meta span.author {
  color: #333;
  font-style: normal;
  font-weight: bold;
}

div.comments ol.l .meta a.date {
  text-decoration: none;
  color: #666;
}

div.comments ol.l .meta .date:hover {
  color: #333;
}

div.comments ol.l p {
  margin: .125em 0 .5em 0;
  clear: both;
  color: #000;
  text-align: justify;
}

/*

div.comments ol.l p code span {
  visibility: hidden;
}

code.smile {
  background: url(emo/smile.png) no-repeat center center;
}

code.teeth {
  background: url(emo/teeth.png) no-repeat center center;
}

code.sad {
  background: url(emo/sad.png) no-repeat center center;
}

code.omg {
  background: url(emo/omg.png) no-repeat center center;
}

code.wink {
  background: url(emo/wink.png) no-repeat center center;
}

code.tongue {
  background: url(emo/tongue.png) no-repeat center center;
}

code.innocent {
  background: url(emo/innocent.png) no-repeat center center;
}

*/
div.comments form {
  padding-left: 32px;
}

div.comments fieldset {
  border: 0;
  padding: 0;
  margin-top: 1em;
}

div.comments .form label {
  color: #666;
  font-weight: bold;
  float: right;
  width: 22%;
  padding-top: .4em;
}

div.comments label span {
  font-weight: normal;
  color: #4c6699;
}

div.comments .form input,div.comments .form textarea {
  display: block;
  width: 75%;
  margin: 0 0 .75em 0;
}

#commentPreview {
  clear: both;
  background: #f8f8f8;
  border: 1px solid #eee;
  margin: .75em 0;
  padding: .25em;
  width: 75%;
}

/* end comments */
a.next {
  clear: both;
  margin: 2em 2em 0 2em;
  padding: 1.5em 0;
  padding-right: 60px;
  padding-left: 60px;
  float: right;
  background: #fff url(next.png) no-repeat 95% center;
  text-align: center;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}

a.next:hover {
  text-decoration: none;
  color: #333;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.msg {
  clear: both;
  padding: 1em 1em;
  font-size: 1.275em;
  color: #000;
  text-shadow: #fff 0 0 .25em;
  background: #f0f0f0 url(msg.png) no-repeat 10px center;
  padding-left: 52px;
  border: 2px solid #f7f7f7;
  -moz-border-radius: 1%;
  -webkit-border-radius: 1%;
  border-radius: 1%;
  line-height: 1.5em;
}

a.back {
  margin-top: 1em;
  display: block;
  width: 15em;
  padding: 1em;
  color: #fff !important;
  background: #8C0029;
  -moz-border-radius: 3%;
  -khtml-border-radius: 3%;
  border-radius: 3%;
  font-size: 1.275em;
}

a.back:hover {
  opacity: .9;
}

/* SPQR */

#tSpqrHome {
  padding-bottom: 1em;
  padding-left: 3em;
  padding-right: 2em;
}

#tSpqrHome h1 {
  display: none;
}

#tSpqrHome .classe {
  padding: 30px 0 0 20px;
  background: url(spqr/classe.png) no-repeat;
  margin-bottom: 2em;
}

#tSpqrHome .classe ul {
  padding: 0 20px 30px 0;
  background: url(spqr/classe2.png) no-repeat bottom right;
}

#tSpqrHome .classe h2 {
  position: relative;
  top: 0;
  display: block;
  padding: 34px 0 0 0;
  width: 100px;
  overflow: hidden;
  margin: 0 0 .5em .5em;
  height: 0 !important;
}

#tSpqrHome .classe a.feed, #tSpqrHome #ultimiCommenti a.feed {
  margin-right: 30px;
  float: right;
  background: url(feed-icon-small.png) no-repeat left top;
  display: block;
  padding: 21px 0 0 0;
  width: 21px;
  overflow: hidden;
  height: 0 !important;
}

#tSpqrHome .classe a.feed {
  margin-top: -60px;
}

#tSpqrHome #ultimiCommenti a.feed {
  margin-top: -20px;
}

#tSpqrHome #senato h2 {
  background: url(spqr/senato.png) no-repeat;
}

#tSpqrHome #popolo h2 {
  background: url(spqr/popolo.png) no-repeat;
}

#tSpqrHome .classe p.desc {
  margin: 0 0 .5em 0;
  padding: 0 0 0 1.2em;
  text-transform: uppercase;
  font-size: .75em;
  color: #808080;
}

#tSpqrHome p.stats {
  clear: both;
  margin-left: auto;
  margin-right: auto;
  width: 75%;
  text-align: center;
}

ul.spqrLista {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.spqrLista li {
  margin: 0;
  padding: .75em;
}

ul.spqrLista > li {
  border: 1px solid transparent;
}

ul.spqrLista li:hover {
  background: #ececec url(spqr/item-bg.png) repeat-x left top;
  -moz-border-radius: 5px;
  -khtml-border-radius: 5px;
  border-radius: 5px;
}

ul.spqrLista > li:hover {
  border: 1px solid #ececec;
}

ul.spqrLista li a.topTag {
  float: left;
  font-weight: normal;
  text-transform: uppercase;
  color: #666;
  font-size: .725em;
}

ul.spqrLista li p a {
  padding: .2em;
}

ul.spqrLista li p a:hover {
  background: #fff;
  text-decoration: none;
}

ul.spqrLista h3 {
	clear: left;
  font-size: 1.1em;
  margin: 0;
  padding: 0;
  float: left;
  width: 85%;
}

ul.spqrLista h2 {
	clear: left;
  font-size: 1.1em;
  margin: 0;
  padding: 0;
  float: left;
  width: 85%;
}

ul.spqrLista h4 {
  clear: left;
  margin: 0;
  padding: 0;
  float: left;
  width: 85%;
}

ul.spqrLista li a.external {
  display: block;
  float: right;
  padding: 24px 0 0 0;
  width: 24px;
  overflow: hidden;
  height: 0 !important;
  margin-top: -.25em;
}

ul.spqrLista li:hover a.external {
  background: url(spqr/external.png) no-repeat center center;
}

ul.spqrLista li a.external:hover {
  background-color: #fff;
}

ul.spqrLista p.meta {
  position: relative;
  clear: both;
  margin: 0;
}

ul.spqrLista p.meta a {
  color: #666;
}

ul.spqrLista .abstract {
  margin: 0;
  padding: 0;
  line-height: 1.5em;
  text-align: justify;
}

#tSpqrHome #senato {
  float: left;
  width: 46%;
}

#tSpqrHome #senato h3 a,#tSpqrHome #senato h2,#tSpqrHome #senato a.external {
  color: #3366cc;
}

#tSpqrHome #popolo {
  float: right;
  width: 48%;
}

#tSpqrHome #other {
  float: right;
  width: 48%;
  margin-top: 2em;
  margin-bottom: 2em;
}

#tSpqrHome #other a, #tMap a.kmlLink {
  display: block;
  position: relative;
  top: 0;
  display: block;
  padding: 48px 0 0 0;
  width: 248px;
  overflow: hidden;
  height: 0 !important;
  margin-bottom: .5em;
  float: left;
}

#tSpqrHome #other a.googleEarth, #tMap a.kmlLink {
  background: url(spqr/google-earth.png) no-repeat;
}

#tMap a.kmlLink {
  margin-top: 1em;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
}

#tSpqrHome #other a.mappa {
  background: url(spqr/mappa.png) no-repeat;
}

#tSpqrHome #ultimiCommenti {
  clear: left;
  float: left;
  width: 46%;
  margin-bottom: 2em;
  padding: 30px 0 0 20px;
  /*
  background: url(spqr/classe.png) no-repeat;
  */
}

/*
#tSpqrHome #ultimiCommenti ul {
  margin: 0;
  margin-left: 10px;
  margin-top: .5em;
  padding: 0;
  list-style: none;
  padding: 0 20px 30px 0;
}

#tSpqrHome #ultimiCommenti > li {
  border: 1px solid transparent;
}

#tSpqrHome #ultimiCommenti li:hover {
  background: #ececec url(spqr/item-bg.png) repeat-x left top;
}

#tSpqrHome #ultimiCommenti > li:hover {
  -moz-border-radius: 5px;
  -khtml-border-radius: 5px;
  border-radius: 5px;
  border: 1px solid #ececec;
}

#tSpqrHome #ultimiCommenti h2 {
  margin-top: 0;
  margin-left: 10px;
}

#tSpqrHome #ultimiCommenti a {
  display: block;
  padding: .5em;
  font-weight: normal;
}

#tSpqrHome #ultimiCommenti a:hover, #tSpqrHome #ultimiCommenti a:active, #tSpqrHome #ultimiCommenti a:visited {
  font-weight: normal;
  text-decoration: none;
}

#tSpqrHome #ultimiCommenti a span.author {
  color: #000;
}

#tSpqrHome #ultimiCommenti a span.meta {
  color: #666;
}
*/

#timeTabs {
  position: absolute;
  left: -10px;
  top: 180px;
}

#timeTabs ul, #timeTabs ul li {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
#timeTabs ul {

}
#timeTabs ul li {
  height: 107px;
  width: 52px;
}
#timeTabs ul li.active {
  display: block;
  padding-top: 107px;
  width: 52px;
  overflow: hidden;
  margin: 0;
  height: 0 !important;
}
#timeTabs ul a {
  display: block;
  padding-top: 107px;
  width: 52px;
  overflow: hidden;
  margin: 0;
  height: 0 !important;
}

#timeTabs ul li.h24 {
  background: url(spqr/h24-off.png) no-repeat;
}
#timeTabs ul li.h24 a:hover, #timeTabs ul li.h24.active {
  background: url(spqr/h24.png) no-repeat;
}

#timeTabs ul li.h168.active,  #timeTabs ul li.h168 a {
  padding-top: 162px;
}
#timeTabs ul li.h168 {
  height: 162px;
  background: url(spqr/h168-off.png) no-repeat;
}
#timeTabs ul li.h168 a:hover, #timeTabs ul li.h168.active {
  background: url(spqr/h168.png) no-repeat;
}

#timeTabs ul li.h720 {
  background: url(spqr/h720-off.png) no-repeat;
}
#timeTabs ul li.h720 a:hover, #timeTabs ul li.h720.active {
  background: url(spqr/h720.png) no-repeat;
}

#timeTabs ul li.h8760 {
  background: url(spqr/h8760-off.png) no-repeat;
}
#timeTabs ul li.h8760 a:hover, #timeTabs ul li.h8760.active {
  background: url(spqr/h8760.png) no-repeat;
}

#tSpqrItem .creator {
  text-align: right;
  color: #333;
  font-family: serif;
  font-style: italic;
  margin: .5em 0 0 0;
  padding: 0;
}

#tSpqrItem a.more {
  background: url(spqr/continua.png) no-repeat;
  position: relative;
  top: 0;
  display: block;
  padding: 48px 0 0 0;
  width: 198px;
  overflow: hidden;
  margin-top: 1em;
  margin-left: auto;
  margin-right: auto;
  height: 0 !important;
}

#tSpqrItem div.post {
  float: left;
  width: 70%;
}

#tSpqrItem div.gmap {
  margin-top: 2em;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  height: 400px;
  width: 100%;
}

#tSpqrTag ul.spqrLista {
  margin-top: 1em;
  float: left;
  width: 70%;
}

#tSpqrTag .feed {
  float: left;
  margin-top: 1em;
  background: url(feed-icon-28x28.png) no-repeat left center;
  padding: 14px 0 14px 42px; 
  clear: both;
  width: 90%;
}

div.spqrTools {
  float: right;
  width: 25%;
}

div.spqrTools h2 {
  margin: 0 0 0 .5em;
  padding: 0;
}

div.spqrTools h3 a {
  color: #333;
}

#tSpqrAdd {
  background: url(spqr/add.png) no-repeat top right;
  padding-right: 230px;
  min-height: 324px;
  max-width: 50em;
}

#tSpqrAdd h2 {
  margin-bottom: 0;
  padding-bottom: 0;
}

#tSpqrAdd p {
  margin-top: .25em;
  padding-top: 0;
}

#tSpqrCredits {
  background: url(spqr/credits.png) no-repeat top right;
  padding-right: 130px;
  min-height: 220px;
  max-width: 60em;
}

#tSpqrCredits p {
  clear: left;
}

#tSpqrCredits p.gregorio {
  margin-top: 2em;
}

#tSpqrCredits p.gregorio img {
  float: left;
  margin-right: 1em;
  margin-bottom: 2em;
}

/* edit */
#tEdit ul {
  list-style-type: none
}

#tEdit dl {
  float: right;
}

#tEdit dt {
  float: left;
  clear: left;
  font-style: italic
}

#tEdit dd {
  padding-left: 12em
}

#tEdit fieldset {
  clear: both;
  border-top: 1px solid #eee;
  padding: 1em;
  margin: 1em 0;
}

#tEdit fieldset legend {
  padding: 0 .5em;
  text-transform: uppercase;
}

#tEdit fieldset legend,#tEdit label {
  color: #808080;
}

#tEdit input,#tEdit textarea {
  margin-bottom: .5em;
}

#tEdit #textset label {
  float: right;
  margin-right: 1em;
  width: 8%;
  text-align: right;
  clear: right;
}

#tEdit #textset textarea {
  float: right;;
  width: 88%;;
  height: 20em;
}

#tEdit #titlesset label {
  float: right;;
  margin-right: 1em;;
  width: 8%;;
  text-align: right;;
  clear: right;
}

#tEdit #titlesset input {
  float: right;;
  width: 88%
}

#tEdit #tagsset label {
  float: right;
  margin-right: 1em;
  width: 8%;
  text-align: right;
  clear: right;
}

#tEdit #tagsset input {
  float: right;
  width: 88%
}

#tEdit #coordsset label {
  float: left;
  margin-right: 1em;
  width: 5em;
}

#tEdit #coordsset input {
  width: 85%
}

#tEdit #authorset input.authorcheck {
  
}

#tEdit #authorset input.authorcredits {
  
}

#tEdit #authorset label {
  float: left;
  margin-right: 1em;
  width: 10em;
  text-align: right;
}

#tEdit #authorset div {
  width: 180px;
  float: left;
}

#tEdit #authorset div label {
  float: right;
  width: 10em;
  text-align: left;
  padding-left: 4px;
}

#tEdit #authorset div input {
  float: right;
}

#tEdit #authorset div:hover {
  background-color: #eee;
}

#tEdit .tagroups label:hover {
  background: #36c;
  color: #fff;
}

#tEdit .tagroups div {
  float: left;
  vertical-align: middle;
}

#tEdit .tagroups label {
  width: 13em;
  float: left;
  padding: .25em;
}

#tEdit .tagroups input {
  float: left;
}

#tEdit .imgpost {
  float: left;
}

#tEdit .imgpostinfo {
  float: left;
  margin-left: 1em;
}

#tEdit .imgpostinfo label {
  margin-right: 10px;
}

#tEdit fieldset.imgdida,#tEdit fieldset.imgtags {
  margin: 0;
  clear: none;
  width: 20em;
  float: left;
}

#tEdit .imgdida label,.imgtags label {
  float: right;
  width: 8em;
  padding: .25em .5em;
}

#tEdit .imgdida input,.imgtags input {
  float: right;
  width: 10em;
}

#tMap {
  z-index: 1;
  position: relative;
}

#tMap h1 {
  display: none;
}

#crosshair {
  position: absolute;
  z-index: 100;
}

v\: * {
  behavior: url(#default#VML);
}

#tMap #placeinfo {
  color: #8C0029;
  font-weight: bold;
  float: left;
  padding: .5em .5em 0 1em;
}

#tMap div.kmlLink {
  float: right;
  padding: .5em .5em 0 .5em;
}

#tMap #map {
  text-align: center;
  padding: 10px;
  border-bottom: 1px solid #ccc;
}

/* coolbox */
  /* http://www.modxcms.com/simple-rounded-corner-css-boxes.html */
  /* set the image to use and establish the lower-right position */
.coolbox,.coolbox .c3,.coolbox .c1,.coolbox .c2 {
  background: transparent url(box.png) no-repeat bottom right;
}

.coolbox {
  display: block;
  padding-right: 30px;
  /* the gap on the right edge of the image (not content padding) */
}

/* set the top-right image */
.coolbox .c1 {
  display: block;
  background-position: top right;
  margin-right: -30px;
  /* pull the right image over on top of border */
  padding-right: 30px;
  margin-right: -30px; /* right-image-gap + right-inside padding */
}

/* set the top-left image */
.coolbox .c2 {
  display: block;
  background-position: top left;
  margin: 0; /* reset main site styles*/
  border: 0; /* ditto */
  padding: 25px 0 10px 30px;
  /* padding-left = image gap + interior padding ... no padding-right */
  height: auto !important;
  height: 1%; /* IE Holly Hack */
  font-weight: bold;
}

/* set the lower-left corner image */
.coolbox .c3 {
  display: block;
  background-position: bottom left;
  margin: 0;
  margin-right: 0px; /* interior-padding right */
  padding: 0 0 20px 20px; /* mirror .cssbox_head right/left */
}

/* end coolbox */


/* coolmenu */

.coolmenu {
  /* ie6 */
  position: relative;
}

.coolmenu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.coolmenu ul.compact {
  text-align: center;
}

.coolmenu ul.compact li, .coolmenu ul.compact li a {
  display: inline;
  line-height: 225%;
}

.coolmenu ul.compact li a {
  padding: .5em 1em;
  white-space: nowrap;
}

.coolmenu li a {
  display: block;
  font-weight: normal;
  padding: .5em;
  margin: 0;
  /* IE6 */
  position: relative;
}

.coolmenu li a:visited {
  font-weight: normal;
}

.coolmenu li a:hover {
  text-decoration: none;
  background: #fff;
  font-weight: normal;
}

/* end coolmenu */

/* lightbox */
#lightbox {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  z-index: 100;
  text-align: center;
  line-height: 0;
}

#lightbox a img {
  border: none;
}

#outerImageContainer {
  position: relative;
  background-color: #fff;
  width: 250px;
  height: 250px;
  margin: 0 auto;
  background: #fff url(../images/loading.gif) no-repeat center center;
}

#imageContainer {
  padding: 10px;
}

#loading {
  position: absolute;
  top: 40%;
  left: 0%;
  height: 25%;
  width: 100%;
  text-align: center;
  line-height: 0;
}

#hoverNav {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
}

#imageContainer>#hoverNav {
  left: 0;
}

#hoverNav a {
  outline: none;
}

#prevLink,#nextLink {
  width: 49%;
  height: 100%;
  background: transparent url(../images/blank.gif) no-repeat;
  /* Trick IE into showing hover */
  display: block;
}

#prevLink {
  left: 0;
  float: left;
}

#nextLink {
  right: 0;
  float: right;
}

#prevLink:hover,#prevLink:visited:hover {
  background: url(../images/prevlabel.gif) left 15% no-repeat;
}

#nextLink:hover,#nextLink:visited:hover {
  background: url(../images/nextlabel.gif) right 15% no-repeat;
}

#imageDataContainer {
  background-color: #fff;
  margin: 0 auto;
  line-height: 1.4em;
}

#imageData {
  padding: 0 10px;
}

#imageData #imageDetails {
  width: 70%;
  float: left;
  text-align: left;
}

#imageData #caption {
  font-weight: bold;
}

#imageData #numberDisplay {
  display: block;
  clear: left;
  padding-bottom: 1.0em;
}

#imageData #bottomNavClose {
  width: 66px;
  float: right;
  padding-bottom: 0.7em;
}

#overlay, #slOverlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 90;
  width: 100%;
  height: 500px;
  background-color: #000;
  filter: alpha(opacity = 60);
  -moz-opacity: 0.6;
  opacity: 0.6;
}

.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

* html>body .clearfix {
  display: inline-block;
  width: 100%;
}

* html .clearfix { /* Hides from IE-mac \*/
  height: 1%;
  /* End hide from IE-mac */
}


/** nuova home page**/

.galleryview {
  font-size: 1.4em;
  font-family: Arial, Helvetica, sans-serif;
  text-align:center;
  margin-bottom: 2em !important;
	-moz-box-shadow: 0 .3em 1em #333;
	-webkit-box-shadow: 0 .3em 1em #333;
	box-shadow: 0 .3em 1em #333;
}

.galleryview .panel-overlay p {
  padding: 0 2em;
}

.filmstrip {
  position: absolute;
  top: 30px;
  left: 20px;
  width: 200px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.filmstrip li {
  line-height: 1.6em;	
  font-size: 1.2em;
}
.listina, .listina1  {
  list-style: none;
  margin-left:0;
  padding-left:0;
  text-align: left !important;
}
.listina h3, .listina p {
  font:11.2667px georgia ;
}

.listina li, .listina1 li {
  padding: .5em 0;
  border-bottom: 1px solid #DDDDDD;
}
.listina a {
  color: #3366CC;
  font-weight:normal;
}
.listina1 a{
  color:#8E042C;
  font-weight:normal;
}

.boxino {
  width:50%;
  font:11.2667px georgia ;
}
.boxino h2, .boxino h3 {
  margin:0;
  padding:0;
}

.sxsx1 {
  float: left;
  width:49%;
  padding-left:1%;
}

.dxdx1 {
  position: relative;margin-left:50%;
  width:49%;
}
.sxsx {
  float: left;
  width:49%;
}

.dxdx {
  float:right;
  width:49%;
}

.dettaglio p {
  line-height: 1.5em;
  text-align: justify;
  font-size: 1.275em;
}

.redazione {
  float: left;
  padding: 1em;
  background: #f0f0f0;
  -moz-border-radius: 1em;
  -webkit-border-radius: 1em;
  border-radius: 1em;
}

.daSpqr {
  padding-top: 2em;
  float: left;
}

.daSpqr p {
  font-size: .8em;
}

.daSpqr .topTag {
color: #8C0029 !important;
}
