﻿html, body {
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  background: #ffffff;
  padding: 0;
  border: 0;
  color: #000000; }

header,
footer,
nav,
section {
  display: block; }

/* Styles for basic forms
-----------------------------------------------------------*/
fieldset {
  border: 1px solid #ddd;
  padding: 0 1.4em 1.4em 1.4em;
  margin: 0 0 1.5em 0; }

legend {
  font-size: 1.2em;
  font-weight: bold; }

textarea {
  min-height: 75px; }

.editor-label {
  margin: 1em 0 0 0; }

.editor-field {
  margin: 0.5em 0 0 0; }

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
  color: #ff0000; }

.field-validation-valid {
  display: none; }

.input-validation-error {
  border: 1px solid #ff0000;
  background-color: #ffeeee; }

.validation-summary-errors {
  font-weight: bold;
  color: #ff0000; }

.validation-summary-valid {
  display: none; }

/*           */
#shim {
  visibility: hidden;
  width: 100%;
  height: 50%;
  margin-top: -250px;
  float: left; }

.pagelogo {
  margin-top: 15px;
  margin-bottom: 10px;
  /*padding-left: 50px;*/ }

#logodesc {
  color: #999;
  font-size: 12px;
  letter-spacing: 0.5em; }

#logo {
  font-size: 20px;
  margin-left: 5px;
  margin-right: 10px; }

#logo A:link, #logo A:visited, #logo A:active {
  color: #777;
  text-decoration: none;
  font-size: 25px; }

#logo A:hover {
  color: #aaa;
  text-decoration: none;
  font-size: 25px; }

#logo img {
  vertical-align: bottom;
  max-width: 250px; }

.wrapper > .row {
  margin-left: 0;
  margin-right: 0; }

.wrapper.menu {
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px; }

.mainmenudiv {
  /*font-family: Arial,sans-serif;*/
  background-color: #fff;
  padding: 5px;
  margin-top: 10px; }

#mainmenu {
  padding: 0;
  display: inline-block;
  font-size: 14px;
  margin-right: 10px; }

ul#mainmenu {
  margin: 0; }

#mainmenu li {
  display: inline-block;
  margin-right: 10px; }

#mainmenu A:link, #mainmenu A:visited, #mainmenu A:active {
  color: #777;
  text-decoration: none; }

#mainmenu A:hover {
  color: yellow;
  text-decoration: none; }

/* Hide from IE5mac \*/
/*/
div#shim {
display: none;
}
 
html, body {
height: auto;
}
/* end hack */
/* ]]> */
#tc {
  margin: 0 auto;
  text-align: left;
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
  padding-right: 0px; }

#container {
  height: 345px;
  background: #FFFFFF;
  border: 1px solid #000000;
  text-align: left;
  padding-top: 60px;
  padding-bottom: 60px;
  padding-left: 0px;
  padding-right: 0px; }

#login .center {
  margin: 0 auto; }

#mainContent {
  position: relative;
  padding-left: 15px;
  padding-right: 0px;
  padding-top: 0;
  padding-bottom: 0; }

.cleft {
  float: left;
  width: 425px;
  height: 356px;
  margin-right: 10px; }

.rwrapper {
  left: 400px;
  padding-bottom: 20px;
  border-width: 5 5 5 5;
  border-style: solid;
  border-color: white;
  width: 470px;
  height: 345px;
  padding: 0 0 0 0; }

.ftable {
  line-height: 150%;
  padding: 2px;
  border: 0px;
  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  width: 100%; }

.ftable th {
  border-top: solid 1px #ccc;
  border-bottom: solid 1px #ccc; }

.ftable td {
  border-bottom: solid 1px #ccc; }

#musiccatalogwrapper {
  background: #eee;
  border: solid 1px #ccc;
  border-width: 5 5 5 5;
  border-style: solid;
  width: 470px;
  height: 345px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 0 0 0;
  scrollbar-face-color: #FFFFFF;
  scrollbar-highlight-color: #FFFFFF;
  scrollbar-3dlight-color: #cfcfcf;
  scrollbar-shadow-color: #FFFFFF;
  scrollbar-darkshadow-color: #cfcfcf;
  scrollbar-track-color: #FFFFFF;
  scrollbar-arrow-color: #666666; }

#cbody {
  padding-bottom: 20px;
  border-width: 5 5 5 5;
  border-style: solid;
  border-color: white;
  width: 470px;
  height: 345px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 0 0 0;
  scrollbar-face-color: #FFFFFF;
  scrollbar-highlight-color: #FFFFFF;
  scrollbar-3dlight-color: #cfcfcf;
  scrollbar-shadow-color: #FFFFFF;
  scrollbar-darkshadow-color: #cfcfcf;
  scrollbar-track-color: #FFFFFF;
  scrollbar-arrow-color: #666666; }

.cnt {
  font-size: 10px;
  color: #666666;
  text-align: right;
  margin-right: 20px; }

.menu {
  text-align: left;
  font-size: 12px;
  margin-top: 10px;
  /*letter-spacing: 2px;*/
  color: #999999; }

.flist {
  text-align: left;
  font-size: 12px;
  margin-left: 10px;
  letter-spacing: 0.2em;
  color: #999999;
  margin-bottom: 10px; }

A:link {
  color: #000000;
  text-decoration: none; }

A:visited {
  color: #000000;
  text-decoration: none; }

A:active {
  color: #000000;
  text-decoration: none; }

A:hover {
  color: #000000;
  text-decoration: none; }

.bdy {
  max-width: 1000px;
  min-width: 600px;
  margin: 0 auto;
  color: #999;
  text-align: left; }

.bigfont {
  font-size: 20px;
  text-align: left;
  font-family: Courier, Monospace; }

.title {
  font-size: 26px;
  margin: 5px 0 5px 0;
  font-family: Courier, Monospace; }

.content {
  margin: 0 0 20px 0; }

/* blog start */
.bodydiv a {
  text-decoration: underline; }

/* reply start */
.replyarticlediv {
  padding: 0 0 10px 0; }

.rightdiv {
  position: absolute;
  right: 0;
  top: 15px;
  width: 100px; }

.reply, .rere {
  display: block;
  clear: both;
  position: relative;
  min-height: 60px;
  padding: 15px 110px 5px 15px;
  border-bottom: 1px solid #eee; }

.rere {
  padding-top: 10px; }

.reply .wname {
  font-weight: bold; }

.wnameline {
  padding-bottom: 10px; }

.replyarticlediv .article {
  padding-bottom: 5px;
  padding-left: 10px; }

/* reply end */
/* bbs write start */
.replywritediv, .rerewritediv {
  margin-top: 10px;
  padding: 10px 0 10px 0;
  background-color: #eee; }

.rerewritediv {
  margin-top: 0; }

.replywritediv .username, .rerewritediv .username {
  text-align: center;
  display: block;
  float: left;
  width: 150px;
  height: 75px;
  font-weight: bold;
  line-height: 75px;
  padding: 0 10px 0 10px; }

.replywritediv .username span, .rerewritediv .username span {
  display: inline-block;
  vertical-align: middle;
  line-height: 12px; }

.replywritediv .articlectrl, .rerewritediv .articlectrl {
  width: 500px;
  height: 75px; }

.replywritediv .inputctrl, .rerewritediv .inputctrl {
  width: 100px;
  height: 75px; }

ul.rerediv li:first-child {
  border-top: 1px solid #eee; }

ul.rerediv li:last-child {
  border-bottom: initial; }

/* bbs write end */
/* rere start */
/* rere end */
/* bbs start */
.titleline {
  /*background-color: #eee;*/
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 7px 0;
  border-collapse: separate; }

.writerline {
  /*border-top:1px solid #eee;*/
  border-bottom: 1px solid #eee;
  padding: 7px 0;
  border-collapse: separate; }

.bb .lbl {
  display: inline-block;
  width: 80px;
  text-align: center; }

.bb .ct {
  text-align: left;
  font-weight: bold; }

.bb .ct.writer {
  display: inline-block;
  width: 350px; }

.bodydiv {
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  max-width: 900px;
  word-break: break-word; }

.container-bb-list .bodydiv {
  border: none;
  font-size: 16px;
  margin-left: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  color: #333; }
  .container-bb-list .bodydiv a, .container-bb-list .bodydiv a:visited, .container-bb-list .bodydiv a:active {
    color: #666;
    text-decoration: none; }
  .container-bb-list .bodydiv a:hover {
    text-decoration: underline; }

.container-bb-list .article-footer {
  margin-bottom: 5px;
  font-size: 12px;
  color: #999;
  font-style: oblique;
  margin-left: 10px; }

.container-bb-list .d.titleline {
  /*margin-top:5px;*/
  font-size: 18px;
  border-bottom: none; }
  .container-bb-list .d.titleline td {
    height: 40px; }

/* bbs end */
.pmbutton {
  min-width: 50px; }

.calc table {
  width: 100%;
  max-width: 400px; }

.calc tr td:nth-child(1) {
  /*width: 70%;*/ }

.calc tr td:nth-child(2) {
  /*width: 30%;*/
  text-align: right; }

@media (max-width: 767px) {
  /*
  .container {
    padding-left: 0px;
    padding-right: 0px;
  }

  .row {
    margin-left: 0px;
    margin-right: 0px;
  }
   */
  .pmbutton, .rate, .rangeamt {
    min-height: 40px;
    min-width: 60px; } }

.container {
  margin-left: 0px; }

.w3-container {
  padding-left: 0;
  padding-right: 0; }

.w3-sidebar {
  width: 150px; }
  .w3-sidebar .bottom {
    position: fixed;
    bottom: 0px;
    /*height: 80px;*/
    width: 150px;
    background-color: white; }

.loginbutton {
  width: 100%; }

.edtext {
  width: 100%; }

.edbutton {
  width: 100%; }

/* ============================================================
   Design system (added 2026-04-18)
   Tokens + layout chrome + shared page-head component.
   Loaded by _Layout.cshtml. Page-specific styles still live
   in each view's <style> block but reference these tokens.
   ============================================================ */

:root {
    --sb-w: 220px; --sb-bg-1: #0f172a; --sb-bg-2: #1e293b; --sb-accent: #3b82f6;
    --c-text: #0f172a; --c-text-muted: #64748b; --c-text-soft: #94a3b8; --c-text-mid: #475569; --c-text-body: #334155;
    --c-bg: #f8fafc; --c-surface: #fff; --c-surface-alt: #f8fafc;
    --c-border: #e2e8f0; --c-border-hover: #cbd5e1; --c-border-soft: #f1f5f9;
    --c-primary: #3b82f6; --c-primary-hover: #2563eb; --c-primary-strong: #1d4ed8; --c-primary-soft: #dbeafe;
    --c-warning-soft: #fef3c7;
    --r-card: 12px; --r-btn: 8px; --r-input: 8px;
    --shadow-card: 0 1px 2px rgba(15,23,42,0.04);
    --shadow-card-hover: 0 4px 12px rgba(15,23,42,0.06);
    --focus-ring: 0 0 0 3px rgba(37,99,235,0.15);
}

html, body { font-family: 'Open Sans', sans-serif; }
body { margin: 0; background: var(--c-bg); font-size: 13px; color: var(--c-text); }

/* Sidebar */
.sidebar { position: fixed; top: 0; left: 0; bottom: 0; width: var(--sb-w); background: linear-gradient(180deg, var(--sb-bg-1) 0%, var(--sb-bg-2) 100%); display: flex; flex-direction: column; z-index: 100; transition: transform 0.25s ease; }
.sidebar-brand { padding: 22px 20px 18px; border-bottom: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; gap: 10px; }
.sidebar-brand .brand-dot { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, #3b82f6, #8b5cf6); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 14px; }
.sidebar-brand .brand-name { color: #f1f5f9; font-weight: 700; font-size: 15px; letter-spacing: 0.01em; }
.sidebar-brand .brand-sub { color: var(--c-text-muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }
.sidebar-nav { flex: 1; overflow-y: auto; padding: 12px 10px; }
.sidebar-nav a { display: flex; align-items: center; gap: 12px; padding: 9px 14px; margin: 2px 0; color: var(--c-border-hover); text-decoration: none; border-radius: var(--r-btn); font-size: 13px; font-weight: 500; transition: all 0.15s ease; position: relative; }
.sidebar-nav a i { font-size: 15px; width: 18px; text-align: center; color: var(--c-text-muted); transition: color 0.15s ease; }
.sidebar-nav a:hover { background: rgba(255,255,255,0.05); color: #fff; }
.sidebar-nav a:hover i { color: var(--c-text-soft); }
.sidebar-nav a.active { background: rgba(59,130,246,0.15); color: #fff; }
.sidebar-nav a.active i { color: var(--sb-accent); }
.sidebar-nav a.active::before { content: ''; position: absolute; left: -10px; top: 20%; bottom: 20%; width: 3px; background: var(--sb-accent); border-radius: 0 3px 3px 0; }
.sidebar-footer { border-top: 1px solid rgba(255,255,255,0.08); padding: 12px 10px; }
.sidebar-footer a { display: flex; align-items: center; gap: 10px; padding: 8px 14px; color: var(--c-text-soft); text-decoration: none; font-size: 13px; border-radius: var(--r-btn); transition: all 0.15s ease; }
.sidebar-footer a:hover { background: rgba(255,255,255,0.05); color: #fff; }
.sidebar-footer .version { font-size: 10px; color: var(--c-text-mid); text-align: center; margin-top: 8px; letter-spacing: 0.05em; }
.sidebar-toggle { display: none; position: fixed; top: 12px; left: 12px; z-index: 101; width: 40px; height: 40px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-btn); box-shadow: 0 2px 6px rgba(0,0,0,0.08); cursor: pointer; color: var(--c-text); font-size: 20px; }
.sidebar-backdrop { display: none; position: fixed; inset: 0; background: rgba(15,23,42,0.5); z-index: 99; }

/* Main content area */
.main { margin-left: var(--sb-w); min-height: 100vh; }
.page-header { padding: 18px 28px 14px; border-bottom: 1px solid var(--c-border); background: var(--c-surface); }
.page-header .logo-row { display: flex; align-items: baseline; gap: 16px; }
.page-header .logo-row img { max-width: 160px; height: auto; }
.page-header .logo-row .sub { color: var(--c-text-soft); font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; }
.page-body { padding: 8px 0; }

/* Shared page-head component */
.pg-head { padding: 20px 28px 6px; max-width: 1400px; }
.pg-head .pg-title { font-weight: 700; font-size: 22px; color: var(--c-text); margin: 0 0 4px; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pg-head .pg-title i { color: var(--c-primary); font-size: 22px; }
.pg-head .pg-title .pg-badge { font-size: 12px; color: var(--c-text-muted); font-weight: 500; background: var(--c-border-soft); padding: 3px 10px; border-radius: 999px; letter-spacing: 0.02em; }
.pg-head .pg-sub { color: var(--c-text-muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 18px; }

/* Mobile sidebar */
@media (max-width: 991px) {
    .sidebar { transform: translateX(-100%); box-shadow: 2px 0 20px rgba(0,0,0,0.2); }
    .sidebar.open { transform: translateX(0); }
    .sidebar-backdrop.open { display: block; }
    .sidebar-toggle { display: flex; align-items: center; justify-content: center; }
    .main { margin-left: 0; }
    .page-header { padding-left: 64px; }
}
