/* LYONAEEC rebuild. Mobile first. Old-look match. */

:root {
  --bg: #fff;
  --ink: #000;
  --body: #525252;
  --link: #000;
  --brand: #00497f;
  --brand-2: #006eaa;
  --head: #0d4a7e;
  --line: #bababa;
  --line-2: #c2c2c2;
  --head-line: #9e9e9e;
  --foot: #bdbdbd;
  --muted: #808285;
  --hint: #aeb3b9;
  --bar-top: #f2f2f2;
  --bar-bot: #d2d1d2;
}
* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 12px/1.5 Verdana, Geneva, sans-serif;
  overflow-x: hidden;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

header.site-header, main {
  max-width: 1002px;
  margin: 0 auto;
  padding: 0 12px;
}

/* Header: centered stack on phone */
header.site-header { color: var(--body); text-align: center; }
header.site-header form p { margin: 0 0 5px; }
header.site-header input[type="search"]::placeholder { color: var(--hint); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
header.site-header form { width: 100%; }
header.site-header .row { display: flex; gap: 2%; }

header.site-header input[type="search"] {
  width: 76%;
  height: 23px;
  border: 1px solid var(--muted);
  border-radius: 3px;
  color: var(--body);
}

header.site-header button[type="submit"] {
  width: 20%;
  height: 25px;
  border: 0;
  border-radius: 3px;
  background: var(--brand);
  color: #fff;
}
main .row { display: flex; gap: 2%; align-items: center; }
main input[type="search"] { flex: 1; height: 25px; }

main button[type="submit"] {
  border: 0;
  border-radius: 3px;
  background: var(--brand);
  color: #fff;
  padding: 0 16px;
}

/* Nav: dropdown on phone, gray bar on desktop */
nav.site-bar { position: relative; margin-bottom: 2px; }

button.menu-btn {
  display: block;
  width: 99%;
  height: 33px;
  border: 1px solid var(--muted);
  border-radius: 3px;
  background: url(/assets/list-bullet.png) no-repeat 3% center;
  font-weight: bold;
  text-align: left;
  padding-left: 8%;
}
ul.site-nav { display: none; margin: 0; padding: 5px 0; list-style: none; background: #fff; }
ul.site-nav.open { display: block; box-shadow: 2px 2px 3px #e1e1e1; }
ul.site-nav li { text-align: left; padding-left: 5%; }
ul.site-nav li:hover { background: var(--bar-bot); }
ul.site-nav a { display: block; line-height: 30px; color: var(--body); font-size: 1.2em; }

/* Slider: full bleed, slide 1 on without JS */
section.slider { position: relative; overflow: hidden; width: 100vw; left: 50%; margin: 2px 0 25px -50vw; }
div.slides { margin: 0; }
figure.slide { display: none; margin: 0; }
html:not(.js) figure.slide:first-child, figure.slide.on { display: block; }
figure.slide img { display: block; width: 100%; height: 100px; object-fit: cover; }

button.prev, button.next {
  position: absolute;
  top: 50%;
  margin-top: -30px;
  width: 30px;
  height: 60px;
  border: 0;
  background: #000;
  color: #fff;
  opacity: .5;
  cursor: pointer;
}
button.prev { left: 2%; }
button.next { right: 2%; }
nav.dots { position: absolute; bottom: 0; left: 0; width: 100%; text-align: center; }

nav.dots button {
  width: 20px;
  height: 10px;
  margin: 1px;
  border: 0;
  background: #fff;
  opacity: .5;
  cursor: pointer;
}
nav.dots button[aria-current="true"] { background: var(--brand-2); opacity: .8; }

/* Cards: bordered boxes with title, image, link list */
.cards { display: grid; gap: 10px; grid-template-columns: 1fr; padding: 0; }
.card { border: 1px solid var(--line-2); overflow: hidden; }
.card:hover { box-shadow: 5px 5px 3px #e1e1e1; }
.card-title { display: block; padding-left: 6%; font-weight: bold; font-size: 1.25em; line-height: 50px; color: #0a0a0a; }
.card-img img { display: block; margin: 0 auto 24px; max-width: 100%; height: auto; }
.card ul { margin: 0 0 10px; padding: 0; list-style: none; }

.card li {
  display: block;
  width: 86%;
  background: url(/assets/list-bullet.png) no-repeat 6% 7px;
  border: 0;
  padding-left: 11%;
  font-size: 1.25em;
  line-height: 24px;
}

/* Section head bar */

.section-head {
  border: 1px solid var(--head-line);
  border-radius: 3px;
  font-size: 1.3em;
  line-height: 45px;
  padding-left: 3%;
  margin: 40px 0 10px;
  text-align: left;
  font-weight: normal;
}
.section-head.notched { position: relative; }

.section-head.notched::after {
  content: "";
  position: absolute;
  left: 48.75%;
  top: -1px;
  width: 40px;
  height: 20px;
  background: url(/assets/products/listbgmore.gif) no-repeat;
}

/* Family grid: bordered boxes */
.family-grid { display: block; margin: 0; padding: 0; list-style: none; text-align: center; }

.family-grid a {
  display: inline-block;
  width: 218px;
  border: 1px solid var(--line);
  padding: 2px;
  overflow: hidden;
  font-size: 14px;
  line-height: 25px;
  text-align: center;
}
.family-grid a:hover { box-shadow: 5px 5px 3px #f2f2f2; }
.family-grid img { display: block; margin: 0 auto; max-width: 100%; height: auto; }

/* Breadcrumb box */

.crumb-box {
  border: 1px solid var(--head-line);
  border-radius: 3px;
  padding-left: 0.9%;
  margin: 7px 0 10px;
  font: 1.3em/45px Verdana, Geneva, sans-serif;
  overflow: hidden;
}
.crumb-box > * { display: inline-block; padding-left: 15px; }
.crumb-box > * + * { background: url(/assets/arrow01.jpg) no-repeat 0 center; }
.crumb-box a { color: var(--brand-2); font-weight: lighter; }

/* Small raised registered mark */
.onefont, .onefont2 { display: inline-block; font-size: 9px; margin-left: -5px; }
.onefont2 { margin-left: 0; }

/* Article */
.article { margin: 0 -12px; color: #000; }
.article h1 { text-align: center; font-size: 2em; line-height: normal; color: #000; border-bottom: 1px solid rgba(158,158,158,.3); padding-bottom: 10px; }
.article .dateline { display: block; font-family: Verdana, Geneva, sans-serif; line-height: 1.5; color: var(--line); margin: 5px 0 20px; }
.article p { font-family: Calibri, Arial, sans-serif; line-height: 30px; }
.article .t18 { font-size: 18px; }
.article .fig { text-align: center; }
.article .fig.flush { margin: 0; }
.article .cap { text-align: center; margin: 0; font-size: 16px; }
.article .tail { text-align: center; font-size: 18px; }
.article img { display: block; max-width: 100%; height: auto; margin: 0 auto; }

/* Full-bleed strips and banners (About, Manufactory, Designer, Contact) */
.strip, .about-banner, .contact-banner { width: 100vw; position: relative; left: 50%; margin-left: -50vw; }
.strip { height: 97px; margin-bottom: 30px; border: 1px solid var(--head-line); border-left: none; border-right: none; padding: 3px; overflow: hidden; }
.strip ul { position: absolute; left: 0; top: 3px; margin: 0; padding: 0; list-style: none; white-space: nowrap; }
.strip li { float: left; height: 97px; padding: 0 2px; }
.strip img { max-width: 100%; max-height: 100%; }
.about-banner { height: 70px; margin-bottom: 30px; background: url(/assets/products/aboutus.jpg) no-repeat center; background-size: auto 70px; }
.contact-banner { height: 70px; margin-bottom: 30px; background: url(/assets/products/contactus.jpg) no-repeat center; background-size: auto 70px; }
.chead { color: #064b86; font-size: 15px; }
.chead.big { font-size: 16px; }
.fl-r { float: right; margin-left: 5px; }
.fl-l { float: left; }
.clear { clear: both; }
.leftimg img { float: left; margin-right: 20px; }
.avail { margin-top: 40px; line-height: 24px; }
.text-14 { font-size: 14px; line-height: 22px; }
.em-link { color: #165a89; }
.tel-link { color: #306b97; }

/* Products cards */
.pro-cards { margin: 0; padding: 0; list-style: none; }
.pro-cards > li { border: 1px solid #BABABA; margin: 0 0 20px; overflow: hidden; }
.pro-cards > li > a:first-child img { display: block; max-width: 100%; height: auto; }
.pro-cards h2 { font-size: 1.2em; margin: 5px 0; }
.pro-text { display: block; flex: 1; min-width: 0; }

/* Sidebar + article (family, gift pages) */
.prolist { display: inline-block; padding-top: 20px; vertical-align: top; }
.prolist form { display: none; }
.proU { width: 100%; margin: 0; padding: 0; list-style: none; border-bottom: 1px solid #EAE8E6; }
.proU li { line-height: 20px; padding: 10px 5px; }
.proU li:hover, .proU .active { background: #9A9A9A; }
.proU li:hover a, .proU .active a { color: #fff; }
.proU a { color: #000; }
.proarticle { margin: 0 auto; vertical-align: top; }
.proarticle header h2 { color: #0D4A7E; margin-bottom: 10px; }
.proarticle article h2 { color: #0D4A7E; }
.proarticle header img { display: block; margin-top: 30px; max-width: 100%; }
.proarticle header p { line-height: 27px; margin-top: 17px; }
.proarticle article { padding: 20px 0 0 3.259%; }
.proarticle article + article { border-top: 2px solid #c0c0c0; }
h2.blue { color: #0D4A7E; }

/* Family series grid + packing (archive serieslist) */
.serieslist { padding-top: 30px; }
.serieslist ul, .packing ul { width: 100%; margin: 0; padding: 30px 0 0; list-style: none; text-align: center; }
.serieslist ul li, .packing ul li { display: inline-block; margin-bottom: 40px; line-height: 20px; box-sizing: border-box; min-width: 170px; width: 30%; text-align: left; padding: 5px; border: 1px solid #fff; overflow: hidden; vertical-align: top; }
.serieslist ul li:hover { border: 1px solid #D3D3D3; box-shadow: 5px 5px 3px #F2F2F2; }
.imghref { display: block; text-align: center; }
.serieslist ul li img { max-width: 100%; height: auto; max-height: 140px; width: auto; }
.packing ul li img { max-width: 100%; height: auto; }
.serieslist ul li span, .serieslist ul li .cell { display: block; padding: 5px 0 0 10px; }
.serieslist ul li span p, .serieslist ul li .cell p { margin: 0; }
.serieslist ul li span a, .serieslist ul li .cell a { color: #000; }
.packing { color: #000; padding: 30px 0; }
.packing h2 { font-size: 1.3em; }
.packing ul li.one { width: 100%; margin: 0 0 20px; }
.packing ul li.one p { display: inline-block; vertical-align: bottom; padding-left: 2%; }
.packing ul li.two { width: 46%; margin: 0 20px 20px 0; }
.packing ul li.two p { display: inline-block; vertical-align: bottom; padding-left: 2%; }
.serieslist ul.ewser li { width: 40%; }

/* Gift pack item grids */
.gift-grid { margin: 0; padding: 0; list-style: none; text-align: center; }
.gift-grid li { display: inline-block; width: 30%; min-width: 170px; vertical-align: top; text-align: center; margin-bottom: 40px; }
.gift-grid li > a:first-child { display: block; }
.gift-grid img { max-width: 100%; height: auto; max-height: 140px; width: auto; }

/* News list */
.newlist { margin: 0; padding: 20px 0 0; list-style: none; }
.newlist li { line-height: 35px; border-bottom: 1px solid rgba(158,158,158,.3); overflow: hidden; }
.newlist a { display: inline-block; width: 80%; color: #000; float: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.newlist li span { display: inline-block; }
.pro-items { margin: 0; padding: 0; list-style: none; }
.pro-items li { display: inline-block; padding: 0 5px; border-left: 1px solid #C1C1C1; }
.pro-items li:first-child { border-left: none; padding-left: 0; }

/* Series list */
.series-list { margin: 10px 0 0; padding-left: 3%; list-style: none; }
.series-list li { font-size: 1.25em; line-height: 35px; }
.series-list li:first-child { margin-top: 15px; }
.series-list a { color: var(--link); }
.series-list span { color: var(--brand); font-weight: bold; line-height: 35px; margin-right: 15px; }

/* Footer */

footer.site-footer {
  margin-top: 60px;
  border-top: 1px solid #000;
  background: var(--foot);
  color: var(--ink);
  text-align: center;
  line-height: 30px;
}
footer.site-footer .foot-in { max-width: 1002px; margin: 0 auto; padding: 0 12px; }
footer.site-footer p:first-of-type { margin: 0; font-size: 1.25em; line-height: 22px; }
footer.site-footer p:first-of-type a { color: var(--brand); text-decoration: underline; }
footer.site-footer .foot-in > a { color: #000; }
.contact { font-size: 1.4em; line-height: 50px; margin-bottom: 50px; }

@media (min-width: 700px) {
  .strip, .strip li { height: 157px; }
  .contact p:not(.crumb-box) { font-size: 14px; line-height: 20px; padding-left: 20px; }
  .pro-cards > li { display: flex; gap: 10px; align-items: flex-start; }
  .pro-cards > li > a:first-child { flex: none; }
  footer.site-footer p:first-of-type { line-height: 42px; }
  figure.slide img { height: 200px; }
  .about-banner { height: 130px; background-size: auto 130px; }
  .contact-banner { height: 240px; background-size: auto 240px; }
  header.site-header { display: flex; align-items: flex-start; text-align: left; margin: 45px auto 25px; padding-top: 2px; }
  header.site-header > a { flex: none; }
  header.site-header form { width: 35%; margin-left: auto; text-align: right; }

  .cards { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 992px) {
  button.menu-btn { display: none; }

  nav.site-bar {
    height: 54px;
    background: linear-gradient(var(--bar-top), var(--bar-bot));
    border-top: 2px solid var(--line);
    border-bottom: 2px solid var(--line);
  }

  ul.site-nav {
    display: block;
    max-width: 1002px;
    height: 50px;
    margin: 0 auto;
    padding: 0 12px;
    background: none;
    overflow: hidden;
    white-space: nowrap;
  }
  ul.site-nav li { display: inline-block; padding-left: 0; margin-left: 7%; }
  ul.site-nav li:first-child { margin-left: 0; }
  ul.site-nav li:hover { background: none; }
  ul.site-nav a { display: inline-block; line-height: 48px; font-size: 14px; font-weight: bold; color: var(--body); }
  ul.site-nav li:hover, ul.site-nav li.on { background: url(/assets/navlibg.png) no-repeat bottom center; }
  .about-pair .text, .about-pair .imgdiv { display: inline-block; vertical-align: middle; }
  .about-pair .text { width: 50%; }
  .about-pair .imgdiv { width: 40%; }
  .pro-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .pro-cards > li { margin: 0; }
  .split::after { content: ""; display: block; clear: both; }
  .split .text { float: left; width: 45%; }
  .split .imgdiv { float: right; width: 50%; }
  .split .imgdiv img { max-width: 100%; height: auto; }
}

@media (min-width: 1024px) {
  header.site-header, main { padding-left: 0; padding-right: 0; }
  .crumb-box { line-height: 40px; margin: 5px 0 7px; }
  .prolist form { display: block; text-align: left; }
  .prolist form label { display: block; font-size: 1em; margin-bottom: 10px; }
  .prolist form input { display: block; height: 20px; width: 100%; border: 1px solid #000; }
  .prolist form button { display: block; width: 100%; margin-top: 4px; }
  #submit { width: 100%; height: 20px; background: #1173A1; border: none; color: #fff; }
  .prolist { width: 23.5%; padding-top: 45px; }
  .proU { border-top: none; margin-top: 54px; }
  .proU li { display: block; border-top: 1px solid #EAE8E6; padding-left: 14%; background: url(/assets/libg.png) no-repeat 12px 15px; word-wrap: break-word; }
  .proU li:hover, .proU .active { background: #9A9A9A url(/assets/libg.png) no-repeat 12px 15px; }
  .proarticle { display: inline-block; width: 72.6%; margin-left: 5px; border-left: 2px solid #D3D3D3; }
  .strip, .strip li { height: 187px; }
  figure.slide img { height: 380px; }
  .about-banner { height: 188px; background-size: auto 188px; }
  .contact-banner { height: 328px; background-size: auto 328px; }
  nav.dots button { width: 42px; height: 15px; }
  button.prev, button.next { opacity: 0; }
  section.slider:hover button.prev, section.slider:hover button.next { opacity: .5; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none; animation: none; }
}
.video-note { margin-top: 28px; color: var(--brand); font-weight: bold; }

/* Video modal (archive popup pattern) */
.assembly, .flying, .using { margin: 10px 0 20px; }
.vbars .video-note { flex: 1 1 100%; }

@media (min-width: 592px) {
  .vbars { display: flex; flex-wrap: wrap; gap: 0 4%; }
  .vbars .assembly, .vbars .flying, .vbars .using { flex: 0 1 48%; }
}.assembly h3, .flying h3, .using h3 { font-size: 15px; line-height: 33px; background: #e9e9e9; color: #004b84; font-weight: normal; }
.assembly h3 span, .flying h3 span, .using h3 span { padding-left: 10px; }
.assembly button, .flying button, .using button, .video button { border: 0; background: none; padding: 0; cursor: pointer; vertical-align: middle; }
.video2 .mask { width: 100%; height: 100%; background: #000; opacity: .5; position: fixed; top: 0; left: 0; display: none; }
.video2 .playvideo { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 90%; background: #fff; border: 10px solid rgba(0,0,0,.1); background-clip: padding-box; padding: 10px; border-radius: 6px; }
.video2 video { display: block; width: 100%; height: auto; max-height: 70vh; }
.video2 .close { width: 50px; height: 50px; border: 0; background: url(/assets/fancy_close.png) no-repeat center; position: absolute; top: -15px; right: -15px; cursor: pointer; }
.video2.open .mask, .video2.open .playvideo { display: block; }
.video { margin-top: 28px; }
.video h3 { display: inline; padding-right: 18px; color: #00497f; font-weight: normal; }

@media (min-width: 640px) {
  .video2 .playvideo { width: 640px; }
}

/* Support cards */
.support-grid{list-style:none;margin:0;padding:0;}
.support-grid li{position:relative;width:214px;max-width:100%;border:4px solid #cfcfcf;margin:0 auto 20px;overflow:hidden;text-align:center;}
.support-grid img{display:block;max-width:100%;height:auto;margin:0 auto;}
.support-grid p{font-size:14px;line-height:20px;margin:0;}
.support-grid p:first-of-type{background:#cfcfcf;color:var(--brand-2);padding:5px 0;min-height:57px;}
.support-grid p:last-of-type{padding:6px 0;}
.support-grid h2,.support-h2{color:#034778;}

@media (min-width:700px){.support-grid li{display:inline-block;vertical-align:top;margin:0 3% 20px 0;}}

/* Detail two-column */
.det-wrap { overflow: hidden; display: flex; flex-direction: column; border-bottom: 1px solid #bababa; }
.det-info { order: -1; }
.det-media { display: flex; align-items: center; justify-content: center; height: 350px; overflow: hidden; }
.det-media img { display: block; max-width: 100%; max-height: 100%; height: auto; }
.det-thumbs { list-style: none; margin: 20px 0 10px; padding: 0; overflow-x: auto; white-space: nowrap; }
.det-thumbs li { display: inline-block; width: 130px; height: 108px; margin: 0 8px 8px 0; padding: 2px; border: 1px solid #fff; box-sizing: border-box; overflow: hidden; vertical-align: top; }
.det-thumbs li:hover { border-color: #9e9e9e; }
.det-thumbs img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; }
.det-info h3 { font-size: 1.5em; margin: 0; color: var(--ink); }
.det-info h1 { color: var(--brand); font-weight: bold; font-style: italic; font-size: 18px; margin: 4px 0 12px; }
.det-info h2 { color: var(--ink); margin: 0 0 12px; }
.det-thumbs button { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border: 0; background: none; padding: 0; cursor: pointer; }
.det-info .k { color: var(--brand); }
.det-info em { font-style: italic; }
.sib-strip { list-style: none; margin: 0; padding: 20px 0 0; text-align: center; white-space: nowrap; overflow-x: auto; }
.sib-strip li { display: inline-block; width: 135px; height: 130px; margin: 0 20px 20px 0; overflow: hidden; vertical-align: top; }
.sib-strip img { display: block; max-width: 100%; height: 80px; margin: 0 auto; object-fit: contain; }
.sib-strip span { display: block; color: #525252; text-align: center; padding: 5px; height: 60px; overflow: hidden; line-height: 1.2; }
.assorted { padding: 0 0 10px 10px; }
.assorted > p { margin: 0; padding: 15px 0 18px; font-size: 15px; }

@media (min-width: 700px) {
  .det-wrap { display: block; }
  .det-media { float: left; width: 58%; text-align: center; }
  .det-info { float: right; width: 40%; }
}
