@font-face {
    font-family: numFamily;
    src: url(/font/om.ttf)
}

html, body {
	margin: 0;
	padding: 0;
	height: 100%;
}

body {
	position: relative;
	font-size: 14px;
	font-family: 微软雅黑,Microsoft YaHei,Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Arial,sans-serif!important;
	-webkit-font-smoothing: antialiased!important;
   	text-rendering: optimizeLegibility!important;
}

* {
	margin: 0;
    padding: 0;
	-webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
	outline: none;
}

a {
	text-decoration: none;
}

.select-text {
	-webkit-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.comp-input {
	border: 1px solid #3e4e6c;
	border-radius: 4px;
	padding: 0 15px;
	width: 100%;
	height: 36px;
	color: #98a7b9;
	font-size: 13px;
	background-color: #20293c;
	box-sizing: border-box;
	transition: .2s;
}

.comp-input::placeholder {
	color: rgba(255,255,255,0.3);
}

.comp-input:focus {
	border: 1px solid #1f8efa;
	color: #1f8efa;
}

.comp-text {
	border: 1px solid #3e4e6c;
	border-radius: 4px;
	padding: 10px 15px;
	width: 100%;
	color: #98a7b9;
	font-size: 13px;
	background-color: #20293c;
	box-sizing: border-box;
	resize: none;
	transition: .2s;
}

.comp-text::placeholder {
	color: rgba(255,255,255,0.3);
}

.comp-text:focus {
	border: 1px solid #1f8efa;
	color: #1f8efa;
}

.comp-checkbox {
	display: inline-block;
	border: 1px solid #3e4e6c;
	border-radius: 2px;
	padding: 2px;
	width: 20px;
	height: 20px;
	background-color: #20293c;
	box-sizing: border-box;
	cursor: default;
	transition: .2s;
}

.comp-checkbox .badge {
	display: none;
	border-radius: 1px;
	width: 100%;
	height: 100%;
	background-color: #1f8efa;
}

.comp-checkbox:hover {
	border-color: #1f8efa;
}

.comp-checkbox.active {
	border-color: #1f8efa;
}

.comp-checkbox.active .badge {
	display: block;
}

.comp-select {
	position: relative;
	border: 1px solid #3e4e6c;
    border-radius: 4px;
    padding: 0 30px 0 15px;
    width: 100%;
    height: 36px;
    background-color: #20293c;
    box-sizing: border-box;
    cursor: pointer;
    transition: border-color .2s;
}

.comp-select .value {
	overflow: hidden;
	line-height: 34px;
	color: rgba(255,255,255,0.3);
    font-size: 13px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.comp-select .value.active {
	color: #1f8efa;
}

.comp-select>.icon {
	position: absolute;
    top: calc(50% - 6px);
    right: 11px;
    transition: transform .3s;
}

.comp-select .reset {
	position: absolute;
	top: 0;
	right: 0;
	border-radius: 4px;
	width: 30px;
	height: 34px;
	background-color: #20293c;
	opacity: 0;
	transition: .1s;
}

.comp-select .reset svg {
	position: absolute;
    top: calc(50% - 8px);
    left: calc(50% - 8px);
}

.comp-select .reset svg path {
	transition: .2s;
}

.comp-select .reset:hover svg path {
	fill: #1f8efa;
}

.comp-select:hover {
	border-color: #1f8efa;
}

.comp-select.selected:hover .reset {
	opacity: 1;
}

.comp-select .dropdown {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1;
	margin-top: 11px;
	border-radius: 4px;
	width: 100%;
	background-color: #fff;
	box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .1);
	transform-origin: center top;
}

.comp-select .dropdown .arrow {
	position: absolute;
	top: -11px;
	left: 35px;
    border-style: solid;
    border-color: transparent;
	border-top-width: 0;
	border-bottom-color: #fff;
	border-width: 6px;
	width: 0;
    height: 0;
	filter: drop-shadow(0 2px 12px rgba(0, 0, 0, .03));
}

.comp-select .dropdown .list {
	overflow-y: auto;
	padding: 6px 0;
	max-height: 340px;
}

.comp-select .dropdown .list .option {
    overflow: hidden;
    padding: 0 20px;
    height: 34px;
    line-height: 34px;
    color: #606266;
    font-size: 13px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.comp-select .dropdown .list .option:hover {
	background-color: #f5f7fa;
}

.comp-select .dropdown .list .option.active {
	color: #409eff;
    font-weight: 700;
}

.comp-select.active {
	border-color: #409eff;
}

.comp-select.active>.icon {
	transform: rotate(-180deg);
}

.comp-date {
	position: relative;
	border: 1px solid #3e4e6c;
    border-radius: 4px;
    padding-left: 30px;
    width: 100%;
    height: 36px;
    background-color: #20293c;
    box-sizing: border-box;
    cursor: pointer;
    transition: border-color .2s;
}

.comp-date .value {
	overflow: hidden;
	line-height: 34px;
	color: rgba(255,255,255,0.3);
    font-size: 13px;
    font-family: numFamily;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: center;
}

.comp-date .value.active {
	color: #1f8efa;
}

.comp-date>.icon {
	position: absolute;
    top: calc(50% - 9px);
    left: 11px;
    opacity: 0.7;
}

.comp-button {
	overflow: hidden;
	border: none;
	border-radius: 4px;
	padding: 0 16px;
	height: 36px;
	color: #fff;
	font-size: 13px;
	background-color: #1f8efa;
	box-sizing: border-box;
	cursor: pointer;
	transition: .2s;
}

.comp-button:active {
	background-color: rgba(31,142,250,0.7);
}

.comp-button.disabled {
	color: #d2d2d2;
	background-color: #FBFBFB;
	opacity: 0.7;
	cursor: not-allowed;
}

.comp-button.cancel {
	color: #777;
	background-color: #fff;
}

.comp-button.cancel:active {
	background-color: rgba(255,255,255,0.7);
}

.comp-button.cancel.disabled {
	color: #d2d2d2;
	background-color: #FBFBFB;
	opacity: 0.7;
	cursor: not-allowed;
}

.comp-button.danger {
	color: #fff;
	background-color: #FF5722;
}

.comp-button.danger:active {
	background-color: rgba(255,87,34,0.7);
}

.comp-button.danger.disabled {
	color: #d2d2d2;
	background-color: #FBFBFB;
	opacity: 0.7;
	cursor: not-allowed;
}

.comp-button.sm {
	padding: 0 10px;
	height: 30px;
	font-size: 12px;
}