/*
 * This file contains overrides to Bootstrap styles.
 *
 * Each override must be justified and explained with a comment.
 */

/* set CircularXX as the basic sans serif font */
@font-face { font-weight: 300; font-family: 'CircularXX-Web'; src: url("/fonts/66ba0780bf98e604403abbdf_CircularXX-Light.otf") format('opentype') }
@font-face { font-weight: 400; font-family: 'CircularXX-Web'; src: url("/fonts/66ba0780eca7497b7d257132_CircularXX-Book.otf") format('opentype') }
@font-face { font-weight: 500; font-family: 'CircularXX-Web'; src: url("/fonts/66ba078013f514e188adb1f6_CircularXX-Medium.otf") format('opentype') }
@font-face { font-weight: 700; font-family: 'CircularXX-Web'; src: url("/fonts/66ba0780f9939310fc9f102b_CircularXX-Bold.otf") format('opentype') }
:root {--bs-font-sans-serif: 'CircularXX-Web'}

/* Hide "See more" after it's been clicked on */
[data-bs-toggle="collapse"][aria-expanded="true"] { visibility: hidden }

/* reduce space between title and subtitle */
hgroup p { margin-bottom: 0.5rem }

/* only display the textarea under the "Other" radio button when the button is checked */
label:has(input[type=radio]) textarea { display: none !important; }
label:has(input[type=radio]:checked) textarea { display: block !important; }

/* remove new lines after the last paragraph of a bubble to keep more aligned with the bubble */
.bg-gradient p:last-child { margin-bottom: 0 }

/* Fixes bugs in Bootstrap 6.0@alpha1 where --bs-gap is undefined */
:root {--bs-gap: 1rem}
.check { min-width: var(--bs-gap)}

/* Ensures multi-select enhanced with Tom Select keep the same style as Bootstrap for fields */
.ts-wrapper.plugin-remove_button .item { background: var(--bs-primary-bg-subtle); padding-left: 0.5rem; padding-right: 0.5rem; margin-right: 1rem }
.ts-wrapper input, .ts-wrapper input:focus { border: none; outline: none; background-color: var(--bs-control-bg) }
/* Center placeholder in the places search */
[data-controller="places"] input::placeholder { text-align: center }
