/* Hosting and Support page: what is this page's own in the opening and under "Support".
   Everything else comes from the service page template (business-websites-page.css), which also explains the terms:
   fx, fy: the place a note is about, as a share of its picture's width and height. run: how far to the side of that place the note
   stands (positive: to its left). gap: how far outside the picture. at: how far along the note's edge the line leaves it.
   n: the order the notes arrive in. The places in the client website are the ones hosting_pictures.py prints when it captures it;
   the places in the two photographs were read off the prepared pictures. */

/* Two of the three windows in the opening are photographs of our own rooms, not websites:
   they carry no browser bar, and the notes above them measure from the top of the photograph. */
#Form #bw_top :is([data-qs-node="bw_stage_front_shot"], [data-qs-node="bw_stage_mid_shot"]) { padding-top: 0; }
#Form #bw_top :is([data-qs-node="bw_stage_front_shot"], [data-qs-node="bw_stage_mid_shot"])::after { content: none; }
#Form #bw_top :is([data-qs-node="bw_stage_front"], [data-qs-node="bw_stage_mid"]) [data-qs-role="bw-call"] { --bw-bar: 0px; }

/* Applied Materials & Engineering, behind and top right: its menu, the button to its client platform, and the banner picture.
   The last note stands in the open space on the right, clear of the photograph in front. */
#Form #bw_top [data-qs-node="bw_call_dnn"] { --bw-fx: .292; --bw-fy: .025; --bw-run: 14cqw; --bw-at: .5; --bw-n: 2; }
#Form #bw_top [data-qs-node="bw_call_since"] { --bw-fx: .945; --bw-fy: .061; --bw-run: 20cqw; --bw-gap: 12cqw; --bw-at: .5; --bw-n: 3; }
#Form #bw_top [data-qs-node="bw_call_content"] { --bw-fx: .93; --bw-fy: .55; --bw-run: 9cqw; --bw-gap: 14cqw; --bw-at: .3; --bw-n: 7; }
/* The network racks, in front. Two notes reach into the open space top left on long lines: one to the unit at the head of the first
   rack, one to the patch cables of the second. The third points at the units at the foot of the last rack. */
#Form #bw_top [data-qs-node="bw_call_equipment"] { --bw-fx: .24; --bw-fy: .16; --bw-run: 26cqw; --bw-gap: 6cqw; --bw-at: .82; --bw-n: 0; }
#Form #bw_top [data-qs-node="bw_call_center"] { --bw-fx: .50; --bw-fy: .24; --bw-run: 43cqw; --bw-gap: 20cqw; --bw-at: .82; --bw-n: 1; }
#Form #bw_top [data-qs-node="bw_call_miami"] { --bw-fx: .84; --bw-fy: .76; --bw-run: -4cqw; --bw-at: .22; --bw-n: 6; }
/* The console floor, behind and bottom left: the team member at the consoles, and the server cabinet on the right. */
#Form #bw_top [data-qs-node="bw_call_phone"] { --bw-fx: .28; --bw-fy: .72; --bw-run: -10cqw; --bw-at: .18; --bw-n: 4; }
#Form #bw_top [data-qs-node="bw_call_team"] { --bw-fx: .93; --bw-fy: .70; --bw-run: -15cqw; --bw-at: .18; --bw-n: 5; }
/* These stand below their picture, and their lines run up. */
#Form #bw_top :is([data-qs-node="bw_call_miami"], [data-qs-node="bw_call_phone"], [data-qs-node="bw_call_team"], [data-qs-node="bw_call_content"]) {
  top: calc(100% + var(--bw-gap)); bottom: auto;
  --bw-rise: calc(-1 * (var(--bw-gap) + (1 - var(--bw-fy)) * var(--bw-pic)));
}
#Form #bw_top :is([data-qs-node="bw_call_miami"], [data-qs-node="bw_call_phone"], [data-qs-node="bw_call_team"], [data-qs-node="bw_call_content"])::after { top: 0; }
/* Where the windows are small, fewer notes are shown so that none touch. */
@container bw-opening (max-width: 560px) {
  #Form #bw_top :is([data-qs-node="bw_call_equipment"], [data-qs-node="bw_call_dnn"]) { display: none; }
}
@container bw-opening (max-width: 450px) {
  #Form #bw_top [data-qs-role="bw-call"] { font-size: 11px; padding: 6px 8px; }
  #Form #bw_top [data-qs-node="bw_call_content"] { display: none; }
  /* On a phone the labels are kept inside the screen and apart from each other. */
  #Form #bw_top [data-qs-node="bw_call_center"] { --bw-run: 62cqw; --bw-at: .3; }
  #Form #bw_top [data-qs-node="bw_call_phone"] { --bw-run: -2cqw; --bw-at: .3; }
}
/* Three client websites fit side by side on a wide screen, so the rail has nowhere to move. Its controls are then marked hidden;
   the shared stylesheet lays them out as a row all the same, which showed two buttons that do nothing. */
#bw_work .bw-rail-controls[hidden] { display: none; }
