html {height: 100%;}
body {font: 14px/1.5 '微软雅黑';word-wrap: break-word;word-break: break-all;-webkit-text-size-adjust: none;background: #fff;color: #333;}
body, dl, dd, h1, h2, h3, h4, h5, h6, p, form, ul, ol, blockquote {margin: 0}
img {border: 0 none;vertical-align: middle}
input, select, textarea {font-size: 14px;color: #333}
input {vertical-align: middle;padding: 2px;margin: 0}
table {border-collapse: collapse;border-spacing: 0}
select, input, button {font: 14px/20px Verdana, Simsun, Helvetica, Arial, sans-serif;}
em, i, cite, blockquote {font-style: normal}
ul, ol {list-style: none outside;padding: 0}
h1, h2, h3, h4, h5, h6 {font-size: 100%}
textarea {overflow-y: auto;padding: 3px}
a {color: #428bca;text-decoration: none;outline: 0}
a:hover, a:active {color: #2a6496;text-decoration: none;}
a:focus {outline: 0;}
button::-moz-focus-inner {border: 0;padding: 0;}
figure {margin: 0}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block}
.ppr {position: relative;}
.ppa {position: absolute;}
.fl {float: left}
.fr {float: right}
.tl {text-align: left;}
.tc {text-align: center;}
.tr {text-align: right;}
.mlr5 {margin: 0 5px;}
.mt5 {margin-top: 5px;}
.mr5 {margin-right: 5px;}
.mt10 {margin-top: 10px;}
.ml5 {margin-left: 5px;}
.ml10 {margin-left: 10px;}
.mr10 {margin-right: 10px;}
.mb10 {margin-bottom: 10px;}
.mb20 {margin-bottom: 20px;}
.pl5 {padding-left: 5px;}
.pb10 {padding-bottom: 10px;}
.pt20 {padding-top: 20px;}
.pl10 {padding-left: 10px;}
.ptb20 {padding: 20px 0;}
.grayc {color: #ccc}
.gray6 {color: #666}
.gray9 {color: #999}
.emstyle {font-style: italic}
.clear {clear: both}
.clearfix:after {content: ".";display: block;height: 0;clear: both;visibility: hidden;}
.clearfix {*height: 100%;}
.none {display: none}
.block {display: block;}
.minheight500 {min-height: 500px;height: auto !important;height: 500px;overflow: visible;}
.wrap-box {width: 960px;margin: 0 auto;}
.blue, .blue a:link, .blue a:visited {color: blue;}
.blue a:hover {color: #f60;}
.white, .white a:link, .white a:visited {color: #fff;}
.white a:hover {color: #ff0;}
.red, .red a:link, .red a:visited {color: #f00;}
.red a:hover {color: #f60;}
.orange, .orange a:link, .orange a:visited {color: #ffa500;}
.orange a:hover {color: #f60;}
@font-face {
    font-family: 'icomoon';
    src: url('/static/fonts/icomoon.eot');
    src: url('/static/fonts/icomoon.eot?#iefix') format('embedded-opentype'), url('/static/fonts/icomoon.woff') format('woff'), url('/static/fonts/icomoon.ttf') format('truetype'), url('/static/fonts/icomoon.svg#icomoon') format('svg');
    font-weight: normal;  font-style: normal;
}
.icon-font {font-family: 'icomoon';speak: none;font-weight: 400;font-style: normal;font-variant: normal;text-transform: none;line-height: 1;-webkit-font-smoothing: antialiased;}
.require-red {color: #f60;font-family: serif;margin-right: 3px;}

/* common */
/*.topbar-wrap {height: 50px;line-height: 50px;background: #1A1A1A;}*/
.topbar-wrap {height: 50px;line-height: 50px;background: #1A1A1A; position: fixed; width: 100%; z-index: 9999999999;}
.topbar-logo-wrap {float: left;}
/*.topbar-inner{font-size:18px;padding:0 20px;}*/
.topbar-inner {font-size: 18px;}
.topbar-logo {float: left;width: 150px;text-align: center;}
.navbar-list {float: left;}
/*.top-info-wrap {float: right; position: absolute;}*/
.top-info-wrap {position: fixed; top:0px; right:0px;}
.navbar-list {}
.navbar-list li {float: left;}
.navbar-list li a {float: left;margin-right: 5px;padding: 0 25px;text-shadow: 1px 1px 1px #000;}
.navbar-list .ylogo {margin-top: 0px; padding: 0px;}

/* CSS Logo - 纯CSS生成logo效果（红色印章「排」+ 排队系统） */
.css-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 0 12px;
    text-decoration: none !important;
    gap: 10px;
    box-sizing: border-box;
    width: 199px;
}
.css-logo .logo-seal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #b52020;
    border-radius: 3px;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    font-family: 'KaiTi', 'STKaiti', 'SimSun', serif;
    line-height: 1;
    position: relative;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 2px #922, inset 0 0 0 4px rgba(200,80,80,0.6), 0 0 0 2px rgba(180,50,50,0.5), 0 0 0 3px rgba(100,20,20,0.3);
}
.css-logo .logo-text-wrap {
    display: flex;
    align-items: center;
}
.css-logo .logo-text-cn {
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    white-space: nowrap;
    font-family: 'Segoe UI', Arial, 'Microsoft YaHei', sans-serif;
}

/* 登录页 CSS logo */
.css-logo-login {
    display: flex;
    align-items: center;
    position: fixed;
    top: 20px;
    left: 40px;
    gap: 14px;
    z-index: 100;
}
.css-logo-login .logo-seal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: #b52020;
    border-radius: 4px;
    font-size: 30px;
    font-weight: bold;
    color: #fff;
    font-family: 'KaiTi', 'STKaiti', 'SimSun', serif;
    line-height: 1;
    position: relative;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 3px #922, inset 0 0 0 5px rgba(200,80,80,0.6), 0 0 0 2.5px rgba(180,50,50,0.5), 0 0 0 4px rgba(100,20,20,0.3);
}
.css-logo-login .logo-text-wrap {
    display: flex;
    align-items: center;
}
.css-logo-login .logo-text-cn {
    font-size: 22px;
    font-weight: 400;
    color: #ffffff;
    white-space: nowrap;
    font-family: 'Segoe UI', Arial, 'Microsoft YaHei', sans-serif;
}
.navbar-list li a:hover {background: #343434;background: #033b70;}
/*.navbar-list li a.on {color: #fff;text-shadow: 1px 1px 1px #003;background: #033b70;}*/
.on {color: #fff;text-shadow: 1px 1px 1px #003;background: #033b70; border-radius: 8px;}
.top-info-list li {float: left;}
.top-info-list li a {float: left;margin-left: 5px;padding: 0 20px;display: inline;zoom: 1;}
.top-info-list li a:hover {background: #343434;background: #033b70;}

textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
    background-color: #ffffff;
    border: 1px solid #cccccc;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
    -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
    -o-transition: border linear 0.2s, box-shadow linear 0.2s;
    transition: border linear 0.2s, box-shadow linear 0.2s;
}

textarea:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, input[type="number"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="color"]:focus, .uneditable-input:focus {
    border-color: rgba(82, 168, 236, 0.8);
    outline: 0;
    outline: thin dotted \9; /* IE6-9 */
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
}

.insert-tab { border-collapse: collapse; border: 1px solid #eee; }
.insert-tab th, .insert-tab td {border: 1px solid #eee;}
.insert-tab tr {line-height: 40px;}
.insert-tab th {text-align: right; font-weight: normal; padding-right: 10px; font-size: 14px; min-width: 100px;}
.insert-tab td {text-align: left; padding-left: 10px;  padding-right: 10px; max-width: 630px;}
.list-page {padding: 20px 0; text-align: center; }
.list-page a { margin: 0 5px; padding: 2px 7px; border: 1px solid #ccc; background: #f3f3f3;}
.list-page a:hover {background: #e4e4e4; border: 1px solid #908f8f; }
.list-page .current { margin: 0 5px; padding: 2px 7px; background: #f60; border: 1px solid #fe8101; color: #fff; }
/* ************************************************************************************************ */
.table > tbody > tr > td {text-align: center;}
.table > thead > tr > th {text-align: center;}
.table > thead:first-child > tr:first-child > th {text-align: center;}

/*打印效果显示*/
.print_template_class {width: 284px; margin: 10px 15px 10px 15px; border: 1px solid #ccc; }
.print_template_class {width: 264px; margin: 10px 15px 10px 15px; border: 1px solid #ccc; }

/*设备管理类型选择*/
.deviceSelect {margin: 20px 10px 10px 20px;}
.lable-class2{margin-right: 15px;}
.deviceTypeBtn {margin:5px; display: inline-block;}

/*layui 样式定制*/
/*.layui-form {border-bottom: #f2f2f2 1px solid; border-bottom-width: 3px;}*/
.layui-form-label {width: 60px; padding: 3px 5px 0px 15px;}
.layui-form-item .layui-input-inline {width: 210px; }

/*dt custom*/
div.dt-buttons {margin-top:3px; margin-left: 5px; height: 32px; line-height: 32px;}
.dt-buttons button.dt-button {border-radius: 3px; line-height: 1.2em;}

/* --- 文本溢出省略 --- */
.text-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 管理后台 DataTables 单元格 - 英文内容过长时显示省略号 */
.table.display td,
.table.display th {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* 操作列按钮不截断 */
.table.display td:last-child {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
}

/* 表单标签 - 不截断，由 JS 动态对齐宽度 */
.lable_screen {
    /* overflow 不加在此处，避免裁剪输入框 */
}
/* 按钮容器 - 英文显示过长时截断 */
.dt-buttons {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* 配置页面标题 - 英文过长时截断 */
.title_p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* 功能区标题 */
.result-title,
.config-title h1 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 配置表单中带翻译的 span 标签 - 仅防止换行，不截断 */
.insert-tab th span[data-i18n],
.insert-tab td span[data-i18n] {
    white-space: nowrap;
}