html,
body {
  height: 100%;
  background: #f1f2f6;
}
* {
  box-sizing: border-box;
}
.shade {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
}
.keybordShade {
  z-index: 3;
}
.padding0 {
  padding-left: 0;
  padding-right: 0;
}
p {
  margin-bottom: 0 !important;
}
a:hover {
  text-decoration: none;
}
:focus {
  outline: 0 !important;
}
.border {
  border: 1px solid slateblue;
}
.back_black {
  background-color: #383838;
}
.btns {
  background-color: #ff5733;
}
/* 详细信息 */
.detaile_inn {
  opacity: 0;
  width: 215px;
  height: 0px;
  line-height: 22px;
  position: absolute;
  z-index: -1;
  top: 60px;
  left: 80px;
  background-color: #383838;
  color: #FFFFFF;
  padding: 15px;
  padding-top: 5px;
  transition-property: height,opacity;
  transition-duration: 1s;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}
.main-per:hover + .detaile_inn {
  z-index: 4;
  height: 130px;
  opacity: 1;
}
.main-per1 img:hover {
  -webkit-animation: circle 0.8s 1 linear;
  /*匀速 循环*/
}
@-webkit-keyframes circle {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}
/* end详细 */
.main .main_register {
  height: 60px;
  position: relative;
}
.main .main_register .btn_long {
  font-weight: 600;
  height: 38px;
  text-align: right;
  padding: 0 50px 0 17px;
  position: absolute;
  top: 0;
  bottom: 0;
  margin-top: auto;
  margin-bottom: auto;
  border-radius: 0 100px 100px 0;
}
.main .main-centent {
  position: relative;
  overflow: hidden;
  height: 60px;
}
.main .main-centent .main-centent-son {
  position: absolute;
  width: 90%;
  top: 0;
  bottom: 0;
  padding-left: 5px;
  margin-top: auto;
  margin-bottom: auto;
  height: 35px;
  line-height: 35px;
  border-radius: 5px;
  color: #FFFFFF;
  background-color: #383838;
  border: 1px solid #FFFFFF;
}
.main .main-centent .main-centent-son p {
  padding-left: 8px;
  color: rgba(255, 255, 255, 0.6);
}
.main .main-bottom {
  overflow: hidden;
  height: 60px;
  padding-left: 0;
  padding-top: 0;
  position: relative;
}
.main .btn_se {
  font-weight: 600;
  position: absolute;
  width: 90%;
  height: 35px;
  top: 0;
  bottom: 0;
  margin-top: auto;
  margin-bottom: auto;
}
.main .main-per .main-per1 {
  padding-left: 0;
  padding-right: 0;
  height: 60px;
  position: relative;
}
.main .main-per .main-per1 img {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  margin-top: auto;
  margin-bottom: auto;
  height: 50px;
  border-radius: 50%;
}
.main .main-per3 {
  height: 60px;
  margin-right: 8px;
}
.main .main-per3 button {
  height: 35px;
  position: absolute;
  top: 0;
  bottom: 0;
  margin-top: auto;
  margin-bottom: auto;
}
.main .main-per4 {
  height: 60px;
}
.main .main-per4 button {
  height: 35px;
  position: absolute;
  top: 0;
  bottom: 0;
  margin-top: auto;
  margin-bottom: auto;
}
.main .main-right div {
  padding-left: 0px;
  padding-right: 0px;
}
.main .main-right span {
  text-align: center;
  padding: 0px;
}
.main .main-right .span2 {
  line-height: 30px;
}
.main-right .main-right-main {
  padding-top: 15px !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
  background-color: #f1f2f6;
  position: relative;
  overflow: hidden;
}
.main-right .main_right_btn {
  height: 35px;
  line-height: 35px;
  padding-left: 12px !important;
  padding-right: 12px !important;
  color: #FFFFFF;
  font-weight: 600;
  border-radius: 5px;
  float: right;
}
.main-right-main-card {
  margin: 0px;
  height: calc(100vh - 200px);
  overflow-y: hidden;
}
.main-right-main-card:hover {
  overflow-y: auto;
  overflow-y: overlay;
}
.scrollshow {
  height: calc(100vh - 160px);
  overflow-y: hidden;
}
.scrollshow:hover {
  overflow-y: auto;
  overflow-y: overlay;
}
.main-right-main .main-right-main-card .div1 {
  background-color: #FFFFFF;
  border-radius: 5px;
  height: 86px;
  margin-top: 15px;
  padding: 10px;
}
.main-right-main .main-right-main-card .div1 img {
  width: 20%;
  height: 100%;
  float: left;
}
.main-right-main-card .card-top {
  padding-left: 5px;
  width: 60%;
  height: 30px;
  line-height: 30px;
  float: left;
  font-size: 18px;
}
.main-right-main-card .card-btn {
  text-align: center;
  width: 25%;
  height: 30px;
  line-height: 30px;
  float: right;
  border-radius: 5px;
  margin-right: 5%;
}
.main-right-right-btn {
  color: #FFFFFF;
  font-weight: 600;
  border-radius: 5px;
  text-align: center;
  height: 35px;
  padding: 10px 5px;
}
.div2 {
  overflow: hidden;
  position: relative;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 10px !important;
  padding-right: 10px !important;
  margin-top: 15px;
  background-color: #FFFFFF;
  border-radius: 5px;
}
.div2 img {
  overflow: hidden;
  width: 20%;
  height: 100%;
  float: left;
}
.div2 .card-top {
  padding-left: 5px;
  width: 60%;
  height: 30px;
  line-height: 30px;
  float: left;
  font-size: 18px;
}
.div2 .card-btn {
  text-align: center;
  width: 25%;
  height: 30px;
  line-height: 30px;
  float: right;
  border-radius: 5px;
  margin-right: 5%;
}
.top {
  font-size: 0;
  word-spacing: -1px;
  height: 50px;
  line-height: 50px;
  border: 1px solid #a6a6a6;
  box-sizing: border-box;
  background-color: #FFFFFF;
}
.top div {
  font-size: 12px;
  letter-spacing: normal;
  word-spacing: normal;
  display: inline-block;
}
.top .topinput {
  height: 100%;
  width: 84%;
  font-size: 24px;
  color: #333333;
  border: 0px;
  border-left: 1px solid #a6a6a6;
}
.balance {
  padding-top: 30px;
  font-weight: 900;
}
.balance .balance_main {
  overflow: hidden;
  padding: 10px 5px;
  border-top: 1px solid #a6a6a6;
}
.balance .balance_remark {
  padding: 10px !important;
  height: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px solid #a6a6a6;
}
.pay_select .span3 {
  display: inline-block;
  height: 35px;
  width: 25%;
  line-height: 35px;
}
.affirm_btn {
  box-sizing: border-box;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  line-height: 40px;
  font-weight: 600;
  font-size: 18px;
  color: #FFFFFF;
}
.userRegister {
  display: none;
  width: 120px;
  text-align: center;
  margin-right: 10px;
  line-height: 20px;
  position: absolute;
  background-color: #f1f2f6;
  top: 40px;
  right: 0px;
  padding-left: 10px;
  padding-top: 10px;
  transition: all 1s;
}
.userRegister p {
  font-size: 14px;
  height: 25px;
  line-height: 25px;
  color: #333;
  padding-bottom: 3px;
}
.userShow {
  display: block;
}
/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
  width: 0px;
  height: 0px;
  background-color: #F5F5F5;
}
/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  background-color: #FFF;
}
/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #AAA;
}
.hand {
  cursor: pointer;
}
#t-keybord table tr button {
  border: 0;
  width: 98px;
  height: 50px;
  background-color: #FFFFFF;
}
.mt10 {
  margin-top: 10px;
}
.mt20 {
  margin-top: 20px;
}
.text-left {
  text-align: left;
}
.big {
  height: 70px !important;
  font-size: 30px;
}
.exit-login {
  color: #00a2d4;
  cursor: pointer;
}
.diandan {
  text-align: center;
  padding: 24px 10px !important;
}
.sku-item td {
  padding-top: 3px;
  padding-bottom: 3px;
}
.name_1 {
  display: inline-block;
  color: #ccc;
  padding: 3px 5px;
}
.name_1 span.active {
  background-color: #009688;
  color: #fff;
}
.name_1 span {
  display: inline-block;
  padding: 3px 3px;
}
.name_2 {
  border: 1px solid #ccc;
  padding: 3px;
  width: 40px;
}
.pt10 {
  padding-top: 30px;
}
/* 结算面板 */
.checkout-panel {
  display: flex;
  flex-direction: column;
}
.checkout-detail {
  flex: 1;
  overflow-y: auto;
  overflow-y: overlay;
  margin: 10px 0;
}
section#main {
  display: flex;
  flex-direction: column;
}
.btn {
  color: #FFFFFF;
}
.cashier {
  height: 100%;
}
/* 头部 */
.header {
  font-size: 0px;
  background-color: #f1f2f6;
  padding: 0 10px;
}
.header span {
  display: inline-block;
  font-size: 16px;
  letter-spacing: normal;
  word-spacing: normal;
  padding-top: 0.5%;
  padding-bottom: 0.5%;
}
.header span i {
  font-size: 22px;
}
.header .btn {
  margin-left: 2%;
}
.main {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.main-container {
  flex: 1;
  display: flex;
}
/* 侧边栏 */
.side-bar {
  background: #383838;
  color: #fff;
  width: 60px;
}
/* 产品列表栏 */
.product-bar {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-bar .product-header {
  display: flex;
  padding: 20px;
}
.product-bar .product-header input {
  border: 1px solid #ccc;
  padding: 8px 10px;
  flex: 1;
  border-right: none;
}
.product-bar .product-header button {
  padding: 10px 30px;
  color: #fff;
}
/* 产品和订单列表 */
.product-list {
  padding: 10px!important;
  overflow-x: hidden;
  overflow-y: auto;
  overflow-y: overlay;
  flex: 1;
}
.product-list .skus {
  width: 100%;
  margin-top: 10px;
}
.product-list .sku-item button {
  background: #ff5733;
  padding: 2px 10px;
  color: #fff;
  font-size: 12px;
}
.product-list .sku-info {
  display: flex;
  align-items: center;
  margin-top: 10px;
}
.product-list .sku-info div {
  flex: 1;
  text-align: center;
}
.product-list .sku-info div:first-child {
  text-align: left;
}
.product-list .sku-info div:last-child {
  text-align: right;
}
.product-list .product-item {
  padding: 10px!important;
  background: #fff;
  border-radius: 5px;
  margin-bottom: 10px;
}
.product-list .product-item .product-img {
  width: 50px;
  height: 50px;
  min-width: 50px;
  margin-right: 15px;
}
.product-list .product-item .product-name {
  font-size: 20px;
}
.product-list .product-base-info {
  display: flex;
  align-items: center;
}
.empty {
  background: #fff;
  background-image: url(../images/timg.jpg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.orders {
  display: flex;
  flex-direction: column;
  width: 350px;
  height: 100%;
  padding-bottom: 20px;
}
.orders .empty {
  background: #fff;
  background-image: url(../images/timg.jpg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.orders .order-operation {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.orders .order-operation button {
  background: none;
  box-sizing: content-box;
  padding: 2px;
  height: 1em;
  width: 1em;
  border-radius: 50%;
  color: #ff5733;
}
.orders .order-operation .delete {
  flex: 1;
}
.orders .product-list {
  flex: 1;
  overflow-y: auto;
  overflow-y: overlay;
  overflow-x: hidden;
}
.checkout-panel {
  width: 350px;
}
button {
  border: none;
}
#selectEmployeeDialog {
  padding: 20px;
  width: 600px;
}
#selectEmployeeDialog button {
  background: #009688;
  padding: 6px 30px;
  color: #fff;
  font-size: 18px;
}
#selectEmployeeDialog .dialog-header {
  margin-bottom: 20px;
  display: flex;
}
#selectEmployeeDialog .dialog-header input {
  padding: 10px;
  flex: 1;
  border: 1px solid #ccc;
  border-right: none;
}
#selectEmployeeDialog .employee-list {
  height: 250px;
  overflow-y: auto;
  overflow-y: overlay;
}
#selectEmployeeDialog .employee-list table {
  width: 100%;
}
#selectEmployeeDialog .employee-list td,
#selectEmployeeDialog .employee-list th {
  padding: 2px 15px;
  border: 1px solid #eee;
  text-align: left;
}
#selectEmployeeDialog .employee-list .money-input {
  padding: 0;
}
#selectEmployeeDialog .employee-list .money-input input {
  padding: 10px;
  border: none;
  background: none;
  width: 100%;
}
#selectEmployeeDialog .employee-list tr:nth-child(odd) {
  background: #f9f9f9;
}
#selectEmployeeDialog .employee-list th {
  background: #f5f5f7;
}
#selectEmployeeDialog .dialog-bottom {
  margin-top: 15px;
  text-align: right;
}
section > #selectEmployeeDialog {
  display: none;
}
