/* Base styles for the original WindTool layout and its native controls. */
body, h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
body { color: #333; font: 14px/1.55 Arial, 'Microsoft YaHei', sans-serif; }
h1, h2, h3, h4 { font-weight: 400; }
h1 { font-size: 2em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.17em; }
a { color: #333; text-decoration: none; }
a:hover { color: #777; }
button, input, select, textarea { font: inherit; }
img { vertical-align: middle; }
hr { height: 1px; border: 0; margin: 10px 0; background: #eee; }

.site-container { position: relative; box-sizing: border-box; width: 100%; margin-inline: auto; padding-inline: 15px; }
.site-fluid { padding-inline: 15px; }
.site-row::after { content: ''; display: block; clear: both; }
.site-col-space15 { margin-inline: -7.5px; }
.site-col-space15 > [class*='site-col-'] { padding: 7.5px; box-sizing: border-box; }
[class*='site-col-md'], .site-col-xs12 { position: relative; display: block; box-sizing: border-box; }
.site-col-xs12 { float: left; width: 100%; }
@media (min-width: 768px) { .site-container { width: 750px; } }
@media (min-width: 992px) {
  .site-container { width: 970px; }
  [class*='site-col-md'] { float: left; }
  .site-col-md1 { width: 8.333%; }
  .site-col-md2 { width: 16.667%; }
  .site-col-md3 { width: 25%; }
  .site-col-md4 { width: 33.333%; }
  .site-col-md6 { width: 50%; }
  .site-col-md8 { width: 66.667%; }
  .site-col-md9 { width: 75%; }
  .site-col-md12 { width: 100%; }
}
@media (min-width: 1200px) { .site-container { width: 1170px; } }

.site-card { margin-bottom: 15px; border-radius: 2px; background: #fff; box-shadow: 0 1px 2px #0001; }
.site-card-header { height: 42px; padding-inline: 15px; border-bottom: 1px solid #f6f6f6; line-height: 42px; }
.site-card-body { padding: 10px 15px; }
.site-table { width: 100%; margin: 10px 0; border-collapse: collapse; background: white; }
.site-table th, .site-table td { padding: 9px 15px; border: 1px solid #e6e6e6; }
.site-table th { background: #f2f2f2; font-weight: 400; text-align: left; }
.site-table[lay-size='sm'] th, .site-table[lay-size='sm'] td { padding: 5px 10px; }
.site-table tbody tr:hover { background: #f7f7f7; }
.site-btn { display: inline-block; box-sizing: border-box; height: 38px; padding: 0 18px; border: 0; border-radius: 2px; background: #009688; color: white; text-align: center; line-height: 38px; cursor: pointer; }
.site-btn:hover { opacity: .82; color: white; }
.site-btn-container .site-btn { margin: 0 6px 8px 0; }
.site-btn-normal, .site-bg-blue { background: #1e9fff; }
.site-btn-danger { background: #ff5722; }
.site-btn-disabled { color: #aaa; background: #fbfbfb; border: 1px solid #e6e6e6; cursor: not-allowed; }
.site-btn-fluid { width: 100%; }
.site-btn-xs { height: 22px; line-height: 22px; padding-inline: 6px; }
.site-badge { display: inline-block; padding-inline: 6px; border-radius: 2px; color: white; }
.site-bg-green { background: #009688; }
.site-bg-gray { background: #eee; color: #666; }

.site-dialog { box-sizing: border-box; width: fit-content; max-width: calc(100vw - 28px); max-height: calc(100vh - 28px); padding: 0; border: 0; border-radius: 3px; background: #fff; color: #333; box-shadow: 0 8px 36px #0005; overflow: auto; }
.site-dialog[open] { display: flex; flex-direction: column; }
.site-dialog::backdrop { background: #0005; }
.site-dialog-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 14px; background: #f3f3f3; }
.site-dialog-bar button, .site-dialog-prompt button { padding: 4px 10px; margin-left: 6px; border: 1px solid #bbb; background: white; border-radius: 3px; cursor: pointer; }
.site-dialog-content { min-height: 0; flex: 1; overflow: auto; }
.site-dialog-prompt { padding: 18px 20px; text-align: right; }
.site-dialog-prompt p { margin-bottom: 16px; text-align: left; }
.site-dialog-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.site-dialog.site-dialog-max { width: calc(100vw - 28px) !important; height: calc(100vh - 28px) !important; }
.site-dialog.site-dialog-collapsed { height: auto !important; margin: auto auto 14px; }
.site-dialog-collapsed .site-dialog-content { display: none; }
.site-toast { position: fixed; left: 50%; top: 48%; transform: translate(-50%, -50%); z-index: 9999; max-width: calc(100vw - 32px); box-sizing: border-box; padding: 10px 16px; border-radius: 3px; background: #242424ed; color: #fff; text-align: center; pointer-events: none; }
