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

/* Add to cart buttons block in Product page */
#product .product-actions .product-add-to-cart-product-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.paypal-installment-banner {
    flex-shrink: 0;
    padding: 5px 0;
    width: 100%;
}

.paypal-bnpl-button-box {
    margin: 1em 0 0;
}

.data-container-express-checkout {
    margin: 1em 0 0;
}

.paypal-buttons-context-iframe {
    position: relative;
    z-index: 99;
}

/* Temporary fix, need add subcategories images */
.product-list-subcategories {
    display: none;
}

/* Search widget in displayTop */
#desktop-header .search-widget {
    display: flex;
    justify-content: center;
    margin-bottom: 1em;
    max-width: 100%;
    width: 100%;
}

#desktop-header .search-widget form {
    flex-shrink: 0;
    width: 60%;
}

/* Footer social links */
.footer-container-social-links {
    background: rgba(33, 33, 33, .53);
    padding: 1.875rem 0;
}

.footer-social-links {
    display: flex;
    justify-content: center;
}

.footer-social-links a {
    margin: .8em;
}

#footer #footer-container-first {
    padding: 0;
}
#history .history-reorderbtn,
#history .history-detailbtn
{
    display: flex;
    font-size: 20px;
    border: 1px solid;
    border-radius: 4px;
    align-items: center;
}
.page-customer-account #content .order-actions .history-detailbtn,
.page-customer-account #content .order-actions .history-reorderbtn
{
    padding: 10px;

}
/* IqitMegaMenu */
.cbp-hrmenu .cbp-menu-column .cbp-menu-column-inner .cbp-menu-column {
    margin-top: 3px;
}

.my-shop-2 .container.iqit-megamenu-container,
.my-shop-2 .container.container-iqitmegamenu {
    max-width: 96%;
}

.my-shop-2 .container.container-iqitmegamenu #cbp-hrmenu {
    padding-top: .6em;
}

.my-shop-2 .stuck .container.container-iqitmegamenu #cbp-hrmenu {
    padding-top: 0;
}

.my-shop-2 .container.iqit-megamenu-container #cbp-hrmenu > ul > li,
.my-shop-2 .container.container-iqitmegamenu #cbp-hrmenu > ul > li {
    max-width: 11%;
}

.my-shop-2 .container.iqit-megamenu-container #cbp-hrmenu > ul > li .cbp-mainlink-iicon,
.my-shop-2 .container.container-iqitmegamenu #cbp-hrmenu > ul > li .cbp-mainlink-iicon {
    max-width: 100%;
}

/* Contact form in https://www.ibericafood.com/content/94-contact-us */
.contact-form-subject {
    display: none !important;
}

/* Home page slider images */
.home-image-list .swiper-slide {
    text-align: center;
}

/* Fixing the Elementor "Images list" "Carousel settings" bug, when "Slides to show" is set to 1, but not working */
#index .elementor-hidden-desktop .elementor-image-carousel .swiper-slide,
#index .elementor-hidden-tablet .elementor-image-carousel .swiper-slide {
    width: 100% !important;
}

/* Home page tabs */
.elementor-products-tabs .nav-link {
    border-bottom: 3px solid white;
    margin-bottom: 8px;
    padding-bottom: 2px;
}

/* Icon "On sale" etc. */
.product-flags .discount, .product-flags .on-sale {
    align-items: center;
    display: flex;
    justify-content: center;
    line-height: normal;
}

/* Address fields */
.block-of-company-fields {
    background-color: #f0eee8;
    margin-bottom: 1em;
    padding: 1em 1em .2em;
}

/* Product price block */
.please-login-for-price {
    color: saddlebrown;
    font-style: italic;
    font-size: .8em;
}

/* Copied from IqitThemeEditor Backoffice Custom CSS */
.justify-content-end {
    -ms-flex-pack: end !important;
    justify-content: flex-end !important;
    margin-top: 0px !important;
}

.ets_cfu_box {
    display: flex;
    display: -webkit-flex;
    width: 90%;
    margin-bottom: 15px;
    margin-left: 5%;
}

.tp-widget-wrapper {
    text-align: center;
    margin-left: -267px;
}

.text-right {
    text-align: center !important;
}

.cart-products-count-btn {
    background: #f15933;
    color: #fff;
}

.products-selection {
    margin: 1rem 0;
    padding: .8rem 0;
    border-top: 1px solid rgba(255, 255, 255, .25);
    border-bottom: 1px solid rgba(160, 160, 160, .25);
}

.my-shop-1 #header .header-btn-w {
    padding: 0 0.5rem;
    margin-top: -74px !important;
}

.product-flags .discount, .product-flags .on-sale {
    background: #f15933;
    color: #fff;
    border-radius: 50px;
    height: 65px;
    /* line-height: 53px; */
    width: 65px;
    text-align: center;
}

.product-flags .product-flag {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    text-transform: none;
}

.product-miniature-default li.product-flag {
    margin-top: .3rem;
    text-align: center;
}

body#checkout section.checkout-step .step-number {
    display: inline-block;
    color: #000;
    text-align: center;
    line-height: 50px;
    border: 1px solid #666;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    margin-right: 10px;
}

.lgcookieslaw-banner-message p {
    color: #fff;
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 14px;
    padding-bottom: 0;
}

.lgcookieslaw-button-container .lgcookieslaw-reject-button,
.lgcookieslaw-button-container .lgcookieslaw-accept-button {
    text-align: center;
    min-height: 35px;
    cursor: pointer;
    font-size: 18px;
    text-transform: uppercase;
    background-color: #8bc954;
    border-color: #8bc954;
    color: #fff;
}

.product-flags .online-only, .product-flags .pack {
    background: #f15933;
    color: #fff;
    border-radius: 50px;
    height: 65px;
    line-height: 53px;
    width: 65px;
    text-align: center;
}

.product-flags .new {
    background: #f0eee9;
    color: #000;
    border-radius: 50px;
    height: 65px;
    line-height: 53px;
    width: 65px;
    text-align: center;
}

.fa-search::before {
    color: #f15933 !important;
}

body#checkout section.checkout-step .payment-options .payment-option {
    margin-bottom: 0.5rem;
    padding-bottom: 10px;
    padding-top: 5px;
}

body#checkout section.checkout-step #conditions-to-approve {
    padding-top: 1rem;
    border-top: 1px rgba(160, 160, 160, .25) solid;
}

.elementor-widget-heading .elementor-heading-title {
    color: #181818;
}

/* Category description added to category in Page builder */
.my-shop-2 .category-description {
    margin-bottom: 1em;
    margin-top: 1em;
}

@media (min-width: 992px) {
    .my-shop-2 .category-description {
        margin-left: 20%;
        margin-right: 20%;
    }
}

/* Category page */
@media (min-width: 992px) {
    .my-shop-2 #wrapper {
        padding-top: 1.5rem;
    }
}

.my-shop-2 #products {
    background-color: white;
    padding-bottom: 1em;
}

.my-shop-2 #products .products-selection {
    padding: .8rem 1rem;
}

.product-miniature-stock,
.product-miniature-feature-case-size,
.product-miniature-feature-sell-by-date {
    font-size: .8em;
}

.product-miniature-feature-sell-by-date {
    margin-bottom: .2em;
}

/* Product page */
.my-shop-2#product #inner-wrapper {
    background-color: white;
}

.my-shop-2#product .col-product-info {
    padding-top: 3.75rem;
}

.quantity-in-stock {
    border: 1px solid dimgrey;
    border-radius: 1em;
    color: dimgrey;
    display: inline-flex;
    margin-top: 1em;
    padding: 1em;
}

.quantity-in-stock .qty {
    color: dimgrey;
    font-weight: bold;
}

.my-shop-1 .quantity-in-stock {
    display: none;
}

/* Ultimate form page */
.my-shop-2#ets_cft_page #inner-wrapper {
    background-color: white;
}
