/*
Theme Name: Cooperativa della Comunità
Theme URI: http://www.itopen.it
Description: A custom Theme for Cooperativa della Comunità
Version: 1
Author: Alessandro Pasotti
Author URI: http://www.itopen.it
*/




/* Main blocks and floats */
body {
    text-align: center;
    margin: 0; /* to avoid margins */
    background: #CCC;
    font-family: Tahoma, Helvetica, Arial, sans-serif;
    font-size: 76%;
    line-height: 1.3;
    height: 100%;
}


div#outer-wrapper {
    min-width: 760px;
    max-width: 958px;
    width: auto !important;
    width: 958px;
    margin: 0;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    /*padding: 0 4px;*/
    background: white url(images/border-left.gif) left repeat-y;
    height: 100%;
}

div#outer-wrapper2 {
    margin: 0 0 0 4px;
    padding: 0;
    background: white url(images/border-right.gif) right repeat-y;
    height: 100%;
}

div#wrapper {
    margin: 0 4px 0 0;
    padding: 0;
    text-align: justify;
}

/* Generic classes */

.hidden {
    display: none;
}

.clr {
    clear: both;
}

a {
    /*text-decoration: none;*/
    color: #C50650;
}

a:hover {
    text-decoration: underline;
}

h1 {
    color: #94073A;
    font-size: 1.7em;
    font-weight: bold;
}

h1 a {
    color: #94073A;
}

h2 {
    color: #CC2762;
    font-size: 1.3em;
    text-align: left;
}

h3 {
    color: #94073A;
    font-size: 1.2em;
}

input, textarea {
    border: solid 1px #CC2762;
    background-color: #F7F8FF;
}

a img {
    border: solid 1px silver;
}

a:hover img{
    border: solid 1px blue;
}

div.wp_syntax {
  background-color: #F7F8FF;
  border: 1px solid silver;
  margin: 0 0 1.5em 0;
  overflow: auto;
  width: 100%;
}

code {
    font-family: Lucida Console, Andale Mono, Courier, sans-serif;
}

pre {
    font-size: 1.2em;
    margin: 0.5em 1em;
}

ul li {
    list-style-image: url(images/arrow.gif);
}

/* Top menu */

div#top-nav {
    width: 100%;
    height: 1.2em;
    background: #F48012;
    padding: 0.5em 0;
}

ul#nav {
    margin: 0;
    float: right;
    width: 80%;
    text-align: right;
    font-weight:bold;
    font-size: 1.1em;
}

ul#flags {
    margin: 0;
    float: left;
    width: 10%;
    padding: 0;
}


ul#nav li{
    list-style-type: none;
    display: inline;
    padding-right: 1em;
}

ul#nav a{
    text-decoration: none;
}

ul#nav a:hover{
    text-decoration: underline;
}

#flags li {
    list-style-type: none;
    display: inline;
    padding-left: 0.5em;
}

ul#nav li a {
    color: white;
    font-size: 1.1em;
}

ul#flags li a img{
    border: none;
    margin-top: 2px;
}


/* Inside containers */
div#container {
    width: 80%;
    float: left;
}

/* Sidebar */
div#sidebar {
    float: right;
    width: 16%;
    padding: 1em;
    border-left: solid 1px silver;
    overflow:hidden;
    text-align: left;
}


div#sidebar ul {
    padding:0;
    margin:0;
}

div#sidebar li {
    list-style-type: none;
    list-style-image: none;
}

div#sidebar h2 {
    color: #94073A; /*#CC2762;*/
    font-weight: bold;
    font-size: 1.2em;
    margin-top: 1em;
    margin-bottom: 0;
}

/* Banner */
div#banner {
    background-image: url(images/banner.gif);
    background-repeat: no-repeat;
    height: 90px;
    width: 100%;
    cursor: pointer;
}

div#flashfader {
    float: right;
    z-index: 1000;
}

div.filetto {
    background-image: url(images/filetto.gif);
    background-repeat: repeat-x;
    height: 13px;
    width: 100%;
    clear: both;
}

div#blogdescription {
    position: relative;
    top: 60px;
    left: 0px;
    font-size: 1.4em;
    color: #CC2762;
    width: 607px;
    text-align: right;
}

/* Home */
div#left-content {
    width: 50%;
    float: left;
    border-right: solid 1px silver;
}

div#right-content {
    width: 49%;
    float: right;
}

hr.home {
    border: 0;
    color: white;
    border-bottom: solid 1px silver;
}

/* Main article block */

.post {
    margin: 12px 20px 1.8em 20px;
}

.block {
    float: left;
    width: 45%;
}

.post h1, .post h2 , .post h3{
    clear:both;
}

.post h2 a {
    color: #CC2762;
}

.post small {
    color: silver;
    font-style: italic;
}

h1.section-title {
    padding: 0;
    margin: 20px;
}

h1.post-title {
}

.post img {
    /*border: solid 1px silver;*/
    margin: 1em;
}

.post img[align=left] {
    margin: 0 1em 1em 0;
}
.post img[align=right] {
    margin: 0 0 1em 1em;
}

.post table {
    border-collapse: collapse;
    border: solid 1px #CC2762;
    padding: 0;
}

.post td, .post th  {
    border: solid 1px #CC2762;
    padding: 0.5em;
    vertical-align: top;
}

.post th  {
    color: white;
    background: #94073A;
}

.post div.excerpt {
    font-size: 1.1em;
    font-style: italic;
}

.home {
    margin-top: 24px;
}

.postmetadata {
    font-size: 1em;
    font-style: italic;
    color: silver;
    margin: 0.5em 0;
}

.postcategory {
    font-size: 0.9em;
    font-style: italic;
    color: silver;
    clear: both;
    margin: 0.5em 0;
    text-align: left;
}

.readmore {
    margin: 0.5em 0;
    padding-left: 1em;
    background-position: center left;
    background-image: url(images/arrow.gif);
    background-repeat: no-repeat;
    clear: both;
}

.readmore a {
    font-weight: bold;
    font-size: 1.1em;
    color: #F48012;
    text-decoration: none;
}

.readmore a: hover {
    text-decoration: underline;
}


div.navigation {
    margin: 1em;
    font-weight: bold;
    font-size: 1.2em;
}

/* Archives */
div.archive-title {
     margin: 12px 12px 1.8em 12px;
}

div.archive-title h1 {
    color: #C81014;
}


/* Comments */
div#feedback{
    margin: 12px 12px 1.8em 12px;
}

ol.commentlist {
    list-style-type: none;
    padding: 0;
}

.commentlist li
{
  margin:0.5em 0;
  padding:1em;
  background:#F2F2F2;
  border-left:#17386a 8px solid;
}

.commentlist li.alt
{
  border-left:#2F89C6 8px solid;
}

/* Footer */
div#footer {
    clear: both;
    text-align: center;
    height: 2em;
    color: #CC2762;
}

div#footer a {
    color: #B24D71;
}

/* Searchbox */
#searchform #s {
    width: 8em;
}

/* Thumbnails */
div.thumbnail {
    height: 80px;
    width: 128px;
    overflow: hidden;
    display: block;
    float: left;
    border: solid 1px silver;
    margin: 0 0.5em 0.5em 0;
}

.post div.thumbnail img {
    border: none;
    margin: 0;
}

img.alignleft {
    float: left;
}


img.alignright {
    float: right;
}