/* kanesoftware.com — the logo bar of the 2018 site (#mainTop), on its own. Tanong 2026-11-08. */
html, body { margin: 0; padding: 0; background: #000; min-height: 100%; }
body { font-family: Tahoma, 'Droid Sans', sans-serif; color: #ddd; }

.bar { position: fixed; top: 0; left: 0; right: 0; height: 50px; background: #000; z-index: 10; font-size: 0; }
.bar .logo { display: inline-block; width: 210px; vertical-align: top; }
.bar .tabs { display: inline-block; vertical-align: top; height: 50px; }
.bar .tabs a, .bar .tabs span { display: inline-block; margin-left: 1px; }
.bar .login { position: absolute; right: 10px; top: 0; }
.bar img { display: block; }

/* the hover swap the old site did with ng-mouseenter: the "on" picture sits under the "off" one */
.swap { position: relative; display: inline-block; }
.swap .on { position: absolute; left: 0; top: 0; opacity: 0; }
.swap:hover .on { opacity: 1; }

main { padding-top: 50px; }

/* the login drop-down under เข้าสู่ระบบ */
.login-panel { position: absolute; right: 10px; top: 52px; width: 230px; box-sizing: border-box; padding: 14px;
               background: #eee; color: #073147; border-radius: 4px; box-shadow: 0 5px 20px 5px rgba(0,0,0,.4);
               font-size: 14px; }
.login-panel[hidden] { display: none; }
.login-panel label { display: block; margin-bottom: 10px; }
.login-panel input { display: block; width: 100%; box-sizing: border-box; margin-top: 4px; height: 28px; padding: 0 6px;
                     border: 1px solid #9aa9b8; border-radius: 3px; font: inherit; color: #000; background: #fff; }
.login-panel .err { color: #b00; margin-bottom: 10px; }
.login-panel .err[hidden] { display: none; }
.login-panel button { width: 100%; height: 30px; border: 0; border-radius: 3px; background: #2b85c9; color: #fff;
                      font: inherit; cursor: pointer; }
.login-panel button:hover { background: #2470ab; }

/* ดาวน์โหลด — the old mypageOld download view, one row */
.download { max-width: 900px; margin: 40px auto; padding: 0 16px; }
.download .panel { background: #eee; color: #073147; border-radius: 4px; padding: 0 0 18px; }
.download h1 { margin: 0; padding: 0 15px; height: 50px; line-height: 50px; font-size: 26px; font-weight: normal;
               border-bottom: 2px solid #073147; }
.download table { width: 100%; border-collapse: collapse; font-size: 15px; }
.download th { text-align: left; font-weight: normal; font-size: 18px; padding: 14px 15px 8px; }
.download td { padding: 6px 15px; }
.download a { color: #073147; }
.download a:hover { opacity: .8; }

@media (max-width: 600px) {
  .bar .logo { width: 150px; }
  .bar .logo img { width: 150px; height: auto; margin-top: 7px; }
  .download th:nth-child(2), .download td:nth-child(2) { display: none; }
}
