html, body {
	font-family: 'Montserrat';
	font-family: 'Arial';
	color: #333;
	background: #fafafa; /*f5f1ec*/
	min-height: calc(100vh - 60px);
}
body .div_container {
	margin-top: 60px;
	margin-left: auto;
	margin-right: auto;
}
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-thumb {
    background: #414142;
}
h1.h1_title {
	margin-top: 0;
	font-size: 24px;
}
.fright {
	float: right;
}
.flex {
	display: flex;
}
.flex_acenter {
	align-items: center;
}
.flex_jcenter {
	justify-content: center;
}
.flex_jspace {
	justify-content: space-between;
}
.clrgray {
	color: #888;
}
.m10 {
	margin: 10px;
}
.p10 {
	padding: 10px;
}
.mr10 {
	margin-right: 10px;
}
.mr20 {
	margin-right: 20px;
}
.mt10 {
	margin-top: 10px;
}
.mb10 {
	margin-bottom: 10px;
}
.mt20 {
	margin-top: 20px;
}
.mb20 {
	margin-bottom: 20px;
}
.pt10 {
	padding-top: 10px;
}
.pb10 {
	padding-bottom: 10px;
}
.pt20 {
	padding-top: 20px;
}
.pb20 {
	padding-bottom: 20px;
}
.td_img {
	width: 100px;
	height: 100px;
	object-fit: cover;
}
.nav {
	padding: 10px 20px;
	background:#fff;
	/*background: #90cef1;*/
	border-bottom: 10px solid;
	color: #2a3b93;
	display: flex;
	justify-content: space-between;
	align-items: center;
	/*box-shadow: #ddd 0px 2px 7px 0px;*/
	cursor: pointer;
	position: fixed;
	width: 100%;
	left: 0;
	top: 0;
	z-index: 9;
}
.nav2 {
	background: #414141;
	color: #fff;
	padding: 8px 20px;
}
.nav2 h2 {
	margin: 0;
	font-size: 16px;
	font-weight: bold;
	text-transform: uppercase;
}
.nav2 .bt,
.nav2 .d_input {
	margin-top: 0;
	color: #333;
}
a.nav_item {
	color: #2a3b93;
	text-decoration: none;
	font-size: 20px;
    margin-left: 30px;
	border-bottom: 1px solid transparent;
}
a.nav_item:hover {
	color: #2a3b93;
	text-decoration: underline;
}
a.nav_item.sel {
	color: #555;
	border-bottom: 1px solid #555;
}
.top_logo {
	height: 40px;
	width: auto;
	margin-right: 10px;
}
.nav_left span {
	font-weight: bold;
	font-size: 22px;
}
.nav_left {
	text-align: left;
	width: 100%;
	display: flex;
	align-items: center;
}
.nav_right {
	text-align: right;
	display: flex;
}
.d_input {
	margin-top: 20px;
}
.d_input .f_input {
	border-radius: 4px;
	border: 1px solid #ccc;
	padding: 8px;
	outline: none;
	width: 100%;
}
.d_input .f_input.i_error {
	border-color: #f00;
}
.d_input label {
	color: #000;
	font-size: 16px;
	display: flex;
	align-items: center;
}
.d_input label .icon_img {
	width: 28px;
	height: 28px;
}
.d_input_box {
	position: relative;
}
.d_input_box select.f_input {
	position: absolute;
	width: 100%;
	top: 24px;
	z-index: -1;
}
.d_input.one_row {
	display: flex;
    align-items: center;
}
.d_input.one_row label {
	margin-bottom: 0;
	margin-right: 5px;
}
.bt {
	background: #2a3b93;
	border: 1px solid #414142;
	color: #fff;
	text-align: center;
	padding: 8px 16px;
	cursor: pointer;
	margin-top: 20px;
	min-width: 80px;
	user-select: none;
	border-radius: 7px;
	text-align: center;
}
.bt img {
	height: 20px;
	width: auto;
	margin-right: 10px;
}
.bt:hover {
	background: #2a3b93;
}
.bt.bt_white {
	background: #fff;
	border-color: #414142;
	color: #414142;
}
.bt.bt_white:hover {
	background: #eee;
}
.bt.bt_noborder {
	background: #fff;
	border-color: transparent;
	color: #333;
	display: flex;
	align-items: center;
	justify-content: center;
}
.bt.bt_noborder:hover {
	background: #efefef;
}
.bt.bt_noborder input {
	margin-right: 10px;
	margin-top: 0px;
}

.div_loading {
	position: fixed;
	display: flex;
	align-items: center;
	justify-content: center;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(255,255,255,1);
    z-index: 999;
    opacity: 0.6;
	display: none;
}
.div_loading img {
	width: auto;
	height: 150px;
}
.loading_title {
	text-align: center;
	font-weight: bold;
	padding: 0px;
}
.error,
.error1 {
	padding: 5px;
	padding-top: 10px;
	text-align: center;
	color: #f76767;
	font-size: 12px;
}

.tright {
	text-align: right;
}
/* menu */
.side_menu {
	width: 200px;
	border-right: 1px solid rgba(0, 0, 0, 0.12);
	background: #2a3b93;
	position: fixed;
	z-index: 8;
	height: 100%;
	padding-top: 20px;
}
.cont_body {
	padding-left: 200px;
}
.cont_body_wrapper {
	padding: 20px;
	position: relative;
}
.menu_item {
	display: flex;
	align-items: center;
	padding: 20px;
	color: #eee;
	text-transform: uppercase;
	cursor: pointer;
	border-right: 2px solid transparent;
	position: relative;
}
.menu_item .admin {
	position: absolute;
	right: 5px;
	top: 5px;
	background: #414142;
	color: #fff;
	padding: 2px 4px;
	font-size: 10px;
}
.menu_item.sel {
    background: #eee;
	border-color: #414142;
	color: #333;
	font-weight: 600;
}
.menu_item:hover {
	text-decoration: none;
	background: #efefef;
}
.menu_item i {
	font-size: 18px;
	margin-right: 10px;
}

.empty {
	color: #888;
	font-style: italic;
	padding: 5px 0px;
}
img {
	max-width: 100%;
}
/*card*/
.tcenter {
	text-align: center;
}
.card {
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 7px;
	background: #fff;
	margin-bottom: 20px;
    color: #333;
    position: relative;
}
.card_title {
	font-size: 22px;
	font-weight: 600;
	padding: 16px 20px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
.card_cont {
	padding: 16px 20px;
}
.card_bottom {
	padding: 16px 20px;
	border-top: 1px solid rgba(0, 0, 0, 0.12);
}
.buttons {
	display: flex;
}
.buttons > .bt {
	margin: 0;
	margin-right: 20px;
	font-weight: 600;
	min-width: 88px;
}

/*dialog*/
.dlg {
	position: fixed;
	z-index: 99;
	background: rgba(0,0,0,0.2);
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	display: none;
}
.dlg_cont {
	background: #fff;
	padding: 20px;
}
.dlg_cont h3 {
	margin: 0px;
	border-bottom: 1px solid #eee;
	padding-bottom: 10px;
}

#dlg_image.dlg {
	background: rgba(0,0,0,0.8);
}
#dlg_image .dlg_cont {
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	padding: 20px;
    margin: 0;
}
#dlg_image .dlg_cont img {
	background: #aaa;
	padding: 20px;
	border-radius: 12px;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	user-select: none;
}
.bt_cancel {
	z-index: 99;
	position: absolute;
	right: 10px;
	top: 10px;
	float: right;
	font-size: 16px;
    cursor: pointer;
    background: #fff;
    display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 30px;
	opacity: 0.7;
}
.bt_cancel:hover {
	opacity: 1;
}
.m_nav {
	display: none;
}
.mbadge {
	background: #414142;
	color: #fff;
    padding: 3px 8px;
    border-radius: 20px;
    position: absolute;
    right: 2px;
    top: 2px;
    font-size: 12px;
    font-weight: bold;
    min-width: 22px;
    display: block;
    text-align: center;
    display: none;
}
.toast {
	position: fixed;
	z-index: 99;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	justify-content: center;
	align-items: center;
	display: none;
	transition: ease all 0.5s;
}
.toast div {
	border-radius: 8px;
	background: #414142;
	color: #fff;
	padding: 20px 30px;
	border: 0px solid #fff;
	box-shadow: #aaa 0px 0px 12px 0px;
}
.toast.open {
	display: flex;
}
.sub_footer {
	background: #fff;
	position: fixed;
	left: 0;
	bottom: 0;
	z-index: 10;
	width: 100%;
	padding: 8px 20px;
	border-top: 1px solid #ccc;
	display: flex;
	justify-content: center;
}
.sub_footer .bt {
	display: inline-block;
	margin-top: 0;
}
#dlg_confirm,
#dlg_error {
	background: rgba(0,0,0,0.2);
}
#dlg_confirm .dlg_cont,
#dlg_error .dlg_cont {
	max-width: 400px;
	min-width: 320px;
	position: relative;
	border-radius: 12px;
	padding: 15px;
}
.confirm_message,
.error_message {
	text-align: center;
	padding: 10px;
	font-weight: bold;
}

@media (min-width: 992px) {
	.container {
	    width: 100%;
	}
}
@media (min-width: 1240px) {
	.container {
	    width: 1200px;
	}
}
@media (min-width: 1440px) {
	.container {
	    width: 1400px;
	}
}

@media only screen and (max-width: 768px) {
	.nav {
		padding: 10px;
	}
	.m_nav {
		padding: 5px 10px;
		display: block;
		color: #fff;
	}
	.nav .nav_left {
		justify-content: center;
	}
	.side_menu {
		background: #eee;
	    border-right: 1px solid #ddd;
	    transition: ease all 0.3s;
	    left: -200px;
	    z-index: 10;
	}
	.side_menu.open {
		left: 0;
	}
	.cont_body {
		padding-left: 0;
	}
}