* {
    margin: 0;
    padding: 0;
    box-sizing: content-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

/* *****************************************************************************
cuerpo 
cambiado width a 90%
*********************************************************************************/
.box {
    padding-top: 60px;
    width: 100%;
    display: grid;
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, auto);
    grid-template-areas:
        "box-filtro"
        "box-tarjeta"
        "contenedor_contador"
        "box-publi";


}

/* ***************************************************************************************************************************
DIV  FILTRAR Y CONTADOR DE ANUNCIOS   box-filtro
****************************************************************************************************************************** */
.box-filtro {
    grid-area: box-filtro;
    min-height: 30px;
    margin-top: 3px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;

}

/* **********************************************************
SELECT PRECIO
*************************************************************/
.cantidad-anuncios {
    width: 100%;
    padding: .6rem 0rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .15rem;


}

.precio-select {
    width: 150px;
    padding: .3rem .8rem .3rem .2rem;
    border-radius: 10px;
    cursor: pointer;
    margin: auto;


}

/* *****************  FIN SELECT PRECIO  ************** */
.filtro-btn {
    width: 100%;
    padding: .5rem 0rem;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: #047b7b;  */
}

.btn-filtrar {
    width: 150px;
    padding: .3rem;
    background-color: lime;
    border-radius: 10px;
    color: #FFF; 
    font-weight: bold;
    cursor: pointer;
    margin: auto;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.btn-filtrar:hover {
    /* background-color: #047b7b; */
    background-color: var(--color-volver);
    color: #fff;

}

.cantidad-anuncios {
    width: 100%;
    height: 1.5rem;
    /* background-color: rgba(0, 0, 0, 0.1);  */
    line-height: 1.5rem;


}

.cantidad-anuncios p {
    text-align: center;
    color: black;
}





/* ****************************************************************************************************************
*******************************************************************************************************************/
.box-tarjeta {
    grid-area: box-tarjeta;
    min-height: 290px;
    margin-top: 0px;
    margin-bottom: 2px;
    display: flex;
    flex-wrap: wrap;

}

/* -----------------aviso no articulo */
.box .noarticulo {
    /* background-color: rgb(220, 221, 220); */
    background-color: var(--color-banner);
    color: brown;
    font-size: 30px;
    font-weight: bold;
    font-family: sans-serif;
    padding: 80px 40px;
    text-align: center;
    position: relative;

}

.noarticulo button {
    background-color: rgb(6, 197, 197);
    width: 100px;
    padding: 10px 20px;
    border-radius: 3px;
    margin: 20px auto;
    cursor: pointer;
}

.noarticulo button:hover {
    background-color: rgb(6, 120, 120);
    box-shadow: 1px 2px 8px rgb(6, 120, 120);
    color: #fff;
}

.noarticulo button a {
    color: #fff;
    text-decoration: none;
}

h1 {
    text-align: center;
}

/*********************************************************************************************************
tarjeta 
**********************************************************************************************************/
.tarjeta {
    flex-wrap: wrap;
    position: relative;
    width: 100vw;
    background-color: #f8f8f8;
    max-width: 18.75rem;
    min-height: 316px;
    box-sizing: border-box;
    margin: 10px auto;
    border-radius: 0.9375rem 0.9375rem 0rem 0rem;
    display: grid;
    box-shadow: 0px 1px 1px black;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    grid-template-areas:
        "componentes-show    componentes-show   componentes-show     componentes-show"
        "container           container          container            container"
        "marca               marca              marca                cuore"
        "modelo              modelo             modelo               cuore"
        "provincia           provincia          provincia            provincia"
        "combustible         combustible        estado               estado"
        "  km                km                 anio                 anio "
        "poblacion           poblacion          caducidad            caducidad"
        "coment              coment             coment               coment"
        "info                info               precio               precio"
        "modificar           modificar          borrar               borrar";

}


.tarjeta {}


.tarjeta:hover {
    box-shadow: 0px 2px 6px black;
    cursor: pointer;

}

/* ****************************************************
TEX-AREA
******************************************************* */
.coment {
    grid-area: coment;
    height: auto;
    padding-left: .5rem;
    color: gray;
    overflow: auto;
    /* padding: 5px 8px; */
    box-shadow: -1px -1px 1px 0px;
}


/**********************************************************
cortina gris
***********************************************************/
.cortinagris {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 1;

}

.btn_cortina {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 0rem 2rem;
}

.cortinagris_renovar {
    padding: 4px 12px;
    width: 100px;
    margin-right: 2rem;
    border-radius: 14px;
    color: #fff;
    cursor: pointer;
    border: 3px solid #fff;
    user-select: none;

}

.comentario_renovar {
    background-color: rgb(162, 162, 162);
    width: 94%;
    margin: auto;
    padding: 2px 6px;
    border-radius: 3px;
    text-align: center;
    user-select: none;
}

p {
    color: #fff;
}


.r {
    background-color: #89f46e;
}

.r:hover {
    background-color: #2eca07;
}

.b {
    background-color: #d81717;
}

.b:hover {
    background-color: #c00404;
}



.container {
    grid-area: container;
    width: 75vw;
    max-width: 18.75rem;
    min-width: 300px;
    max-height: 19.75rem;
    overflow: hidden;
    margin: auto;
    border-radius: 0rem 0rem 0rem 0rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.container img {
    height: 10.438rem;
    width: 19rem;
    margin: 1px auto;
    object-fit: contain;
    cursor: pointer;
}



.btn-izq {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 10px;
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
    font-weight: bold;

}

.btn-der {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
    font-weight: bold;

}

.cuore {
    grid-area: cuore;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    user-select: none;

}

.cuore img {
    width: 22px;
    cursor: pointer;
}

/****************************************************************
capa imagen
*****************************************************************/

.capa {
    position: fixed;
    top: 60px;
    left: 0px;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: start;
    justify-content: center;
    z-index: 1;
    display: none;
}

#image-popup {
    width: 100%;
    height: 360px;
    margin-top: 40px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 1px solid rgb(39, 230, 6);
    background-color: white;


}

#close {
    position: absolute;
    bottom: 10px;
    right: 45%;
    transition: calc(-45%);
    cursor: pointer;
    font-size: 16px;
    background-color: #fff;
    border-radius: 50%;
    border: 2px solid transparent;
    padding: 4px;
    transition: .2s ease;

}

#close:hover {
    background-color: transparent;
    border: 2px solid #fff;
    transform: scale(0.8);
    box-shadow: 1px 1px 10px 3px #fff;

}

#image-popup img {
    height: 66%;
    margin: auto;
    object-fit: cover;
    cursor: pointer;
}




/* **************************************************
datos tarjeta movil
***************************************************** */
.componentes-show {
    grid-area: componentes-show;
    text-align: center;
    max-width: 100%;
    background-color: var(--color-banner);
    color: #fff;
    padding: 4px 3px 4px 26px;
    height: 1rem;
    display: flex;
    align-items: center;
    justify-content: left;
    user-select: none;
    border-radius: 12px 12px 0px 0px;
    background-size: contain;
    background-repeat: repeat;
    background-position: center;
    font-size: 17px;



}

.marca {
    grid-area: marca;
    flex-wrap: wrap;
    height: auto;
    text-transform: capitalize;
    padding-left: .7rem;
    font-weight: bold;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    user-select: none;
}

.estado {
    grid-area: estado;
    text-align: center;
    height: 20px;
    text-transform: capitalize;
    font-weight: bold;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;

}

.estado img {
    width: 16px;
    margin-right: 4px;
}

.rojo {
    color: red;
}

.verde {
    color: rgb(5, 216, 5);
}

/* *****************************************************
oem 
*********************************************************/
.modelo {
    grid-area: modelo;
    height: 20px;
    text-transform: capitalize;
    padding-left: .7rem;
    font-weight: bold;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    user-select: none;


}

.provincia {
    grid-area: provincia;
    height: auto;
    text-transform: capitalize;
    padding-left: .5rem;
    color: gray;
    font-size: 16px;
    flex-wrap: wrap;
    flex-direction: row;
    user-select: none;
}

.provincia img {
    width: 16px;
    font-weight: bold;
}

/* *************************************************************
fecha de inicio del anuncio 
*****************************************************************/
.poblacion {
    grid-area: poblacion;
    height: auto;
    padding: 2px 0px 2px 8px;
    color: #fff;
    user-select: none;
    background-color: var(--color-banner);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

/* ******************************************************************
fecha fin del anuncio 
**********************************************************************/
.caducidad {
    grid-area: caducidad;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    /* background-color: #7b0432; */

}

.vacio {
    display: none;
}

.caducidad .renovar {
    width: 8rem;
    height: 15px;
    line-height: 15px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    border: none;
    margin: 0px auto;
    border-radius: 5px;
    cursor: pointer;
    background-color: brown;
    color: #fff;
    cursor: pointer;
    transition: .3s ease;


}

.caducidad .renovar:hover {
    background-color: cadetblue;
    transform: scale(0.9);

}

.anio {
    grid-area: anio;
    height: 20px;
    text-transform: capitalize;
    text-align: center;
    color: gray;
    font-size: 16px;
    user-select: none;
}

.anio img {
    width: 16px;
}


#año {
    color: black;
    font-weight: bold;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;

}

.combustible {
    grid-area: combustible;
    height: auto;
    text-transform: capitalize;
    padding-left: .7rem;
    color: gray;
    flex-wrap: wrap;

    user-select: none;

}

.combustible img {
    width: 12px;
}

/* .km {
   
    height: 20px;
    text-transform: capitalize;
    color: gray;
    flex-wrap: wrap;
   

} */
.km {
    grid-area: km;
    display: grid;
    grid-template-columns: 19px 1fr;
    align-items: center;
    padding-left: .5rem;
    color: gray;
    user-select: none;
}

.km img {
    width: 14px;
    height: 14px;

}

/* ****************************************************
TEX-AREA
******************************************************* */
.coment {
    grid-area: coment;
    height: 100px;
    padding-left: .5rem;
    color: gray;
    overflow: auto;
    /* padding: 5px 8px; */
    box-shadow: -1px -1px 1px 0px;
}

.info {
    grid-area: info;
    height: 35px;
    text-transform: capitalize;
    padding-left: .5rem;
    text-align: center;
    line-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.info .vendedor {
    background-color: darkslategray;
    color: #fff;
    border-radius: 3px;
    cursor: pointer;
    border: none;
    width: 9.375rem;
    padding: 2px 0px;
    letter-spacing: 1px;

}

.info .vendedor:hover {
    background-color: rgb(65, 114, 114);
    background-color: transparnt;
    box-shadow: 2px 2px 6px gray;
    transform: scale(0.9);
}

.info .vendedor a {
    color: #d81717;
    padding: 2px 6px;
}

/******************************************************
precio
*******************************************************/
.precio {
    grid-area: precio;
    height: 35px;
    max-width: 180px;
    text-transform: capitalize;
    text-align: right;
    color: red;
    font-weight: bolder;
    padding-right: 2rem;
    line-height: 35px;
    font-size: 20px;
    user-select: none;
    border-radius: 10px;
}

.precio img {
    width: 20px;
    color: #d81717;
    background-color: rgb(231, 231, 231);
    ;

}

.euro {
    font-size: 14px;
}

/* ***********************************************
MODIFICAR
**************************************************/
.modificar {
    grid-area: modificar;
    user-select: none;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;

}

.modificar button {
    background-color: rgb(59, 210, 9);
    user-select: none;
    color: white;
    text-transform: capitalize;
    padding-left: .5rem;
    text-align: center;
    width: 8rem;
    border-radius: 10px;
    cursor: pointer;
    letter-spacing: 1px;
    border: none;
    padding: 2px 0px;
    box-shadow: 1px 2px 3px 2px #89f46e;
    transition: .3s ease;
    margin-bottom: .5rem;
    margin-top: .3rem;

}

.modificar button:hover {
    transform: translateY(2px);
    box-shadow: 0px 0px 1px rgb(174, 174, 174);
}

/***********************************************************
BORRAR
*************************************************************/
.borrar {
    grid-area: borrar;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.borrar button {
    background-color: red;
    user-select: none;
    color: white;
    text-transform: capitalize;
    padding-left: .5rem;
    text-align: center;
    width: 8rem;
    border-radius: 10px;
    cursor: pointer;
    letter-spacing: 1px;
    border: none;
    padding: 2px 0px;
    box-shadow: 1px 2px 3px 2px #f88a79;
    transition: .3s ease;
    margin-bottom: .5rem;
    margin-top: .3rem;
}

.borrar button:hover {
    transform: translateY(2px);
    box-shadow: 0px 0px 1px rgb(174, 174, 174);
}

/* *************************************************************
VENTANA VENDEDOR-------------VENTANA VENNDEDOR
****************************************************************/
/* .ventana { 
    position: fixed;
    border: 1px solid gainsboro;
    width: 90%;
    height: auto;
    top: 30%;
    left: 5%;
    transform: calc(-30% 5%);
    box-shadow: 3px 3px 6px rgb(156, 155, 155);
    background-color: transparent;
    background-color: #fff;
    border-radius: 10px;
    z-index: 100;
    display: none;
    background-color: var(--color-banner);
    padding: 3px 0px;
}*/
/* *****************************************************************************************************
ventana vendedor
 *****************************************************************************************************/
.ventana {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    width: 94%;
    max-width: 480px;
    max-height: 80vh;
    overflow-y: auto;
    box-sizing: border-box;

    background: #ffffff;
    border: 2px solid #194f87;
    border-radius: 16px;

    padding: 65px 18px 25px;

    box-shadow:
        0 0 0 3px rgba(25,79,135,0.12),
        0 12px 35px rgba(0,0,0,0.25);

    z-index: 99999;
    text-align: left;
    font-family: Arial, sans-serif;
}

/* CERRAR */


.cerrar {
    position: absolute;
    top: 10px;
    right: 15px;

     position: absolute;
    top: 0;
    left: 0;
    right: 0;

    height: 35px;
    background: #194f87;

    display: flex;
    justify-content: flex-end;
    align-items: center;

    padding-right: 15px;
    box-sizing: border-box;

    border-radius: 13px 13px 0 0;
    
}

.cerrar a {
    display: inline-block;
    color: #194f87;
    font-size: 18px;
    text-decoration: none;
    transition: transform .3s;
}

.cerrar a:hover {
    transform: rotateX(50deg);
}

/* TITULO */

.titulo_info {
    color: #194f87;
    font-size: 23px;
    margin: 5px 0 0px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8edf3;
    text-align: center;
}

/* DATOS */

.nombre_info {
    background: #f3f6fa;
    color: #263b50;

    font-size: 16px;
    font-weight: normal;
    line-height: 1.6;

    padding: 12px;
    margin: 12px 0;
    border-radius: 9px;

    overflow-wrap: anywhere;
}

/* ETIQUETAS */

.color_info {
    display: inline-block;
    color: #194f87;

    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;

    margin-bottom: 5px;
}

/* TELEFONO */

.telefono_info {
    background: #f3f6fa;
    color: #263b50;

    font-size: 21px;
    line-height: 1.5;

    padding: 12px;
    margin: 2px 0;
    border-radius: 9px;
}

/* WHATSAPP */

.logo_footer {
    width: 100%;
    margin-top: 20px;
}

.boton_whatsapp {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;

    width: 100%;
    box-sizing: border-box;

    padding: 16px 10px;

    background: #20c96b;
    color: #ffffff;

    font-size: 16px;
    font-weight: bold;
    text-decoration: none;

    border-radius: 10px;

    box-shadow: 0 4px 10px rgba(32,201,107,.2);

    transition: all .3s ease;
}

.boton_whatsapp:hover {
    background: #18aa58;
    color: #ffffff;
}

.icono_whatsapp {
    font-size: 25px;
}




/**************************************************************
contador de paginas
***************************************************************/
.contenedor_contador {
    grid-area: contenedor_contador;
    width: 100%;
    height: 40px;
    background-color: pink;
    text-align: center;
}

/*************************************************************
PAGINACION
**************************************************************/

ul.paginacion {
    display: inline-block;
    padding: 0;
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

ul.paginacion li {
    display: inline;
}

ul.paginacion li a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .3s;
    border: 1px solid #ddd;
    margin: 0 4px;
}

ul.paginacion li a.active {
    background-color: #4CAF50;
    color: white;
    border: 1px solid #4CAF50;
}

ul.paginacion li a:hover:not(.active) {
    background-color: #ddd;
}



/*************************************************************
 publicidad
 *************************************************************/
.box-publi {
    grid-area: box-publi;
    width: 100%;
    grid-area: box-publi;
    height: 100px;
    color: white;
    text-align: center;
}

/* ************************************************************************************
     350px       
***************************************************************************************     */

@media screen and (min-width:350px) {
    .tarjeta {
        max-width: 350px;
        min-height: 350px;

    }

    .container {
        max-width: 350px;
        min-width: 350px;
    }

}

@media screen and (min-width:370px) {
    .tarjeta {
        max-width: 360px;
        min-height: 360px;
    }

    .container {
        max-width: 360px;
        min-width: 360px;
    }

}

@media screen and (min-width:390px) {
    .tarjeta {
        max-width: 380px;
        min-height: 380px;
    }

    .container {
        max-width: 380px;
        min-width: 380px;
    }

}

@media screen and (min-width:410px) {
    .tarjeta {
        max-width: 400px;
        min-height: 400px;
    }

    .container {
        max-width: 400px;
        min-width: 400px;
    }

}

@media screen and (min-width:425px) {
    .tarjeta {
        max-width: 415px;
        min-height: 415px;
    }

    .container {
        max-width: 415px;
        min-width: 415px;

    }

}

/* ********************************************************************************
   760     760       760     760     760
************************************************************************************ */
@media screen and (min-width:760px) {

    /* ***************************************************
    cuerpo
    ***************************************************** */
    .box {
        grid-template-columns: 94%;
        grid-template-rows: auto;
        grid-template-areas:
            "box-filtro"
            "box-publi"
            "box-tarjeta "
            "contenedor_contador";
    }

    .box-filtro {
        width: 80%;
        margin: 10px auto;
        min-height: 30px;
        flex-direction: row;
        justify-content: space-between;


    }

    /* ***********************************************************
    SELECT PRECIO
    **************************************************************/
    .cantidad-anuncios {
        margin-bottom: .15rem;

    }

    .precio-select {
        width: 220px;
        padding: .3rem;
        border-radius: 10px;
        cursor: pointer;
        margin: auto;
    }

    /* ****************************************************************
       boton filtrar
       ****************************************************************/
    .btn-filtrar {
        color: white;
        width: 220px
    }


    /**************************************************************
    TARJETA
    ************************************************************** */
    .box-tarjeta {
        min-height: 370px;
    }

    .box-publi {
        width: 90%;
        height: 180px;
        min-height: 180px;
        margin: 10px auto 20px;
        /* background-color: #047b7b; */
        background-color: var(--color-banner);
    }

    .tarjeta {
        width: 100%;
        min-width: 100%;
        height: 220px;
        min-height: 135px;
        border-radius: 0rem 0rem 0rem 0rem;
        margin: 0px 10px 10px 10px;
        grid-template-columns: repeat(7, 1fr);
        grid-template-rows: auto;
        grid-template-areas:
            /*          1                2                  3                 4                     5                6            7     */
            /* "componentes-show  componentes-show  componentes-show  componentes-show  componentes-show   componentes-show    componentes-show  " */
            /* "container         marca             marca             marca             marca              cuore               estado" */
            /* "container         modelo            modelo            modelo            modelo             cuore               modificar" */
            /* "container         provincia         provincia        provincia          provincia          provincia           modificar " */
            /* "container         combustible       combustible      combustible        km                 km                  anio" */
            /* "container         coment            coment            coment            coment             coment              borrar" */
            /* "container         info              info              precio            precio             precio              borrar"; */


            " poblacion        caducidad               modelo              modelo                modelo             componentes-show   componentes-show  "
            "container         marca                   marca               marca                 marca              cuore               estado"
            "container         provincia               provincia           provincia             provincia          cuore               estado"
            "container         combustible             combustible         km                    anio               cuore               modificar"
            "container         coment                  coment              coment                coment             info                modificar"
            "container         coment                  coment              coment                coment             info                borrar"
            "container         coment                  coment              coment                coment             precio              borrar";

    }

    /* ......................datos tarjeta movil */
    .container {
        grid-area: container;
        width: 130px;
        max-width: 200px;
        min-width: 200px;
        max-height: 220px;
        overflow: hidden;
        margin: 1px;
        border-radius: 0rem 0rem 0rem 0rem;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;

    }

    .container img {
        height: 180px;
        width: 200px;
        margin: auto;
        object-fit: contain;
    }

    .btn-izq {
        position: absolute;
        top: 30%;
        transform: translateY(-30%);
        left: 10px;
        width: 30px;
        height: 30px;
        background-color: #fff;
        border-radius: 50%;
        text-align: center;
        line-height: 30px;
        cursor: pointer;
        font-weight: bold;

    }

    .btn-der {
        position: absolute;
        top: 30%;
        transform: translateY(-30%);
        right: 10px;
        width: 30px;
        height: 30px;
        background-color: #fff;
        border-radius: 50%;
        text-align: center;
        line-height: 30px;
        cursor: pointer;
        font-weight: bold;

    }

    .container .cuore {
        top: 10px;
        right: 2rem;
        width: 2rem;
        position: absolute;
        z-index: 10;
    }

    .container .cuore img {
        width: 39px;
    }

    .vacio {
        /* background-color: #047b7b; */
        background-color: var(--color-banner);
        display: block;
    }

    /* **************************************************
    capa imagen 
    *****************************************************/

    .capa {
        position: fixed;
        top: 60px;
        left: 0px;
        height: 100vh;
        width: 100vw;
        background-color: rgba(0, 0, 0, 0.2);
        display: flex;
        align-items: start;
        justify-content: center;
        z-index: 1;
        display: none;
    }

    #image-popup {
        width: 100%;
        height: 350px;
        margin-top: 40px;
        background-color: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;


    }

    #image-popup img {
        /* width: 50%; */
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    #close {
        position: absolute;
        bottom: 10px;
        right: 48.5%;
        transition: calc(-45%);
        cursor: pointer;
        font-size: 16px;
        background-color: #fff;
        border-radius: 50%;
        border: 2px solid transparent;
        padding: 4px;
        transition: .2s ease;
        user-select: none;

    }

    #close:hover {
        background-color: transparent;
        border: 2px solid #fff;
        transform: scale(0.8);
        box-shadow: 1px 1px 10px 3px #fff;

    }



    /* *******************************************************
    VENTANA VENDEDOR       VENTANA VENNDEDOR
    ******************************************************* */
    .ventana {
    top: 30%;
}





    /* ********************************************************
    datos tarjeta movil 
    ***********************************************************/
    .componentes-show {
        font-size: 12px;
        height: auto;
        /* background-color: #047b7b; */
        background-color: var(--color-banner);
        color: #fff;
        text-align: right;
        /* padding-right: 1rem; */
        padding: 3px 3px 3px 6px;
        border-radius: 0px 0px 0px 0px;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    }

    .marca {
        grid-area: marca;
        height: auto;
        text-transform: capitalize;
        padding-left: .5rem;
        font-size: 16px;
        font-weight: bold;
        padding-top: .5rem;

    }

    .estado {
        text-align: center;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: red;
        font-family: monospace;

    }

    .rojo {
        color: red;
    }

    .verde {
        color: rgb(5, 216, 5);
    }

    /* *********************************************************
    codigo oem
    ************************************************************* */
    .modelo {
        grid-area: modelo;
        height: auto;
        /* background-color: #047b7b; */
        background-color: var(--color-banner);
        color: #fff;
        text-transform: capitalize;
        padding-left: .7rem;
        font-weight: bold;
        font-size: 12px;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        display: flex;
        align-items: center;
        justify-content: center;

    }



    .provincia {
        grid-area: provincia;
        height: 15px;
        text-transform: capitalize;
        padding-left: .5rem;
        font-size: 11px;
        padding-bottom: 5px;
    }

    /****************************************************
     div de fecha
     *************************************************** */
    .poblacion {
        /* display: block; */
        grid-area: poblacion;
        text-transform: capitalize;
        /* padding-left: 1rem; */
        /* font-size: 11px; */
    }


    .anio {
        grid-area: anio;
        height: 18px;
        text-transform: capitalize;
        padding-left: .5rem;
        color: gray;
        font-size: 12px;
        line-height: 18px;

    }




    .combustible {
        grid-area: combustible;
        /* height: 20px; */
        height: 18px;
        text-transform: capitalize;
        padding-left: .7rem;
        font-size: 12px;
        line-height: 18px;
    }

    /* *****************************************************
    km 
    ********************************************************/


    .km img {
        width: 18px;
    }

    .km {
        grid-area: km;
        color: gray;
        height: 18px;
        text-transform: capitalize;
        padding-left: .5rem;
        text-align: left;
        font-size: 12px;
        line-height: 18px;
    }

    .coment {
        grid-area: coment;
        height: 100px;
        user-select: none;
        color: gray;
        font-size: 16px;
        box-shadow: rgb(211, 211, 211) .2px .2px 1px 1px inset;
        padding: 2px 8px;
        transition: all easy .3s;
        overflow-x: hidden;
    }

    .info {
        grid-area: info;
        height: 20px;
        text-transform: capitalize;
        padding-left: .5rem;
        text-align: center;
        line-height: 10px;

    }

    .info .vendedor {
        width: 60%;
        width: 7rem;
        background-color: darkslategray;
        color: #fff;
        font-size: 14px;
        border-radius: 3px;
        padding: 1px 0px;
        cursor: pointer;

    }

    /* *********************************************
      precio  
    ************************************************ */
    .precio {
        height: 25px;
        text-transform: capitalize;
        text-align: center;
        color: red;
        font-weight: bolder;
        line-height: 25px;
        font-size: 20px;
        padding-right: 0rem;
        padding-left: 2rem;
    }

    .modificar {

        align-items: center;
        justify-content: center;
    }

    .modificar button {
        width: 3.7rem;
        font-size: 10px;
        padding: 2px 2px;

    }

    .borrar button {
        width: 3.7rem;
        font-size: 10px;
        padding: 2px 2px;
    }

    .borrar button {
        background-color: red;
    }

}

@media screen and (min-width:800px) {

    /* **************************************************
    VENTANA VENDEDOR     VENTANA VENNDEDOR
    ***************************************************** */
    

    .box .noarticulo {
        width: 100%;
    }
}

@media screen and (min-width:1100px) {

    .tarjeta {
        width: 100%;
        min-width: 100%;
        height: 220px;
        min-height: 135px;
        border-radius: 0rem 0rem 0rem 0rem;
        margin: 0px 10px 10px 10px;
        grid-template-columns: repeat(7, 1fr);
        grid-template-rows: auto;
        grid-template-areas:
            /*   1                2                      3                   4                     5                     6                      7     */
            " poblacion        caducidad               modelo              modelo                componentes-show   componentes-show    componentes-show  "
            "container         marca                   marca               marca                 marca              cuore               estado"
            "container         provincia               provincia           provincia             provincia          cuore               estado"
            "container         combustible             combustible         km                    anio               cuore               modificar"
            "container         coment                  coment              coment                coment             info                modificar"
            "container         coment                  coment              coment                coment             info                borrar"
            "container         coment                  coment              coment                coment             precio              borrar";

    }


    /* ***************************************************
    VENTANA VENDEDOR    VENTANA VENNDEDOR 
    *******************************************************/
     .ventana {
    top: 40%;
    
}



    .noarticulo button {
        background-color: rgb(6, 197, 197);
        width: 100px;
        padding: 5px 20px;
        border-radius: 13px;
        margin: 20px auto;
    }

    .noarticulo button:hover {
        transform: scale(.99);
    }


    #close {
        right: 55.5%;
    }

    .modificar button {
        width: 4rem;
        font-size: 10px;
        padding: 3px 4px;

    }

    .borrar button {
        width: 4rem;
        font-size: 10px;
        padding: 3px 4px;
    }

    .r {
        margin-left: 5rem;
    }

    .b {
        margin-left: 10rem;
    }



}

@media screen and (min-width:1200px) {

    /* *****************************************************
    cuerpo
    ******************************************************** */
    .box {
        grid-template-columns: 10% 70% 20%;
        min-height: 31rem;
        grid-template-areas:
            "nuevo      box-filtro         box-publi"
            " nuevo    box-tarjeta          box-publi"
            " nuevo    contenedor_contador  box-publi";
    }

    .box-filtro {
        margin-top: 10px;
        min-height: 30px;
    }

    .cantidad-anuncios p {
        text-align: left;
    }



    .tarjeta {
        margin: 10px auto 10px;

    }

    .componentes-show {
        font-size: 12px;
        padding: 3px 3px 3px 36px;
    }

    /* **************************************************************************************************
    CAJA PUBLICIDAD IZQUIERDA TRES COLUMNAS                     CAJA PUBLICIDAD IZQUIERDA TRES COLUMNAS
    *****************************************************************************************************/

    .nuevo {
        grid-area: nuevo;
        background-color: #e7e7e7;
        width: 90%;
        margin: auto;
        height: 98%;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 1fr);
        grid-template-areas: "columna-uno"
            "columna-dos"
            "columna-tres"
            "columna-cuatro"
            "columna-cinco";
    }

    .columna-uno {
        grid-area: columna-uno;
        background-image: url(../imagenes/radiador.png);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;

    }

    .columna-dos {
        grid-area: columna-dos;
        background-image: url(../imagenes/espejo.png);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;

    }

    .columna-tres {
        grid-area: columna-tres;
        background-image: url(../imagenes/amortiguador.png);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    .columna-cuatro {
        grid-area: columna-cuatro;
        background-image: url(../imagenes/escape.png);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    .columna-cinco {
        grid-area: columna-cinco;
        background-image: url(../imagenes/freno.png);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    /* *********************************************************************************************
    CAJA PUBLICIDADA DERECHA TRES COLUMNAS
    ************************************************************************************************ */

    .box-publi {
        height: 95%;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 1fr);
        grid-template-areas:
            "box-publiuno"
            "box-publidos"
            "box-publitres";
    }

    .box-publiuno {
        grid-area: box-publiuno;
        /* background-image: url(../imagenes/cristal.png); */
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;

    }

    .box-publiuno img {
        width: 100%;
    }

    .box-publidos {
        grid-area: box-publidos;
        background-image: url();
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;

    }

    .box-publidos img {
        width: 100%;
    }


    .box-publitres {
        grid-area: box-publitres;

        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
    }


    .boc .marca {
        font-size: 18px;
    }

    .modelo {
        grid-area: modelo;
        height: auto;
        text-transform: capitalize;
        padding-left: .7rem;
        font-weight: bold;
        display: flex;
        align-items: center;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;

    }

    .provincia {
        font-size: 16px;
    }

    .poblacion {
        font-size: 13px;
        /* background-color: rgb(4, 123, 123); */
        background-color: var(--color-banner);
        color: #fff;
        height: auto;
        display: flex;
        align-items: center;
    }

    .combustible {
        font-size: 16px;
    }

    .km {
        font-size: 16px;
    }

    .anio {
        font-size: 16px;
    }

    #close {
        right: 48.5%;
    }

    .coment {
        height: 80px;
        padding-bottom: 3px;
    }

    .r {
        margin-left: 5rem;
    }

    .b {
        margin-left: 6rem;
    }

    .comentario_renovar {
        padding: 3px 6px;

    }

    .btn_cortina {
        padding: 5rem 0rem 1rem;
    }





    /* **************************************************
    VENTANA VENDEDOR       VENTANA VENNDEDOR
    **************************************************** */
    

    
}