/* BASE */

body {
    font-size: 100.01%;
    text-align: center; /* centra in IE5.x */
    background-color: white;
    font-family: Verdana, arial, Helvetica, sans-serif;
    font-size: 62.5%; /* 1em == 10px, 1.2em == 12px */
    color: black;
    background-image: url('background.png');
    background-repeat: repeat;
    background-position: center center;
}

/* line-height reset */
p, blockquote, pre, ol, dl, ul, form {
    line-height: 1.5em;
}

/* language specific quotes */
q { quotes: "\201C" "\201D" "\2018" "\2019"; }
:lang(af), :lang(nl), :lang(pl) { quotes: '\201E' '\201D' '\201A' '\2019'; }
:lang(bg), :lang(cs), :lang(de), :lang(is), :lang(lt), :lang(sk), :lang(sr), :lang(ro) { quotes: '\201E' '\201C' '\201A' '\2018'; }
:lang(da), :lang(hr) { quotes: '\00BB' '\00AB' '\203A' '\2039'; }
:lang(el), :lang(es), :lang(sq), :lang(tr) { quotes: '\00AB' '\00BB' '\2039' '\203A'; }
:lang(en-GB) { quotes: '\2018' '\2019' '\201C' '\201D'; }
:lang(fi), :lang(sv) { quotes: '\201D' '\201D' '\2019' '\2019'; }
:lang(fr) { quotes: '\ab\2005' '\2005\bb' '\2039\2005' '\2005\203a'; }
/* NOTE: safari refuses to support the quotes syntax. Only added the english language quotes for safari to save space. */
html[lang|='en'] q:before   { content: '\201C'; }
html[lang|='en'] q:after    { content: '\201D'; }
html[lang|='en'] q q:before { content: '\2018'; }
html[lang|='en'] q q:after  { content: '\2019'; }

/* margins and paddings base set */
html, body{
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0.7em 0 0.2em;
    font-weight: bold;
}

h1 {
    font-size: 1.4em;
    color: #B14200;
}

h2 {
    font-size: 1.2em;
    color: #B14200;
}

h3 {
    font-size: 1.1em;
}

address, blockquote, dl, form, fieldset, ol, table, p, pre, ul {
    margin-top: 0.2em;
    margin-bottom: 1.2em
}

table {
    width: 100%;
    border: 0;
    margin: 0;
    padding: 0;
    border-collapse: collapse;
    border-spacing: 0;
    cell-spacing: 0px;
    font-family: Verdana, arial, Helvetica, sans-serif;
    font-size: 1em;
    margin-bottom: 10px;
}

td {
    padding: 0;
    vertical-align: top;
    text-align: left;
    margin: 0;
    border: 0;
}

th {
    vertical-align: top;
    text-align: left;
    margin: 0;
    border: 0;
}

img {
    border: 0;
    margin: 0;
    outline: 0;
    padding: 0;
}

div {
    margin: 0;
    padding: 0;
    border: 0;
    text-align: left;
}

hr {
    background: black;
    color: black;
    width: 100%;
    height: 1px;
    border: none;
}

p {
    text-align: left;
}

/* Forms */

fieldset {
    border: 1px solid lightgray;
}

legend {
    background: white;
}

textarea { /* IE hack */
    overflow: auto;
}

input { /* IE hack */
    overflow: none;
}

textarea, input[type='text'], select {
    border: 1px solid gray;
    background: white;
}
textarea:hover, input[type='text']:hover, input[type='password']:hover, select:hover {
    border-color: gray;
}
textarea:focus, input[type='text']:focus, input[type='password']:focus, select:focus {
    border-color: darkgray;
    outline: 2px solid #ffffaa;
}
input, select {
    cursor: pointer;
}
input[type='text'] {
    cursor: text;
}

form label {
    display: block; 
    width: 80px;
}

.errorlist {
    color: red;
}

.error input {
    border-color: red;
}

.error textarea {
    border-color: red;
}

/* Links */

a:link, a:visited {
    text-decoration: underline;
    color: black;
}

a:hover {
    text-decoration: none;
    color: black;
}

/* Standard elements */

.clear { /* Use for DIV or HR */
    height: 0;
    clear: both;
}

hr.space {
    clear: both;
    visibility: hidden;
}


/* CUSTOM */

.crown {
    display: block;
    margin: 10px auto;
}

.gold {
    color: #BF9A38;
}

img.product_0 {
    padding: 4px;
    border: 1px solid #999999;
    background: white;
}

img.product_2 {
    float: left;
    padding: 2px;
    background: white;
    border: 1px solid #999999;
}

ul.nolist {
    margin-left: 0;
    padding: 0;
    list-style: none;
}

ul.nolist li {
    clear: both;
}

ul.nolist img {
    vertical-align: top;
}

p.center
{text-align: center;}


/* MAIN ZONES */

div#body {
    width: 760px;
    margin: 5px auto;   /* centra negli altri browser */
    text-align: left;   /* ripristina l'allineamento */
    background: url('background-shadow.png') center center repeat;
}

div#shadow {
    position: relative;
    background: white;
    left: -5px;
    top: -5px;
    padding: 0 5px;
}

div#header {
    height: 105px;
    background: white url("header-background.gif") top center repeat-x;
    border-top: 3px solid #261A1B;
    border-bottom: 1px solid white;
}

div#content {
    font-size: 1.2em;
    border-top: 1px solid white; /* FF e IE bug */
}

div#footer {
    width: 760px;
    margin: 0 auto;
    font-weight: bold;
}


/* HEADER */

#logo {
    float: left;
    margin-top: 8px;
    margin-left: 5px;
}

#tool_menu {
    text-align: right;
    margin-top: 15px;
    padding-right: 15px;
}

#tool_menu a:link, #tool_menu a:visited {
    text-decoration: none;
    color: gray;
}

#tool_menu a:hover {
    text-decoration: underline;
    color: #261A1B;
}

#secondary_menu {
    text-align: right;
    font: 1.1em Arial;
    margin-top: 35px;
    margin-right: 10px;
    font-family: "Times new roman", Times, serif;
    color: #BF9A38;
}

#secondary_menu a:link, #secondary_menu a:visited {
    text-decoration: none;
    color: #BF9A38;
}

#secondary_menu a:hover {
    text-decoration: underline;
    color: #BF9A38;
}


/* MENU */

#menu {
    margin: 0;
    padding: 0;
    font: bold 1.25em Arial;
    line-height: 1.25em;
    background: white url(menu-background.gif) center center repeat-x;
    font-family: "Times new roman", Times, serif;
}

#menu td {
    width: 25%;
    vertical-align: middle;
    height: 30px;
    text-align: center;
    background-image: url(menu-separator.gif);
    background-repeat: no-repeat;
    background-position: center right;
    letter-spacing: 0.1em;
}

#menu td a:link, #menu td a:visited {
    text-decoration: none;
    color: #F6F6EF;
}

#menu td.active a, #menu td a:hover {
    text-decoration: none;
    color: #BF9A38;
    border: 1px solid #BF9A38;
}


/* TOP FOOTER */

#top_footer {
    border-top: 2px solid #DFCD9C;
    text-align: center;
    font-size: 1.15em;
    margin: 0;
    padding: 3px;
}


/* FOOTER */

#footer p {
    text-align: center;
    line-height: 1.2em;
    color: #BF9A38;
}

#footer a {
    color: #BF9A38;
}

#footer a:link, #footer a:visited {
    text-decoration: underline;
    color: #BF9A38;
}

#footer a:hover {
    text-decoration: none;
    color: #BF9A38;
}


/* CONTENT */

.content_default {
    background: white url("content-background.gif") top center repeat-x;
    padding: 0px 10px;
}

#content_default-left {
    float: left;
    height: 100%;
    width: 49%;
}

#content_default-right {
    float: right;
    height: 100%;
    width: 49%;
}


/* PAGE: HOME */

.content_home {
    background: white url("content-home_background.gif") top center repeat-x;
    width: 100%;
}

.content_home #content-left {
    float: left;
    height: 100%;
    width: 230px;
    padding-left: 8px;
}

.content_home #content-left h2 {
    text-align: center;
}

.content_home #content-right {
    float: right;
    text-align: right;
    height: 100%;
    width: 500px;
}


/* PAGE: CONTACTS */

.contacts #id_message {
    height: 10em;
}


/* PAGE: PRODUCT_LIST */

.product_list {
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 20px;
    width: auto;
}

.product_list td {
    vertical-align: top;
}

.product_list th {
}

.product_list p {
    padding-left: 3px;
    padding-right: 3px;
}

.product_list h1 {
    padding-top: 2px;
    margin-top: 2px;
    font-size: 1.2em;
}

.product_list h2 {
    color: black;
    font-size: 1.1em;
}

.product_list a:link, .product_list a:visited {
    color: #BF9A38;
}

.product_list a:hover {
    color: #BF9A38;
    text-decoration: none;
}


/* PAGE: PRODUCT_DETAIL */

.product_detail {
    background: white url("content-background.gif") top center repeat-x;
}

.product_detail #content-left {
    float: left;
    height: 100%;
    width: 150px;
    padding-left: 10px;
}

.product_detail #content-left h1 {
    padding-top: 2px;
    margin-top: 2px;
    font-size: 1.2em;
}

.product_detail #content-right {
    float: right;
    height: 100%;
    width: 550px;
    text-align: left;
}

#product_detail-bottom h1 {
    font-size: 1.2em;
    font-weight: normal;
    color: #BF9A38;
    padding-top: 2px;
    margin-top: 2px;
}

#product_detail-bottom .product_2 {
    margin: 0 4px 4px 0;
}

#product_detail-related_products {
    height: 100%;
    width: 48%;
    float: left;
}

#product_detail-related_recipes {
    height: 100%;
    width: 48%;
    float: right;
}


/* PAGE: RECIPE_DETAIL */

#recipe-footer_message {
    margin-top: 2em;
    text-align: center;
    font-size: 1.2em;
}

#recipe-related_products {
    margin: 0;
    padding: 0;
}

#recipe-related_products li {
    float: left;
    width: 31%;
    list-style: none;
    margin: 7px;
    padding: 0;
}

#recipe-related_products img {
    margin: 0 4px 4px 0;
}





/* GOOGLEMAP */

div#googlemap {
    height: 400px;
    margin-bottom: 10px;
    text-align: center;
    clear: both;
}


/* THUMBNAILVIEWER */

#thumbnailviewer_box { /* Outermost DIV for thumbnail viewer */
    position: absolute;
    left: 0;
    top: 0;
    width: auto;
    padding: 10px;
    padding-bottom: 0;
    background: #313131;
    visibility: hidden;
    z-index: 10;
    cursor: hand;
    cursor: pointer;
}

#thumbnailviewer_box .thumbnailviewer_footer { /* Footer DIV of thumbbox that contains "close" link */
    font: bold 16px Tahoma;
    letter-spacing: 5px;
    line-height: 1.1em;
    color: white;
    padding: 5px 0;
    text-align: right;
}


#thumbnailviewer_box #thumbnailviewer_image { /* DIV within thumbbox that holds the enlarged image */
    background-color: white;
    padding: 5px;
}

#thumbnailviewer_loading { /* DIV for showing "loading" status while thumbbox is being generated */
    position: absolute;
    visibility: hidden;
    border: 1px solid black;
    background-color: #EFEFEF;
    padding: 5px;
    z-index: 5;
}
