/* Ajustes propios del sitio Escuela Ckaricay sobre el template */

/* Logo */
.nicdark_logo img { width: 150px; margin-top: -10px; }
.ck_footer_logo { width: 100%; max-width: 250px; }

/* Item de menú activo */
.nicdark_menu > li.nicdark_current > a { color: #495052; font-weight: bold; }

/* Banners / parallax con imagen propia */
.ck_parallax { background-position: 50% 0; background-attachment: fixed; background-size: cover; background-repeat: no-repeat; }
.ck_parallax .nicdark_filter.greydark { background: rgba(0,0,0,0.45); }

/* Slider inicio */
.ck_slide_caption { font-family: 'Montserrat', sans-serif; font-size: 44px; line-height: 54px; color: #fff; text-align: center; text-shadow: 0 2px 8px rgba(0,0,0,0.6); white-space: nowrap; }
.ck_slide_caption small { display: block; font-family: 'Montez', cursive; font-size: 34px; margin-top: 10px; }

/* Textos de contenido */
.ck_texto p { line-height: 26px; margin-bottom: 15px; }
.ck_texto ul.ck_lista { margin: 0 0 15px 0; padding: 0; list-style: none; }
.ck_texto ul.ck_lista li { font-size: 15px; color: #a4a4a4; font-family: 'Raleway', sans-serif; padding: 6px 0 6px 28px; position: relative; line-height: 24px; }
.ck_texto ul.ck_lista li:before { content: '\e9f7'; font-family: 'fontello'; position: absolute; left: 0; color: #ec774b; }

/* Imagenes de tarjetas: misma altura */
.ck_card_img { width: 100%; height: 220px; object-fit: cover; display: block; }
.ck_img_full { width: 100%; height: auto; display: block; }

/* Footer */
.ck_footer_menu { list-style: none; margin: 0; padding: 0; }
.ck_footer_menu li { padding: 5px 0; }
.ck_footer_menu a { font-family: 'Raleway', sans-serif; font-size: 14px; }
.ck_footer_menu a:hover { color: #ccc !important; }

/* Galerías */
.ck_galeria .ck_galeria_item { float: left; width: 25%; padding: 8px; box-sizing: border-box; }
.ck_galeria .ck_galeria_item img { width: 100%; height: 200px; object-fit: cover; display: block; }
@media only screen and (max-width: 959px) { .ck_galeria .ck_galeria_item { width: 33.33%; } }
@media only screen and (max-width: 767px) { .ck_galeria .ck_galeria_item { width: 50%; } .ck_galeria .ck_galeria_item img { height: 150px; } }

/* Formulario */
.ck_col_izq { padding-right: 10px; box-sizing: border-box; }
.ck_col_der { padding-left: 10px; box-sizing: border-box; }
@media only screen and (max-width: 767px) { .ck_col_izq, .ck_col_der { width: 100% !important; padding: 0; } .ck_col_izq { margin-bottom: 20px; } }
.ck_form_msg { color: #fff; padding: 15px 20px; margin-bottom: 20px; font-family: 'Raleway', sans-serif; }
.ck_loader { margin-left: 15px; color: #a4a4a4; font-family: 'Raleway', sans-serif; }
.animate-spin { display: inline-block; animation: ck-spin 1.5s infinite linear; }
@keyframes ck-spin { from { transform: rotate(0deg); } to { transform: rotate(359deg); } }

/* Formularios de Google embebidos */
.ck_iframe_form { width: 100%; height: 900px; border: 0; display: block; }

/* Mapa */
.ck_mapa { width: 100%; height: 400px; border: 0; display: block; }

/* Testimonios */
.ck_testimonio p { font-style: italic; }
.nicdark_archive1 h4, .nicdark_archive1 h5 { text-transform: uppercase; }

/* Colores de texto (el template solo los trae para fondos) */
.ck_testimonio h5.orange, .ck_testimonio i.orange, .ck_texto .orange, h3.ck_orange { color: #ec774b; }
.ck_testimonio h5.blue, .ck_testimonio i.blue, .ck_texto .blue { color: #74cee4; }
.ck_testimonio h5.green, .ck_testimonio i.green, .ck_texto .green { color: #6fc191; }
.ck_texto h3 { margin-bottom: 15px; }
.ck_texto h3.orange, .ck_texto h4.orange { color: #ec774b; }
.ck_col_izq_card { margin-right: 10px; }
.ck_col_der_card { margin-left: 10px; }
@media only screen and (max-width: 767px) { .ck_col_izq_card, .ck_col_der_card { margin: 0 0 20px 0; } }
body { background-color: #fff; }

/* input email con el mismo estilo que los text del template */
input[type="email"] { float: left; border: 0; outline: 0; font-family: 'Raleway', sans-serif; color: #a4a4a4; }
input[type="email"].small { font-size: 15px; width: 90%; padding: 10px 5%; }
#ajax-contact button[type="submit"] { border: 0; cursor: pointer; clear: both; }
#ajax-contact input:disabled, #ajax-contact textarea:disabled { opacity: 0.6; }

/* Barra superior del header: naranja Ckaricay con letras blancas */
.ck_topbar { background-color: #E04D0C; }
.ck_topbar h6, .ck_topbar a, .ck_topbar i, .ck_topbar span { color: #fff; }
.ck_topbar a:hover { color: #ffd7c4; }
.ck_topbar_redes a { margin-left: 18px; font-size: 16px; }
.ck_topbar_redes a:hover i { color: #ffd7c4; }
.ck_icono_svg { width: 1em; height: 1em; vertical-align: -0.125em; display: inline-block; }
.ck_topbar_redes a:hover .ck_icono_svg { color: #ffd7c4; }

/* Imágenes de tarjetas: el template fuerza height:auto, acá se fija la altura */
.nicdark_archive1 img.ck_card_img { height: 220px; object-fit: cover; }

/* Fila de tarjetas con la misma altura (imagen, título y texto alineados, botón abajo) */
.ck_fila_igual { display: flex; flex-wrap: wrap; clear: both; }
.ck_fila_igual > .grid { float: none; display: flex; }
.ck_fila_igual .nicdark_archive1 { float: none; display: flex; flex-direction: column; }
.ck_fila_igual .ck_card_body { flex: 1; display: flex; flex-direction: column; }
.ck_fila_igual .ck_card_body p { flex: 1; }
.ck_fila_igual .ck_card_body .nicdark_btn { align-self: flex-start; }
/* Oferta educativa: proporción cercana a la foto grupal de Formación Laboral (2043x825) para que no se corte nadie */
.ck_fila_igual .nicdark_archive1 img.ck_card_img { height: auto; aspect-ratio: 2.35 / 1; object-position: 50% 25%; }

/* Fondo sin parallax: la imagen se ajusta al bloque (no a la ventana) */
.ck_fondo_normal { background-size: cover; background-repeat: no-repeat; background-attachment: scroll; }
.ck_fondo_normal .nicdark_filter.greydark { background: rgba(0,0,0,0.45); }
.ck_iframe_wrap { display: block; }
