/* Loaded by the contest interface ($config->contestInterface->extraStylesheet).
   Only styles the "Practice Library" header button that practice mode adds. */
.qb_library button { white-space: nowrap; }
td.qb_library { width: 1%; }

/* [local] Return link to the TweetKod Bebras Pilot portal, in the entry header (#divHeader):
   login, entry and closed / finished screens only (common.js qbInitPortalLink). */
.bebrasPortal { margin: 8px 12px 0; text-align: start; }
.bebrasPortal a { display: inline-block; padding: 6px 12px; border: 1px solid #c9d3e0; border-radius: 6px;
                  background: #fff; color: #1f4e8c; text-decoration: none; font-size: 14px; line-height: 1.3; }
.bebrasPortal a:hover, .bebrasPortal a:focus { border-color: #1f4e8c; }
@media (max-width: 600px) { .bebrasPortal { margin: 6px 8px 0; } .bebrasPortal a { font-size: 13px; } }
/* a contest is running (also while its images load), official OR practice: no portal link and
   no practice-library button. They come back when the session is closed (closeContest clears
   the class): finished / review screens. */
body.bebras-contest-running .bebrasPortal,
body.bebras-contest-running .qb_library { display: none !important; }
/* an OFFICIAL contest never shows practice-library navigation (common.js also removes it) */
body.bebras-official-contest .qb_library { display: none !important; }
