﻿/*Colores:

    Verde puntos: #00A18D
    Rojo Nani: #DC002E
    Gris oscuro: #282a2b
    Gris claro: #aea79f

*/

@import url('custom.css');
:root { --pix-color-primario: #00A18D; }


* { box-sizing: border-box; font-family: 'Roboto Condensed', sans-serif; -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important; }
html { height: 100% }
html, body, form { margin: 0; padding: 0; }
body { overflow-x: hidden; }

a { text-decoration: none; color:black }

body { padding: 80px 0 64px 0 }
body.home { height: 100%; padding-left: 8px; padding-right: 8px; background-image: url(/img/fondo-home.jpg); background-color: #000; background-size: cover; background-position: center center; background-attachment: fixed }
body.home form { height: 100% }
body.usuario #fondoHeader { opacity: 1; display: block; position: fixed; top: 0; left: 0; height: 50vh; background-image: url(/img/fondo-home.jpg); background-color: #000; background-size: cover; background-position: center center; width: 100% }
body.login { background-image: url(/img/fondo-login-app.jpg); background-color: #000; background-size: cover; background-position: center center; padding-left: 16px; padding-right: 16px }
body.tarjetas header, body.fichaCatalogo header { background: #000 }
body.login.cargando:before { left: 0; top: 0; }

.redondeoBordes { border-radius: 55% 55% 57% 65%; }
.tarjetaClubNani { display: block; width: 100%; background: #fff; padding: 24px; border-radius: 16px; }
#secFichaCatalogo .tarjetaClubNani iframe { height: 417px !important; }
.tarjetaClubNani h1 { margin-top: 0; margin-bottom: 8px; font-size: 20px }
section { position: relative }
#secLogoInferior { display: block; width: 100% }
#secLogoInferior > a { display: block; width: 100%; padding: 8px 8px 16px 8px; text-align: center }

.tarjetaClubNani.tarjetasTextoConImagen img { max-width: 100%; border-radius: 15px; margin-top: 10px; margin-bottom: 10px; height: auto; }
.pix-check { margin-bottom: 5px; }
.textoMayusculas{text-transform:uppercase}

/*Lista de enlaces (por ejemplo: Mi cuenta)*/
.menuEnlacesClubNani { list-style-type: none; margin: 0; padding: 0; display: block; width: 100% }
.menuEnlacesClubNani a { line-height: 48px; font-size: 18px; color: #0D0D0D; text-decoration: none; display: block; padding-right: 40px; border-radius: 4px }
.menuEnlacesClubNani a:after { content: '\f105'; font-family: 'Font Awesome 6 Free'; font-weight: bold; width: 40px; display: inline-block; text-align: center; color: #474747; float: right; margin-right: -40px; opacity: .5 }
.menuEnlacesClubNani a:active:after { color: #DC002E; opacity: 1 }
.menuEnlacesClubNani a:active { background: #f5f5f5 }
.menuEnlacesClubNani a > i { width: 40px; display: inline-block; text-align: center; color: #474747; margin-left: -8px; }
.menuEnlacesClubNani a:active > i { color: #DC002E }

/*Formularios*/
.pix-campo > textarea, .pix-campo > input[type="text"], .pix-campo > input[type="password"], .pix-campo > input[type="email"], .pix-campo > input[type="url"], .pix-campo > input[type="number"], .pix-campo > input[type="tel"], .pix-campo > input[type="search"], .pix-campo > input[type="date"], .pix-campo > input[type="datetime-local"], .pix-campo > input[type="time"], .pix-campo > select { border-radius: 0; background-color: #fff; padding-left: 48px }
.pix-campo:hover > input:not([type="submit"]), .pix-campo:hover > textarea, .pix-campo:hover > select { background-color: #fff }
.pix-form-cargado .pix-campo > label { padding-left: 48px }
.pix-campo > i { color: #8C8C8C; position: absolute; top: 0; left: 0; width: 48px; text-align: center; display: block; font-size: 24px; line-height: 50px; pointer-events: none; }
.pix-campo.pix-foco > i { color: var(--pix-color-primario) }
.pix-campo.pix-campo-fondo-oscuro { text-align: center }
.pix-campo.pix-campo-fondo-oscuro .pix-check > label, .pix-campo.pix-campo-fondo-oscuro .pix-check > label > a { color: #fff; font-size: 18px }
.pix-campo.pix-campo-fondo-oscuro .pix-check > label > a { font-weight: bold; display: inline-block; }
.pix-campo.pix-campo-fondo-oscuro .pix-check > label .pix-marcado { border-color: #fff }

/*Botones*/
.btn-nani { line-height: 48px; white-space: nowrap; text-overflow: ellipsis; max-width: 100%; width: 100%; font-size: 16px; border-radius: 24px; padding-left: 16px; padding-right: 16px; text-decoration: none; border: solid 1px #DC002E; color: #DC002E; display: block; text-align: center; font-size: 20px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; cursor: pointer; background-color: #fff }
body.home .btn-nani:not(.btn-principal) { background-color: transparent }
.btn-nani:active { background: #DC002E; color: #fff }
.btn-nani.btn-principal { background: #DC002E; color: #fff; }
.btn-hablamos-rojo:before { border: 16px solid #d60032; content: ''; border-top-color: transparent; border-left-color: transparent; border-right-color: transparent; position: absolute; bottom: 11px; left: 4px; }
.btn-mitad { width: 50% }
.btn-nani.btn-inline { width: auto; display: inline-block }
.btn-nani.btn-inline:not(:last-child) { margin-right: 8px }
/*.btn-nani.btn-principal:not([disabled]):not(.btn-deshabilitado):hover { background: #ea1643; }*/
/*.btn-nani.btn-principal:not([disabled]):not(.btn-deshabilitado):active{background:#000; border-color:#000}*/
.btn-nani.btn-terciario { color: #fff; border-color: #fff; opacity: .7; background-color: transparent }
.btn-nani.btn-terciario:active { background: #fff; color: #282a2b }
.btn-nani[disabled], .btn-nani.btn-deshabilitado { background: #aea79f; border-color: #aea79f; cursor: not-allowed }
#divBotonBocadillo { position: relative; }
/*#divBotonBocadillo.btnFondoBlanco { background: #fff; border-radius: 24px; }*/
#divBotonBocadillo > div { display: table; width:100% }
#divBotonBocadillo > div > div { display: table-cell; font-size: 0 }
#divBotonBocadillo > div > div:first-child { width: 1% }
#divBotonBocadillo > div > div:last-child { border-top: solid 1px red; border-right: solid 1px red; border-bottom: solid 1px red; border-radius: 0 24px 24px 0; background-color: white; height: 50px; }
#divBotonBocadillo a { position: absolute; top: 0; left: 0; width: 100%; text-align: center; color: red; font-size: 20px; line-height: 50px; }
#divBotonBocadillo.btnFondoBlanco img { height: 50px; margin-right: -10px; }
.btnBocadilloSinFondo{}
#divBotonBocadillo.btnBocadilloSinFondo > div > div:last-child { background-color: transparent; }
#divBotonBocadillo.btnBocadilloSinFondo img { height: 50px; }

/*Header*/
header { position: fixed; top: 0; left: 0; z-index: 10; background: linear-gradient(#000000e8,transparent); }
#divHeader, #divFooter { display: table; table-layout: fixed; width: 100% }
#divHeader > div { display: table-cell; vertical-align: top; padding-top: 16px; }
#divHeader > div#divIzquierdo, #divHeader > div#divDerecho { width: 64px }
#divHeader #btnUsuario { display: block; height: 64px; width: 64px; cursor: pointer; padding: 8px }
#divHeader #btnLogotipo { display: block; text-align: center; height: 64px; padding-top: 10px }
#divHeader #btnVolverHeader { display: block; color: #fff; width: 64px; line-height: 64px; text-align: center; font-size: 28px; text-decoration: none; }
#divHeader #spanTituloHeader { color: #fff; text-align: center; display: block; width: 100%; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; font-size: 20px; line-height: 64px; }

/*Destacados home*/
body.home #secBody { display: table; height: 100% }
body.home #secBody > div { display: table-cell; vertical-align: middle }
#divHome { display: table; table-layout: fixed; width: 100%; }
#divHome > div { display: table-cell; width: 33.33%; vertical-align: middle; }
#divHome .btnDestacado { position: relative; display: block; margin: 8px 0 }
#divHome .btnDestacado:active { transform: scale(1.1) }
#divHome .btnDestacado > img.imgFondo { width: 100% }
#divHome .btnDestacado > div { position: absolute; top: 50%; transform: translateY(-50%); width: 100% }
#divHome .btnDestacado > div > img.imgIcono { height: 48px; margin-left: 50%; transform: translateX(-50%); }
#divHome .btnDestacado > div > span { display: block; color: #fff; text-align: center; font-size: 20px; padding: 4px 16px 0 16px }
#divHome #divTextoHome { color: #fff; font-weight: bold; text-align: center; display: block; font-size: 22px; padding: 42px 0; }


/*Mi cuenta*/
#secMenuMiCuenta { margin-top: 58px }
#secTituloInteriores { text-align: center; color: #fff; font-size: 24px; font-weight: bold; padding-bottom: 24px }
#divCabeceraMenuMiCuenta { display: table; width: 100%; table-layout: fixed; position: relative; padding-bottom: 24px }
#divCabeceraMenuMiCuenta > div { display: table-cell; text-align: center; vertical-align: top; font-size: 20px; font-weight: bold }
#divCabeceraMenuMiCuenta > div:first-child, #divCabeceraMenuMiCuenta > div:last-child { width: 120px }
#divCabeceraMenuMiCuenta > div:first-child { text-align: left }
#divCabeceraMenuMiCuenta > div:last-child { text-align: right }
#divCabeceraMenuMiCuenta #divNumeroPuntos > i { margin-right: 8px }
#divCabeceraMenuMiCuenta .divValidezPuntos { display: block; text-align: right; font-size: 15px; font-weight: normal; margin-top: 4px }
#divCabeceraMenuMiCuenta .divValidezPuntos > span { font-weight: bold }
#divCabeceraMenuMiCuenta .pix-upload-foto-perfil { /*transform: translateY(-50%); top: -16px*/ margin-top: -79px; }

.divCambioFoto:before { content: ''; position: absolute; top: -8px; left: 50%; transform: translateX(-50%); border-bottom: solid 8px #f0780a; border-left:solid 8px transparent; border-right:solid 8px transparent }
.divCambioFoto { display: block; font-size: 15px; color: rgba(255,255,255,.7); padding: 16px; border-radius: 26px; background: #f0780a; text-align: center; margin-bottom: 16px; position:relative }
.divCambioFoto>strong{color:#fff; font-size:18px; display:block; margin-bottom:6px}

/*Quitamos el lapicero del pix-upload-foto*/
.pix-upload-foto-perfil:hover > a:after, .pix-upload-foto-perfil:hover > a:before { display: none !important }

/*Login*/
#divAccionesLogin a { color: #fff; font-size: 18px; display: inline-block; line-height: 32px; margin-top: 16px; opacity: .7; padding-top: 8px; padding-bottom: 8px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; width: 100%; }
#divAccionesLogin a:active { opacity: 1 }
#divAccionesLogin > div:last-child { text-align: right }

#divSeparadorLogin { display: table; width: 100%; color: #fff; font-size: 0 }
#divSeparadorLogin > div { display: table-cell; vertical-align: middle }
#divSeparadorLogin > div:not(:first-child):not(:last-child) { padding: 24px; font-size: 20px; width: 1% }
#divSeparadorLogin > div:first-child:before, #divSeparadorLogin > div:last-child:before { content: ''; border-bottom: solid 1px #fff; display: block }

.campoEmail { text-transform: lowercase; }

.aceptacionPrivacidad { text-align: left !important; }
.enlaceTerminos { color: #fff; font-size: 18px; opacity:0.7}

/*Mis facturas, mis pólizas, mis vehículos*/
.bloqueInfoFactura { background-color: #f5f5f5; border-radius: 24px; margin: 24px; padding: 24px; }
.bloqueInfoFactura > div { padding-top: 5px; padding-bottom: 5px; font-size: 18px; display:table }
.bloqueInfoFactura > div > i { padding-right: 8px; text-align: center; width: 35px; color: #474747; display: table-cell; opacity: 0.4; }
.bloqueInfoFactura > div > span { display: table-cell; }

/*Promociones*/
.subtituloFichaPromociones { font-weight: 600; }

/*Restablecer contraseña*/
#textoAyuda { font-size: 18px; color: white; padding-bottom: 24px; padding-top: 24px; text-align: center; }

/*Mensaje espera de validación*/
#secMensajeValidacion { font-size: 20px; min-height: 50vh }

/*Barra de puntos*/
#secPuntosUsuario { position: sticky; top: 80px; z-index: 1 }
#secPuntosUsuario > div { display: table; width: 100%; color: #fff; }
#secPuntosUsuario > div > div { display: table-cell; padding-top: 8px; padding-bottom: 8px; vertical-align: middle }
#secPuntosUsuario > div > div:first-child { padding-left: 8px }
#secPuntosUsuario > div > div:last-child { width: 1%; padding-right: 8px; padding-left: 8px }
#secPuntosUsuario.anonimo { background: #90A4AE; }
#secPuntosUsuario.anonimo > div > div:first-child { line-height: 48px; white-space: nowrap; text-overflow: ellipsis; width: 100%; overflow: hidden; font-size: 20px }
#secPuntosUsuario.logueado { background: #00A18D }
#secPuntosUsuario.logueado > div > div:first-child { line-height: 24px; font-weight: bold; font-size: 20px }
#secPuntosUsuario.logueado > div > div:first-child > span { display: block; font-style: italic; font-size: 16px; font-weight: normal }
#secPuntosUsuario.logueado > div > div:last-child { white-space: nowrap; line-height: 48px; font-size: 22px }

/*Catálogo - Listado*/
#divCatalogoListado { padding: 16px }
#divCatalogoListado .divCatalogoElemento { padding-bottom: 8px; }
#divCatalogoListado .divCatalogoElemento:not(:last-child) { margin-bottom: 32px }
#divCatalogoListado .divCatalogoElemento > a { color: #000; display: block }
#divCatalogoListado .divCatalogoElemento > a > img { width: 100%; border-radius: 16px }
#divCatalogoListado .divCatalogoElemento > a > p { color: #282a2b; font-size: 16px; line-height: 24px; margin-bottom: 8px; margin-top: 8px }
#divCatalogoListado .divCatalogoElementoTitulo { display: table; width: 100%; margin-top: 8px }
#divCatalogoListado .divCatalogoElementoTitulo > div { display: table-cell; vertical-align: top; font-size: 20px }
#divCatalogoListado .divCatalogoElementoTitulo > div:first-child { font-weight: bold; padding-right:4px }
#divCatalogoListado .divCatalogoElementoTitulo > div:last-child { color: #a7a7a7; width: 1%; white-space: nowrap; font-size: 16px; line-height: 30px }
#divCatalogoListado .divCatalogoElementoBotonera { text-align: right; padding-top: 8px }

/*Catálogo - Ficha*/
#secFichaCatalogo > img { width: 100% }
#secFichaCatalogo #spanPuntosFicha { color: #8b8987; width: 1%; white-space: nowrap; font-size: 18px }
#secFichaCatalogo p { color: #282a2b; font-size: 18px; line-height: 24px; margin-bottom: 8px; margin-top: 8px }
#secFichaCatalogo #btnCompartirFicha { position: absolute; width: 48px; height: 48px; top: 24px; right: 8px; line-height: 48px; color: #333; font-size: 26px; background: #ffffffc2; border-radius: 50px; text-align: center; }
/*a#btnCompartirFicha i { mix-blend-mode: difference; }*/
#secFichaCatalogo .tarjetaClubNani > span { color: #969696; display: inline-block; padding-bottom: 12px; }

/*Taller*/
.divListadoImgFondo { width: 100%; background-color: #000000; background-size: cover; background-repeat: no-repeat; min-height: 144px; border-radius: 20px; background-position: center center; display: table; margin-bottom: 16px; }
.enlaceItemListado { display: table-cell; vertical-align: middle; text-align: center; }
.divListadoTitulo { font-size: 22px; color: white; }

/*Cita previa online*/
.divTelefonoListadoTalleres { color: white; margin-top: 5px; }

/*Marcas*/
.divListadoMarcas { font-size: 22px; color: white; display: table; margin-left: auto; margin-right: auto }
.imgLogotipoMarca, .divNombreMarcas { display: table-cell; vertical-align: middle }
.imgLogotipoMarca { width: 40px }

/*Vehículos de ocasión*/
.divNombreVehiculo { font-size: 20px; font-weight: 600; padding-bottom: 10px; padding-top: 10px; }
.divCaracteristicasVehiculo > div { display: table-cell; color: #8d8d8d; }
.divCaracteristicasVehiculo > div:not(:first-child) { padding-left: 10px; }
.divCaracteristicasVehiculo > div:not(:last-child) { border-right: 1px solid; padding-right: 10px; }
.btnFichaVehiculos { margin-top: 10px; text-align: right; }

/*División seguros*/
#textoPolizasContratadas { font-weight: 600; padding-top: 20px }

/*Desplegable teléfonos + chatbot*/
#sntch_button { display: none !important }
div#sntch_webchat { position: relative !important; border-radius: 20px; box-shadow: none !important; display: none }
div#sntch_webchat > div { box-shadow: none !important; }
#divChatBot div#sntch_webchat { display: block; }
div#sntch_close { display: none !important; }
#divChatBot { bottom: 74px; width: 100%; position: fixed;  padding: 20px 10px; display: none; left:0; z-index:100 }
#divChatBot .contenedorDivTelefonos { background: white; border-radius: 20px; }
div#divChatBot .enlacesTelefonos { padding: 10px; }
#divChatBot .contenedorDivTelefonos:after { width: 20px; height: 20px; background: white; content: ''; display: inline-block; transform: rotate(45deg); position: absolute; bottom: 15px; left: 40px; }
.enlaceBtnCerrar { width: 100%; display: inline-block; text-align: right; }
.enlaceBtnCerrar a.btnCerrar { width: 48px; height: 48px; display: inline-block; background: #eceff1; border-radius: 50%; color: #78909c; text-align: center; line-height: 48px; font-size: 20px; }


.enlacesTelefonos > .artibot-embed { border-radius: 20px !important; }
#divChatBot .contenedorDivTelefonos:after{display:none}

#artibot-1693397733655 { height: calc(100vh - 490px)!important }
/*.artibot-embed .header.flex.flex-cols { height: 80px; }
.artibot-embed .theme-dark #root { background: #f9f9f9; }
.artibot-embed .theme-dark .header { background: #212121; }
.artibot-embed .theme-dark button.button-link, .theme-dark .button.button-link { color: #8d8d8d; }
.artibot-embed .header-buttons.flex-item.flex-item-small-space-left.flex-item-align-middle { margin-left: auto; margin-right: auto; }
.artibot-embed .theme-dark button.button-link, .theme-dark .button.button-link { width: 48px; height: 48px; border-radius: 50px; background-color: #616161; color: #ffffff; }
.artibot-embed .theme-dark .message { background: #2d2d2d; box-shadow: 1px 1px 2px 0 #2d2d2d; }
.artibot-embed .theme-dark .message.my-message { box-shadow: 0 0 0 1px #dc002e; background: #dc002e; }
.artibot-embed .theme-dark input[disabled], .theme-dark select[disabled], .theme-dark .fake-input[disabled] { background: #dddddd; color: #dddddd; }
*/
/*Preguntas frecuentes*/
.pix-acordeon > div > label:before { content: '\f105'; font-family: 'Font Awesome 6 Free'; font-weight: 900; }
.divListado > div > div { margin-top: 10px; margin-bottom: 10px }
.divListado.pix-acordeon .activo > label { font-weight: 600; }

/*Fancybox textos legales*/
.textosLegales { display: none; max-width: 90%; border-radius: 16px; padding: 24px !important }

/*Sin resultados*/
#textoSinResultados { text-align: center; }
#imgSinResultados { text-align: center; }
#imgSinResultados > img { max-width: 300px; }

/*Texto en construcción*/
#divEnConstruccion { text-align: center; padding: 30px; }

/*Footer*/ footer { position: fixed; bottom: 0; left: 0; z-index: 10; }
#divFooter { padding: 0 4px; position: relative }
#divFooter > div { display: table-cell; height: 64px; vertical-align: middle; padding: 0 4px }
div#enlacesLegales { text-align: center; font-size: 14px; margin-bottom: 5px; }
div#enlacesLegales a { color: darkgrey; padding: 10px; font-weight: 100; }
.secInteriorDatos{
padding:10px;
}

/*#divFooter { background: linear-gradient(transparent,#fff); }*/
@media only screen and (max-width:460px) { #divHeader #spanTituloHeader { font-size: 18px }
 #divHome .btnDestacado > div > span { font-size: 16px }
}

@media only screen and (max-width:616px) {
 #secFichaCatalogo .tarjetaClubNani { margin-top: -16px; position: relative; z-index: 1 }
}


@media only screen and (min-width:617px) {
 #secBody, #secPuntosUsuario > div { width: 600px; margin: 0 auto }
 footer { width: 600px; left: 50%; transform: translateX(-50%); }
 body.usuario #fondoHeader { height: 280px }
 #secMenuMiCuenta { margin-top: 66px; }
 #secFichaCatalogo > img { border-radius: 16px; margin-top: 16px; }
}
