/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

@font-face{font-family:'Glyphicons Social Regular';src:url('/fonts/glyphicons-social-regular.eot');src:url('/fonts/glyphicons-social-regular.eot?#iefix') format('embedded-opentype'),url('/fonts/glyphicons-social-regular.woff') format('woff'),url('/fonts/glyphicons-social-regular.ttf') format('truetype'),url('/fonts/glyphicons-social-regular.svg#glyphicons_socialregular') format('svg');font-weight:normal;font-style:normal}.social{display:inline-block;position:relative;padding-left:30px;text-decoration:none;*display:inline;*zoom:1;vertical-align:middle}.social:before{position:absolute;left:0;top:0;display:inline-block;margin:0 5px 0 0;font:24px/1em 'Glyphicons Social Regular';font-style:normal;font-weight:normal;*display:inline;*zoom:1;vertical-align:middle;text-transform:none;-webkit-font-smoothing:antialiased}.social.white:before{color:#fff}.social.pinterest:before{content:"\E001"}.social.dropbox:before{content:"\E002"}.social.google_plus:before{content:"\E003"}.social.jolicloud:before{content:"\E004"}.social.yahoo:before{content:"\E005"}.social.blogger:before{content:"\E006"}.social.picasa:before{content:"\E007"}.social.amazon:before{content:"\E008"}.social.tumblr:before{content:"\E009"}.social.wordpress:before{content:"\E010"}.social.instapaper:before{content:"\E011"}.social.evernote:before{content:"\E012"}.social.xing:before{content:"\E013"}.social.zootool:before{content:"\E014"}.social.dribbble:before{content:"\E015"}.social.deviantart:before{content:"\E016"}.social.read_it_later:before{content:"\E017"}.social.linked_in:before{content:"\E018"}.social.forrst:before{content:"\E019"}.social.pinboard:before{content:"\E020"}.social.behance:before{content:"\E021"}.social.github:before{content:"\E022"}.social.youtube:before{content:"\E023"}.social.skitch:before{content:"\E024"}.social.foursquare:before{content:"\E025"}.social.quora:before{content:"\E026"}.social.badoo:before{content:"\E027"}.social.spotify:before{content:"\E028"}.social.stumbleupon:before{content:"\E029"}.social.readability:before{content:"\E030"}.social.facebook:before{content:"\E031"}.social.twitter:before{content:"\E032"}.social.instagram:before{content:"\E033"}.social.posterous_spaces:before{content:"\E034"}.social.vimeo:before{content:"\E035"}.social.flickr:before{content:"\E036"}.social.last_fm:before{content:"\E037"}.social.rss:before{content:"\E038"}.social.skype:before{content:"\E039"}.social.e-mail:before{content:"\E040"}.social.vine:before{content:"\E041"}.social.myspace:before{content:"\E042"}.social.goodreads:before{content:"\E043"}.social.apple:before{content:"\F8FF"}.social.windows:before{content:"\E045"}.social.yelp:before{content:"\E046"}.social.playstation:before{content:"\E047"}.social.xbox:before{content:"\E048"}.social.android:before{content:"\E049"}.social.ios:before{content:"\E050"}

.social {
    color:#737373;
}

.social:hover {
    color:#D96D00;
}

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
.xoferta{
    display: inline-block;
    height: 23px;
    width: 50px;
    background-color: #C63DE0;
    text-align: center;
    font-size: 12px;
    line-height: 23px;
    color: #FFF;
}

.handincon {
    opacity: 0.3;
}

.handincon:hover {
    opacity: 0.8;
}



.frontbanner-link.activo{
    /*color:#000;*/
    font-weight: bold;
}

.oferta{
    /*background-color: blueviolet;*/
    /*height: 150px;*/
}


.oferta img{
    /*background-color: blueviolet;*/
    max-width: 100%;
}

.frontbanner-link{
    cursor: pointer;
    color: #737373;
    padding-right: 13px;
    font-size: 12px;
}
.frontbanner-links a{
    font-size: 14px;
    padding: 17px;
    background-color: #A52A2A;
    color: #fff;
    display: inline-block;
}


/*#header{*/

    /*-webkit-animation:myfirst 0.73s; *//* Chrome, Safari, Opera */
    /*animation:myfirst 0.5s;*/
/*}*/

/* Chrome, Safari, Opera */
/*@-webkit-keyframes myfirst*/
/*{*/
    /*from {margin-top: -73px;}*/
    /*to {margin-top: 0;}*/
/*}*/

/* Standard syntax */
/*@keyframes myfirst*/
/*{*/
    /*from {background:#57191A;}*/
    /*to {background: #A52A2B;}*/
/*}*/

.cargarmas{
    text-align: center; background: #A52A2A; padding: 10px;
    visibility: hidden;
}

.cargado .cargarmas{
    visibility: visible;
}

.sinresultados{
    display: none;
}
.cargado .sinresultados{
    display: block;
}


#viewer{
    visibility: hidden;
}
.cargado #viewer{
    visibility: visible;
}

.listado-productos{
    background: url(/img/loading.gif) no-repeat center center;
    min-height: 100px;
}
.cargado .listado-productos{
    background: none;
}

/*.visor-general {*/
    /*background: url(/img/loading.gif) no-repeat center center;*/
    /*min-height: 100px;*/
/*}*/

/*.cargado .visor-general{*/
    /*background: none;*/
/*}*/

.addtoseach{
    background-color: #CC1616;
    height: 16px;
    width: 16px;
    display: inline-block;
    text-align: center;
    line-height: 16px;
    border-radius: 8px;
    color: #FFF;
    font-size: 13px;
    opacity: 0.6;
    visibility: hidden;
    cursor:pointer;
}
.addtoseach:hover{
    opacity: 1;
}
.buscador-categoria:hover .addtoseach{
    visibility: visible;
}


.buscador-categoria a,.buscador-categoria a:hover{
    text-decoration: none;
    color:#8C0000;
}


.haycarrito {
    /*margin-right: 400px !important;*/
}
.masmenos{
    padding: 0px 1px 1px 1px; margin: 0; line-height: 26px;width: 16px;
    border-radius: 0;

}

.mini-label {
    font-size: 10px;
    color: #9C9C9C;
}

.form-control {
    display: inline-block;
    width: 100%;
    height: 29px;
    padding: 0px 4px;
    font-size: 14px;
    color: #555;
    vertical-align: middle;
    background-color: #FFF;
    background-image: none;
    border: 1px solid #CCC;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}


#menu #menu-extra{
    visibility: hidden;
}

#menu:hover #menu-extra{
    visibility: visible;
}

#menu:hover .menu-title{
    /*background-color: #222;*/
    color: #ffffff;

}

.tipologia.vacio {
    display: none;
}

.subfiltro{
    padding: 15px;
    text-align: center;
    /* background-color: #FFF; */
    margin-top: -20px;
}



/*#header{*/
    /*-webkit-transition: height 0.5s; *//* For Safari 3.1 to 6.0 */
    /*transition: height 0.5s;*/
    /*height: 70px;*/
/*}*/

/*#header.head2{*/
    /*height: 300px;*/
/*}*/

.top-menu-link {
    padding: 3px;
    display: inline-block;
    margin: 1px;
    color: #FFF;
    text-transform: lowercase;
}


.list-pedidos-pedido {
    clear: both;
    display: flex;
    border: 1px solid #C1C1C1;
    background-color: #FFF;
    height: auto;
    padding: 10px;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.buscador-articulo{

    background-color: #FFF;
    width: 300px;
    margin-bottom: 20px;
    box-shadow: 0px 0px 1px;
	display: inline-block;
    margin: 10px;
    position: relative;
    -webkit-transition: 0.5s ease-in-out all;
    -moz-transition: 0.5s ease-in-out all;
    -o-transition: 0.5s ease-in-out all;
    transition: 0.5s ease-in-out all;
}


/*.carrito{*/
    /*-webkit-transition: 0.5s ease-in-out all;*/
    /*-moz-transition: 0.5s ease-in-out all;*/
    /*-o-transition: 0.5s ease-in-out all;*/
    /*transition: 0.5s ease-in-out all;*/
   /**/
/*}*/

/*.carrito.ng-enter{*/
    /*opacity: 0;*/
/*}*/


.buscador-articulo.ng-enter {
    opacity: 0;
}
.buscador-articulo.ng-enter-active {
    opacity: 1;
    /*transition-delay: 0.5s;*/
}

.buscador-articulo:hover{
    box-shadow: 0px 0px 0px 3px #8C0000;
}


/*.listado-carrito {*/
    /*overflow-x: hidden;*/
    /*overflow-y: auto;*/
    /*height: 320px;*/
    /*padding: 10px;*/
/*}*/
#viewer{
    width: 100%;
    height: 100%;
    display: table-cell;
    position: fixed;
    vertical-align: middle;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: 100;
}

#viewer-background{
    position:fixed;top:0;bottom: 0;right: 0;left: 0;background-color: #000000; opacity: 0.5
}

#viewer-content{
    background-color: #FFF;
    height: 820px;
    width: 1000px;
    top: 50%;
    left: 50%;
    position: absolute;
    margin: -405px 0px 0px -500px;
    box-shadow: 0px 0px 2px 1px;
    padding: 10px;
}

.producto-texto-marca:before{
    content: "marca";
    display: block;
    line-height: 11px;
    font-size: 11px;
    color: #738CD4;
}

.nombre_usuario {
    width: 67px;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 12px;
    word-break: normal;
    text-overline-style: dashed;
}


body{
    background-color: #EFEFEF /*#A52A2A/*#8C0000*/;
    padding-top: 90px;
}

body.cargado{
    background-color: #EFEFEF;

}




.xdescuento-inner:after {
    content: "%";
}
.xdescuento-inner:before {
    content: "-";
}


.descripcion{
    color: #7F7F7F;
    font-size: 10px;
}

.xdescuento{
    background-color: #8C0000;
    height: 23px;
    display: inline-block;
    width: 50px;
    text-align: center;
    color: #FFF;
}
.list-product-right{
    position: absolute;
    right: 0;
    width: 40px;
    margin: -2px;
    z-index: 90;
}

.list-product-left{
    position: absolute;
    left: 0;
    width: 50px;
    z-index: 90;
    /*margin: -2px;*/
}

.nombreproducto{
    font-weight: bold;color: #8C0000;
    font-size: 12px;
}

.cuadrado{
    height: 40px;
    box-shadow: 0px 0px 2px;
    width: 40px;
    text-align: center;
    line-height: 40px;
    background-color: #FFF;
    /*background-image: url(../img/noimg.jpg);*/
    /*background-size: 40px 40px;*/

}

.novedad {
    display: inline-block;
    height: 23px;
    width: 50px;
    background-color: #FBAF00;
    text-align: center;
    font-size: 11px;
    line-height: 23px;
    color: #191919;
}


.stock{
    color: #E38C00;
    font-size: 12px;
    font-weight: bold;
}

/* TODO: filtro para validar las clases */

.marca{
    background-image: url(../img/marcas_sprite.fw.png);
    /*background-size: 50px 50px;*/
}


.marca.dunlop       { background-position: -40px    0; }
.marca.krafwin      { background-position: -80px    0; }
.marca.enebe        { background-position: -120px   0; }
.marca.wilson       { background-position: -160px   0; }

.marca.drop         { background-position: 0        -40px; }
.marca.john-smith   { background-position: -40px    -40px; }
.marca.point,.marca.anzamar { background-position: -80px     -40px; }
.marca.babolat      { background-position: -120px     -40px; }
.marca.adidas       { background-position: -160px     -40px; }

.marca.coade        { background-position: -0px     -80px; }
.marca.atomic       { background-position: -40px     -80px; }
.marca.nike         { background-position: -80px     -80px; }
.marca.kappa        { background-position: -120px     -80px; }
.marca.luanvi       { background-position: -160px     -80px; }

.marca.macron       { background-position: -0px     -120px; }
.marca.cejudo       { background-position: -40px     -120px; }
.marca.rucanor      { background-position: -80px     -120px; }
.marca.vilapunt     { background-position: -120px     -120px; }
.marca.amaya        { background-position: -160px     -120px; }

.marca.crocs        { background-position: -0px     -160px; }
.marca.joluvi       { background-position: -40px     -160px; }
.marca.asics        { background-position: -80px     -160px; }
.marca.serval       { background-position: -120px     -160px; }
.marca.champion     { background-position: -160px     -160px; }

.marca.lotto        { background-position: -0px     -200px; }
.marca.umbro        { background-position: -40px     -200px; }
.marca.medes        { background-position: -80px     -200px; }
.marca.rox          { background-position: -120px     -200px; }
.marca.uhlsport     { background-position: -160px     -200px; }

.marca.reebok        { background-position: -0px     -240px; }
.marca.puma        { background-position: -40px     -240px; }
.marca.joma        { background-position: -80px     -240px; }
.marca.randy          { background-position: -120px     -240px; }
.marca.aqualine     { background-position: -160px     -240px; }

.marca.r-betis-b-        { background-position: -0px     -280px; }
.marca.turbo        { background-position: -40px     -280px; }
.marca.pi-3-14        { background-position: -80px     -280px; }
.marca.totsol          { background-position: -120px     -280px; }
.marca.mizuno     { background-position: -160px     -280px; }

.marca.vans        { background-position: -0px     -320px; }
.marca.converse        { background-position: -40px     -320px; }
.marca.kelme        { background-position: -80px     -320px; }
.marca.fila          { background-position: -120px     -320px; }
.marca.el-ni-o     { background-position: -160px     -320px; }

.marca.flamingo-valley         { background-position: -0px     -360px; }
.marca.speedo        { background-position: -40px     -360px; }
.marca.sphere        { background-position: -80px     -360px; }
.marca.mesuca          { background-position: -120px     -360px; }
.marca.andasport     { background-position: -160px     -360px; }

.marca.leon-de-oro         { background-position: -0px     -400px; }
.marca.naua        { background-position: -40px     -4000px; }
.marca.malaga-f-c-        { background-position: -80px     -4000px; }
.marca.van-caem        { background-position: -120px     -4000px; }
.marca.new-balance { background-position: -160px     -400px; }

.marca.o-neill { background-position: -0px     -440px; }
.marca.aqua-sphere { background-position: -40px     -440px; }


.tipologia{
    background-image: url(../img/tipologias.fw.png);
}

.tipologia.hombre { background-position: -40px    0; }
.tipologia.mujer { background-position: -80px    0; }
.tipologia.ni-o-a { background-position: -120px    0; }


/*.cuadrado.Hombre{*/
    /*background-image: url(../img/hombre.jpg);*/
/*}*/

/*.cuadrado.Mujer{*/
    /*background-image: url(../img/mujer.jpg);*/
/*}*/


/*.cuadrado.child{*/
    /*background-image: url(../img/child.jpg);*/
/*}*/




.outlet {
    display: inline-block;
    height: 23px;
    width: 50px;
    background-color: #008C00;
    text-align: center;
    font-size: 12px;
    line-height: 23px;
    color: #FFF;
}

.referencia img{
    /*max-height: 100px;*/
    /*max-width: 100px;*/
    height: auto;
    width: 100%;
}

.item { width: 25%; }
.item.w2 { width: 50%; }


.ref_body {
    padding: 10px;
    text-align: center;
}
.descuento {
    background-color: #F23333;
    padding: 3px;
    border-radius: 3px;
    color: #FFF;
}
.descuento:before {
    content: "-";
}
.descuento:after {
    content: "%";
}
.prices {
    padding: 10px;
    text-align: center;
    font-size: 17px;
}
.contenido {
    /*padding-left: 20px;*/
}
.lema{
    color: #A52A2A;
    font-size: small;
}

.carrito {
    display: inline-block;
    width: 450px;
    position: fixed;
    z-index: 100;
    background-color: #FFF;
    padding: 10px;
    box-shadow: 1px 1px 4px;
    right: 0;
    top: 65px;
}
.carrito.vacio{
    height: 200px;
}
.carrito.lleno{
    height: 100%;
    max-width: 100%;
}

.zona-scroll{
    position: fixed;
    top: 75px;
    bottom: 100px;
    overflow-x: hidden;
    margin-right: 20px;
    padding-right: 20px;
}


#footer-carrito {
    position: fixed;
    bottom: 0;
    height: 90px;
}
#carrito-content {
    /*position: fixed;*/
    /*bottom: 100px;*/
    /*top: 75px;*/
    /*overflow-x: hidden;*/
    /*padding-right: 10px;*/
}

.form-horizontal .control-label {
    text-align: right;
    letter-spacing: -0.06em;
}

.buscador-item-image{
    width: 300px;
    height: 300px;
    cursor: pointer;
    background-size: cover;
    background-position: center center;

    background-repeat: no-repeat;
    transition: all 0.5s;
    display: inline-block;
}

.buscador-item-image:hover{
    -webkit-transform: scale(1.08, 1.08);
    transform: scale(1.08, 1.08);
    padding: 10px;
    box-shadow: 0px 0px 9px;

}

hr {
    border-top: 1px dotted #CCC;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

/*@media only screen and (min-width: 35em) {*/
    /* Style adjustments for viewports that meet the condition */
/*}*/

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

@media only screen and (min-width: 340px) and (max-width: 650px){
    .buscador-articulo {
        width: 90%; /*1*/
    }
    .frontbanner-links a {
        padding: 6px;
    }
}

@media only screen and (min-width: 690px) and (max-width: 950px){
    .buscador-articulo {
       width: 45%; /*2*/
    }

}
@media only screen and (min-width: 1000px) and (max-width: 1290px){
    .buscador-articulo {
        width: 30%; /*3*/
    }

}
@media only screen and (min-width: 1310px) and (max-width: 1620px){
    .buscador-articulo {
        width: 23%; /*4*/
    }
}
@media only screen and (min-width: 1650px) and (max-width: 1930px){
    .buscador-articulo {
        width: 18.6%;
    }

}

@media only screen and (max-width:500px){
    /*body{*/
        /*visibility: hidden;*/
    /*}*/
    #hh-categorias {
        display: none !important;
        width: 60px;

    }
    #hh-busqueda {
        left: 130px !important;
        right: 110px !important;
    }

    #hh-usuario {
        display: none !important;
        width: 60px;
    }
    #hh-usuario-simple {
        height: 100%;
        text-align: center;
        line-height: 80px;
        width: 50px;
        display: inline-block !important;
        position: absolute;
        right: 60px;
        background: url(/img/extra.png) no-repeat center center;
        /*background-color: #006699;*/
    }
    .frontbanner-links a {
        width: 100%;
    margin: 1px;
    padding: 6px;}

}


/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
