/*

* Custom code goes here.

* A template should always ship with an empty custom.css

*/

.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Prata', serif;
    text-transform: none;
}

.footer-newsletter .right.ApColumn .block {
    max-width: 545px;
    margin-left: auto;
    margin-right: auto;
}
.footer-newsletter .right.ApColumn .block .block_content {
    text-align: left;
}
.footer-newsletter .right.ApColumn .block .block_content .occhiello {
    font-size: 18px;
    color: #DB3056;
    font-weight: 600;
    font-family: 'Work Sans', sans-serif;
    margin-bottom: 25px;
}
.footer-newsletter .right.ApColumn .block .block_content .title {
    font-size: 35px;
    color: #101010;
    font-family: 'Prata', serif;
    text-transform: none;
    margin-bottom: 25px;
}
.footer-newsletter .right.ApColumn .block.block_newsletter form .input-wrapper {
    margin-left: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.footer-newsletter .right.ApColumn .block.block_newsletter form .col-xs-12 {
    display: flex;
    flex-wrap: wrap;
}

.bg-gradient {
    background: linear-gradient(90deg, rgba(219,48,86,1) 0%, rgba(133,29,65,1) 100%);
}

.block.info-with-icon {
    max-width: 255px;
    margin-left: auto;
    margin-right: auto;
}
.block.info-with-icon img {
    margin-bottom: 30px;
}
.block.info-with-icon .image_description .h3 {
    font-size: 22px;
    margin-bottom: 15px;
    text-align: center;
}
.block.info-with-icon .image_description p {
    font-size: 15px;
    font-weight: 300;
    text-align: center;
    color: #707070;
}

.box-bg-home .row {
    min-height: 830px;
}
.box-bg-home .row {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.box-bg-home .row:after {
    display: none;
}
.box-bg-home .row:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.1);
}
.box-bg-home .row > div {
    max-width: 700px;
    text-align: center;
    color: #fff;
}
.box-bg-home .row > div .h2 {
    font-size: 35px;
    margin-bottom: 20px;
    color: #fff;
}
.box-bg-home .row > div p {
    font-size: 18px;
    margin-bottom: 40px;
    color: #fff;
    font-weight: 300;
}
.box-bg-home .row > div .button-primary-standard {
    font-size: 18px;
}

.button-primary-standard,
.btn.btn-primary,
.cart-grid-right .cart-detailed-actions .btn,
.leo-bt-cart {
    display: inline-block;
    background: linear-gradient(90deg, rgba(219,48,86,1) 0%, rgba(133,29,65,1) 100%);
    color: #fff;
    border-radius: 8px;
    padding: 15px 20px;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    border: 0;
    outline: none;
}
.button-primary-standard:hover,
.btn.btn-primary:hover {
    color: #fff;
}

div.ApRow > .title-ap-group:before {
    display: none;
}
div.ApRow > .sub-title-ap-group {
    padding-bottom: 40px;
}

.button-centered {
    display: flex;
    justify-content: center;
}
.button-col-full {
    margin-bottom: 100px;
}

.container.small {
    width: 100%;
    max-width: 825px;
}

.slidetext2-h2 .h1 {
    color: #fff;
    font-size: 60px;
}
.mobile .button-primary-standard {
    font-size: 18px;
}

div.ApRow.box3-h2 > .sub-title-ap-group {
    padding-bottom: 100px;
}

@media (min-width: 992px) {
    .ApRow.box14-h2 .left,
    .ApRow.box14-h2 .center1,
    .ApRow.box14-h2 .center2,
    .ApRow.box14-h2 .right {
        padding-left: 30px;
        padding-right: 30px;
    }
}

/* LISTA PRODOTTI */
.leo-plist-style-6.customized .product-miniature {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
}
.leo-plist-style-6.customized .thumbnail-container .product-meta {
    padding: 20px;
}
.leo-plist-style-6.customized .thumbnail-container {
    margin-bottom: 0;
}
.leo-plist-style-6.customized .thumbnail-container .product-title a {
    font-size: 20px;
}
.leo-plist-style-6.customized .thumbnail-container .btn-product.add-to-cart, .leo-plist-style-6.customized .thumbnail-container .quick-view.add-to-cart {
    text-transform: none;
}

body#category #wrapper,
body#product #wrapper {
    background-color: #f3f3f3;
    padding-top: 15px;
}
body#product #wrapper #main > .row {
    display: flex;
    flex-wrap: wrap;
}
body#product #wrapper #main > .row:nth-child(1) {
    background-color: #fff;
    margin-left: 0;
    margin-right: 0;
    padding-top: 15px;
    padding-bottom: 15px;
    border-radius: 15px;
}
body#product #wrapper #main > .row:nth-child(1) > div:nth-child(2) {
    margin-top: 80px;
}
body#product .breadcrumb {
    margin-bottom: 20px;
}

.product_list.grid .ajax_block_product {
    margin-bottom: 30px;
}
.product_list.list .ajax_block_product {
    margin-bottom: 30px;
}

.block-category.card-block {
    background-color: transparent;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 30px;
    margin-bottom: 30px;
}
.block-category.card-block .h1 {
    text-align: center;
    font-size: 35px;
}
.block-category.card-block #category-description,
.block-category.card-block #category-description p {
    text-align: center;
    font-size: 18px;
    font-weight: 300;
}

body#cms .breadcrumb {
    margin-bottom: 20px;
    margin-top: 25px;
}
body#cms .title-page-cms {
    margin-bottom: 100px;
}
body#cms .title-page-cms .h1 {
    font-size: 35px;
}
body#cms .title-page-cms p {
    font-size: 18px;
    font-weight: 300;
}
.text-center {
    text-align: center;
}
body#cms .page-content.page-cms {
    padding: 0;
    margin: 0;
}

.divided-image-content {
    background-color: #f3f3f3;
}
.divided-image-content .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: 0;
    margin-right: 0;
}
.divided-image-content .row::before,
.divided-image-content .row::after {
    display: none;
}
.divided-image-content .row > div {
    padding-left: 0;
    padding-right: 0;
}
.divided-image-content.reverse .row > div:nth-child(1) {
    order: 1;
}
.divided-image-content.reverse .row > div:nth-child(2) {
    order: 0;
}
.divided-image-content .row .ApColumn:nth-child(2) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding-left: 100px;
}
.divided-image-content.reverse .row .ApColumn:nth-child(2) {
    justify-content: flex-end;
    padding-left: 0;
    padding-right: 100px;
}
.divided-image-content .row .ApColumn .content {
    max-width: 525px;
}
.divided-image-content .row .ApColumn .image {
    display: flex;
    height: 100%;
}

.divided-image-content .row .ApColumn .image img {
    width: auto;
    height: 100%;
    object-fit: cover;
}
.divided-image-content .row .ApColumn .content .h3 {
    font-size: 25px;
    margin-bottom: 25px;
}

body#cart #wrapper,
body#checkout #wrapper {
    padding-top: 100px;
}

#left-column #search_filters_wrapper {
    margin-bottom: 30px;
    background: #FFFFFF;
    border: 1px solid #f2f2f2;
    padding: 15px;
    border-radius: 8px;
}
#search_filters > p {
    text-transform: none !important;
    font-size: 22px;
    font-weight: 700;
}
#search_filters .facet .facet-title {
    font-size: 18px;
    font-weight: 700;
    text-transform: none;
    font-family: 'Work Sans', sans-serif;
}

.product-additional-info {
    margin-top: 25px;
}

.box1-h2 .center ul li a {
    line-height: 1!important;
}

#leo_block_top.popup-over .popup-content {
    min-width: 400px;
}

#delivery label {
    text-align: left;
}

@media (max-width: 1500px) {
    .box4-h2 .right {
        padding-left: 50px;
        padding-right: 50px;
    }
    
    .box4-h2 .block_content {
        padding-bottom: 50px;
    }
}

@media (max-width: 1300px) {
    .divided-image-content .row .ApColumn:nth-child(2),
    .divided-image-content.reverse .row .ApColumn:nth-child(2) {
        padding: 30px;
    }
 
}

@media(max-width: 991px) {
    .box4-h2 .block_content p,
    .divided-image-content .row .ApColumn .content {
        max-width: unset !important;
    }

    .divided-image-content .row .ApColumn:nth-child(2), 
    .divided-image-content.reverse .row .ApColumn:nth-child(2) {
        padding-bottom: 10px;
    }
}

@media(max-width: 767px) {
    #leo_search_block_top {
        bottom: unset !important;
        top: -38px;
        right: 35px;
    }
    
    #leo_search_block_top.show form {
        right: 0;
        min-width: 250px;
    }

    .box13-h2 .right .block_newsletter form input[type=email] {
       max-width: unset;
       width: 100%;
    }

    .box13-h2 .right .block_newsletter form button {
        max-width: unset;
       width: 100%;
    }

    .box13-h2 .right {
        padding: 25px 30px !important;
    }

    body#checkout section.checkout-step .forgot-password {
        margin-left: 0!important;
    }

}

@media (max-width: 991px) and (min-width: 768px) {
    .box13-h2 .right .block_newsletter form button {
        margin-top: 0 !important;
    }
}

@media (max-width: 476px) {
    #leo_block_top.popup-over .popup-content {
        min-width: 230px;
    }
}

.link-alternative-registration {
    margin: 30px auto;
    display: flex;
}

.link-alternative-registration  a {
    margin: 0 auto;
    text-align: center;
}



.account-home .title {
    font-size: 35px;
    color: #101010;
    font-family: 'Prata', serif;
    text-transform: none;
    margin-bottom: 25px;
}

.account-home .ApColumn {
    padding: 100px 0;
}

.account-home .ApColumn:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 12px;
    width: 1px;
    height: 70%;
    border-left: 1px solid #f3f3f3;
    transform: translateY(-50%);
}

@media (max-width: 991px) {

    .account-home .ApColumn {
        padding: 60px 0;
    }

    .account-home .ApColumn:after {
        display: none;
    }

    .account-home .ApColumn:nth-child(1) {
        background-color: #F3F3F3;
    }
}

.account-home .ApColumn .block {
    max-width: 545px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

