/* colorkid.net static: small layout fixes on top of the Bartik theme. Loaded from /_inc/head.html. */

/* Nothing may make the page wider than the window: some theme blocks are 1-7px too wide
   at 770-820px, and an ad can be wider than a phone screen. */
html, body { overflow-x: hidden; }

/* Old Print/Download block (replaced by .ck-actions on rebuilt pages): 100% width plus a 20px margin overflowed */
.help_buttons { max-width: calc(100% - 20px); box-sizing: border-box; }
.help_buttons .user_buttons { max-width: 100%; }

/* Print / Save / Share block (markup: /_inc/share.html) */
.ck-actions, .ck-share { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 14px 0; }
.ck-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 26px; color: #fff !important;
          text-decoration: none !important; font: bold 16px/1.2 Arial, sans-serif; box-shadow: 0 2px 4px rgba(0,0,0,.18);
          transition: transform .1s, filter .1s; }
.ck-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.ck-btn svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.ck-print { background: #ff7a00; }
.ck-save  { background: #1e88e5; }
.ck-share-label { font: 15px Arial, sans-serif; color: #555; margin-right: 2px; }
.ck-s { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 50%;
        padding: 0; color: #fff !important; cursor: pointer; text-decoration: none !important; transition: transform .1s, filter .1s; }
.ck-s:hover { filter: brightness(1.1); transform: translateY(-1px); }
.ck-s svg { width: 20px; height: 20px; fill: currentColor; }
.ck-s[hidden] { display: none; }
.ck-fb { background: #1877f2; }
.ck-x { background: #000; }
.ck-pin { background: #e60023; }
.ck-wa { background: #25d366; }
.ck-tg { background: #26a5e4; }
.ck-vk { background: #0077ff; }
.ck-mail { background: #7a7a7a; }
.ck-native { background: #555; }
@media print { .ck-actions, .ck-share { display: none; } }

/* Cookie notice above AdSense anchor and vignette ads (they use the maximum z-index; scripts.html keeps the banner last in <html>) */
.cc_banner-wrapper { position: relative; z-index: 2147483647 !important; }
.cc_banner-wrapper .cc_container { z-index: 2147483647 !important; animation: none !important; }
