:root {
  --bg-neutral: rgb(114, 174, 200);
  --bgh-neutral: #212529;
  --bg-success: rgb(0, 204, 102);
  --bgh-success: rgb(0, 223, 111);
  --bg-danger: #fe4c50;
  --bgh-danger: #ff6063;
  --bgh-danger2: #FE7C7F;
  --bg-warning: rgb(0, 255, 0);
  --bgh-warning: rgb(83, 255, 83);
  --bg-primary: #19222a;
  --bgh-primary: #212d38;
  --bg-secondary: black;
  --bgh-secondary: rgb(22, 22, 22);
  --bg-lightblue: rgb(200, 255, 255);
  --bgh-lightblue: rgb(255,255,255);
  --bg-sky: rgb(130, 225, 255);
  --bgh-sky: rgb(180, 255, 255);
  --bg-notify: red;
  --bg-white: white;
  --bg-light: rgb(240, 240, 240);
  --bg-checked: rgb(200,240,240);
  --bgh-checked: rgb(200,220,220);
  --primary: white;
  --primary2: rgb(202, 202, 202);
  --secondary: rgb(114, 114, 114);
  --secondary2: rgb(95, 95, 95);
  --f-success: rgb(0, 204, 102);
  --f-dark: black;
  --f-grey: rgb(62, 62, 62);
  --f-white: white;
  --f-light: rgb(200,200,200);
  --f-link: rgb(148, 176, 192);
  --fh-link: rgb(102, 191, 243);
  --sidebar-width: 200px;
}

img { max-width: 100%; }
.logo-fluid { height: 150px; }
.img-fluid { width: 100%; }

.fs-10 { font-size: 10px; }
.fs-12 { font-size: 12px; }
.fs-14 { font-size: 14px; }
.fs-16 { font-size: 16px; }
.fs-18 { font-size: 18px; }
.fs-20 { font-size: 20px; }
.fs-22 { font-size: 22px; }
.fs-24 { font-size: 24px; }
.fs-26 { font-size: 26px; }
.fs-28 { font-size: 28px; }
.fs-30 { font-size: 30px; }
.fs-32 { font-size: 32px; }
.fs-34 { font-size: 34px; }
.fs-36 { font-size: 36px; }
.fs-38 { font-size: 38px; }

.text-right { text-align: right; }
.text-link { color: var(--f-link) !important; }
.text-link:hover { color: var(--fh-link) !important; }
.text-white { color: var(--f-white) !important; }
.text-success { color: var(--f-success) !important; }
.text-dark { color: var(--f-dark) !important; }
.text-grey { color: var(--f-grey) !important; }
.text-link2 { color: var(--f-link) !important; }

.f-border { text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px  1px 0 #000, 1px  1px 0 #000; }
.f-bold { font-weight: bold; }
.f-lower { text-transform: lowercase !important; }
.lh-1 { line-height: 1; }
.lh-12 { line-height: 1.2; }

.failure {
  border: 2px solid var(--bg-danger);
  background-color: var(--bg-lightblue);
}

.w-180 { width: 180px; }
.minh-300 { min-height: 300px; }

.col-1_5 { flex: 0 0 auto; width: 12.5%; }
.col-2_5 { flex: 0 0 auto; width: 20.83333%; }
.col-3_5 { flex: 0 0 auto; width: 29.16667%; }
.col-4_5 { flex: 0 0 auto; width: 37.5%; }
.col-5_5 { flex: 0 0 auto; width: 45.83333%; }
.col-6_5 { flex: 0 0 auto; width: 54.16667%; }
.col-7_5 { flex: 0 0 auto; width: 62.5%; }
.col-8_5 { flex: 0 0 auto; width: 70.83333%; }
.col-9_5 { flex: 0 0 auto; width: 79.16667%; }
.col-10_5 { flex: 0 0 auto; width: 87.5%; }
.col-11_5 { flex: 0 0 auto; width: 95.83333%; }

.init-page {
  width: 100%;
	margin-top: 150px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.btn-danger.disabled { background-color: var(--bgh-danger) !important; }
.btn-success.disabled { background-color: var(--bgh-success) !important; }
.btn-warning.disabled { background-color: var(--bgh-warning) !important; }
.disabled { cursor: not-allowed !important; }

.mouse-pointer { cursor: pointer; }
.btnLink { 
  cursor: pointer; 
  color: var(--f-link); 
  transition: .2s;
}
.btnLink:hover { color: var(--fh-link); }

.ml--4 { margin-left: -4px; }
.ml-150 { margin-left: 150px; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }
.mt--26 { margin-top: -26px; }
.mt-7 { margin-top: 7px; }
.mt-10 { margin-top: 10px !important; }
.mt-13 { margin-top: 13px !important; }
.mt-19 { margin-top: 19px; }
.my-6 { margin-top: 6px; margin-bottom: 6px; }
.tp-6 { top: 6px !important; }
.pl-3 { padding-left: 0.5rem !important; }

.nw { white-space: nowrap; }

.hidden { 
  visibility: visible; 
  transition: .5s;
  opacity: 1;
  height: 100%;
}
.hidden.hide {
  height: 0;
  opacity: 0;
  visibility: hidden;
}

.d-nonde { display: none }
.d-iflex { display: inline-flex }
.d-igrid { display: inline-grid }
.d-flex { display: flex; }
.d-initial { display: initial; }

.p-relative { position: relative; }

.bg-danger { background-color: var(--bg-danger) !important; }
.bg-success { background-color: var(--bg-success) !important; }
.bg-neutral { background-color: var(--bg-neutral) !important; }
.bg-warning { background-color: var(--bg-warning) !important; color: var(--f-dark) !important;}

.shadow { box-shadow: 0px 0px 12px rgba(0,0,0,0.2); }
.shadow-hover {
  transition: .5s;
  box-shadow: 0px 0px 2px rgba(0,0,0,0.5);
}
.shadow-hover:hover { box-shadow: 0px 0px 12px rgba(0,0,0,0.3); }
.shadow-mark { box-shadow: 0px 0px 2px rgba(0,0,0,0.5); }
.hover-light { transition: .5s; background-color: var(--bg-white);}
.hover-light:hover { background-color: var(--bg-light) !important; }

.icon-24 {
  top: 3px;
  position: relative;
}

.rotate {
  animation: spin infinite 1s;
}

.form-control-noW {
  display: block;
  padding: .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.form-control-noW:focus {
  color: #212529;
  background-color: #fff;
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(13,110,253,.25);
}

/* INSIDE */
.inside-btn, .inside-select { position: relative; }
.inside-btn .icon {
  position: absolute;
  right: 15px;
  top: 13px;
  cursor: pointer;
  color: var(--secondary2);
}
.inside-btn .icon-2 {
  position: absolute;
  right: 15px;
  top: 7px;
  cursor: pointer;
  color: var(--secondary2);
}
.inside-btn .icon-min {
  position: absolute;
  right: 10px;
  top: 7px;
  cursor: pointer;
  color: var(--secondary2);
}
.inside-select .icon {
  position: absolute;
  right: 20px;
  top: 6px;
  cursor: pointer;
  color: rgba(100,100,100,0.8);
}
.inside-sd {
  position: absolute;
  right: 20px;
  bottom: 0;
}
.inside-se {
  position: absolute;
  left: 20px;
  bottom: 0;
}
.inside-nd {
  position: absolute;
  right: 20px;
  top: 0;
}
.inside-ne {
  position: absolute;
  left: 20px;
  top: 0;
}
.inside-sd0 {
  position: absolute;
  right: 3px;
  bottom: 0;
}
.inside-se0 {
  position: absolute;
  left: 3px;
  bottom: 0;
}
.inside-nd0 {
  position: absolute;
  right: 3px;
  top: 0;
}
.inside-ne0 {
  position: absolute;
  left: 3px;
  top: 0;
}
.inside-sd1 {
  position: absolute;
  right: 8px;
  bottom: 0;
}
.inside-se1 {
  position: absolute;
  left: 8px;
  bottom: 0;
}
.inside-nd1 {
  position: absolute;
  right: 8px;
  top: 0;
}
.inside-ne1 {
  position: absolute;
  left: 8px;
  top: 0;
}

/* Input Config */
.input {
  height: 46px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 0;
  min-width: 300px;
  padding: 20px;
  transition: .5s;
}

.input:focus {
  border: 1px solid rgba(0,0,0,0.3);
}

/* Button */
.btnn {
  padding: 12px 15px;
  min-width: 165px;
	border: none;
  border-radius: 0;
	background: var(--bg-neutral);
	color: var(--f-white);
	font-size: 14px;
	font-weight: 500;
	text-transform: uppercase;
	cursor: pointer;
  transition: .5s;
}
.btnn:hover {
	background: var(--bgh-neutral);
	color: var(--f-white);
}
.btnn-icon {
  padding: 2px 5px;
	border: none;
	background: var(--bg-neutral);
	color: var(--f-white);
	font-size: 14px;
	font-weight: 500;
	text-transform: uppercase;
	cursor: pointer;
  transition: .5s;
}
.btnn-icon:hover {
	background: var(--bgh-neutral);
	color: var(--f-white);
}
.btnn-success {
	background: var(--bg-success);
	color: var(--f-white);
}
.btnn-success:hover {
	background: var(--bgh-success);
	color: var(--f-white);
}
.btnn-danger {
	background: var(--bg-danger);
	color: var(--f-white);
}
.btnn-danger:hover {
	background: var(--bgh-danger);
	color: var(--f-white);
}
.btnn-warning {
  background-color: var(--bg-warning);
	color: var(--f-dark);
}
.btnn-warning:hover {
  background-color: var(--bgh-warning);
	color: var(--f-dark);
}
.btnn-link {
  background-color: var(--bg-danger);
  padding: 15px;
  padding-left: 30px;
  padding-right: 30px;
  transition: .5s;
  color: var(--f-white);
  text-transform: uppercase;
  font-weight: bold;
}
.btnn-link:hover {
  text-decoration: none;
  background-color: var(--bgh-danger);
  color: var(--f-white);
}

/* CheckBox */
.checkbox {
  display: block;
  position: relative;
  padding-left: 30px;
  padding-top: 29px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.checkbox .title {
  margin-top: 2px;
  font-size: 16px;
  position: absolute;
}
.checkbox .mark {
  position: absolute;
  top: 29px;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: var(--bg-checked);
  border-radius: 3px;
  border: 1px solid rgba(0,0,0,0.1);
}
.checkbox:hover input ~ .mark {
  background-color: var(--bgh-checked);
}
.checkbox input:checked ~ .mark {
  background-color: var(--bg-neutral);
}
.checkbox .mark:after {
  content: "";
  position: absolute;
  display: none;
}
.checkbox input:checked ~ .mark:after {
  display: block;
}
.checkbox .mark:after {
  left: 7px;
  top: 3px;
  width: 9px;
  height: 14px;
  border: solid white;
  border-width: 0 4px 4px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* Loader */
.loader {
  position: relative;
  visibility: hidden;
  background-color: white;
  width: 100vw;
  height: 100vh;
  z-index: 65;
  position: fixed;
  opacity: 0;
  transition: .5s;
}

.loader.active {
  visibility: visible;
  opacity: 1;
}

.loader img {
  width: 50px;
  display: flex;
  margin: auto;
  margin-top: -76px;
  animation: blink infinite 0.5s alternate;
}

.loader .loading {
  width: 100px;
  height: 100px;
  border: 3px solid rgba(155, 120, 120, 0.8);
  border-bottom: 5px solid white;
  border-radius: 50%;
  display: flex;
  margin: auto;
  margin-top: 40vh;
  animation: spin infinite 1s;
}

@keyframes blink {
  0% { opacity: 1; }
  100% { opacity: 0.7; }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg);}
}

/* toWait */
.toWait { 
  position: relative; 
  display: inline-flex; 
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}
.toWait-load {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  pointer-events: none;
  vertical-align: middle;
  max-height: 100%;
}
.toWait-icon {
  margin-left: auto;
  margin-right: auto;
}

/* Tooltip */
.showTip { position: relative; }
.tip {
  text-transform: capitalize;
  position: absolute;
  padding: 3px 6px;
  border: 1px solid rgba(0,0,0,0.2);
  background-color: var(--bgh-neutral);
  color: var(--f-white);
  top: calc(100% + 2px);
  z-index: 5;
  right: -1px;
  pointer-events: none;
}
.tip.top {
  top: calc(-100% + 2px);
  bottom: calc(100% + 2px);
}

/* AlertMessage */
#notify {
  position: fixed;
  z-index: 250;
  top: 0;
  left: 0;
  right: 0;
}
.am {
  position: relative;
  display: block;
  min-width: 100%;
  left: 0;
}
.am .am-text {
  position: relative;
  visibility: hidden;
  background-color: var(--bg-neutral);
  color: var(--f-white);
  opacity: 0;
  transition: .5s;
  padding: 5px;
  top: -50px;
  left: 0;
  white-space: nowrap;
  z-index: 251;
  min-width: 100%;
  text-align: center;
  font-size: 22px;
  margin-bottom: 3px;
}
.am.active > .am-text {
  top: 0px;
  opacity: 1;
  visibility: visible;
}

/* SideBar */
.sidebar {
  height: 100vh;
  position: fixed;
  top: 0;
  z-index: 55;
  display: flex;
  align-items: center;
}
.sidebar-settings {
  transition: .2s;
  position: absolute;
  width: 40px;
  background-color: var(--bg-primary);
  border-right: 1px solid var(--bg-secondary);
}
.sidebar-item {
  position: relative;
  transition: .5s;
  width: 100%;
}
.sidebar .link {
  display: flex;
  font-size: 15px;
  color: var(--f-light);
  height: 100%;
  padding: 10px 0;
  transition: .5s;
  line-height: 2;
  z-index: -1;
  background-color: var(--bg-primary);
  white-space: nowrap;
  text-decoration: none;
}
.sidebar .submenu {
  position: absolute;
  top: 0;
  left: -250px;
  width: 250px;
  z-index: -1;
  transition: .3s;
  border-right: 1px solid var(--bg-secondary);
}
.sidebar .extramenu {
  position: absolute;
  left: -500px;
  width: 250px;
  margin-top: -50px;
  z-index: -1;
  transition: .3s;
}
.sidebar-settings:hover { width: 200px; }
.sidebar-item .title { visibility: hidden; transition: .5s; opacity: 0; }
.sidebar-item .has-links { opacity: 0; }
.sidebar-settings:hover .title { visibility: visible; opacity: 1; }
.sidebar-settings:hover .has-links { opacity: 1; }
.sidebar-item:hover .submenu { left: 200px; }
.submenu-item:hover .extramenu { left: 250px; }
.sidebar-item:hover > .link { background-color: var(--bgh-primary); }
.submenu-item:hover > .link{ background-color: var(--bgh-primary); }
.extramenu-item:hover > .link{ background-color: var(--bgh-primary); }
.sidebar .has-links { position: absolute; right: 0; }
.sidebar iconify-icon { font-size: 30px; padding: 0 5px 0; }

/* Modal */
.showModal { cursor: pointer; }
.m-modal {
  position: fixed;
  z-index: 249;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,0.5);
  width: 102vw;
  height: 100vh;
  transition: .5s;
  visibility: hidden;
  opacity: 0;
}
.m-modal.active {
  visibility: visible;
  opacity: 1;
}
.m-win {
  position: fixed;
  padding: 0;
  z-index: 250;
  top: 75px;
  /* width: 100%; */
  max-height: 80vh;
  background-color: var(--bg-white);
}
.m-win.m-small {
  top: 150px;
  max-height: 60vh;
}
.m-title {
  position: absolute;
  bottom: 100%;
  width: 100%;
  background-color: var(--bg-white) !important;
  padding-left: 30px;
  padding-top: 10px;
  height: 55px;
  border-left: 0px solid var(--primary);
  border-bottom: 1px solid rgba(0,0,0,0.2);
}
.m-body {
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 20px;
  max-height: calc(87vh - 55px);
  overflow: auto;
  background-color: var(--bg-light);
}
.m-win.m-small .m-body {
  max-height: calc(60vh - 55px);
}
.m-footer {
  background-color: var(--bg-light);
  top: 100%;
  position: absolute;
  width: 100%;
  text-align: center;
}
.m-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-color: rgba(0,0,0,0.1);
}

.m-suggest-options {
  box-shadow: 1px 3px 3px rgba(50,50,50,0.3);
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  border: 1px solid rgba(0,0,0,0.2);
  position: absolute;
  background-color: white;
  width: 90%;
  z-index: 1;
}
.m-suggest-options li {
  padding: 7px;
  padding-top: 2px;
  padding-bottom: 2px;
  cursor: pointer;
}
.m-suggest-options li:hover {
  background-color: rgba(0,0,0,0.1);
}

body::-webkit-scrollbar, .m-body::-webkit-scrollbar, .content-page::-webkit-scrollbar {
  width: 10px;
}
body::-webkit-scrollbar-track, .m-body::-webkit-scrollbar-track, .content-page::-webkit-scrollbar-track {
  background: transparent;
}
body::-webkit-scrollbar-thumb, .m-body::-webkit-scrollbar-thumb, .content-page::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.3);
}

/* HideNav */
.hideItem {
  transition: .5s;
  opacity: 1;
  position: relative;
  visibility: visible;
  top: 0;
}

.hideItem.hide {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 200px;
}

/* Number In */
.number-in {
  position: relative;
}

.number-in .number {
  position: absolute;
  background-color: var(--bg-neutral);
  color: var(--f-white);
  padding: 0px 5px;
  text-align: center;
  font-size: 12px;
  top: -10px;
  right: -10px;
}

/* Navigation */
.navigation {
  width: 100%;
}
.navigation-container {
  position: relative;
  width: 100%;
}
.navigation .navigation-item {
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.3);
  font-size: 18px;
  padding: 10px;
  cursor: pointer;
  transition: .5s;
  text-transform: uppercase;
  background-color: var(--bg-lightblue);
}
.navigation .navigation-item:hover { background-color: var(--bgh-lightblue); }
.navigation .navigation-item.active { background-color: var(--bg-sky); }
.navigation .navigation-item.active:hover { background-color: var(--bgh-sky); }
.navigation-for {
  transition: .3s;
  opacity: 1;
  position: relative;
  visibility: visible;
  top: 0;
}
.navigation-for.hide {
  opacity: 0;
  visibility: hidden;
  position: absolute;
}
.navigation-for.go-right { right: 0; }
.navigation-for.go-left { left: 0; }
.navigation-for.go-right.hide { right: 30%; }
.navigation-for.go-left.hide { left: 30%; }

/* Navigation List */
.list-nav {
  width: 100%;
}
.list-nav-container {
  position: relative;
  width: 100%;
}
.list-nav .list-nav-item {
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.3);
  font-size: 18px;
  padding: 10px;
  cursor: pointer;
  transition: .5s;
  text-transform: uppercase;
  background-color: var(--bg-lightblue);
}
.list-nav .list-nav-item:hover { background-color: var(--bgh-lightblue); }
.list-nav .list-nav-item.active { background-color: var(--bg-sky); }
.list-nav .list-nav-item.active:hover { background-color: var(--bgh-sky); }
.list-nav-for {
  transition: .3s;
  opacity: 1;
  position: relative;
  visibility: visible;
  top: 0;
}
.list-nav-for.hide {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 100%;
}

/* Topbar */
.topbar {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 5;
}

/* Footer */
.footer {
  position: fixed;
  width: 100%;
  bottom: 0;
}
.footer_baseboard {
  padding-bottom: 5px;
  padding-top: 5px;
}

/* Suggest */
.suggest {
  position: absolute;
  width: 98%;
  z-index: 5;
}
.suggest-text {
  cursor: pointer;
  background-color: var(--bgh-white);
  padding: 3px 10px;
  transition: .5s;
  color: black;
  border: 1px solid rgba(0,0,0,0.1);
}
.suggest-text:hover {
  background-color: var(--bg-white);
}

/* Point notify */
.point-notify:after {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--bg-notify);
}

/* Search */

.searchReorder {
  cursor: pointer;
  transition: .5s;
  background-color: transparent;
}
.searchReorder:hover, .searchReorder.active {
  background-color: rgba(0,0,0,0.1);
}