/*
Theme Name: EPSIVO Hello Elementor Child
Description: Child theme for EPSIVO V2 CMS pages.
Author: EPSIVO
Version: 1.0.0
Template: hello-elementor
Text Domain: epsivo-hello-child
*/

@font-face {
	font-family: 'IBM Plex Sans Fallback';
	src: local('Arial Bold'), local('Arial-BoldMT'), local('Helvetica Neue Bold'), local('Helvetica Bold'), local('Arial');
	font-weight: 600;
	size-adjust: 97.2%;
	ascent-override: 102.5%;
	descent-override: 27.5%;
	line-gap-override: 0%;
}

@font-face {
	font-family: 'IBM Plex Sans Fallback';
	src: local('Arial Bold'), local('Arial-BoldMT'), local('Helvetica Neue Bold'), local('Helvetica Bold'), local('Arial');
	font-weight: 700;
	size-adjust: 99%;
	ascent-override: 102.5%;
	descent-override: 27.5%;
	line-gap-override: 0%;
}

@font-face {
	font-family: 'Source Sans 3 Fallback';
	src: local('Arial'), local('Helvetica Neue'), local('Helvetica');
	font-weight: 400;
	size-adjust: 92.93%;
	ascent-override: 98.4%;
	descent-override: 27.3%;
	line-gap-override: 0%;
}

@font-face {
	font-family: 'Source Sans 3 Fallback';
	src: local('Arial Bold'), local('Arial-BoldMT'), local('Helvetica Neue Bold'), local('Helvetica Bold'), local('Arial');
	font-weight: 600 700;
	size-adjust: 88.6%;
	ascent-override: 103.2%;
	descent-override: 28.6%;
	line-gap-override: 0%;
}

@font-face {
	font-family: 'IBM Plex Mono Fallback';
	src: local('Courier New'), local('Courier'), local('Menlo'), local('Monaco');
	font-weight: 400 700;
	size-adjust: 100%;
	ascent-override: 102.5%;
	descent-override: 27.5%;
	line-gap-override: 0%;
}

:root {
	--font-heading: 'IBM Plex Sans', 'IBM Plex Sans Fallback', sans-serif;
	--font-body: 'Source Sans 3', 'Source Sans 3 Fallback', sans-serif;
	--font-mono: 'IBM Plex Mono', 'IBM Plex Mono Fallback', monospace;
	--ep-font-family: var(--font-body);
}

body {
	font-family: var(--font-body) !important;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body.elementor-kit-12 .e-heading-base.e-default-h1,
body.elementor-kit-12 .e-heading-base.e-default-h2,
body.elementor-kit-12 .e-heading-base.e-default-h3,
body.elementor-kit-12 .e-heading-base.e-default-h4,
body.elementor-kit-12 .e-heading-base.e-default-h5,
body.elementor-kit-12 h1.epsivo-news__heading,
body.elementor-kit-12 h2.epsivo-news__heading,
body.elementor-kit-12 h3.epsivo-news__heading,
body.elementor-kit-12 h4.epsivo-news__heading,
body.elementor-kit-12 h5.epsivo-news__heading,
body.elementor-kit-12 h1.epsivo-cert__title,
body.elementor-kit-12 h2.epsivo-cert__title,
body.elementor-kit-12 h3.epsivo-cert__title,
body.elementor-kit-12 h4.epsivo-cert__title,
body.elementor-kit-12 h5.epsivo-cert__title {
	font-family: var(--font-heading) !important;
}

body nav a,
body nav button,
body button,
body input[type="button"],
body input[type="submit"],
body input[type="reset"],
body [role="button"],
body .elementor-button,
body .e-button-base,
body .epsivo-vfd__button,
body .epsivo-pd__button {
	font-family: var(--font-heading) !important;
}

body table,
body table * {
	font-family: var(--font-mono) !important;
}

body .epsivo-products__model,
body .epsivo-pd__title,
body .epsivo-pd__power,
body .epsivo-pd__supply,
body .epsivo-vfd__card-title > span:first-child,
body .epsivo-vfd__card-title .epsivo-vfd__card-power,
body .epsivo-vfd__supply {
	font-family: var(--font-mono) !important;
}

/* Keep the Cookie Policy's five-column browser-storage inventory readable on phones. */
@media (max-width: 640px) {
	body.page-id-336 .page-content > figure.wp-block-table {
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	body.page-id-336 .page-content > figure.wp-block-table table {
		min-width: 760px;
		table-layout: fixed;
	}

	body.page-id-336 .page-content > figure.wp-block-table th,
	body.page-id-336 .page-content > figure.wp-block-table td {
		overflow-wrap: anywhere;
		word-break: normal;
	}
}
