/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
.header-nav{ display: none !important; }
.link-top-blog{ display: none !important; }
 */
/* @import url("bootstrap.min.css");*/
/* ----Header----*/
.elementor-widget-wrap {
    display: contents;
}

.elementor-element.elementor-element-e4e65da .logo {
    max-height: 3em !important;
}

.header-button-search,
.header-button-wishlist,
#leo_block_top,
#_desktop_cart {
    display: inline-block;
    vertical-align: middle;
}

#leo_block_top {
    position: relative;
}

/*.language-currency-wrapper {
    position: absolute;
    top: 75%;
    transform: translateY(-50%);
    right: -200px;
}*/
.language-currency-wrapper>.language-selector>ul.link {
    display: flex;
    flex-direction: row;
    margin-bottom: 0;
}

.language-currency-wrapper .dropdown-item {
    padding: 0px 0.5rem 2px 0.5rem;
}

.language-currency-wrapper {
    display: inline-block;
    vertical-align: middle;
    padding-left: 15px;
}

@media (max-width: 1200px) {
    .language-currency-wrapper {
        display: none;
    }
}

@media (min-width: 1200px) {
    .elementor-1 .elementor-element.elementor-element-52161db>.elementor-widget-container {
        margin: 0px 5px 0px 20px !important;
    }
}

@media (max-width: 1200px) {
    .elementor-1 .elementor-element.elementor-element-52161db>.elementor-widget-container {
        margin: 0px 10px 0px 15px !important;
    }
}

#leo_block_top {
    float: left !important;
}

/* ----Blog----*/
.blog-meta>span[class] {
    margin-right: 15px;
    margin-bottom: 10px;
    display: inline-block;
}

.blog-meta>span[class] i.material-icons {
    margin-right: 3px;
}

.blog-meta .material-icons {
    font-size: 22px !important;
}

/*----Bloque vinos portada----*/
.products-wine .product-title a,
.products-wine .product-price-and-shipping span,
.products-wine .icon-cart,
.products-wine .name-btn-product,
.products-wine img {
    color: white;
}

.products-wine img {
    background-color: #F9F3EE;
}

.products-selection {
    border: none !important;
}

.products-selection .row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

.products-selection .row>* {
    margin: 10px;
}

.sort-by-row {
    display: flex;
    align-items: center;
}

.sort-by {
    flex: 0 0 auto;
    margin-right: 10px;
}

.products-sort-order {
    flex: 1;
}

.sort-by {
    white-space: nowrap !important;
}

/*----Barra de busqueda----*/
.header-button-search {
    cursor: pointer;
}

.drop-search {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.drop-search.dong {
    max-height: 100px;
    transition-delay: 0s;
}

.drop-search-form {
    width: 40% !important;
}

#search_widget {
    width: 100% !important;
}

.ui-autocomplete-input {
    background-color: transparent !important;
    color: black;
}

.header-button-search:hover {
    color: var(--theme-color-default);
}

.header-button-search i {
    font-size: 21px;
    font-family: "Font Awesome Light";
    display: inline-flex;
    padding-top: 1px;
}

/* ----Menú----*/
.leo-megamenu .navbar-nav>li>a {
    padding: 20px 24px;
}

@media (min-width: 992px) {
    .leo-megamenu .navbar-nav>li>a {
        padding: 20px 14px;
    }
}

@media (min-width: 1071px and max-width: 1400px) {
    .leo-megamenu .navbar-nav>li>a {
        padding: 20px 14px;
    }
}

@media (min-width: 1400px) {
    .leo-megamenu .navbar-nav>li>a {
        padding: 20px 20px;
    }
}

.leo-top-menu {
    padding: 10px 0;
}

/*----Modal----*/
.modal-backdrop-show {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    background-color: rgba(0, 0, 0, 0.5);
}

body.modal-open {
    overflow: hidden;
}

.modal-backdrop.show {
    opacity: 0.9;
}

.modal-content {
    display: flex;
    justify-content: center;
    align-items: center;
    justify-direction: revert-layer;
    flex-direction: column;
    width: 100%;
}

/*----Cookies bottom----*/
#lgcookieslaw_fixed_button {
    background-color: #bd9e5e;
}

.off-canvas-active>.off-canvas-nav-megamenu.active {
    -webkit-transition: 190ms width linear;
}

button.navbar-toggler.hidden-lg-up {
    color: black;
}

.product-quantity .add .btn {
    background-color: #821927;
}

@media (max-width: 767px) {
    .elementor-2 .elementor-element.elementor-element-e58de5d {
        padding: 50px 15px 100px 15px !important;
    }
}

@media (max-width: 480px) {
    .thumbnail-container .product-image img {
        max-height: 350px;
        width: auto;
    }

    .elementor-2 .elementor-element.elementor-element-e58de5d {
        padding: 40px 15px 100px 15px;
    }
}

button.btn.btn-touchspin {
    color: black;
}

@media (max-width: 480px) {
    #blockcart-modal .btn {
        width: 100%;
        margin-right: 0 !important;
        display: block;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 1024px) {
    .elementor-1 .elementor-element.elementor-element-ee91a10 {
        width: 100% !important;
    }
}

@media (max-width: 576px) {
    .login-requests{
        flex-direction:column;
        align-items: center;
    }
    .login-requests button{
        margin: 0.5rem 0 !important;
        padding: 18px 30px;
        text-transform: uppercase;
        letter-spacing: 2px;
        font-size: 0.75rem;
        font-weight: 500;
    }

    .request-form .form-group{
        margin-bottom: 0 !important;
    }
    .request-form .form-check{
        padding: 0 !important;
        margin-bottom: 2rem;
    }
}

li.product-flag.out_of_stock {
    background: #bd9e5e;
    color: white;
}