/*
Theme Name: ItOpen new
Theme URI: http://itopen.it
Description: A custom Theme
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: #193e76;
    /*font-family: "Verdana", Helvetica, Arial, sans-serif;*/
    font-family: 'Droid Sans', sans-serif;    
    /*font-family: Tahoma, Helvetica, Arial, sans-serif;*/
    font-size: 82%;
    line-height: 1.4;
    height: 100%;
}


div#outer-wrapper {
    min-width: 760px;
    max-width: 1200px;
    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: #17386a;
}

a:hover {
    text-decoration: underline;
}

h1 {
    color: #193e76;
    font-size: 1.7em;
    /*font-weight: bold;*/
    font-family: 'Lato', sans-serif;
}

h1 a {
    color: #193e76;
}

h2 {
    color: #49658f;
    font-size: 1.8em;
    text-align: left;
    border-bottom: solid 1px gray;
    font-family: 'Lato', sans-serif;
}


h2.post-title {
    font-size: 1.4em;
    border-bottom: none;
}

h3 {
    color: #193e76;
    font-size: 1.2em;
    font-family: 'Lato', sans-serif;
}

input, textarea {
    border: solid 1px #49658f;
    background-color: #F7F8FF;
}



a:hover img{
    border: solid 2px 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: #17386a;
    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;
}


#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: 81%;
    float: left;
}

/* Sidebar */
div#sidebar {
    float: right;
    width: 16%;
    padding: 1em;
    /*border-left: dotted 1px gray;
*/
    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: #49658f;
    font-weight: bold;
    font-size: 1.2em;
}

/* Banner */
div#inner-banner {
    background-image: url(images/banner-rgt.gif);
    height: 130px;
    width: 100%;
    background-position: right top;
    background-repeat: no-repeat;
}

div#banner {
    background-image: url(images/banner-lft.gif);
    height: 130px;
    width: 100%;
    cursor: pointer;
    background-position: left top;
    background-repeat: no-repeat;
}


div#blogdescription {
	position: relative;
	top: 27px;
	left: 340px;
	font-weight: bold;
	font-size: 20px;
	color: white;
	width: 291px;
	text-align: left;
}


/* Home */
div#left-content {
    width: 49%;
    float: left;
}

div#right-content {
    width: 50%;
    float: right;
    border-left: dotted 1px gray;
    border-right: dotted 1px gray;
}

hr.home {
    border: 0;
    color: white;
    border-bottom: dotted 1px gray;
}

/* Main article block */

.post {
    margin: 12px 12px 1.8em 12px;
}

.block {
    float: left;
    width: 45%;
}

.post h1, .post h2 , .post h3{
    clear:both;
}

.post h2 a {
    color: #49658f;
}

.post h2 a:hover {
    background-color: #49658f;
    color: white;
}

.post small {
    color: gray;
    font-style: italic;
}

h1.section-title {
    padding: 0;
    margin: 12px;
    color: #6e2540;
}

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 #49658f;
    padding: 0;
}

.post td, .post th  {
    border: solid 1px #49658f;
    padding: 0.5em;
    vertical-align: top;
}

.post th  {
    color: white;
    background: #193e76;
}

.post div.excerpt {
    font-size: 1.1em;
    font-style: italic;
}

.postmetadata {
    font-size: 1em;
    font-style: italic;
    color: gray;
    margin: 0.5em 0;
}

.postcategory {
    font-size: 0.9em;
    font-style: italic;
    color: gray;
    clear: both;
    margin: 0.5em 0;
    text-align: left;
}

.readmore {
    margin: 0.5em 0;
}

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;
    background: #17386a;
    color: white;
    text-align: center;
    height: 2em;
}

div#footer a {
    color: white;
}

/* 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;
}


.alignright {
    float:right;
}


.alignleft {
    float:left;
}

img.alignleft {
	margin: 1em 1em 1em 0;
}

img.alignright {
	margin: 1em 0 1em 1em;
}

.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-dd {
    font-size: 11px;
    line-height: 17px;
    padding: 0 4px 5px;
    margin: 0;
}


div#right-content {
    background-color: #EEE;
}

div#left-content, div#sidebar {
    background-color: white;
}

h2.title-only {
    font-size: 1em;
}

div.newblog {
    background-color: inherit;
}

.rounded {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
}

.button {
    border: solid 1px #CCC;
    padding: 5px;
    background-color: #F3F3F3;
    font-weight: bold;
}

a.button:hover {
    background-color: #DDD;
}

a.button {
    text-decoration: none;
}
