#sp-barra-azul {
  background-color: #3366CC;
  padding: 10px 0px 10px 0px;
}

#sp-logo-idpyba-buscar {
  padding: 20px 0px 20px 0px;
  border-bottom: 2px solid #4fbf1d;
}

#sp-header {
  height: 60px;
  width: 100%;
  position: relative;
  z-index: 99;
  box-shadow: none;
  border-top: 2px solid #F4F1F2;
  border-bottom: 2px solid #4fbf1d;
  animation: spFadeIn 0.5s;
}
#sp-menu {
  width: 100%;
  margin: 14px auto 12px auto;
  display: grid;
  align-items: center !important;
  justify-content: center !important;
}
.sp-megamenu-parent {
    float: none !important;
}
.sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span {
  padding: 0 20px;
  font-size: 16px;
}
.sp-megamenu-parent > li:last-child > a {
  padding: 0px 15px 0px 15px;
}

/** Sección Bottom **/
#sp-bottom {
  /*background-color: #f0eeee;*/
  background: #3F8019;
  padding: 35px 0 0px;
  /*background: #171717;
  color: #FFFFFF;*/
}

/** Footer **/
#sp-footer {
  background: #3F8019;
  color: #FFFFFF;
}
#contenfooter{
  margin-top: -8em;
}
#sp-footer2do {
  background-color: #8CBE23;
  padding: 0px 0px 15px 0px;
}

#sp-main-body {
  padding: 60px 0px 60px 0px;
}

.fondo-vc1{
  background-color: #F3FBE5;
}
.fondo-vc2{
  background-color: #E7f0D7;
}

/*#sp-titulo-noticias {
  padding: 70px 0px 0px 0px;
}*/

#sp-servicios {
  margin: -70px 0px 0px 0px;
  padding: 50px 0px 60px 0px;
  background-image: linear-gradient(to top, rgba(238, 238, 238, 0.2), rgb(247, 247, 247));
}

#sp-rendicion-de-cuentas {
  /*margin: -60px 0px 0px 0px;*/
  padding: 60px 0px 80px 0px;
  /*background-color: #f4f4f4;*/
  background-image: linear-gradient(to top, rgba(240,238,238,0.2), rgb(245, 255, 225))
}

#sp-banners-externos {
  /*margin: -80px 0px 140px 0px;*/
  /*margin: -60px 0px 0px 0px;*/
  background-color: #f0eeee;
}
.sliderenlacesinternos{
  margin: 20px 0px 100px 0px;
}


/** ARTICULOS **/
.bg-color1 {
  background: #f4fdf6;
}

.img-com{
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  /* Opcional para que la imagen se fije al fondo y no se desplace al hacer scroll */
  background-attachment: fixed;
}

.article-list .article .featured-article-badge {
  display: none !important;
}
.article-details .featured-article-badge {
  display: none !important;
}

/** Boton **/
.btn-success { 
	/*background: linear-gradient(135deg, #0a8044, #024624);
    background: linear-gradient(135deg, #098c05, #049f51);
	color: #fff;
	border: none;
	border-radius: 8px;*/
	/*padding: 0.75rem 1.5rem;*/ /* se ajusta al estándar de Bootstrap */
	/*font-size: 1rem;*/
	transition: all 0.3s ease;
	box-shadow: 0 4px 6px rgba(10, 107, 54, 0.2);
	/*width: 100%;  opcional: ocupa ancho completo */
}

/* Hover */
.btn-success:hover {
	/*background: linear-gradient(135deg, #024624, #0a8044) !important;
    background: linear-gradient(135deg, #049f51, #098c05) !important;*/
	transform: translateY(-2px) !important;
	box-shadow: 0 6px 12px rgba(10, 107, 54, 0.45) !important;
	color: #fff !important; /* aseguramos contraste */
}

/* Active (cuando se presiona) */
.btn-success:active {
	/*background: linear-gradient(135deg, #0a8044, #0a8044) !important;*/
	transform: translateY(1px) !important;
	box-shadow: 0 2px 4px rgba(10, 107, 54, 0.2) !important;
}

/* Focus (accesible con teclado) */
.btn-success:focus {
    outline: 3px solid #198754; /* verde accesible */
    outline-offset: 2px;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}



/*=========================================
=            BUSCADOR PRINCIPAL           =
=========================================*/

#sp-search{
    width:100%;
    text-align:center;
}

#sp-search .mod-finder,
#sp-search form{
    width:70% !important;
    margin-left:auto !important;
    margin-right:auto !important;
}

/* Campo de búsqueda */

#sp-search input{
    width:100%;
    height:58px;
    padding:0 24px;
    border:1px solid #dfe1e5;
    border-radius:30px;
    background:#fff;
    font-size:1.05rem;
    color:#202124;
    transition:all .25s ease;
    box-shadow:
        0 2px 4px rgba(32,33,36,.12),
        0 2px 8px rgba(32,33,36,.08) !important;
}

/* Placeholder */

#sp-search input::placeholder{
    color:#80868b;
    font-weight:400;
}

/* Hover */

#sp-search input:hover{
    border-color:#dfe1e5;
    box-shadow:
        0 2px 4px rgba(32,33,36,.16),
        0 4px 12px rgba(32,33,36,.10) !important;
}

/* Focus */

#sp-search input:focus{
    outline:none;
    border-color:#198754;
    box-shadow:
        0 3px 10px rgba(25,135,84,.18),
        0 0 0 4px rgba(25,135,84,.12) !important;
}

/* Botón del Finder */

#sp-search button,
#sp-search .btn{
    height:58px;
    border:none;
    border-radius:30px;
    padding:0 24px;
    background:#198754;
    color:#fff;
    font-weight:600;
    transition:all .25s ease;
    box-shadow:0 3px 10px rgba(25,135,84,.18) !important;
}

#sp-search button:hover,
#sp-search .btn:hover{
    background:#157347;
    transform:translateY(-1px);
    box-shadow:0 8px 20px rgba(25,135,84,.30);
}

#sp-search button:focus,
#sp-search .btn:focus{
    outline:none;
    box-shadow:
        0 8px 20px rgba(25,135,84,.28),
        0 0 0 4px rgba(25,135,84,.15) !important;
}

/* Íconos */

#sp-search .fa-search,
#sp-search .fa-magnifying-glass{
    color:#5f6368;
    font-size:1rem;
}