/* Freewheeling Booking: the bar at the foot of a tour page.
 * Every rule starts with .fwtb or body.fwtb-on, so nothing else on the site is touched. Flat: no gradients, no shadows.
 * The bar is whole without its script; the script only opens the dates section and steps the bar aside while that
 * section is on screen.
 */
.fwtb{position:fixed;left:0;right:0;bottom:0;z-index:900;box-sizing:border-box;margin:0;padding:10px 20px calc(10px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid #d7dfe7;color:#22303c;font-size:15px;line-height:1.35;text-align:left}
.fwtb *{box-sizing:border-box}
.fwtb .fwtb-in{display:flex;align-items:center;gap:24px;max-width:1140px;margin:0 auto}
.fwtb p{margin:0;padding:0;font-size:inherit;line-height:inherit;color:inherit}
.fwtb .fwtb-what{flex:1 1 auto;min-width:0;display:flex;flex-direction:column}
.fwtb .fwtb-name{font-weight:600;color:#22303c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fwtb .fwtb-len{font-size:13px;color:#5d6b78}
.fwtb .fwtb-prices{flex:0 0 auto;white-space:nowrap;text-align:right}
.fwtb .fwtb-price + .fwtb-price{margin-left:20px}
.fwtb .fwtb-level{font-size:13px;color:#5d6b78}
.fwtb .fwtb-amount,.fwtb .fwtb-amount .amount,.fwtb .fwtb-amount bdi,.fwtb .fwtb-amount span{font-size:17px;font-weight:700;color:#22303c}
.fwtb .fwtb-per{margin-left:6px;font-size:13px;color:#5d6b78}
.fwtb .fwtb-short,.fwtb .fwtb-per2{display:none}
.fwtb abbr.fwtb-short{text-decoration:none;border:0;cursor:default}
.fwtb a.fwtb-go{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 24px;border:0;border-radius:6px;background:#186dad;color:#fff;font-size:15px;font-weight:600;line-height:1.2;text-decoration:none;text-transform:none;letter-spacing:0;white-space:nowrap}
.fwtb a.fwtb-go:hover,.fwtb a.fwtb-go:focus,.fwtb a.fwtb-go:active{background:#125a90;color:#fff;text-decoration:none}
.fwtb a.fwtb-go:focus-visible{outline:3px solid #9cc7e8;outline-offset:2px}

/* Room under the page for the bar, so the foot of the site is never covered. */
body.fwtb-on{padding-bottom:var(--fwtb-h,68px)}
/* A dialog the page opens has the screen to itself. */
body.fwtb-on.modal-open .fwtb{display:none}

/* 1.19.16: "Dates" is the phone's short button label; computers keep "Dates and prices". */
.fwtb .fwtb-go-short{display:none}
@media (max-width:991px){
    .fwtb .fwtb-name{display:none}
    .fwtb .fwtb-what{flex:0 0 auto}
    .fwtb .fwtb-prices{flex:1 1 auto;text-align:left}
}
@media (max-width:767px){
    .fwtb{padding-left:14px;padding-right:14px}
    .fwtb .fwtb-in{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"money go" "what go";column-gap:12px;row-gap:1px;align-items:center}
    .fwtb .fwtb-prices{grid-area:money;white-space:normal}
    .fwtb .fwtb-what{grid-area:what}
    .fwtb a.fwtb-go{grid-area:go;padding:0 16px}
    /* 1.19.8: every level on a phone too, by its initials (SG, G, SD, as the dates block's badges); never "From".
       The second line: "per person, all-in · 6 days". */
    .fwtb .fwtb-prices{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    .fwtb .fwtb-price + .fwtb-price{margin-left:12px}
    .fwtb .fwtb-prices:not(.fwtb-one) .fwtb-full{display:none}
    .fwtb .fwtb-prices:not(.fwtb-one) .fwtb-short{display:inline;font-weight:600;color:#5d6b78}
    .fwtb .fwtb-amount,.fwtb .fwtb-amount .amount,.fwtb .fwtb-amount bdi,.fwtb .fwtb-amount span{font-size:16px}
    .fwtb .fwtb-per{display:none}
    .fwtb .fwtb-what{flex-direction:row;flex-wrap:wrap;font-size:13px;color:#5d6b78}
    .fwtb .fwtb-per2{display:inline;font-size:13px;color:#5d6b78}
    .fwtb .fwtb-per2 + .fwtb-len::before{content:"\00a0·\00a0"}
    /* 1.19.15: three levels did not fit beside the button at 390px ("SD C …"); the prices wrap a level at a time
       instead of being cut, each level kept whole with its price. */
    .fwtb .fwtb-prices{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.3}
    .fwtb .fwtb-price{display:inline-block;white-space:nowrap;margin-right:12px}
    .fwtb .fwtb-price + .fwtb-price{margin-left:0}
    .fwtb .fwtb-price:last-child{margin-right:0}
    /* 1.19.15: no price to show: the length sits level with the button, not under an empty line. */
    .fwtb .fwtb-in:not(:has(.fwtb-prices)){grid-template-areas:"what go"}
    /* 1.19.16 (owner: "Yes, try it"): the button reads "Dates" on a phone (its full name stays for screen readers). */
    .fwtb .fwtb-go-full{display:none}
    .fwtb .fwtb-go-short{display:inline}
    /* 1.19.16: three levels on one line, "G C 3995 · SG C 3555 · SD C 2995", nearer the size of the line under them;
       one and two levels keep their size. */
    .fwtb .fwtb-three .fwtb-price{margin-right:0}
    .fwtb .fwtb-three .fwtb-price + .fwtb-price::before{content:"\00b7";margin:0 5px;font-weight:400;color:#8a97a3}
    .fwtb .fwtb-three .fwtb-amount,.fwtb .fwtb-three .fwtb-amount .amount,.fwtb .fwtb-three .fwtb-amount bdi,.fwtb .fwtb-three .fwtb-amount span{font-size:14px}
    .fwtb .fwtb-three .fwtb-short{font-size:12.5px}
}
/* 1.19.16: on the narrowest phones the three wrap a level at a time, without the dots, nothing cut or scrolled. */
@media (max-width:359px){
    .fwtb .fwtb-three .fwtb-price + .fwtb-price::before{content:none}
    .fwtb .fwtb-three .fwtb-price{margin-right:10px}
    .fwtb .fwtb-three .fwtb-price:last-child{margin-right:0}
}
@media print{
    .fwtb{display:none}
    body.fwtb-on{padding-bottom:0}
}
