/* 全局修正BootStrap4，全系统共用，禁止其它样式*/
@media screen and (max-width: 1200px) {
	html,body{width: 1200px;}
}
:root{
	--ThemeColor:#3b7cba;
}

html{font-size:0.75rem;height: calc(100% - env(safe-area-inset-bottom)) !important;}
html,body {width: 100%;height: 100%;margin:0;padding: 0;}
body{font-family: "Microsoft YaHei",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";}

ul,li{list-style: none;}
a,a:link,a:visited{text-decoration: none;}

.ThemeBG{
	background-color:var(--ThemeColor);
	background-color:#3b7cba\0;
}

pre{font-size:1rem;}

/*btn*/
.btn-secondary {
    color: #fff;
    background-color: #286790;
    border-color: #8dbfe0;
}
.btn-secondary:hover {
    background-color: #005a97;
}
.btn-secondary:not(:disabled):not(.disabled).active:focus, .btn-secondary:not(:disabled):not(.disabled):active:focus, .show>.btn-secondary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgb(4 132 245 / 50%);
}
.btn-secondary:not(:disabled):not(.disabled).active, .btn-secondary:not(:disabled):not(.disabled):active, .show>.btn-secondary.dropdown-toggle {
    color: #fff;
    background-color: #286790;
    border-color: ##8dbfe0;
}
.btn-secondary.focus, .btn-secondary:focus {
    box-shadow: 0 0 0 0.2rem rgb(8 129 234 / 50%);
}

/*form*/
.form-control:focus {
    border: 1px solid var(--ThemeColor);
    border: 1px solid #3b7cba\0;
	box-shadow: 0 0 0.3rem var(--ThemeColor);
}
.form-control{
	color:#111;
}
.form-control:disabled, .form-control[readonly] {
    background-color: #f0f0f0;
    opacity: 1;
}
/*table*/
body .table td, .table th {padding:0.3rem;}
body .table thead th{border-bottom: 0;}
body .table tr:last-child td,.table tr:last-child th{border-bottom: 1px solid #dee2e6;}
body .bootstrap-table .fixed-table-container .table thead th .th-inner {padding:0.5rem;}
body .bootstrap-table .fixed-table-toolbar .bs-bars, .bootstrap-table .fixed-table-toolbar .search, body .bootstrap-table .fixed-table-toolbar .columns {
    margin-top: 0.5rem;
    margin-bottom: 0.8rem;
}
/*card*/
.card-header {padding: 0.35rem 1.0rem;}
.card-body {padding:0;}

/*modal*/
.modal-dialog-scrollable .modal-body {overflow-x: hidden;} /*modal框禁止横向滚动*/

/*tab*/
.nav-tabs {
	border-bottom: 1px solid var(--ThemeColor);
	border-bottom: 1px solid #3b7cba\0;
}
.nav-tabs .nav-link {color: rgb(73, 80, 87);}
.nav-tabs .nav-item { margin-top: 0.25rem;}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    border-color: var(--ThemeColor) var(--ThemeColor) #fff;
    /* border-color: #3b7cba\0 #3b7cba\0 #fff; */
}
.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
    border-color: var(--ThemeColor) var(--ThemeColor) transparent;
    /* border-color: #3b7cba\0 #3b7cba\0 transparent; */
}

/*.table td, .table th{text-align: center;}*/
#schedule_list{width: 100%;}

/*千里之外 其实就是藏起来*/
.outwindow{position:fixed;left:-10000px;top:-10000px;}

/*右上角tip*/
.tip-count,.chat_count{
	margin-left: -8px; vertical-align: text-top; margin-top: -8px;
}

/*label必填*/
label.require:before{
	content: '*';
	color: red;
	margin-right: 0.25rem;
}

/*dropdown-hover*/
.dropdown-hover:hover > .dropdown-menu{
	display:block;
}

/*file-input*/
.file-caption-main {
	display:block;
}
.file-caption{
	display:none;
}

.dropdown-menu-bg{
    position: fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,0.1)
}

.table_long_text{
    width: 120px;
    /*max-width: 120px;*/
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
    display: block;
}

.cur_p{
    cursor: pointer;
}

.w-s-n td{
    white-space:nowrap;
}
.w-s-d td{
    word-wrap:break-word;
}

/*金额单位*/
.moneyDiv{
	display: inline-block;
	position: relative;
}
.moneyDiv span{
    position: absolute;
    color: rgba(0,123,255,.5);
    line-height: 1rem;
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem; 
}
.moneyDiv input{
	padding-left: 15px !important;
}

/*金额显示 横板*/
.moneyView{
    color: rgba(0,123,255,.5);
}