*, *:before, *:after{
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
*, html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, label, fieldset, input, p, blockquote, th, td{margin: 0;padding: 0;}
table{border-collapse: collapse; border-spacing: 0;}
fieldset, img {border: 0}
address, caption, cite, code, dfn, em, strong, th, var {font-style: normal; font-weight: normal}
ol, ul, li{list-style: none;}
caption, th{text-align: left;}
h1, h2, h3, h4, h5, h6{font-size: 100%; font-weight: normal;}
div, img, button, input, textarea, select{outline: none}
strong{font-weight: bold}
em{font-style: italic;}
a img{border: none;}
.tc{text-align: center;}
.fixed{
  position: fixed;
}
.fixed.fill,
.abs.fill{
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
}
.abs{
  position: absolute;    
}
.abs.abc{
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.abcb:before{
  position: absolute;
  top: 50%;left: 50%;transform: translate(-50%, -50%);
}
.rel{
  position: relative;
}
button{
  outline: none;
  cursor: pointer;
}
.tbl{display: table;}
.flex{display: flex;}
.flex.jc{justify-content: center;}
.flex.je{justify-content: flex-end;}
.flex.col{flex-direction: column;}
.flex.aic{align-items: center;}
.flex.ass{align-self: flex-start;}
.flex.iflex{display: inline-flex;}
.hide{display: none;}
.pointer{cursor: pointer;}
.grab{cursor: grab;}
.grabbing{cursor: grabbing;}
.nope{pointer-events: none;}
.nous{user-select: none;}
.noul{text-decoration: none;}
.noulh:hover{text-decoration: underline;}
.b6, .b{font-weight: bold;}
.wordwrap{
  word-wrap: break-word;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 99%;
}
.fit{object-fit: content;}
.blur{filter: blur(5px);}
.sticky{position: sticky}
.cfff{color: #fff;}
.c777{color: #777;}
.c999{color: #999;}
  
.s10{font-size: 10px;}
.s11{font-size: 11px;}
.s12{font-size: 12px;}
.s13{font-size: 13px;}
.s14{font-size: 14px;}
.s15{font-size: 15px;}
.s16{font-size: 16px;}
.s18{font-size: 18px;}
.s20{font-size: 20px;}
.s24{font-size: 24px;}
.s30{font-size: 30px;}
.s36{font-size: 36px;}
.s40{font-size: 40px;}
.s50{font-size: 50px;}
.s70{font-size: 70px;}
.s100{font-size: 100px;}
  
.holder{
    opacity: 0.65;
    animation: placeholder 2s linear infinite;
}
@keyframes placeholder{
  50%{ opacity: 1; }
}

.pagination {
  align-items: center;
  justify-content: center;
  margin: 30px 20px 75px 20px;
}
.pagination button{
  border: 1px #ccc solid;
  padding: 8px 15px 8px 15px;
  margin: 0px 5px;
  background: #ffffff;
  color: #636363;
  height: 38px;
  border-radius: 15px;
}
.pagination button:hover{
  background: rgba(var(--colorh), 0.2);
  border: 1px rgba(var(--colorh), 0.4) solid;
}
.pagination button:disabled{
  color: #e8e8e8;
  border: 1px #eee solid;
  cursor: auto;
}
.contextmenu {
  z-index: 999;
  background: #fff;
  top: 200px;
  left: 470px;
  border-radius: 5px;
  padding: 10px 0px;
  box-shadow: 0px 1px 1px #e7e7e7;
  width: 200px;
  border: 1px #d7d7d7 solid;
}
.contextmenu button{
  padding: 6px 10px;
  border: 0px;
  background: rgba(0, 0, 0, 0);
  width: 100%;
  box-sizing: border-box;
}
.contextmenu button .ico {
  margin: 0px 12px 0px 8px;
  font-size: 24px;
  color: var(--color);
}
.contextmenu button:hover{
  background: #f4f4f4;
}
.contextmenu .line{
  height: 1px;
  background: #e9e9e9;
  margin: 5px 0px;
}

@keyframes Shake {
  0% { transform: translate(-52%, -50%); }
  25% { transform: translate(-48%, -50%); }
  50% { transform: translate(-52%, -50%); }
  75% { transform: translate(-48%, -50%); }
  10% { transform: translate(-52%, -50%); }
}

.toast{
	top: 100px;
  right: 20px;    
  transform: translateX(500px);
  opacity: 0;
  z-index: 2147483647;
  transition: all 0.25s linear 0s;
}
.toast:before{
  content: '';
  position: absolute;
  top: 0px;
  left: -10px;
  bottom: 0px;
  right: 0px;
  border-radius: 3px;
  z-index: -1;
}
.toast.toast-error:before{
  background: #bd292a;
}
.toast.toast-ok:before{
  background: #29bd50;
}
.toast.toast-warn:before{
  background: #f7bd1c;
} 
.toast button{
  border: 0px;
  line-height: 1;
  padding: 6px 5px 6px 20px;
  border-left: 1px rgb(64, 64, 64) solid;
  color: #fff;
  border-radius: 2px;
  margin-left: 20px;
  background: rgba(0, 0, 0, 0);
}
.toast button:hover{
  opacity: 0.95;
}
.toast.visible{
  transform: translateX(0px);
  opacity: 1;        
}
.toast.hidden{
  transform: translateX(500px);
}
.toast .bg{
  color: #fff;    
  flex-direction: row;
  align-items: center;
  z-index: 1;
  background: #2f2f2f;
  padding: 10px 20px 10px 25px;
  border-radius: 3px;
  transform: translateX(250px);
  opacity: 0;
  transition: all 0.2s linear 0s;
}
.toast .bg.bgv{
  opacity: 1;
  transform: translateX(0px);        
}

.dialogbox{
  z-index: 2147483547;
  background: rgba(99,114,130,0.5);
  overflow-x: hidden;
  overflow-y: auto;
  opacity: 0;
  transition: all 0.15s linear 0s;
}
.dialogbox.visible{opacity: 1;}
.dialogbox.blur{
  filter: blur(3px);
}
.dialogbox.blur.msgbox{
  transform: translate(-50%, -60%) scale(0.9);
}
.dialogbox .msgbox{
  background: rgb(255, 255, 255);
  top: -100vh;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 650px;
  min-width: 450px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  border-radius: 10px;
  transition: all 0.2s linear 0s;
}
.dialogbox .msgbox .cover{
  z-index: 2;
  border-radius: 10px;
}
.dialogbox .msgbox .cover svg{height: 40px;}
.dialogbox .msgbox.visible{
  top: 48% !important;
}
.dialogbox .msgbox.shake{
  animation: Shake;
  animation-duration: 0.3s;
}
.dialogbox .msgbox .msgbox-head{
  padding: 15px 20px 5px 20px;
}
.dialogbox .msgbox .msgbox-head .cross{
  border: 0px;
  font-size: 30px;
  top: 5px;
  right: 5px;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  padding: 0px 4px 3px 4px;
  line-height: 0;
  background: #fff;
  color: #777;
}
.dialogbox .msgbox .msgbox-content{
  padding: 20px;
}
.dialogbox .msgbox .msgbox-content .input{
  padding: 8px 10px;
  width: 100%;
}
.dialogbox .msgbox .msgbox-content .lbl{
  margin-bottom: 5px;
}
.dialogbox .msgbox .msgbox-footer{
  padding: 15px 20px;
}
.dialogbox .msgbox .msgbox-footer .msgbox-footer-btns{
  text-align: right;
}
.dialogbox .msgbox .msgbox-footer .msgbox-footer-btns .button{
  padding: 5px 12px;
}
.dialogbox .msgbox .msgbox-footer .msgbox-footer-btns .msgbox-close{
  background: #fff;
  margin-right: 10px;
  color: #777;
  transition: all 0.1s linear 0s;
}
.dialogbox .msgbox .msgbox-footer .msgbox-footer-btns .msgbox-close.msgbox-action{
  background: var(--color);
  color: #fff;  
}
.dialogbox .msgbox .msgbox-footer .msgbox-footer-btns .msgbox-close.msgbox-action:hover{
  background: rgba(var(--colorh), 0.9);
  color: #fff;                        
}
.dialogbox .msgbox .msgbox-footer .msgbox-footer-btns .msgbox-close:hover{
  color: #222;
  background: var(--colorl);
}

.app-checkbox{
    min-width: 45px;
    max-width: 45px;
    height: 27px;
    max-height: 27px;
    border: 0px;
    border-radius: 20px;
    position: relative !important;
    background: #ccc;
    transition: all 0.4s linear 0s;
}
.app-checkbox:before{
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 23px;
  height: 23px;
  background: #fff;
  border-radius: 50px;
  transition: all 0.2s linear 0s;
}
.app-checkbox.on{
  box-shadow: inset 0px 0px 0px 20px var(--color);
}
.app-checkbox.on:before{
  transform: translateX(18px);
}