@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo/Archivo-VariableFont_wdth.ttf")
	format("truetype");
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
}

@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo/Archivo-Italic-VariableFont_wdth.ttf")
	format("truetype");
	font-style: italic;
	font-weight: 100 900;
	font-display: swap;
}

html {
    min-height: 100vh;
}

body,
h1, h2, h3, h4, h5, h6,
input, button, select, textarea,
.form-control, .btn, label, a {
    font-family: 'Archivo', sans-serif !important;
}

body { 
    font-size: 14px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.headernuevo {
    background-color: #70963B !important;
    display: flex;
    padding-bottom: 10px !important;
    border-bottom: 2px solid #3c3c3c80;
   
}


.maincontenedor {
    padding: 0px;
    margin: 0px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

.contlogin{
    display: flex;
    flex-direction: row;
}

.logo-login {
    max-width: 50px;
    max-height: 50px;
}

/* El ancho del 40% solo aplica cuando las columnas col-lg-* están activas;
   cuando se apilan (< 1200px) el bloque ocupa todo el ancho */
@media (min-width: 1200px) {
    .contlogin {
        width: 40%;
    }
}

.logincont {
    padding: 20px;

    margin-left: 20px;
}

.inputcont {
    display: flex !important;
    flex-direction: row !important;
}

.imgrecibo {
    width: 160px;
    margin-top: 20px;
    padding: 0px !important;
}

/* En móvil/tablet las columnas col-lg-* se apilan: centrar la imagen */
@media (max-width: 1199px) {
    .imgrecibo {
        margin-left: auto;
        margin-right: auto;
    }
}

.inputlogin {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: auto !important;
    margin-top: 25px;
    margin-bottom: 25px !important;
    text-align: left !important;
    
}

.inputlogin input{
    height: auto !important;
    border-radius: 5px !important;
    border: solid 1px #3c3c3c !important;
}

.input {
    margin-left: auto;
}

@media (max-width: 500px) {
    .inputlogin{
        flex-direction: column !important;
        align-items: start !important;
    }
    .inputlogin .input{
        width: 100% !important;
    }

    .logo img {
        display: none;
    }
}



.loginin form {
   margin: 0px !important;
}

.loginin h5 {
    margin-bottom: 0px !important;

}
.loginin p{
    
    margin: 0px;
}
.loginin a {
    color: #70963B !important;
    text-decoration: none !important;
}

.loginin.control-label{
    padding: 0px !important;
    text-align: left;
}
.botoneslogin button {
    background-color: #70963B !important;
    color: white !important;
    border: none !important;
    border-radius: 5px !important;
    padding: 10px 20px 10px 20px !important;
    align-self: flex-end;
    
    
}




.botonreset{
    margin-left: auto;
    
}

.botoneslogin{
    justify-self: flex-end;
}
.contPreg{
    display: grid;
    grid-template-columns: 1fr 1fr ;
    justify-content: space-between;
    
    padding: 14px;
    margin-left: auto;
    margin-right: auto;
}

.contPreg a {
    font-weight: 700;
    color: #70963B;
}

.preg {
    gap: 14px;
    width: 80%;
    justify-self: center;
}



.contPregFrec{
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.preguntontas{
    padding: 0px !important;
}



@media (max-width: 500px){
    .contPreg{
        grid-template-columns: 1fr;
    }
}

.botComo{
    padding: 0px !important;
}
.botoneslogin{
    display: flex !important;
    justify-content: space-between !important;
    padding-left: 0px;
    align-items: center;
}

.botoneslogin button{
    color:#fff !important;
     
    padding: 10px 20px 10px 20px !important;
    text-decoration: none !important;
    
    text-align: center !important;
}

.pfreccont{
    display: flex !important;
    flex-direction: row !important;
    height: 50px !important;
    gap: 20px;
   
}

.pfreccont .body  {
    margin-left: 0px !important;
}

.pfreccont img {
    width: auto     !important;
    height:50px!important;
}




@media (max-width: 500px) {
.logincont {
    margin-top: 20px;
    padding: 20px;
    width: auto !important;
}
.main.col-md-3.imgrecibo {
        display: none;
    }
}

/*              Como registrarse               */
.titulo {
    background-color: #70963B;
    padding: 15px;
    margin-top: 20px;
    width: 100%;
    align-self: center;
    height: 50px;
    display: flex;
    align-items: center;
}
.titulo h2{
    color: #fff;
    margin: 0px !important;
    font-family: 'archivo';
    font-weight: bolder;
    font-size: 20px;

}

/* Alineación a la izquierda (solo como-registrarse.php) */
.col-titulo-izq {
    padding-left: 0px !important;
}

.titulo.titulo-izquierda {
    width: 100%;
}

.imgrecibo.img-izquierda img {
    display: block;
    margin-right: auto;
}

.comoReg{
    align-self: center;
    justify-self: center;
    padding: 0px;
    
    
}

.formureg {
    background-color:#EFEEDF ;
    width: 100%;
    align-self: center;
    justify-self: center;
    border-radius: 0px 20px 20px 20px;
    
}

.formreg {
    padding: 20px;
    display: grid ;
    justify-content: space-between;
    gap: 20px;
    grid-template-columns: repeat(1, 1fr);
    margin: 0px 0px 20px 0px !important; 
}

@media (max-width: 500px) {
    .comoReg {
        width: 100%;
    }

    .formureg {
    background-color:#EFEEDF ;
    width: 100%;
    align-self: center;
    justify-self: center;
    border-radius: 0px 20px 20px 20px;
    
}

    
    .formreg{
    padding: 10px;
    display: flex ;
    flex-direction: column;
    gap: 10px;    
    
    width: 100%;
    }
    .inputsreg {
        width: 100% !important;
    }
}

.comoRegText {
width: 100%;
padding: 10px;
text-align: justify;
margin-bottom: 20px;
}

.comotext {
    width: auto;
}

.imgComo {
    width: 160px;
    height: auto;
    padding: 15px;
}

.comoRegText ul {
    list-style: none !important;
    padding: 5px !important;
}

.comoRegText p {
    margin: 0px;
}

.comoRegText h4{
margin: 10px 0px 5px 0px !important;
} 

.inputsreg {
    display: flex;
    flex-direction: column;
}

.formuregtit {
    font-size: 16px !important;
    padding: 10px;
    background-color: #EFEEDF;
    border-radius: 0px 10px 0px 0px;
    margin-bottom: 0px;
    width: fit-content;
    text-transform: none;
    

}



.checkPan p, #legaliz {
  font-size: 14px ;
  padding: 10px;
  color: #70963B;
  font-weight: bold;
  margin: 0px;
}
#legaliz {
  margin-bottom: 15px !important;
}



.checkPan a {
    margin-left: 0px !important;
    color: #70963B !important;
}


.botoneslogin{
    padding: 15px;
}




/* notificaciones */

.msjexito {
    display: flex;
    
}


.alert.alert-success::after {
content: "\f00c";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: -10px;
	margin-top: -2px;
	padding: 15px;
	width: 24px;
	height: 24px;
	background-color: #78A64F;
	border-radius: 50%;
	border: 3px solid #fff;
    align-self: center;
}


.alert.alert-success::before {
    background-color: #78A64F !important;
} 


.alert.alert-success{
    background-color: #B3C895;
    color: #3c3c3c;
    font-family: "Archivo", sans-serif;
    font-size: 14px;
    
}


.alert.alert-danger:after {
	content: "✖";
    display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: -10px;
	margin-top: -2px;
	padding: 15px;
	width: 24px;
	height: 24px;
	background-color: #E94547 !important;
	border-radius: 50%;
	border: 3px solid #fff;
    align-self: center;
}

.alert.alert-danger:before {
    background-color: #E94547;
}

.alert.alert-danger{
    color: #3c3c3c;
    background-color: #F8BEB1;
    font-family: "Archivo", sans-serif;
    font-size: 14px;
}

.alert.alert-warning:after {
	content: "\f071";
    display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: -10px;
	margin-top: -2px;
	padding: 15px;
	width: 24px;
	height: 24px;
	background-color: #E8A300 !important;
	border-radius: 50%;
	border: 3px solid #fff;
    align-self: center;
}

.alert.alert-warning:before{
    background-color: #E8A300
}

.alert.alert-warning{
    color: #3c3c3c;
    background-color: #F3C775;
    font-family: "Archivo", sans-serif;
    font-size: 14px;
}

/* Footer: texto y enlaces en gris (reemplaza estilos inline)
---------------------------------- */
#footer p,
#footer a {
    color: #999999 !important;
}


.crights{
    margin-left: auto !important;
    margin-right: 14px;
    width: fit-content;
    
}

.crights p {
    margin: none !important;
}
/* Iconos verdes de las secciones (reemplaza estilos inline)
---------------------------------- */
.icono-seccion {
    color: #70963B ;
}

/* Link "Ver Recibo" por anexo (reemplaza estilos inline)
---------------------------------- */

.link-ver-recibo{
    display: inline-block;
    font-weight: 600;
    color: #70963B;
    transition: transform 0.3s ease-in-out;
}

.link-ver-recibo:hover{
    transform: scale(1.2);
    text-decoration: none !important;
}

.link-ver-recibo-anexo {
    color: #70963B ;
    font-weight: bold;
}

/* Periodo seleccionado en el menu lateral de periodos (inc.izq.php)
---------------------------------- */
.link-ver-recibo.link-activo {
    color: #70963B ;
    font-weight: bold;
}

/* Ojito para mostrar/ocultar la contrasena (login.php): boton adjunto al input via input-group de Bootstrap 3.
   El tema (style.css) agranda todos los .btn (min-width:160px, padding:10px 12px, margin:10px 0) y la skin
   green.css pinta .btn-default con fondo verde y color #fff !important: se neutraliza todo aqui.
---------------------------------- */
.btn-toggle-password {
    min-width: 0;
    padding: 6px 10px;   /* alto 34px, igual que .form-control de Bootstrap 3 */
    margin: 0;
    text-transform: none;
    background-color: #fff;
    border-color: #ccc !important;  /* mismo borde que .form-control (vence a green.css) */
    color: #70963B  !important;      /* el ojito verde (vence al !important de green.css) */
}

/* green.css pinta borde/fondo verdes en :hover/:focus/:active con mas especificidad */
.btn-toggle-password:hover,
.btn-toggle-password:focus,
.btn-toggle-password:active {
    background-color: #fff;
    border-color: #ccc !important;
    color: #70963B !important;
    box-shadow: none;
    outline: none;
}

/* Boton verde institucional (mismo estilo que el boton Ingresar del login)
---------------------------------- */
.btn-verde-caja {
    background-color: #70963B !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 10px 20px !important;
    text-align: center !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-verde-caja:hover,
.btn-verde-caja:focus {
    background-color: #70963B  !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

/* Menu desplegable de usuario (Bootstrap 3)
---------------------------------- */
.menu-usuario-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3c3c3c !important;
    text-decoration: none !important;
    padding: 8px 12px;
    border-radius: 10px;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.menu-usuario-link:hover,
.menu-usuario-link:focus {
    background-color: #e4e8da;
    color: #70963B !important;
    text-decoration: none !important;
}
.menu-usuario-avatar {
    font-size: 28px;
    color: #70963B;
}
.menu-usuario-nombre {
    font-weight: 600;
}
.menu-usuario-nombre i {
    font-size: 11px;
    margin-left: 4px;
}
.menu-usuario .dropdown-menu {
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    text-align: left;
    min-width: 230px;
    padding: 6px;
    margin-top: 0;
    background-color: #EFEEDF;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
}
.menu-usuario .dropdown-menu > li > a {
    padding: 10px 12px;
    color: #3c3c3c;
    border-radius: 9px;
    border-bottom: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.menu-usuario .dropdown-menu > li > a:hover,
.menu-usuario .dropdown-menu > li > a:focus {
    background-color: #e4e8da;
    color: #70963B;
}
.menu-usuario .dropdown-menu .divider {
    background-color: rgba(60, 60, 60, 0.15);
}
.menu-usuario .dropdown-menu > li > a > i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

/* Botones de secciones (SVG): estilo plano con hover flotante, sin tarjetas
---------------------------------- */
.botones-secciones {
    margin: 30px 0;
    text-align: center;
}
.botones-secciones [class*="col-"] {
    margin-bottom: 20px;
}
.boton-seccion {
    display: inline-block;
    max-width: 320px;
    transition: transform 0.3s ease, filter 0.3s ease;
}
.boton-seccion img {
    width: 100%;
    height: auto;
}
.boton-seccion:hover {
    transform: translateY(-6px);
    filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.25));
}
.boton-seccion:active {
    transform: translateY(-2px);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Secciones estilo plano (icono + titulo + descripcion + link), sin tarjetas
---------------------------------- */
.seccion-servicios {
    margin: 40px 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}


.seccion-servicios::before{
display: none;
}

.servicio-item {
    padding: 14px 30px;
    text-align: center;
}
.servicio-icono {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    margin: 0 auto 14px auto; 
    text-align: center;
    border-radius: 50%;
    background-color: #eaf1e3;
    font-size: 64px;
    color: #70963B;
    transition: all 0.3s ease;
}
.servicio-item:hover .servicio-icono {
    background-color: #70963B;
    color: #fff;
    transform: scale(1.08);
}
.servicio-item h4 {
    font-weight: 700;
    color: #3c3c3c;
    margin: 0 !important;
    font-size: 20px;
}
.servicio-item p {
    color: #6c757d;
    
    
}
.servicio-link {
    color: #70963B !important;
   display: flex;
   flex-direction: column;
   align-items: center;
    text-decoration: none !important;
}

.servicio-link p{
    max-width: 60%;
    text-align: center;
}

.servicio-link i:not(.servicio-icono) {
    margin-left: 6px;
    transition: transform 0.3s ease;
}
.servicio-link:hover {
    color: #70963B  !important;
}
.servicio-link:hover i {
    transform: translateX(5px);
}

/* Acordeon de beneficios por anio: texto blanco del panel (reemplaza estilo inline)
---------------------------------- */
.panel-beneficio {
    color: #FFFFFF !important;
}

/* Recibo de haberes (contentPlantillaRecibo.php): reemplazan estilos inline para CSP
---------------------------------- */
.recibo-panel-heading {
    background-color: #F5F5F5 !important;
    border-radius: 6px !important;
}
.recibo-titulo {
    color: #666666 !important;
}
.recibo-fila-blanca {
    background-color: #ffffff !important;
}
.recibo-bl-0 {
    border-left: 0 !important;
}
.recibo-br-0 {
    border-right: 0 !important;
}
.recibo-bt-0 {
    border-top: 0 !important;
}
.recibo-br-1 {
    border-right: 1px solid #808080 !important;
}
.recibo-periodo {
    color: #70963B  !important;
}
.recibo-col-haberes {
    text-align: center !important;
    color: #FFFFFF !important;
    background-color: #808080 !important;
    border-right: 1px solid #c3c3c3 !important;
}
.recibo-col-descuentos {
    text-align: center !important;
    color: #FFFFFF !important;
    background-color: #808080 !important;
    border-left: 1px solid #c3c3c3 !important;
}
.recibo-importe {
    text-align: right !important;
}
.recibo-fila-total {
    background-color: #eaeaea !important;
    color: #666666 !important;
    font-weight: bold !important;
    text-align: right !important;
}

/* Ayudas del formulario de registro (register.php): reemplazan estilo inline;
   forms.js las muestra/oculta con style.display (el inline del JS gana a la clase)
---------------------------------- */
.mensaje-ayuda {
    margin-top: 5px;
    display: none;
}

/* Iconos PDF de la lista de normativas (condiciones_ddjj_email.php):
   reemplaza la etiqueta <font color='red'> obsoleta en HTML5
---------------------------------- */
.icono-pdf {
    color: red;
}


---------------------------------- */
.modal-notificacion .modal-header {
    color: #fff;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}
.modal-notificacion .notif-tipo-info {
    background-color: #70963B;
}
.modal-notificacion .notif-tipo-warning {
    background-color: #f0ad4e;
}
.modal-notificacion .notif-tipo-danger {
    background-color: #d9534f;
}
.modal-notificacion .notif-checkbox {
    margin-top: 15px;
    font-weight: bold;
}

/* El mensaje puede traer lineas largas sin espacios (URLs): evitar desborde horizontal */
.modal-notificacion .modal-body p {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

/* Moviles: el modal ocupa el ancho disponible y los textos se ajustan */
@media (max-width: 767px) {
    .modal-notificacion .modal-dialog {
        width: auto;
        margin: 10px;
    }
    .modal-notificacion .modal-title {
        font-size: 18px;
    }
    /* Bootstrap 3 pone nowrap en .btn: el texto del boton debe poder bajar de linea */
    .modal-notificacion .btn {
        white-space: normal;
    }

    .seccion-servicios {
        grid-template-columns: 1fr;
    }
}
.flexCol {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.flexColL {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: left;
    padding: 12px;
}


.card {
    padding:12px;
    background-color: #EFEEDF;
    border-radius: 16px;
    width: fit-content;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
}



.card h3 {
    margin: 0px !important;
    font-size: 14px !important;
    font-weight: 600;
}

.card a {
    font-size: 12px !important;
    font-weight: 500 !important;
}


.btn {
    color: #70963B !important;
    background-color: #FFFFFF;
    border-radius: 8px;
    font-weight: 600;
    transition: ease-in-out 0.3s;
    font-size: 16px !important;
}





/* Barra lat izq recibos*/

.panel-title a {
    font-weight: 700;
}


.panel-body {
    margin-top: -5px;
    border-radius: 0px 0px 8px 8px;
}

@media (max-width: 767px) {
    .fila-recibo {
        display: flex;
        flex-direction: column;
    }

    .fila-recibo::before,
    .fila-recibo::after {
        display: none;
    }

    .fila-recibo > .recibo-contenido-col {
        order: 1;
        width: 100%;
        float: none;
    }

    .fila-recibo > .recibo-sidebar-col {
        order: 2;
        width: 100%;
        float: none;
    }
}


/* centro recibos */

.title-page{
    padding: 12px;
    font-weight: 800;
    background-color: #70963B;
    color: #fff;

}

.flexrow {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.logo img{
    height: 60px;
}

.logo p {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: bolder;
    margin-top: 24px;
    text-decoration: none;
    line-height: normal;
    
}



.logo {
    justify-content: space-between;
    text-align: left;
    display: flex;
    flex-direction: row;
    gap: 50%;
    width: 100%;
}


.bienvenido {
    width: fit-content;
    margin: 10px auto 0 auto;
    font-size: 16px;
    text-align: center;
}

.opciones {
    margin-left: auto !important;
    margin-right: 14px;
    padding: 0px !important;
}

.form-horizontal {
    color: #3c3c3c;
}


.btn-danger{
    color: #c9302c !important;
    margin-left: auto !important;
}

.btn-danger:hover{
    color: #FFFFFF !important;
}

.botonera {
    display:flex;
    flex-direction: row;
    justify-content: space-between !important;
    align-items: center;
}

.logocont {
    width: 100%;
    padding: 14px;
}

.grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.panelmeses {
    padding: 0 !important;
}

.footerfix::before {
    display: none;
}

footer{
    border-top: 2px solid #70963B80;
    background-color: #000000;
    margin-top: auto;
}

.f-contacto, .f-soporte {
    padding-left: auto;
    justify-self: center;
    text-align: left !important;
}

.f-contacto strong, .f-soporte strong {
    align-self: flex-start !important;
}

.reciboContAnexos {
    display: flex;
    flex-direction: row;
    gap: 14px;
}