/*  
Theme Name: OFTAL Milano Theme
Theme URI: http://www.oftalmilano.it/
Description: CSS del sito http://www.oftalmilano.it/.
Version: 0.1
Author: OFTAL
Author URI: http://www.oftalmilano.it/
*/

/* @group big guys */

* {
	margin: 0;
	padding: 0;
}

#page {
	background: #60bce9 url(images/OFTALpage.png) repeat-x 0 top;
}

#wrapper {
	width: 985px;
	margin: 0px auto;
	position: relative;
	background: white url(images/sfondo.png) repeat-y;
}

body {
	font: 75%/150% Arial, Helvetica, sans-serif;
	padding: 0px;
	margin: 0px;
	color: #333333;
	background-image: none;
}
a {
	color: #44a1d0;
	text-decoration: none;
}
a:visited {
	color: #5EAFD7;
}
a:hover {
	text-decoration: underline;
	color: orange;
}
p {
	margin: 0px 0px 15px;
}

li p {
	margin: 0;
}
img {
	border: none;
}
ul {
	margin: 5px 0px 15px;
	padding-left: 20px;
}

ul ul{
	margin: 5px 0px 15px;
	padding-left: 20px;
	list-style-type: disc;
}
ul li {
	margin: 0px;
}
ol {
	margin: 5px 0px 15px;
	padding-left: 20px;
}
ul li {
	margin: 0px;
}
form {
	margin: 0px;
	padding: 0px;
}
small {
	font-size: 90%;
}

/* @end */

/* @group header */
#header {
	height: 180px;
	width: 985px;
	background: url(images/OFTALtestata.png) no-repeat center top;
}

/* site title */

#titolo {
	position: relative;
	top: 30px;
	left: 210px;
}
#header h1 {
	color: #FFFFFF;
	margin: 0px 0px 10px;
	padding: 0px;
	font: italic 60px/100% Georgia, "Times New Roman", Times, serif;
	text-decoration: none;
	text-shadow: #404040 3px 1px 2px;
}
h1 a, h1 a:visited {
	color: #FFFFFF;
	text-decoration: none;
}
h1 a:hover {
	color: white;
	text-decoration: none;
}
.description {
	color: white;
	font: 12px Arial, Helvetica, sans-serif;
	text-shadow: #404040 3px 1px 2px;
	-moz-shadow-direction: bottom-right;    -moz-shadow-width: 5px;    -moz-shadow-color-start: #000;    -moz-shadow-color-stop: #000;    -moz-shadow-opacity-start: 1.0;    -moz-shadow-opacity-stop: 0;    -moz-shadow-type: linear; 
}
/* search form */
#searchform {
	position: absolute;
	top: 167px;
	right: 0px;
	height: 37px;
	width: 220px;
	background: #60BCE9 url(images/searchleft.png) no-repeat left center;
}
#searchform #s{
	background: #ffffff url(images/form-field-bg.gif) no-repeat ;
	height: 17px;
	width: 148px;
	margin: 6px 5px 0px 10px;
	padding: 3px 7px 2px 5px;
	color: #999999;
	border: none;
}
#searchform #searchsubmit { 
	background: url(images/search-up.png) no-repeat left top;
	height: 24px;
	width: 24px;
	border: none;
	text-indent: -999%;
	line-height: 1px;
	margin-top: 6px;
}

#searchform #searchsubmit:hover { 
	background: url(images/search-over.png) no-repeat left top;
}

/* @end */

/* @group nav */
#nav {
	height: 26px;
	/*background-color: #60bce9;*/
	padding-left: 210px;
	position: relative;
	top: -32px;
	z-index: 10;
}
#nav ul{
	list-style: none;
	margin: 0px 0px 0px 25px;
	padding: 0px;
	font: bold 12px/100% Arial, Helvetica, sans-serif;
}
#nav ul li{
	margin: 0px 1px 0px 0px;
	padding: 0px;
	float: left;
}
#nav ul li a{
	padding: 5px 7px 6px 7px;
	text-decoration: none;
	color: #000000;
	display: block;
}
#nav li a:visited{
	text-decoration: none;
	color: #000000;
}
#nav li a:hover, #nav .current_page_item a, #nav .current_page_item a:visited{
	text-decoration: none;
	background: #2e91c6 url(images/nav-item-hover.gif) repeat-x;
	color: #ffffff;
}
/* sub menu */
#subnav {
	background: #ecebeb;
	position: relative;
	bottom: 10px;
}
#subnav ul {
	margin: 0px;
	padding: 3px 5px 5px 5px;
	list-style: none;
	font: 11px/100% Arial, Helvetica, sans-serif;
}
#subnav li {
	border-right: 1px solid #D8D8D8;
	padding: 0px 7px;
	margin: 0 0 5px;
	display:inline;
	line-height: 18px;
}
#subnav li a, #subnav li a:visited, #subnav .page_item {
	text-decoration: none;
	color: #333333;
}
#subnav .current_page_item a, #subnav .current_page_item a:visited {
	color: #3b9acc;
}
#subnav li a:hover {
	text-decoration: none;
	color: orange;
}



/* @end */

/* @group content */

#left-col {
	width: 525px;
	float: left;
	margin-top: 11px;
	position: relative;
	bottom: 30px;
}

/* content */
#content {
	padding: 25px 25px 15px 25px;
	width: 475px;
	background: #ffffff;
	clear: both;
	overflow: hidden;
}
.post {
	padding: 0px;
	clear: both;
	overflow: hidden;
}
.post .date {
	height: 45px;
	width: 50px;
	background: url(images/texture.png) repeat;
	font: normal 22px Arial, Helvetica, sans-serif;
	color: white;
	text-align: center;
	padding: 5px 0 0;
	line-height: 100%;
	float: left;
}
.post .date span {
	height: 16px;
	display: block;
	font: normal 11px Arial, Helvetica, sans-serif;
	text-align: center;
	padding-top: 5px;
}
.post .title {
	float: left;
	margin-left: 10px;
	width: 400px;
}
.postdata {
	font-size: 90%;
	color: #999999;
}
.postdata a, .postdata a:visited {
	color: #999999;
	text-decoration: none;
}
.postdata a:hover {
	color: orange;
	text-decoration: none;
}
.postdata .category{
	background: url(images/mini-category.gif) no-repeat;
	padding-left: 18px;
	float: left;
}
.postdata .comments{
	background: url(images/mini-comment.gif) no-repeat;
	padding-left: 18px;
	float: right;
}
.mini-add-comment {
	background: url(images/mini-comment.gif) no-repeat left center;
	padding-left: 18px;
	float: right;
}
.entry {
	padding: 10px 0px;
	clear: both;
	background: url(images/bordo.png) no-repeat right bottom;
	margin-bottom: 10px;
}
.entry p.submeta{
	font-size: 11px;
	padding-right: 50px;
}


/* post title */
h2 {
	color: #333333;
	margin: 3px 0 2px;
	padding-bottom: 4px;
	font: normal 150%/100% "Lucida Grande", Arial, sans-serif;
	border-bottom: 1px dotted #286bac;
	text-transform: capitalize;
}
h2 a, h2 a:visited {
	color: #333333;
	text-decoration: none;
}
h2 a:hover {
	color: orange;
	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;
	height: 21px;
	background-color: #ecebeb;
	background-image: none;
}
.page-nav a, .page-nav a:visited {
	color: gray;
	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 {
	clear: both;
	padding-bottom: 35px;
	margin-top: -15px;
	font-size: 95%;
}
.post-nav a, .post-nav a:visited {
	color: #999999;
	text-decoration: none;
}
.post-nav a:hover {
	color: #000000;
	text-decoration: none;
}
.post-nav .prec a {
	float: left;
	padding-left: 20px;
	background: url(images/post-nav-previous.gif) no-repeat left center;
}
.post-nav .suc a {
	float: right;
	padding-right: 20px;
	text-align: right;
	background: url(images/post-nav-next.gif) no-repeat right center;
}

/* @end */

/* @group comment */
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;
	padding-left: 45px;
	line-height: 130%;
}
.commentlist li{
	padding: 5px 10px;
}
.commentlist .alt {
	background: #e5f2ff;
}
.commentlist cite {
	font-weight: bold;
	font-style: normal;
	font-size: 110%;
	color: navy;
}
.commentlist cite a, .commentlist cite a:visited {
	color: navy;
}
.commentlist small {
	margin-bottom: 5px;
	display: block;
	font-size: 87%;
}
.commentlist small a, .commentlist small a:visited{
	color: #999999;
}

.nocomments{
	visibility: hidden;
}

/* @end */

/* @group footer */

#footer {
	background: url(images/content-bottom-bg.png) no-repeat;
	padding: 12px 0px 0px 10px;
	font-size: 87%;
	color: #282828;
	line-height: 15px;
	border-top: 1px dotted #286BAC;
}
#footer a, #footer a:visited {
	text-decoration: none;
	color: #000000;
}
#footer a:hover {
	text-decoration: underline;
	color: orange;
}

/* @end */

/* @group sidebar */

/* @group DBX - non cambiare */
.dbx-clone {
	position:absolute;
	visibility:hidden;
	}
.dbx-clone, .dbx-clone .dbx-handle-cursor {
	cursor:move !important;
	}
.dbx-dummy {
	display:block;
	width:0;
	height:0;
	overflow:hidden;
	}
.dbx-group, .dbx-box, .dbx-handle {
	position:relative;
	display:block;
	}
.dbx-box {
	margin:0;
	padding:0;
	border:none;
	clear: both;
	}
.dbx-group {
	width:210px;
	padding:0 0px 10px;
}
* html .dbx-group {
	width: 210px;
	padding-bottom:0;
}
.dbx-handle {
	position:relative;
	margin:0;
	padding: 16px 24px 7px 10px;
	background:url(images/sidep-handle.png) no-repeat 0 0; 
}
* html .dbx-handle { 
	width: 176px; 
}
.dbx-handle-cursor {
	cursor:move;
}
a.dbx-toggle, a.dbx-toggle:visited {
	display:block;
	width:20px;
	height:20px;
	overflow:hidden;
	background:url(images/sidep-toggle.png) no-repeat;
	position:absolute;
	top:12px;
	right:3px;
	text-indent:-50px;
	text-decoration:none;
}
a.dbx-toggle-open, a.dbx-toggle-open:visited {
	background-position:0 0;
}
a.dbx-toggle-closed, a.dbx-toggle-closed:visited {
	background-position:0 -20px;
}
a.dbx-toggle-hilite-open, a.dbx-toggle-hilite-open:visited {
	background-position:-20px 0;
}
a.dbx-toggle-hilite-closed, a.dbx-toggle-hilite-closed:visited {
	background-position:-20px -20px;
}
.dbx-tooltip {
	display:block;
	position:absolute;
	margin:36px 0 0 125px;
	width:185px;
	border:1px solid #000;
	background:#ffd;
	color:#000;
	font:normal normal normal 0.85em tahoma, arial, sans-serif;
	padding:2px 4px 3px 5px;
	text-align:left;
}
* html .dbx-tooltip { width:210px; }
*[class="dbx-tooltip"]:lang(en) {
	border-color:InfoText;
	background:InfoBackground;
	color:InfoText;
	font:small-caption;
	font-weight:normal;
	}	
.dbx-content {
	margin: 0;
	padding:5px 10px 9px 10px;
	background: url(images/sidep-bottom.png) no-repeat 0 100%;
	overflow: hidden;
}
.dbx-content div{
	overflow: hidden;
	height: 100%;
	width: 100%;
}
.dbx-box-closed .dbx-content {
	display:block;
	height:4px;
	padding:0;
	overflow:hidden;
}
.dbx-box-closed .dbx-content * {
	display:none;
	overflow: hidden;
}
.dbx-clone {
	opacity:0.8;
	-moz-opacity:0.8;
	-khtml-opacity:0.8;
	filter:alpha(opacity=80);
}

/* @end */

/* sidebar */
#sidebar-right{
	float:right;
	margin-left: 10px;
	margin-right: 10px;
}
#sidebar-left {
	float: left;
	margin-right: 10px;
	margin-left: 10px;
}
#sidebar-right, #sidebar-left {
	width: 210px;
	color: #666666;
	line-height: 160%;	
}
#sidebar-right p, 
#sidebar-left p  {
	margin: 0px 0px 15px;
}
#sidebar-right h3, 
#sidebar-left h3 {
	font: bold 12px/100% Arial, Helvetica, sans-serif;
	color: #666666;
}
#sidebar-right h3 a, #sidebar-right h3 a:visited, 
#sidebar-left h3 a, #sidebar-left h3 a:visited {
	color: #666666;
}
#sidebar-right h3 img, 
#sidebar-left h3 img  {
	vertical-align: middle;
}
#sidebar-right a, #sidebar-right a:visited, 
#sidebar-left a, #sidebar-left a:visited  {
	color: #000000;
	text-decoration:none;
}
#sidebar-right a:hover, #sidebar-right a:focus, #sidebar-right a:active, 
#sidebar-left a:hover, #sidebar-left a:focus, #sidebar-left a:active  {
	text-decoration:underline;
	color: orange;
}
#sidebar-right ul, 
#sidebar-left ul {
	list-style: none;
	margin: 0 ;
	padding: 0 ;
}
#sidebar-right ul li, #sidebar-left ul li {
	padding-left: 18px;
}
#sidebar-right ul li ul li, #sidebar-left ul li ul li {
	padding-left: 0px ;
	list-style-type: disc;
	background-image: none;
	list-style-position: inside;
}

/* @group widget */

.textwidget {
	font-size: 95%;
	line-height: 110%;
}



/* archives widget */
#archives ul li {
	background: url(images/mini-archive.gif) no-repeat;
}

/* pages widget */

#pages ul li {
	background: url(images/mini-page.gif) no-repeat;
}
/* recent comments widget */
#recent-comments ul li {
	background: url(images/mini-comment.gif) no-repeat;
	list-style-type: none;
	padding-left: 18px;
}
/* category widget */
#categories ul li,
#categories-1 ul li,
#categories-2 ul li,
#categories-3 ul li,
#categories-4 ul li,
#categories-5 ul li,
#categories-6 ul li,
#categories-7 ul li,
#categories-8 ul li,
#categories-9 ul li {
	background: url(images/mini-category.gif) no-repeat;
}
/* recent posts widget */
#recent-posts ul li {
	background: url(images/mini-page.gif) no-repeat;
}
/* links widget */
#links ul li {
	background: url(images/mini-blogroll.gif) no-repeat;
}
/* meta */
#meta .rss {
	background: url(images/mini-rss.gif) no-repeat;
}
#meta .login {
	background: url(images/mini-user.gif) no-repeat;
}
#meta .check {
	background: url(images/mini-check.gif) no-repeat;
}
#meta .wordpress {
	background: url(images/mini-wp.gif) no-repeat;
}
/* calendar */
#calendar table {
	margin: 0px auto;
}
#calendar td {
	padding: 0px 4px;
}

#calendar td a {
	font-weight: bold;
	color: #60bce9;
}

/* 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;
}
.clear {
	clear:both;
}
hr.clear {
	clear:both;
	visibility: hidden;
	margin: 0px;
	padding: 0px;
}
.hidden {
	clear: both;
	visibility: hidden;
}

/* @end */

/* @end */	

/* WP-SNAP */

ol.snap_nav {
	display: inline;
	float: left;
	clear: both;
	list-style: none;
}

ol.snap_nav li {
	display: block;
	float: left;
	padding: 0 10px 10px 0;
}

ol.snap_nav li a {
	font-weight: bold
}

ol.snap_titles {
	clear: both;
	display: block;
	border: 0;
	list-style: none;
}
