/*  
Theme Name: OFTAL
Theme URI: http://oftal.org
Description: Famiglia di temi sviluppati per associazione OFTAL e relative sezioni.
Version: 1.0
Author: Cil's Colors
Author URI: http://cilscolors.com/		  
*/

/* BIG GUYS */

body {
	background-color: #0080ff;
	background: transparent url(images/bg.jpg) repeat;
	font: 80%/150% Arial, Helvetica, sans-serif;
	padding: 0px;
	margin: 0px;
	color: #333333;
}

a {
	color: #44a1d0;
	text-decoration: none;
}

a:visited {
	color: #5EAFD7;
}

a:hover {
	text-decoration: underline;
}

p {
	margin-left: 0px;
	margin-bottom: 10px;
	margin-right: 0px;
	margin-top: 0px;
	text-align: justify;
}

/* Images */

img {
	border: none;
}

p img {
padding: 0;
max-width: 100%;
}

/*    Using 'class="alignright"' on an image will (who would've
thought?!) align the image to the right. And using 'class="centered',
will of course center the image. This is much better than using
align="center", being much more futureproof (and valid) */

img.centered {
display: block;
margin-left: auto;
margin-right: auto;
}

img.alignright {
padding: 4px;
margin: 0 0 2px 7px;
display: inline;
}

img.alignleft {
padding: 4px;
margin: 0 7px 2px 0;
display: inline;
}

.alignright {
float: right;
}

.alignleft {
float: left
}

	/* Captions */
	
.aligncenter,
div.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}

.wp-caption {
border: 1px solid #ddd;
text-align: center;
background-color: #f3f3f3;
padding-top: 4px;
margin: 10px;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}

.wp-caption img {
margin: 0;
padding: 0;
border: 0 none;
}

.wp-caption p.wp-caption-text {
font-size: 11px;
line-height: 17px;
padding: 0 4px 5px;
margin: 0;
}

	/* End captions */
/* End Images */

ul {
	margin: 5px 0px 15px;
	padding-left: 10px;
}

ul li {
	list-style-position: outside;
	list-style-type: disc;
	margin: 0px;
}

ol {
	margin: 5px 0px 15px;
	padding-left: 20px;
}

ol li {
	list-style-type: decimal;
	margin: 0px;
}

form {
	margin: 0px;
	padding: 0px;
}

small {
	font-size: 90%;
}

blockquote{
	background: url(images/blockquote.gif) no-repeat left top;
	color: #777;
	font-style: italic;
	padding: 10px 5px 5px 36px;
}

#page {
	background-color: transparent;
}

#wrapper {
	width: 900px;
	margin: 0px auto;
	position: relative;
}

/* end Big Guys */

/* HEADER */

#header {
	height: 120px;
	width: 545px;
	background: white url(images/logo.gif) no-repeat left center;
}
	/* site title */

#header h1 {
	letter-spacing: 5px;
	position: absolute;
	top: 30px;
	left: 110px;
	color: #005294;
	margin: 0px;
	padding: 0px;
	font: normal 40px/100% Arial, "Trebuchet MS", sans-serif;
}
#header h1 a, #header h1 a:visited {
	color: #005294;
	text-decoration: none;
}
#header h1 a:hover {
	color: #0070b2;
	text-decoration: none;
}
.description {
	text-transform: capitalize;
	position: absolute;
	top: 77px;
	left: 115px;
	color: #005294;
	font: 12px Arial, Helvetica, sans-serif;
}

	/* end title */
	
	/* NAV */

#nav {
	padding: 0;
	margin: 0;
  
}

#nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

#nav li {
	padding-top: 2px;
	padding-right: 5px;
	padding-left: 5px;
	background-color: white;
	margin-bottom: 2px;
	float: left;
	clear: left;
	position: relative;
	height: 22px;
}

#nav li:hover {
	background-color: #ff8000;
	background: transparent url(images/nav-item-hover.gif) repeat-x;
	float: left;
	clear: left;
	position: relative;
	width: 100px;
}

#nav li:hover a {
	color: white;
}

#nav li ul {
	display: none;
	position: relative;
	top: 0;
	left: 0;
	width: 180px;
}

#nav li:hover ul {
	display: block;
}

#nav li:hover li a {
	color: #44a1d0;
}

#nav li li:hover a {
	color: white;
}

#nav li li {
	height: auto;
}

#nav li li:hover {
	background-color: #e37723;
	background-image: none;
	width: 180px;
}

#nav li ul li {
	margin-bottom: 0px;
	position: relative; 
	left: 100px;
	top: -22px;
	height: 22px;
}

#nav li li li {
	display: none;
}

	/* end nav */


#subnav {
	background: #ffcc66;

}
#subnav ul {
	margin: 0px;
	padding: 3px 5px 5px 5px;
	list-style: none;
	font: 11px/100% Arial, Helvetica, sans-serif;
}
#subnav li {
	padding-right: 7px;
	padding-left: 7px;
	padding-bottom: 3px;
	padding-top: 3px;
	border-right-color: #ff7f00;
	border-right: 1px solid;
	margin: 0 0 5px;
	display:inline;
	line-height: 18px;
	background: none;
}
#subnav li a, #subnav li a:visited, #subnav .page_item {
	text-decoration: none;
	color: white;
}
#subnav .current_page_item a, #subnav .current_page_item a:visited {
	color: white;
}
#subnav li a:hover {
	background-color: #ff7f00;
	text-decoration: none;
	color: white;
}


/* end header */

/* CONTENT */

#left-col {
	width: 545px;
	float: left;
	margin-top: 10px;
}
#content {
	padding: 0px;
	clear: both;
	overflow: hidden;
}
.post {
	padding-left: 20px;
	padding-bottom: 15px;
	padding-right: 20px;
	padding-top: 20px;
	width: 505px;
	background-color: white;
	margin-bottom: 10px;
	clear: both;
	overflow: hidden;
}
.post .title {
	float: left;
	width: 100%;
}
.postdata {
	font-size: 90%;
	color: #999999;
}
.postdata a, .postdata a:visited {
	color: #999999;
	text-decoration: none;
}
.postdata a:hover {
	color: #44a1d0;
	text-decoration: none;
}
.postdata .category{
	background: url(images/mini-category.gif) no-repeat;
	padding-left: 18px;
	float: left;
}
.postdata .comments{
	display: none;
	background: url(images/mini-comment.gif) no-repeat;
	padding-left: 18px;
	float: right;
}
.mini-add-comment {
	display: none;
	background: url(images/mini-down-arrow.gif) no-repeat left center;
	padding-left: 12px;
	float: right;
}
.entry {
	padding: 0px;
	clear: both;
}
.entry p {
	font-size: 110%;
}
.submeta{
	clear: both;
}
.entry p.submeta{
	margin: 0px;
	font-size: 11px;
}


/* post title */
h2 {
	margin-left: 0;
	margin-bottom: 10px;
	margin-right: 0;
	margin-top: 3px;
	color: #333333;
	padding-bottom: 4px;
	font: normal 150%/100% "Lucida Grande", Arial, sans-serif;
	border-bottom: dotted 1px #CCCCCC;
}
h2 a, h2 a:visited {
	color: #333333;
	text-decoration: none;
}
h2 a:hover {
	color: #44a1d0;
	text-decoration: none;
}
h3 {
	color: #666666;
	margin: 5px 0px 5px;
	font: bold 110%/110% "Lucida Grande", Arial, sans-serif;
}

/* next & previous page navigation */
.page-nav {
	clear: both;
	background: #ffcc66 left center;
	height: 21px;
}
.page-nav a, .page-nav a:visited {
	color: #ffffff;
	text-decoration: none;
}
.page-nav a:hover {
	color: #000000;
	text-decoration: none;
}
.previous-entries a {
	float: left;
	padding-left: 10px;
	margin-left: 10px;
	background: url(images/navigation-left.gif) no-repeat left center;
}
.next-entries a {
	float: right;
	padding-right: 10px;
	margin-right: 10px;
	background: url(images/navigation-right.gif) no-repeat right center;
}

/* next & previous post navigation */
.post-nav {
	padding-right: 5px;
	padding-left: 5px;
	height: 20px;
	background-color: #ffcc66;
	clear: both;
	font-size: 95%;
}
.post-nav a, .post-nav a:visited {
	color: white;
	text-decoration: none;
}
.post-nav a:hover {
	font-weight: bold;
	text-decoration: none;
}
.post-nav .previous a {
	float: left;
	padding-left: 10px;
	background: url(images/navigation-left.gif) no-repeat left center;
}
.post-nav .next a {
	float: right;
	padding-right: 10px;
	text-align: right;
	background: url(images/navigation-right.gif) no-repeat right center;
}

/* comments */
h3#comments {
	background: url(images/comments.gif) no-repeat;
	padding-left: 22px;
	font: normal 140%/120% Arial, Helvetica, sans-serif;
	clear: both;
}
h3#respond {
	background: url(images/respond.gif) no-repeat;
	padding-left: 22px;
	font: normal 140%/120% Arial, Helvetica, sans-serif;
	margin: 20px 0px 0px;
	clear: both;
}
/* commentform */
#commentform {
	margin-top: 10px;
}
#commentform label {
	font-weight: bold;
	color:#666;
	font-size: 100%;
	padding-left: 5px;
}
#commentform small {
	color: #999999;
	font-size: 90%;
}
#commentform input {
	font: 110% Arial, Helvetica, sans-serif;
	width: 220px;
	padding: 5px 3px 3px 7px;
	background: url(images/form-field-bg.gif) no-repeat;
	border-top: 1px solid #e6e6e6;
	border-right: 1px solid #E2E2E2;
	border-bottom: 1px solid #E2E2E2;
	border-left: 1px solid #e6e6e6;
}
#commentform textarea {
	font: 110% Arial, Helvetica, sans-serif;
	width: 480px;
	height: 140px;
	background:url(images/form-field-bg.gif) no-repeat;
	border: solid 1px #e6e6e6;
	padding: 5px 3px 3px 7px;
}
#commentform #submit {
	font: 12px/100% Arial, Helvetica, sans-serif;
	color: #000000;
	background: url(images/submit-btn.gif) no-repeat top left;
	border: none;
	width: 135px;
	height: 25px;
	padding-bottom: 6px;
	margin-left: 355px;
}
#commentform #submit:hover {
	background: url(images/submit-btn.gif) no-repeat bottom left;
}
#commentform textarea:focus, #commentform input[type="text"]:focus {
	border: solid 1px #3b9acc;
}

/* comment list */
.commentlist {
	margin: 10px 0px;
	line-height: 130%;
	list-style-type:none;
	padding:0;
}
.commentlist li{
	padding: 10px;
}
.commentlist .alt {
	background: #F4F4F4;
}
.commentlist cite {
	font-weight: bold;
	font-style: normal;
	font-size: 110%;
	color: #669900;
}
.commentlist cite a, .commentlist cite a:visited {
	color: #669900;
}
.commentlist small {
	margin-bottom: 5px;
	display: block;
	font-size: 87%;
}
.commentlist small a, .commentlist small a:visited{
	color: #999999;
}
.comment_finisher{
	clear:both; 
	height: 1px;
}
.comment-number{
	float:right; 
	font-size: 18px; 
	padding: 5px; 
	color: #777;
}
.commentcontent{
	float: right;
	width: 400px;
	padding:0;
	margin: 0;
}

/* end comments */

/* SIDEBAR */

#text-188927031 .dbx-handle, #text-188927031 .dbx-content {
	color: white;
	background-color: #ff7f00;
}

.spw_widget .dbx-handle {
	display: none;
}

#sidebar-oftal .spw_widget .dbx-content {
	background: white url(images/menu/m-oftal.jpg) no-repeat left top;
}

#sidebar-pellegrinaggi .spw_widget .dbx-content {
	background: white url(images/menu/m-pellegrinaggi.jpg) no-repeat left top;
}

#sidebar-right .spw_widget .dbx-content {
	background: white url(images/menu/m-oftal.jpg) no-repeat left top;
}

#sidebar-contatti .spw_widget .dbx-content {
	background: white url(images/menu/m-contatti.jpg) no-repeat left top;
}

/* STORIA */
#sidebar-storia .spw_widget .dbx-content {
	background: white url(images/menu/m-storia.gif) no-repeat left top;
}

#sidebar-storia-fondatori .spw_widget .dbx-content {
	background: white url(images/menu/storia/fondatori.jpg) no-repeat left top;
}

/* end STORIA */

/* SEZIONI */
#sidebar-sezioni .spw_widget .dbx-content {
	background: white url(images/menu/m-sezioni.jpg) no-repeat left top;
}

/* end SEZIONI */

/* Chi Siamo */
#sidebar-chi-consiglio .spw_widget .dbx-content {
	background: white url(images/menu/chisiamo/consigliogen.jpg) no-repeat left top;
}

#sidebar-chi-presidente .spw_widget .dbx-content {
	background: white url(images/menu/chisiamo/presidente.jpg) no-repeat left top;
}

#sidebar-chi-ospitaliero .spw_widget .dbx-content {
	background: white url(images/menu/chisiamo/ospitaliero.jpg) no-repeat left top;
}

#sidebar-chi-asspirituali .spw_widget .dbx-content {
	background: white url(images/menu/chisiamo/assistentispirituali.jpg) no-repeat left top;
}

#sidebar-chi-rastelli .spw_widget .dbx-content {
	background: white url(images/menu/chisiamo/ex-rastelli.jpg) no-repeat left top;
}

#sidebar-chi-ferraris .spw_widget .dbx-content {
	background: white url(images/menu/chisiamo/ex-ferraris.jpg) no-repeat left top;
}

#sidebar-chi-degrandi .spw_widget .dbx-content {
	background: white url(images/menu/chisiamo/ex-degrandi.jpg) no-repeat left top;
}

/* END chi siamo */

/* PELLEGRINAGGI */

#sidebar-lourdes .spw_widget .dbx-content {
	background: white url(images/menu/pellegrinaggi/lourdes.jpg) no-repeat left top;
}

#sidebar-oropa .spw_widget .dbx-content {
	background: white url(images/menu/pellegrinaggi/oropa.jpg) no-repeat left top;
}

#sidebar-banneux .spw_widget .dbx-content {
	background: white url(images/menu/pellegrinaggi/banneux.jpg) no-repeat left top;
}

#sidebar-fatima .spw_widget .dbx-content {
	background: white url(images/menu/pellegrinaggi/fatima.jpg) no-repeat left top;
}

#sidebar-loreto .spw_widget .dbx-content {
	background: white url(images/menu/pellegrinaggi/loreto.jpg) no-repeat left top;
}

#sidebar-roma .spw_widget .dbx-content {
	background: white url(images/menu/pellegrinaggi/roma.jpg) no-repeat left top;
}

#sidebar-rotondo .spw_widget .dbx-content {
	background: white url(images/menu/pellegrinaggi/rotondo.jpg) no-repeat left top;
}

#sidebar-santiago .spw_widget .dbx-content {
	background: white url(images/menu/pellegrinaggi/santiago.jpg) no-repeat left top;
}

#sidebar-terrasanta .spw_widget .dbx-content {
	background: white url(images/menu/pellegrinaggi/terrasanta.jpg) no-repeat left top;
}

/* end PELLEGRINAGGI */

/* PROTAGONISTI */
#sidebar-protagonisti .spw_widget .dbx-content {
	background: white url(images/menu/protagonisti/protagonisti.jpg) no-repeat left top;
}

#sidebar-prot-medici .spw_widget .dbx-content {
	background: white url(images/menu/protagonisti/medici.jpg) no-repeat left top;
}

#sidebar-prot-giovani .spw_widget .dbx-content {
	background: white url(images/menu/protagonisti/giovani.jpg) no-repeat left top;
}

#sidebar-prot-sacerdoti .spw_widget .dbx-content {
	background: white url(images/menu/protagonisti/preti.jpg) no-repeat left top;
}

#sidebar-prot-testimonianze .spw_widget .dbx-content {
	background: white url(images/menu/protagonisti/testimonianze.jpg) no-repeat left top;
}

/* end protagonisti */

/* @group DBX */

#samsarin-php-1 .dbx-content{
	height: 400px;
}
#nav li{
	list-style-type: none;
}
.dbx-group {
	position: relative;
	top: -120px;
	padding:0 0px 10px;
	float: right;
	margin-left: 15px;
	width: 340px;
	color: #666666;
	line-height: 160%;
}

.dbx-group a, .dbx-group a:visited {
	text-decoration:none;
}

.dbx-group a:hover {
	color: white;
}

.dbx-box {
	width: 340px;
	padding:0 0px 10px;
}

.dbx-handle {
	margin:0;
	padding: 16px 24px 7px 10px;
	background-color: white;
	font: bold 12px/100% Arial, Helvetica, sans-serif;
	color: #666666;
}	

.dbx-content {
	width: 320px;
	padding:5px 10px 9px 10px;
	overflow: hidden;
	background-color: white;
}

.dbx-content p {
	width: 320px;
	padding:5px 10px 9px 10px;
	overflow: hidden;
	background-color: white;
	margin: 0px 0px 15px;
}

/* @end */

/* ------------------------------------- widget styles  */
/* alignments */
.center {
	text-align: center;
}
img.center, img[align="center"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.left {
	float: left;
}
img.left, img[align="left"] {
	float:left;
	margin: 2px 10px 5px 0px;
}
.right {
	float: right;
}
img.right, img[align="right"] {
	float:right;
	margin: 2px 0px 5px 10px;
}
.alignleft{
	float:left;
	margin: 2px 10px 5px 0px;
}
.alignright{
	float:right;
	margin: 2px 0px 5px 10px;
}
.clear {
	clear:both;
}
hr.clear {
	clear:both;
	visibility: hidden;
	margin: 0px;
	padding: 0px;
}
.hidden {
	clear: both;
	visibility: hidden;
}


/* @end */

/* @group FOOTER */

#footer {
	padding: 12px 0px 0px 10px;
	font-size: 87%;
	color: #fff;
	line-height: 15px;
	text-align: center;
}
#footer a, #footer a:visited {
	text-decoration: none;
	color: #fff;
	font-weight: bold;
}
#footer a:hover {
	text-decoration: underline;
}

/* @end */

/* Gravatars CSS */
.gravatars{
	float: right;
	margin: 3px 0 15px 10px;
	border: 1px solid #333;
}
.nocomments{
	display: none;
}
