/**
* 2007-2015 PrestaShop
*
* NOTICE OF LICENSE
*
* @author    Innova Deluxe SL
* @copyright 2015 Innova Deluxe SL
* @license   INNOVADELUXE
*/
.hidden{
    display: none !important;
}

.pull-left{
    float: left !important;
}

.pull-right{
    float:right !important;
}

/* BUSCADOR */


#searchbox{
    display: flex;
    justify-content: flex-start;
    border: 1px solid #bababa;
    border-radius:5px;
    margin-top:30px;
    overflow: hidden;
}

@media(max-width:767px){
    #idx_search_widget{
        width: calc(100% - 25px);
        position: relative;
        display: block;
        margin: 0 auto;
    }

    #idx_search_query_top {
        border:1px solid transparent;
        padding: 10px;
        width: 100%;
        background: #fff;
        color: #222;
    }

    #searchButton{
        background: url('../img/sprite.png') no-repeat center;
        width: 40px;
        height: 36px;
        border: unset;
        background-position:4px 4px;
    }

}

@media(min-width:768px){
    #idx_search_widget{
        width: calc(100% / 3);
        float: left;
    }

    #idx_search_query_top {

        border:1px solid transparent;
        padding: 10px;
        width: 100%;
        background: #fff;
        color: #222;
    }

    #searchButton{
        background: url('../img/sprite.png') no-repeat center;
        width: 40px;
        height: 36px;
        border: unset;
        background-position:4px 4px;
    }

}

/* BOTONES */

.btn-purchase{

    width: 45px;
    height: 45px;
    border: 1px solid #bababa;
    display: block;
    background: url('../img/sprite.png') no-repeat center;
    border-radius: 5px;
    background-position: -58px 7px;

}

.btn-ver{

    width: 45px;
    height: 45px;
    border: 1px solid #bababa;
    display: block;
    background: url('../img/sprite.png') no-repeat center;
    border-radius: 5px;

}

.btn-purchase:hover{
    background:#bababa url('../img/sprite.png') no-repeat center;
    cursor:pointer;
    background-position: -58px 7px;

}

.btn-ver:hover{
    background:#bababa url('../img/sprite.png') no-repeat center;
    cursor:pointer;
}
/* RESULTADOS */

@media(min-width:992px){
    .ac_results{
        width: 350px !important;
        margin-left: 15px !important;
        /*left:610px !important;*/

    }

}
@media(min-width:768) and (max-width: 991px){
    .ac_results{
        width: 50% !important;
    }

}
@media(max-width: 767px){
    .ac_results{
        width: 90% !important;
    }

}
.ac_results li{

    background: transparent !important;
    border-bottom: 1px solid #e0e0e0 !important;
    color: #353230;

}
.ac_results li:hover{
    background-color: #f7f7f7 !important;
    color: #353230 !important;
    cursor:pointer;

}

.ac_results img{
    border: 1px solid #cacaca !important;
    border-radius: 5px !important;
}

.deluxe_add_cart{

    clear: both !important;
    display: block !important;
    width: 100% !important;
}
.cartPriceDiv{
    float:right;
}
.search-price{
    margin-top: 12px !important;
    font-size: 24px !important;
    display: block;
}

.search-name{
    font-size:14px !important;
}
.bloque{
    display: inline-block;
    width:100%;
}
.sdesc, .ldesc{
    text-align:justify;
}


.search-name {
    font-size: 16px !important;
}
.dcat.bloque{}
.reference.bloque {
    font-style: italic;
    font-size: 12px !important;
}
.man.bloque, .sup.bloque {
    font-weight: bold;
    font-size: 12px !important;
}
.sdec p,.ldesc p{
    font-size: 10px !important;
}


/* responsive **********************************************************/

@media(min-width: 769px){
    .trigger-block.responsive-mode{
        display: none;
    }

}

@media(max-width: 768px){
    .trigger-block.responsive-mode{

        text-align: center;
    }

}


/* full screen mode **********************************************************/

@media(min-width:769px){
    .trigger-block {
        width: calc(100% / 3);
        display: block;
        float: left;
        text-align: right;
        margin-top: 50px;
    }
}
@media(max-width:768px){
    .trigger-block {
        display: block;
        text-align: center;
        margin-top: 50px;
    }
}
#dqs-large-modal{
    -webkit-animation:mostrar .3s ease;
    -moz-animation:mostrar .3s ease;
    -ms-animation:mostrar .3s ease;
    -o-animation:mostrar .3s ease;
    background: rgba(0,0,0,.8);
    position: fixed;
    top: 0;
    left: 0;
    width:100vw;
    height: 100vh;
    z-index: 999999;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/*
#dqs-large-modal .ac_results{
    width: calc(100vw - 25px) !important;
    margin-left: 15px !important;
    left: 0px !important;
}
*/
@media(min-width:1200px){
    #dqs-large-modal .ac_results{
        width: calc(100vw - 25px) !important;
        margin-left: 15px !important;
        left: 0px !important;
        top: -140px !important;
        position: relative;
    }
}
@media(min-width:481px) and (max-width:1199px){
    #dqs-large-modal .ac_results{
        width: calc(100vw - 25px) !important;
        margin-left: 15px !important;
        left: 0px !important;
        position: relative;
    }

}

@media(min-width:1025px){
    #dqs-large-modal .ac_results li{
        width: calc(100% / 4);
        min-height: 250px;
        float: left;
        border-right: 1px solid #e0e0e0;
    }

    #dqs-large-modal #searchbox {

        display: flex !important;
        justify-content: flex-start !important;
        border:none !important;
        border-bottom: 2px solid #bababa !important;
        margin-top: 100px !important;
        border-radius: 0px !important;
    }

}
@media(min-width:481px) and (max-width:1024px){
    #dqs-large-modal .ac_results li{
        width: calc(100% / 3);
        min-height: 250px;
        float: left;
    }

    #dqs-large-modal #searchbox {

        display: flex !important;
        justify-content: flex-start !important;
        border:none !important;
        border-bottom: 2px solid #bababa !important;
        margin-top: 200px !important;
        border-radius: 0px !important;
    }
    #dqs-large-modal  #idx_search_widget{
        width: calc(100% / 2);
        float: left;
    }
}

@media(max-width:480px){
    #dqs-large-modal .ac_results li{
        width: 100%;
        min-height: 250px;
        float: left;
    }

    #dqs-large-modal #searchbox {

        display: flex !important;
        justify-content: flex-start !important;
        border:none !important;
        border-bottom: 2px solid #bababa !important;
        margin-top: 100px !important;
        border-radius: 0px !important;
    }
    #dqs-large-modal .ac_results{
        max-height: 350px;
        overflow-y: scroll;
    }
    ##dqs-large-modal .close-button {
        display: block;
        position: absolute;
        right: 0;
        top: 5%;
        left: 0;
    }
    #dqs-large-modal .close-button {
        display: block;
        position: absolute;
        right: 0;
        top: 5%;
        left: 0;
        z-index: 999999;
    }
    .close-button img {
        width: 30px;
        height: auto;
    }
}


#dqs-large-modal #idx_search_query_top{
    background: transparent !important;
    color: white !important;
    font-size: 24px;
    font-style: italic;

}
#dqs-large-modal .close-button {
    display: block;
    position: absolute;
    right: 5%;
    top: 5%;
}

@media(min-width:1025px){
    #dqs-large-modal-results .sdesc p{
        height:30px !important;
    }
}


div#idx_search_widget > form {
    width: auto;
    margin: 0 auto;
}
