/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */
#products .thumbnail-container .product-thumbnail:after,
.featured-products .thumbnail-container .product-thumbnail:after,
.product-accessories .thumbnail-container .product-thumbnail:after,
.product-miniature .thumbnail-container .product-thumbnail:after {
    position: absolute;
    height: 100%;
    content: "";
    width: 100%;
    top: 0;
    left: 0;
    /* background: #6666661f; */
    border-radius: 5px;
}

.product-quantity .add,
.product-quantity .qty {
    width: 100% !important;
    text-align: right !important;
    /* background-color: white; */
    display: block;
}
.product-quantity .add {
    width: 100% !important;
}
.product-quantity {
    /* flex-flow: column; */
    justify-content: flex-end;
    display: flex;
}
.product-quantity .qty > div {
    float: initial;
    margin-right: 35px;
    position: relative;
}
div.input-group .input-group-addon.pp_qty_text {
    border-left-width: 0;
    padding: 0 0.75rem;
    width: auto;
    height: auto;
    display: inline-block !important;
    align-items: initial !important;
    justify-content: initial;
    position: absolute;
    background: transparent;
    border: none;
    top: 14px;
    left: 41px;
    z-index: 10;
}

.pp-has-template .product-quantity .qty {
    width: auto !important;
    text-align: left !important;
}
.pp_ext_prop_container {
    text-align: right;
}

.pp_ext_prop_container .pp_ext_prop_input_textarea {
    /* text-align: right; */
    border-bottom: 2px solid gray !important;
    resize: none;
    height: 85px !important;
}
.pp_ext_prop_container .pp_ext_prop_input_textarea:focus {
    outline: none !important;
}
@media (max-width: 480px) {
    .product-quantity .qty > div {
        margin-right: 30px;
    }
}


.cards-home-custom {
    width: 100%;
}

.bannerSubSlider {
    text-align:center;
    background: var(--color-blue-palacio);
    padding: 40px 20px;
    color:white;
    margin-top:-1.5rem;
    background-image:url(https://pescaderiapalacio.es/themes/pescaderia_theme/assets/img/banner_navidad.jpg);
    background-size: auto 100%;
    background-position: right;
    background-repeat: no-repeat;
}
.bannerSubSlider p {
    color:white;
}
.bannerSubSlider a {
    color:white;
    /* text-decoration:underline; */
    display:inline-block;
    background: var(--color-darkblue-palacio);
    padding: 5px 15px;
    border-radius: 50px;
}
.bannerSubSlider h2 {
    font-size:40px;
    margin-bottom:30px;
}
.bannerSubSlider h2 small {
    display:block;
    font-size:18px;
    letter-spacing:4px;
}
#wp_posts {
    margin:0 auto;
    padding: 20px;
}
.wp-posts-image-block img {
    max-width:100%;
    height:250px;
    width:100%;
    object-fit:cover;
    border-radius:20px;
}
#post-date {font-size: 14px;color: var(--color-brown-palacio);}
.dataContainer {
    padding:0 20px;
}
#post-title {
    color:black;
    font-size:20px;
    line-height:24px;
    font-weight:600;
}
#post-category a {
    display:inline-block;
    color:white;
    background: var(--color-blue-palacio);
    padding: 5px 10px;
    border-radius: 5px;
    margin: 0 5px 5px 0;
    text-transform: uppercase;
    font-size: 12px;
}
body[data-pp-theme="classic"] div.input-group.bootstrap-touchspin {
    display:block;
    float: right;
}
body#cart[data-pp-theme="classic"] div.input-group.bootstrap-touchspin {
    float: initial;
}
.linksInfo {
    background: var(--color-gray-1-palacio);
}
#cart .qty {
    display:flex;
    justify-content: flex-start;
    align-items: center;
}
@media (max-width:767px) {
    .bannerSubSlider {
        background-image:none;
    }
    .bannerSubSlider a {
        display:block;
        max-width:80%;
        margin:0 auto;
        margin-top:10px;

    }
}