body {
	margin:0px;
	padding:0px;
}
table {
	-font-family:Verdana, Arial, Helvetica, sans-serif, "Microsoft YaHei";
	font-family: 'Open Sans', sans-serif, "Microsoft YaHei";
	font-size: 13px;
	color:#333;
}
input[type="text"] ,
input[type="password"] {
	font-family: 'Open Sans', sans-serif, "Microsoft YaHei";
	font-size: 12px;
	border: 1px solid #e6e6e6;
    padding: 5px 5px;
	color:#333;
	-text-transform:uppercase;
}
input[type="text"]:hover,
input[type="text"]:focus,
input[type="password"]:hover,
input[type="password"]:focus {
	-box-shadow: 0 0 3px #0099FF;
	-box-shadow: 0px 0px 0px 2px rgba(0,123,255,0.25);
	-border-color: #80bdff;
	border-color: #fff;
	box-shadow: 0px 0px 0px 2px rgba(242,114,39,0.8);
}
input[type="file"] {
	font-family: 'Open Sans', sans-serif, "Microsoft YaHei";
	font-size: 13px;
    padding: 5px 5px;
	color:#333;
}
input[type="checkbox"] {
	width:20px;
	height:20px;
}
select {
	font-family: 'Open Sans', sans-serif, "Microsoft YaHei";
	font-size: 13px;
	border: 1px solid #e6e6e6;
    padding: 5px 5px;
	color:#333;
	box-sizing:none;
}
select:hover, select:focus, select:active {
	border-color: #fff;
	box-shadow: 0px 0px 0px 2px rgba(242,114,39,0.8);
}
textarea {
	font-family: 'Open Sans', sans-serif, "Microsoft YaHei";
	font-size: 13px;
	color:#333;
	border: 1px solid #e6e6e6;
    padding: 5px 5px;
}
textarea:hover, textarea:focus, textarea:active {
	border-color: #fff;
	box-shadow: 0px 0px 0px 2px rgba(242,114,39,0.8);
}
div {
	font-family: 'Open Sans', sans-serif, "Microsoft YaHei";
	font-size: 13px;
    display: block;
	padding:0px;
	overflow:hidden;
}
input[type="text"]:-ms-input-placeholder ,
input[type="password"]:-ms-input-placeholder {
    color: #999;
}

/* ---------- unused ---------- */
input2 {
	font-size: 12px; font-family: Verdana, Arial, Helvetica, sans-serif, "Microsoft YaHei";
}
select2 {
	font-size: 12px; font-family: Verdana, Arial, Helvetica, sans-serif, "Microsoft YaHei"; padding:2px
}
i {margin:0 5px;}

/* ---------- class ---------- */
.info {
	font-family: 'Open Sans', sans-serif, "Microsoft YaHei";
	font-size: 11px;
}
.title {
	font-family: 'Open Sans', sans-serif, "Microsoft YaHei";
	font-size: 13px;
}
.header {
	font-size: 12px; font-family:"Times New Roman", Times, serif, "Microsoft YaHei";
}
.header1 {/* ---------- sales report, persoanl sales header ---------- */
	font-size: 16px; font-family: 'Open Sans', sans-serif, "Microsoft YaHei";
}
.header2 {/* ---------- general report header ---------- */
	font-size: 18px; font-family: 'Times New Roman', sans-serif; font-weight:bold;
}
.header3 {/* ---------- bonus statement header ---------- */
	font-size: 18px; font-family:"Times New Roman", Times, serif, "Microsoft YaHei"; font-weight:bold; text-decoration:underline; font-variant:small-caps;
}
.header4 {/* ---------- inventory bill header ---------- */
	font-size: 22px; font-family:"Times New Roman", Times, serif, "'Noto Serif SC'"; text-decoration:underline; font-weight:bold;
}
.header_box1 {/* ---------- total amount box ---------- */
	display:block;
	margin:3px;
	padding:2px 30px;
	background-color:#cf412d;
	color:#fff;
	font-size:16px;
	border-radius:25px;
	text-align:center;
	float:left;
}
.bottom2 {
	font-size: 12px; font-family:"Times New Roman", Times, serif, "Microsoft YaHei";
}
.detail {
	font-family: 'Open Sans', sans-serif, "Microsoft YaHei";
	font-size: 11px;
}
.note {
	font-family: 'Open Sans', sans-serif, "Microsoft YaHei";
	font-size: 11px;
	color:#666666;
	-font-style:italic;
}
.dot {
	border-bottom-style:solid; border-bottom-color:#EEEEEE; border-bottom-width:1px;
}
.dot2 {
	border-bottom-style:solid; border-bottom-color:#FFCC00; border-bottom-width:1px;
}
.img_shadow {
	box-shadow: 0px 0px 10px -10px rgba(0,0,0,0.2);
	box-shadow: 0 10px 10px -8px rgba(0, 0, 0, 0.2);
}
.bg_color2 {
	background-color:#e6e6e6;
}
.activerow {background-color: #8fc3f7;}

/* ---------- class button ---------- */
.button {
	font-family: 'Open Sans', sans-serif, "Microsoft YaHei";
	font-size: 13px;
	-font-weight:bold;
    padding: 8px 10px;
	border: 1px solid #e6e6e6;
	background-color:#f6f6f6;
	border-radius:0px;
}
.button:hover, .button:focus, .button:active {
	border-color: #80bdff;
	background-color:#80bdff;
	cursor: pointer;
	color:#fff;
	border-color: #f27227;
	background-color:#f27227;
}
.button2 {
	font-size:18px;
	border:0px;
	background-color:transparent;
	color:#006699;
	cursor:pointer;
}
.button2:hover, .button2:focus, .button2:active {
	text-decoration:none;
	color:#FF6600;
}
.btn_next {
	color:#fff;
	background-color:#cf412d;
}
.btn_next:disabled {
	color:#999;
	background-color:transparent;
	border: 1px solid #e6e6e6;
}
.button_add {
	text-indent:25px;
	background:url(../Image/Icon/b_addnew.png) left no-repeat;
}
.button_add:hover {
	background:url(../Image/Icon/b_addnew2.png) left no-repeat;
	color:#fff;
	border-color: #f27227;
	background-color:#f27227;
}
.button_save {
	text-indent:25px;
	background:url(../Image/Icon/b_save.png) left no-repeat;
}
.button_save:hover {
	background:url(../Image/Icon/b_save2.png) left no-repeat;
	color:#fff;
	border-color:#f27227;
	background-color:#f27227;
}
.button_edit {
	text-indent:25px;
	background:url(../Image/Icon/b_edit.png) left no-repeat;
}
.button_edit:hover {
	background:url(../Image/Icon/b_edit2.png left) no-repeat;
	color:#fff;
	border-color: #f27227;
	background-color:#f27227;
}
.button_view {
	text-indent:25px;
	background:url(../Image/Icon/b_view.png) left no-repeat;
}
.button_view:hover {
	background:url(../Image/Icon/b_view2.png) left no-repeat;
	color:#fff;
	border-color: #f27227;
	background-color:#f27227;
}
.button_print {
	text-indent:25px;
	background:url(../Image/Icon/b_print.png) left no-repeat;
}
.button_print:hover {
	background:url(../Image/Icon/b_print2.png) left no-repeat;
	color:#fff;
	border-color: #f27227;
	background-color:#f27227;
}
.button_delete {
	text-indent:25px;
	background:url(../Image/Icon/b_delete.png) left no-repeat;
}
.button_delete:hover {
	background:url(../Image/Icon/b_delete2.png) left no-repeat;
	color:#fff;
	border-color: #f27227;
	background-color:#f27227;
}
.button_edit2 {
	width:30px;
	height:30px;
	border:0;
	vertical-align:bottom;
	background:url(../Image/Icon/b_edit.png) no-repeat;
}
.button_edit2:hover {
	cursor: pointer;
	background:url(../Image/Icon/b_edit2.png) no-repeat;
}
.button_del {
	width:30px;
	height:30px;
	border:0;
	vertical-align:bottom;
	background:url(../Image/Icon/b_delete.png) no-repeat;
}
.button_del:hover {
	cursor: pointer;
	background:url(../Image/Icon/b_delete2.png) no-repeat;
}
.button_block {
	width:30px;
	height:30px;
	border:0;
	vertical-align:bottom;
	background:url(../Image/Icon/b_block.png) no-repeat;
}
.button_block:hover {
	cursor: pointer;
	background:url(../Image/Icon/b_block2.png) no-repeat;
}
/* ---------- button date ---------- */
.btn_date {
	font-size: 20px;
	color:#777;
	width:40px;
	margin: 0px;
    padding: 2px;
	border: 1px solid #e6e6e6;
	background-color:#f6f6f6;
}
.btn_date:hover, .btn_date:focus, .btn_date:active {
	color:#fff;
	cursor:pointer;
	border-color: #f27227;
	background-color:#f27227;
}
.btn_date1 {
	border-top-left-radius:25px;
	border-bottom-left-radius:25px;
	border-right:none;
}
.btn_date2 {
	border-top-right-radius:25px;
	border-bottom-right-radius:25px;
	border-left:none;
}
/* ---------- button page ---------- */
.btn_page_label {
	font-size: 14px;
	margin: 0 0 0 5px;
    padding: 2px 8px;
	border: none;
	border-radius:25px;
	background-color:#cf412d;
	color:#fff;
}
.btn_page {
	font-size: 18px;
	color:#cf412d;
	width:30px;
	margin: 0px;
    padding: 2px;
	border: none;
	border-radius:25px;
	background-color:transparent;
}
.btn_page:hover, .btn_page:focus, .btn_page:active {
	cursor:pointer;
	color:#fff;
	border-color: #f27227;
	background-color:#f27227;
}
/* ---------- button box ---------- */
.buttonbox {
	background-color:#F6F6F6; height:50px; text-align:center;
}
.buttonbox td {
	height:50px;
}
.buttonbox2 {
	background-color:#F6F6F6; height:40px; text-align:center;
}
.buttonbox2 td {
	height:40px;
}
.buttonbox2r {
	background-color:#F6F6F6; height:40px; text-align:right;
}
.buttonbox2r td {
	height:40px;
}

/* ---------- hover ---------- */
.hvr-none {
	text-decoration: none;
}
.hvr-none a:link,
.hvr-none a:visited,
.hvr-none a:hover  {
	text-decoration: none;
}

.hvr-save {
	display: inline-block;
	vertical-align: middle;
	text-decoration: none;
	width:30px;
	height:30px;
	background:url(../Image/Icon/b_save.png) no-repeat;
}
.hvr-save:hover {
	background:url(../Image/Icon/b_save2.png) no-repeat;
}
.hvr-view {
	display: inline-block;
	vertical-align: middle;
	text-decoration: none;
	width:30px;
	height:30px;
	background:url(../Image/Icon/b_view.png) no-repeat;
}
.hvr-view:hover {
	background:url(../Image/Icon/b_view2.png) no-repeat;
}
.hvr-addnew {
	display: inline-block;
	vertical-align: middle;
	text-decoration: none;
	width:30px;
	height:30px;
	background:url(../Image/Icon/b_addnew.png) no-repeat;
}
.hvr-addnew:hover {
	background:url(../Image/Icon/b_addnew2.png) no-repeat;
}
.hvr-edit {
	display: inline-block;
	vertical-align: middle;
	text-decoration: none;
	width:30px;
	height:30px;
	background:url(../Image/Icon/b_edit.png) no-repeat;
}
.hvr-edit:hover {
	background:url(../Image/Icon/b_edit2.png) no-repeat;
}
.hvr-copy {
	display: inline-block;
	vertical-align: middle;
	text-decoration: none;
	width:30px;
	height:30px;
	background:url(../Image/Icon/b_copy.png) no-repeat;
}
.hvr-copy:hover {
	background:url(../Image/Icon/b_copy2.png) no-repeat;
}
.hvr-delete {
	display: inline-block;
	vertical-align: middle;
	text-decoration: none;
	width:30px;
	height:30px;
	background:url(../Image/Icon/b_delete.png) no-repeat;
}
.hvr-delete:hover {
	background:url(../Image/Icon/b_delete2.png) no-repeat;
}
.hvr-block {
	display: inline-block;
	vertical-align: middle;
	text-decoration: none;
	width:30px;
	height:30px;
	background:url(../Image/Icon/b_block.png) no-repeat;
}
.hvr-block:hover {
	background:url(../Image/Icon/b_block2.png) no-repeat;
}
.hvr-print {
	display: inline-block;
	vertical-align: middle;
	text-decoration: none;
	width:30px;
	height:30px;
	background:url(../Image/Icon/b_print.png) no-repeat;
}
.hvr-print:hover {
	background:url(../Image/Icon/b_print2.png) no-repeat;
}

/* -------------------------------------------------- */
/* shopping cart */
/* -------------------------------------------------- */
.hvr-addcart {
	display: inline-block;
	text-align:center;
	width:100%;
	height:80px;
 	background:url(../Cart/images/ico_addcart1.png) bottom center no-repeat;
}
.hvr-addcart:hover {
	text-decoration:none;
 	background:url(../Cart/images/ico_addcart2.png) bottom center no-repeat;
}
.hvr-checkout {
	display: inline-block;
	text-align:center;
	font-weight:bold;
	width:100%;
	height:70px;
	padding-top:10px;
 	background:url(../Cart/images/ico_checkout1.png) bottom center no-repeat;
}
.hvr-checkout:hover {
	text-decoration:none;
 	background:url(../Cart/images/ico_checkout2.png) bottom center no-repeat;
}
.hvr-clearcart {
	display: inline-block;
	text-align:center;
	font-weight:bold;
	width:100%;
	height:70px;
	padding-top:10px;
 	background:url(../Cart/images/ico_clearcart1.png) bottom center no-repeat;
}
.hvr-clearcart:hover {
	text-decoration:none;
 	background:url(../Cart/images/ico_clearcart2.png) bottom center no-repeat;
}

/* -------------------------------------------------- */
/* message */
/* -------------------------------------------------- */

.div-msg {
    margin-bottom: 15px;
    padding: 4px 12px;
}
.danger {
    background-color: #ffdddd;
    border-left: 6px solid #f44336;
}
.success {
    background-color: #ddffdd;
    border-left: 6px solid #4CAF50;
}
.infor {
    background-color: #e7f3fe;
    border-left: 6px solid #2196F3;
}
.warning {
    background-color: #ffffcc;
    border-left: 6px solid #ffeb3b;
}

/* -------------------------------------------------- */
/* ribbon message */
/* -------------------------------------------------- */
.ribbon_container {
	position:absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	overflow:hidden;
	opacity: 1;
}
.ribbon_msg {
	display:block;
	position:absolute;
	top: 15px;
	left: -80px;
	background-color:#FF0000;
	opacity:0.8;
	width:300px;
	height:55px;
	line-height:50px;
	color:#FFFFFF;
	font-size:16px;
	text-align:left;
	text-indent:80px;
	vertical-align:middle;
	transform: rotate(-45deg);
}
/* -------------------------------------------------- */
/* scroll to top */
/* -------------------------------------------------- */
.crunchify-top {
/*	
	border-radius: 3.2rem;
	background-color: rgba(0,0,0,0.3);
*/
	right: 0rem;
	bottom: 5rem;
	line-height: 3.2rem;

	display: none;
	position: fixed;
	width: 55px;
	height: 55px;
	font-size: 1.4rem;
	color: #fff;
	background: url(../Image/arrow_up.png) no-repeat 0px 0px;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
}
.crunchify-top:hover {
	background: url(../Image/arrow_up1.png) no-repeat 0px 0px;
}

/* -------------------------------------------------- */
/* process loader */
/* -------------------------------------------------- */
/* Center the loader */
#loader {
  position: absolute;
  left: 50%;
  top: 50%;
  transform:translate(-50%,-50%);
  z-index: 1;
  -width: 150px;
  -height: 150px;
  margin: -30px 0 0 -30px;
  border: 6px solid #f3f3f3;
  border-radius: 50%;
  border-top: 6px solid #3498db;
  width: 50px;
  height: 50px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    padding-top: 60px;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
