:root {
    --color-red: #FE4F70;
    --color-orange: #FFA387;
}

select:focus,
textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
input[type="file"]:focus,
.uneditable-input:focus {
    border-color: transparent !important;
    box-shadow: none !important;
    outline: 0 none !important;
    border: none !important;
}

select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
input[type="file"],
.uneditable-input {
    border-color: transparent !important;
    box-shadow: none !important;
    outline: 0 none !important;
    border: none !important;
    padding: 7px 10px 7px 10px !important;
    border-radius: 0.5rem !important;
    *border: 1px solid #ced4da;
}

.rounded {
    border-radius: 1rem !important;
}

.rounded-top {
    border-top-left-radius: 1rem !important;
    border-top-right-radius: 1rem !important;
}

.main-rounded-top {
    border-top-left-radius: 1.5rem !important;
    border-top-right-radius: 1.5rem !important;
}

.shadow {
    -webkit-box-shadow: 0 8px 20px rgb(32 54 86 / 30%);
    -moz-box-shadow: 0 8px 20px rgba(32, 54, 86, 0.3);
    box-shadow: 0 8px 20px rgb(32 54 86 / 30%);
}

.text-custom {
    color: var(--color-red);
    background: -webkit-linear-gradient(68.3deg, var(--color-red) 0.4%, var(--color-orange) 100.2%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-custom {
    color: #fff !important;
    background: var(--color-red);
    background: -webkit-gradient(linear, left top, right top, from(var(--color-red)), color-stop(51%, var(--color-orange)), to(var(--color-red)));
    background: -o-linear-gradient(left, var(--color-red) 0%, var(--color-orange) 51%, var(--color-red) 100%);
    background: linear-gradient(to right, var(--color-red) 0%, var(--color-orange) 51%, var(--color-red) 100%);
    border-color: transparent;
    background-size: 200% auto;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

.btn-custom:hover {
    background-position: right center;
}

.btn-custom:focus {
    outline: none;
    box-shadow: none;
}

header {
    color: #fff !important;
    background: var(--color-red);
    background: -webkit-gradient(linear, left top, right top, from(var(--color-red)), color-stop(51%, var(--color-orange)), to(var(--color-red)));
    background: -o-linear-gradient(left, var(--color-red) 0%, var(--color-orange) 51%, var(--color-red) 100%);
    background: linear-gradient(to right, var(--color-red) 0%, var(--color-orange) 51%, var(--color-red) 100%);
    background-size: 200% auto;
    min-height: 120px;
    padding-top: 40px;
}

main {
    margin-top: -30px;
    background: #f2f1f6;
    *background: #fff;
    min-height: calc(100vh - 100px);
}

.logout_btn {
    z-index: 2;
    position: absolute;
    right: 12px;
}
.backarrow {
    z-index: 2;
    position: absolute;
}

.logo {
    margin-top: -20px;
    text-align: center !important
}

.thongtin span {
    display: block;
}

.icon {
    height: 80px;
    width: 80px;
    margin: 0 auto;
}

.table-responsive input[type=checkbox] {
    /* Double-sized Checkboxes */
    -ms-transform: scale(1.5);
    /* IE */
    -moz-transform: scale(1.5);
    /* FF */
    -webkit-transform: scale(1.5);
    /* Safari and Chrome */
    -o-transform: scale(1.5);
    /* Opera */
}

.form-check-input {
    position: unset;
}

th {
    text-align: center;
    vertical-align: middle;
}

.bd-callout {
    padding: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid #eee;
    border-left-width: .25rem;
    border-radius: .25rem;
}

.bd-callout-info {
    border-left-color: #5bc0de;
}

.bd-callout-info h4 {
    color: #5bc0de;
}

.bd-callout h4 {
    margin-top: 0;
    margin-bottom: .25rem;
}

.table-text-inline {
    white-space: nowrap;
}

.sticky-col {
    position: -webkit-sticky;
    position: sticky;
}

.first-col {
    white-space: nowrap;
    left: 0px;
    z-index: 999;
}

tr:nth-child(even) th.first-col:first-child {
    background: #fafbfd;
}

tr:nth-child(odd) th.first-col:first-child {
    background: #edeef0;
}

.input-icons i {
    position: absolute;
    color: #6c757d;
}

.input-icons__ {
    padding: 10px;
    margin-top: 2px;
}

.input-field {
    padding: 0 0 0 40px !important;
}

.kho input[type="number"],
.donhang_themmoi input[type="number"],
.donhang_themmoi input[type="text"],
.donhang_themmoi input[type="tel"],
.donhang_themmoi textarea,
.khachhang_thaydoithongtin textarea,
.khachhang_thaydoithongtin input[type="text"],
.khachhang_thaydoithongtin input[type="tel"],
.nhomsanpham input[type="number"],
.nhomsanpham input[type="text"],
.nhomsanpham input[type="tel"],
.dangnhap input[type="password"],
.dangnhap input[type="text"]{
    padding: 7px 10px 7px 40px !important;
    background: #f2f1f6 !important;
}
.kho_themmoi input[type="text"],
.kho_themmoi input[type="number"],
.kho_themmoi select,
.kho_themmoi option{
	padding: 7px 10px 7px 10px !important;
    background: #f2f1f6 !important;
}
.danhsachsanpham img,
.donhang_themmoi img,
.nhomsanpham img,
.kho img,
.child-kho img {
    max-width: 80px;
}

.danhsachsanpham .line {
    border-bottom: 1px solid #ced4da;
    margin-top: 1rem;
}

.danhsachsanpham:last-child .line {
    border-bottom: 0px;
}

.donhang_themmoi .kho-icon,
.nhomsanpham .kho-icon,
.child-kho .kho-icon {
    top: 0;
    right: 0;
    color: #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 30px;
}

.donhang .eye {
    right: 15px
}

/* Scroll to top */
.button_to_top {
  display: inline-block;
  background-color: var(--color-red);
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 90px;
  left: 30px;
  transition: background-color .3s, 
    opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}
.button_to_top::after {
  content: "\f077";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height: 50px;
  color: #fff;
}
.button_to_top:hover {
  cursor: pointer;
  background-color: #333;
}
.button_to_top:active {
  background-color: #555;
}
.button_to_top.show {
  opacity: 1;
  visibility: visible;
}
/* Scroll to top */

/* Scroll to bottom */
.button_to_bottom {
  display: inline-block;
  background-color: var(--color-red);
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 30px;
  left: 30px;
  transition: background-color .3s, 
    opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}
.button_to_bottom::after {
  content: "\f078";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height: 50px;
  color: #fff;
}
.button_to_bottom:hover {
  cursor: pointer;
  background-color: #333;
}
.button_to_bottom:active {
  background-color: #555;
}
.button_to_bottom.show {
  opacity: 1;
  visibility: visible;
}
/* Scroll to bottom */

.lichsubanhang hr{
	margin: 0.3rem;
	background-color: thistle;
}
.lichsubanhang .count-bill{
	line-height: 44px;
    float: right;
}