/*
 * The base under prosecco.css and prosecco-app.css: the reset, the type, the 12-column grid (.grid, .span-*,
 * .lg-span-*), the form fields and the few moving parts of the pages: the pop-up menus (.drop), the tabs, the
 * questions and answers, the Premium tour slider and the collapsing phone menu. Their behaviour is js/ui.js.
 * The two stylesheets loaded after this one set the look, so a plain selector there wins over this base.
 */

/* ---- Reset ---- */
*,
::after,
::before {
  box-sizing: border-box;
}
@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
hr {
  margin: 1rem 0;
  color: inherit;
  border: 0;
  border-top: 1px solid;
  opacity: 0.25;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}
.h1, h1 { font-size: calc(1.375rem + 1.5vw); }
.h2, h2 { font-size: calc(1.325rem + 0.9vw); }
.h3, h3 { font-size: calc(1.3rem + 0.6vw); }
.h4, h4 { font-size: calc(1.275rem + 0.3vw); }
@media (min-width: 1200px) {
  .h1, h1 { font-size: 2.5rem; }
  .h2, h2 { font-size: 2rem; }
  .h3, h3 { font-size: 1.75rem; }
  .h4, h4 { font-size: 1.5rem; }
}
.h5, h5 { font-size: 1.25rem; }
.h6, h6 { font-size: 1rem; }
p {
  margin-top: 0;
  margin-bottom: 1rem;
}
abbr[title] {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
  cursor: help;
}
address {
  margin-bottom: 1rem;
  font-style: normal;
  line-height: inherit;
}
ol, ul {
  padding-left: 2rem;
}
dl, ol, ul {
  margin-top: 0;
  margin-bottom: 1rem;
}
ol ol, ol ul, ul ol, ul ul {
  margin-bottom: 0;
}
dt { font-weight: 700; }
dd {
  margin-bottom: 0.5rem;
  margin-left: 0;
}
blockquote { margin: 0 0 1rem; }
b, strong { font-weight: bolder; }
.small, small { font-size: 0.875em; }
mark {
  padding: 0.1875em;
  background-color: #fff3cd;
}
sub, sup {
  position: relative;
  font-size: 0.75em;
  line-height: 0;
  vertical-align: baseline;
}
sub { bottom: -0.25em; }
sup { top: -0.5em; }
a {
  color: #0d6efd;
  text-decoration: underline;
}
a:hover {
  color: #0a58ca;
}
a:not([href]):not([class]),
a:not([href]):not([class]):hover {
  color: inherit;
  text-decoration: none;
}
code, kbd, pre, samp {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 1em;
}
pre {
  display: block;
  margin-top: 0;
  margin-bottom: 1rem;
  overflow: auto;
  font-size: 0.875em;
}
code {
  font-size: 0.875em;
  color: #d63384;
  word-wrap: break-word;
}
a > code { color: inherit; }
kbd {
  padding: 0.1875rem 0.375rem;
  font-size: 0.875em;
  color: #fff;
  background-color: #212529;
  border-radius: 0.25rem;
}
figure { margin: 0 0 1rem; }
img, svg { vertical-align: middle; }
table {
  caption-side: bottom;
  border-collapse: collapse;
}
th {
  text-align: inherit;
  text-align: -webkit-match-parent;
}
tbody, td, tfoot, th, thead, tr {
  border-color: inherit;
  border-style: solid;
  border-width: 0;
}
label { display: inline-block; }
button { border-radius: 0; }
button:focus:not(:focus-visible) { outline: 0; }
button, input, optgroup, select, textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}
button, select { text-transform: none; }
[role=button] { cursor: pointer; }
select { word-wrap: normal; }
select:disabled { opacity: 1; }
[type=button], [type=reset], [type=submit], button {
  -webkit-appearance: button;
}
[type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled) {
  cursor: pointer;
}
textarea { resize: vertical; }
fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}
legend {
  float: left;
  width: 100%;
  padding: 0;
  margin-bottom: 0.5rem;
  font-size: calc(1.275rem + 0.3vw);
  line-height: inherit;
}
@media (min-width: 1200px) {
  legend { font-size: 1.5rem; }
}
legend + * { clear: left; }
::-webkit-inner-spin-button { height: auto; }
[type=search] {
  outline-offset: -2px;
  -webkit-appearance: textfield;
}
::-webkit-search-decoration { -webkit-appearance: none; }
::-webkit-color-swatch-wrapper { padding: 0; }
::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button;
}
::file-selector-button {
  font: inherit;
  -webkit-appearance: button;
}
output { display: inline-block; }
iframe { border: 0; }
summary {
  display: list-item;
  cursor: pointer;
}
progress { vertical-align: baseline; }
[hidden] { display: none !important; }
.lead {
  font-size: 1.25rem;
  font-weight: 300;
}

/* ---- Layout: the page width and a 12-column grid ---- */
/* prosecco.css sets the width (--container-width) */
.container,
.container-full {
  width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
  margin-right: auto;
  margin-left: auto;
}
/*
 * A .grid has 12 columns with a 1.5rem gap between them (0 between lines, 1.5rem with .grid-gap). An item spans the
 * 12 columns unless it says otherwise: .span-6 and .span-12 always, .lg-span-N from 992px.
 */
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 1.5rem;
  row-gap: 0;
}
/* the gap above the first line too, taken back by the grid's own margin: a margin class on the grid (top-xs) then
   adds to the gap instead of replacing it, as the pages are laid out */
.grid.grid-gap {
  row-gap: 1.5rem;
  margin-top: -1.5rem;
  padding-top: 1.5rem;
}
.grid > * { grid-column: span 12; }
.grid > .span-6 { grid-column: span 6; }
.grid > .span-12 { grid-column: span 12; }
@media (min-width: 992px) {
  .grid > .lg-span-2 { grid-column: span 2; }
  .grid > .lg-span-3 { grid-column: span 3; }
  .grid > .lg-span-4 { grid-column: span 4; }
  .grid > .lg-span-5 { grid-column: span 5; }
  .grid > .lg-span-6 { grid-column: span 6; }
  .grid > .lg-span-7 { grid-column: span 7; }
  .grid > .lg-span-8 { grid-column: span 8; }
}
/* the questionnaire's tab strip runs into the page's side margins */
.tabs-bleed {
  margin-right: -0.75rem;
  margin-left: -0.75rem;
}

/* ---- Form fields ---- */
.control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.control[type=file] { overflow: hidden; }
.control[type=file]:not(:disabled):not([readonly]) { cursor: pointer; }
.control:focus {
  color: #212529;
  background-color: #fff;
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
.control::-webkit-date-and-time-value { height: 1.5em; }
.control::placeholder {
  color: #6c757d;
  opacity: 1;
}
.control:disabled {
  background-color: #e9ecef;
  opacity: 1;
}
.control::file-selector-button {
  padding: 0.375rem 0.75rem;
  margin: -0.375rem -0.75rem;
  margin-inline-end: 0.75rem;
  color: #212529;
  background-color: #e9ecef;
  pointer-events: none;
  border-color: inherit;
  border-style: solid;
  border-width: 0;
  border-inline-end-width: 1px;
  border-radius: 0;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.control:hover:not(:disabled):not([readonly])::file-selector-button { background-color: #dde0e3; }
textarea.control { min-height: calc(1.5em + 0.75rem + 2px); }
/* a field with a label or a button stuck to it */
.input-row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
}
.input-row > .control {
  position: relative;
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
}
.input-row > .control:focus { z-index: 5; }
.input-addon {
  display: flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: center;
  white-space: nowrap;
  background-color: #e9ecef;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
}
.input-row-lg > .control,
.input-row-lg > .input-addon {
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  border-radius: 0.5rem;
}
.input-row:not(.has-validation) > :not(:last-child):not(.drop-menu) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.input-row > :not(:first-child):not(.drop-menu) {
  margin-left: -1px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
/* the select boxes (prosecco.css styles them) */
.picker { position: relative; }

/* ---- Opening and closing (js/ui.js): the phone menu, the questions and answers, the tabs ---- */
.collapsible:not(.is-open) { display: none; }
.is-moving {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}
.tab-panels > .tab-panel { display: none; }
.tab-panels > .active {
  display: block;
  animation: fade-in 0.15s linear;
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---- Pop-up menus (the language and account menus) ---- */
.drop { position: relative; }
.drop-toggle { white-space: nowrap; }
.drop-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}
.drop-toggle:empty::after { margin-left: 0; }
.drop-menu {
  position: absolute;
  z-index: 1000;
  display: none;
  top: 100%;
  left: 0;
  min-width: 10rem;
  padding: 0.5rem 0;
  margin: 0.125rem 0 0;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.175);
  border-radius: 0.375rem;
}
.drop-menu-end {
  right: 0;
  left: auto;
}
.drop-menu.is-open { display: block; }
.drop-divider {
  height: 0;
  margin: 0.5rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.175);
  opacity: 1;
}
.drop-item {
  display: block;
  width: 100%;
  padding: 0.25rem 1rem;
  clear: both;
  font-weight: 400;
  color: #212529;
  text-align: inherit;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
}
.drop-item:focus,
.drop-item:hover {
  color: #1e2125;
  background-color: #e9ecef;
}
.drop-item.active,
.drop-item:active {
  color: #fff;
  text-decoration: none;
  background-color: #0d6efd;
}
.drop-item.disabled,
.drop-item:disabled {
  color: #adb5bd;
  pointer-events: none;
  background-color: transparent;
}
.drop-header {
  display: block;
  padding: 0.5rem 1rem;
  margin-bottom: 0;
  font-size: 0.875rem;
  color: #6c757d;
  white-space: nowrap;
}

/* ---- Tabs ---- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
  border-bottom: 1px solid #dee2e6;
}
.tab {
  display: block;
  padding: 0.5rem 1rem;
  color: #0d6efd;
  text-decoration: none;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}
.tab:focus,
.tab:hover { color: #0a58ca; }
.tabs .tab {
  margin-bottom: -1px;
  background: 0 0;
  border: 1px solid transparent;
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
}
.tabs .tab:focus,
.tabs .tab:hover {
  isolation: isolate;
  border-color: #e9ecef #e9ecef #dee2e6;
}
.tabs .tab.disabled,
.tabs .tab:disabled {
  color: #6c757d;
  background-color: transparent;
  border-color: transparent;
}
.tabs .tab.active {
  color: #495057;
  background-color: #fff;
  border-color: #dee2e6 #dee2e6 #fff;
}

/* ---- The top bar and its menu, which folds under a button below 992px ---- */
.topbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
}
.topbar > .container,
.topbar > .container-full {
  display: flex;
  flex-wrap: inherit;
  align-items: center;
  justify-content: space-between;
}
.brand {
  padding-top: 0.3125rem;
  padding-bottom: 0.3125rem;
  margin-right: 1rem;
  font-size: 1.25rem;
  color: rgba(0, 0, 0, 0.9);
  text-decoration: none;
  white-space: nowrap;
}
.brand:focus,
.brand:hover { color: rgba(0, 0, 0, 0.9); }
.topbar-links {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}
.topbar-link {
  display: block;
  text-decoration: none;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}
.topbar-links .topbar-link {
  padding: 0.5rem 0;
  color: rgba(0, 0, 0, 0.55);
}
.topbar-links .topbar-link:focus,
.topbar-links .topbar-link:hover { color: rgba(0, 0, 0, 0.7); }
.topbar-links .topbar-link.active { color: rgba(0, 0, 0, 0.9); }
.topbar-links .drop-menu { position: static; }
.topbar-menu {
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center;
}
.menu-button {
  padding: 0.25rem 0.75rem;
  font-size: 1.25rem;
  line-height: 1;
  color: rgba(0, 0, 0, 0.55);
  background-color: transparent;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.375rem;
  transition: box-shadow 0.15s ease-in-out;
}
.menu-button:hover { text-decoration: none; }
.menu-button:focus {
  text-decoration: none;
  outline: 0;
  box-shadow: 0 0 0 0.25rem;
}
.menu-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}
@media (min-width: 992px) {
  .topbar {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .topbar .topbar-links { flex-direction: row; }
  .topbar .topbar-links .drop-menu { position: absolute; }
  .topbar .topbar-links .topbar-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
  .topbar .topbar-menu {
    display: flex !important;
    flex-basis: auto;
  }
  .topbar .menu-button { display: none; }
}

/* ---- Card titles (a card here is a ProSecCo block: the title has no margin of its own) ---- */
.card-title { margin-bottom: 0; }
.card-subtitle { margin-bottom: 0; }

/* ---- Questions and answers ---- */
.faq-question {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  background-color: #fff;
  border: 0;
  border-radius: 0;
  overflow-anchor: none;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, border-radius 0.15s ease;
}
.faq-question:not(.is-collapsed) {
  color: #0c63e4;
  background-color: #e7f1ff;
  box-shadow: inset 0 -1px 0 #dee2e6;
}
.faq-question:not(.is-collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(-180deg);
}
.faq-question::after {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-left: auto;
  content: "";
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-size: 1.25rem;
  transition: transform 0.2s ease-in-out;
}
.faq-question:hover { z-index: 2; }
.faq-question:focus {
  z-index: 3;
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
.faq-heading { margin-bottom: 0; }
.faq-item {
  color: #212529;
  background-color: #fff;
  border: 1px solid #dee2e6;
}
.faq-item:first-of-type {
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
}
.faq-item:first-of-type .faq-question {
  border-top-left-radius: calc(0.375rem - 1px);
  border-top-right-radius: calc(0.375rem - 1px);
}
.faq-item:not(:first-of-type) { border-top: 0; }
.faq-item:last-of-type {
  border-bottom-right-radius: 0.375rem;
  border-bottom-left-radius: 0.375rem;
}
.faq-item:last-of-type .faq-question.is-collapsed {
  border-bottom-right-radius: calc(0.375rem - 1px);
  border-bottom-left-radius: calc(0.375rem - 1px);
}
.faq-item:last-of-type .faq-panel {
  border-bottom-right-radius: 0.375rem;
  border-bottom-left-radius: 0.375rem;
}
.faq-answer { padding: 1rem 1.25rem; }

/* ---- Badge ---- */
.badge {
  display: inline-block;
  padding: 0.35em 0.65em;
  font-size: 0.75em;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.375rem;
}
.badge:empty { display: none; }

/* ---- Slider (the Premium tour, js/ui.js) ---- */
.slider {
  position: relative;
  touch-action: pan-y;
}
.slider-track {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.slider-track::after {
  display: block;
  clear: both;
  content: "";
}
.slider-item {
  position: relative;
  display: none;
  float: left;
  width: 100%;
  margin-right: -100%;
  backface-visibility: hidden;
  transition: transform 0.6s ease-in-out;
}
/* during a move: the next slide waits beside the current one, then both slide over */
.slider-item.active,
.slider-item.is-next,
.slider-item.is-prev { display: block; }
.slider-item.is-next:not(.to-start),
.slider-item.active.to-end { transform: translateX(100%); }
.slider-item.is-prev:not(.to-end),
.slider-item.active.to-start { transform: translateX(-100%); }
.slider-prev,
.slider-next {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15%;
  padding: 0;
  color: #fff;
  text-align: center;
  background: 0 0;
  border: 0;
  opacity: 0.5;
  transition: opacity 0.15s ease;
}
.slider-prev:focus,
.slider-prev:hover,
.slider-next:focus,
.slider-next:hover {
  color: #fff;
  text-decoration: none;
  outline: 0;
  opacity: 0.9;
}
.slider-prev { left: 0; }
.slider-next { right: 0; }
.slider-dots {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 0;
  margin-right: 15%;
  margin-bottom: 1rem;
  margin-left: 15%;
  list-style: none;
}
.slider-dots [data-slide-to] {
  box-sizing: content-box;
  flex: 0 1 auto;
  width: 30px;
  height: 3px;
  padding: 0;
  margin-right: 3px;
  margin-left: 3px;
  text-indent: -999px;
  cursor: pointer;
  background-color: #fff;
  background-clip: padding-box;
  border: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  opacity: 0.5;
  transition: opacity 0.6s ease;
}
.slider-dots .active { opacity: 1; }

/* ---- Motion: none when the visitor asks for less ---- */
@media (prefers-reduced-motion: reduce) {
  .control,
  .control::file-selector-button,
  .is-moving,
  .tab,
  .topbar-link,
  .menu-button,
  .faq-question,
  .faq-question::after,
  .slider-item,
  .slider-prev,
  .slider-next,
  .slider-dots [data-slide-to] { transition: none; }
  .tab-panels > .active { animation: none; }
}

/* ---- Helpers ---- */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.fill-height { height: 100% !important; }
.fit-height { height: auto !important; }
.flush-top { margin-top: 0 !important; }
.top-xs { margin-top: 0.25rem !important; }
.top-md { margin-top: 1rem !important; }
.top-lg { margin-top: 1.5rem !important; }
.flush-bottom { margin-bottom: 0 !important; }
.bottom-sm { margin-bottom: 0.5rem !important; }
.bottom-lg { margin-bottom: 1.5rem !important; }
.push-end { margin-left: auto !important; }
.text-on-dark { color: #fff !important; }
@media (min-width: 992px) {
  .lg-center { align-items: center !important; }
  .lg-push-end { margin-left: auto !important; }
}
