.menu-main {
    margin: 10px 0;
}
.menu-sub {
    margin-top: 20px;
}
.menu-sub a{
	color: #333;
}
.menu-sub .list-group-item{
	cursor: pointer;
}
.logo {
    margin: 20px;
}
body{
	 font-family: "微软雅黑";
}
.logo span {
    color: #fff;
    font-family: "微软雅黑";
    font-size: 20px;
    margin-top: 7px;
    position: absolute;
}
/*
.logo a {
    background: rgba(0, 0, 0, 0) url("../images/sprite_ico.png") no-repeat scroll 0 0;
    color: #fff;
    display: inline-block;
    height: 47px;
    margin: 0 9px 0 0;
    text-indent: -9999px;
    width: 42px;
}
*/
.content {
    height: 100%;
}
.content iframe {
    border: 0 none;
    overflow: hidden;
    width: 100%;
}

.header {
	background-color: #003F74;	
}
/* 首行：左侧欢迎语+世界时钟，右侧一级菜单，压缩整行高度 */
.header-row {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 8px 0;
}
.header-row > .header-logo,
.header-row > .header-main {
	float: none;
	min-width: 0;
}
.header-row > .header-logo {
	width: 16.66666667%;
}
.header-row > .header-main {
	width: 83.33333333%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}
.header-row .logo {
	margin: 0 0 0 10px;
}
.header-row .logo span {
	position: static;
	display: block;
	font-size: 13px;
	line-height: 1.45;
	margin: 0;
}
.header-main .menu-main {
	margin: 0;
}
.header-main .nav-pills {
	display: flex;
	align-items: center;
	gap: 4px;
}
.header-main .nav-pills > li {
	float: none;
	padding: 0;
}
.header-main .nav-pills > li > a {
	padding: 8px 18px;
	font-size: 13px;
}
.container-fluid {
	padding:1px 3px;
}
.login {
    color: #fff;
    font-size: 13px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px 36px;
}
.login-greeting {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    line-height: 1.45;
    white-space: nowrap;
}
.login-logout {
    text-align: right;
}
.login-greeting a {
    color: #9acaff;
    margin-left: 0;
}

/* 顶部世界时钟：第一行 国旗 + 日期，第二行 国家缩写 + 当地时间 */
.world-clock {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 6px 20px;
}
.clock-item {
    display: grid;
    grid-template-columns: 20px auto;
    column-gap: 8px;
    row-gap: 3px;
    align-items: center;
    line-height: 1.2;
}
.clock-flag {
    grid-column: 1;
    grid-row: 1;
    width: 18px;
    height: 12px;
    object-fit: cover;
    display: block;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 2px;
}
.clock-date {
    grid-column: 2;
    grid-row: 1;
    color: #b9d2ea;
    font-size: 12px;
    white-space: nowrap;
}
.clock-code {
    grid-column: 1;
    grid-row: 2;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    text-align: center;
}
.clock-time {
    grid-column: 2;
    grid-row: 2;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: .3px;
    white-space: nowrap;
}


.nav-justified > li {
    padding: 0 1px;
}
.nav-justified > li > a {
    background-color: #337ab7;
    color: #fff;
}
.nav-justified li.active > a {
    background-color: #eee;
    color: #000346;
}


.nav-pills > li > a {
    padding: 10px 30px;
    color: #9acaff;
}
.nav-pills > li + li {
	padding: 0 10px;
}


.list-group-item.active, .list-group-item.active:focus, .list-group-item.active:hover {
    background-image: linear-gradient(to bottom, #155391 0px, #155391 100%);
    border-color: #00396c;
    text-shadow: 0 -1px 0 #00305f;
}

.nav-pills > li.active > a, .nav-pills > li.active > a:focus, .nav-pills > li.active > a:hover {
    background-color: #6a93c9;
    color: #fff;
}


.search {
}



.body-list .table {
    margin-bottom: 0px;
}
.body-list .pagination {
	margin-top:1px;
}


.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover {
    background-color: #003F74;
}



.main-contents{
    margin: 20px 0;
    padding: 0 20px;	
}


.pagination{}

.pagination ul {
    margin-left: -2px;
    margin-top: 10px;
    padding: 0;
}

.pagination ul li {
    border: 1px solid #eee;
    cursor: pointer;
    display: inline;
    margin: 0 1px;
    padding: 10px 20px;
    text-decoration: none;
}
.pagination ul li:hover{
	color:#f00;
}
.pagination ul li.active {
    background-color: #f00;
    border: 1px solid #d00;
}
.pagination ul li.active a{
	color: #fff;
}

.tab-pane{
	border:1px solid #ddd;
	border-top:none;
}


#list .operate button {
    margin: 0 2px;
}
.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
    vertical-align: middle;
}
.table-bordered > thead > tr > td, .table-bordered > thead > tr > th {
    border-bottom-width: 1px;
}

.title {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tw1 { width: 100px; }
.tw2 { width: 200px; }
.tw3 { width: 300px; }
.tw4 { width: 400px; }

.event-class{display:none;}

.goto_page {
    border: none !important;
    padding: 2px !important;
}
.goto_page input {
    border: 1px solid #eee;
    padding: 8px;
    width: 55px;
}

/*加载中*/
.loading{
	display:none;
    width:160px;  
    height:56px;  
    position: absolute;  
    top:50%;  
    left:50%;  
    line-height:56px;  
    color:#fff;  
    padding-left:60px;  
    font-size:15px;  
    background: #000 url(../images/loading.gif) no-repeat 10px 50%;  
    opacity: 0.7;  
    z-index:9999;  
    -moz-border-radius:20px;  
    -webkit-border-radius:20px;  
    border-radius:20px;  
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=70);  
}


.iskeyword{
	color:#017500;
	font-weight: bold;	
}

.selectItem {
    font-size: 15px;
    margin: 0 5px;
    position: relative;
}
.selectItem input {
    position: relative;
    top: 1px;
}

.ui-popup-backdrop{
	opacity: 0.2 !important;
}


#select-shape-dailg .select-shape {
    float: left;
    margin: 2px;
    /* min-height: 396px; */
}
.shape-body{
	    min-width: 909px;
}


.wran {
	color:#FF0000;
}


/* ================= 应用外壳：整页固定，仅主表区域滚动 ================= */
html,
body {
	height: 100%;
}
body.overflowXHide {
	overflow: hidden;
}

.app-shell {
	height: 100%;
	display: flex;
	flex-direction: column;
	min-height: 0;
}
.app-shell > .header {
	flex: 0 0 auto;
}
.app-shell > .app-body {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	margin: 0;
}
.app-body > .app-sidebar,
.app-body > .app-main {
	float: none;
	height: 100%;
}
.app-body > .app-sidebar {
	width: 8.33333333%;
	padding: 0 6px;
	overflow-x: hidden;
	overflow-y: auto;
}
.app-body > .app-main {
	width: 91.66666667%;
	padding: 0;
	display: flex;
	flex-direction: column;
	min-width: 0;
}
#main_content {
	flex: 1 1 auto;
	min-height: 0;
}
#main_content > iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ================= 列表页：表头与分页固定，仅表格内容滚动 ================= */
.list-page {
	height: 100%;
	display: flex;
	flex-direction: column;
	min-height: 0;
	overflow: hidden;
}
.list-page > .body-list {
	flex: 1 1 auto;
	min-height: 0;
	overflow: auto;
	position: relative;
	background-color: #fff;
	isolation: isolate;
}

/* 固定表头：改用 separate 边框模型，避免 collapse 模式下表头背景被行内容穿透 */
.list-page > .body-list table {
	border-collapse: separate;
	border-spacing: 0;
}
.list-page > .body-list table.table-bordered {
	border-left: 1px solid #ddd;
}
/* separate 模式下只保留单元格的右边框/下边框，避免相邻边框变成 2px */
.list-page > .body-list table.table-bordered > thead > tr > th,
.list-page > .body-list table.table-bordered > tbody > tr > td,
.list-page > .body-list table.table-bordered > tbody > tr > th,
.list-page > .body-list table.table-bordered > tfoot > tr > td,
.list-page > .body-list table.table-bordered > tfoot > tr > th {
	border-top-width: 0;
	border-left-width: 0;
}
.list-page > .body-list table.table-bordered > thead > tr > th {
	border-top: 1px solid #ddd;
}
.list-page > .body-list thead {
	position: sticky;
	/* 向上多压 2px，避免表头与滚动容器顶部之间露出下方行 */
	top: -2px;
	z-index: 4;
	background-color: #fff;
}
.list-page > .body-list thead th {
	background-color: #fff;
	background-clip: padding-box;
	box-shadow: inset 0 -1px 0 #ddd;
}
/* 分页条固定在列表底部，不随表格滚动 */
.list-page .pager-bar {
	background-color: #fff;
	border-top: 1px solid #e8e8e8;
	padding: 4px 10px;
}
.list-page .pager-bar.span9 {
	width: auto;
	float: none;
}
.list-page .pager-bar .pagination {
	margin: 4px 0;
}
.list-page > .pager-bar {
	flex: 0 0 auto;
	width: auto;
	margin: 0;
	box-shadow: 0 -1px 4px rgba(0, 0, 0, .06);
}

/* 左侧树 + 右侧列表的管理页 */
.list-page.split-page {
	flex-direction: row;
}
.list-page.split-page > div:first-child {
	flex: 0 0 20%;
	width: 20%;
	padding-top: 12px;
	overflow: auto;
}
.list-page.split-page > .body-list {
	flex: 1 1 auto;
	width: 79%;
	padding-top: 12px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}
.list-page.split-page > .body-list > .main-contents {
	flex: 0 0 auto;
}
.list-page.split-page > .body-list > form {
	flex: 1 1 auto;
	min-height: 0;
	overflow: auto;
}
.list-page.split-page > .body-list > .pager-bar {
	flex: 0 0 auto;
	width: auto;
	margin: 0;
	padding: 4px 0;
	box-shadow: none;
}

/* 列表页统一筛选工具栏：控件等宽、按钮等宽、单行紧凑 */
.list-toolbar {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	flex-wrap: wrap;
}
.list-toolbar .filter-item {
	flex: 0 0 120px;
	width: 120px;
}
/* 关键词/ASIN 输入框保持较宽，下拉框统一压缩对齐 */
.list-toolbar .filter-item:first-child {
	flex: 0 1 320px;
	width: 320px;
	min-width: 220px;
}
.list-toolbar .filter-actions,
.list-toolbar .filter-right {
	display: flex;
	align-items: center;
	gap: 8px;
}
.list-toolbar .filter-right {
	margin-left: auto;
}
.list-toolbar .form-control {
	width: 100%;
}
.list-toolbar .bootstrap-select {
	width: 100%!important;
}
/* 只约束工具栏操作按钮，避免误伤 bootstrap-select 内部的下拉按钮 */
.list-toolbar .filter-actions .btn,
.list-toolbar .filter-right .btn {
	width: 84px;
	padding-left: 0;
	padding-right: 0;
}
.list-toolbar .filter-actions .btn + .btn,
.list-toolbar .filter-right .btn + .btn {
	margin-left: 0;
}
.list-toolbar .filter-actions .btn.btn-auto,
.list-toolbar .filter-right .btn.btn-auto {
	width: auto;
	padding-left: 12px;
	padding-right: 12px;
}
/* 四个列表的筛选控件统一等宽 */
.list-toolbar.filter-uniform .filter-item,
.list-toolbar.filter-uniform .filter-item:first-child {
	flex: 0 0 200px;
	width: 200px;
	min-width: 0;
}
/* 日期区间/月份控件压缩，避免整行换行 */
.list-toolbar.filter-uniform .filter-item.filter-date {
	flex: 0 0 150px;
	width: 150px;
}

