.m-1{ margin: 10px;}
.mx-1{ margin-left: 10px; margin-right: 10px;}
.my-1{ margin-top: 10px; margin-bottom: 10px;}
.mt-1{margin-top: 10px;}
.mt-2{margin-top: 20px;}
.mt-3{margin-top: 30px;}
.mt-4{margin-top: 40px;}
.mt-5{margin-top: 50px;}
.mt-6{margin-top: 60px;}

.mb-1{margin-bottom: 10px;}
.mb-2{margin-bottom: 20px;}
.mb-3{margin-bottom: 30px;}
.mb-4{margin-bottom: 40px;}
.mb-5{margin-bottom: 50px;}
.mb-6{margin-bottom: 60px;}

.p-0 { padding: 0; }
.p { padding: 5px; }
.p-1 { padding: 10px; }
.p-2 { padding: 20px; }
.p-3 { padding: 30px; }
.p-4 { padding: 40px; }
.p-5 { padding: 50px; }

.pt-0 { padding-top: 0; }
.pt { padding-top: 5px; }
.pt-1 { padding-top: 10px; }
.pt-2 { padding-top: 20px; }
.pt-3 { padding-top: 30px; }
.pt-4 { padding-top: 40px; }
.pt-5 { padding-top: 50px; }

.pb-0 { padding-bottom: 0; }
.pb { padding-bottom: 5px; }
.pb-1 { padding-bottom: 10px; }
.pb-2 { padding-bottom: 20px; }
.pb-3 { padding-bottom: 30px; }
.pb-4 { padding-bottom: 40px; }
.pb-5 { padding-bottom: 50px; }

.pl-0 { padding-left: 0; }
.pl { padding-left: 5px; }
.pl-1 { padding-left: 10px; }
.pl-2 { padding-left: 20px; }
.pl-3 { padding-left: 30px; }
.pl-4 { padding-left: 40px; }
.pl-5 { padding-left: 50px; }

.pr-0 { padding-right: 0; }
.pr { padding-right: 5px; }
.pr-1 { padding-right: 10px; }
.pr-2 { padding-right: 20px; }
.pr-3 { padding-right: 30px; }
.pr-4 { padding-right: 40px; }
.pr-5 { padding-right: 50px; }

.py { padding-top: 5px; padding-bottom: 5px; }
.py-0 { padding-top: 0; padding-bottom: 0; }
.py-1 { padding-top: 10px; padding-bottom: 10px; }
.py-2 { padding-top: 20px; padding-bottom: 20px; }
.py-3 { padding-top: 30px; padding-bottom: 30px; }
.py-4 { padding-top: 40px; padding-bottom: 40px; }
.py-5 { padding-top: 50px; padding-bottom: 50px; }

.px-0 { padding-left: 0; padding-right: 0; }
.px { padding-left: 5px; padding-right: 5px;}
.px-1 { padding-left: 10px; padding-right: 10px;}
.px-2 { padding-left: 20px; padding-right: 20px;}
.px-3 { padding-left: 30px; padding-right: 30px;}
.px-4 { padding-left: 40px; padding-right: 40px;}
.px-5 { padding-left: 50px; padding-right: 50px;}

.text-center{ text-align: center;}
.text-left{ text-align: left;}
.text-right{ text-align: right;} 

/* 浮动 */
.fl{ float: left;}
.fr{ float: right; }

/* 字体大小 */

.font { font-size: 16px;}
.font-12{ font-size: 12px;}
.font-13{ font-size: 13px;}
.font-14{ font-size: 14px;}
.font-15{ font-size: 15px;}
.font-16{ font-size: 16px;}
.font-18{ font-size: 18px;}
.font-md { font-size: 20px;}
.font-lg { font-size: 25px !important;}

/* 文字颜色 */
.text-white {color: #ffffff;}
.text-primary {color: #007bff;} /*蓝色*/
.text-hover-primary { color: #0056b3;}
.text-secondary {color: #6c757d;} /*深灰色*/
.text-secondary:hover{ color:#494f54;}
.text-hover-secondary { color: #494f54;}
.text-success {color: #28a745;}
.text-hover-success{color: #19692c;}
.text-info { color: #17a2b8;}
.text-hover-info {color: #0f6674;}
.text-warning {color: #ffc107;}
.text-warning:hover { color: #ba8b00;}
.text-danger { color: #dc3545;}
.text-hover-danger { color: #a71d2a;}
.text-light { color: #f8f9fa;}
.text-hover-light { color: #cbd3da;}
.text-dark { color: #343a40;}
.text-hover-dark{ color: #121416;}
.text-body { color: #212529;}
.text-muted { color: #6c757d;}
.text-grey{ color: #d2d4d6 !important;}
.text-blue {color: #005BE0 !important;}
.text-blue:hover{ color: #3B8BFF !important;}

.text-red{ color: #ff0000;}

/* 背景颜色 */
.bg-primary { background-color: #007bff;} /*蓝*/
.bg-hover-primary:hover{ background-color: #0062cc;} /*深蓝*/
.bg-secondary { background-color: #6c757d;} /*深灰*/
.bg-hover-secondary:hover{ background-color: #545b62;}/*深灰*/
.bg-success { background-color: #28a745 !important; border:solid 1px #28A745 !important;} /*绿*/
.bg-hover-success { background-color: #1e7e34;} /*深绿*/
.bg-info { background-color: #17a2b8;} /*淡蓝*/
.bg-hover-info { background-color: #117a8b;} /*淡深蓝*/
.bg-warning { background-color: #ffc107;} /*黄*/
.bg-hover-warning { background-color: #d39e00;} /*深黄*/
.bg-danger { background-color: #dc3545;} /*绿*/
.bg-hover-danger{ background-color: #bd2130;} /*深红*/
.bg-light { background-color: #f8f9fa;} /*淡灰*/
.bg-hover-light{ background-color: #dae0e5;} /*灰*/
.bg-dark { background-color: #343a40;} /*绿*/
.bg-hover-dark { background-color: #1d2124;} /*黑*/
.bg-white { background-color: #ffffff;} /*白*/
.bg-transparent { background-color: transparent;}
.bg-red{ background-color:#f34347;}

/*圆角*/
.round-mini{ border-radius: 0.5rem;}
.round-mi{ border-radius: 1rem;}

.cursor-pointer{ cursor: pointer;}

/* flex */
.flex{display: flex;}
.flex-center{ justify-content: center;}
.flex-start{ justify-content: start;}
.flex-end{ justify-content: flex-end;}
.flex-align-center{ align-items: center;}
.flex-between{ justify-content: space-between;}
.flex-row{ flex-flow: row nowrap; }
.flex-wrap{ flex-wrap: wrap;}




/*position*/
.position-relative{ position: relative;}
.position-absolute{ position: absolute;}

/**/
.disp-block{ display: block !important;}
.w-100{ width: 100%;}
.w-5{ width: 50%;}
.w-4{ width: 40%;}
.w-3{ width: 30%;}
.w-2{ width: 20%;}
.w-1{ width: 10%;}

.h-100{ height: 100%;}


/* 按钮 */
.btn{
	border: solid 1px #cccccc;
	border-radius: 0.5rem;
	padding: 0.5rem;
}

.btn-mini{
	border: solid 1px #cccccc;
	border-radius: 0.5rem;
	padding: 0.1rem 0.8rem;
}


.white-nowrap{ white-space: nowrap;}