/**
* 2007-2018 PrestaShop
*
* NOTICE OF LICENSE
*
* @author    Innovadeluxe SL
* @copyright 2018 Innovadeluxe SL
* @license   INNOVADELUXE
*/

.hidden{
    display: none !important;
}


div#idxrrelatedproducts-listado-carrito .row {
    margin-bottom: 20px;
    border-bottom: 2px solid #cdcdcd;
    padding-bottom: 2px;
}

div#idxrrelatedproducts-listado-carrito span {
    font-size: 17px;
    font-weight: normal;
}

div#idxrrelatedproducts-listado-carrito .producto-item {
    padding: 10px;
    border: 1px solid #e2e2e2;
    display: block;
    clear: both;
    height: auto;
    overflow: hidden;
    margin-bottom: 20px;
}

div#idxrrelatedproducts-listado-carrito .row .producto-item .texto{
    float: left;
    width: 70%;
    max-width: 70%;
    padding-left: 10px;
}

div#idxrrelatedproducts-listado-carrito .row.row-17 [class^="col-"]:nth-child(odd) {
    clear: both;
}
div#idxrrelatedproducts-listado-carrito .row.row-16 [class^="col-"]:nth-child(4n+1) {
    clear: both;
}
div#idxrrelatedproducts-listado-carrito .row .producto-item .texto .nombre-producto span {
    font-size: 14px;
}
div#idxrrelatedproducts-listado-carrito .row .producto-item .texto .precio-producto span {
    font-size: 12px;
}
div#idxrrelatedproducts-listado-carrito .row .producto-item .texto button{
    float: right;
    margin-top: 20px;
}


div#idxrrelatedproducts-listado-carrito .row .producto-item .imagen{
    float: left;
    width: 30%;
    max-width: 30%;
}

div#idxrrelatedproducts-listado-carrito .row .producto-item .imagen img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

div#idxrrelatedproducts-listado-carrito .product-discount, div#idxrrelatedproducts-listado-carrito .has-discount, div#idxrrelatedproducts-ficha-producto .producto-item .precio-producto .product-price.old-price{
    display: inline-block;
}



div#idxrrelatedproducts-ficha-producto {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background: #fff;
    padding: 20px;
}

div#idxrrelatedproducts-ficha-producto h3 {
    color: #a5a5a5;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom:1.5rem;
}

div#idxrrelatedproducts-ficha-producto .producto-item {
    display: flex;
    max-width: 20%;
    width: 20%;
    flex-direction: column;
    text-align: center;
    margin-bottom: 15px;
}



div#idxrrelatedproducts-ficha-producto .separador {
    display: flex;
    flex-direction: column;
    width: 5%;
    align-items: center;
    position: relative;
}

div#idxrrelatedproducts-ficha-producto .separador:after {
    content: " ";
    position: absolute;
    background: url(../img/add-icon.png) no-repeat;
    z-index: 10;
    width: 30px;
    height: 30px;
    background-size: 100%;
    top: 16%;
    max-width: 50%;
}

div#idxrrelatedproducts-ficha-producto .separador.separadorHorizontal{
    height: 45px;
}
div#idxrrelatedproducts-ficha-producto .separador.separadorHorizontal:after {
    top: 0%;
}

div#idxrrelatedproducts-ficha-producto .producto-item .precio-producto {
    height: 17px;
    clear: both;
    display: block;
}

div#idxrrelatedproducts-ficha-producto .producto-item .precio-producto .product-price {
    font-weight: bold;
    float: left;
    color: #2fb5d2;
    display: inline-block;
}

div#idxrrelatedproducts-ficha-producto .producto-item .precio-producto .product-discount, div#idxrrelatedproducts-ficha-producto .producto-item .precio-producto .product-price.old-price {
    display: inline-block;
    float: right;
    font-size: 13px;
    color: #a5a5a5;
    font-weight: bold;
    text-decoration: line-through;
    font-weight: 400;
    margin-right: .625rem;
}


div#idxrrelatedproducts-ficha-producto .producto-item .imagen {
    margin-bottom: 5px;
}


div#idxrrelatedproducts-ficha-producto .producto-item .imagen img{
    display: block;
    width: 100%;
}

div#idxrrelatedproducts-ficha-producto .producto-item .nombre-producto {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    height: 48px;
    display: block;
    vertical-align: middle;
    line-height: 16px;
    margin-bottom: 10px;
    text-align: left;
    width: 100%;
    font-weight: bold;
}

div#idxrrelatedproducts-ficha-producto[data-hook="displayLeftColumnProduct"], div#idxrrelatedproducts-ficha-producto[data-hook="displayRightColumnProduct"] {
    padding: 20px 20px 0 20px;
}
div#idxrrelatedproducts-ficha-producto[data-hook="displayLeftColumnProduct"] .producto-item .selector-compra, div#idxrrelatedproducts-ficha-producto[data-hook="displayRightColumnProduct"] .producto-item .selector-compra {

    margin-top: 25px;
    position: relative;
    height: 30px;
}
div#idxrrelatedproducts-ficha-producto[data-hook="displayLeftColumnProduct"] .producto-item .nombre-producto, div#idxrrelatedproducts-ficha-producto[data-hook="displayRightColumnProduct"] .producto-item .nombre-producto {
    height: 38px;
}

div#idxrrelatedproducts-ficha-producto[data-hook="displayFooterProduct"] {
    margin-top: 20px;
}

div#idxrrelatedproducts-ficha-producto[data-hook="displayFooterProduct"] .separador:after {
    top: 30%;
}
div#idxrrelatedproducts-ficha-producto[data-hook="displayFooterProduct"] .nombre-producto {
    height: 22px;
}



div#idxrrelatedproducts-ficha-producto[data-hook="displayProductButtons"] .producto-item .nombre-producto{
    height: 42px;
}


div#idxrrelatedproducts-ficha-producto .producto-item .selector-compra {
    margin-top: 20px;
    position: relative;
    clear: both;
    text-align: left;
}

div#idxrrelatedproducts-ficha-producto .producto-item .selector-compra div.checker{
    width: auto;
    height: auto;
}

div#idxrrelatedproducts-ficha-producto .producto-item .selector-compra div.checker span.checked {
    background-position: 0;
}


div#idxrrelatedproducts-add-to-cart {
    text-align: center;
    margin: 0;
    background: #fff;
    position: relative;
    padding: 20px;
}
div#idxrrelatedproducts-add-to-cart .precio-final {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #00b6d2;
    border: 2px solid #00b6d2;
    padding: 10px;
}

div#idxrrelatedproducts-add-to-cart .precio-final span {
    font-weight: normal;
}
div#idxrrelatedproducts-add-to-cart a, div#idxrrelatedproducts-add-to-cart button, div#idxrrelacionadosShoppingCart a.anadir-al-carrito {
    box-shadow: none;
    width: 100%;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    text-transform: uppercase;
    border: 1px solid transparent;
    /* font-size: 1rem; */
    border-radius: 0;
    color: #fff;
    background-color: #2fb5d2;
    border-color: transparent;
}
div#idxrrelatedproducts-add-to-cart a:hover, div#idxrrelatedproducts-add-to-cart button:hover, div#idxrrelacionadosShoppingCart a.anadir-al-carrito:hover{
    color: #fff;
    background-color: #2592a9;
    border-color: transparent;
}

div#idxrrelatedproducts-add-to-cart .overlay {
    position: absolute;
    top: 20px;
    height: calc(100% - 40px);
    width: calc(100% - 40px);
    background: rgba(34, 34, 34, 0.64);
}

div#idxrrelatedproducts-add-to-cart .overlay .loader {
    border: 8px solid #f3f3f3;
    border-radius: 50%;
    border-top: 8px solid #3498db;
    width: 60px;
    height: 60px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
    display: block;
    margin: 15px auto;
}

/* Safari */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.idxrrelatedproducts-toggle.btn {
    z-index: 3;
    width: 60px !important;
    min-width: 60px;
    height: 30px !important;
    max-height: 30px;
    min-height: 30px !important;
    margin: 0;
    padding: 0 !important;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    border-radius: 20px;
    border: 1px solid #cdcdcd;
    background: #fff;
    left: 0;
    position: absolute;
}

.idxrrelatedproducts-toggle.btn:focus,
.idxrrelatedproducts-toggle.btn.active,
.idxrrelatedproducts-toggle.btn:active {
    background: #fff;
    border-color: #ececec;
    color: #cdcdcd;
    outline: 0;
    outline-offset: 0
}

.idxrrelatedproducts-toggle .btn-default {
    background: transparent;
    color: #666;
    border-color: transparent
}

.idxrrelatedproducts-toggle .btn-default.active,
.idxrrelatedproducts-toggle .btn-default:focus {
    background: #fff;
    border-color: #ececec
}

.idxrrelatedproducts-toggle .btn-default.active:hover,
.idxrrelatedproducts-toggle .btn-default.active:focus,
.idxrrelatedproducts-toggle .btn-default:focus:hover,
.idxrrelatedproducts-toggle .btn-default:focus:focus {
    background: #f6f6f7;
    border-color: transparent;
    color: #cdcdcd;
    outline: 0;
    outline-offset: 0
}

.idxrrelatedproducts-toggle .btn-default.active.active,
.idxrrelatedproducts-toggle .btn-default.active:active,
.idxrrelatedproducts-toggle .btn-default:focus.active,
.idxrrelatedproducts-toggle .btn-default:focus:active {
    background: #fff;
    border-color: transparent;
    color: #666;
    outline: 0;
    outline-offset: 0
}

.idxrrelatedproducts-toggle .btn {
    margin: 0;
    padding: 5px 0 !important;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    border-radius: 20px;
    box-shadow: none;
    line-height: 18px;
    text-transform: uppercase;
    font-size: 12px;
}

.idxrrelatedproducts-toggle .toggle-off {
    text-indent: 20px
}

.idxrrelatedproducts-toggle .toggle-on {
    text-indent: -20px
}

.idxrrelatedproducts-toggle .toggle-group {
    overflow: hidden
}

.idxrrelatedproducts-toggle .toggle-group .toggle-handle {
    display: inline-block;
    top: 1px;
    right: 14px;
    width: 24px;
    height: 24px;
    padding: 0;
    margin: 0;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%;
    line-height: 1;
    background-color: #fff;
    border: 1px solid #ececec;
    box-shadow: 0 1px 1px #cdcdcd
}

.idxrrelatedproducts-toggle.off .toggle-group .toggle-handle {
    left: 14px
}

.idxrrelatedproducts-toggle__table {
    width: 75px;
    padding-right: 5px
}
.idxrrelatedproducts-toggle .btn-success {
    background-color: #8ad47d;
}
.idxrrelatedproducts-toggle .btn-danger {
    background-color: #d0021b;
}


#idxrrelatedproducts-ficha-producto .product-discount .regular-price,  div#idxrrelatedproducts-ficha-producto .producto-item .precio-producto .product-price.old-price{
    text-decoration: line-through;
    font-weight: 400;
    margin-right: .625rem;
    font-size: 13px;
    color: #a5a5a5;
}

.idxr-icon{
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: .625rem
}
.idxr-icon-cart{
    content: " ";
    background: url(../img/cart-icon.png) no-repeat;
    background-size: 100% 100%;
}

@media(max-width: 767px){
    div#idxrrelatedproducts-ficha-producto .producto-item .selector-compra{
        min-height: 26px;
    }
    div#idxrrelatedproducts-ficha-producto[data-hook="displayFooterProduct"] .nombre-producto {
        min-height: 30px;
        height: auto;
    }
}

div#idxrrelatedproducts-add-to-cart-compact {
    background: #fff;
    padding: 10px 5px;
}

div#idxrrelatedproducts-add-to-cart-compact .details {
    display: flex;
    justify-content: flex-end;
}

div#idxrrelatedproducts-add-to-cart-compact .details > div {
    padding: 0 20px;
}

div#idxrrelatedproducts-add-to-cart-compact .details > div span {
    display: block;
}

div#idxrrelatedproducts-add-to-cart-compact .details > div span:first-child {
    margin-bottom: 10px;
}

div#idxrrelatedproducts-add-to-cart-compact .total .details-value {
    font-size: 30px;
}

@media(max-width:425px){
    div#idxrrelatedproducts-add-to-cart-compact .details {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    div#idxrrelatedproducts-add-to-cart-compact .add-to-cart {
        width: 100%;
        margin-top: 20px;
    }
}

div#idxrrelatedproducts-ficha-producto[data-hook=idxrcombtabExtra] + .product-actions {
    display: none;
}
