/* hydrauliccomponents.eu - layout and components, modelled on the old The7 theme */

@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url(../fonts/opensans-normal-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url(../fonts/opensans-normal-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Open Sans"; font-style: italic; font-weight: 300 800; font-display: swap;
  src: url(../fonts/opensans-italic-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Open Sans"; font-style: italic; font-weight: 300 800; font-display: swap;
  src: url(../fonts/opensans-italic-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/raleway-normal-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/raleway-normal-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --accent: #0b70b8;
  --accent-dark: #095d99;
  --navy: #004084;
  --sub-bg: rgba(41, 89, 132, .97);
  --title: #3a3a3a;
  --text: #7e7e7e;
  --line: rgba(126, 126, 126, .15);
  --stripe: #f6f6f6;
  --green: #6dab3c;
  --red: #dd3333;
  --wrap: 1250px;
  --pad: 44px;
  --gutter: 44px;
  --body-font: "Open Sans", Helvetica, Arial, Verdana, sans-serif;
  --head-font: "Raleway", Helvetica, Arial, Verdana, sans-serif;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--text); font: 400 14px/24px var(--body-font); }
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-dark); }
p { margin: 0 0 10px; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 10px; color: var(--title); font-family: var(--head-font); }
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: inherit; }
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover { color: var(--accent); }
h1 { font-size: 30px; line-height: 40px; font-weight: 600; }
h2 { font-size: 26px; line-height: 34px; font-weight: 500; }
h3 { font-size: 24px; line-height: 30px; font-weight: 500; }
h4 { font-size: 18px; line-height: 24px; font-weight: 600; }
h5 { font-size: 15px; line-height: 23px; font-weight: 600; }
h6 { font-size: 13px; line-height: 20px; font-weight: 600; }
strong, b { font-weight: 700; }
ul, ol { margin: 0 0 10px; padding-left: 20px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 10px 0; }
table { border-collapse: collapse; width: 100%; }
button { font: inherit; }
.i { width: 1em; height: 1em; fill: currentColor; vertical-align: -.125em; flex-shrink: 0; }
.sr, .qform__hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 1000; background: #fff; padding: 8px 14px; }
.skip:focus { left: 10px; top: 10px; }
.color-title { color: var(--title); }
.paint-accent-color { color: var(--accent); }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 15px 10px 0; }
.alignright { float: right; margin: 0 0 10px 15px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

/* ---------------------------------------------------------------- header */
.topbar { padding: 5px 0; border-bottom: 1px solid rgba(58, 58, 58, .08); color: var(--title); font-size: 13px; line-height: 20px; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 28px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar__claim { color: var(--red); font-size: 12px; }
.topbar__claim .i { color: var(--red); }
.topbar__item { color: var(--title); }
.topbar__item .i { color: #888; margin-right: 3px; }
.topbar__item:hover { color: var(--accent); }
.lang { position: relative; }
.lang__btn { background: none; border: 0; padding: 4px 0; color: var(--title); cursor: pointer; display: flex; align-items: center; gap: 4px; }
/* The list stays open for a moment after the pointer leaves (visibility delay), so it does not close while the
   pointer travels to it or slips off an item; an invisible strip covers the gap between the button and the list. */
.lang__list { position: absolute; right: -10px; top: calc(100% + 6px); z-index: 60; list-style: none; margin: 0; padding: 8px 0; min-width: 170px;
  background: var(--sub-bg); box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
  visibility: hidden; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s, visibility 0s linear .4s; }
.lang__list::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 12px; }
.lang:hover .lang__list, .lang.is-open .lang__list, .lang__list:has(:focus-visible) { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.lang__list a { display: flex; align-items: center; color: #fff; padding: 8px 16px; }
.lang__list a:hover, .lang__list a:focus-visible { background: rgba(255, 255, 255, .12); }
.flag { display: inline-block; width: 16px; height: 11px; margin-right: 7px; background: center / contain no-repeat; }
.flag--en { background-image: url(../../media/2016/10/uk_flag.png); }
.flag--it { background-image: url(../../media/2016/10/italy_flag.png); }
.flag--fr { background-image: url(../../media/2016/10/France-Flag-icon.png); }
.flag--es { background-image: url(../../media/2016/10/Spain-flag-icon.png); }
.soc { display: inline-flex; gap: 4px; }
.soc a { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 12px; }
.soc a:hover { background: var(--navy); color: #fff; }

.branding__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 110px; }
.logo img { display: block; width: 190px; }
.brand-logos { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.brand-logos a { display: block; transition: opacity .2s; }
.brand-logos a:hover { opacity: .75; }
.brand-logos img { display: block; width: 150px; }
.nav-toggle, .nav-close { display: none; }

.nav { background: var(--navy); position: relative; z-index: 50; }
.nav.is-stuck { position: fixed; top: 0; left: 0; right: 0; box-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.nav.is-stuck .menu__item > a { height: 50px; }
.nav__in { display: flex; align-items: stretch; }
.nav__logo { display: none; align-items: center; padding-right: 20px; }
.nav__logo img { width: 96px; }
.nav.is-stuck .nav__logo { display: flex; }
.menu { position: relative; display: flex; flex: 1; justify-content: space-between; list-style: none; margin: 0; padding: 0; border-left: 1px solid rgba(255, 255, 255, .15); }
.menu__item { flex: 1 1 auto; border-right: 1px solid rgba(255, 255, 255, .15); }
.menu__item > a { position: relative; display: flex; align-items: center; justify-content: center; gap: 2px; height: 59px; padding: 0 16px; color: #fff; font: 600 16px/20px var(--head-font); text-transform: uppercase; white-space: nowrap; transition: background .2s; }
/* yellow line on top of the hovered / current item (The7 "line decoration") */
.menu__item > a::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: #f7de00; opacity: 0; transition: opacity .3s; }
.menu__item:hover > a::before, .menu__item:focus-within > a::before, .menu__item.is-active > a::before { opacity: 1; }
.menu:hover .menu__item.is-active:not(:hover) > a::before { opacity: 0; }
.menu__item:hover > a, .menu__item:focus-within > a { background: rgba(255, 255, 255, .12); color: #fff; }
.menu__arrow { font-size: 11px; }
.sub-toggle { display: none; }
/* submenus: full-width panel under the menu bar, four columns (The7 mega menu) */
.sub { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 55; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 20px 10px 10px;
  background: var(--sub-bg); box-shadow: 0 0 4px rgba(0, 0, 0, .2); }
.menu__item:hover > .sub, .menu__item:focus-within > .sub { display: grid; }
.sub li { padding: 0 10px 10px; }
.sub a { display: block; margin-bottom: 10px; padding: 10px; color: #fff; font: 400 17px/24px var(--head-font); transition: background .2s; }
.sub a:hover, .sub a:focus-visible { background: rgba(255, 255, 255, .1); color: #fff; }
.sub a[aria-current] { font-weight: 700; }
.nav__mobile-extra { display: none; }

/* ---------------------------------------------------------------- page title */
.page-title { background: var(--stripe); border-bottom: 1px solid rgba(58, 58, 58, .08); }
.page-title__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 80px; padding-top: 10px; padding-bottom: 10px; }
.page-title h1 { margin: 5px 0; font-size: 18px; line-height: 24px; font-weight: 600; }
.crumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; font-size: 12px; line-height: 21px; color: #bdbdbd; }
.crumbs li + li::before { content: "/"; margin: 0 7px; color: #d4d4d4; }
.crumbs a { color: #bdbdbd; }
.crumbs a:hover { color: var(--accent); }
.fancy-header { background: #222 center / cover no-repeat; min-height: 300px; display: flex; align-items: center; text-align: center; color: #fff; position: relative; }
.fancy-header::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .25); }
.fancy-header .wrap { position: relative; width: 100%; }
.fancy-header__title { color: #fff; font-size: 40px; line-height: 50px; margin-bottom: 10px; text-shadow: 0 1px 6px rgba(0, 0, 0, .35); }
.fancy-header__sub { color: #fff; font: 500 24px/30px var(--head-font); margin: 0; text-shadow: 0 1px 6px rgba(0, 0, 0, .35); }

/* ---------------------------------------------------------------- page body / Visual Composer rows */
.content { padding: 50px 0; }
.main--slider .content { padding-top: 0; }
.vrow { position: relative; }
.vrow--stripe { background-color: var(--stripe); }
.vrow--full > .wrap { max-width: none; padding: 0; }
.vrow--bgimg { background-position: center; background-size: cover; background-repeat: no-repeat; }
.vrow--fixed { background-attachment: fixed; }
.vrow--overlay::before { content: ""; position: absolute; inset: 0; background: var(--overlay); }
.vrow--bgimg > .wrap { position: relative; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.col { min-width: 0; }
.w-1 { grid-column: span 1; } .w-2 { grid-column: span 2; } .w-3 { grid-column: span 3; } .w-4 { grid-column: span 4; }
.w-5 { grid-column: span 5; } .w-6 { grid-column: span 6; } .w-7 { grid-column: span 7; } .w-8 { grid-column: span 8; }
.w-9 { grid-column: span 9; } .w-10 { grid-column: span 10; } .w-11 { grid-column: span 11; } .w-12 { grid-column: span 12; }
.grid--inner { column-gap: 30px; }
.text > :last-child { margin-bottom: 0; }
.text ul:not([class]) { padding-left: 18px; }
.text table td, .text table th { border: 1px solid var(--line); padding: 6px 10px; }
.sp { display: block; }

figure { margin: 0; }
.img { margin-bottom: 0; line-height: 0; }
.img a { display: inline-block; }
.img img { transition: opacity .2s; }
.img a:hover img { opacity: .85; }
.img--border a, .img--border > img { padding: 6px; background: #ebebeb; }
.img--outline a, .img--outline > img { padding: 6px; border: 1px solid #ebebeb; }
.align-center { text-align: center; }
.align-right { text-align: right; }

.sep { margin: 0; border-top: 1px solid var(--line); }
.sep--dotted { border-top-style: dotted; }
.sep--dashed { border-top-style: dashed; }

/* lists with arrow bullets (The7 "standard-arrow") */
.list-arrow, .list-arrow-wrap ul { list-style: none; margin: 0 0 10px; padding: 0; }
.list-arrow li, .list-arrow-wrap li { position: relative; padding: 0 0 10px 24px; }
.list-arrow li::before, .list-arrow-wrap li::before { content: ""; position: absolute; left: 0; top: 6px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M5.5 3.5 9 7l-3.5 3.5' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E") center / 13px no-repeat; }
/* lists with dividers (dt_list dividers="true", and dt_vc_list which always had them) */
.list-arrow--div li + li, .list-arrow-wrap li + li { padding-top: 9px; border-top: 1px solid var(--line); }
.list-arrow--div li + li::before, .list-arrow-wrap li + li::before { top: 15px; }
.text .i { color: var(--accent); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 7px; padding: 0 14px; border: 0; border-radius: 0; background: var(--accent); color: #fff;
  font: 600 12px/30px var(--body-font); cursor: pointer; transition: background .2s, color .2s; vertical-align: middle; }
.btn:hover { background: var(--navy); color: #fff; }
.btn .i { color: #fff; }
.btn--medium { font-size: 14px; line-height: 40px; padding: 0 14px; }
.btn--light { background: transparent; color: var(--title); box-shadow: inset 0 0 0 1px rgba(58, 58, 58, .13); }
.btn--light .i { color: var(--accent); }
.btn--light:hover { background: var(--accent); color: #fff; }
.btn--light:hover .i { color: #fff; }
.btn--link { background: none; padding: 0; color: var(--title); font-size: 14px; line-height: 24px; }
.btn--link .i { color: var(--accent); }
.btn--link:hover { background: none; color: var(--accent); }
.text p .btn { margin: 2px 0; }
.linklike { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; font: inherit; }
.linklike:hover { color: #fff; text-decoration: underline; }

/* teaser (image + text box) */
.teaser { margin-bottom: 10px; border: 1px solid var(--line); }
.teaser__img { display: block; line-height: 0; overflow: hidden; padding-bottom: 25px; }
.teaser__img img { width: 100%; transition: opacity .3s; }
a.teaser__img:hover img { opacity: .85; }
.teaser__body { margin-top: -5px; padding: 0 25px 10px; }
.teaser h6 { font-size: 13px; line-height: 23px; }

/* call to action */
.cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta__text > :last-child { margin-bottom: 0; }
.cta h3 { margin-bottom: 10px; }
.cta h4 { margin-bottom: 10px; }
.cta h4 .i { color: var(--title); }
.cta__btn { flex-shrink: 0; }

/* fancy title with line */
.ftitle { display: flex; align-items: center; gap: 15px; margin-bottom: 10px; }
.ftitle h2, .ftitle h4 { margin: 0; color: #a7a7a7; font-weight: 500; }
.ftitle--dark h2, .ftitle--dark h4 { color: var(--title); font-weight: 600; }
.ftitle--big h2 { font-size: 26px; line-height: 34px; }
.ftitle__line { flex: 1; border-top: 1px solid var(--line); }
.ftitle--dashed .ftitle__line { border-top: 1px dashed rgba(126, 126, 126, .35); }

/* accordion / tabs */
.acc { margin-bottom: 10px; }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__item > summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 12px 0; cursor: pointer; color: var(--title); font: 600 15px/22px var(--head-font); }
.acc__item > summary::-webkit-details-marker { display: none; }
.acc__item > summary .i { color: var(--accent); transition: transform .2s; }
.acc__item[open] > summary .i { transform: rotate(180deg); }
.acc__body { padding: 5px 0 15px; }
.acc--green .acc__item { border: 1px solid #66a038; border-radius: 5px; background: var(--green); overflow: hidden; }
.acc--green .acc__item > summary { padding: 14px 20px; color: #fff; font-size: 18px; line-height: 20px; }
.acc--green .acc__item > summary .i { color: #fff; font-size: 16px; transform: none; }
.acc--green .acc__item > summary:hover { background: #66a038; }
.acc--green .acc__body { background: #fff; padding: 25px 20px 10px; }
.acc--tabs .acc__item > summary .i { font-size: 12px; }

/* photo strip (The7 "small photos") */
.strip { position: relative; overflow: hidden; }
.strip__track { display: flex; gap: var(--gap); overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; }
.strip__track::-webkit-scrollbar { display: none; }
.strip__track a { flex: 0 0 auto; display: block; height: var(--h); overflow: hidden; background: #f0f0f0; }
.strip__track img { height: var(--h); width: auto; max-width: none; transition: transform .4s, opacity .2s; }
.strip__track a:hover img { opacity: .85; }
.strip__btn { position: absolute; top: 50%; z-index: 2; width: 36px; height: 36px; margin-top: -18px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .35);
  color: #fff; font-size: 14px; cursor: pointer; opacity: 0; transition: opacity .2s; display: flex; align-items: center; justify-content: center; }
.strip:hover .strip__btn, .strip__btn:focus-visible { opacity: 1; }
.strip__btn--prev { left: 10px; }
.strip__btn--next { right: 10px; }

/* justified grid */
.jgrid { display: flex; flex-wrap: wrap; gap: 1px; }
.jgrid a { flex: var(--w) 1 calc(var(--w) * 1px); height: var(--h); overflow: hidden; }
.jgrid img { width: 100%; height: 100%; object-fit: cover; }

/* albums with filter */
.filter { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 20px; }
.filter button { border: 0; background: none; padding: 4px 12px; color: var(--title); cursor: pointer; font-weight: 600; }
.filter button.is-active, .filter button:hover { background: var(--accent); color: #fff; }
.albums__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.album { text-align: center; }
.album[hidden] { display: none; }
.album__cover { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.album__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.album__cover:hover img { transform: scale(1.05); }
.album__title { margin-top: 10px; color: var(--title); font: 600 15px/22px var(--head-font); }
.album__count { font-size: 12px; }

/* interactive banner */
.ibanner { position: relative; display: block; overflow: hidden; background: #fff; line-height: 0; margin-bottom: 30px; border: 1px solid #ececec; }
.ibanner img { width: 100%; transition: transform .5s, opacity .3s; }
.ibanner__ov { position: relative; padding: 7px 12px; line-height: 1.5; background: #494949; transition: background .3s; }
.ibanner__title { margin: 0; color: #fff; font: 600 13px/22px var(--body-font); display: flex; justify-content: center; align-items: center; gap: 10px; position: relative; }
.ibanner__title .i { position: absolute; right: 0; top: 4px; }
.ibanner:hover .ibanner__title .i { position: static; }
.ibanner__desc { margin: 0; max-height: 0; overflow: hidden; color: #fff; font-size: 13px; line-height: 20px; transition: max-height .4s, margin .3s; }
.ibanner:hover .ibanner__ov, .ibanner:focus .ibanner__ov { position: absolute; inset: 0; padding: 15px; background: rgba(30, 115, 190, .85); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.ibanner:hover .ibanner__title { font-size: 16px; }
.ibanner:hover .ibanner__desc, .ibanner:focus .ibanner__desc { max-height: 200px; margin-top: 8px; }
.ibanner:hover img { transform: scale(1.06); }
.ibanner__more { display: none; margin-top: 12px; padding: 4px 12px; background: #fff; color: #000; font-size: 12px; line-height: 20px; font-weight: 600; }
.ibanner:hover .ibanner__more, .ibanner:focus .ibanner__more { display: inline-block; }

/* info box, heading with icon, modal button */
.infobox { display: flex; align-items: center; gap: 18px; margin-bottom: 10px; }
.infobox__icon { flex: 0 0 40px; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--navy); color: #fff; font-size: 18px; }
.infobox__title { margin: 0; font-size: 17px; line-height: 26px; font-weight: 500; }
.infobox__text:empty { display: none; }
.uheading { text-align: center; margin-bottom: 20px; }
.uheading h3 { color: inherit; font-weight: 700; margin: 15px 0 20px; }
.uheading__sep { display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.uheading__line { width: 100px; border-top: 4px solid var(--navy); }
.uheading__sep i { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--navy); color: #fff; font-size: 20px; }
.uheading__sub { font-size: 16px; line-height: 26px; }
.uheading__sub strong { font-weight: 600; }
.modal-btn { text-align: center; }
.btn-modal { padding: 6px 12px; border: 2px outset; border-radius: 3px; color: #fff; font: 700 14px/21px Arial, Helvetica, sans-serif; cursor: pointer; transition: filter .2s; }
.btn-modal:hover { filter: brightness(1.12); }
.modal { width: min(640px, 92vw); max-height: 90vh; border: 0; padding: 30px; box-shadow: 0 10px 40px rgba(0, 0, 0, .3); }
.modal::backdrop { background: rgba(0, 0, 0, .8); }
.modal__close { position: absolute; top: 10px; right: 10px; border: 0; background: none; font-size: 20px; color: var(--title); cursor: pointer; }
.modal__title { margin-right: 30px; }

/* logos carousel, progress bars, testimonial, benefits */
/* logo carousel (Ultimate Addons carousel): fixed number of items per view, arrows outside, kept to the content width */
.carousel { position: relative; width: calc(100% - 2 * var(--pad)); max-width: 1162px; margin: 0 auto 35px; padding-bottom: 20px; }
.carousel__track { display: flex; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { flex: 0 0 calc(100% / var(--per)); padding: 0 15px; scroll-snap-align: start; text-align: center; }
.carousel__track img { max-height: 116px; width: auto; }
.carousel__btn { position: absolute; top: calc(50% - 20px); width: 22px; height: 22px; padding: 0; border: 0; background: none; color: #333; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.carousel__btn:hover { color: var(--accent); }
.carousel__btn--prev { left: -22px; }
.carousel__btn--next { right: -22px; }
.pbar { margin-bottom: 12px; }
.pbar__label { font-size: 12px; line-height: 20px; color: var(--title); }
.pbar__track { height: 10px; border: 1px solid #e4e4e4; background: #fff; }
.pbar__fill { height: 100%; background-color: var(--accent);
  background-image: linear-gradient(45deg, rgba(255, 255, 255, .25) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .25) 50%, rgba(255, 255, 255, .25) 75%, transparent 75%, transparent);
  background-size: 14px 14px; }
.testimonial { border: 1px solid #ececec; padding: 20px; }
.testimonial__text p:last-child { margin-bottom: 0; }
.testimonial__text a { color: var(--accent); }
.testimonial__author { display: flex; align-items: center; gap: 14px; margin-top: 15px; }
.testimonial__author img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.testimonial__author strong { display: block; color: var(--title); font-family: var(--head-font); }
.testimonial__author span { font-size: 12px; }
.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 40px; }
.benefit { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 12px; }
.benefit__icon { flex: 0 0 44px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 20px; }
.benefit h4 { font-size: 15px; line-height: 23px; margin-bottom: 4px; }
.benefit p { margin: 0; }

/* social icons in content */
.social { display: flex; gap: 6px; margin-bottom: 10px; }
.social p { display: flex; gap: 6px; margin: 0; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; }
.social a:hover { background: var(--navy); }
.social a .i { color: #fff; }

/* video thumbnails */
.video-thumb { position: relative; display: inline-block; line-height: 0; }
.video-thumb__play { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(0, 0, 0, .55);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; transition: background .2s; }
.video-thumb:hover .video-thumb__play { background: var(--accent); }
.video-thumb__play .i { color: #fff; margin-left: 3px; }

/* map loaded on request */
.map-consent { position: relative; display: flex; align-items: center; justify-content: center; background: #eef1f3; text-align: center; padding: 20px; }
.map-consent__box { max-width: 320px; font-size: 13px; line-height: 20px; }
.map-consent__box > .i { font-size: 30px; color: var(--accent); margin-bottom: 8px; }
.map-consent iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------------------------------------------------------------- slider (home) */
.slider { position: relative; height: 440px; overflow: hidden; background: #222; }
.slide { position: absolute; inset: 0; z-index: 0; background: center / cover no-repeat; opacity: 0; pointer-events: none; transition: opacity .8s; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; }
.slide.is-active { z-index: 1; opacity: 1; pointer-events: auto; }
.slide__shade { position: absolute; inset: 0; background: rgba(0, 0, 0, .12); }
.slide__text { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 70px; }
.slide__logo { width: 140px; margin-bottom: 4px; }
.slide__title { font: 800 56px/64px var(--body-font); letter-spacing: 1px; text-shadow: 0 2px 12px rgba(0, 0, 0, .45); }
.slide__sub { font: 600 32px/40px var(--body-font); text-shadow: 0 2px 10px rgba(0, 0, 0, .45); }
.slide:hover { color: #fff; }
.slider__nav { position: absolute; top: 50%; z-index: 3; width: 50px; height: 50px; margin-top: -25px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .5); color: #fff; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.slider__nav:hover { background: var(--accent); }
.slider__nav--prev { left: 20px; }
.slider__nav--next { right: 20px; }

/* ---------------------------------------------------------------- quote form */
.qform { color: var(--title); }
.qform__field { margin: 0 0 12px; }
.qform label { display: block; margin-bottom: 4px; font-size: 14px; }
.qform input[type=text], .qform input[type=email], .qform input[type=tel], .qform textarea {
  display: block; width: 100%; padding: 9px 12px; border: 1px solid rgba(58, 58, 58, .18); border-radius: 0; background: #fdfdfd; color: var(--title); font: 14px/20px var(--body-font); transition: border-color .2s; }
.qform input:focus, .qform textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.qform textarea { resize: vertical; min-height: 100px; }
.qform .is-invalid { border-color: #c62828 !important; }
.qform__err { display: block; margin-top: 3px; color: #c62828; font-size: 12px; line-height: 18px; }
.qform__privacy label { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 20px; color: var(--text); }
.qform__privacy input { margin-top: 3px; flex-shrink: 0; }
.qform__submit { margin: 15px 0 10px; }
.qform button[disabled] { opacity: .6; cursor: wait; }
.qform__msg:empty { display: none; }
.qform__msg { padding: 10px 14px; margin-bottom: 10px; border: 1px solid #c62828; color: #c62828; font-size: 13px; line-height: 20px; }
.qform__msg.is-ok { border-color: var(--green); color: #3e7a12; }

/* ---------------------------------------------------------------- legal pages */
.legal { max-width: 900px; }
.legal h3 { font-size: 18px; line-height: 24px; font-weight: 600; margin-top: 25px; }
.legal__updated { font-size: 12px; }
.legal__table th, .legal__table td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal__table th { color: var(--title); background: var(--stripe); }
.legal ul { padding-left: 18px; }
.simple { padding: 10px 0 30px; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: #20262a url(../img/footer-bg.gif) right bottom no-repeat; color: #999d9f; font-size: 13px; line-height: 22px; }
.footer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 60px; padding-top: 60px; padding-bottom: 60px; }
.footer__title { color: #fff; font: 600 15px/23px var(--head-font); margin-bottom: 15px; }
.footer__logo { float: left; margin: 0 12px 4px 0; opacity: .9; }
.footer__col p { margin-bottom: 12px; }
.site-footer a { color: #999d9f; }
.site-footer a:hover { color: #fff; }
.footer__col a[href^="mailto:"] { text-decoration: underline; }
.site-footer strong { color: #fff; font-weight: 400; }
.site-footer .btn { color: #fff; margin-top: 10px; }
.footer__gallery { display: grid; grid-template-columns: repeat(5, 64px); gap: 2px; }
.footer__gallery a { display: block; width: 64px; height: 64px; overflow: hidden; }
.footer__gallery img { width: 64px; height: 64px; object-fit: cover; transition: opacity .2s; }
.footer__gallery a:hover img { opacity: .7; }
.soc--footer a { background: rgba(255, 255, 255, .15); color: #fff; width: 26px; height: 26px; }
.soc--footer a:hover { background: var(--accent); }
.soc--footer a .i { color: #fff; }
.bottombar { background: #303135; color: #fff; font-size: 12px; line-height: 21px; }
.bottombar__in { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 60px; padding-top: 10px; padding-bottom: 10px; }
.bottombar a { color: #fff; }
.bottombar__links { display: flex; gap: 18px; flex-wrap: wrap; }
.to-top { position: fixed; right: 10px; bottom: 10px; z-index: 40; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .2); color: #fff; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s, background .2s; }
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--accent); color: #fff; }

/* ---------------------------------------------------------------- lightbox */
.lb { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .9); }
.lb[hidden] { display: none; }
.lb__stage { max-width: 92vw; max-height: 86vh; display: flex; align-items: center; justify-content: center; }
.lb__stage img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; box-shadow: 0 0 30px rgba(0, 0, 0, .5); }
.lb__video { width: min(960px, 92vw); aspect-ratio: 16 / 9; }
.lb__video iframe { width: 100%; height: 100%; border: 0; }
.lb__btn { position: absolute; border: 0; background: none; color: #fff; font-size: 26px; cursor: pointer; padding: 12px; opacity: .8; }
.lb__btn:hover { opacity: 1; }
.lb__close { top: 8px; right: 8px; }
.lb__prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb__count { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; color: #ccc; font-size: 12px; }

/* ---------------------------------------------------------------- cookie banner */
.cc { position: fixed; left: 20px; bottom: 20px; z-index: 900; width: 440px; max-width: calc(100vw - 40px); background: #fff; color: #444;
  border-radius: 6px; box-shadow: 0 6px 30px rgba(0, 0, 0, .22); padding: 18px 20px 16px; font-size: 13px; line-height: 20px; }
.cc[hidden] { display: none; }
.cc__title { margin: 0 0 6px; color: #212121; font-weight: 700; font-size: 15px; padding-right: 20px; }
.cc__text { margin: 0 0 12px; }
.cc__text a { text-decoration: underline; }
.cc__prefs { margin: 0 0 12px; padding: 10px 12px; background: #f5f7f9; border-radius: 4px; }
.cc__prefs[hidden] { display: none; }
.cc__opt { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0; }
.cc__opt input { margin-top: 3px; }
.cc__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.cc__btn { flex: 1 1 auto; padding: 8px 12px; border: 2px solid var(--accent); border-radius: 4px; background: var(--accent); color: #fff; font-weight: 600; font-size: 13px; cursor: pointer; }
.cc__btn:hover { background: var(--navy); border-color: var(--navy); }
.cc__btn--ghost { background: #fff; color: var(--accent); }
.cc__btn--ghost:hover { background: #eef5fb; color: var(--navy); }
.cc__btn[hidden] { display: none; }
.cc__close { position: absolute; top: 10px; right: 10px; border: 0; background: none; color: #888; cursor: pointer; font-size: 14px; padding: 4px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1200px) {
  .menu__item > a { padding: 0 10px; font-size: 14px; }
  .brand-logos img { width: 120px; }
}
@media (max-width: 1050px) {
  :root { --pad: 20px; --gutter: 30px; }
  .topbar { display: none; }
  .branding__in { min-height: 70px; justify-content: center; position: relative; }
  .logo img { width: 130px; }
  .brand-logos { display: none; }
  .nav-toggle { display: flex; position: absolute; left: var(--pad); top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--title); font-size: 24px; padding: 8px; cursor: pointer; }
  .nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(330px, 86vw); transform: translateX(100%); transition: transform .3s; overflow-y: auto; z-index: 960; box-shadow: none; }
  .nav-close { display: flex; align-self: flex-end; border: 0; background: none; color: #fff; font-size: 20px; padding: 6px; cursor: pointer; }
  .nav.is-open { transform: none; box-shadow: -10px 0 30px rgba(0, 0, 0, .3); }
  .nav__in { flex-direction: column; padding: 20px; }
  .nav.is-stuck .nav__logo, .nav__logo { display: none; }
  .menu { flex-direction: column; border: 0; }
  .menu__item { border: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; align-items: center; }
  .menu__item > a { height: auto; flex: 1; justify-content: flex-start; padding: 12px 0; }
  .menu__arrow { display: none; }
  .sub-toggle { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; background: none; color: #fff; cursor: pointer; }
  .sub-toggle[aria-expanded=true] .i { transform: rotate(180deg); }
  .menu__item > a::before { display: none; }
  .menu__item:hover > a, .menu__item:focus-within > a { background: none; }
  .menu__item:hover > .sub, .menu__item:focus-within > .sub { display: none; }
  .sub { position: static; width: 100%; box-shadow: none; padding: 0 0 10px 10px; background: none; }
  .menu__item.is-open > .sub { display: block; }
  .sub li { padding: 0; }
  .sub a { margin: 0; padding: 7px 10px; font: 400 14px/20px var(--body-font); }
  .nav__mobile-extra { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
  .nav__mobile-extra a { color: #fff; }
  .nav-backdrop { position: fixed; inset: 0; z-index: 950; background: rgba(0, 0, 0, .4); }
  .page-title__in { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; }
  .slider { height: 320px; }
  .slide__title { font-size: 36px; line-height: 44px; }
  .slide__sub { font-size: 22px; line-height: 30px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .carousel__track > * { flex-basis: calc(100% / var(--per-t)); }
}
@media (max-width: 778px) {
  .grid { row-gap: 0; }
  .grid > .col { grid-column: span 12; }
  .grid--inner > .w-2, .grid--inner > .w-3 { grid-column: span 6; }
  .carousel__track > * { flex-basis: calc(100% / var(--per-m)); padding: 0 8px; }
  .benefits { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: flex-start; gap: 15px; }
  .footer__grid { grid-template-columns: 1fr; gap: 35px; padding-top: 45px; padding-bottom: 45px; }
  .bottombar__in { flex-direction: column; align-items: flex-start; }
  .slider { height: 260px; }
  .slide__title { font-size: 26px; line-height: 32px; }
  .slide__sub { font-size: 17px; line-height: 24px; }
  .slide__logo { width: 100px; }
  .slider__nav { width: 38px; height: 38px; margin-top: -19px; }
  .fancy-header { min-height: 200px; }
  .fancy-header__title { font-size: 28px; line-height: 36px; }
  .fancy-header__sub { font-size: 18px; line-height: 24px; }
  .vrow--fixed { background-attachment: scroll; }
  .content .vrow[style*="margin-top:-"] { margin-top: 0 !important; }
  .cc { left: 10px; right: 10px; bottom: 10px; width: auto; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* the last band of a page (call to action stripe, full-width photo strip) touches the footer, as in the old theme */
.content > .vrow--stripe:last-child, .content > .vrow--full:last-child { margin-bottom: -50px; }
