/*
 * Copyright (c) 2020, Nicripsia Internet SL www.soy.es All rights reserved.
 * 
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, 
 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 
 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 
 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE 
 * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 * 
 * @author    Soy.es <info@soy.es>
 * @copyright 2020 Soy.es
 * @license   Soy.es
 */

#soyvaloraciones {
    margin-top: 50px;
    clear: both;
}

#soyvaloraciones h3 {
    text-align: center;
    text-transform: uppercase;
    font-size: 28px;
    font-weight: bold;
    color: #727271;
}

#soyvaloraciones h3 span {
    color: #9D9E9E;
}

.soyvaloraciones_general {
    padding: 30px 0 50px;
}

.soyvaloraciones_general>div {
    width: 50%;
    display: inline-block;
    vertical-align: middle;
}

.soyvaloraciones_general>.soyvaloraciones_valoracion {
    border-right: 1px solid #cccccb;
    text-align: right;
    padding-right: 5%;
}

.soyvaloraciones_general>.soyvaloraciones_valoracion .soyvaloraciones_barraestrellas {
    text-align: right;
    color: #ffbf00;
}

.soyvaloraciones_general>.soyvaloraciones_numero {
    text-align: left;
    padding-left: 5%;
}

.soyvaloraciones_general>.soyvaloraciones_valoracion .soyvaloraciones_barraestrellas {
    margin: 20px 0;
}

.soyvaloraciones_general>.soyvaloraciones_valoracion .soyvaloraciones_barraestrellas i {
    font-size: 40px;
}

.soyvaloraciones_general>.soyvaloraciones_valoracion .soyvaloraciones_texto>div {
    font-size: 24px;
    font-weight: bold
}

.soyvaloraciones_general>.soyvaloraciones_valoracion .soyvaloraciones_texto>span {
    display: block;
    font-size: 12px;
}

.soyvaloraciones_general>.soyvaloraciones_numero .soyvaloraciones_texto {
    font-weight: bold;
}

.soyvaloraciones_general>.soyvaloraciones_numero .soyvaloraciones_numero {
    font-size: 60px;
    font-weight: bold;
    line-height: 1;
}

.soyvaloraciones_filtros {
    border-bottom: 1px solid #cccccb;
    padding: 15px 0;
    text-align: right;
    overflow: hidden;
}

.soyvaloraciones_filtros #soyvaloraciones_valoraproducto {
    float: left;
}

.soyvaloraciones_filtros .soyvaloraciones_filtro {
    display: inline-block;
    margin-left: 20px;
    margin-top: 10px;
}

.soyvaloraciones_filtros .soyvaloraciones_filtro:first-child {
    margin-top: 0;
}

.soyvaloraciones_filtros span,
.soyvaloraciones_filtros select {
    display: inline-block;
    width: auto;
}

.soyvaloraciones_filtros span {
    padding-right: 10px;
    text-align: right;
}

.soyvaloraciones_filtros select {
    background-color: #FFF;
    padding-left: 10px;
}

.soy_no_valoraciones_idioma {
    margin-top: 15px;
}

.soyvaloraciones_opinion {
    display: inline-block;
    width: 100%;
    vertical-align: top;
    margin: 15px 0;
    position: relative;
}

.soyvaloraciones_opinion .soyvaloraciones_opinion_izquierda {
    display: inline-block;
    width: 50px;
    vertical-align: top;
    text-align: center;
}

.soyvaloraciones_opinion .soyvaloraciones_opinion_izquierda .soyvaloraciones_nombre span {
    background: #9fa365;
    padding: 5px;
    border-radius: 15px;
    width: 30px;
    height: 30px;
    display: inline-block;
    color: #FFF;
    font-weight: bold;
    text-align: center;
    margin-right: 6px;
}

.soyvaloraciones_opinion .soyvaloraciones_opinion_centro {
    display: inline-block;
    width: calc(100% - 50px);
    vertical-align: middle;
    font-size: 12px;
    padding-top: 5px;
}

.soyvaloraciones_opinion .soyvaloraciones_opinion_centro .soyvaloraciones_name {
    max-width: calc(100% - 100px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.soyvaloraciones_opinion .soyvaloraciones_opinion_centro .soyvaloraciones_nombre {
    font-size: 18px;
    font-weight: bold;
}

.soyvaloraciones_opinion .soyvaloraciones_opinion_centro .soyvaloraciones_valoracion i {
    font-size: 20px;
    color: #ffbf00;
    margin: 5px 0;
}

.soyvaloraciones_opinion .soyvaloraciones_opinion_centro .soyvaloraciones_fecha i,
.soyvaloraciones_opinion .soyvaloraciones_opinion_centro .soyvaloraciones_ciudad i {
    margin-right: 10px;
    font-size: 14px;
}

.soyvaloraciones_opinion .soyvaloraciones_opinion_centro .soyvaloraciones_nombre_producto {
    margin: 5px 0 -5px 0;
}

.soyvaloraciones_opinion .soyvaloraciones_opinion_centro .soyvaloraciones_comentario {
    margin: 10px 0 0 0;
    font-weight: bold;
    overflow-wrap: break-word;
}

.soyvaloraciones_opinion .soyvaloraciones_opinion_centro .soyvaloraciones_respuesta {
    margin-top: 7px;
    font-style: italic;
    background: #dfdfdf;
    padding: 10px;
}

.soyvaloraciones_opinion .soyvaloraciones_opinion_centro .soyvaloraciones_respuesta span {
    display: block;
    text-transform: uppercase;
    font-style: initial;
    font-weight: bold;
}

.soyvaloraciones_opinion .soyvaloraciones_opinion_derecha {
    position: absolute;
    top: 0;
    right: 0;
    text-align: center;
}

.soyvaloraciones_opinion .soyvaloraciones_opinion_derecha .soyvaloraciones_texto {
    font-weight: bold;
    font-size: 12px;
}

.soyvaloraciones_opinion .soyvaloraciones_opinion_derecha .soyvaloraciones_numero {
    font-weight: bold;
    font-size: 40px;
    line-height: 1;
}

.soyvaloraciones_barrapager {
    text-align: center;
    border-top: 1px solid #cccccc;
    padding-top: 10px;
    cursor: pointer;
}

.soyvaloraciones_barrapager #soyvaloraciones_cargar {
    display: inline-block;
}

.soyvaloraciones_waiting {
    width: 40px;
    margin: 0 auto;
}

.soyvaloraciones_waiting img {
    width: 100%;
}

@media(max-width:767px) {
    .soyvaloraciones_general {
        margin: 10px 0 20px;
        padding-bottom: 10px;
    }

    .soyvaloraciones_general>div {
        width: 100%;
        text-align: center;
    }

    .soyvaloraciones_general>.soyvaloraciones_numero {
        padding: 0;
        text-align: center;
    }

    .soyvaloraciones_general>.soyvaloraciones_valoracion {
        border: 0;
        padding: 0;
        text-align: center;
    }

    .soyvaloraciones_general>.soyvaloraciones_valoracion .soyvaloraciones_barraestrellas {
        text-align: center;
        padding-right: 0;
    }

    .soyvaloraciones_ordenacion span {
        padding-right: 10px;
        width: auto;
        text-align: left;
    }

    .soyvaloraciones_ordenacion select {
        padding-left: 10px;
        width: auto;
    }

    .soyvaloraciones_opinion .soyvaloraciones_opinion_izquierda {
        width: 35px;
    }

    .soyvaloraciones_opinion .soyvaloraciones_opinion_centro {
        width: calc(100% - 35px);
    }

    .soyvaloraciones_opinion {
        position: relative;
    }

    .soyvaloraciones_opinion .soyvaloraciones_opinion_derecha {
        position: absolute;
        top: 0;
        right: 0;
    }
}

@media(max-width:991px) {
    .soyvaloraciones_opinion {
        margin: 10px 0;
        border-bottom: 1px solid #ccc;
        padding-bottom: 10px;
    }

    .soyvaloraciones_opinion:last-child {
        border-bottom: 0;
    }
}

@media(min-width:992px) {
    .soyvaloraciones_opinion {
        position: relative;
        width: 49%;
    }

    .soyvaloraciones_opinion:nth-child(2n+1) {
        margin-right: 1%;
    }

    .soyvaloraciones_opinion:nth-child(2n) {
        margin-left: 1%;
    }

    .soyvaloraciones_opinion .soyvaloraciones_opinion_derecha {
        position: absolute;
        top: 0;
        right: 0;
    }

    .soyvaloraciones_opinion .soyvaloraciones_opinion_centro {
        width: calc(100% - 50px);
    }
}

/* PRODUCT LIST */
.soyv_productlist.barraestrellas {
    position: absolute;
    top: -26px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    width: 100%;
    background:
        rgba(255, 255, 255, 0.5);
    padding: 4px 0;
}

.soyv_productlist.barraestrellas i {
    font-size: 18px;
    margin: 0 1px;
    color: #ffbf00;
}

#products .thumbnail-container.has-reviews:hover .highlighted-informations,
#products .thumbnail-container.has-reviews:focus .highlighted-informations,
.featured-products .thumbnail-container.has-reviews:hover .highlighted-informations,
.featured-products .thumbnail-container.has-reviews:focus .highlighted-informations,
.product-accessories .thumbnail-container.has-reviews:hover .highlighted-informations,
.featured-products .thumbnail-container.has-reviews:focus .highlighted-informations,
.product-miniature .thumbnail-container.has-reviews:hover .highlighted-informations,
.product-miniature .thumbnail-container.has-reviews:focus .highlighted-informations {
    height: 4.5rem;
}

#products .thumbnail-container.has-reviews:hover .highlighted-informations .variant-links,
#products .thumbnail-container.has-reviews:focus .highlighted-informations .variant-links,
.featured-products .thumbnail-container.has-reviews:hover .highlighted-informations .variant-links,
.featured-products .thumbnail-container.has-reviews:focus .highlighted-informations .variant-links,
.product-accessories .thumbnail-container.has-reviews:hover .highlighted-informations .variant-links,
.featured-products .thumbnail-container.has-reviews:focus .highlighted-informations .variant-links,
.product-miniature .thumbnail-container.has-reviews:hover .highlighted-informations .variant-links,
.product-miniature .thumbnail-container.has-reviews:focus .highlighted-informations .variant-links {
    min-height: 3.7rem;
}

#products .thumbnail-container.has-reviews:hover .highlighted-informations.no-variants,
#products .thumbnail-container.has-reviews:focus .highlighted-informations.no-variants,
.featured-products .thumbnail-container.has-reviews:hover .highlighted-informations.no-variants,
.featured-products .thumbnail-container.has-reviews:focus .highlighted-informations.no-variants,
.product-accessories .thumbnail-container.has-reviews:hover .highlighted-informations.no-variants,
.featured-products .thumbnail-container.has-reviews:focus .highlighted-informations.no-variants,
.product-miniature .thumbnail-container.has-reviews:hover .highlighted-informations.no-variants,
.product-miniature .thumbnail-container.has-reviews:focus .highlighted-informations.no-variants {
    height: 4.125rem;
}

#products .product-miniature .thumbnail-container.has-reviews .discount-amount.online-only,
#products .product-miniature .thumbnail-container.has-reviews .discount-percentage.online-only,
#products .product-miniature .thumbnail-container.has-reviews .on-sale.online-only,
#products .product-miniature .thumbnail-container.has-reviews .online-only.online-only,
#products .product-miniature .thumbnail-container.has-reviews .pack.online-only,
#products .product-miniature .thumbnail-container.has-reviews .product-flags .new.online-only,
.featured-products .product-miniature .thumbnail-container.has-reviews .discount-amount.online-only,
.featured-products .product-miniature .thumbnail-container.has-reviews .discount-percentage.online-only,
.featured-products .product-miniature .thumbnail-container.has-reviews .on-sale.online-only,
.featured-products .product-miniature .thumbnail-container.has-reviews .online-only.online-only,
.featured-products .product-miniature .thumbnail-container.has-reviews .pack.online-only,
.featured-products .product-miniature .thumbnail-container.has-reviews .product-flags .new.online-only,
.product-accessories .product-miniature .thumbnail-container.has-reviews .discount-amount.online-only,
.product-accessories .product-miniature .thumbnail-container.has-reviews .discount-percentage.online-only,
.product-accessories .product-miniature .thumbnail-container.has-reviews .on-sale.online-only,
.product-accessories .product-miniature .thumbnail-container.has-reviews .online-only.online-only,
.product-accessories .product-miniature .thumbnail-container.has-reviews .pack.online-only,
.product-accessories .product-miniature .thumbnail-container.has-reviews .product-flags .new.online-only {
    top: 11.5rem;
}

/* FOOTER */

@media (max-width:767px) {
    .soyvaloraciones_footer {
        clear: both;
        display: block;
        text-align: center;
    }
}

@media (min-width:767px) {
    .soyvaloraciones_footer {
        clear: both;
        display: flex;
        justify-content: center;
    }

    .soyvaloraciones_footer .soyvaloraciones_review,
    .soyvaloraciones_footer .soyvaloraciones_nreviews {
        margin-left: 10px;
    }
}

.soyvaloraciones_product_valoration {
    overflow: hidden;
}

.soyvaloraciones_product_valoration .soyvaloraciones_barraestrellas {
    float: left;
    color: #ffbf00;
    cursor: pointer;
}

.soyvaloraciones_opinion .soyvaloraciones_opinion_imagenes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 10px;
    margin-top: 10px;
}

.soyvaloraciones_opinion .soyvaloraciones_opinion_imagen {
    width: 100%;
    aspect-ratio: 1/1;
}

.soyvaloraciones_opinion .soyvaloraciones_opinion_imagen img {
    cursor: pointer;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all ease 0.3s;
}

.soyvaloraciones_modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.soyvaloraciones_modal_content {
    background-color: #fefefe;
    margin: 5% auto 0;
    border: 1px solid #888;
    width: 1199px;
    height: 700px;
    box-shadow: 0 0 14px 0 rgba(15, 17, 17, .5);
    border-radius: 10px;
    overflow: hidden;
}

.soyvaloraciones_close:hover,
.soyvaloraciones_close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.soyvaloraciones_modal_close {
    width: 100%;
    height: 60px;
    background-color: beige;
    border-bottom: 1px solid darkgray;
}

.soyvaloraciones_modal_close span {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    margin-right: 20px;
    margin-top: 20px;
}

.soyvaloraciones_modal_opinion {
    margin: 15px 30px 30px;
    display: grid;
    grid-template-columns: 3fr 1fr;
    position: relative;
}
.soyvaloraciones_modal_opinion .soyvaloraciones_modal_image_number{
    position: absolute;
    top: 15px;
    left: 15px;
    width: 24px;
    text-align: right;
    color: black;
    margin-bottom: 0;
}
.soyvaloraciones_modal_opinion_left {
    background-color: #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.soyvaloraciones_modal_opinion_left button, .soyvaloraciones_modal_opinion_left button:focus, .soyvaloraciones_modal_opinion_left button:hover{
    border: none;
    background: none;
    outline: none;
}
.soyvaloraciones_modal_opinion_left i{
    margin: 0 10px 0;
    font-size: 40px;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0);
    border-radius: 100px;
    transition: all 0.1s linear;
}
.soyvaloraciones_modal_opinion_left i:hover{
    background-color: rgba(0, 0, 0, 0.2);
}

.soyvaloraciones_modal_opinion_imagenes {
    height: 600px;
}

.soyvaloraciones_modal_opinion_imagenes img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.soyvaloraciones_modal_opinion_rigth {
    padding: 0 0 0 10px;
    overflow-y: auto;
    height: 600px;
}

.soyvaloraciones_modal_opinion_rigth span {
    background: #9fa365;
    padding: 5px;
    border-radius: 15px;
    width: 30px;
    height: 30px;
    display: inline-block;
    color: #FFF;
    font-weight: bold;
    text-align: center;
    margin-right: 6px;
}

.soyvaloraciones_modal_opinion_rigth .soyvaloraciones_modal_name {
    max-width: calc(100% - 100px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.soyvaloraciones_modal_opinion_rigth .soyvaloraciones_modal_valoracion i {
    font-size: 20px;
    color: #ffbf00;
    margin: 5px 0;
}

.soyvaloraciones_modal_opinion_rigth .soyvaloraciones_modal_fecha i {
    margin-right: 5px;
    font-size: 20px;
}

.soyvaloraciones_modal_opinion_rigth .soyvaloraciones_modal_comentario {
    margin: 10px 0 0 0;
    overflow-wrap: break-word;
}

@media (max-width:1200px) {
    .soyvaloraciones_modal_content {
        width: 1023px;
    }
}

@media (max-width:1024px) {
    .soyvaloraciones_modal_content {
        width: 766px;
    }
}

@media (max-width:767px) {
    .soyvaloraciones_modal_content {
        width: 479px;
        overflow-y: auto;
    }

    .soyvaloraciones_modal_opinion {
        display: flex;
        flex-direction: column;
    }

    .soyvaloraciones_modal_opinion_rigth {
        height: auto;
        margin-top: 20px;
        overflow-y: hidden;
    }

    .soyvaloraciones_modal_opinion_imagenes {
        height: 400px;
    }

    .soyvaloraciones_opinion .soyvaloraciones_opinion_imagenes {
        column-gap: 3px;
    }
}

@media (max-width:480px) {
    .soyvaloraciones_modal_content {
        width: 100%;
        overflow-y: auto;
        border-radius: 0;
    }

    .soyvaloraciones_modal_opinion {
        display: flex;
        flex-direction: column;
    }

    .soyvaloraciones_modal_opinion_rigth {
        height: auto;
        margin-top: 20px;
        overflow-y: hidden;
    }

    .soyvaloraciones_modal_opinion_imagenes {
        height: 400px;
    }

    .soyvaloraciones_opinion .soyvaloraciones_opinion_imagenes {
        column-gap: 3px;
    }

    .soyvaloraciones_modal_opinion_left i{
        margin: 0;
    }
    .soyvaloraciones_modal_opinion_left i:hover{
        background-color: rgba(0, 0, 0, 0);
    }
}