/* vim: set noexpandtab shiftwidth=8 softtabstop=8 tabstop=8: */


/* Defaults */
* {
	margin: 0;
	padding: 0;
}
body {
	color: white;
	background-color: #233f39;
}
a {
	color: white;
	background-color: transparent;
	text-decoration: none;
}
a:hover {
	color: yellow !important;
	text-decoration: underline !important;
}
img {
	border: none;
}

.command {
	clear: none;
	text-align: right !important;
	vertical-align: middle;
	margin: 0 0 2ex 0;
}
.command a {
	font-size: small;
	font-weight: bold;
	margin-left: 1em;
}
span.date {
	font-size: smaller;
	font-weight: normal;
	font-style: italic;
}


/* Intestazione */
#idHeader {
	position: relative;
	width: 100%;
	height: 60px;
	color: white;
	background: transparent url(images/rugby.jpeg) top repeat-x;
	padding-top: 20px;
}

/* Logo di TuttoRugby */
#idLogo a {
	display: block;
	float: left;
	color: white;
	font-size: 32px;
	font-weight: 900;
	text-decoration: none;
	line-height: 40px;
	height: 40px;
	margin-left: 16px;
	padding-left: 70px;
	background: transparent url(images/tuttorugby.png) left top no-repeat;
}
#idLogo a:hover {
	background-position: left -40px;
}


/* Linguette pagine istituzionali */
#idTabs {
	padding: 10px 10px 0 0;
	list-style: none;
	position: absolute;
	bottom: 0;
	left: 33%;
	line-height: normal;
}
#idTabs li {
	float: left;
	background: url(images/tabs.png) left 0 no-repeat;
	margin-right: 4px;
	padding: 0 0 0 7px;
}
#idTabs a {
	float: left;
	display: block;
	color: #d0d0d0;
	background-color: #00c0b0;
	background: url(images/tabs.png) right -32px no-repeat;
	padding: 7px 15px 4px 6px;
	text-decoration: none;
}
#idTabs .on {
	background-position: left -64px;
}
#idTabs .on a {
	font-weight: bold;
	color: #303030;
	background-position: right -96px;
}


/* Corpo della pagina (tra intestazione e piede) */
#idBody {
	font-family: sans-serif;
	padding: 32px 32px 0 32px;
	color: #303030;
	background-color: #a0a0a0;
	height: 1%;
}
#idBody hr {
	display: block;
	clear: both;
	visibility: hidden;
}


/* Pannello laterale */
#idPanel {
	width: 30%;
	float: left;
}
#idPanel h2 {
	clear: both;
	font-size: 120%;
	margin-right: 16px;
	padding-left: 16px;
	max-height: 32px;
	background: transparent url(images/corners.png) left top no-repeat;
}
#idPanel h2 a {
	float: left;
	margin-top: 10px;
}
#idPanel h2 span {
	display: block;
	height: 1%;
	padding-top: 8px;
	margin: 0 -16px 0 20px;
	background: transparent url(images/corners.png) right top no-repeat;
}
#idPanel p {
	font-weight: bold;
	margin: 4px 8px 0 18px;
}


/* Riquadri pannello */
#idPanel div {
	margin: 0 16px 32px 0;
	padding: 0 0 0 16px;
	background: transparent url(images/corners.png) left bottom no-repeat;
}
#idPanel div div {
	margin: 0 -16px 0 0;
	padding: 0 0 16px 0;
	background: transparent url(images/corners.png) right bottom no-repeat;
}
#idPanel div div div {
	margin: 0 16px 0 -16px;
	padding: 0 0 0 16px;
	background: transparent url(images/body.png) left repeat-y;
}
#idPanel div div div div {
	margin: 0 -16px 0 0;
	padding: 8px 0 0 0;
	background: transparent url(images/body.png) right repeat-y;
}
#idPanel div a {
	color: #d0d0d0;
}


/* Gerarchie pannello */
#idPanel ul {
	height: 1%;
	list-style: none;
	padding: 2px 0;
	text-indent: 0;
}
#idPanel li,
#idPanel li a {
	display: block;
	width: 100%;
}
#idPanel li span,
#idPanel li em {
	display: block;
	width: auto;
	padding: 2px 0 2px 20px;
	background-position: left center;
	background-repeat: no-repeat;
}
#idPanel li var {
	display: block;
	font-family: serif;
	font-size: 90%;
	padding-left: 4px;
	padding-right: 16px;
	float: right;
}
#idPanel li li span,
#idPanel li li em {
	padding-left: 40px;
	background-position: 20px center;
}
#idPanel li li li span,
#idPanel li li li em {
	padding-left: 60px;
	background-position: 40px center;
}
#idPanel li li li li span,
#idPanel li li li li em {
	padding-left: 80px;
	background-position: 60px center;
}
#idPanel li span {
	background-image: url(icons/generico.png);
}
#idPanel a.opened em {
	background-image: url(icons/cartella-aperta.png) !important;
}
#idPanel a.closed em {
	background-image: url(icons/cartella.png) !important;
}
#idPanel ul.opened {
	display: block;
}
#idPanel ul.closed {
	display: none;
}
#idPanel li em {
	background-image: url(icons/cartella-aperta.png);
}
#idPanel ul.news li span {
	background-image: url(icons/articolo.png) !important;
}
#idPanel ul.action li span {
	background-image: url(icons/comando.png) !important;
}
#idPanel ul.poll li span {
	background-image: url(icons/scelta.png) !important;
}

/* Elenco filmati */
#idPanel ul.movie img {
	float: left;
	margin: 0 1ex 1ex 0;
}
#idPanel ul.movie li {
	clear: both;
	margin: 1ex 0;
}
#idPanel ul.movie li span {
	background-image: none !important;
}


/* Sponsor pannello */
#idPanel h2.sponsor {
	display: none;
	margin: 0;
	padding: 0;
}
#idPanel ul.sponsor {
	margin: -16px 0 16px 0;
}
#idPanel ul.sponsor * {
	background: transparent none;
	padding: 0;
}
#idPanel ul.sponsor li {
	text-align: center;
}
#idPanel ul.sponsor li img {
	vertical-align: middle;
	margin: 2px 1ex;
}
#idPanel ul.sponsor li span {
	vertical-align: middle;
	display: inline;
}


/* Contenuto pagina */
#idPage {
	float: right;
	width: 66%;
}
#idPage h1 {
	padding-bottom: 4px;
	border-bottom: 2px groove;
	margin-bottom: 6px;
}
#idPage h2 {
	margin: 1ex 0;
}
#idPage cite {
	display: block;
	float: left;
	font-style: normal;
	font-weight: bold;
}
#idPage p {
	margin-bottom: 12px;
	text-align: justify;
	line-height: 150%;
}
#idPage dl {
	padding: 1px;
}
#idPage dd {
	margin-left: 11em;
	padding-bottom: 4px;
}
#idPage dt {
	float: left;
	clear: left;
	font-weight: bold;
}
#idPage address {
	display: block;
	clear: both;
	text-align: right;
	padding: 2px 0;
	margin: 4px 0 16px 0;
	border-top: 2px groove;
}


/* Citazioni */
#idPage blockquote {
	width: 80%;
	margin: 2ex auto;
	text-align: justify;
	text-indent: 24px;
	background: transparent url(images/quote.png) left top no-repeat;
}
#idPage blockquote div {
	color: black;
	background: transparent url(images/unquote.png) right bottom no-repeat;
	font-family: monospace;
	font-weight: bold;
	display: inline;
	padding-right: 24px;
}


/* Liste ordinate e non */
#idPage ol,
#idPage ul {
	margin: 6px 0;
}
#idPage li {
	text-align: justify;
	margin: 2px 0 2px 3ex;
}


/* Commenti alle notizie */
#idPage h2 img {
	vertical-align: top;
	margin-right: 16px;
}
#idPage dl.comments dt {
	float: left;
	margin-right: 1em;
	font-weight: bold;
}
#idPage dl.comments dd.command {
	margin: 0;
	border-bottom: 1px solid gray;
}
#idPage dl.comments dd.wiki {
	margin: 0 0 3ex 5em;
}


/* Immagini allegate */
#idPage div.image {
	display: block;
	float: right;
	clear: both;
	background: transparent url(images/shadow.png) right bottom no-repeat;
	margin: 6px 6px 8px 32px;
}
#idPage div.image img {
	display: block;
	background-color: white;
	position: relative;
	bottom: 6px;
	right: 6px;
	border: 1px solid black;
	padding: 3px;
}


/* Player filmati */
#idPage div.movie {
	clear: both;
	position: relative;
	width: 435px;
	background: transparent url(images/shadow.png) right bottom no-repeat;
	margin: 4ex auto;
}
#idPage div.movie div {
	background-color: white;
	position: relative;
	bottom: 6px;
	right: 6px;
	border: 1px solid black;
	padding: 4px 4px 0 4px;
	margin: 0 auto;
}



/* Barre di progressione */
#idPage ol.progress {
	list-style: none;
	color: black;
}
#idPage ol.progress li {
	position: relative;
	width: 100%;
	height: 3ex;
	margin: 12px 0;
	border: 1px outset #e0e0e0;
	background: #e0e0e0 url(images/middle-gray.png) left center repeat-x;
}
#idPage ol.progress li hr {
	visibility: visible;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 0;
	height: 3ex;
	margin: 0;
	padding: 0;
	border: 1px outset #e0e0e0;
	background-color: #80a0d0;
}
#idPage ol.progress q,
#idPage ol.progress var {
	position: relative;
	z-index: 1000;
	padding: 0 4px;
}
#idPage ol.progress var {
	display: block;
	float: right;
}


/* Finestre di notifica */
#idPage .notifyerror,
#idPage .notifyinfo {
	width: auto;
	margin: 15px 0;
	padding: 8px 0;
	border: 1px solid black;
	background-position: 4px 8px;
	background-repeat: no-repeat;
}
#idPage .notifyerror {
	color: red;
	background-color: yellow;
	border-color: red;
	background-image: url(icons/errore.png);
}
#idPage .notifyinfo {
	color: white;
	background-color: gray;
	border-color: white;
	background-image: url(icons/info.png);
}
#idPage .notifyerror *,
#idPage .notifyinfo * {
	color: inherit !important;
	margin: 0 16px 0 40px !important;
}


/* Formattazioni all'interno del wiki */
#idPage div.wiki table {
	margin: 2ex auto;
	border-collapse: collapse;
	border: 2px solid silver;
}
#idPage div.wiki td {
	border: 1px solid silver;
	padding: 4px;
}

/* Moduli di input dati */
#idPage form {
	margin: 12px 0;
}
#idPage fieldset {
	border: 2px groove silver;
	margin: 12px 0;
	padding: 0 0 12px 0;
}
#idPage form ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
#idPage form li {
	height: 1%;
	clear: both;
	text-indent: 0;
	padding: 12px 0;
}
#idPage form label {
	color: black;
	float: left;
	clear: left;
	width: 20%;
	margin: 0.4ex 0 0 0;
	font-size: 80%;
	text-align: right;
}
#idPage form div ul {
	list-style: disc;
	margin: 4px 0;
	padding-left: 20px;
}
#idPage form div li {
	margin: 0;
	padding: 0;
}
#idPage form div label {
	float: none;
	clear: none;
	width: auto;
	margin: 0;
	font-size: 100%;
	text-align: left;
}
#idPage form li.error {
	background-color: #ffa0a0;
}
#idPage form .error label {
	color: #602020;
}
#idPage form div {
	clear: none;
	margin: 0 0 0 21%;
	width: auto;
}
#idPage form div.error {
	color: red;
	font-size: 80%;
}
#idPage form div.comment {
	color: #505050;
	font-size: 80%;
	margin-top: 4px;
	margin-right: 7%;
	clear: both;
	line-height: normal;
}
#idPage form div.note {
	color: black;
	font-size: 80%;
}
#idPage .expand {
	width: 90%;
}
#idPage input[type="text"],
#idPage input[type="password"],
#idPage textarea,
#idPage select {
	font-family: monospace;
	border: 1px inset white;
}
#idPage input[type="checkbox"],
#idPage input[type="radio"] {
	vertical-align: baseline;
}
#idPage .element label {
	vertical-align: baseline;
	margin: 0 1ex;
}
#idPage .required input,
#idPage .required textarea,
#idPage .required select {
	background-color: #f0fff0;
}
#idPage .error input,
#idPage .error textarea,
#idPage .error select {
	background-color: #ffd0d0;
}


/* Piede pagina */
#idFooter {
	clear: both;
	background: transparent url(images/shadows.png) top repeat-x;
	padding-top: 12px;
	text-align: right;
}
#idFooter a {
	margin-right: 12px;
}
#idFooter a img {
	vertical-align: middle;
	padding: 0 8px 4px 8px;
}
#idFooter a:hover {
	text-decoration: none !important;
}
#idFooter a:hover img {
	padding-bottom: 3px;
	border-bottom: 1px solid yellow;
}

/* eNTiDi logo */
#idEntidi span {
	display: none;
}
#idEntidi {
	display: block;
	float: left;
	margin: 12px 24px;
	width: 214px;
	height: 32px;
	background: transparent url(images/entidi.png) 0 0 no-repeat;
}
#idEntidi:hover {
	background-position: 0 -32px;
}
