@charset "UTF-8";

:root{
	--tblr-body-font-size: 14px;
	--tblr-bg-surface-tertiary: var(--tblr-gray-100);
	--dap-special_bgcorlor:var(--tblr-bg-surface-tertiary);
	
	--dap-special_border:var(--tblr-border-color);
	--dap-special_bgform:var(--tblr-bg-forms);
	--dap-special_primary: var(--tblr-primary);
	
	--tblr-font-sans-serif: 'Inter Var', -apple-system, BlinkMacSystemFont,'Microsoft YaHei', '微软雅黑', 'MicrosoftJhengHei', San Francisco, SegoeUI, Roboto, Helvetica Neue, sans-serif, Noto Sans, sans-serif,'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol','Noto Color Emoji';
}

:host, :root, [data-bs-theme=light]{
	--dap-special_bgcorlor:var(--tblr-bg-surface-tertiary);
	--dap-special_border:var(--tblr-border-color);
	--dap-special_bgform:var(--tblr-bg-forms);
}

[data-bs-theme=dark], body[data-bs-theme=dark] [data-bs-theme=light]{
	--dap-special_bgcorlor:var(--tblr-bg-surface-tertiary);
	--dap-special_border:var(--tblr-border-color);
	--dap-special_bgform:var(--tblr-bg-forms);
}

body {
	font-feature-settings: "cv03", "cv04", "cv11";
	margin: 0px;
	font-family: var(--tblr-font-sans-serif);
}

.progress, .progress-stacked{
	--tblr-progress-height:2.2rem;
	--tblr-progress-font-size:2rem;
	width: auto;
}

#sidebar-menu i.fas {
	font-size: 16px;
}

.navbar-nav{
	font-size: 16px;
}

.navbar-vertical.navbar-expand-lg .navbar-nav-bottom.navbar-nav {
     flex-grow:initial;
 }
 
 .avatar.avatar-sm{
 	background: transparent;
 	box-shadow: none;
 }

.btn.dap_action_btn,.dap_design_comp_btn.btn{
	min-width:6rem;
	margin:0.25rem;
	--tblr-btn-padding-x: 0.5rem;
    --tblr-btn-padding-y: 0.4rem;
}

@media (max-width: 576px) {
	.btn.dap_action_btn,.dap_design_comp_btn.btn{
		min-width:3rem;
	}
}

@media (min-width: 768px) {
	.btn.dap_action_btn,.dap_design_comp_btn.btn{
		min-width:5rem;
	}
}

.form-select{
	width: auto;
	display: inline-block;
}

.btn.dap_action_btn>.spinner-border{
	--tblr-spinner-width: 1rem;
    --tblr-spinner-height: 1rem;
}

.btn.btn-sm:not(.btn-icon){
	min-width: 3rem;
    margin: 0 0.25rem;
    --tblr-btn-padding-x: 0.5rem;
    --tblr-btn-padding-y: 0.25rem;
}

.dap_design_comp_btn.btn{
	 margin:0rem .25rem;
}

.modal-fullscreen{
	width: 100%;
}

.modal-fullscreen .modal-body{
	padding: 0px;
}

.dap_data_form .form-control{
	display: inline-block;
	padding: .3rem .5rem;
	margin:0.15rem 0rem;
	
    width: auto;
    -webkit-appearance: auto; 
    -moz-appearance: auto;
    appearance: auto;   
}

.datepicker .form-control{
	padding: .3rem .5rem;
	max-width: 3rem;
	
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	 -o-appearance: none !important;
	 -ms-appearance: none !important;
	 appearance: none !important;
	 margin: 0;
	 display: inline-block;
}

input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  -o-appearance: none !important;
  -ms-appearance: none !important;
  appearance: none !important;
  margin: 0;
}

.dap_data_form.card{
	display: table;
}

.dap_layout_title{
	background: var(--tblr-bg-surface-secondary);
	color: var(--tblr-secondary);
}

.dap_form_title.card-header{
	display: block;
	padding: .75rem .5rem;
	font-weight: bold;
	text-align: center;
	font-size: 1.15rem;
}

.table.dap_layout_list_data thead tr.dap_layout_title th{
    font-size: 0.9rem;
}

.table.dap_layout_list_data>:not(caption)>*>* {
    padding: .5rem .25rem;
}

.table.dap_layout_list_data>tfoot>*>* {
    border-bottom-width:0px;
}

.float-right{
	float: right;
}

.float-left{
	float: left;
}

.float-right.btn-group.pagination,.float-right.btn-group.pagination .page-item,.float-right.dap_page_excel{
	display: inline-block;
	width: auto;
	box-shadow:none;
}

.float-right.btn-group.pagination input.page-item.form-control.page-link{
	border: var(--tblr-border-width) solid var(--tblr-border-color);
	padding: .1rem .25rem;
}

.float-right.dap_page_excel{
	padding: .5rem;
}

.jumbotron .alert{
	min-height: 10rem;
	padding-top: 4rem;
	border: 0px;
}

.dap_control_dateinput{
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	margin-right: 0px;
}

.dap_control_dateinput_picker{
	margin-left:0px;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	
	position: relative;
    top:-1.5px;
    left:-1px;
	
	min-width: 26px;
	min-height: 30px;
	--tblr-btn-padding-x: 0;
    --tblr-btn-padding-y: .5rem;
    --tblr-btn-border-color: var(--tblr-border-color);
}

.dap_design_form_title,td.dap_design_form_container>table>tbody>tr:first-child{
	background-color: var(--tblr-bg-forms);
}

.dap_design_form_component_title .dap_action.dap_action_btn{
	max-width: 4rem;
	min-width: 4rem;
}


.dap_design_form_container{
	width:100%;
	text-align:center;
	background-color: var(--tblr-bg-surface-tertiary);
}

.dap_design_form_container>table{
	height:100%;
	width:100%;
}

.dap_design_form_component{
	width:120px;
	vertical-align: top;
	text-align: left;
}

.dap_design_form_component table{
	width: 100%;
	text-align: center;
}

.dap_design_form_preview{
	text-align:center;
	vertical-align:top;
}

.dap_design_form_preview_parent{
	position:relative;
	vertical-align: top;
	text-align: left;
	overflow:auto;
	width:100%;
}

.dap_design_form_property,.dap_design_form_property_title{
	max-width:360px;
	text-align:left;
	vertical-align:top;
	width: 25%;
}

@media (min-width: 1200px){
	.dap_design_form_property,.dap_design_form_property_title{
		width: 360px;
	}
}

@media (max-width: 1199px){
	.dap_design_form_property,.dap_design_form_property_title{
		width:25%;
	}
}


.dap_design_form_property_parent{
	position:relative;
	vertical-align: top;
	text-align: left;
	width:100%;
	overflow-y:auto;
}

.dap_design_form_component_title{
	width:120px;
	text-align:left;
	vertical-align:middle;
}

.dap_design_form_preview_title,.dap_design_form_property_title{
	text-align:left;
	vertical-align:middle;
}

.dap_design_comp_btn{
	width:98%;
}

.dap_design_drag{
	background:#99FFFF;
}

.dap_design_selected_comp {
	background-color: #5caae8 !important;
}

.dap_screen_tablet .dap_design_form_preview_parent,body.dap_screen_tablet .dap_data_form{
	max-width: 768px;
	margin-left: auto;
	margin-right: auto;
}

.dap_screen_mobile .dap_design_form_preview_parent,body.dap_screen_mobile .dap_data_form{
	max-width: 370px;
	margin-left: auto;
	margin-right: auto;
}

.dap_border_table:not(.dap_layout_list_data)>tbody>tr>td{
	border: 1px solid var(--tblr-bg-surface-secondary); 
    vertical-align: middle;
}

.form-check-input{
	line-height: 2.2rem;
	vertical-align: middle;
}

.form-control.dap_control_select{
	min-width: 8rem;
}

.dap_control_zonecode_up.btn.dap_action_btn,.dap_control_zonecode_down.btn.dap_action_btn{
    min-width: 3.5rem;
    margin: 0rem;
    position:relative;
    top:-1px;
    --tblr-btn-padding-x: 0.2rem;
    --tblr-btn-padding-y: 0.3rem;
}

.dap_layout_table_title.card-header.text-left{
	padding: .5rem .25rem;
    font-weight: bold;
    background-color: var(--dap-special_bgcorlor);
}

.dap_design_duplicted_comp{
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 4'%3E%3Cpath fill='none' stroke='%23F00' d='M0 3.5c5 0 5-3 10-3s5 3 10 3 5-3 10-3 5 3 10 3'/%3E%3C/svg%3E") repeat-x 0 100%; 
    background-size: 10px auto;
    
    border-top: 1px  dotted red !important;
    border-left: 1px  dotted red !important;
    border-right: 1px  dotted red !important;
}

span.dap_design_duplicted_comp{
	display: inline-block;
}


.xhe_default td.xheTool span {
	margin: 0px 0px !important; 
}

table.dataTable.dap_border_table{
	margin-top: 0px !important;
	margin-bottom: 0px !important;
}

table.dap_data_form.card:not(.dap_form_query){
	line-height: 1.8rem;
}

.dap_screen_mobile .dap_data_form.dap_mobile_optimized_form>tbody>tr>td>table.dap_layout>tbody>tr>td {
	display: block;
	width: 100%;
	text-align: left;
}

.dap_screen_mobile .dap_data_form.dap_mobile_optimized_form>tbody>tr>td>table.dap_layout>tbody>tr.unprintable>td {
	text-align: center;
}

@media screen and (max-width: 630px) {
	.dap_data_form.dap_mobile_optimized_form>tbody>tr>td>table.dap_layout>tbody>tr>td,
	.dap_single_td>table.dap_layout>tbody>tr>td{
		display: block;
		width: 100%;
		text-align: left;
	}
	
	.dap_data_form.dap_mobile_optimized_form>tbody>tr>td>table.dap_layout>tbody>tr.unprintable>td{
		text-align: center;
		line-height: 2.2rem;
		vertical-align: middle;
	}
}


.nav-link-icon {
    margin-right: .1rem;
}

.dap_data_question {
	line-height: 2rem;			
}


@media print {
	button,input[type='button']{
		display: none;
	}
	
	.unprintable{
		display: none;
	}
	a[href]:after {
	    content: none !important;
	}
}

.dap_design_form_property_parent table.dap_data_form.dap_form_ table.dap_layout_table td{
	padding-top: 0em;
	padding-bottom: 0em;
	padding-left: 0em;
	padding-right: 0em;
	font-size: 14px;
}

.dap_list_item_selected{
	background-color: var(--dap-special_bgcorlor);
}

.dap_data_form.dap_data_epidata .dap_layout td, .dap_data_form.dap_form_add .dap_layout td,
	.dap_data_form.dap_form_edit .dap_layout td {
	padding-left: .25rem;
	padding-right: .25rem;
}

.dap_layout_table_title.card-header:after{
	content:"\f077";
	font-family: "Font Awesome 5 Free";
	justify-content: flex-end;
	margin-left: auto;
	margin-right: .5rem;
	font-weight: 900;
}

.table_collapsed .dap_layout_table_title.card-header:after{
	content:"\f078";
}

.form-control.disabled, .form-control:disabled,.dap_list_outter.disabled,.btn.disabled{
	cursor: not-allowed;
}

.btn-sm.btn-icon {
  min-width: 1.25rem;
  --tblr-btn-font-size: 1rem;
  margin-right: .125rem;
}

@media (max-width: 575.98px) {
    .form-control,.form-select {
        font-size:.875rem;
    }
}

.nav.nav-tabs.card-header-tabs .nav-link{
	padding: var(--tblr-nav-link-padding-y) 8px;
}

@media (min-width: 992px) {
    :host,:root {
        margin-left:0;
        margin-right: 0
    }
}

body.dap_design_model{
	height: 100%;
	overflow-y:hidden; 
}