/*
Theme Name: SanPietro
Theme URI: 
Description: Tema predefinito per www.sanpietrocampobasso.it
Version: 1.0
Author: Michele D'Amico
Author URI: 


	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

*/

/* Basic Tag Elements */

a {
	text-decoration: none;
	outline: none;
	color: #205B87;
	}
	
	a:hover {
		text-decoration: underline;
		}
	
img { 
	border: 0;
	}

body {
	font-family: Arial;

	color: #444;
 	margin: auto; 
	font-size: 14px; 
	padding: 0;
	background:#edf9ff url(images/body_bg_0.png) top left repeat-x;
	}

p {
	display:block;
	clear:both;
}

h1 a, h2 a, h3 a, h4 a, h5 a {
	color: #222;
	text-transform: capitalize;
	font-family:Arial;
	}

textarea {
	width: 97%;
	}

/* Header Elements */

#header{
	background: #fff url(uploads/header.jpg) bottom left no-repeat;
	float: left;
	width: 100%;
	height:250px;
	border-left:1px solid #cccccc;
	border-right:1px solid #cccccc;
	border-top:1px solid #cccccc;
	margin-top:10px;
	}

#search-header {
	width: 180px;
	}	

#login {
	height: 16px;
	font-size: 12px;
	color: #fff;
	text-align: right;
	padding: 7px 10px 10px;
	background: url(images/login.png) repeat-x;
	}
	
	#login a {
		color: #fff;
		}
	
	#login ul {
		padding: 0;
		margin: 0;
		}
	
	#login ul li {
		display: inline;
		}
	
.dot:before {
	content: url(images/whitedot.png) " ";
	}

#title {
	font-family: Trebuchet, Arial;
	font-size: 23px;
	font-weight:bold;
	letter-spacing: -0.05em;
	line-height: 30px;
	}
	
	#title a {
		text-decoration:underline;
		margin: 2px 200px 0;		
		padding: 0;
		color: #3073b7;
		}		
	
	#title a:hover {

		}
		
#description {
	font-size: 11px;
	margin: 0px 200px 20px;
	padding: 0;
	line-height:1.3;
	}		
	
#bacheca {
	height:250px;
	overflow:hidden;
	padding:20px;
	/*border:1px solid black;
	background:#fefad8;*/
	margin:10px;
}

#bacheca img {
	border:0px;
}
	
#header .fbconnect_share {
	display:none;
}
	
#navigation {
	clear: left;
	background: url(images/login.png) repeat-x;
	float: left;
	width: 100%;
	height: 25px;
	border-left:1px solid #cccccc;
	border-right:1px solid #cccccc;
	
	}

ul.menu * {
	margin:0; 
	padding:0
	}

ul.menu ul {position:absolute; top:25px; left:0; background:#d1d1d1; display:none; opacity:0; list-style:none;}
ul.menu ul li {position:relative; border:1px solid #aaa; width:159px; margin:0}
ul.menu ul li a {display:block; padding:5px 7px 5px 12px; color: #555; background-color:#d1d1d1; border-right: 0; font-size: 12px; }
ul.menu ul li a:hover {background-color:#c5c5c5}
ul.menu ul ul {left:159px; top:-1px}

	ul.menu {
		list-style:none;
		padding: 0;
		margin: 0;
		}
	
	ul.menu li {
		position:relative;
		font-family: Arial;
		list-style-type: none;
		float: left;
		text-transform: uppercase;
		font-size: 14px;
		padding: 0;
		margin: 0;
		position: relative;
		}
	
	ul.menu a {
		display: block;
		font-weight: bold;
		color: #fff;
		border-right: 1px solid #fff;
		padding: 3px 12px 4px 12px;
		}
		
		ul.menu a:hover {
			color: #444;
			background: #c5c5c5;
			text-decoration: none;
			}
		
	ul.menu .menulink:hover, ul.menu .menuhover { 
		color: #444; 
		background-color:#c5c5c5;
		}		
								
#sub-navigation {
	clear: both;
	border-bottom: 1px solid #222;
	float: left;
	width: 100%;
	padding-top: 2px;
	}
	
	#sub-navigation img {
		float: left;
		position: relative;
		top: 3px;
		}
	
	#sub-navigation ul {
		padding: 0 0 0 5px;
		margin: 0;
		}
	
	#sub-navigation li {
		list-style-type: none;
		float: left;
		text-transform: uppercase;
		font-size: 12px;
		padding: 0;
		margin: 4px 0 3px;
		}
	
	#sub-navigation ul.pages li:after {
		content: url(images/blackdot.png);
	}
	
	#sub-navigation a {
		color: #222;
		padding: 4px 5px 3px 5px;
		}
		
		#sub-navigation a:hover {
			text-decoration: underline;
			}

/* Main Elements */
	
#mainwrapper {
	float: left;
	width: 100%;
	padding: 10px 0 10px 0;
	margin: 0;
	/*border-top: 2px solid #aaa;*/
	border-bottom: 1px solid #aaa;
	border-left:1px solid #cccccc;
	border-right:1px solid #cccccc;
	background: #fff;
	}

#sidebar1 {
	float: left;
	margin: 0 10px;
	padding: 5px 0 0;
	}

#sidebar2 {
	float: left;
	margin: 0 10px;
	padding: 5px 0 0;
	}
	
#sidebar3 {
	float: right;
	margin: 0 10px;
	padding: 5px 0 0;
	}
	
.side {
	line-height: 20px;
	font-size: 18px;
	margin-bottom: 0;
	}	
	
.side-widget {
	float: left;
	margin: 0 0 10px;
	padding: 0 10px 15px;
	background: url(images/bg-hatch.gif);
	border: 1px solid #ddd;
	overflow:hidden;
	font-size:12px;
	}
	
	
	.side-widget ul {
		padding: 10px;
		margin: 0;
		list-style-type: none;
		}

	.side-widget ul li {
		padding: 0;
		margin: 0;
		font-size: 12px;
		list-style:square;
		margin: 2px 0;
		}

	.side-widget li a {
		font-size:12px;
	}
	
	.side-widget h2 {
		font-size: 13px;
		font-family:Arial;
		border-bottom: 1px solid #ddd;
		padding: 10px 0 5px;
		margin-top: 0;
		text-align: center;
		}
		
	.side-widget h1 {
		font-size:12px;
		text-align:center;
	}
		
	.side-widget .storycontent {
		border-bottom: 1px solid #ddd;
		}
		
	.side-widget .noline {
		border-bottom: 0;
		}		

.posts {
	border-bottom: 1px solid #aaa;
	margin-bottom: 20px;
	width:100%;
	}
	
	.posts h2 {
		margin: 10px 0 0;
		}
		
.readmore {
	color: #cc0000;
	}
		
#footer {
	clear: both;
	float: left;
	width: 100%;
	padding: 10px 0;
	text-align: center;
	font-size: 11px;
	border-top: 1px solid #222;
	background: #fff;
	}

/* Left Content Elements */

#leftcontent2 {
	width:520px;
}

#leftcontent,#leftcontent2 {
	float: left;
	margin: 5px 10px;
	padding: 0;
	}

	#leftcontent h5, #leftcontent2 h5 {
		font-family:Arial;
		margin: 0;
		padding: 0;
		color: #cc0000;
		margin-bottom: 5px;
		font-size: 12px;
		}

	#leftcontent h1, #leftcontent2 h1 {
		font-family:Arial;		
		margin: 0;
		padding: 0;
		font-size: 18px;
		line-height: 26px;
		border-bottom:1px solid #dddddd;
		/*margin-bottom:30px;*/
		color: #205b87 !important;
		}

.more-link {
	font-size: 11px;
	text-align: right;
	color: #cc0000;
	}

.tags a {
	color: #cc0000;
	}
	
.meta {
	font-family: Arial;
	font-size: 11px;
	color: #888;
	margin-bottom:10px;
	}	

#leftcontent .post {
	float: left;
	border:1px solid #dddddd;
	margin-bottom: 10px;
	padding: 10px;
	width: 95%;
	background: url(images/bg-hatch_4.gif);		
	font-size:12px;
	text-align:justify;
}

.post img {
	margin: 0 10px 10px 0 !important;
}

#leftcontent h1 a {
	font-size:13px;
}

#twocol {
	float: left;
	margin-bottom: 3px;
	padding: 10px 0 0;
	background: url(images/line.png) repeat-y 50% 0;
	}
	
	#twocol img {
		width: 80px;
		float: left;
		margin: 0;
		margin: 0 10px 5px 0;
		}
		
	#twocol h1 {
		font-size: 18px;
		line-height: 20px;
		}
	
.mainhr {
	float: left;
	background: #aaa;
	clear: both;
	width: 100%;
	height: 1px;
	border: 0;
}	
	
.twopost {
	width: 46%;
	float: left;
	}	

	.twopost2 {
		margin-left: 7.5%;

		}
		
#threecol {
	float: left;
	background: url(images/line.png) repeat-y 31.5% 0;
	margin-top: 3px;
	}

#threecol2 {
	float: left;
	padding: 0;
	background: url(images/line.png) repeat-y 67% 0;
}

	#threecol img {
		width: 40px;
		float: left;
		margin: 0 10px 5px 0;
		}

.threepost {
	width: 29%;
	float: left;
	border-top: 1px solid #aaa;
	padding-top: 10px;
	}
	
	.threepost h2, .twopost h2 {
		margin: 0;
		font-size: 16px;
		line-height: 18px;
		}

	.threepost2, .threepost5 {
		padding: 10px 0 0;
		margin: 0 6%;
		}
		
	.threepost1, .threepost2, .threepost3 {
		border-top: 0;
		}
		
	.threepost1, .threepost4 {
		clear: left;
		}
		
	
		
/* Other Elements */

#leftcontent h1.catheader, #leftcontent2 h1.catheader {
	margin-top: 3px;
	color: #cc0000;
	font-weight: normal;
	margin-bottom:10px;
	}
	
	#leftcontent .post h1, 	#leftcontent2 .post h1 {
		color: #000;
		margin-top: 3px;
		}

.entry {
	margin-top:30px;
}

.red, .entry a {
	color: #cc0000;
	}
	
#tagcloud {
	width: 400px;
	text-align: center;
	margin: auto;
	padding: 20px;
	}	
	
#tagcloud a {
	color: #cc0000;
	}

/* Comment Elements */

h3#comments {
	text-transform: none;
	padding-bottom: 5px;
	}

#postcomments {
	padding-top: 20px;
	}
			
			
	 h4#comments, #respond h3 { color:#333; font:normal 240% georgia,times,serif; margin:0 0 .1em; padding:0 0 .1em; }

	 #respond p { font-size:11px; margin:0 0 1em; }	

	 ol.commentlist { list-style:none; margin:0; padding:0; }

	 ol.commentlist li { border:1px solid #d5d5d5; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; margin:0 0 10px; padding:5px 7px 5px 64px; position:relative; }

	 ol.commentlist li.pingback comment-author { padding:0 170px 0 0; }

	 ol.commentlist li div.vcard { font-weight:bold; font-size: 14px; line-height: 16px; font-family: helvetica,arial,sans-serif; }

	 ol.commentlist li div.vcard cite.fn { font-style:normal; font-size: 11px; }

	 ol.commentlist li div.vcard cite.fn a.url, .cancel-comment-reply a { color:#cc0000; text-decoration:none; }

	 ol.commentlist li div.vcard cite.fn a.url:hover, .cancel-comment-reply a:hover { color:#000; }

	 ol.commentlist li div.vcard img.avatar { background: #fff; border:1px solid #aaa; padding: 5px; left:7px; position:absolute; top:7px; }

	 ol.commentlist li div.comment-meta { font-weight:bold; font-size: 10px; line-height: 16px; font-family: helvetica,arial,sans-serif; position:absolute; right:10px; text-align:right; top:5px; }

	 ol.commentlist li div.comment-meta a { color:#205B87; text-decoration:none; }

	 ol.commentlist li p { font-weight:normal; font-size: 12px; line-height: 16px; font-family: helvetica,arial,sans-serif; margin:5px 0 12px; }

	 ol.commentlist li ul { font-weight:normal; font-size: 12px; line-height: 16px; font-family: helvetica,arial,sans-serif; list-style:square; margin:0 0 12px; padding:0; }

	 ol.commentlist li div.reply { background:#999; border:1px solid #666; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; color:#fff; font:bold 9px/1 helvetica,arial,sans-serif; padding:6px 5px 4px;  text-align:center; width:36px; }

	 ol.commentlist li div.reply:hover { background:#cc0000; border:1px solid #cc0000; }

	 ol.commentlist li div.reply a { color:#fff; text-decoration:none; text-transform:uppercase; }

	 ol.commentlist li ul.children { list-style:none; margin:12px 0 0; text-indent:0; }

	 ol.commentlist li ul.children li.depth-2 { margin:0 0 3px; }

	 ol.commentlist li ul.children li.depth-3 { margin:0 0 3px; }

	 ol.commentlist li ul.children li.depth-4 { margin:0 0 3px; }

	 ol.commentlist li ul.children li.depth-5 { margin:0 0 3px; }

	 ol.commentlist ul.children li.odd { background:#fff; }

	 ol.commentlist ul.children li.even { background:#f6f6f6; }

	 ol.commentlist li.pingback div.vcard { padding:0 170px 0 0; }
			
.commentnumber {
		position: absolute;
		left: 7px;
		bottom: 3px;
		font-size: 14px;
		color: #ccc;
		}

/* WordPress Required Elements */

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

.alignleft, div.alignleft {
   float: left;
   margin-right: 10px;
}

.alignright, div.alignright {
   float: right;
	margin-left: 10px;
}

.wp-caption {
   border: 1px solid #ddd;
   text-align: center;
   background-color: #f3f3f3;
   padding-top: 4px;
   margin: 0;
   /* optional rounded corners for browsers that support it */
   -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;
}

#today {
	color: #cc0000;
	}

#wp-calendar {
	margin: auto;
	}
	
.posts {
	float: left;
	}
	
	.posts img {
		margin: 10px 10px 10px 0;
		float: left;
		width: 100px;
		}
		
		
	#santodelgiorno {
   display:block;
   position:relative;
   top:-60px;
   height:230px;
}

#santodelgiorno table {
    width:100%;
    font-family:arial;
    background:none;
    text-align:center;
}

#santodelgiorno p {
    display:none;
}


#santodelgiorno b {
    display:none;
}

#santodelgiorno td {
    display:inline;
    text-align:center;
    background:none;
}

#santodelgiorno td font {
    margin-left:auto;
    margin-right:auto;
    text-align:center;
}

#santodelgiorno img {
    width:150px;
}	


#link-sanpietro img, #link-camminareinsieme img, #link-satellite img, #link-rmc img {
	display:block;
	margin:auto;
	margin-top:30px;
	margin-bottom:5px;
}

#link-sanpietro span, #link-camminareinsieme span, #link-satellite span, #link-rmc span {
	display:block;
	margin:5px;
	text-align:center;
}

div#wysiwyg-text-1 {
	background: url(images/bg-hatch_2.gif);
}

div#text-386894881 {
	background: url(images/bg-hatch_3.gif);	
}

img {
   border: 1px solid #3073b7;
}

a img {
   border: 3px solid #3073b7;
}

a img:hover {
   border: 3px solid #7dafdb;   
}

#event-calendar img {
	border:0px;
}

.fbconnect_miniprofile img, .fbconnect_LastUsers img {
	border:0px;
}

.fbconnect_miniprofile img:hover, .fbconnect_LastUsers img:hover {
	border:0px;
}

.fbconnect_miniprofile p {
	font-size:11px;
	float:right;
	margin-top:-58px;
}

.fbconnect_LastUsers {
	width:95%;
}

.fbconnect_userpics {
	width:120px !important;
	margin:auto;
}

.fbconnect_userpicmain {

}

.fbconnect_title {
	font-family:arial!important;
	text-transform:none!important;
	font-size:12px!important;
	font-weight:bold!important;
	letter-spacing:normal!important;
	margin-left:10px!important;
}

div .fbconnect_profiletexts img {
	border:0px;
}

.fbconnect_userpics img, .fbconnect_userpics2 img {
border:0px;
}
.fbconnect_userpics img:hover, .fbconnect_userpics2 img:hover {
border:0px;
}

#fb_login_image {
	border:0px;
	background:url(images/facebook_connect);
	margin-left:15px;
}

.fbconnect_share {
	border:1px solid #dddddd!important;
	margin-top:25px!important;
}

#sidebar2 #tubepress img {
	width:150px;
	height:110px;
}


table.style
{
	margin-bottom: 1em;
	border-collapse: collapse;
	text-align: left;
        font-size:0.8em;
	width:100%;
}

table.style th
{
	font-weight: bold;
	padding: 0.5em;
}

table.style td
{
	padding: 0.5em;
	/*border-right: solid 1px #fff;*/
}

table.style tr.rowH
{
	color: #fff;
	background: #006192 url('images/a8.gif') top left repeat-x;
	border-right: solid 1px #fff;
}

table.style tr.rowA
{
	background: #F8F8F8 url('images/a6.gif') top left repeat-x;
	border-top: solid 1px #fff;
	color: inherit;
}

table.style tr.rowB
{
	background: #FDFDFD url('images/a7.gif') top left repeat-x;
	border-top: solid 1px #fff;
	color: inherit;
}

ul.blogroll li {
	display:block;
	list-style:none;
	float:left;	
}

ul.blogroll img {
	float:left;
	margin:5px;
	width:50px;
	height:50px;
}