/* ----------------------------------------------------------------
   ICMO - CUSTOM CSS
   Fondos personalizados por sección
-----------------------------------------------------------------*/

/* CONFIGURACION GENERAL */
html,
body {
    min-height: 100%;
}

/* FONDOS DE LAS PAGINAS */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: none;
}

/* CONTENIDO SOBRE LOS FONDOS */
body > * {
    position: relative;
    z-index: 1;
}

/* BOTON CONTACTO ICMO */
#primary-menu ul li:last-child > a {
    background-color: #0755A5 !important;
    color: #ffffff !important;
    padding: 10px 20px !important;
    border-radius: 4px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

#primary-menu ul li:last-child > a:hover {
    background-color: #003B78 !important;
    color: #ffffff !important;
}
    background-color: #0755A5;
    color: #ffffff !important;
    padding: 10px 20px !important;
    border-radius: 4px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

#primary-menu ul li:last-child > a:hover {
    background-color: #003B78;
    color: #ffffff !important;
}

/* CONTACTO - FONDO PORTUARIO */
body.pagina-contacto::before {
    background:
        linear-gradient(rgba(255,255,255,0.72), rgba(255,255,255,0.72)),
        url("/images/fondo-portuario-icmo.png") center center / cover no-repeat;
}

/* SERVICIOS - FONDO INDUSTRIAL */
body.pagina-servicios::before {
    background:
        linear-gradient(rgba(255,255,255,0.55), rgba(255,255,255,0.55)),
        url("/images/fondo-servicios-icmo.png") center center / cover no-repeat;
}

/* PROYECTOS - FONDO PORTUARIO */
body.pagina-proyectos::before {
    background:
        linear-gradient(rgba(255,255,255,0.55), rgba(255,255,255,0.55)),
        url("/images/fondo-proyectos-icmo.png") center center / cover no-repeat;
}

/* NOTICIAS - FONDO FERROVIARIO */
body.pagina-noticias::before {
    background:
        linear-gradient(rgba(255,255,255,0.55), rgba(255,255,255,0.55)),
        url("/images/fondo-noticias-icmo.png") center center / cover no-repeat;
}

/* CLIENTES - FONDO INDUSTRIAL */
body.pagina-clientes::before {
    background:
        linear-gradient(rgba(255,255,255,0.55), rgba(255,255,255,0.55)),
        url("/images/fondo-clientes-icmo.png") center center / cover no-repeat;
}

/* CERTIFICACIONES - HIDROGENO VERDE */
body.pagina-certificaciones::before {
    background:
        linear-gradient(rgba(255,255,255,0.55), rgba(255,255,255,0.55)),
        url("/images/fondo-certificaciones-icmo.png") center center / cover no-repeat;
}

/* MISION - EQUIPO DE INGENIERIA */
body.pagina-mision::before {
    background:
        linear-gradient(rgba(255,255,255,0.55), rgba(255,255,255,0.55)),
        url("/images/fondo-mision-icmo.png") center center / cover no-repeat !important;
}

/* FONDOS TRANSPARENTES PARA MOSTRAR LAS IMAGENES */
body.pagina-contacto,
body.pagina-contacto #wrapper,
body.pagina-contacto #content,
body.pagina-contacto .content-wrap,
body.pagina-contacto #page-title,

body.pagina-servicios,
body.pagina-servicios #wrapper,
body.pagina-servicios #content,
body.pagina-servicios .content-wrap,
body.pagina-servicios #page-title,

body.pagina-proyectos,
body.pagina-proyectos #wrapper,
body.pagina-proyectos #content,
body.pagina-proyectos .content-wrap,
body.pagina-proyectos #page-title,

body.pagina-noticias,
body.pagina-noticias #wrapper,
body.pagina-noticias #content,
body.pagina-noticias .content-wrap,
body.pagina-noticias #page-title,

body.pagina-clientes,
body.pagina-clientes #wrapper,
body.pagina-clientes #content,
body.pagina-clientes .content-wrap,
body.pagina-clientes #page-title,

body.pagina-certificaciones,
body.pagina-certificaciones #wrapper,
body.pagina-certificaciones #content,
body.pagina-certificaciones .content-wrap,
body.pagina-certificaciones #page-title,

body.pagina-mision,
body.pagina-mision #wrapper,
body.pagina-mision #content,
body.pagina-mision .content-wrap,
body.pagina-mision #page-title {
    background-color: transparent !important;
}

/* TITULO DE CONTACTO */
.pagina-contacto .fancy-title h3 {
    background: transparent !important;
    background-color: transparent !important;
    padding-left: 0 !important;
}

.pagina-contacto .fancy-title::before,
.pagina-contacto .fancy-title::after {
    display: none !important;
    content: none !important;
    border: none !important;
    background: none !important;
}
body.pagina-mision::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255,255,255,0.55), rgba(255,255,255,0.55)),
        url("/images/fondo-mision-icmo.png?v=2") center center / cover no-repeat !important;
}
/* BOTON CONTACTO - MENU PRINCIPAL */
#primary-menu > ul > li:last-child > a {
    background: #0755A5 !important;
    color: #ffffff !important;
    padding: 10px 20px !important;
    border-radius: 4px !important;
    display: block !important;
}

#primary-menu > ul > li:last-child > a div {
    color: #ffffff !important;
}

#primary-menu > ul > li:last-child > a:hover {
    background: #003B78 !important;
}