/*
body {
	   background-color: #FFDEB0 !important;
}

#Body {
    color: #666666;
    background: #1f1460 !important; Azul UCS
}
.full_screen_pic li {
  filter: brightness(0.6) !important;  
}
*/
#Body, html, body, .Head, .SubHead, .SubSubHead, .Normal, .Login a, .Login a:link, .Login a:active, .Login a:visited {
    color: #666666 !important;
	font-weight: bold;
}
.home7_fullscreenpic h1 {
    font-size: 86px !important;    
}
.home7_fullscreenpic_con {     
    font-size: 44px !important;
}
.ColorCenter {
    font-family: "Book Antiqua", Palatino, "Palatino Linotype", serif !important;
     color: #ffffff !important; /* azul profundo */
}
.ColorCenter span.capital {
    color: #1f1460 !important; /* azul profundo */
}
.ColorCenter span.rest {
    color: #666666 !important; /* gris suave */
}
.backgroundImage_H7bg {
    background: url('/Portals/0/Images/bgAbout.jpg') right center !important;    
	
    display: flex;
    align-items: center;      /* centra vertical */
    justify-content: center;  /* centra horizontal */
    min-height: 100%;         /* no sirve sin altura del padre */
}
.backgroundImage_H7bg img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
.backgroundImage_H7bg h2 {    
    color: #1f1460 !important;    
	font-weight: bold;
}

.backgroundImage_H7bg h3 {
   color: #666666 !important;
   font-weight: bold;
}
.H7_two_con ul li {    
    padding-right: 5px !important;
}

.Login {
    display: none !important;
}

/* --- FORZAR ALTURA IGUAL PARA TODAS LAS CAJAS --- */
.con_a .left .svc-box,
.con_a .right .svc-box,
.con_a .center .svc-box,
.con_a .svc-box {
    position: relative !important;
    min-height: 320px !important;   /* altura real que funciona con tu tema */
    height: auto !important;
    padding-bottom: 20px !important;
    overflow: hidden !important;
}

/* --- ÍCONO --- */
.con_a .svc-box .icon {
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    background: #0F6F82 !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 26px !important;
    transition: all 0.3s ease !important;
}

/* --- TÍTULO --- */
.con_a .svc-box .title {
    font-weight: 700 !important;
    margin-top: 12px !important;
    transition: all 0.3s ease !important;
}

/* --- TEXTO OCULTO --- */
.con_a .svc-box .text {
    opacity: 0 !important;
    transform: translateY(10px) !important;
    transition: all 0.3s ease !important;
}

/* --- IMAGEN INICIAL SIN AFECTAR ALTURA --- */
.con_a .svc-box::before {
    content: "" !important;
    position: absolute !important;
    top: 70px !important;
    left: 0 !important;
    right: 0 !important;
    height: 120px !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    transition: transform 0.5s ease, opacity 0.3s ease !important;
    opacity: 1 !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

/* --- HOVER --- */
.con_a .svc-box:hover .icon {
    background: #fff !important;
    color: #0F6F82 !important;
}

.con_a .svc-box:hover .title {
    font-weight: 400 !important;
}

.con_a .svc-box:hover::before {
    transform: rotateY(180deg) !important;
    opacity: 0 !important;
}

.con_a .svc-box:hover .text {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* --- ASIGNAR IMÁGENES --- */
.con_a .svc-box[data-svc="1"]::before { background-image: url("/Portals/0/Images/hub_auditoria.jpg") !important; }
.con_a .svc-box[data-svc="2"]::before { background-image: url("/Portals/0/Images/hub_auditoria.jpg") !important; }
.con_a .svc-box[data-svc="3"]::before { background-image: url("/Portals/0/Images/hub_sistemas.jpg") !important; }
.con_a .svc-box[data-svc="4"]::before { background-image: url("/Portals/0/Images/hub_nomina.jpg") !important; }
.con_a .svc-box[data-svc="5"]::before { background-image: url("/Portals/0/Images/hub_impuestos.jpg") !important; }
.con_a .svc-box[data-svc="6"]::before { background-image: url("/Portals/0/Images/hub_internacionales.jpg") !important; }



/* Hub central: puedes añadir un pequeño efecto si quieres */
.center #hubImage {
  transition: opacity 0.3s ease;
}


/* Cada slide del carrusel: caja de altura fija y centrado total */
.carousel .item {
    display: flex !important;
    align-items: center !important;      /* centra vertical */
    justify-content: center !important;  /* centra horizontal */
    height: 140px !important;            /* AJUSTA este valor a lo que quieras */
    box-sizing: border-box;
}

/* Las imágenes dentro del slide */
.carousel .item img {
    max-height: 100% !important;   /* nunca más alto que el contenedor */
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block;
}
.ColorCenter, .H7_One_con h2, .backgroundImage_H7bg h2, .H7_tit, .H7_Aboutus_box h2, .H7_pic_box_con h2, .isotope_grid1 .photo_box .ico h3 {
    color: #1f1460;
}
a.H7_bnt:hover, a.H7_bnt2, .H7_add_box span {
    border: 1px solid #1f1460;
    color: #1f1460 !important;
}

A, A:link, A:active, A:visited, A:hover, .Link_list li {
    color: #1f1460 !important;
}
.header_box .search, .header_box a.search:link, .header_box a.search:active, .header_box a.search:visited {    
    background-color: #1f1460 !important;
	color: #fff !important;    
}
/* --- CORREGIR PADDING DE LOS SERVICIOS DEL CENTRO --- */
.con_a .left .svc-box:nth-child(2),
.con_a .right .svc-box:nth-child(2) {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

/* --- OPCIONAL: si el tema aplica margin extra --- */
.con_a .left .svc-box:nth-child(2),
.con_a .right .svc-box:nth-child(2) {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}