@charset "utf-8";

/*
 * Medex — B2B industrial / metrología médica.
 * Paleta y Roboto Condensed se mantienen.
 */

:root {
	--blue: #49A7DE;
	--blue-dark: #2489C6;
	--blue-deep: #1D6D9E;
	--blue-pale: #E4F2FA;
	--gray: #888888;
	--gray-dark: #444444;
	--ink: #273746;
	--muted: #5F7380;
	--line: #D5E2EA;
	--surface: #FFFFFF;
	--canvas: #F3F7F9;
	--shadow-sm: 0 4px 14px rgba(39, 55, 70, 0.06);
	--shadow-md: 0 12px 28px rgba(39, 55, 70, 0.12);
	--radius-sm: 8px;
	--radius: 12px;
	--radius-lg: 16px;
	--content: 1180px;
}

html,
body {
	background: #F3F7F9;
	color: var(--ink);
}

#background #wrapper_body {
	background: #F3F7F9 !important;
}

#wrapper_body,
#background,
header#desktop,
header#mobile,
footer#desktop {
	position: relative;
	z-index: 1;
}

/* Header: barra técnica, no menú de consumo */
header#desktop {
	z-index: 100;
	min-height: 84px;
	background: #FFFFFF;
	border-bottom: 0;
	box-shadow: 0 4px 16px rgba(39, 55, 70, 0.06);
	backdrop-filter: none;
}

header#desktop #header_wrapper {
	min-height: 84px;
	justify-content: flex-start;
}

header#desktop #logo_wrapper {
	position: static;
	flex: 0 0 168px;
}

header#desktop #logo_wrapper img {
	width: 168px;
}

header#desktop #hide_buscar {
	top: 84px;
}

header#desktop #user_wrapper,
header#desktop #login,
header#desktop #login a,
header#desktop #login p,
header#desktop #login .especial_sesion {
	color: #5F7380;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

header#desktop #carrito,
header#desktop #carrito_login,
header#desktop #cerrar_sesion,
header#desktop #pago {
	background: #E4F2FA;
	border: 0;
	color: #1D6D9E;
}

header#desktop #carrito:hover,
header#desktop #carrito_login:hover,
header#desktop #cerrar_sesion:hover,
header#desktop #pago:hover {
	background: #49A7DE;
	border-color: #49A7DE;
	color: #FFFFFF;
	box-shadow: none;
}

header#desktop nav {
	margin-left: auto;
	align-self: flex-end;
}

header#desktop nav > ul > li > a {
	min-height: 52px;
	padding: 16px 10px 12px;
	border-bottom: 3px solid transparent;
	color: #444444;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

header#desktop nav > ul > li:hover > a,
header#desktop nav > ul > li.hovering > a,
header#desktop nav > ul > li.active > a {
	color: #1D6D9E;
	border-bottom-color: #49A7DE;
	text-shadow: none;
}

header#desktop nav > ul > li > a.buscar {
	width: 28px;
	min-height: 28px;
	margin-left: 4px;
	padding: 0;
	border-bottom: 0;
	background: transparent;
	box-shadow: none;
	animation: none;
}

header#desktop nav a.buscar::before {
	width: 11px;
	height: 11px;
	border-color: #667784;
	border-width: 1.5px;
}

header#desktop nav a.buscar::after {
	right: 7px;
	bottom: 7px;
	width: 5px;
	height: 1.5px;
	background: #667784;
}

header#desktop nav a.buscar:hover::before {
	border-color: #1D6D9E;
}

header#desktop nav a.buscar:hover::after {
	background: #1D6D9E;
}

header#mobile #menu {
	background: #49A7DE;
	box-shadow: none;
	animation: none;
}

#submenu_prod,
#submenu_servicios,
#submenu_contacto {
	top: 87px;
	background: #FFFFFF;
	border-color: #D5E2EA;
	box-shadow: var(--shadow-md);
	backdrop-filter: none;
}

header#desktop #hide_buscar,
.subcategory_options_wrapper {
	background: #FFFFFF;
	border-color: #D5E2EA;
	box-shadow: var(--shadow-md);
}

#submenu_prod > ul a,
#submenu_servicios > ul a {
	background: #F3F7F9;
	color: #1D6D9E;
}

#submenu_prod > ul a:hover,
#submenu_servicios > ul a:hover {
	background: #49A7DE;
	color: #FFFFFF;
	box-shadow: none;
}

/* Un solo banner visible, en su proporción 3:1 — sin aplastar ni filtrar el siguiente */
#slider_wrapper {
	width: 100%;
	max-height: none;
	overflow: hidden;
	background: #F3F7F9;
}

#slider_wrapper .banner,
#slider_wrapper .banner.medex-fade {
	width: 100% !important;
	overflow: hidden;
}

#slider_wrapper .banner > ul {
	position: relative !important;
	left: 0 !important;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 3 / 1;
}

#slider_wrapper .banner > ul > li {
	position: absolute !important;
	inset: 0;
	float: none !important;
	width: 100% !important;
	height: 100% !important;
	background-size: 100% 100%;
	background-position: center;
	opacity: 0;
	z-index: 1;
	transition: opacity 1.15s ease-in-out;
}

#slider_wrapper .banner > ul > li:first-child,
#slider_wrapper .banner.medex-fade > ul > li.is-active {
	opacity: 1;
	z-index: 2;
}

#slider_wrapper .banner.medex-fade > ul > li:first-child:not(.is-active) {
	opacity: 0;
	z-index: 1;
}

#slider_wrapper .dots,
#slider_wrapper_mobile .dots {
	display: flex;
	z-index: 3;
}

#slider_wrapper .unslider-arrow,
#slider_wrapper_mobile .unslider-arrow {
	position: absolute;
	top: 50%;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(255, 255, 255, 0.55);
	background: rgba(20, 42, 58, 0.28);
	color: #FFFFFF;
	font-size: 0;
	transform: translateY(-50%);
}

#slider_wrapper .unslider-arrow.prev,
#slider_wrapper_mobile .unslider-arrow.prev {
	left: 16px;
}

#slider_wrapper .unslider-arrow.next,
#slider_wrapper_mobile .unslider-arrow.next {
	right: 16px;
}

#slider_wrapper .unslider-arrow.prev::before,
#slider_wrapper_mobile .unslider-arrow.prev::before {
	content: "";
	width: 8px;
	height: 8px;
	border-bottom: 2px solid #FFFFFF;
	border-left: 2px solid #FFFFFF;
	transform: rotate(45deg);
	margin-left: 3px;
}

#slider_wrapper .unslider-arrow.next::before,
#slider_wrapper_mobile .unslider-arrow.next::before {
	content: "";
	width: 8px;
	height: 8px;
	border-top: 2px solid #FFFFFF;
	border-right: 2px solid #FFFFFF;
	transform: rotate(45deg);
	margin-right: 3px;
}

#slider_wrapper .unslider-arrow:hover,
#slider_wrapper_mobile .unslider-arrow:hover {
	background: rgba(73, 167, 222, 0.92);
	border-color: #49A7DE;
}

#slider_wrapper_mobile .banner,
#slider_wrapper_mobile .banner.medex-fade {
	width: 100% !important;
	overflow: hidden;
}

#slider_wrapper_mobile .banner > ul {
	position: relative !important;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 3 / 4;
}

#slider_wrapper_mobile .banner > ul > li {
	position: absolute !important;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	background-size: 100% 100%;
	background-position: center;
	opacity: 0;
	z-index: 1;
	transition: opacity 1.15s ease-in-out;
}

#slider_wrapper_mobile .banner.medex-fade > ul > li.is-active {
	opacity: 1;
	z-index: 2;
}

#home_slider {
	position: relative;
}

#home_slider::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 3;
	height: 120px;
	background: linear-gradient(180deg, rgba(20, 42, 58, 0) 0%, rgba(20, 42, 58, 0.42) 100%);
	pointer-events: none;
}

#home_hero_dock {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 4;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	padding: 0 max(24px, calc((100% - 1180px) / 2)) 22px;
	pointer-events: none;
}

#home_hero_actions {
	position: static;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px;
	pointer-events: auto;
}

#home_slider #slider_wrapper .dots,
#home_slider #slider_wrapper_mobile .dots {
	right: auto;
	bottom: 28px;
	left: max(24px, calc((100% - 1180px) / 2));
	justify-content: flex-start;
	width: auto;
}

.home_cta_primary,
.home_cta_secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 20px;
	border-radius: var(--radius);
	font-size: 14px;
	font-weight: 700;
	box-shadow: 0 6px 18px rgba(15, 40, 58, 0.18);
}

.home_cta_primary {
	background: #49A7DE;
	color: #FFFFFF;
}

.home_cta_secondary {
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(255, 255, 255, 0.8);
	color: #273746;
}

.home_cta_primary:hover {
	background: #2489C6;
}

.home_cta_secondary:hover {
	border-color: #49A7DE;
	color: #1D6D9E;
}

#home_certs {
	background: #FFFFFF;
	border-bottom: 1px solid #D5E2EA;
}

#home_certs_inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 28px;
	width: min(calc(100% - 40px), 1180px);
	margin: 0 auto;
	padding: 16px 0;
}

#home_certs_inner p {
	position: relative;
	color: #1D6D9E;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

#main_container {
	width: min(calc(100% - 40px), 1180px);
	padding: 40px 0 72px;
}

#banner_alternativo {
	min-height: 168px;
	padding: 36px max(20px, calc((100% - 1180px) / 2));
	background: #1D6D9E;
	animation: none;
	box-shadow: none;
}

#banner_alternativo::before,
#banner_alternativo::after {
	display: none;
}

#banner_alternativo h1,
#banner_alternativo h1 span {
	color: #FFFFFF;
	font-size: clamp(30px, 4vw, 46px);
	font-weight: 300;
	letter-spacing: -0.02em;
}

#banner_alternativo h1 span {
	font-weight: 700;
}

#home .subsection,
#nosotros > div,
#productos > div,
#servicios > div,
#programas > div {
	margin: 0 0 48px;
	padding: 0;
	background: transparent;
	width: auto;
	left: auto;
}

#home .subsection:nth-child(even) {
	position: static;
	width: auto;
	left: auto;
	margin-left: 0;
	padding: 0;
	background: transparent;
}

section > #header,
#productos > #header,
#servicios > #header,
#nosotros > #header,
#programas > #header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 22px;
	padding-bottom: 12px;
	border-bottom: 2px solid #49A7DE;
	text-align: left;
}

section > #header #icon {
	display: none;
}

section > #header #title h2,
#titles h2,
#home #titles h2 {
	color: #273746;
	font-size: clamp(24px, 2.6vw, 32px);
	font-weight: 700;
	letter-spacing: 0;
	text-align: left;
	text-shadow: none;
}

section > #header .subtitle,
#titles .subtitle,
#home #titles .subtitle {
	margin-top: 4px;
	color: #1D6D9E;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-align: left;
}

#home [id^="page_container_"],
#productos [id^="page_container_"],
#nosotros [id^="page_container_"],
.page_events [id^="page_container_"] {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 12px 16px;
}

#home [id^="page_container_"] > #titles,
#productos [id^="page_container_"] > #titles {
	width: auto;
	text-align: left;
}

#home [id^="page_container_"] > .page_navigation,
#productos [id^="page_container_"] > .page_navigation {
	order: 0;
	grid-column: 2;
	grid-row: 1;
}

#home [id^="page_container_"] > ul.content,
#productos [id^="page_container_"] > ul.content {
	order: 0;
	grid-column: 1 / -1;
	width: 100%;
	margin-top: 8px;
}

#page_container_productos > .page_navigation {
	grid-column: 1 / -1 !important;
}

/* Service grid */
#home_services #titles {
	margin-bottom: 20px;
}

#home_service_grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

#home_service_grid > li {
	display: flex;
	flex-direction: column;
	min-height: 240px;
	padding: 28px;
	border: 1px solid #D5E2EA;
	border-radius: var(--radius);
	background: #FFFFFF;
	box-shadow: var(--shadow-sm);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

#home_service_grid > li:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-3px);
}

#home_service_grid h3 {
	margin: 0 0 12px;
	color: #273746;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
}

#home_service_grid p {
	flex: 1;
	margin: 0 0 18px;
	color: #5F7380;
	font-size: 15px;
	line-height: 1.5;
}

#home_service_grid a {
	color: #1D6D9E;
	font-size: 14px;
	font-weight: 700;
}

#home_service_grid a:hover {
	color: #49A7DE;
}

/* Compact news / events — no more full-viewport posts */
#home #page_container_news ul.content,
#home #page_container_events ul.content {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

#home #page_container_news ul.content > li article,
#home #page_container_events ul.content > li {
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr) auto;
	align-items: center;
	gap: 16px;
	min-height: 0;
	padding: 12px;
	border: 1px solid #D5E2EA;
	border-radius: var(--radius);
	background: #FFFFFF;
	box-shadow: none;
	text-align: left;
}

#home #page_container_news article #image,
#home #page_container_events #event_image {
	width: 132px;
	min-height: 88px;
	height: 88px;
	aspect-ratio: auto;
	overflow: hidden;
	border-radius: var(--radius-sm);
	background: #E4F2FA;
}

#home #page_container_news article #image img,
#home #page_container_events #event_image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#home #page_container_news article #text,
#home #page_container_events article #text {
	max-width: none;
	padding: 0;
}

#home #page_container_news article h3,
#home #page_container_events article h3 {
	margin: 0 0 6px;
	color: #273746;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.25;
}

#home #page_container_news article p,
#home #page_container_events article p {
	display: -webkit-box;
	overflow: hidden;
	color: #5F7380;
	font-size: 14px;
	line-height: 1.4;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

#home #page_container_events article {
	width: auto;
	border: 0;
	box-shadow: none;
}

#home #page_container_news a.button,
#home #page_container_events a.button,
#home #page_container_cursos a.button,
#home article .button {
	min-height: 36px;
	margin: 0;
	padding: 8px 12px;
	border-radius: var(--radius);
	background: #49A7DE;
	color: #FFFFFF;
	box-shadow: none;
	font-size: 12px;
	font-weight: 700;
	justify-content: center;
}

#home #page_container_news a.button:hover,
#home #page_container_events a.button:hover,
#home a.button:hover,
#home article .button:hover {
	background: #2489C6;
	color: #FFFFFF;
	transform: none;
}

#home a.button p,
#home a.button #button_text,
#home a.button #date,
#home article .button p {
	color: #FFFFFF;
}

/* Cursos compactos */
#home #page_container_cursos ul.content,
#home #page_container_descargables ul.content {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

#home #page_container_cursos ul.content > li,
#home #page_container_descargables ul.content > li {
	overflow: hidden;
	border: 1px solid #D5E2EA;
	border-radius: var(--radius);
	background: #FFFFFF;
}

#home #page_container_cursos ul li #image,
#home #page_container_descargables ul li #image {
	min-height: 140px;
	max-height: 140px;
}

#home #page_container_cursos article,
#home #page_container_descargables article,
#home #page_container_cursos article:hover,
#home #page_container_descargables article:hover {
	position: relative;
	margin-top: 0 !important;
	padding: 16px 18px 18px;
	background: #FFFFFF;
	transform: none;
}

#home #page_container_cursos article #title h2,
#home #page_container_cursos article #title span {
	display: inline;
	color: #273746;
	font-size: 18px;
	font-weight: 700;
}

#home #page_container_cursos article #text p {
	display: -webkit-box;
	overflow: hidden;
	color: #5F7380;
	font-size: 14px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

/* Biblioteca como tabla técnica */
#home #descargables #scrollable_wrapper,
#home #descargables .scroll-pane {
	overflow: visible !important;
	height: auto !important;
}

#home #descargables ul {
	display: table;
	width: 100%;
	border-collapse: collapse;
	background: #FFFFFF;
	border: 1px solid #D5E2EA;
	border-radius: var(--radius);
}

#home #descargables li {
	display: table-row;
}

#home #descargables li a,
#home #descargables li p {
	display: table-cell;
	padding: 12px 16px;
	border-bottom: 1px solid #E6EEF3;
	vertical-align: top;
}

#home #descargables li a {
	width: 34%;
	color: #1D6D9E;
	font-weight: 700;
}

#home #descargables li p {
	color: #5F7380;
	font-size: 14px;
}

#home #descargables li:nth-child(even) {
	background: #F3F7F9;
}

#home #descargables li:hover {
	background: #E4F2FA;
}

/* Generic cards / tables */
#home article,
.page_events ul.content > li,
#programas article,
#productos #catalogo ul.content_prod > li,
#productos #ofertas li,
#servicios #content > #item,
#nosotros #historia,
#nosotros #empresas > #item,
#nosotros #ubicacion > #item,
#nosotros #empleo,
#contacto #info_wrapper,
#contacto #form_wrapper,
#formacion_home #text #item,
#formacion_home article,
#eventos ul.content > li,
#noticias ul.content > li,
#pop_wrapper,
#mobile_producto,
.page_cart #page_container_productos,
.page_cart #page_container_servicios,
#servicios #content > form,
#encabezado_servicio_tecnico #area,
#contenido_servicio_tecnico #item {
	background: #FFFFFF;
	background-image: none;
	border: 1px solid #D5E2EA;
	box-shadow: var(--shadow-sm);
	border-radius: var(--radius);
}

#home article:hover,
#productos #catalogo ul.content_prod > li:hover,
#servicios #content > #item:hover,
#programas article:hover,
#eventos ul.content > li:hover,
#noticias ul.content > li:hover,
#nosotros #empresas > #item:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
}

#home #page_container_cursos article:hover,
#home #page_container_descargables article:hover {
	transform: none;
}

#home article h3,
#productos #catalogo ul.content_prod > li h3,
#eventos article h3,
#noticias article h3,
#formacion_home article h2,
#programas #catalogo_programas article h2,
#contacto h1,
#nosotros #empleos h3 {
	color: #273746;
	font-weight: 700;
}

#home article p,
#productos #catalogo ul.content_prod > li p,
#servicios #content article p,
#nosotros #historia article p,
#nosotros #empresas article p,
#eventos article p,
#noticias article p,
#formacion_home article p,
#contacto #info p {
	color: #5F7380;
}

.input_button,
input[type="button"],
input[type="submit"],
a.button,
#productos #catalogo ul.content_prod > li a,
#formacion_home #impact article a,
#nosotros #ubicanos #map a,
.page_cart #carrito_cotizacion_button {
	background: #49A7DE;
	background-image: none;
	border: 0;
	border-radius: var(--radius);
	box-shadow: none;
	color: #FFFFFF;
	font-weight: 700;
}

.input_button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
a.button:hover,
#productos #catalogo ul.content_prod > li a:hover {
	background: #2489C6;
	animation: none;
	box-shadow: none;
}

.input_txt,
.textarea_txt,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
textarea,
select,
#combo_categoria,
#combo_subcategoria,
#combo_tipo,
#nosotros #ubicanos #combo {
	background: #FFFFFF;
	border: 1px solid #D5E2EA;
	border-radius: var(--radius);
	color: #273746;
	box-shadow: none;
}

.input_txt:focus,
.textarea_txt:focus,
input:focus,
textarea:focus,
select:focus {
	border-color: #49A7DE;
	box-shadow: 0 0 0 3px rgba(73, 167, 222, 0.18);
}

#combo_categoria p,
#combo_subcategoria p,
#combo_tipo p {
	color: #273746;
}

#options_categoria,
#options_subcategoria,
#options_tipo,
#nosotros #ubicanos #options,
#equipos_options {
	background: #FFFFFF;
	border-color: #D5E2EA;
	box-shadow: var(--shadow-md);
}

table,
#encabezado_servicio_tecnico,
#contenido_servicio_tecnico {
	border-collapse: collapse;
}

table th,
#encabezado_servicio_tecnico #title,
#contenido_servicio_tecnico #item > #title {
	padding: 12px 14px;
	background: #E4F2FA;
	color: #1D6D9E;
	font-weight: 700;
	text-align: left;
}

table td {
	padding: 12px 14px;
	border-bottom: 1px solid #E6EEF3;
}

table tr:nth-child(even) td {
	background: #F3F7F9;
}

.page_navigation .next_link,
.page_navigation .previous_link {
	background: #FFFFFF;
	border-color: #D5E2EA;
}

.page_navigation .next_link::before,
.page_navigation .previous_link::before {
	color: #1D6D9E;
}

.page_navigation .page_link {
	background: #C5D4DC;
}

.page_navigation .active_page {
	background: #49A7DE;
}

#formacion_home #impact {
	border: 0;
	box-shadow: var(--shadow-sm);
}

#formacion_home #impact article {
	background: rgba(255, 255, 255, 0.92);
}

#formacion_home #impact article h2,
#formacion_home #impact article p {
	color: #273746;
}

#servicios #content > #item > #image > #text {
	background: linear-gradient(180deg, transparent, rgba(29, 109, 158, 0.72));
}

#nosotros #historia #img,
#productos #catalogo ul.content_prod > li #image,
#productos #ofertas li img {
	background-color: #FFFFFF;
}


#contacto #info p span,
#contacto #info p a {
	color: #273746;
}

footer#desktop {
	background: #273746;
	border-top: 0;
	box-shadow: none;
	color: #FFFFFF;
}

footer#desktop p {
	color: rgba(255, 255, 255, 0.72);
}

footer#desktop #redes a {
	border-color: rgba(255, 255, 255, 0.24);
	color: #FFFFFF;
}

footer#desktop #redes a:hover {
	background: #49A7DE;
	border-color: #49A7DE;
	color: #FFFFFF;
}

header#mobile {
	background: #FFFFFF;
	border-bottom: 0;
	box-shadow: none;
}

header#mobile #menu {
	background: #49A7DE;
}

header#mobile #menu::before {
	background: #FFFFFF;
	box-shadow: 0 -6px 0 #FFFFFF, 0 6px 0 #FFFFFF;
}

nav#mobile,
nav#mobile #mas_opciones {
	background: #273746;
	border-left: 0;
}

nav#mobile li a {
	color: rgba(255, 255, 255, 0.82);
}

nav#mobile li a:hover,
nav#mobile li.active a {
	background: #49A7DE;
	color: #FFFFFF;
}

#TB_window,
#TB_ajaxContent {
	background: #FFFFFF !important;
	color: var(--ink);
}

@media (max-width: 900px) {
	#home_service_grid {
		grid-template-columns: 1fr;
	}

	#home #page_container_news ul.content > li article,
	#home #page_container_events ul.content > li {
		grid-template-columns: 96px minmax(0, 1fr);
	}

	#home #page_container_news article #image,
	#home #page_container_events #event_image {
		width: 96px;
		height: 72px;
		min-height: 72px;
	}

	#home #page_container_news a.button,
	#home #page_container_events a.button {
		grid-column: 1 / -1;
	}

	#home #page_container_cursos ul.content,
	#home #page_container_descargables ul.content {
		grid-template-columns: 1fr;
	}

	#home_certs_inner {
		justify-content: flex-start;
	}
}

@media (max-width: 640px) {

	#home_hero_dock {
		padding: 0 16px 16px;
	}

	#home_slider #slider_wrapper .dots,
	#home_slider #slider_wrapper_mobile .dots {
		left: 16px;
		bottom: 18px;
	}

	#banner_alternativo {
		min-height: 120px;
		padding: 28px 20px;
	}

	#home #descargables li a,
	#home #descargables li p {
		display: block;
		width: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	#home_service_grid > li,
	#home article,
	#productos #catalogo ul.content_prod > li {
		transition: none;
	}

}
