/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

a {
    color: #986A08;
} 

a:focus, a:hover {
    color: #824416;
}

.top-menu .sub-menu {
    box-shadow: 2px 1px 11px 2px rgba(0,0,0,.1);
    border: none;
    margin-left: .9375rem;
    width: inherit;
    min-width: inherit;
    z-index: 18;
    position: absolute;
}
#header .menu, #header .menu>ul>li {
    display: inline-block;
    position: relative;
}
.top-menu .sub-menu ul[data-depth="1"]>li {
    float: left;
    margin: 0 1.25rem;
    clear: both;
}

#wrapper {
    background-image: url(https://staging.famigliasalvatelli.it/themes/child_classic/immagini/grano-texture-schiarita.jpg);
    background-size: cover;
}

.product-container {
    background-color: #fff;
    padding: 20px;
}

#header .top-menu a[data-depth="0"]:hover {
    color: #986A08;
}

#header a:hover {
    color: #986A08;
}

.dropdown:hover .expand-more {
    color: #986A08;
}

#products .highlighted-informations .quick-view:hover, .featured-products .highlighted-informations .quick-view:hover, .product-accessories .highlighted-informations .quick-view:hover, .product-miniature .highlighted-informations .quick-view:hover {
    color: #986A08;
}

/* Menu a tendina ordinamento prodotti */
.products-sort-order .select-list:hover {
    background: #986A08;
}

/* Rimuove il popup di anteprima dei prodotti */
.highlighted-informations {
    display: none;
}

/* Search box */
.search-widget form input[type="text"]:focus {
    outline: 3px solid #986A08;
}

.search-widget form input[type="text"]:focus + button .search {
    color: #986A08;
}

/* Breadcrumb */
.breadcrumb {
    background: #e9cc99 !important;
    margin-left: -15px;
    margin-right: -15px;
    margin-bottom: 0px;
    padding-left: 10px !important;
    padding-bottom: 5px !important;
    padding-top: 5px !important;
}

/* Paginazione */
.pagination .current a {
    color: #986A08;
}

/* Testata categorie */
.block-category {
    min-height: 4.5rem;
    background: #824416;
}

.block-category h1 {
    color: #fff;
}

/* Blocco di testo homepage */
.titolo-blocco-testo-home {
    background: #824416;
    padding-top: 0.5rem;
    padding-bottom: 0.1rem;
    margin-bottom: 1.2rem;
}

#custom-text {
    background: #e9cc99;
}

#custom-text h2 {
    color: #fff;
}

#custom-text p {
    line-height: 1.5rem;
}

/* SCHEDA PRODOTTO */
/* Nome prodotto */
.h1, h1 {
    font-size: 1.75rem;
    color: #824416;
}

/* Descrizione breve */
.product-information p {
    font-size: 1.1rem;
    color: black;
}

.product-description ul {
    font-size: 1.1rem;
    line-height: normal;
    list-style-position: outside !important;
}

/* Add to cart button */
.btn-primary {
    color: #fff;
    background-color: #986A08;
}

.btn-primary.focus, .btn-primary:focus, .btn-primary:hover, .btn-primary:active {
    background-color: #824416;
}

/* Prezzo */
.product-price {
    color: #986A08;
    font-size: 2rem;
}

/* Anteprime foto prodotto */
.product-images > li.thumb-container > .thumb.selected, .product-images > li.thumb-container > .thumb:hover {
    border: 3px solid #986A08;
}

/* Elenco policy */
.blockreassurance_product p {
    font-size: 0.8rem;
}

/* Tab descrizione prodotto */
.tabs .nav-tabs .nav-link.active, .tabs .nav-tabs .nav-link:hover {
    border-bottom: 3px solid #986A08;
}

.tabs .nav-tabs .nav-link.active {
    color: #986A08;
}

.tab-content .product-description p {
    font-size: 1.025rem;
    line-height: normal;
    color: #7a7a7a;
}

.data-sheet .name {
    text-transform: none !important;
    font-weight: bold !important;
}

.data-sheet .value {
    text-transform: none !important;
}

/* Prodotti correlati */
.product-accessories {
    background-color: #fff;
    margin-left: -15px;
    margin-right: -15px;
    padding-top: 20px;
    padding-left: 15px;
}

.product-accessories .h5 {
    color: #824416;
    font-size: 1.1rem;
    padding-left: 15px;
}

.featured-products {
    background: #fff;
    padding: 20px 10px 10px 10px;
    margin-bottom: 20px;
}

.featured-products h2 {
    font-size: 1.1rem;
    padding-left: 15px;
    color: #824416;
}

#product .featured-products {
    background: #e9cc99;
    margin-left: -15px;
    margin-right: -15px;
    margin-top: 0px !important;
}

/* Flag nuovi prodotti */
.product-flags li.product-flag {
    background: #986A08;
}

/* SHOPPING CART */
/* Popup add to cart */
#blockcart-modal .product-name {
    color: #986A08;
}

/* RICETTE */
/* Layout pagina elenco ricette */
#cms #content li {
    display: flex;
    flex-wrap: wrap;
    width: 33%;
    float: left;
    padding-right: 1rem;
}

#cms #content li > a:last-child {
    background: #e9cc99;
    font-weight: bold;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    padding-left: 0.3rem;
    margin-bottom: 0.85rem;
    width: 100%;
    min-height: 3rem;
}

.no-colonne li {
    display: list-item !important;
    width: auto !important;
    float: none !important;
    padding-right: 0 !important;
    color: #000;
}

@media screen and (max-width: 768px) {
    #cms #content li {
        width: 50%;
    }
}

/* Layout pagina ricetta */
.page-header h1 {
    background: #fff;
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 10px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.page-content {
    margin-left: -15px;
    margin-right: -15px;
    margin-top: -35px;
}

/* Tabella ingredienti ricette */
.elenco-ingredienti tr:nth-child(even) {
    background-color: #E9CC99;
}

.elenco-ingredienti tr:nth-child(odd) {
    background-color: #eee;    
}

.elenco-ingredienti th, td {
    padding: 5px 10px;
}

.elenco-ingredienti {
    margin-bottom: 40px;
}

.page-cms p {
    color: #000;
    font-size: 1rem;
}

.page-cms h3 {
    color: #824416;
}

.colonna-ingredienti {
    float: left;
    margin-right: 20px;
}

.colonna-procedimento {
    overflow: auto;
}

@media screen and (max-width: 991px) {
    .colonna-ingredienti {
     float: none;
    }
}

.layout-ingredienti {
    margin-top: 20px;
}