/* ==================== VARIABLES ==================== */

:root {
    --color-verde:      #88ac2b;
    --color-rojo:       #de1070;
    --color-gris:       #cccccc;
    --color-gris-texto: #5e5e5e;
    --color-gris-boton: #999999;
    --color-fondo:      #eff8e0;
    --ancho-dk:         1024px;
    --fuente-base:      Arial;
}


/* ==================== BASE COMPARTIDA ==================== */

body {
    background-color: var(--color-gris);
    font-family: var(--fuente-base);
    margin: 0;
}

a {
    text-decoration: none;
}

    a:-webkit-any-link {
        color: inherit;
        text-decoration: none;
    }

table, tr, td {
    border-spacing: 0;
}


/* FORMULARIOS */

.labelFor {
    font-weight: bold;
    display: block;
    height: 20px;
}

.controlFor:focus {
    outline: none;
}

.validationFor {
    display: block;
    font-size: 13px;
    height: 18px;
    color: var(--color-rojo);
    margin-top: 3px;
}

.spanLabel {
    display: block;
    font-size: 13px;
    height: 14px;
}

.controlCheckboxFor {
    display: inline-block;
    margin-left: 20px;
    width: 20px;
    height: 20px;
}

.labelCheckboxFor {
    display: inline-block;
    height: 20px;
    width: 300px;
    font-size: 13px;
    position: relative;
    top: -5px;
}


/* BOTONES */

.botonVerde {
    font-size: 14px;
    border: 1px solid white;
    background-color: var(--color-verde);
    height: 24px;
    text-align: center;
    padding-top: 6px;
    font-weight: bold;
    cursor: pointer;
    width: 100px;
    color: white;
}

.botonGris {
    font-size: 14px;
    border: 1px solid white;
    background-color: var(--color-gris);
    height: 24px;
    text-align: center;
    padding-top: 6px;
    font-weight: bold;
    cursor: pointer;
    width: 100px;
    color: var(--color-gris-texto);
}

.botonGrisOscuro {
    font-size: 14px;
    border: 1px solid white;
    background-color: var(--color-gris-texto);
    height: 24px;
    text-align: center;
    padding-top: 6px;
    font-weight: bold;
    cursor: pointer;
    width: 100px;
    color: white;
}


/* VENTANAS */

.tableCabeceraVentana {
    width: 100%;
    height: 30px;
    background-color: var(--color-verde);
    color: white;
    cursor: move;
}

.tdAspaCabeceraVentana {
    width: 20px;
}

.imgAspaVentana {
    cursor: pointer;
}

    .tdAspaCabeceraVentana img {
        width: 20px;
    }

.cuerpoVentana {
    min-width: 150px;
    min-height: 150px;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 20px;
    margin-right: 20px;
}

#containerVentanaMenuUsuario a {
    display: block;
}

#cuerpoVentanaMenuUsuario {
    min-height: 30px;
    margin: 0;
    padding: 0 0 18px 0;
}

#tableMenu {
    z-index: 101;
    width: 100%;
    margin-bottom: 0px;
}

/* ICONOS Y TEXTO DE OPCIONES DE MENÚ */

.opcionMenu {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 90%;
    border-bottom: 1px solid #ccc;
}


.iconoMenu {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--color-verde);
    display: flex;
    align-items: center;
}

.iconoMenu svg {
    width: 100%;
    height: 100%;
}

.textoMenu {
    flex: 1;
}

.cabMenu {
    font-size: 74%;
    font-weight: bold;
    letter-spacing: 1px;
    color: #aaa;
    padding: 8px 15px;
    border-top: 1px solid var(--color-verde);
    border-bottom: 1px solid var(--color-verde);
}

/* MENÚ DE USUARIO - ÍTEMS */

#tableMenuUsuario {
    width: 100%;
}

.itemMenuUsr {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--color-verde);
    color: var(--color-gris-texto);
    font-size: 90%;
    box-sizing: border-box;
}

.itemMenuUsr:hover {
    color: var(--color-rojo);
}


.iconoMenuUsr {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--color-verde);
    display: flex;
    align-items: center;
}

.iconoMenuUsr svg {
    width: 100%;
    height: 100%;
}

.textoMenuUsr {
    flex: 1;
}

.itemBaja .textoMenuUsr {
    color: #c0392b;
}

.itemBaja .iconoMenuUsr {
    color: #c0392b;
}

.itemBaja:hover {
    color: #a93226;
}

.textoMotivacional {
    font-size: 82%;
    color: var(--color-gris-texto);
    padding: 8px 16px 10px;
    margin: 0;
    line-height: 1.4;
}

.itemRegistrarme {
    background-color: white;
    color: var(--color-verde);
    border: 2px solid var(--color-verde);
    justify-content: center;
    gap: 8px;
    font-weight: bold;
    font-size: 90%;
    margin: 10px 16px 16px;
    border-radius: 6px;
    padding: 9px 16px;
}

.itemRegistrarme .iconoMenuUsr {
    color: var(--color-verde);
}

.itemRegistrarme:hover {
    background-color: var(--color-fondo);
    color: var(--color-verde);
}

#textoVentanaAlerta {
    font-size: 95%;
    margin: 20px;
}

#tableBotonesVentanaAlerta {
    margin: 25px;
    margin-top: 0;
    padding-left: 10px;
    width: 100%;
}

    #tableBotonesVentanaAlerta td {
        width: 50%;
    }


/* MÁSCARA */

.mascara {
    background: rgba(0,0,0,0.5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: 1000;
    display: none;
}

#mascaraCookies {
    z-index: 1001;
}


/* ==================== DESKTOP (body.dk) ==================== */

body.dk .controlFor {
    display: block;
    margin-top: 5px;
    width: 340px;
    height: 25px;
    background-color: white;
    border: none;
    color: var(--color-gris-texto);
    font-size: 14px;
    padding-left: 5px;
}

body.dk .botonRojo {
    font-size: 14px;
    height: 30px;
    background-color: var(--color-rojo);
    text-align: center;
    padding-top: 10px;
    font-weight: bold;
    width: 100px;
    cursor: pointer;
}

body.dk .ventana {
    border: 5px solid var(--color-verde);
    background-color: white;
}

body.dk .containerVentana {
    border: 1px solid white;
    width: auto;
    height: auto;
    position: fixed;
    z-index: 10000;
    background-color: white;
}

body.dk .tituloVentana {
    margin-left: 30px;
    font-size: 110%;
    font-weight: bold;
}

body.dk #pagina {
    background-color: var(--color-fondo);
    position: relative;
      margin: 0 auto;
    width: var(--ancho-dk);
    height: auto;
   
}

body.dk #tablePaginaFija {
    background-color: var(--color-fondo);
    width: var(--ancho-dk);
    height: auto;
    position: fixed;
    z-index: 1000;
    top: 0;
   /* left: 50%;
    transform: translateX(-50%);*/
}

body.dk #tablePaginaMovil {
    width: 100%;
    height: auto;
    position: relative;
    margin-bottom: 30px;
    margin-top: 153px;
}

body.dk .opcionMenu {
    min-height: 30px;
    font-weight: bold;
    color: var(--color-gris-texto);
    padding: 8px 15px;
}

body.dk .opcionMenu:hover {
    color: var(--color-rojo);
}

body.dk .cabMenu {
    padding: 10px 15px 4px;
}

body.dk #containerVentanaMenuPrincipal {
    top: 168px;
    left: 56px;
    width: 380px;
    display: none;
}

body.dk #containerVentanaMenuUsuario {
    top: 97px;
    right: 205px;
    display: none;
    min-width: 240px;
    width:300px;
}

body.dk #containerVentanaAlerta {
    display: none;
    top: 97px;
    right: 30px;
    width: 350px;
}

body.dk #containerVentanaGen {
    display: none;
    top: 97px;
    right: 205px;
}

body.dk #capaOscura {
    background-color: var(--color-fondo);
    z-index: 99;
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0.5;
    display: none;
}

body.dk #tableSuperCabecera {
    width: 100%;
    height: 95px;
    position: relative;
    margin: 0 auto;
}

body.dk #tableCabecera {
    margin-top: 4px;
}

body.dk #tdLogo img {
    display: block;
    position: relative;
    margin: 0 auto;
    width: 150px;
}

body.dk #tdPubli {
    width: 735px;
    padding-left: 10px;
}

body.dk #tdUser {
    width: 110px;
    vertical-align: middle;
    text-align: center;
    cursor: pointer;
}

body.dk #nombreUser {
    font-size: 12px;
    font-weight: bold;
    color: var(--color-verde);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 105px;
}

body.dk #apellidosUser {
    font-size: 12px;
    font-weight: bold;
    color: var(--color-verde);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 105px;
}

body.dk #accesoUsuario {
    position: relative;
    margin: 0 auto;
    margin-top: 30px;
    width: 80px;
    font-size: 14px;
    color: var(--color-verde);
    text-align: center;
    cursor: pointer;
}

body.dk #trCabecera {
    background-color: var(--color-verde);
    width: 100%;
    min-height: 70px;
    height: auto;
    color: white;
}

body.dk #tdMenu {
    width: 45px;
    padding-left: 15px;
    vertical-align: middle;
}

body.dk #tdLogoInfo {
    min-width: 150px;
    vertical-align: middle;
}

body.dk #logoInfo {
    position: relative;
    margin: 0 auto;
    min-width: 55px;
    display: table;
}

body.dk #tableTituloSubtitulo {
    width: 500px;
}

body.dk #tdTitulo {
    font-size: 20px;
    font-weight: bold;
}

body.dk #tdSubtitulo {
    font-size: 16px;
    line-height: 22px;
}

body.dk #tableCompartir tr td {
    width: 50px;
}

body.dk #tableCompartir {
    display: none;
}

body.dk #tdBotonCabecera {
    padding-left: 7px;
}

body.dk #botonNuevaBusqueda {
    width: 125px;
    font-size: 14px;
    padding-top: 8px;
    display: none;
}

body.dk #botonMeGusta {
    display: none;
}

body.dk #botonEditar {
    display: block;
}

body.dk #trNotificacion {
    background-color: white;
    width: 100%;
    height: 50px;
    color: var(--color-gris-texto);
    opacity: 0.9;
    display: none;
}

body.dk #tdTextoNotificacion {
    width: 800px;
    padding-left: 50px;
    padding-right: 20px;
    font-size: 16px;
}

body.dk #botonNotificacion {
    background-color: var(--color-gris);
    width: 100px;
    height: 25px;
    text-align: center;
    padding-top: 5px;
    color: white;
    cursor: pointer;
}

body.dk #trCuerpo {
    display: table;
    color: var(--color-gris-texto);
    vertical-align: top;
    width: 100%;
    min-height: 700px;
}

body.dk #tablePie tr td {
    text-align: center;
    padding-left: 10px;
    width: 110px;
}

body.dk #tablePie tr td:first-child {
    width: 150px;
}

    body.dk #tablePie tr td.separadorPie {
        width: 25px;
    }

body.dk #trPie {
    background-color: var(--color-verde);
    width: 100%;
    height: 50px;
    color: white;
    font-size: 12px;
}

body.dk #tablePie {
    width: 100%;
   /* border-top: 1px solid var(--color-gris);*/
    font-size: 13px;
    /*color: var(--color-gris-texto);*/
    color:white;
}

body.dk #tdPieIzq {
    padding: 10px 10px;
    text-align: left;
    white-space: nowrap;
}

body.dk #tdPieDer {
    padding: 10px 10px;
    text-align: right;
    white-space: nowrap;
}

body.dk #tdPieDer a {
    /*color: var(--color-verde);*/
    color:white
}

body.dk #tdPieDer a:hover {
    color: var(--color-rojo);
}

body.dk #trAcciones,
body.dk #trAcciones td {
    background-color: var(--color-fondo);
    border-top: 1px solid var(--color-gris);
}

body.dk #accionesCabecera {
    display: flex;
    justify-content: right;
    align-items: center;
    gap: 24px;
    padding: 7px 15px;
    box-sizing: border-box;
}

body.dk .accionCabecera {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--color-verde);
    cursor: pointer;
    text-decoration: none;
}

body.dk .accionCabecera:hover {
    color: var(--color-rojo);
}

body.dk .iconoAccion {
    width: 22px;
    height: 22px;
}

body.dk .iconoAccionEditar {
    width: 26px;
    height: 26px;
    position: relative;
    top: -1px;
}

body.dk #btnPedirListaRegalos {
    padding: 5px 18px;
    background: transparent;
    border: 2px solid var(--color-verde);
    border-radius: 24px;
    color: var(--color-verde);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin-right: 0px;
    white-space: nowrap;
}


/* ==================== MÓVIL (body.mb) ==================== */

html.mb {
    height: 100%;
    display: block;
}

body.mb {
    margin: 0 auto;
    width: 100%;
    height: 100%;
    display: block;
    -webkit-overflow-scrolling: touch;
}

body.mb .controlFor {
    display: block;
    margin-top: 5px;
    width: 85%;
    height: 25px;
    background-color: white;
    border: none;
    color: var(--color-gris-texto);
    font-size: 95%;
    padding-left: 5px;
}

body.mb .botonRojo {
    font-size: 80%;
    height: 25px;
    background-color: var(--color-rojo);
    text-align: center;
    padding-top: 5px;
    width: 60px;
    cursor: pointer;
}

body.mb .ventana {
    border: 5px solid var(--color-verde);
}

body.mb .containerVentana {
    border: 1px solid white;
    position: fixed;
    z-index: 10000;
    background-color: white;
    top: 110px;
    width: 100%;
    height: auto;
    display: none;
}

    body.mb .tableCabeceraVentana tbody tr {
        display: block;
        width: 100%;
    }

body.mb .tituloVentana {
    margin-left: 8%;
    font-size: 100%;
    font-weight: bold;
    width: 90%;
}

body.mb .tdTituloCabeceraVentana {
    width: 100%;
}

body.mb #Pagina {
    background-color: var(--color-fondo);
    height: 100%;
}

body.mb #capaLandscape {
    position: fixed;
    background-color: var(--color-fondo);
    height: 100%;
    width: 100%;
    z-index: 99999;
    display: none;
}

    body.mb #capaLandscape img {
        display: block;
        position: absolute;
        top: 20%;
        left: 25%;
        width: 50%;
    }

body.mb #tableCabecera {
    position: fixed;
    z-index: 100;
    width: 100%;
    top: 0;
}

body.mb #trSuperCabecera {
    height: 55px;
    width: 100%;
    display: block;
    background-color: var(--color-fondo);
}

    body.mb #trSuperCabecera td:first-child {
        width: 100%;
        display: block;
    }

body.mb #trCabecera {
    background-color: var(--color-verde);
    height: 47px;
    color: white;
    padding-left: 20px;
    padding-right: 25px;
    padding-top: 7px;
    padding-bottom: 7px;
    width: 98%;
    display: block;
}

body.mb #trAcciones,
body.mb #trAcciones td {
    background-color: var(--color-fondo);
    display: block;
    width: 100%;
    box-sizing: border-box;
}

body.mb #accionesCabecera {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    padding: 6px 0;
    box-sizing: border-box;
}

body.mb .accionCabecera {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--color-verde);
    cursor: pointer;
    text-decoration: none;
}

body.mb .iconoAccion {
    width: 22px;
    height: 22px;
}

body.mb .iconoAccionEditar {
    width: 26px;
    height: 26px;
    position: relative;
    top: -1px;
}

body.mb #trCabecera td,
body.mb #trCabecera tr,
body.mb #trCabecera table,
body.mb #trCabecera tbody {
    width: 100%;
    display: block;
}

body.mb #tituloSubtitulo {
    position: relative;
    width: 90%;
    vertical-align: central;
}

body.mb #titulo {
    font-size: 95%;
    vertical-align: central;
    font-weight: bold;
    position: relative;
    margin-top: -2px;
    height: 100%;
}

body.mb #subtitulo {
    font-size: 75%;
    margin-top: 10px;
    position: relative;
    display: block;
    vertical-align: central;
    min-height: 25px;
}

body.mb #imgLogo {
    width: 100px;
    position: relative;
    margin: 0 auto;
    display: block;
}

body.mb #imgMenu {
    width: 40px;
    display: block;
    position: absolute;
    top: 10px;
    left: 10px;
}

body.mb #cajaUser {
    position: absolute;
    width: 95px;
    height: 55px;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0 6px;
    box-sizing: border-box;
}

body.mb #nombreUser {
    font-size: 11px;
    font-weight: bold;
    color: var(--color-verde);
    text-align: center;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.mb #apellidosUser {
    font-size: 11px;
    font-weight: bold;
    color: var(--color-verde);
    text-align: center;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

body.mb #accesoUsuario {
    display: block;
    position: absolute;
    top: 15px;
    right: 15px;
    width: 100%;
    font-size: 80%;
    text-align: center;
    color: var(--color-verde);
}

body.mb #botonNuevaBusqueda {
    border: 2px solid white;
    width: 120px;
    height: 20px;
    text-align: center;
    padding-top: 4px;
    color: white;
    cursor: pointer;
    font-size: 80%;
    position: absolute;
    right: 5%;
    top: 65px;
    display: none;
}

body.mb #botonMeGusta {
    display: none;
}

body.mb #botonEditar {
    display: block;
    right: 2%;
}

body.mb .botonCabecera {
    position: absolute;
    right: 3%;
    top: 68px;
}

body.mb #CuerpoPagina {
    position: fixed;
    top: 110px;
    overflow: scroll;
    height: 400px;
    width: 100%;
}

body.mb #capaOscura {
    background-color: var(--color-fondo);
    z-index: 101;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 55px;
    opacity: 0.8;
    display: none;
}

body.mb #notificacion {
    background-color: white;
    width: 100%;
    height: auto;
    color: var(--color-gris-texto);
    opacity: 0.9;
    position: relative;
    margin: 0 auto;
    z-index: 100;
    padding-top: 15px;
    padding-bottom: 15px;
    display: none;
}

body.mb #tableNotificacion {
    width: 100%;
}

body.mb #textoNotificacion {
    font-size: 85%;
    text-align: justify;
}

body.mb #botonNotificacion {
    background-color: var(--color-gris);
    width: 90px;
    height: 25px;
    text-align: center;
    padding-top: 8px;
    color: white;
    cursor: pointer;
    position: relative;
    margin-right: 10px;
    margin-left: auto;
    font-size: 90%;
}

body.mb #tdTextoNotificacion {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 95%;
}

body.mb #containerVentanaMenuPrincipal {
    position: fixed;
    top: 55px;
    left: 0px;
    width: 280px;
    z-index: 200;
}

body.mb .opcionMenu {
    min-height: 34px;
    color: var(--color-gris-texto);
    padding: 8px 15px;
}

body.mb .opcionMenu:hover {
    color: var(--color-rojo);
}

body.mb #cuerpoVentanaMenuPrincipal {
    margin-left: 0px;
    margin-right: 0px;
    padding: 0;
}

body.mb #containerVentanaMenuUsuario {
    position: fixed;
    top: 55px;
    right: 0px;
    width: 250px;
    z-index: 200;
}

body.mb #tableMenuUsuario {
    width: 100%;
}

body.dk #tableMenuUsuario {
    width: 100%;
}

body.dk #tableMenuUsuario tr td {
    min-height: 30px;
    cursor: pointer;
    font-weight: bold;
    color: var(--color-gris-texto);
    padding-top: 7px;
    height: 30px;
    border-bottom: 2px solid var(--color-verde);
    padding-left: 10px;
}

body.mb #containerVentanaAlerta {
    left: 0px;
}

body.mb #containerVentanaGen {
    left: 0px;
}

body.mb #paginaMovil {
    height: auto;
    position: relative;
    width: 100%;
}

body.mb #PiePagina {
    position: fixed;
    width: 100%;
    bottom: 0;
}

body.mb #Publi0 {
    width: 320px;
    display: block;
    position: relative;
    margin: 0 auto;
}


/********** MEDIA QUERIES - MÓVIL **************************************/

@media (orientation: landscape) {
}

@media (max-width: 330px) and (orientation: portrait) {

    body.mb #titulo {
        font-size: 80%;
    }

    body.mb #subtitulo {
        font-size: 75%;
        margin-top: 5px;
    }
}

@media (min-width: 330px) {
}
