/* h1,h2,h3,h4,h5,h6 {
	font-weight: 100;
}

h1 {
	font-size: 30px;
}

h2 {
	font-size: 24px;
}

h3 {
	font-size: 16px;
}

h4 {
	font-size: 14px;
}

h5 {
	font-size: 12px;
}

h6 {
	font-size: 10px;
}

h3,h4,h5 {
	margin-top: 5px;
	font-weight: 600;
} */

h5 {
	margin-top: 5px;
	font-weight: 600;
}

h5 small {
	font-size: 75%;
	font-weight: 400;
    line-height: 1;
    color: #777;
}

.site-h1 {
	margin-bottom: 20px;
	line-height: 60px;
	padding-bottom: 10px;
	color: #393D49;
	border-bottom: 1px solid #eee;
	font-size: 28px;
	font-weight: 300;
}

.site-h3 {
	margin-bottom: 20px;
	line-height: 60px;
	padding-bottom: 10px;
	color: #393D49;
	border-bottom: 1px solid #eee;
	font-size: 18px;
	font-weight: 500;
}

p {
	line-height: 22px;
	font-size: 14px;
	color: #666;
}

/*SCROLL*/
::-webkit-scrollbar-track {
	background-color: #F5F5F5;
}

::-webkit-scrollbar {
	width: 6px;
	background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb {
	background-color: #999;
}

/* MARGINS & PADDINGS */
.p-none {
	padding: 0 !important;
}

.p-xxs {
	padding: 5px;
}

.p-xs {
	padding: 10px;
}

.p-sm {
	padding: 15px;
}

.p-m {
	padding: 20px;
}

.p-md {
	padding: 25px;
}

.p-lg {
	padding: 30px !important;
}

.p-xl {
	padding: 40px;
}

.p-t-none {
	padding-top: 0;
}

.p-b-none {
	padding-bottom: 0;
}

.p-l-xs {
	padding-left: 10px;
}

.m-xxs {
	margin: 2px 4px;
}

.m-xs {
	margin: 5px;
}

.m-sm {
	margin: 10px;
}

.m {
	margin: 15px;
}

.m-md {
	margin: 20px;
}

.m-lg {
	margin: 30px;
}

.m-xl {
	margin: 50px;
}

.m-n {
	margin: 0 !important;
}

.m-l-none {
	margin-left: 0;
}

.m-l-xs {
	margin-left: 5px;
}

.m-l-sm {
	margin-left: 10px;
}

.m-l {
	margin-left: 15px;
}

.m-l-md {
	margin-left: 20px;
}

.m-l-lg {
	margin-left: 30px;
}

.m-l-xl {
	margin-left: 40px;
}

.m-l-n-xxs {
	margin-left: -1px;
}

.m-l-n-xs {
	margin-left: -5px;
}

.m-l-n-sm {
	margin-left: -10px;
}

.m-l-n {
	margin-left: -15px;
}

.m-l-n-md {
	margin-left: -20px;
}

.m-l-n-lg {
	margin-left: -30px;
}

.m-l-n-xl {
	margin-left: -40px;
}

.m-t-none {
	margin-top: 0;
}

.m-t-xxs {
	margin-top: 1px;
}

.m-t-xs {
	margin-top: 5px;
}

.m-t-sm {
	margin-top: 10px !important;
}

.m-t {
	margin-top: 15px;
}

.m-t-md {
	margin-top: 20px;
}

.m-t-lg {
	margin-top: 30px;
}

.m-t-xl {
	margin-top: 40px;
}

.m-t-n-xxs {
	margin-top: -1px;
}

.m-t-n-xs {
	margin-top: -5px;
}

.m-t-n-sm {
	margin-top: -10px;
}

.m-t-n {
	margin-top: -15px;
}

.m-t-n-md {
	margin-top: -20px;
}

.m-t-n-lg {
	margin-top: -30px;
}

.m-t-n-xl {
	margin-top: -40px;
}

.m-t-b-xs {
	margin: 5px 0;
}

.m-r-none {
	margin-right: 0 !important;
}

.m-r-xxs {
	margin-right: 1px;
}

.m-r-xs {
	margin-right: 5px;
}

.m-r-sm {
	margin-right: 10px;
}

.m-r {
	margin-right: 15px;
}

.m-r-md {
	margin-right: 20px;
}

.m-r-lg {
	margin-right: 30px;
}

.m-r-xl {
	margin-right: 40px;
}

.m-r-n-xxs {
	margin-right: -1px;
}

.m-r-n-xs {
	margin-right: -5px;
}

.m-r-n-sm {
	margin-right: -10px;
}

.m-r-n {
	margin-right: -15px;
}

.m-r-n-md {
	margin-right: -20px;
}

.m-r-n-lg {
	margin-right: -30px;
}

.m-r-n-xl {
	margin-right: -40px;
}

.m-b-none {
	margin-bottom: 0 !important;
}

.m-b-xxs {
	margin-bottom: 1px;
}

.m-b-xs {
	margin-bottom: 5px;
}

.m-b-sm {
	margin-bottom: 10px;
}

.m-b {
	margin-bottom: 15px;
}

.m-b-md {
	margin-bottom: 20px;
}

.m-b-lg {
	margin-bottom: 30px;
}

.m-b-xl {
	margin-bottom: 40px;
}

.m-b-n-xxs {
	margin-bottom: -1px;
}

.m-b-n-xs {
	margin-bottom: -5px;
}

.m-b-n-sm {
	margin-bottom: -10px;
}

.m-b-n {
	margin-bottom: -15px;
}

.m-b-n-md {
	margin-bottom: -20px;
}

.m-b-n-lg {
	margin-bottom: -30px;
}

.m-b-n-xl {
	margin-bottom: -40px;
}

.space-15 {
	margin: 15px 0;
}

.space-20 {
	margin: 20px 0;
}

.space-25 {
	margin: 25px 0;
}

.space-30 {
	margin: 30px 0;
}

/*TEXT*/
.text-left {
	text-align: left;
}

.text-right {
	text-align: right;
}

.text-center {
	text-align: center;
}

.text-justify {
	text-align: justify;
}

.text-nowrap {
	white-space: nowrap;
}

.text-lowercase {
	text-transform: lowercase;
}

.text-uppercase {
	text-transform: uppercase;
}

.text-capitalize {
	text-transform: capitalize;
}

/* TEXT COLORS */
.text-navy {
	color: #1ab394 !important;
}

.text-primary {
	color: inherit;
}

.text-success {
	color: #1c84c6 !important;
}

.text-info {
	color: #23c6c8 !important;
}

.text-warning {
	color: #f8ac59 !important;
}

.text-danger {
	color: #ed5565 !important;
}

.text-muted {
	color: #888888 !important;
}

/*FONT*/
.font-bold {
	font-weight: 600;
}

.font-noraml {
	font-weight: 400;
}

.font-12 {
	font-size: 12px !important;
}

.font-14 {
	font-size: 14px !important;
}

.font-16 {
	font-size: 16px !important;
}

.font-20 {
	font-size: 20px !important;
}

.font-24 {
	font-size: 24px !important;
}

.font-28 {
	font-size: 28px !important;
}

.font-30 {
	font-size: 30px !important;
}

.font-40 {
	font-size: 40px !important;
}

.font-600 {
	font-weight: 600;
}

/* BACKGROUNDS */
.gray-bg {
	background-color: #F2F2F2;
}

.white-bg {
	background-color: #ffffff;
}

.navy-bg {
	background-color: #1ab394;
	color: #ffffff;
}

.blue-bg {
	background-color: #1c84c6;
	color: #ffffff;
}

.lazur-bg {
	background-color: #23c6c8;
	color: #ffffff;
}

.yellow-bg {
	background-color: #f8ac59;
	color: #ffffff;
}

.red-bg {
	background-color: #ed5565;
	color: #ffffff;
}

.black-bg {
	background-color: #262626;
}

.bg-danger {
	background-color: #FF5722;
	color: #ffffff;
}

.bg-warning {
	background-color: #FFB800;
	color: #ffffff;
}

.bg-info {
	background-color: #01AAED;
	color: #ffffff;
}

/*FORM*/
.has-success .layui-input {
	border-color: #1ab394
}

.has-warning .layui-input {
	border-color: #f8ac59
}

.has-error .layui-input {
	border-color: #ed5565
}

.has-success .layui-form-label {
	color: #1ab394
}

.has-warning .layui-form-label {
	color: #f8ac59
}

.has-error .layui-form-label {
	color: #ed5565
}

.has-error .help-block,.has-error .control-label,.has-error .radio,.has-error .checkbox,.has-error .radio-inline,.has-error .checkbox-inline,.has-error.radio label,.has-error.checkbox label,.has-error.radio-inline label,.has-error.checkbox-inline label
	{
	color: #a94442;
}

.help-block {
	display: block !important;
	margin-top: 5px;
	margin-bottom: 10px;
	color: #737373;
}

.has-success .help-block {
	display: none !important;
}

/*LAYUI FORM*/
.layui-form-lg .layui-form-label {
	width: 155px;
}

.layui-form-lg .layui-input-block {
	margin-left: 155px;
}

.layui-form-item-lg .layui-form-label {
	width: 205px;
}

.layui-form-item-lg .layui-input-block {
	margin-left: 205px;
}

/*INPUT ICON*/
.input-icon {
	position: absolute;
	top: 11px;
	right: 11px;
	font-size: 16px;
	opacity: 0.6;
}

i.input-icon:hover {
	opacity: 0.8;
	cursor: pointer
}

/*BUTTON*/
.btn-block {
	display: block;
	width: 100%;
}

.btn-group-active {
	background-color: #5FB878;
}

/*LINK A*/
a:hover,a:focus {
	color: #009688;
	text-decoration: none;
}

/*LOGIN*/
.layui-canvs {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	z-index: -1;
}

.login-box {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 420px;
	margin-left: -210px;
	margin-top: -257.44px;
	box-shadow: 0 0 40px #fff;
}

/*IMAGE*/
.img-responsive {
	display: block;
	max-width: 100%;
	height: auto;
}

.img-rounded {
	border-radius: 6px;
}

.img-thumbnail {
	padding: 4px;
	line-height: 1.42857143;
	background-color: #ffffff;
	border: 1px solid #dddddd;
	border-radius: 4px;
	-webkit-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	display: inline-block;
	max-width: 100%;
	height: auto;
}

.img-circle {
	border-radius: 50%;
}

.img-box-16-9 {
    position: relative;
	margin: 0 auto;
    text-align: center;
}

.img-box-16-9 img {
	width: 16rem;
    height: 9rem;
}

.img-box-16-9 .btn-box {
    position: absolute;
    bottom: 5px;
    left: calc((100% - 16rem) /2 );
    width: 16rem;
    height: 38px;
    line-height: 38px;
    text-align: center;
    background-color: rgba(0,0,0,.2);
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.img-box-16-9:hover .btn-box {
	display: block !important;
}

/*LAYUI*/
.layui-layout-admin .site-body {
	bottom: 0;
	padding: 0;
}

.layui-layout-admin .site-title {
	position: fixed;
	left: 200px;
	right: 0;
	top: 60px;
	z-index: 999;
	background-color: #FFFFFF;
}

.layui-layout-admin .site-content {
	position: absolute;
	left: 0;
	right: 0;
	top: 41px;
	bottom: 0;
	padding: 0;
	z-index: 998;
	width: auto;
	overflow: hidden;
	overflow-y: auto;
	box-sizing: border-box;
}

.layui-layout-admin .site-content .layui-tab-item {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	overflow: hidden;
}

.layui-tab-title li .layui-tab-refresh {
	position: relative;
	display: inline-block;
	width: 18px;
	height: 18px;
	line-height: 20px;
	margin-left: 8px;
	top: 1px;
	text-align: center;
	font-size: 14px;
	color: #c2c2c2;
	transition: all .2s;
	-webkit-transition: all .2s;
}

.layui-tab-title li .layui-tab-refresh:hover {
	border-radius: 2px;
	background-color: #FF5722;
	color: #fff
}

.layui-tab-title li .layui-tab-close {
	margin-left: 4px;
}

/*IBOX*/
.ibox {
	clear: both;
	margin-bottom: 25px;
	margin-top: 0;
	padding: 0;
}

.ibox.collapsed .ibox-content {
	display: none;
}

.ibox.collapsed .fa.fa-chevron-up:before {
	content: "\f078";
}

.ibox.collapsed .fa.fa-chevron-down:before {
	content: "\f077";
}

.ibox:after,.ibox:before {
	display: table;
}

.ibox-title {
	-moz-border-bottom-colors: none;
	-moz-border-left-colors: none;
	-moz-border-right-colors: none;
	-moz-border-top-colors: none;
	background-color: #ffffff;
	border-color: #e7eaec;
	-webkit-border-image: none;
	-o-border-image: none;
	border-image: none;
	border-style: solid solid none;
	border-width: 4px 0px 0;
	color: inherit;
	margin-bottom: 0;
	padding: 14px 15px 7px;
	min-height: 48px;
	box-sizing: border-box;
}

.ibox-content {
	background-color: #ffffff;
	color: inherit;
	padding: 15px 20px;
	border-color: #e7eaec;
	-webkit-border-image: none;
	-o-border-image: none;
	border-image: none;
	border-style: solid solid none;
	border-width: 1px 0px;
}

.ibox-content {
	clear: both;
}

.ibox-content h1,.ibox-content h2,.ibox-content h3,.ibox-content h4,.ibox-content h5,.ibox-title h1,.ibox-title h2,.ibox-title h3,.ibox-title h4,.ibox-title h5
	{
	margin-top: 5px;
}

.ibox-content.text-box {
	padding-bottom: 0px;
	padding-top: 15px;
}

.ibox-content i.fa {
	min-width: 14px;
}

.ibox-heading {
	background-color: #f3f6fb;
	border-bottom: none;
}

.ibox-heading h3 {
	font-weight: 200;
	font-size: 24px;
}

.ibox-title h5 {
	display: inline-block;
	max-width: 15rem;
	font-size: 14px;
	margin: 0 0 7px;
	padding: 0;
	text-overflow: ellipsis;
	overflow: hidden;
    white-space: nowrap;
	float: left;
}

.ibox-title .label {
	float: left;
	margin-left: 4px;
}

.ibox-tools {
	display: inline-block;
	float: right;
	margin-top: 0;
	position: relative;
	padding: 0;
}

.ibox-tools a {
	cursor: pointer;
	margin-left: 5px;
	color: #c4c4c4;
}

.ibox-tools a.btn-primary {
	color: #fff;
}

.ibox-tools a:focus, .ibox-tools a:hover {
	color: #009688;
}

.ibox-tools .dropdown-menu>li>a {
	padding: 4px 10px;
	font-size: 12px;
}

.ibox .open>.dropdown-menu {
	left: auto;
	right: 0;
}

@media ( max-width : 768px) {
	.ibox-tools {
		float: none;
		text-align: right;
		display: block;
	}
}

@media ( max-width : 350px) {
	.ibox-tools {
		float: none;
		text-align: left;
		display: inline-block;
	}
}

/* 圖片裁剪 */
.img-container,.img-preview {
	background-color: #f7f7f7;
	width: 100%;
	text-align: center;
}

.img-container {
	min-height: 200px;
	max-height: 469px;
	margin-bottom: 1rem;
}

@media ( min-width : 768px) {
	.img-container {
		min-height: 200px;
	}
}

.img-container>img {
	max-width: 100%;
}

.tooltip-inner {
	white-space: nowrap;
}

.docs-tooltip {
	display: block;
	margin: -.5rem -.75rem;
	padding: .5rem .75rem;
}

.docs-tooltip>.icon {
	margin: 0 -.25rem;
	vertical-align: top;
}

.docs-preview {
	margin-right: -1rem;
}

.img-preview {
	float: left;
	margin-right: .5rem;
	margin-bottom: .5rem;
	overflow: hidden;
}

.img-preview.client-preview {
	float: none;
	margin: 0 auto;
	overflow: hidden;
}

.img-preview>img {
	max-width: 100%;
}

.preview-lg {
	width: 16rem;
	height: 9rem;
}

.preview-md {
	width: 8rem;
	height: 4.5rem;
}

.preview-sm {
	width: 4rem;
	height: 2.25rem;
}

.preview-xs {
	width: 2rem;
	height: 1.125rem;
	margin-right: 0;
}

.preview-circle {
	width: 100px !important;
	height: 100px !important;
}

.preview-square-md {
	width: 9rem;
	height: 9rem;
}

/*TYPEAHEAD.JS*/
.twitter-typeahead {
	display: block !important;
}

.tt-query {
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
	color: #999
}

.tt-menu {
	top: 42px !important;
	/* width: 442px; */
	max-width: 400px;
	padding: 5px 0;
	border: 1px solid #d2d2d2;
	border-radius: 2px;
	background-color: #fff;
	max-height: 300px;
	overflow-y: auto;
	z-index: 99999999;
}

.tt-suggestion {
	padding: 3px 20px;
	font-size: 14px;
	line-height: 36px;
	white-space: nowrap;
}

.tt-suggestion:hover {
	cursor: pointer;
	background-color: #f2f2f2;
}

.tt-suggestion.tt-cursor {
	color: #fff;
	background-color: #0097cf;
}

.tt-suggestion p {
	margin: 0;
}

.gist {
	font-size: 14px;
}

/*COLOR PICKER*/
.colorpicker {
	z-index: 99999999 !important;
}

.dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 99999999;
	display: none;
	float: left;
	min-width: 160px;
	padding: 5px 0;
	margin: 2px 0 0;
	font-size: 14px;
	text-align: left;
	list-style: none;
	background-color: #fff;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	border: 1px solid #ccc;
	border: 1px solid #e4eaec;
	border-radius: 3px;
	-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
	box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}

.fly-mid {
	display: inline-block;
	height: 10px;
	width: 1px;
	margin: 0 10px;
	vertical-align: middle;
	background-color: #e2e2e2;
}

/*JQuery Multi-select*/
.ms-container {
	width: 100% !important
}

@media ( min-width :1200px) {
	.ms-container {
		width: 450px
	}
}

@media ( min-width :992px) and (max-width:1200px) {
	.ms-container {
		width: 350px
	}
}

@media ( min-width :480px) and (max-width:992px) {
	.ms-container {
		width: 100%
	}
}

@media ( max-width :480px) {
	.ms-container {
		width: 100%
	}
}

.gray-border {
	border: 1px solid #e6e6e6;
}

.fa-6 {
    font-size: 20em;
}

.fa-5 {
    font-size: 10em;
}

/*SELECT2*/
.select2-container--default .select2-selection--multiple.layui-input-mine {
	width: 100%;
	min-height: 38px;
	line-height: 1;
    padding-left: 10px;
    background-color: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 0 2px 2px 0;
    outline: 0;
    -webkit-appearance: none;
    transition: all .3s;
    -webkit-transition: all .3s;
    box-sizing: border-box;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
	padding: 5px !important;
	height: 100%;
}

.multiple-select span.select2-container--open:last-child {
	margin-top: 5px !important;
}

.select2-search__field {
	margin-top: 0 !important;
}

.select2-dropdown.select2-dropdown--below {
	padding: 5px 0;
    z-index: 999;
    min-width: 100%;
    border: 1px solid #d2d2d2 !important;
    max-height: 300px;
    overflow-y: auto;
    background-color: #fff;
    border-radius: 2px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,.12);
    box-sizing: border-box;
}

.select2-results__option {
    margin-bottom: 1px;
    padding: 0 10px  !important;
    line-height: 36px !important;
}

.dropdown .select2-results__option--highlighted[aria-selected] {
    background-color: #f2f2f2 !important;
    color: #000 !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #5FB878 !important;
    color: #fff !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
	border: 1px solid #C9C9C9 !important ;
}

.select2-selection__rendered {
	line-height: 24px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin-top: 2px !important;
    line-height: 20px;
	background-color: #5FB878 !important;
    border: 1px solid #5FB878 !important;
    border-radius: 2px !important;
    color: #fff;
}

.select2-selection__choice__remove {
	font-family: initial;
	float: right;
	margin-right: 0 !important;
	margin-left: 5px;
	color: #fff !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #FF5722 !important;
}

/*CLOCK PICKER*/
.popover {
	z-index: 2147483647 !important;
}

/*INLINE UL*/
.ul-column li {
	position: relative;
    display: inline-block;
}

.ul-employee li {
	padding: 5px 10px;
	min-height: 25px;
    line-height: 25px;
    vertical-align: middle;
}

.ul-employee li i.fa {
	margin-right: 5px;
}

/*LAYUI TABLE*/
.layui-table-view .layui-table th {
	font-weight: 600;
}

.globalSearch {
	position: absolute;
    top: 11px;
    width: 200px;
    right: 300px;
}


/*覆蓋toastr默認的圖標樣式*/

#toast-container {
	z-index: 999999999;
}

#toast-container>.toast {
	background-image: none !important;
}

#toast-container>.toast:first-child {
	margin-top: 6px;
}

#toast-container>.toast:before {
	position: fixed;
	font-family: FontAwesome;
	font-size: 24px;
	line-height: 18px;
	float: left;
	color: #FFF;
	padding-right: 0.5em;
	margin: auto 0.5em auto -1.5em;
}

#toast-container>.toast-warning:before {
	content: "\f06a";
}

#toast-container>.toast-error:before {
	content: "\f057";
}

#toast-container>.toast-info:before {
	content: "\f05a";
}

#toast-container>.toast-success:before {
	content: "\f00c";
}

.layui-block {
	display: block !important;
}

/*LAYUI導航欄樣式覆蓋*/
.layui-layout-admin .layui-header {
    background-color: #FFCD00;
}

.layui-header .layui-layout-admin .layui-logo {
	color: #000000;
}

.layui-header .layui-nav .layui-nav-item a {
	color: #000000;
}

.layui-header .layui-nav .layui-nav-item a:hover, .layui-nav .layui-this a {
    color: #000000;
}

.layui-header .layui-nav .layui-nav-more {
	border-color: #000 transparent transparent;
}

.layui-header .layui-nav .layui-nav-mored {
	border-color: transparent transparent #000;
}

.btn-primary {
	background-color: #1ab394;
	border-color: #1ab394;
	color: #FFF
}

.btn-primary.active,.btn-primary:active,.btn-primary:focus,.btn-primary:hover,.open .dropdown-toggle.btn-primary
	{
	background-color: #18a689;
	border-color: #18a689;
	color: #FFF
}

.btn-primary.active,.btn-primary:active,.open .dropdown-toggle.btn-primary
	{
	background-image: none
}

.btn-primary.active[disabled],.btn-primary.disabled,.btn-primary.disabled.active,.btn-primary.disabled:active,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled],.btn-primary[disabled]:active,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary,fieldset[disabled] .btn-primary.active,fieldset[disabled] .btn-primary:active,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover
	{
	background-color: #1dc5a3;
	border-color: #1dc5a3
}