/* British Quilt & Stitch Village: new design.
   Almost all styling is written on the elements themselves; this file holds the
   few things that can't be (pictures used as backgrounds) and undoes the
   theme's own rules inside the new pages. */

body.bqsv-page { margin: 0; padding: 0; background: #F7F1E1; }

/* Undo the theme (Divi) inside the new design */
.bqsv, .bqsv *, .bqsv *::before, .bqsv *::after { box-sizing: content-box; }
.bqsv h1, .bqsv h2, .bqsv h3 { font-family: inherit; font-weight: 700; line-height: inherit; color: inherit; padding: 0; }
.bqsv p { padding: 0; }
.bqsv figure { padding: 0; }
.bqsv ul, .bqsv ol { padding: 0; line-height: inherit; }
.bqsv a { color: #1B4B94; text-decoration: underline; }
.bqsv a:hover { color: #A8402B; }
.bqsv img { max-width: 100%; }
.bqsv strong { font-weight: 700; }
.bqsv main { display: block; }
.bqsv iframe { max-width: 100%; }

/* Bunting and the village street */
.qsv-bunting { background: url(../img/bunting.svg) repeat-x center top / 560px 70px; }
.qsv-bunting-sm { background: url(../img/bunting.svg) repeat-x center top / 352px 44px; }
.qsv-houses { background: url(../img/houses.svg) repeat-x center bottom / 1028px 112px; }

/* The exhibitor list (GS Exhibitor Directory) in the Village colours */
.bqsv .gsex-directory, .bqsv .gsex-directory *, .bqsv .gsex-directory *::before, .bqsv .gsex-directory *::after { box-sizing: border-box; }
.bqsv .gsex-directory { --gsex-accent: #1B4B94 !important; --gsex-head: 'Archivo Narrow', Arial, sans-serif; margin: 0; }
.bqsv .gsex-directory a { text-decoration: none; }
.bqsv .gsex-directory .gsex-name { font-family: 'Archivo Narrow', Arial, sans-serif; font-weight: 700; color: #1B4B94; line-height: 1.2; }
.bqsv .gsex-directory p { margin: 0 0 20px; }

/* The old shop's floating basket is not part of the new design */
body.bqsv-page #woofc-area, body.bqsv-page #woofc-count, body.bqsv-page .woofc-overlay { display: none !important; }

/* "Our other shows" scrolling bar: pauses under the mouse or keyboard, and stands still for visitors who ask for less motion */
.bqsv .qsv-shows-track{animation:qsv-shows 80s linear infinite}
.bqsv .qsv-shows:hover .qsv-shows-track,.bqsv .qsv-shows:focus-within .qsv-shows-track{animation-play-state:paused}
.bqsv .qsv-shows a:hover strong,.bqsv .qsv-shows a:focus strong{text-decoration:underline}
@keyframes qsv-shows{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.bqsv .qsv-shows-track{animation:none}.bqsv .qsv-shows-track li[aria-hidden]{display:none}.bqsv .qsv-shows-view{overflow-x:auto !important}}
