/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 11 feb. 2022, 16:18:25
    Author     : Stikets
*/


.div_general_seccio_familia{
    margin: 0 10px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}

.div_titol_seccio_familia{
    display: flex;
    flex-direction: row;
    align-items: center;
}
.img_titol_seccio_familia{
    width: 40px;
    height: 40px;
    margin-right: 10px;
}
.titol_seccio_familia{
    margin: unset;
    font-family: "Source Sans Pro",sans-serif;
    font-size: 28px;
    font-weight: bold;
    color: #005898;
    padding: 0;
    line-height: 1.2;
    margin-top: 10px;
    text-decoration: none;
    margin-bottom: 10px;
    text-align: left;
}
.contigut_seccio_familia{
    display: flex;
    flex-direction: column;
    text-align: left;
}
.text_contigut_seccio_familia{
    color: #666;
    font-size: 20px;
}
.div_imatges_links_seccio{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 10px;
    /*justify-content: space-between;*/
}

.bombolla_free_labels{
    position: absolute;
    font-weight: bold;
    top: 0; 
    left: 0;
    padding-left: 5px !important;
    color: white;
    background-color: #ef4971; 
    margin-top: 10px; 
    padding: 4px 5px;
    z-index: 1;
    
    font-size: clamp(14px,3vw,18px);
    max-width: 90%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bombolla_free_labels_2{
    position: absolute;
    font-weight: bold;
    top: 35px;
    left: 0;
    padding-left: 5px !important;
    color: white;
    background-color: var(--stk-blue-primary-color);
    margin-top: 10px; 
    padding: 4px 5px;
    z-index: 1;
    
    font-size: clamp(14px,3vw,18px);
    max-width: 90%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.div_imatge_banner_producte_link:not(:has( .bombolla_free_labels)) .bombolla_free_labels_2 {
    top: 0;
}

.div_imatge_banner_producte_link{
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.preu_tatxat_link{
    margin-left: 6px;
    font-size: 18px;
    color: #5b5e67;
    text-decoration-line: line-through;
}
.div_producte_link{
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    cursor: pointer;
    min-height: 20vw;
    margin-right: 1.5%;
    margin-left: 1.5%;
    /*justify-content: center;*/
    /*overflow: hidden;*/
}
.banner_doble_seccio_familia{
    width: 47%;
}
.banner_individual_seccio_familia{
    width: 22%;
    margin-right: 1%;
}
.imatge_banner_producte_link{
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: transform .25s, visibility .25s ease-in;
    min-height: 337.52px;
    object-fit: cover;
}
.imatge_banner_producte_link:hover{
    opacity: 0.9;
    transform: scale(1.1);
    
}
.preu_producte_link{
    font-size: 20px;
    color: #a8191c;
    margin-top: 5px;
}
.text_producte_link{
    font-size: 20px;
    font-family: 'Source Sans Pro',sans-serif;
    color: #005898;
    margin-top: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    min-height: 50px;
}
.div_seccio_descripcio_video{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: #f6f6f6;
    padding: 20px;
    padding-right: 0;
    margin-right: 1%;
    margin-top: 16px;
}

.div_seccio_descripcio{
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
}
.div_general_descripcio{
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    width: 100%;
}
.titol_descripcio_sub{
    font-size: 22px;
    color: #005898;
    padding-bottom: 10px;
    font-weight: bold;
}
.text_descripcio_sub{
    line-height: 128%;
    color: #666666;
    border: 0px;
    font-size: 20px;
    position: relative;
    overflow: hidden;
    word-wrap: break-word;
}
.div_imatges_descripcio_sub{
    display: flex;
    flex-direction: row;
    width: 100%;
    flex-wrap: wrap;
}
.div_imatge_sub{
    display: flex;
    flex-direction: row;
    width: 30%;
    padding: 15px 20px 15px 0;
    align-items: center;
}
.imatge_descripcio_sub{
    width: 40px;
    height: 40px;
}
.text_imatge_descripcio_sub{
    margin-left: 10px;
    font-size: 17px;
}
.div_seccio_video{
    display: flex;
    width: 100%;
    align-items: center;
}

.video_familia_sub{
    width: 100%;
    height: 350px;
}
.div_titol_descripcio_sub{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.div_img_titol_pregunta{
    display: none;
    align-items: center;
}

.rotar_obrir{
    transform: rotate(180deg);
    transition: 0.8s;
}
.rotar_tancar {
    transform: rotate(0deg);
    transition: 0.8s;
}

.imatge_bola {
    border-radius: 100% !important;
    padding: 5px;
}

.imatge_bola:hover {
    border: 3px solid #d3d3d3;
}

.titol_bola{
    font-size: 17px;
}
.div_bola_padding:hover {
    border: none;
}

.div_valoracions{
    display: flex;
    margin-top: 5px;
    align-items: center;
    min-height: 24px;
}
.div_no_imatge_producte_link{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
}
.text_no_producte{
    
    align-items: flex-start;
}
.num_valoracions{
    font-size: 16px;
    margin-left: 5px;
    color: #666;
}
.div_valoracions .estrella {
    width: 16px;
    height: 16px;
}
.boto_comprar_producte_link{
    background-color: #ea8027;
    border: 0px;
    text-shadow: none;
    border-radius: 25px;
    cursor: pointer;
    padding-bottom: 5px;
    font-weight: 600;
    color: #fff;
    font-size: 20px;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    text-decoration: none;
    -webkit-appearance: none;
    transition: 0.5s;
    padding: 5px 70px;
    margin-top: 16px;
}
.boto_comprar_producte_link:hover{
    opacity: 0.7;
}

.div_imatge_comprar{
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: white;
    border-radius: 50%;
    padding: 12px;
}
.imatge_comprar{
    width: 30px;
    height: 27px
}
.banda_bona_2 {
    display: block !important;
}
.stk_background {
    background-color: #005898;
}

.div_tag_blog_link{
    position: absolute;
    color: white;
    padding: 10px;
    margin: 10px;
    border-radius: 6px;
    z-index: 1;
    top: 0;
    display: flex;
    left: 0;
    align-items: flex-start;
    justify-content: center;
}
[tag="Organization"] {
    background: #8196b4; 
}
[tag="ideas"] {
    background: #c1c1c1; 
}
[tag="Life style"] {
    background: #66bc99; 
}
.logo_tag_blog{
    width: 70px;
    margin-right: 5px;
}
.text_tag_blog_link{
    font-size: 18px;
    font-family: 'Noto Sans Light';
    top: 1px;
    position: relative;
}
.div_fondo_text_blog_link{
    height: 45%;
    position: absolute;
    bottom: 0;
    width: 100%;
    opacity: 75%;
    pointer-events: none;
}
.div_text_blog_link{
    position: absolute;
    z-index: 1;
    bottom: 0;
    display: flex;
    flex-direction: column;
    text-align: center;
    z-index: 1;
    color: #fff;
    pointer-events: none;
    padding: 0% 12%;
    height: 45%;
    justify-content: center;
}
.text_1_blog_link{
    font-size: 30px;
    margin-bottom: 4%;
}
.text_2_blog_link{
    font-size: 15px;
}

.toggle_vermas {
    display: none;
}

.boton_vermas {
    display: none; 
}

@font-face {
    font-family: 'Noto Sans Light';
    src: url('/mmedia/ttf/NOTOSANS-LIGHT.TTF.ttf');
}

@media (max-width: 990px){
    .div_general_seccio_familia{
        margin-left: 10px;
        padding-bottom: 20px;
        margin-top: 10px;
        margin-bottom: 10px;
        margin-right: 10px;
        
        border-bottom: 2px solid #d3d3d3;
        
    }
    
    .div_colapsible {
        position: relative;
    }

    .toggle_vermas {
          display: none;
    }
    
    .div_colapsible .text_contigut_seccio_familia {
        display: block;
        display: -webkit-box;

        line-clamp: 2;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;

/*        max-height: 3.2em;
        max-height: 2lh;
        overflow: hidden;*/
        /*transition: max-height 1s ease-in-out, overflow 0s allow-discrete;*/
        /*transition: max-height 1s ease-in-out;*/
    }
    
    .toggle_vermas:checked ~ .text_contigut_seccio_familia {
        -webkit-line-clamp: unset;
        overflow: visible;
        display: block;
        /*max-height: 800px;*/
        /*transition: max-height 1s ease-in-out, overflow 1s allow-discrete;*/
        /*transition: max-height 1s ease-in-out;*/
    }
    

    .boton_vermas {
        display: none;
        margin-top: 0px;
        margin-bottom: 10px;
        font-size: 14px;
        text-decoration: underline;
        
        margin-right: 8px;
        margin-left: 8px;
        
    }
    
    .div_colapsible .boton_vermas {
        display: inline-block;
        cursor: pointer;
        user-select: none;
        
/*        top: 0;
        position: absolute;
        right: 0;*/
    }

    .boton_vermas::after {
/*        content: 'Leer más';*/
    }
    
    .toggle_vermas:checked ~ .boton_vermas::after {
/*      content: 'Leer menos';*/
    }
    
    .toggle_vermas:checked ~ .boton_vermas {
        display: none;
    }
        
    .div_imatges_links_seccio{
        justify-content: space-between;
    }
    
    .text_contigut_seccio_familia{
        margin-right: 10px;
        margin-top: 5px;
    }
    
    .banner_individual_seccio_familia {
        width: 46%;
        margin-right: 2% !important;
        margin-left: 2% !important;
    }
    .banner_individual_seccio_familia .text_producte_link{
        min-height: 50px;
    }
    .banner_doble_seccio_familia {
        width: 100%;
        height: 100%;
        margin-right: 2% !important;
        margin-left: 2% !important;
    }
    .imatge_banner_producte_link {
        min-height: 45vw;
    }
    .div_seccio_descripcio{
        
        width: 100%;
        margin: 0;
    }
    .div_seccio_descripcio_video{
        flex-direction: column-reverse;
        padding: 10px;
        width: unset;
        margin-right: 0;
    }
    .div_imatges_descripcio_sub{
        flex-direction: column;
    }
    .div_imatge_sub{
        /*margin-top: 10px;*/
        width: 100%;
    }
    .div_seccio_video{
        width: 100%;
    }
    .video_familia_sub{
        height: 50vw;
    }
    .div_general_descripcio{
        margin-bottom: 0;
        margin-top: 20px;
    }
    .div_titol_descripcio_sub{
        border-bottom: 1px solid #d3d3d3;
    }
    .div_img_titol_pregunta{
        display: flex;    
        
    }
    .img_titol_pregunta{
        width: 100%;
    }
    .text_descripcio_sub{
        margin-top: 10px;
    }
    .boto_comprar_producte_link{
        padding: 5px 8vw;
    }
    .div_imatge_comprar{
        position: absolute;
        bottom: 10px;
        right: 10px;
        background-color: white;
        border-radius: 50%; 
        padding: 8px;
    }
    .imatge_comprar {
        width: 24px;
        height: 22px;
    }
    
    .contigut_seccio_familia{
        margin-top: 0;
    }
    .div_text_blog_link{
        padding: 0% 5%;
    }
    .text_tag_blog_link {
        font-size: 13px;
    }
    .logo_tag_blog {
        width: 50px;
    }
    .text_1_blog_link {
        font-size: 20px;
    }
    .text_2_blog_link {
        font-size: 12px;
    }
}

@media (min-width: 991px) {
    
    .imatge_banner_producte_link {
        min-height: 0;
    }
    .banner_doble_seccio_categoria .imatge_banner_producte_link {
        aspect-ratio: 2 / 0.935 !important;
    } 
    .banner_individual_seccio_categoria .imatge_banner_producte_link { 
        aspect-ratio: 1 / 1 !important;
    } 
    
    .div_titol_seccio_familia{
        margin-left: 25px;
    }
    
    .div_proposta_valor {
        margin-left: 30px;       
    }
    
    
    .text_contigut_seccio_familia{
        margin: 5px 15px 0 25px;
        display: block;
    }
    
    #div_imatge_header_familia{
        width: 95.3%;
        margin-left: 38px;
    }
    
    #div_text_imatge_header_familia{
        margin-left: 61px;
    }

    .div_titol_boles_links {
        margin-left: 25px;
    }
    
    .bread_normal_new {
        margin-left: 38px;
    }
    
    #div_general_boles_links{
        width: 95.5%;
        margin-left: 31px;
        border-bottom: 1px solid #d3d3d3;
    }
    
    .div_bola_padding {
        padding: 0;
        margin: 0;
    }
    
    .div_boles {
        margin-bottom: 10px;
    }
    
    .imatge_bola {
        width: 5vw;
        height: 5vw;
    }
}

@media (min-width: 991px) and (max-width: 1500px) { 
    
    .div_bola {
        width: 16%;
    }
    
    .div_proposta_valor {
        width: 97%;
    }
    
}
