/*
Theme Name: EAS Management
Description: Custom theme for EAS Management, PC. No framework, no plugin dependencies.
Version: 3
Author: Evolve Siteworks
Author URI: https://evolvesiteworks.com
Requires PHP: 8.0
Text Domain: easmgmt
*/

@font-face {
	font-family: "Yanone Kaffeesatz Thin";
	src: url("fonts/Yanonekaffeesatz-thin-webfont.woff") format("woff"), url("fonts/Yanonekaffeesatz-thin-webfont.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

/* Base. --s is the text size step set by the accessibility panel (1 by default). */
*, *:before, *:after { box-sizing: border-box; }
html { --s: 1; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: #f0f0f0;
	font: normal calc(14px * var(--s)) / calc(20px * var(--s)) Arial, Helvetica, sans-serif;
	color: #6e6e6e;
	-webkit-font-smoothing: antialiased;
}
a { color: #1b6b87; text-decoration: none; }
a:hover { color: #17647c; text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 3px solid #1b6b87; outline-offset: 2px; }
img { max-width: 100%; height: auto; border: 0; }
p, ul, ol, form { margin: 15px 0; }
h1, h2, h3, h4, h5, h6 { margin: 15px 0; font-family: "Yanone Kaffeesatz Thin", Arial, sans-serif; font-weight: normal; color: #6e6e6e; }
h1 { font-size: calc(36px * var(--s)); line-height: calc(40px * var(--s)); }
h2 { font-size: calc(30px * var(--s)); line-height: calc(34px * var(--s)); }
h3 { font-size: calc(24px * var(--s)); line-height: calc(24px * var(--s)); }
h4 { font-size: calc(20px * var(--s)); line-height: calc(24px * var(--s)); }
h5 { font-size: calc(18px * var(--s)); line-height: calc(22px * var(--s)); }
h6 { font-size: calc(16px * var(--s)); line-height: calc(16px * var(--s)); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); border: 0; white-space: nowrap; }
.screen-reader-text:focus { position: fixed; left: 10px; top: 10px; z-index: 100000; width: auto; height: auto; margin: 0; padding: 12px 18px; clip-path: none; background: #fff; color: #17647c; font-weight: 700; text-decoration: underline; box-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.wrapper { width: 100%; max-width: 980px; margin: 0 auto; }

/* Toolbar strip */
#block-toolbar { height: 35px; background: url(images/toolbar_bg.png) 0 0 repeat-x; }

/* Header */
#block-header {
	display: flow-root;
	border-bottom: 1px solid #fff;
	background: #f7f7f7;
	background: radial-gradient(at 50% 50%, #f7f7f7 0%, #efeff0 50%, #e0e1e2 100%);
}
#header { position: relative; min-height: 50px; margin: 15px; }
#header:after { content: ""; display: block; clear: both; }
#logo { float: left; display: block; margin-right: 15px; }
#logo img { display: block; width: 412px; height: 150px; max-width: none; }

/* Main menu */
#menu { position: absolute; right: -10px; bottom: -17px; text-shadow: 0 1px 0 #fff; }
#menu ul { float: left; margin: 0 0 -10px; padding: 0; list-style: none; }
#menu li { float: left; position: relative; margin: 0; padding: 0 0 10px; }
#menu li a { display: block; float: left; position: relative; z-index: 101; color: #55616a; background: url(images/menu_dropdown_level1.png) 0 0 no-repeat; }
#menu li:first-child a { background: none; }
#menu li a span { display: block; box-sizing: content-box; min-height: 52px; padding: 10px 14px 0 15px; font: normal calc(20px * var(--s)) / calc(25px * var(--s)) "Yanone Kaffeesatz Thin", Arial, sans-serif; text-transform: uppercase; }
#menu li.current-menu-item a,
#menu li.current_page_item a,
#menu li a:hover,
#menu li a:focus { color: #17647c; }
#menu li a:hover { text-decoration: none; }
#menu li.current-menu-item a span,
#menu li.current_page_item a span { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* Blue band */
#block-top-a {
	position: relative;
	overflow: hidden;
	padding: 15px 0;
	background: #267fb0 url(images/radial_gradient.svg) 50% 0 no-repeat;
	background-size: 1400px 500px;
}
.top-a-shadow { position: absolute; top: 0; bottom: 0; left: 0; right: 0; box-shadow: 0 -1px 3px rgba(0, 0, 0, .3) inset, 0 1px 3px rgba(0, 0, 0, .5) inset; }

/* Main */
#block-main { padding: 30px 0 15px; border-bottom: 1px solid #fff; background: #fcfcfc; }
.eas-content { margin: 15px; }
.eas-content:after, .eas-cols:after { content: ""; display: block; clear: both; }
.eas-content > :first-child, .eas-col > :first-child { margin-top: 0; }
.eas-content > :last-child, .eas-col > :last-child { margin-bottom: 0; }
.eas-content h1.eas-title, .eas-col h1.eas-title { font-size: calc(24px * var(--s)); line-height: calc(24px * var(--s)); }
.eas-content h1.eas-title, .eas-col h1.eas-title, .eas-content h3, .eas-col h3 { margin: 0 0 6px; padding-bottom: 9px; background: url(images/module_line.png) 0 100% repeat-x; }
.eas-cols { margin: 0 -15px; }
.eas-col { float: left; padding: 0 15px; }
.eas-col-66 { width: 66.663%; }
.eas-col-33 { width: 33.337%; }
.entry-title { font-size: calc(24px * var(--s)); line-height: calc(24px * var(--s)); margin: 0 0 6px; padding-bottom: 9px; background: url(images/module_line.png) 0 100% repeat-x; }

/* Footer */
#block-footer { border-top: 1px solid #e4e4e4; font-size: calc(12px * var(--s)); color: #5f5f5f; }
#footer { margin: 15px; text-align: center; }
#footer p { margin: 0 0 15px; }
#footer strong { font-weight: bold; }
#footer h6 { margin: 25px 0 0; font-size: calc(16px * var(--s)); line-height: calc(16px * var(--s)); color: #5f5f5f; }

/* Contact form */
.eas-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.eas-contact { max-width: 640px; }
.eas-contact form { margin: 0; }
.eas-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.eas-field { margin: 0 0 20px; }
.eas-field label { display: block; margin: 0 0 6px; font: 600 calc(13px * var(--s)) / calc(18px * var(--s)) Arial, Helvetica, sans-serif; letter-spacing: .02em; color: #56636d; }
.eas-field label span { font-weight: 400; color: #66737c; }
.eas-field input, .eas-field textarea { display: block; width: 100%; padding: 12px 14px; font: 400 calc(15px * var(--s)) / 1.4 Arial, Helvetica, sans-serif; color: #33414b; background: #fff; border: 1px solid #8a9ba7; border-radius: 3px; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .05); transition: border-color .15s, box-shadow .15s; }
.eas-field textarea { resize: vertical; min-height: 170px; }
.eas-field input:hover, .eas-field textarea:hover { border-color: #5f7381; }
.eas-field input:focus, .eas-field textarea:focus { outline: none; border-color: #1b6b87; box-shadow: 0 0 0 3px rgba(27, 107, 135, .3); }
.eas-actions { margin: 4px 0 0; }
.eas-contact .eas-send { min-height: 48px; padding: 0 34px; font: 700 calc(14px * var(--s)) / 1 Arial, Helvetica, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: #1f7592; border: 0; border-radius: 3px; cursor: pointer; transition: background-color .15s, box-shadow .15s; }
.eas-contact .eas-send:hover { background: #17647c; }
.eas-contact .eas-send:focus-visible { outline: 3px solid #1b6b87; outline-offset: 2px; }
.eas-note { margin: 18px 0 0; padding: 12px 16px; border-left: 4px solid; border-radius: 0 3px 3px 0; font-size: calc(14px * var(--s)); }
.eas-ok { color: #1a6b30; background: #eaf6ee; border-color: #2e9e4f; }
.eas-err { color: #9a2a2a; background: #fbecec; border-color: #c0392b; }
@media (max-width: 600px) { .eas-row { grid-template-columns: 1fr; } .eas-contact .eas-send { width: 100%; } }

/* Slideshow */
.esw-slideshow { display: grid; }
.esw-slideshow .esw-slide { grid-area: 1 / 1; opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.esw-slideshow .esw-slide.is-active { opacity: 1; pointer-events: auto; }
.esw-slideshow img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.esw-slideshow.esw-screen { position: relative; background: #000; padding: 15px; border-radius: 8px; margin-bottom: 20px; }
.esw-slideshow.esw-screen .esw-slide { position: relative; z-index: 1; }
.esw-slideshow.esw-screen img { width: 100%; }
.esw-slideshow.esw-screen:before { content: ""; position: absolute; z-index: 0; bottom: -40px; left: -10px; right: -10px; height: 76px; background: url(images/screen-shadow.png) 0 0 no-repeat; background-size: 100% 100%; }
@media (prefers-reduced-motion: reduce) { .esw-slideshow .esw-slide { transition: none; } }

/* Accessibility panel (markup: inc/accessibility.php, behavior: js/a11y.js) */
.eas-a11y-btn { position: fixed; right: 20px; bottom: 20px; z-index: 1000; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; padding: 0; color: #fff; background: #0f5b7a; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 2px 8px rgba(0, 0, 0, .4); cursor: pointer; }
.eas-a11y-btn svg { width: 28px; height: 28px; fill: currentColor; }
.eas-a11y-btn:hover { background: #0b4a64; }
.eas-a11y-btn:focus-visible { outline: 3px solid #ffbf47; outline-offset: 3px; }
.eas-a11y-panel { position: fixed; right: 20px; bottom: 84px; z-index: 1000; width: 310px; max-width: calc(100vw - 40px); max-height: calc(100vh - 110px); overflow: auto; padding: 16px; color: #1d2a33; background: #fff; border: 1px solid #7d909c; border-radius: 6px; box-shadow: 0 8px 30px rgba(0, 0, 0, .3); font: 400 14px/20px Arial, Helvetica, sans-serif; letter-spacing: normal; word-spacing: normal; text-align: left; }
.eas-a11y-panel[hidden] { display: none; }
.eas-a11y-panel h2, html .eas-a11y-panel h2 { margin: 0 0 12px; font: 700 16px/20px Arial, Helvetica, sans-serif !important; color: #1d2a33 !important; }
.eas-a11y-group { margin: 0 0 12px; padding: 0; border: 0; }
.eas-a11y-group legend { padding: 0; margin: 0 0 6px; font-weight: 700; color: #1d2a33; }
.eas-a11y-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.eas-a11y-row.three { grid-template-columns: repeat(3, 1fr); }
.eas-a11y-opt { min-height: 44px; padding: 8px 10px; font: 600 14px/18px Arial, Helvetica, sans-serif; color: #1d2a33; background: #eef2f5; border: 2px solid #7d909c; border-radius: 4px; cursor: pointer; text-align: center; }
.eas-a11y-opt:hover { background: #dde6ec; }
.eas-a11y-opt[aria-pressed="true"] { color: #fff; background: #0f5b7a; border-color: #0f5b7a; }
.eas-a11y-opt:focus-visible { outline: 3px solid #1b6b87; outline-offset: 2px; }
.eas-a11y-size { margin: 6px 0 0; font-size: 13px; color: #33414b; }
.eas-a11y-reset { width: 100%; margin-top: 4px; }

/* Text size steps */
html.eas-t1 { --s: 1.15; }
html.eas-t2 { --s: 1.3; }
html.eas-t3 { --s: 1.5; }
html[class*="eas-t"] #menu { position: static; clear: both; }
html[class*="eas-t"] #menu ul { float: none; margin: 0; padding-top: 10px; }
html[class*="eas-t"] #menu li { padding-bottom: 0; }

html[class*="eas-t"] #footer h6, html.eas-rf #footer h6 { line-height: 1.35; }

/* Underline links */
html.eas-ul a { text-decoration: underline !important; text-underline-offset: 3px; }

/* Readable font */
html.eas-rf body,
html.eas-rf h1, html.eas-rf h2, html.eas-rf h3, html.eas-rf h4, html.eas-rf h5, html.eas-rf h6,
html.eas-rf #menu li a span,
html.eas-rf .eas-field input, html.eas-rf .eas-field textarea { font-family: Verdana, Tahoma, Arial, sans-serif; letter-spacing: .02em; }
html.eas-rf #menu li a span { font-size: calc(17px * var(--s)); }

/* Spacing */
html.eas-sp .eas-content, html.eas-sp #footer, html.eas-sp .eas-content p, html.eas-sp .eas-content li { line-height: 1.9; letter-spacing: .04em; word-spacing: .12em; }
html.eas-sp .eas-content p { margin-bottom: 1.4em; }

/* High contrast */
html.eas-hc body { background: #000; color: #fff; }
html.eas-hc #block-toolbar { background: #000; border-bottom: 1px solid #fff; }
html.eas-hc #block-header { background: #000; border-bottom: 1px solid #fff; }
html.eas-hc #logo img { background: #fff; padding: 4px; }
html.eas-hc #menu { text-shadow: none; }
html.eas-hc #menu li a { color: #fff; background: none; }
html.eas-hc #menu li.current-menu-item a, html.eas-hc #menu li.current_page_item a, html.eas-hc #menu li a:hover, html.eas-hc #menu li a:focus { color: #ffe600; }
html.eas-hc #block-top-a { background: #000; border-bottom: 1px solid #fff; }
html.eas-hc .top-a-shadow { box-shadow: none; }
html.eas-hc #block-main { background: #000; border-bottom: 1px solid #fff; }
html.eas-hc #block-footer { background: #000; border-top: 1px solid #fff; color: #fff; }
html.eas-hc a { color: #ffe600; }
html.eas-hc a:focus-visible, html.eas-hc button:focus-visible { outline-color: #ffe600; }
html.eas-hc h1, html.eas-hc h2, html.eas-hc h3, html.eas-hc h4, html.eas-hc h5, html.eas-hc h6, html.eas-hc #footer h6 { color: #fff; }
html.eas-hc .eas-content h1.eas-title, html.eas-hc .eas-col h1.eas-title, html.eas-hc .eas-content h3, html.eas-hc .eas-col h3, html.eas-hc .entry-title { background: none; border-bottom: 1px solid #fff; }
html.eas-hc .eas-field label, html.eas-hc .eas-field label span { color: #fff; }
html.eas-hc .eas-field input, html.eas-hc .eas-field textarea { color: #fff; background: #000; border: 2px solid #fff; box-shadow: none; }
html.eas-hc .eas-field input:focus, html.eas-hc .eas-field textarea:focus { border-color: #ffe600; box-shadow: 0 0 0 3px #ffe600; }
html.eas-hc .eas-contact .eas-send { color: #000; background: #ffe600; }
html.eas-hc .eas-contact .eas-send:hover { background: #fff; }
html.eas-hc .eas-ok, html.eas-hc .eas-err { color: #fff; background: #000; border: 2px solid #fff; border-left-width: 6px; }
html.eas-hc .esw-slideshow.esw-screen { border: 2px solid #fff; }
html.eas-hc .esw-slideshow.esw-screen:before { display: none; }

/* Small screens */
@media (max-width: 1010px) {
	#logo img { width: 100%; max-width: 412px; height: auto; }
	#menu { position: static; clear: both; }
	#menu ul { float: none; margin: 0; padding-top: 10px; }
	#menu li { padding-bottom: 0; }
	#header { margin: 15px 10px; }
}
@media (max-width: 700px) {
	.eas-cols { margin: 0; }
	.eas-col { float: none; width: 100%; padding: 0; margin-bottom: 30px; }
	#menu li a span { min-height: 0; padding: 8px 12px; font-size: calc(18px * var(--s)); box-sizing: border-box; }
	#menu li a { background: none; }
	.eas-a11y-btn { right: 12px; bottom: 12px; }
	.eas-a11y-panel { right: 12px; bottom: 76px; }
}
