:root{
	--contract-top-height: 240px;
}

/*common.css*/
html,body{
	height: 100%;
	margin: 0;
	/*color: #446F9B;*/
	color: #138496;
	overflow: hidden;
}
/*兼容firefox浏览器，否则在firefox浏览器中表格的表头没有边框线*/
thead th,thead td{   
	background-clip: padding-box; 
}
/*增加下面3个css才能让滚动时锁定行不乱动*/
table{
	border-collapse: separate;   /*设置表格边框模型*/
	border-spacing: 0px;         /*设置相邻单元格边框之间的距离*/
}
.td-cell{                     /*只有定义了表格的布局算法为fixed 下面的td-cell才会起作用*/
	white-space: nowrap;      /*文本不换行。*/
	text-overflow: ellipsis;  /*超过部分用...代替*/
	overflow: hidden;         /* 超过部分隐藏*/
	word-break: keep-all;
}
.table-bordered{
	border: 0px solid #dee2e6;
}
.table-bordered td,
.table-bordered th{
	border-top: 0px solid #dee2e6;
	border-right: 1px solid #dee2e6;
	border-bottom: 1px solid #dee2e6;
	border-left: 0px solid #dee2e6;
}
/*输入框提示文字颜色*/
.form-control::placeholder{
  color: #b1b5b9;
}

/*头部*/
.breadcrumb{
	min-height: 80px;
	height: 100%;
	margin-bottom: 0;
	color: white;
	/*background-color: #2157b1;*/
	background-color: #2c445a;
	border-radius: 0;
}
.logo{
    font-size: 21px;
	font-weight: bolder;
}
.breadcrumb i{
	font-size: 22px;
	padding: 5px;
}
.breadcrumb a{
	color: white;
	padding: 0;
}
.breadcrumb a:hover{
	text-decoration: none;
	font-weight: bold;
	color: white;
}
.user{
	position: absolute;
	right: 3%;
	color: white;
	text-align: center;
}
/*主体内容*/
.main{
	width: 100%;
	height: calc(100vh - 2px);
	overflow: hidden;
	background: #f1f1f7;
}
/*左侧内容*/
.left{
    height: calc(100vh - 2px); 
	color: white;
	padding-right: 0;
	background-color: white;
	box-shadow: 2px 0 #ebebf3;
}
.list{
	border-top: solid 1px #ebebf3;
	overflow-y: auto;
	/* height: calc(100vh - 170px); */
	background-color: #2c445a;
}
.left .list-group{
	margin-top: 20px;
}
.list .list-group-item{
	border: 0;
	font-size: 19px;
	background-color: #2c445a;
}
.list .list-group-item:hover{
	cursor: pointer;
}
.bi-chevron-right,.bi-chevron-down{
	position: absolute;
	right: 5%;
}
.list .second-list{
	list-style: none;
}
.list a{
	color: white;
	display: block;
	width: 100%;
}
.list a:hover{
	text-decoration: none;
	
}
/*左侧中间list自动伸缩 纵向自动伸缩需要三层 祖父层 父层 子层;如果为横向自动伸缩 只需要父层和子层就行了(父层设为flex即可)*/
.parents{      /*爷爷层*/
	display: flex;
	flex-direction: column;   /*为垂直（纵向）显示*/
	height: calc(100vh - 5px);
}
.parent{      /*父层  设置为弹性盒元素*/
	display: contents;
}
.itself{        /*子层  该层为纵向自动伸缩层*/
	flex: 1;
}
/*---------------------*/
#myTab{
	list-style: none;
	display:none;
	padding-top: 10px;
}
#myTab li{
	padding-left: 10px;
	margin-left: 10px;
}

/*右侧*/
.table th,.table td{
	color: #4c4c4d;
	vertical-align: inherit;
}
.right{
	height: calc(100vh - 2px);
	overflow: hidden;
	background-color: #e6e7e8;
}
.right .edit-button{
	position: absolute;
	right: 2%;
	z-index: 1;
}
.right .card-header{
	background-image: linear-gradient(180deg, #eaf1fe, transparent);
}
.right .card-body{
	padding: 0;
}
.right .card-body .searching{
	margin: .7rem;
}
.ms-auto{
	margin-left: auto!important;
}
.right table tr th{
	vertical-align: middle;
}
.right .border-bottom{
	display: contents;   /*设为上下伸缩容器（flex为左右伸缩）  将子div设flex: 1，则子元素自适应父元素，自动伸缩*/
}
.scroll-table{
	overflow: scroll;
	flex: 1;             /*设为占比1，填充满剩余空间(100%)*/
}
.scroll-table table{
	table-layout: fixed;  /*设置单元格文本样式 为拉动单元格宽度小于文本宽度 如果不设置则单元格宽度不能小于文本宽度*/
}
.scroll-table table thead{
	position: sticky;
	top: 0px; /* 首行永远固定在头部  */
	background-color: white;
	z-index: 150;
}
.modal-header{
	background-image: linear-gradient(180deg, #eaf1fe, transparent);
}
.modal table,th{
	border: 1px solid white;
}
.modal table td{
	padding: 1rem 0;
	border: 1px solid white;
}
.modal .td-name{
	text-align: right;
	vertical-align: middle;
}
/*合同列表*/
/*分隔线*/
.divider{
	width: 100%;
    height: 1px; 
    position: relative;
    background-color: #E5E5E5;
	margin-bottom: 15px;
}
.divider-text{
    position: absolute;  
    background-color: #FFF; 
    padding: 0 8px;
    color: #303133;  
    left: 10px;
    transform: translateY(-50%); 
	color: #939191;
}

.contract_info{
	margin-bottom: -20px;
}
/*
#import_sales_data th:last-child,
#import_sales_data td:last-child,
#contract_table th:last-child,
#contract_table td:last-child{  */
/*锁定最右边*/
.cell-fix-right{
	position: sticky;
	right: 0px;
	transition:box-shadow .3s;
	z-index: 2;
}

/*阴影*/
.cell-fix-right-shadow:after{
	-webkit-box-shadow: inset -10px 0 8px -3px rgba(0,0,0,.15);
	box-shadow: inset -10px 0 8px -8px rgba(0,0,0,.15);
	position: absolute;
	top: 0;
	left: -60px;
	bottom: -1px;
	width: 30px;
	content: "";
	transform: translateX(100%);
}
#contract_table tr:nth-child(odd) td:last-child{
	background-color: #F2F2F2;
}
#import_sales_data th:last-child,
#contract_table th:last-child,
#contract_table tr:nth-child(even) td:last-child{
	background-color: white;
}
#add-contract .td-mark{
	padding-left: 25px;
}
.right .card{
	height: calc(100vh - 10px);
}
.right .card .dropdown-toggle{
	padding: 3px;
	font-size: 15px;
	color: #138496;
}
.second-list{
	height: calc(100vh - 130px);
	padding-right: 0;
	border-right: 1px solid rgba(0,0,0,.125);
}
.second-list li{
	border: 0;
	color: #73879C;
}
.second-list li a{
	color: #73879C;
}
.second-list li:hover{
	cursor: pointer;
	background: #e9f2ff;
	font-weight: bolder;
}
.progress{
	border: solid 1px #138496;
}
.footer{
	margin: 0 1.2rem;
}
.footer a{
	color: #4f77ba;
}
.footer .page-item.active .page-link{
	background-color: #4f77ba;
}
#impodata{
	border: 0px;
}
#impodata td{
	padding: 0;
}
#impodata td:last-child{
	border: 0px;
}
#plan_tbody td{
	padding: 8px 0 0 0;
}
.dropdown-menu a:hover{
	cursor: pointer;
	background: #e9f2ff;
}
a:hover{
	text-decoration: none;
}
#con_setting .card-body,#con_screen .card-body,#sales_setting .card-body,
#sales_screen .card-body,#collection_setting .card-body,#collection_screen .card-body,
#report_setting .card-body,#report_screen .card-body,#temp_var_list .card-body{
	height: 100%;
	background: #e6eef2;
}
#con_setting ul,#sales_setting ul,#collection_setting ul,#report_setting ul,#temp_var_list ul{
	list-style: none;
	margin: 10px 0 0 10px;
}
.base_data_search{
	list-style: none;
	margin: 10px 0 0 10px;
}
.base_data_search li{
	float: left;
	width: 100px;
}
#con_setting ul li,#sales_setting ul li,#collection_setting ul li,#report_setting ul li,#temp_var_list ul li{
	float: left;
	width: 150px;
	margin-bottom: 15px;
}
.show_title{
	padding: 0 0 0 10px;
	font-size: 18px;
	font-weight: bolder;
	margin-bottom: 0;
}
h3 a{
	font-size: 16px;
	color: #446F9B;
	padding-left: 15px;
}
#con_screen table,#sales_screen table,#collection_screen table,#report_screen table{
	width: 99%;
	border: none;
	margin: .35rem .2rem;
}
#con_screen table td,#sales_screen table td,#collection_screen table td,#report_screen table td{
	padding: .35rem;
	border: none;
	vertical-align: middle;
	text-align: right;
}
#username{
	font-weight: bolder;
	font-size: 16px;
	vertical-align: middle;
	color: #4e5557;
}
#show_set{
	padding: 3px 10px;
}
.btn-outline-info{
	border-radius: 0;
}
#logout{
	height: 90px;
	
	vertical-align: middle;
	padding: 0 10px;
	background: #2c445a;
}
#logout table{
	width: 100%;
	border-top: solid 1px #ccc;
	height: 80px;
}
#logout a{
	text-align: left;
	vertical-align: middle;
}
#logout #username{
	color: white;
}
#userlogout{
	width: 10%;
	font-weight: bolder;
	font-size: 20px;
	cursor: pointer;
	vertical-align: top;
	padding-top: 8px;
	color: white;
}
.set_button{
	position: absolute;
	right: 20px;
	bottom: 10px;
}
.list_title{
	text-align: left;
	vertical-align: top;
	width: 80px;
	padding-top: 10px;
}
/*改写复选框颜色*/
.custom-control-input:checked~.custom-control-label::before{
      background-color: #138496;
      border-color: #138496;
}
/*改写单选框样式（实心）*/
.custom-radio .custom-control-input:checked ~ .custom-control-label::after{
	/* background-image: url(""); */
}
.loadForms{
	cursor: not-allowed;
	width: 100%; 
	height: 100%;
	position: fixed;
	z-index: 9999;
	background-color: rgba(235, 235, 235, 0.55);
	top: 0px;
}
.dropdown-item{
	color: #138496;
}
#downfile{
	position: absolute;
	right: 20px;
	margin: 0 0 5px 0;
}
.fileDiv{
	width: 100px;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.fileDiv input {
	width: 100px;
	height: 40px;
	background-color: #FFF;
	position: absolute;
	left: 0;
	top: 0;
	opacity: 0;
	-ms-filter: 'alpha(opacity=0)';
}
#import_sales_data{
	height: 400px;
	overflow: scroll;
	border-top: solid 1px #ccc;
}
.contain{
	height: calc(100% - 60px);
	background-color: white;
	padding: 25px 15px;
	margin-right: 15px;
	color: #454f51;
}
.contain ul{
	list-style: none;
	font-size: 1.15rem;
	color: #138496;
	padding-bottom: 15px;
}
.contain ul li{
	width: 15%;
	cursor: pointer;
	float: left;
}
.contain ul li i{
	margin-right: 15px;
}
.contain .report_type{
	width: 100%;
	padding-bottom: 40px;
}
.base_table{
	height: calc(100vh - 136px);
	overflow: scroll;
	border-top: solid 0.5px #ccc;
}
#back_bb{
	cursor: pointer;
}
#settlement_ratio td{
	padding: 5px;
}
#add-contract .modal-body table td{
	padding: 0.3rem 0;
}

/*合同模板*/
#template_table{
	height: calc(100vh - 90px);
	overflow: scroll;
	border-top: solid 0.5px #ccc;
}

/*switch按钮样式*/
.switch{display:inline-block;}

.bootstrap-switch{
	border-radius:22px;    
	width: 52px !important;
	height: 22px !important;
}   

.bootstrap-switch .bootstrap-switch-handle-off, 
.bootstrap-switch .bootstrap-switch-handle-on, 
.bootstrap-switch .bootstrap-switch-label{
	padding:0px;
    font-size: 12px;
    display: inline-block;
}

.bootstrap-switch .bootstrap-switch-label{
	width:42px !important;
	height: 22px;
	border-radius:11px !important;
	position:relative;
}

.bootstrap-switch .bootstrap-switch-handle-on{
	width: 52px !important;
    margin-right: -22px;
    padding-right: 22px;
}

.bootstrap-switch .bootstrap-switch-handle-off{
	width: 52px !important;
    border-radius: 11px;
    margin-left: -11px;
    padding-right: 2px;
    position:relative;
    color:#fff !important;
}
/*switch按钮样式结束*/
/*对账单*/
.dj_content{
	height: calc(100vh - 100px);
	overflow: scroll;
	width: 100%;
	background-color: white;
}
/*
#report_table th:first-child,
#report_table thead tr:nth-child(3) td:first-child,
#report_table tbody td:first-child,
#Collectionreport_table th:first-child,
#Collectionreport_table td:first-child{   */
.cell-fix-left{
	position: sticky;
	left: 0px;
	z-index: 100;
	transition:box-shadow .3s;
}
/*阴影*/
.cell-fix-left-shadow:after{
	-webkit-box-shadow:10px 0 8px -3px rgba(0,0,0,.15);
	box-shadow:inset 10px 0 8px -8px rgba(0,0,0,.15);
	position: absolute;
	top: 0;
	right: 0;
	bottom: -1px;
	width: 30px;
	content: "";
	transform: translateX(100%);
}
#sales_table tr:nth-child(odd) td:first-child,
#collection_table tr:nth-child(odd) td:first-child,
#report_table tr:nth-child(odd) td:first-child,
#Collectionreport_table tr:nth-child(odd) td:first-child{
	background-color: #F2F2F2;
}
#sales_table th:first-child, 
#sales_table tbody tr:nth-child(even) td:first-child,
#collection_table th:first-child, 
#collection_table tbody tr:nth-child(even) td:first-child,
#report_table th:first-child, 
#report_table tbody tr:nth-child(even) td:first-child,
#Collectionreport_table th:first-child, 
#Collectionreport_table tbody tr:nth-child(even) td:first-child{
	background-color: white;
}
/*合计行颜色*/
#report_table thead tr:nth-child(3) td:first-child,
#Collectionreport_table thead tr td:first-child,
.th_sum{
	background-color: #d8ebf5;
}
#div_info_dz{
	width: 1100px;
	background-color: #e6e7e8;
	margin-top: 10px;
	padding: 30px 0px;
	min-height: calc(100vh - 130px);
	position: relative;
}
#div_info{
	width: 750px;
	background-color: #e6e7e8;
	margin-top:10px; 
	padding: 30px 0px; 
	min-height: calc(100vh - 130px);
	position:relative;
}
#back_js{
	cursor: pointer;
}
#zlmx_body{
	max-height: 600px;
	overflow-y: scroll;
	padding: 0;
}
#zlmx_body table tbody tr:last-child{
	position: sticky;
	bottom: 0;
	background-color: #bbe0e4;
	z-index: 100;
} 
#zlmx_body table thead th{
	position: sticky;
	top: 0;
	background-color: white;
	z-index: 100;
}
#zlmx_body table{
	margin: 0;
}
/*首页*/
.home_infotitle{
	margin: 15px 0;
	width: 100%;
	height: 30px;
	line-height: 30px
}
.home_infotitle_name{
	color: #454f51;
	float: left;
	font-size: 1.5rem;
	margin-right: 20px;
}
.home_title{
	height: 100%;
	min-height: 100px;
	width: 100%;
	padding: 15px;
	position: relative;
	float: left;
	border-radius: 3px;
	color: white;
}
.home_title i{
	font-size: 2.8em;
	font-weight: 800;
	float: left;
	margin-right: 20px;
}
.home_title .total_name{
	font-size: 1.1rem;
}
.home_title .total_number{
	font-size: 1.5rem;
	font-weight: bolder;
}
#chart_picture{
	height: calc(100% - 130px);
	overflow: scroll;
	margin-right: -17px;
}
.home_row{
	margin-right: 5px;
	margin-bottom: 10px;
}
.home_row .col-md-4,.home_row .col-md-6,.home_row .col-md-3{
	padding-right: 0;
}
.home_row .col-md-4 .card{
	padding: 5px;
	height: 100%;
}
.home_row .col-md-6 .card{
	height: 100%;
	min-height: 520px;
}
.home_row .col-md-4 .card-heading{
	font-size: 18px;
}
/*表单据清除按钮*/
.clearcon{
	position: fixed;
	margin-left: -43px;
	top: 19px;
}
.clearcon:hover{
	cursor: pointer;
}

/*合同模板*/
.ico_att{
	background: url(../img/annex.png) no-repeat;
	background-position-y: 7%;
}

.popover{
	max-width: 100%;
}

/*登录页面*/
.container{
	background-color: #f1f1f1;
	background-image: url("../img/bg.png");
	background-size: cover;
	text-align: center;
}
.container form{
	margin: 8%;
}
h1{
	color: white;
	margin-top: 10px;
}
.login-form{
	margin: 15% 28%;
	padding: 4%;
	border: solid 1px #ccc;
	border-radius: 6px;
	box-shadow: 0 0 10px 6px rgba(0, 0, 0, .5);
}
.login-form .form-control{
	height: 45px;
	margin: 45px 0;
	opacity:0.8;
}
.login-form .sub-btn{
	margin-top: 60px;
	text-align: center;
}
.login-form .sub-btn button{
	width: 100%;
	height: 45px;
	font-weight: bold;
}

/*锁定数据*/
.lock-data{
	color: red !important;
}