/* Eric Meyer's reset style! 
-----------------------------*/
html, body, div, /*span,*/ applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, /*pre,*/ 
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
    outline: 0;
}
body {
    line-height: 1;
    color: black;
    background: white;
}
ol, ul {
    list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
    border-collapse: separate;
    border-spacing: 0;
}
caption, th, td {
    text-align: left;
    font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: "";
}
blockquote, q {
    quotes: "" "";
}

/* dando's overrides 
-----------------------------*/
em {
    font-style:    italic;
}

strong {
    font-weight: bold;
}

acronym {
    border-bottom: 1px dotted;
}

/* main structure 
-----------------------------*/
body, html {
    background: #FFF url("img/bg_page.png") repeat-x 0 0;
    font-family: "Helvetica Neue", Helvetica, Verdana, Arial, sans-serif;
    font-size: 13px;
    height: 100%;
}

a {
    color: #1D96B8;
    text-decoration: none;
}

a:hover {
    color: #6F8182; /*gray*/
    color: #F87100;
}

#wrapper {
    height:auto !important;
    margin: 0 auto -5em;
    min-height: 100%;
    width: 900px;
}

#masthead {
/*    border: 1px solid red;*/
    height: 190px;
}

h1#logo a { 
    background: url("img/bg_logo.png") no-repeat 10px 20px;
    display: block;
    float: left;
    height: 160px;
    letter-spacing: -500em;    
    outline: none;
    overflow: hidden;
    text-indent: -50em;
    width: 135px;
}

/* navigation (mmenu) 
-------------------------------------
See bottom for navigation titles
*/

#navigation {
    float: right;
    margin-top: 70px;
/*    padding-right: 10px;*/
}

ul.mmenu {
    list-style-type: none;
}

ul.mmenu a {
    background-color: transparent;
    background-position: left 0;
    background-repeat: no-repeat;
    display: block;
    float: left;
    height: 60px;
    letter-spacing: -500em;    
    overflow: hidden;
    text-indent: -500em;
}

ul.mmenu a:hover {
    background-position: 0 -120px;
}

ul.mmenu a.selected, ul.mmenu a.selected:hover {
    background-position: 0 -60px;
}

ul.mmenu li {
    display: inline;
}

/* basic column layout 
-------------------------------------*/

#main{
    margin-top: 30px;
    margin-bottom: 20px;
}

#content {
    float: left;
    padding-bottom: 20px;
    width: 590px;
}

#sidebar {
    float: right;
    width: 280px;
}

/* Archives elements  
-------------------------------------*/
h2.medium_title {
    color: #2A2A2A;    
    font-size: 20px;
    font-weight: bold;
    letter-spacing: -1px;
    line-height: 30px;    
    margin-bottom: 10px;
}

h2 span {
    background: #FF6;
    padding: 0 4px 0 2px;
}

ul.archive, dl.archive {
    font-family: "Helvetica Neue", Helvetica, Arial, Verdana, sans-serif;
}

ul.archive li {
    padding-bottom: 10px;
}

h3.archive_title {
    border-bottom: 1px solid #CCC;
    font-size: 18px;
    font-weight: bold;
    line-height: 24px;
    margin-bottom: 5px;    
}

h3.archive_title a {
    color: #2A2A2A;
}

h3.archive_title a:hover {
    color: #6F8182;
}

.archive p {
    color: #333;
    font-size: 14px;
    line-height: 130%;
    margin-bottom: 10px;
}

p.archive_date {
    color: #666;
    font-size: 16px;
    line-height: 30px;
    margin-bottom: 0 /*ovverrides previous declaration*/;
    text-align: left;
}

p.archive_date span {
    border-bottom: 4px solid #A2BFC1;
}

dl.archive dt {
    color: #2A2A2A;    
    font-size: 20px;
    font-weight: bold;
    letter-spacing: -1px;
    line-height: 30px;    
    margin-bottom: 10px;
}

/* single post  
-------------------------------------*/
h2.post_title {
    color: #2A2A2A;    
    font-size: 26px;
    font-weight: bold;
    letter-spacing: -1px;
    line-height: 30px;
}

.post_wrap {
/*    border: 1px solid red;*/
    margin-bottom: 40px;
}

.post_wrap h2 {
    color: #2A2A2A;    
    font-size: 26px;
    font-weight: bold;
    letter-spacing: -1px;
    line-height: 30px;
}

.post_wrap h2 a {
    color: #2A2A2A;
    text-decoration: none;
}

.post_wrap h2 a:hover {
    color: #1D96B8; /* light blue */    
    color: #6F8182;
    text-decoration: none;    
}

.post_wrap p {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    line-height: 130%;
}

.post_wrap p.post_date {
    color: #666;
    font-size: 15px;
    line-height: 20px;
    margin-bottom: 10px;
}

.post_wrap pre {
    background-color: #FCFCFC;
    border: 1px solid #CCC;
    margin: 20px;
    padding: 10px;
    width: auto;
}

.post_wrap code {
    color: #333;
    font-family: Courier, monospace;
    font-size: 14px;
    line-height: 120%;
}

.post_wrap span.codex {
    background-color: #FCFCFC;
    color: #222;
    font-family: Courier, monospace;
    font-size: 14px;
    line-height: 120%;
}

.post_wrap table {
    border-spacing: 0;
    border-top: 4px solid #999;
    border-right: 1px solid #CCC;
    padding: 0;
    margin: 15px auto;
    width: 90%;
}

.post_wrap table td {
    border-left: 1px solid #CCC;
    border-bottom: 1px solid #CCC;    
    border-collapse: collapse;
    color: #333;
    padding: 4px;
}

.post_wrap table th {
	background-color: #FAFAFA;
    border-left: 1px solid #CCC;
    border-bottom: 1px solid #CCC;    
    border-collapse: collapse;
	font-weight: bold;
    color: #333;
    padding: 4px;
}

.post_wrap ul {
    color: #333;
    font-size: 14px;
    list-style: square outside;
    margin: 10px 30px;
}

.post_wrap ol {
    color: #333;
    font-size: 14px;
    list-style: decimal outside;
    margin: 10px 30px;
}


.post_wrap li {
    line-height: 130%;
    padding: 2px;
}

/* Portfolio 
-------------------------------------*/
div.folio_item {
    clear: both;
    margin-bottom: 15px;
    width: 590px;
}

div.folio_data {
    float: left;
    padding-bottom: 10px;
    width: 590px;
}

div.folio_image {
    background: url("img/bg_folio_img.png") no-repeat center center;
    float: left;
    height: 170px;
    margin-top: 10px;
    width: 220px;
}

div.folio_image img {
    display: block;
    margin: 10px;
    height: 150px;
    width: 200px;
}

div.folio_desc {
    float: right;
    width: 350px;
}

.folio_item h2 {
    border-bottom: 1px solid #CCC;
    font-size: 18px;
    line-height: 30px;
    margin: 0;
}

.folio_desc p {
    color: #333;
    font-size: 14px;  
    line-height: 120%;
    margin-bottom: 10px;
}

span.folio_date {
    border-bottom: 4px solid #A2BFC1;
    color: #666;
    float: right;
    font-size: 16px;
    line-height: 30px;
}

p.folio_keywords {
    color: #666;
    font-size: 12px;
    font-weight: bold;
    margin: 5px 0 0;
    padding: 5px 0;
    text-transform: uppercase;    
}

div.moreinfo {
    border-top: 1px solid #EEE;
    clear: both;
    padding: 10px 0 5px;
    text-align: right;
}

.moreinfo a {
/*    background-color: #F9FCFC;*/
    background-position: 2px center;
    background-repeat: no-repeat;
/*    border: 1px solid #E0EFF0;*/
    padding: 4px 4px 4px 22px;
}

a.ext_link {
    background-image: url("img/ico_extlink.png");
}

a.casestudy {
    background-image: url("img/ico_casestudy.png");
}


/* static & sticky content
-------------------------------------*/
h2.big_title {
    color: #2A2A2A;    
/*    font-size: 26px;*/
    font-size: 30px;
    font-weight: bold;
    letter-spacing: -1px;
    line-height: 30px;    
    margin-bottom: 10px;
}

div.static {
    margin-bottom: 20px;
}

div.static h3, div.post_wrap h3 {
    color: #444;
    font-size: 16px;
    font-weight: bold;
    margin: 15px 0 4px;
}

div.static h4 {
    color: #333;
    font-size: 16px;
    font-weight: bold;
    margin: 5px 0 2px;
}

div.static p {
    color: #333;
    font-size: 14px;
    line-height: 130%;
    margin-bottom: 10px;
}

/* static & sticky content
-------------------------------------*/
blockquote {
}

blockquote p.quote {
    background-position: left top;
    background-repeat: no-repeat;
    height: 90px;
    letter-spacing: -500em;
    margin-bottom: 0px !important;
    text-indent: -500em;
    width: 590px;
}

blockquote p.quote_soluzioni {
    background-image: url("img/quote_soluzioni.png");
}

blockquote p.quote_home {
    background-image: url("img/quote_home.png");
    height: 180px;
    margin-bottom: 0px !important;
}

/* home banners & structure
-------------------------------------*/
div.latest {
    float: left;
}

div.last {
    float: left;
    width: 295px;
}

div.last h3.home_title {
    background-position: left top;
    background-repeat: no-repeat;
    height: 24px;
    letter-spacing: -500em;
    text-indent: -500em;
}

h3#lab {
    background-image: url("img/title_lab.png");
}

h3#work {
    background-image: url("img/title_work.png");
}


/* Banner Rotation (crossfade)
-----------------------------*/
#fade_banner {
    height: 180px;
    position: relative;
}

#fade_banner li {
    left: 0;
    position: absolute;
    top: 0;
    visibility: hidden;
}


/* navigation (mmenu) images replacement 
-------------------------------------*/

a#home {
    background-image: url("img/mm_home.png");
    width: 55px;
}

a#blog {
    background-image: url("img/mm_blog.png");
    width: 90px;
}

a#profilo {
    background-image: url("img/mm_about.png");
    width: 110px;
}

a#portfolio {
    background-image: url("img/mm_folio.png");
    width: 135px;
}

a#soluzioni {
    background-image: url("img/mm_soluzioni.png");
    width: 131px;
}

a#contatti {
    background-image: url("img/mm_contacts.png");
    width: 120px;
}

/* sidebar elements 
-------------------------------------*/

#sidebar h2 {
    border-bottom: 1px solid #CCC;
    color: #666;
    font-weight: bold;
    font-size: 12px;
    line-height: 30px;
    text-transform: uppercase;
}

#sidebar h2.last_fm {
    background: url("img/icon_eq.gif") no-repeat left center;
    padding-left: 16px;
}

#sidebar ul, #sidebar dl {
    /*to be replaced by specific ul class*/
    margin-bottom: 20px;
}

ul.generic li, ul.rssMenu li, dl.generic dd, dl.generic dt {
    border-bottom: 1px solid #EEE;
    line-height: 130%;
    padding: 6px 5px;
}

ul.generic li span, dl.generic dd span {
    color: #272727;
    font-weight: bold;
    padding-right: 5px;    
}

ul.generic li span.date {
    color: #999;
}

dl.generic dt {
    color: #272727;
    font-weight: bold;    
}

ul.generic li.spread {
/*    border-bottom: none;
    text-align: right;
*/}

a#feed_rss {
    background: url("img/btn_feedrss.png") no-repeat left top;
    display: block;
    letter-spacing: -500em;
    margin: 10px 0;
    text-indent: -500em;
    height: 34px;
    width: 280px;
}

/* Comments list 
-------------------------------------*/
h3#commento {
    color: #333;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: -1px;
}

ol.comments_list {
    color: #CCC;
    list-style-type: decimal;
    list-style-position: inside;
    padding-right: 10px;
}

ul.comment_preview {
    color: #CCC;
    list-style-type: square;
    list-style-position: inside;
    padding-right: 10px;
}

ol.comments_list li,
ul.comment_preview li {
    border-bottom: 1px solid #F2F2F2;
    font-size: 26px;
    padding: 10px 10px 20px;
}

ul.comment_preview li {
    background-color: #FFC;
}

ol.comments_list li span,
ul.comment_preview li span {
    color: #333;
    font-size: 16px;
    line-height: 26px;
}

ol.comments_list p,
ul.comment_preview p {
    color: #666;
    font-size: 14px;
    line-height: 130%;
    padding: 0 0 0 36px;
}

ol.comments_list li.odd {
    color: #999;
    background-color: #FCFCFC;
}

ol.comments_list li.odd p {
    color: #444;
}

/* Comments form 
-------------------------------------*/
div.comments-wrapper {
    margin: 10px;
}

ol.fields_list li {
    padding: 5px 0;
}

.zemContactForm legend {
    color: #666;
    font-size: 16px;
    font-weight: bold;
}

#txpCommentInputForm fieldset,
.zemContactForm fieldset {
    padding: 5px;
}

#txpCommentInputForm label,
.zemContactForm label {
    color: #666;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 3px;
    text-transform: capitalize;
}

#txpCommentInputForm label span {
    font-weight: normal;
    text-transform: none;
}

#txpCommentInputForm input,
#txpCommentInputForm textarea,
.zemContactForm input,
.zemContactForm textarea {
    border: 1px solid #CCC;
    color: #333;
    font-size: 14px;
    padding: 2px;
}

#cpreview {
    margin: 20px 10px;
}

#cpreview p {
    color: #333;
    font-size: 14px;
    line-height: 120%;
}

div.comment_preview {
    background-color: #FCFCFC;
    border-bottom: 1px solid #F2F2F2;
    font-size: 26px;
    line-height: 26px;
    margin-top: 10px;
    padding: 10px 10px 20px;
}

div.comment_preview span {
    color: #333;
    font-size: 16px;
    line-height: 26px;
}

p.notice, p.warning  {
    color: #333;
    font-size: 13px;
    line-height: 130%;    
    padding: 5px 0;
}

p.warning {
    font-weight: bold;
    font-size: 14px;
}

p.comments_closed {
    color: #333;
    border-top: 1px solid #DDD;
    font-weight: bold;
    font-size: 14px;
    padding-top: 10px;
}

div.errors_wrap {
    border: 1px solid #FCC;
    background-color: #FEE;
    margin-bottom: 10px;
    padding: 5px 15px;
}

ol.comments_error,
ul.zemError {
    color: #333;
    margin: 0 20px 0 0;    
    margin: 5px 20px;
    list-style-type: square;
}

ol.comments_error li {
    font-size: 14px;
    padding: 2px 0;
}


/* footer  
-------------------------------------*/
#pusher {
    clear: both;
    height: 5em;
}

#footer {
    background: #F2F2F2 url("img/bg_footer.png") repeat-x left top;
    clear: both;
    height: 5em;
    margin: 0 auto;
}

#footer p {
    color: #AAA;
    font-size: 11px;
    line-height: 5em;
    margin: auto;
    text-align: center;
    width: 900px;
}

/* Utilities  
-------------------------------------*/
div.killer {
    clear: both;
    font-size: .1em;
}

hr.killer {
    background-color: #EEE;
    border: 0;
    clear: both;
    color: #EEE;
    height: 1px;
}