/**
 * Theme Name: Prelude Child
 * Template: prelude
 * Version: 1.0.2
 * Description: Creative Multipurpose WordPress Theme
 * Author: Ninzio
 **/

/* Cedenorte: header siempre azul oscuro (el tema lo vuelve blanco/transparente al hacer scroll) */
#site-header.fixed-hide,
#site-header.fixed-show,
.header-style-1 #site-header,
.header-style-3 #site-header { background-color: #000f33 !important; }
.header-style-1 #site-header:after { background-color: #000f33 !important; opacity: 1 !important; }

/* Cedenorte: enlace activo del menú en azul claro */
#main-nav > ul > li.current-menu-item > a,
#main-nav > ul > li.current-menu-ancestor > a,
#main-nav > ul > li.current_page_item > a { color: #a3ceff !important; }

/* Cedenorte: espacio del logo en celular (el CSS adicional lo dejaba en 0) */
@media only screen and (max-width: 991px) {
	#site-logo-inner { margin: 18px 0 !important; }
}

/* Cedenorte: en páginas con banner de título, el header (estilo 3) no se monta encima del banner */
body.header-style-3:has(#featured-title) #site-header-wrap { position: relative; }

/* Cedenorte: formulario "¿Quieres estudiar con nosotros?" del home (CF7 20459) */
.prelude-content-box:has(.wpcf7[data-wpcf7-id="20459"]) > .inner { padding: 0 !important; }
.wpcf7[data-wpcf7-id="20459"] { max-width: 600px; margin: 10px auto 0; }
.wpcf7[data-wpcf7-id="20459"] .cf7-style-1 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin: 0 !important; }
.wpcf7[data-wpcf7-id="20459"] .cf7-style-1::before,
.wpcf7[data-wpcf7-id="20459"] .cf7-style-1::after { display: none; }
.wpcf7[data-wpcf7-id="20459"] .cf7-style-1 > * { grid-column: 1 / -1; width: auto !important; float: none !important; padding: 0 !important; margin: 0 !important; }
.wpcf7[data-wpcf7-id="20459"] .cf7-style-1 > .vc_col-md-6 { grid-column: auto; }
.wpcf7[data-wpcf7-id="20459"] .cf7-style-1 p { margin: 0 !important; }
.wpcf7[data-wpcf7-id="20459"] .wpcf7-form-control-wrap { display: block; }
.wpcf7[data-wpcf7-id="20459"] input[type="text"],
.wpcf7[data-wpcf7-id="20459"] input[type="tel"],
.wpcf7[data-wpcf7-id="20459"] input[type="email"],
.wpcf7[data-wpcf7-id="20459"] select { width: 100% !important; height: 50px !important; margin: 0 !important; padding: 0 16px !important; border: 1px solid #d5dce6 !important; border-radius: 8px !important; background-color: #fff !important; font-size: 15px !important; line-height: 48px !important; color: #253642; box-shadow: none !important; box-sizing: border-box; }
.wpcf7[data-wpcf7-id="20459"] select { -webkit-appearance: none; appearance: none; padding-right: 40px !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23556575' stroke-width='1.6'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 16px center !important; cursor: pointer; }
.wpcf7[data-wpcf7-id="20459"] input:focus,
.wpcf7[data-wpcf7-id="20459"] select:focus { border-color: #007aff !important; box-shadow: 0 0 0 3px rgba(0, 122, 255, .15) !important; outline: none; }
.wpcf7[data-wpcf7-id="20459"] .name-wrap [data-class="wpcf7cf_group"]:not(.wpcf7cf-hidden) { margin-top: 14px; }
.wpcf7[data-wpcf7-id="20459"] .sede-sin-oferta { font-size: 14px; line-height: 1.5; color: #556575; }
.wpcf7[data-wpcf7-id="20459"] .wpcf7-acceptance { display: block; }
.wpcf7[data-wpcf7-id="20459"] .wpcf7-acceptance .wpcf7-list-item { margin: 4px 0 0; }
.wpcf7[data-wpcf7-id="20459"] .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.55; color: #556575; text-align: left; cursor: pointer; }
.wpcf7[data-wpcf7-id="20459"] .wpcf7-acceptance input[type="checkbox"] { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; accent-color: #007aff; }
.wpcf7[data-wpcf7-id="20459"] .submit-wrap { text-align: center; }
.wpcf7[data-wpcf7-id="20459"] input[type="submit"] { width: 100%; height: 52px; margin: 4px 0 0; padding: 0 24px; border: 0; border-radius: 8px; background: #007aff; color: #fff; font-size: 17px; font-weight: 600; line-height: 52px; }
.wpcf7[data-wpcf7-id="20459"] input[type="submit"]:not(:disabled):hover { background: #000f33; }
.wpcf7[data-wpcf7-id="20459"] input[type="submit"]:disabled { opacity: .55; cursor: not-allowed; }
.wpcf7[data-wpcf7-id="20459"] .wpcf7-spinner { position: absolute; }
@media only screen and (max-width: 767px) {
	.wpcf7[data-wpcf7-id="20459"] .cf7-style-1 { grid-template-columns: 1fr; gap: 12px; }
}
