
#articulo{
    width:100%;
    margin:auto;
    font-size:16px;
    border-top: 1.5px solid #ff0000;
    padding-top:10px;
    text-align: center;
}
#tituloSubfamilia{
    font-size: 14px;
    margin-left: 20px;
}

h1 #titFamilia{
    font-weight: normal;
    color: #aaa;
}

h1 #titSubfamilia{
    font-weight:bold;
}

h1 #titSubfamiliaP{
    font-weight:normal;
    color: #aaa;
}

#titSubfamiliaP:hover {
    text-decoration: underline;
    color: black;
}

h2 #tituloSubfamilia{
    padding-left:20px !important;
    padding-top:20px;
}
/* IMAGENES */
    #imagenes{
        display:inline-block;
        width:9%;
        min-width:510px;
        text-align:center;
        vertical-align:top;
        
    }
    /* PRINCIPAL */

        #imagenPrincipal{
            position: relative;
            display: inline-block;
        }

        #imagenPrincipal a .imgPrin{
            display:block;
            width:100%;
            max-width:450px;
        }

        #imagenPrincipal a .imgZoom{
            position: absolute;
            top: 15px;
            right: 15px; 
            width: 30px;
        }
    /* IMÁGENES DE COLOR */
        .imagenColor{
            display:inline-block;
            max-height:170px;
        }
    /* IMÁGENES DE COLOR PARA CLIENTES NO LOGUEADOS */
        .imagenesColorCatalogo{
            display: inline-block;
            width: 160px;
            margin: 2%;
        }
        .imagenesColorCatalogo img{
            width:100%;
        }
        .imagenesColorCatalogo h3{
            text-align:center;
            font-weight:normal;
            font-size:16px;
        }

        #boxDetailPublic{
            display: inline-block;
            width: 100%;
            position: relative;
        }

        #boxArtPublic {
            border-top: 1px solid #888;
            margin-top: 20px;
        }

    /*DIV DE CONTACTO PARA REGISTRO*/
    #registerContact{
        width: 615px;
        display: inline-block;
        text-align: center;
        background: #dddd;
        margin: 20px;
    }

    .reglinea1{
        font-size: 21px;
        padding: 20px;
    }

    .reglinea2{
        padding-bottom: 20px;
    }

    .reglinea2 a{
        font-weight: bold;
    }

    .reglinea2 a:hover{
        color: #D00000;
        transition-duration: 0.5s;
    }

    /*BOX DETALLE*/

    #boxDetail{
        position: relative;
    }

    #btnVerMas{
        position: absolute;
        right: 25px;
        bottom: 10px;
    }
        
    /* MAS INFO */
        #masInfo{
            margin:10px 0px;
        }
    /* VER MAS FAM */
        #vermasfam{
            color:#333;
            padding: 9px 25px;
            background-color: #666;
            color: #fff;
            font-size: 14px;
            border-radius: 3px;
            -webkit-transition: 0.2s;
            transition: 0.2s;
        }
        #vermasfam:hover{
            background-position:center left 2px;
            -webkit-transition: 0.2s;
            transition: 0.2s;
            background-color: #D00000;
        }     
    /* DESCARGAR FICHA */
        #descargarFicha{
            display:inline-block;
            height:43px;
            width: 75%;
            padding-right:48px;
            border:1px solid #aaa;
            border-radius:5px;
            background:url("img/pdf.svg") no-repeat center right 85px;
            background-size: 33px 38px;
            line-height:40px;
            font-weight: lighter;
        }
        #descargarFicha:hover{
            opacity:1;
            border:1px solid #333;
            background-color:#f8f8f8;
            -webkit-transition: 0.2s;
            transition: 0.6s;
        }
/* BLOQUE COMPRAS */   
    #compra{
        display:inline-block;
        width:65%;
        max-width:1125px;
        text-align:center;
    }
    #compra h1{
        font-size:32px;
        margin:0px;
        margin-bottom:15px;
        text-align: left;
    }

    #compra hr{
        color: #eee;
    }
    #descripcionLarga{
        font-size:14px;
        color: #888;
        text-align: left;
        
    }
    
    /* FILTRO COLORES */
        #infoProd + h5{
            font-size: 14px;
            border-top: 1px solid #888;
            padding-top: 10px;
            margin-top: 10px;
        }

        #boxFilters{
            display: flex;
            border-bottom: 1px solid #999;
            margin-bottom: 15px;
        }

        #selectorColor{
            margin:10px 0px;
            border:none;
        }
        
        #boxColorFilters{
            display: inline-block;
            margin-left: 25px;
            width: 100%;
        }

        .optionColor{
            margin:10px;
            padding:3px 5px;
            color:#999;
            font-size:12px;
            cursor:pointer;
            display: inline-block;
            text-align: center;
            vertical-align: top;
        }

        .optionColor p{
            margin-top: 10px;
            text-align: center;
            color: #aaa;
        }

        .optionColor.especial{
            padding: 9px;
            background-color: #666;
            color: #fff;
            border-radius: 3px;
            width: 140px;
            text-align: center;
        }
        
        .optionColor.seleccionada p{
            color: #000;
        }

        .optionColor .colorDiv{
            opacity: 0.5;
        }

        .optionColor.seleccionada .colorDiv{
            box-shadow:5px 7px 5px grey;
            opacity: 1;
        }

        .optionColor.especial:hover{
            -webkit-transition: 0.2s;
            transition: 0.2s;
            background-color: #D00000;
        }

        #boxBtnFilters{
            justify-content: center;
            align-items: center;
            display: flex;
            margin-right: 45px;
        }

        .btnFilters{
            list-style: none;
            display: inline-block;
        }

        .colorDiv{
            color: #aaa;
            width: 90px;
            height: 89px;
            border-radius: 50px;
            display: inline-block;
        }

            
    /* PRECIOS + BOTON COMPRAR */
        #precioBotoncompra{
            overflow:auto;
            margin:20px;
        }
        /* PRECIOS */
            #precios{
                float:left;
            }
            #precios #pvp_tachado{
                display:block;
                text-decoration: line-through;
            }
            #precios #pvp{
                display:block;
                font-size:36px;
            }
            #precios #pvp small{
                font-size:30px;
            }
        /* BOTTON DE COMPRA */
            #botonComprar{
                float:right;
                text-align:center;
            }
            #botonComprar input{
                display:block;
                padding:10px 20px;
                background:#fff;
                color:#222;
                border:1px solid #222;
                text-align:center;
                font-size:22px;
                letter-spacing:1px;
            }
    /* STOCK */
        #infoStock{
            text-align:center;
            color:#666;
            font-size:16px;
        }
            
/* SELECCIONAR */
    #seleccionar{
        clear:both;
        width:100%;
    }


/*********/
/* TABLA */
    article #compra table{
        width:100%;
        border-collapse:collapse;
        font-size:14px;
    }

    article #compra table tr.filaColor{
        background:#eee;
        color: #666;
    }

    article #compra table tr th{
        padding:0px 7px;
    }
    
    article #compra table tr th.minwidth{
        width:50px;
        font-weight: normal;
        color: #888;
    }
    article #compra table tr td{
        padding:4px;
    }
    article #compra table tr td .boxImgProd{
        position: relative;
        max-width: 165px;
    }

    article #compra table tr td .boxImgProd .imgZoom{
        position: absolute;
        top: 0px;
        right: -5px;
        width: 20%;
    }

    article #compra table tr.filaColor td{
        padding:10px 7px;
    }
    article #compra table tr td.controlcantidad{
        min-width:90px;
    }
    
    article #compra table tr td input{
        width:40px;
        padding:3px;
        text-align:center;
        margin:0px;
    }
    
    article #compra table tr td.minwidth{
        width:150px;
    }
    
    .controlCantidad{
        font-size:20px;
        cursor:pointer;
        padding:0px 3px;
    }
    
    .stockPendiente {
        display:block;
        min-width:130px;
        color:#999;
        font-style:italic;
    }
    
/* TABLA */
/*********/

/*****************/
/* RANGO PRECIOS */
    .precioRango{
        display:inline-block;
    }
    .precioSeleccionado{
        font-weight:bold;
    }

/* FIN RANGO PRECIOS */
/*****************/


/**************************/
/* PRODUCTOS RELACIONADOS */

#prodRel{
    margin: 25px;
    text-align: center;
}

#prodRel h4{
    text-align: left;
}

#prodRel h4{
    border-bottom: 1px solid #ccc;
    color: #aaa;
    font-size: 18px;
    font-weight: initial;
    letter-spacing: -0.5px;
    margin: 10px 10px;
    text-align: left;
}

#prodRel .articuloteaser {
    max-width: 390px;
}

/* FIN PRODUCTOS RELACIONADOS */
/**************************/

article .botalcarro{
    float:right;
    background-color: #D00000;
    padding: 8px 45px;
    border-radius: 5px;
    
}

#infoProdMovil, #infoProdMovilNoLog{
    display: none;
}

#btnVerMasMovil{
    display: none;
}

@media all and (max-width:1281px) {
    #articulo{
        display: block;
    }

    #compra{
        display:inline-block;
        width:95%;
        max-width:800px;
    }
     
    #infoProd{display: none;}

    #infoProdMovilNoLog, #infoProdMovil{
        display: block;
        text-align: left;
        margin-bottom: 20px;
    }

    #infoProdMovilNoLog{
        margin-left: 20px;
    }

    #btnVerMasMovil{
        display: block;
        margin: 15px;
    }

    #selectorColor{text-align: center;}
    
    #boxColorFilters{
        margin-left: 0px;
    }

    #boxBtnFilters{
        text-align: center;
        margin-right: 0px;
    }
    #selectorColor .btnFilters {display: inherit;}

    #btnCarro{
        text-align: center;
    }

    article .botalcarro{
        float: none;
        display: initial;
    }

    form #btnCarro:first-child {
        display: none;
    }

    #boxFilters {
        display: inherit;
        border-bottom: 1px solid #999;
        width: 100%;
    }

    .btnFilters{
        display: flex;
    }

    .imagenesColorCatalogo h3 {
        font-size: 13px;
    }

    #boxDetailPublic{
        display: none;
    }
}


@media all and (max-width:768px) {
    #registerContact{
        width: 335px;
    }

    .reglinea1{
        font-size: 16px;
    }

    .reglinea2{
        font-size: 12px;
        padding-left: 50px;
        padding-right: 50px;
    }

}


@media all and (max-width:480px) {
    #imagenPrincipal a img{
        width:100%;
        max-width:285px;
    }

    #imagenPrincipal a .imgZoom {
        display: none;
    }

    #tituloSubfamilia {
        font-size: 10px;
        letter-spacing: -0.5px;
    }

    #compra {
        max-width: 400px;
        margin-top:0px;
    }
    .imagenColor {
        max-height: 70px;
    }
    /*form{
        overflow:auto !important;
    }*/
    article #compra table{
        font-size:10px;
    }
    article #compra table tr td.controlcantidad{
        min-width:70px;
    }

    .controlCantidad {
        font-size: 12px;
        padding: 0px;
    }

    .stockPendiente{min-width: 55px;}
    
    #imagenes {
        min-width: 320px;
        text-align: center; 
    }

    #imagenPrincipal a .imgPrin{margin-left: 0px}

    #infoProdMovil h1,#infoProdMovilNoLog h1{    
        margin: 5px 0px;
        font-size: 20px;
    }

    #descripcionLarga {
        font-size: 12px; 
    }

    #descargarFicha{
        background-position: center right 49px;
        font-size: 12px;
        background-size: 23px 22px;
        line-height: 30px;
        padding-right: 25px;
        height: 33px;
    }

    #vermasfam{
        padding: 7px 25px;
        font-size: 11px;
    }

    .optionColor{
        margin: -1px;
        padding: 0px 0px;
        width: 19%;
        vertical-align: top;
    }

    .optionColor p {
        font-size: 9px;
        letter-spacing: -0.5px;
        word-wrap: break-word;
    }

    .optionColor.especial{
        margin: 7px;
        margin-top: 0px;
        padding: 7px;
        width: 120px;
    }

    .colorDiv{
        width: 50px;
        height: 50px;
    }

    article .botalcarro {
        padding: 8px 35px;
        font-size: 12px;
    }

    #registerContact {
        width: 250px;
    }

    .reglinea1{
        font-size: 14px;
    }

    .reglinea2{
        font-size: 10px;
    }
    
    .imagenesColorCatalogo{
        width: 130px;
    }
}
    
    
    
