#tres_super_discounts{
    background-color: #41bede;
    color: #fff;
    margin: 0 1px 0 4px;
}

.popup_background {
    display: none;
    position: fixed;
    z-index: 99 !important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    visibility: visible;
    background: rgba(0, 0, 0, 0.15);
}

.popup_content {
    overflow-y: auto;
    overflow-x: hidden;
    height: 70%;
    width: 40%;
    background: #fff;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

@media (min-width: 990px) {
    #content_complementaris {
        min-width: 720px;
        min-height: 600px;
    }
}

/*@media (max-width: 1500px) {
    #content_complementaris {
        width: 60%;
    }
}*/

.popup_txt {
    font-weight: bold;
}

.close {
    position: absolute;
    right: 0;
    top: 0;
}

#complementaris_creu_close {
   cursor: pointer; 
   display: inline-block;
   content: "\00d7";
   font-size: 34px;
   color: #d3d3d3;
   right: 20px;
   font-family: 'Source Sans Pro',sans-serif;
}

.div_tancar_popup_twinnies {
    display: flex;
    justify-content: end;
    width: 100%;
}

#tancar_popup_twinies {
    display: flex;
    justify-content: end;
    width: 100%;
    margin: 8px 10px;
}

#tancar_popup_twinies:before{
    text-align: center;
    content: "\00d7";
    font-size: 40px;
    color: #d3d3d3;
    width: 30px;
    line-height: 30px;
    top: 10px;
    z-index: 1;
}

#tancar_popup_twinies:hover:before,
#tancar_popup_twinies:focus:before {
    color: #666;
    text-decoration: none;
    cursor: pointer;
}

#imagen_boton {
    width: 16px;
}

#pack_added {
    display: flex;
    margin-top: 20px;
    font-size: 20px;
    color: #73b25a;
    text-align: center;
    justify-content: center;
}

#add_top_sales_msg {
    display: flex;
}

.left_icon,
.rigth_icon {
    width: 20px;
}

.lock_icon {
    width: 25px;
    margin: 0 5px 0 0;
}

.rigth_icon {
    margin-left: 5px;
}

.left_icon {
    margin-right: 5px;
}

#add_top_sales {
    display: flex;
    margin-top: 15px;
    font-size: 18px;
    text-align: center;
    justify-content: center;
}

#complementos legend {
    display: none;
}

.add_cesta {
    background-color: #ea8027;
    border: 0px;
    text-shadow: none;
    border-radius: 25px;
    cursor: pointer;
    height: 35px;
    padding-bottom: 5px;
    font-weight: 400;
    width: 200px;
    color: #fff;
    font-size: 18px;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    text-decoration: none;
    -webkit-appearance: none;
    transition: opacity 0.5s;
}

.popup_show_cesta {
    background-color: #fff;
    border: 1px solid #ea8027;
    text-shadow: none;
    border-radius: 25px;
    cursor: pointer;
    height: 35px;
    padding-bottom: 5px;
    font-weight: 400;
    width: 200px;
    color: #ea8027;
    font-size: 18px;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    text-decoration: none;
    -webkit-appearance: none;
    transition: background-color 0.5s;
}

.popup_show_cesta:hover {
    color: #fff;
    background-color: #ea8027;
}

.add_cesta:hover {
    color: #fff;
    opacity: 0.7;
}


#div_buttons_complementaris {
    width: 99%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.buttons_complementaris {
    width: 275px;
    height: 44px;
    font-size: 22px;
    font-weight: 600;
}

.show_cesta {
    width: 273px;
    height: 42px;
}

#precio_total {
    margin-left: 3px;
}

#complementos .fons_no_permes {
    display: none;
}

#complementos .label_afegir_prod .check {
    margin-left: 0;
}

#complementos #galeria_productes_complementaris {
    overflow-x: hidden;
    /*margin-top: 30px;*/
}
 
#complementos #winw_popup.modal #galeria_productes_complementaris {
    text-align: left;
}

#complementos #galeria_productes_complementaris .previsualitzacio_complementaris, #galeria_productes_complementaris .complementaris_generics {
     max-width: 140px;
}

#complementos .titol_completalo_con{
    font-size: 19px;
    color: #666;
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

.complementaris_borles {
    overflow-y: auto !important;
}

#complementos {
    /*margin-top: 8px;*/
}

#complementos #productes_complementaris::-webkit-scrollbar, #productes_complementaris-2::-webkit-scrollbar {
    width: 27px;
    background-color: rgba(255,255,255,0);
}

#complementos #productes_complementaris::-webkit-scrollbar-thumb, #productes_complementaris-2::-webkit-scrollbar-thumb {
    background-color: #666;
    height: 155px;
    border: 10px solid rgba(255,255,255,0);
}
#complementos #productes_complementaris::-webkit-scrollbar-track, #productes_complementaris-2::-webkit-scrollbar-track {
    background-color: #ccc;
    border: 10px solid rgba(255,255,255,0);
}
#complementos #productes_complementaris::-webkit-scrollbar-track, #productes_complementaris::-webkit-scrollbar-thumb, #productes_complementaris-2::-webkit-scrollbar-track, #productes_complementaris-2::-webkit-scrollbar-thumb {

    border-radius: 50px;
    background-clip: padding-box;
}

#complementos .unitats_productes_complementaris{
    position: absolute;
    right: 297px;
    text-align: right;
}


/*Scrollbar*/
#complementos #productes_complementaris::-webkit-scrollbar {
    width: 27px;
    background-color: rgba(255,255,255,0);
}
#complementos #productes_complementaris::-webkit-scrollbar-thumb {
    background-color: #333;
}
#complementos #productes_complementaris::-webkit-scrollbar-track {
    background-color: #ccc;
}

#complementos #productes_complementaris::-webkit-scrollbar-track, #productes_complementaris::-webkit-scrollbar-thumb {
    border: 10px solid rgba(255,255,255,0);
    border-radius: 50px;
    background-clip: padding-box;
}
/*Fi scrollbar*/

#complementos .taxat_complementaris{
    display: flex;
    align-items: center;
    font-size: 17px;
    color: #666;
}
#complementos .taxat_complementaris .qm {
    text-decoration: line-through;
}
#complementos .top_sales_complemetari{
    background-color: #ef4971;
    color: #fff;
    position: absolute;
    top: 5px;
    left: 5px;
    padding: 3px 5px;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 11px;
}

#complementos .frase_especial_free{
    text-align: left;
    font-size: 21px;
    color: #C01818 !important;
}
#complementos .frase_especial{
    text-align: left;
    font-size: 15px;
    color: #666;
    min-height: 15px;
}

#complementos .check_added{
    display: none;
}
#complementos .check_no_added{
    
}

#complementos #popup_ver_producto #popup_html > img{
    pointer-events: none;
}

.cta_producte{
    border: 1px solid #8d8d8d;
    border-radius: 30px;
    margin: 15px 0;
    font-size: 19px;
    color: #666;
    padding: 10px 30px;
    box-shadow: 0px 0px 8px 1px #b9b3b3;    
    display: flex;
    align-items: center;
    justify-content: center;
}
.text_cta_producte{
    
}
.text_cta_producte.added{
    display: none;
}
.prod_complementari.label_afegir_prod_selected .text_cta_producte.added{
    display: flex;
}
.text_cta_producte.add{
    display: flex;
}
.prod_complementari.label_afegir_prod_selected .text_cta_producte.add{
    display: none;
}

.popup_buttons {
    margin: 25px 0 25px 0;
}

.btn-disabled {
    background-color: #cdcccc;
    cursor: default;
}

.btn-disabled:hover {
    color: #fff;
}

.popup_content_inner{
        width: 100%;
}

@media (max-width: 990px) {
    
    .popup_content {
        width: 100%;
        height: 100%;
        top: 50%;
        padding: 0px;
        overflow-y: hidden;
    }
    
    .popup_buttons {
	padding-top: 15px;
	margin: 0px 0 15px 0;
    }
    
    #div_buttons_complementaris {
        flex-direction: column;
        align-items: center;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
	background: #fff;
	background-color: #fff;
        box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
        margin-top: auto;
    }
    
    .buttons_complementaris {
        width: 90%;
        margin-bottom: 15px;
    }
    
    #pack_added {
        margin-top: 30px;
        align-items: center;
    }

    #complementos .frase_especial{
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        min-height: 1rem;
        font-size: 0.95rem;
    }
    
    #complementos .unitats_productes_complementaris{
        right: 140px;
    }
    
    #complementos .top_sales_complemetari{
        z-index: 1;
        font-size: 9px;
    }
    #complementos .taxat_complementaris .moneda{
        margin-left: 2px;
    }
    #complementos .selector_preus_complementaris .quantity-buttons{
        display: none !important;
    }
    #complementos .selector_preus_complementaris .valor_unitats{
        border:0;
    }
    #complementos .check {
        left: 0px;
        margin-right: 3px;
        margin-left: 5px !important;
        width: 20px;
        /*box-sizing: border-box;*/
    }
    
    #complementos #popup_ver_producto #popup_html > img{
        max-width: 100vw;
        max-height: 35vw;
        width: 100vw;
    }
    
    #tancar_popup_twinies:before {
        margin: 13px 20px 0 0;
        background-color: white;
        border-radius: 100%;
        opacity: 80%;
    }
    
    #tancar_popup_twinies:hover:before {
        margin: 13px 20px 0 0; 
    }
    
    .box-shadow{
        width: 100%;
        box-shadow: 0px -5px 5px -5px #333;
    }
    
    .popup_content_inner{
        overflow: auto;
        padding: 10px;
        box-sizing: border-box;
    }
    
    #add_top_sales {
        justify-content: center;
    }
}

@media (min-width: 991px) {
    
    #first_span_top_sales {
        margin-left: 5px;
    }
}

@media (max-height: 640px) {
    #pack_added {
        margin-top: 0px;
    }
}


