#footer {
    background-color: #F5F5F5;
    border-bottom: 1px solid transparent;
    border-top: 1px solid #DDD;
    margin-top: 1.5em;
    font-size: 14px;
    text-align: center;
}
#footer #summary, #footer #vendor {
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}
#footer #summary .separator {color: #999;}
#footer #vendor a, #footer #vendor a:hover {color: gray;}

.summary, .social {padding: 0 20px;}

.logoCSW {font-size: 12px;}

.logo {margin: 1em 0;}

#language input[type="image"] {margin: 0;}

.navbar-inner {padding: 0 10px;}

.navbar .btn {margin: 9px 0 9px 9px; padding: 6px;}

@media (max-width: 979px)
{
    .navbar .nav {margin: 9px 0;}
}

@media (max-width: 767px)
{
    #account ul {margin-top: 0;}
    .logoCSW {float: none;}
}

.breadcrumb {margin: 6px 0 18px 0;}

h2.title {
	border-bottom: 1px solid #EEE;
	line-height: 24px;
	margin: 6px 0 18px 0;
	padding: 13px 17px;
	background-color: #F8F8F8;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
	border-radius: 4px;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

/* menu sx */

@media (max-width: 767px)
{
    #leftmenu {display: none !important;}
}

#leftmenu h3 {padding-left: 4px;}

#catalogmenu .menuExplode, #catalogmenu .menuCollapse {
    cursor: pointer;
	float: right;
    padding: 8px 12px;
}

#catalogmenu .menuExplode, #catalogmenu .menuCollapse {cursor: pointer;}

#catalogmenu .menuExplode, #catalogmenu .menuCollapse, #catalogmenu .subcategory {display: none;}

#catalogmenu .subcategory  {margin: 5px 0 6px 12px;}

#advancedsearchmenu > form {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
	border-radius: 4px;
	border: 1px solid #DDD;
	padding: 1em;
}
#advancedsearchform > form {margin: 0;}

/* language selector */

#language {margin-top: 1em; text-align: right;}

.selectlanguage {display: inline; margin: 0;}
.selectlanguage input[type="image"] {vertical-align: middle;}
.selectlanguage select {height: 24px; margin: 0;}

/* account */

#account {margin: 1em 0 1.5em;}
#account a.btn {padding-left: 15px; padding-right: 15px;}
@media (max-width: 767px)
{
    #account {margin: 0;}
}

#account .username {font-style: italic; font-weight: bold;}
#account .caret {margin-left: 5px;}

#account ul.dropdown-menu li {margin-top: 5px;}
#account ul.dropdown-menu li:first-child {margin-top: 0;}

/* products search */

#search form {margin: 1em 0;}
#search .input-append {margin: 0;}
#search .search_product {margin: 0; max-width: 480px; width: 75%; height: 27px; font-size: 15px; padding: 4px 8px;}
#search .add-on {height: 37px; width: 37px;}

/* cart-box */

#cart-box a {color: #FFF}
#cart-box a:hover {text-decoration: none;}
.cart-box {
	background: url("../images/horizontal-bar-active.png") repeat-x scroll 50% 0 #A44322;
	border-width: 1px;
	border-style: solid;
	border-color: #E07D62;
	-webkit-border-radius: 4px;
    -moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), 0 -1px 0 rgba(0, 0, 0, 0.1) inset;
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), 0 -1px 0 rgba(0, 0, 0, 0.1) inset;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), 0 -1px 0 rgba(0, 0, 0, 0.1) inset;
	padding: .5em .8em;
	color: #FFF;
	margin-top: 1em;
	margin-bottom: 1em;
}
.cart-box .cart-icon {
	background: url("../images/cart-div.png") no-repeat scroll 100% 0 transparent;
	float: left;
	padding-right: 6px;
}
.cart-box .cart-tot {
	text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.4);
	font-weight: bold;
	font-size: 30px;
	line-height: 140%;
	padding-left: 9px;
}

#cart_dialog > div {margin-top: 9px;}
#cart_dialog .cart {overflow-y: auto; max-height: 420px;}
#cart_dialog .cart .table {border-bottom: 1px solid #DDD;}
#cart_dialog .cart .table tr:first-child td {border-top: none;}
#cart_dialog .cart .table img {max-width: 48px;}
#cart_dialog .cart_total {margin-bottom: 18px; font-size: 15px; text-align: center;}
#cart_dialog .cart_total > span {color: #666;}
#cart_dialog a.btn {color: #333;}
#cart_dialog a.btn-success {color: #FFF; float: right;}
#cart_dialog .fill_the_cart a {color: #0088CC;}

/* toolbar */

.toolbar .label {
    background-color: #FFF;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
	border-radius: 0;
    color: #333;
    font-size: none;
    font-weight: bold;
    padding: none;
    text-shadow: none;
}
.toolbar .label:hover {
    color: #333;
    text-decoration: none;
}

.toolbar span.label, .toolbar span.pagerLabel {
	font-size: 13px;
    font-weight: bold;
    line-height: 33px;
    padding: 2px 4px 3px;
}

.toolbar .sorter {float: right; margin-left: 16px; white-space: nowrap;}
.toolbar .page_summary {float: left; margin-right: 16px;}
.toolbar .pager {margin-bottom: 0;}

.toolbar .pager a {padding: 0; background-color: #FFF; border: 0; display: initial;}

.toolbar .sorter form {margin-bottom: 0;}
.toolbar .sorter form select {display: initial; margin-bottom: 6px; width: auto;}
.toolbar .sorter img {vertical-align: text-bottom;}

/* Dettaglio Prodotto */

#product .product_image {margin: 0 24px 18px 0;}
.product_image {
	background-color: #FFF;
	-webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
	-webkit-border-radius: 2px;
    -moz-border-radius: 2px;
	border-radius: 2px;
	padding: 1em;
    line-height: initial;
	text-align: center;
}

.product_description, .product_detail {margin-bottom: 18px;}
.product_description h3 {color:#5F5F5F; margin-top: 6px;}
.product_detail {line-height: 20px;}
.product_info table.table td.th {font-weight: bold;}
.product_info table.table td:first-child {width: 44%;}

.zoomable {cursor: url("../images/zoom.png"), pointer !important;}
.zoom {
    display: none;
    text-align: center;
    vertical-align: middle;
}

.miniature {
    background-color: #FFF;
	-webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
	-webkit-border-radius: 2px;
    -moz-border-radius: 2px;
	border-radius: 2px;
    padding: .25em;
    line-height: initial;
    margin: 0 24px 18px 0;
}
.miniature img {width: 48px; cursor: pointer;}

.attachments td {vertical-align: middle;}
.attachments tr td:first-child {width: 24px;}
.attachments tr td:last-child {width: 36px;}

.add_to_wish_list {margin-top: 18px;}

.add_to_cart span {font-weight: bold;}

/* Tabella Prodotti */

table .product_description .label {
	font-weight: normal;
	font-size: 10px;
	text-shadow: none;
	white-space: nowrap;
}
table .product_description .description {display: block;}
table small.code {
    display: block;
    margin-top: 6px;
}
small.code {
    color: gray;
    font-size: 90%;
}

/* Catalogo */

p.product_description {margin: 1em 0 0;}
#featured_products p.product_description, #related_products p.product_description, #substitute_products p.product_description {margin: 1.5em 0 2.5em; text-align: center;}
p.product_description .description {display: block;}

.categories div.span3 a, .products div.span3 a img {
	background-color: #FFF;
    border: 1px solid rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
	-webkit-border-radius: 2px;
    -moz-border-radius: 2px;
	border-radius: 2px;
	display: block;
	margin: .5em auto;
	padding: 1em;
	text-align: center;
}
.categories div.span3 .category_description {
	display: block;
	min-height: 40px;
    margin: 0;
    padding: 1em 0 0;
	font-size: 1.2em;
}

table .add_to_cart > form {margin-bottom: 9px;}

.cart_quantity {white-space: nowrap;}
#product .cart_quantity {margin-top: -9px;}
.shopping .cart_quantity .quantity {font-weight: bold;}

.displayCartQuantity {background-color: #FCF8E3;}

.products table, .wish_list table {
    margin-bottom: 9px;
    border-bottom: solid 1px #DDD;
}

.products table a:hover, .products div.span3 a:hover, .categories div.span3 a:hover {text-decoration: none;}

.ascendingOrdering, .descendingOrdering {cursor: pointer;}

.search_params input[type="text"], .search_params select {max-width: 92%;}

.products_catalog .alert, .products_catalog form {margin: 0;}

.iva {font-size: 90%; color: gray; white-space: nowrap;}

.products_catalog .add_to_cart {margin-top: 9px;}
.products_catalog .cart_quantity {white-space: normal;}

#featured_products .products {margin-bottom: 0;}

.products, .categories, .cart, .wish_list, .order_summary, .shipping_addresses {
    overflow-x: auto;
    overflow-y: hidden;
    /*-webkit-overflow-scrolling: touch;*/
    margin-bottom: 18px;
}
.products > table, .cart > table, .wish_list > table, .order_summary > table, .shipping_addresses > table {margin-bottom: 0;}
.products > table img, .cart > table img, .wish_list > table img, .order_summary > table img, .shipping_addresses > table {max-width: initial;}

/* Carrello */

p.fill_the_cart {margin-bottom: 18px;}

.cart table a:hover {text-decoration: none;}
.edit_item_quantity {min-width: 7em;}
.edit_item_note textarea, .show_item_note textarea {width: auto;}
.show_item_note textarea {
    background-color: #FFF;
    border-color: #CCC;
    cursor: default;
}
p.umconv {
	margin: -5px 0 10px 0;
	font-style: italic;
	font-size: 90%;
}

.total_items, .total_items > a {float: right;}
@media (max-width: 767px) {
    .total_items, .total_items > a {float: none;}
    .total_items {display: table; margin-bottom: 18px;}
}
.total_items table td:last-child {text-align: right;}
.total_items p.total {
    font-size: 30px;
    line-height: normal;
    margin: 0;
    padding: 18px;
}
.total_items p.total > span {color: Silver;}

#cart .product_info > table, #checkout .product_info > table, .edit_item_delivery_date > form {margin: 0 0 9px;}
#cart .product_image, #checkout .product_image {margin: 0;}
#checkout .payment_types img {vertical-align: top;}
#checkout form {margin: 0;}
#checkout .field-validation-error {
    margin-bottom: 9px;
    display: block;
}

.payment_types, .new_alternative_address {
    font-weight: normal;
    text-decoration: underline;
    margin-bottom: 9px;
    display: inline-block;
}
#shipping_data .control-group:last-child {margin: 0;}

/* Wish List */

.fill_the_wish_list {margin-bottom: 18px;}

.wish_list table a:hover {text-decoration: none;}

/* misceallaneous */

table.table tr th {background-color: #F5F5F5;}

.deleteConfirmation {text-align: center;}

/* flash message */

.flash {
    background-color: #FCF8E3;
    border: 1px solid #FBEED5;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
	border-radius: 4px;
    color: #C09853;
    margin: 9px 0 18px 0;
    padding: 8px 35px 8px 14px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
.notice {
    background-color: #DFF0D8;
    border-color: #D6E9C6;
    color: #468847;
}
.error {
    background-color: #F2DEDE;
    border-color: #EED3D7;
    color: #B94A48;
}

/* ajax loader */

#loader {
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #FFF;
    filter: alpha(opacity=75);
    opacity: 0.75;
    z-index: 101;
}

#loader img {position:fixed;}

/* Validation Helpers */

.validation-summary-valid {display: none;}
.validation-summary-errors ul {margin-bottom: 0;}
.validation-summary-errors li {margin-top: 5px;}

.field-validation-valid {display: none;}
.field-validation-error {
    color: #ff0000;
    /*white-space: nowrap;*/
    display: block;
    margin-top: -3px;
}

/* User Authentication */

.login-box {
	background-color:#FFFFFF;
	-webkit-border-radius: 15px;
	   -moz-border-radius: 15px;
	        border-radius: 15px;
	margin-top: 60px;
	-webkit-box-shadow: 0 0 5px #888;
	   -moz-box-shadow: 0 0 5px #888;
	        box-shadow: 0 0 5px #888;
}
.login-form {
    border-left: solid 1px #ddd;
	margin: 10px 25px 10px 0;
	padding-left: 25px;
}
.login-logo {
	margin-top: 70px;
    padding-left: 25px;
    text-align: center;
}

@media (max-width: 767px) {
	.login-form {border-left: none;}
	.login-logo {margin: 10px 25px 10px 0;}
}

.login-form legend {margin-bottom: 0;}

legend + .validation-summary-errors, legend + .notifications, legend + .alert {
    margin-top: 18px;
    -webkit-margin-top-collapse: separate;
}

.login-form .field-validation-error {
    display: block;
    margin-bottom: 9px;
    margin-top: -6px;
}

div.login-form .title {
    border-bottom: 1px solid #e5e5e5;
    background-color: white;
    border-radius: 0;
    box-shadow: none;
    padding: 13px 0;
    font-size: 18px;
}
div.login-form div.form-actions{
    background-color: white;
    padding-bottom: 0;
    padding-left: 0;
}
#footer.login {background-color: initial; border-top: 0;}
#footer.login .logoCSW {float: none; padding: 0;}

body.thm-gray {
    background: #FFFFFF;
    background: -moz-linear-gradient(top, rgba(0,0,0,0.25) 0, rgba(0,0,0,0) 230px);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0,rgba(0,0,0,0.25)), color-stop(230px,rgba(0,0,0,0)));
    background: -webkit-linear-gradient(top, rgba(0,0,0,0.25) 0, rgba(0,0,0,0) 230px);
    background: -o-linear-gradient(top, rgba(0,0,0,0.25) 0, rgba(0,0,0,0) 230px);
    background: -ms-linear-gradient(top, rgba(0,0,0,0.25) 0, rgba(0,0,0,0) 230px);
    background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 230px);
    background-repeat: no-repeat;
}

/* Account */

#logon p.notifications,
#register p.notifications,
#activate p.notifications,
#get_activation_code p.notifications,
#change_password p.notifications,
#reset_password p.notifications,
#username_forgotten p.notifications {margin-bottom: 18px; font-weight: bold;}

#register textarea {
    background-color: #FFF;
    border-color: #CCC;
    cursor: default;
    width: 98%;
}

/*#validation-message-for-note-legali > span.field-validation-error {white-space:normal;}*/

@media (min-width: 768px) {
    .first-column, .second-column {float: left; width: 50%;}
    .first-column, .single-column {clear: left;}

    .first-column .field-validation-error, .second-column .field-validation-error {padding-right: 18px;}
}

/* Consumer */

#show_consumer {margin-bottom: 18px;}

#show_consumer table td:first-child {
    width: 44%;
    font-weight: bold;
}

#shipping_addresses td {vertical-align: middle;}

/* News */

.news h3 i {vertical-align: baseline;}

/* Orders */

#imported_orders {margin-top: 18px;}

.show_order_note textarea {width: auto;}
.order textarea , .show_order_note textarea {
    background-color: #FFF;
    border-color: #CCC;
    cursor: default;
}

.order_header table.table td:first-child {
    width: 44%;
    color: gray;
}

.order_summary .product_info > table {margin: 0 0 9px;}

#order_bills .order_bill,
#order_invoices .order_invoice {
    border-top: 1px solid #CCC;
    margin-top: 6px;
    padding-top: 6px;
}
#order_bills .order_bill:first-child,
#order_invoices .order_invoice:first-child {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

.order address {margin: 0}

.PayPalPayment > td {text-align: center;}
.PayPalPayment form {margin: 0;}

.delivered_quantity, .confirmed_delivery_date {margin-top: 9px; border-top: 1px solid #ddd; padding-top: 9px;}
.delivered_quantity label, .confirmed_delivery_date label {font-weight: bold;}

.dxgvControl {font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif !important;}
.dxgvControl form {margin: 0;}
.dxgvControl input[type="image"] {width: auto;}
.dxgvControl input[type="text"] {
    border: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    margin: 0;
    padding: 2px 0px;
    min-width: 10px;
}
.dxgvControl img {max-width: none;}
/*.dxgvControl tbody tr:first-child td:first-child > div:nth-child(2) {-webkit-overflow-scrolling: touch;}
.dxgvFilterPopupItemsArea {-webkit-overflow-scrolling: touch;} */

.pending_orders, .imported_orders, .bills, .invoices {
    overflow-x: auto;
    overflow-y: auto;
    /*-webkit-overflow-scrolling: touch;*/
    margin-bottom: 18px;
    max-height: 420px;
}
.pending_orders > table, .imported_orders > table, .bills > table, .invoices > table {margin-bottom: 0;}
.pending_orders > table img, .imported_orders > table img, .bills > table img, .invoices > table img {max-width: initial;}

.cs-required label:after, label.cs-required:after {
    /*color: #FF0000;*/
    content: ' *';
    display: inline;
}

.cs-required2 label:after, label.cs-required2:after {
    /*color: #FF0000;*/
    content: ' **';
    display: inline;
}

.ui-autocomplete {
    -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -khtml-border-top-left-radius: 4px; border-top-left-radius: 14px;
    -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; -khtml-border-top-right-radius: 4px; border-top-right-radius: 14px;
    -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; -khtml-border-bottom-left-radius: 4px; border-bottom-left-radius: 14px;
    -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; -khtml-border-bottom-right-radius: 4px; border-bottom-right-radius: 14px;
}

div#search ul.ui-autocomplete li:nth-child(3) {
    border-top: 1px solid #CCC;
    margin-top: 2px;
    padding-top: 2px;
}
div#search ul.ui-autocomplete li:nth-child(1) a, div#search ul.ui-autocomplete li:nth-child(2) a {color: #BB1B11;}

.ui-dialog-content > div, .ui-dialog-content > p {margin-top: .5em;}
.ui-dialog form {margin: 0;}

@media (max-width: 767px)
{
    .hiddenMobile {display: none !important;}
}
@media (min-width: 768px) and (max-width: 979px)
{
    .hiddenTablet {display: none !important;}
}
@media (min-width: 980px)
{
    .hiddenDesktop {display: none !important;}
}

.social {margin-top: 18px;}
.social img {
	width: 36px;
	padding: 0 4px;
}
.nowrap {white-space: nowrap;}

/* BUG Bootsptrap */

@media (max-width: 480px)
{
    .input-prepend input[class*="span1"], .input-append input[class*="span1"]
    {
        width: 50px;
    }
}