
/**
 * Grid container
 */
#tiles {
    list-style-type: none;
    position: relative; /** Needed to ensure items are laid out relative to this container **/
    margin: 0 5px;
    padding: 0;
}

#tiles2 {
    list-style-type: none;
    position: relative; /** Needed to ensure items are laid out relative to this container **/
    margin: 0 5px;
    padding: 0;
}

/**
 * Grid items
 */
#tiles li {
    width: 236px;
    background-color: #ffffff;
    border: 1px solid #dedede;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    display: none; /** Hide items initially to avoid a flicker effect **/
      cursor: pointer;
    padding: 0px;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
}

#tiles2 li {
    width: 58px;
    background-color: #ffffff;
    border: 1px solid #dedede;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    display: none; /** Hide items initially to avoid a flicker effect **/
      cursor: pointer;
    padding: 0px;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
}

#tiles li img {
    display: block;
    /*width: 100%;*/
    /*height: auto;*/
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

#tiles2 li img {
    display: block;
    width: 100%;
    height: auto;
}

/**
 * Grid item text
 */
#tiles li p {
    color: #666;
    font-size: 12px;
    margin: 7px 0 0 7px;
}

#tiles2 li p {
    color: #666;
    font-size: 7px;
    margin: 7px 0 0 7px;
}
/** General page styling **/



header h1 {
    text-align: center;
    font-size: 24px;
    font-weight: normal;
    margin: 30px 0 3px 0;
}

header p {
    text-align: center;
    font-size: 13px;
    color: #777;
    margin: 0;
}

ul.list2cols {
    float: left; 
    width: 150%; 
    margin: 0 0 1em 0;
}

ul.list2cols li {
    float: left; 
    width: 50%;
}


.loading-message {
        margin-top: 1px;
        padding: 8px 15px 8px 15px;
        background-color: #ffffff;
    border: 1px solid #dedede;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

img.grayscale {
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+, Firefox on Android */
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
}

.featured-product {
    margin-top: 1px;
    padding: 8px 15px 8px 15px;
    background-color: #ffffff;
    border: 1px solid #dedede;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}


/*Gestione messaggi di alert e warning per validation Message di MVC*/

.field-validation-error {
    color: #b94a48;
    display: inline-block;
    *display: inline;
    padding-left: 5px;
    vertical-align: middle;
    *zoom: 1;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    
    border: 1px solid #ff0000;
    background-color: #ffeeee;
    
    color: #b94a48;
    border-color: #b94a48;
}

.input-validation-error:focus {
  border-color: #953b39;
  -webkit-box-shadow: 0 0 6px #d59392;
  -moz-box-shadow: 0 0 6px #d59392;
  box-shadow: 0 0 6px #d59392;
}

.validation-summary-errors {
    /*font-weight: bold;*/
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}