/*
 * KotaGames header and footer, shared by the classic portal layout and every game page (the game gateway puts
 * them around the game). Game stylesheets set their own body font, link colours and widths, so these rules state
 * their own font and colours instead of inheriting them.
 */
.kc-header,.kc-footer{box-sizing:border-box;width:100%;font:13px/1.35 Arial,Helvetica,sans-serif;text-align:center}
.kc-header img,.kc-footer img{border:0}
.kc-header{background:#fff url(../img/bg_header.png) repeat-x top;text-align:center}
.kc-header-strip{box-sizing:border-box;height:28px;padding-top:3px}
.kc-logo{display:inline-block}
.kc-logo img{display:block;width:112px;height:22px;margin:0 auto}
.kc-header-cta{padding:5px}
.kc-header-in .kc-header-strip{display:flex;align-items:center;justify-content:space-between;padding:0 5px}
.kc-notif{display:inline-flex;align-items:center;gap:4px;box-sizing:border-box;height:22px;padding:0 6px;background:#d10036;border:1px solid #8a0829;color:#fff!important;font-size:13px;text-decoration:none}
.kc-notif:hover{background:#a8002b}
.kc-footer{background:#f79c38;border-top:2px solid #eb7d04;color:#4a1f00;text-align:center;padding:5px 0 10px}
.kc-footer-nav{margin:6px 0 2px;line-height:20px}
.kc-footer-nav a{display:inline-block;color:#4a1f00;text-decoration:none;padding:2px 8px;border-left:1px solid #eb7d04}
.kc-footer-nav a:first-child{border-left:0}
.kc-footer-nav a:hover{text-decoration:underline}
.kc-footer-highlight{margin-top:5px;padding:5px 4px;background:#f8cd6f;color:#a31d00;font-weight:bold;text-transform:uppercase}
.kc-footer-legal{margin-top:2px;text-transform:none;font-weight:normal;font-size:12px}
.kc-footer-legal a{color:#a31d00}
.kc-footer-nav br+a{border-left:0}
.kc-footer-stats{margin:4px 0 0;font-size:12px}
.kc-footer-stats a{color:#4a1f00;text-decoration:none}
.kc-footer-stats a:hover{text-decoration:underline}
.kc-footer .kc-button{display:inline-block;padding:2px 8px;background:#d10036;color:#fff;border:1px solid #8a0829;text-transform:uppercase;text-decoration:none;font:13px/18px Arial,Helvetica,sans-serif}

/* Game pages: the game keeps the width it gives <body> (450px for most WAP games); the header and footer reach the
   screen edges. --kg-sbw (set by the gateway script) is the scrollbar width, so the bars end where the scrollbar starts. */
.kg-bleed{position:relative;box-sizing:border-box;width:calc(100vw - var(--kg-sbw,0px));max-width:none;margin-left:calc(50% - 50vw + var(--kg-sbw,0px) / 2)}
