/**
 * Añadir sliders de productos en CMS
 *
 * @author Difadi.com   <soporte@difadi.com>
 * @author Laura Gutiérrez  <lgutierrez@difadi.com>
 * @copyright 2021 Difadi S.L.
 * @license Comercial
 */
 
#carousel-cms {
    margin: 4em 0;
}

#carousel-cms h3{
    margin-bottom: 0.5em;
}

#carousel-cms .product-image-container {
    height: 240px !important;
}

#carousel-cms .ajax_add_to_cart_button {
    min-width: 110px;
    background-color: #009237 !important;
    border: solid 1px #000 !important;
    color: white !important;
    padding: 10px;
}

#carousel-cms .ajax_add_to_cart_button:hover {
    background: #fe670e !important;
}

#carousel-cms .product-name {
    font-size: 15px !important;
    padding: 0 .5em;
}

#carousel-cms .product-manufacturer{
    margin: auto !important;
}

#carousel-cms .addToWishlist span {
    display: none;
}

#carousel-cms .addToWishlist:hover {
    background: #fe670e;
    color: #fff !important;
}

#carousel-cms .product-container {
    height: 480px !important;
    box-shadow: 2px 2px 3px 2px #dcdcdc;
    width: 218px !important;
}

#carousel-cms .product-container:hover {
    box-shadow: 0 2px 3px 0px #efefef;
}

/* #carousel-cms .p-control {
    display: none;
} */

#carousel-cms .lnk_view {
    color: white !important;
}

#carousel-cms .lnk_view:hover {
    background: #ffa773;
}

#carousel-cms .p-thumbnails {
    display: none;
}

#carousel-cms .tag-eficiencia-pl{
    padding: 3px 10px;
    display: inline-block;
    font-weight: 700;
    color: #FFF;
    margin: 10px 0px;
    position: absolute;
    left: 0px;
    background-color: #c3d531;
}

#carousel-cms .button-container{
    display: flex;
    justify-content: center;
    margin-top: 1em;
}

#carousel-cms img{
    margin: 0 auto !important;
}

/* bx-slider*/
#carousel-cms .bx-wrapper{
    max-width: 100% !important;
    width: 92% !important;
    margin: 0 auto !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

#carousel-cms .bx-viewport{
    padding: 1em;
}

.bx-wrapper .bx-controls-direction a{
    text-indent: 0px !important;
}

#carousel-cms .bx-wrapper .bx-prev, 
#carousel-cms .bx-wrapper .bx-next{
     background: none !important; 
}

#carousel-cms .bx-wrapper .bx-next{
    text-align: right;
}

#carousel-cms .bx-wrapper .bx-prev{
    left: 14px;
}

@media (max-width: 1200px){
    #carousel-cms .product-image-container img, 
    #carousel-cms  .product-image-container {
        max-height: 240px !important; 
    }
}

@media (min-width: 769px) and (max-width: 1199px){
    #carousel-cms .function-btn {
        font-size: 14px;
    }
}

@media (max-width: 769px){
    #carousel-cms .bx-wrapper{
        width: 100% !important;
    }
}

