:root {
  --main-0: #97977a;
  --dark-0: #000000;
  --dark-1: #142245;
  --dark-2: #a9aebe;
  --dark-3: #c6cbdc;
  --dark-outline: #142245;
  --light-0: #f0f6fd;
  --light-1: #fafcff;
  --light-2: #fefeff;
  --light-3: #fafafa;
  --light-4: #ffffff;
  --light-outline: #f0f6fd;
  --red-0: #ef3b3b;
  --red-1: #ffd5d5;
  --red-outline: #ef3b3b;
  --green-0: #3ed25e;
  --green-outline: #3ed25e;
  --blue-0: #213785;
  --blue-1: #374fa2;
  --blue-2: #4698f7;
  --blue-3: #d7ebff;
  --blue-4: #e9f4fe;
  --blue-link: #0f56b3;
  --blue-outline: #374fa2;
  --yellow-0: #ffc93f;
  --yellow-1: #fef2d5;
  --yellow-outline: #ffc93f;
  --orange-0: #f36f21;
  --orange-1: #ffddbe;
  --orange-outline: #f36f21;
  --teal-0: #06daf7;
  --teal-outline: #06daf7;
  --breakpoint-xs: 0;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
}

::-webkit-scrollbar-track {
  border-radius: 0px;
  background-color: #fff;
}

::-webkit-scrollbar {
  width: 5px;
  background-color: #ebedf8;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: #ebedf8;
  border-radius: 10px;
}

::-webkit-input-placeholder { /* WebKit, Blink, Edge */
  color:    dimgrey !important;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
 color:    dimgrey !important;
 opacity:  0.5 !important;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
 color:    dimgrey !important;
 opacity:  0.5 !important;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
 color:    dimgrey !important;
}
::-ms-input-placeholder { /* Microsoft Edge */
 color:    dimgrey !important;
}

::placeholder { /* Most modern browsers support this now. */
 color:    dimgrey !important;
 opacity:  0.5 !important;
}


.main-color {
  color: var(--main-0) !important;
}
.dimgrey-color {
  color: dimgrey !important;
}

.uppercase {
  text-transform: uppercase;
}

.box-popup-content {
  /* position: absolute; */
  z-index: 1000;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-around;
  align-items: center;
  background-color: rgba(20, 34, 69, 0.6);
}

.dialog {
  position: relative;
  width: 544px;
  box-shadow: 4px 4px 12px rgba(20, 34, 69, 0.1);
  background: white;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  max-height: calc(100% - 64px);
}

.dialog-header {
  height: 74px;
  padding: 0px 16px;
  border-bottom: solid 1px #f0f6fd;
  border-radius: 8px 8px 0 0;
  box-sizing: border-box;
  display: flex;
  background-color: white;
  align-items: center;
}

.dialog-content {
  padding: 16px;
  border-bottom: solid 1px #f0f6fd;
  border-radius: 0;
  background-color: white;
  box-sizing: border-box;
}

.dialog-footer {
  border-radius: 0 0 8px 8px;
  display: flex;
  background-color: white;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
}

.t-header-h2 {
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  line-height: 25px;
  color: #142245;
}

.table {
  width: 100%;
  vertical-align: top;
  background: #ffffff;
}
.table > thead {
  vertical-align: bottom;
}
.table > thead tr {
  height: 40px;
}
.table > tbody tr {
  height: 50px;
}

.table > tbody tr:last-child {
  border-bottom: 1px solid #dee2e6;
}

.table-bordered > :not(caption) > * {
  border-width: 1px 0;
  border-bottom: 1px solid whitesmoke;
}

.table > :not(:last-child) > :last-child > * {
  border-bottom-color: #edeff1;
}
.table > thead > tr > th {
  font-weight: 600;
}
.table > thead tr th {
  padding-bottom: 8px;
}

.table-bordered > :not(caption) > * > * {
  border-width: 0 1px;
}

.table > :not(caption) > * > * {
  padding: 1px 8px;
  font-size: 13px;
  color: var(--dark-1);
  vertical-align: middle;
}

.table > tbody {
  vertical-align: inherit;
}

.table-bordered > :not(caption) > * {
  border-width: 1px 0;
  border-bottom: 1px solid whitesmoke;
}

.table-bordered > :not(caption) > * > * {
  border-width: 0 1px;
}

.table > :not(caption) > * > * {
  padding: 1px 8px;
  font-size: 13px;
  color: #142245;
  vertical-align: middle;
}

.table-hover tbody tr:hover {
  color: #212529;
  background-color: var(--blue-4);
}

.s-pl-12 {
  padding-left: 12px !important;
}
.s-pr-12 {
  padding-right: 12px !important;
}
.s-pt-12 {
  padding-top: 12px !important;
}
.s-pb-8 {
  padding-bottom: 8px !important;
}
.t-body-medium {
  font-style: normal;
  font-weight: 400;
  font-size: 13px;
  line-height: 18px;
  color: #142245;
}

.pagination-rounded .page-link {
  border-radius: 4px !important;
  margin: 0 3px !important;
  border: none;
}

.page-item.active .page-link {
  z-index: 3;
  color: #142245;
  background-color: #f0f6fd;
  border-color: #f0f6fd;
}
.dropdown, .dropup {
  position: relative;
}

.btn-1 {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  color: #142245;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 12px;
  font-size: 16px;
  border-radius: 4px;
  -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out,
  -webkit-box-shadow 0.15s ease-in-out;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out,
  -webkit-box-shadow 0.15s ease-in-out;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out,
  -webkit-box-shadow 0.15s ease-in-out;
}

.icon-24 {
  width: 24px;
  height: 24px;
  display: inline-block;
  float: inherit;
  background-size: 24px;
  background-position: center;
  background-repeat: no-repeat;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  z-index: 4;
  display: none;
  min-width: 10rem;
  padding: 0;
  margin: 0;
  right: 0;
  background: #ffffff;
}

.context-menu {
  position: relative;
  min-width: 10rem;
  padding: 0;
  margin: 0;
  text-align: left;
  list-style: none;
  background-color: #ffffff;
  background-clip: padding-box;
  width: 270px;
  border-radius: 4px;
  overflow: hidden;
}
.context-menu li {
  display: block;
  width: 100%;
  padding: 0;
  clear: both;
  font-weight: 400;
  color: #6c757d;
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  height: 40px;
  border-bottom: solid 1px #f0f6fd;
}

.context-menu li a {
  font-size: 13px;
  line-height: 18px;
  color: #142245;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 8px 16px;
}

.shadow-light-03 {
  box-shadow: 4px 4px 12px rgba(20, 34, 69, 0.1);
}

.dropdown-toggle::after {
  content: none;
}

.table-bordered td {
  border: 0px solid white;
}
#snackbar {
  visibility: hidden;
  min-width: 618px;
  margin-left: -309px;
  position: fixed;
  z-index: 1000;
  left: 50%;
  top: 30px;
  font-size: 17px;
}
#snackbar.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}
.content-snackbar {
  width: 100%;
  background-color: var(--dark-1);
  height: 48px;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  padding: 12px;
}
.c-light-4 {
  color: var(--light-4) !important;
}

.background-grave {
  background-image: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.6)), url('/content/images/mophan.jpg');
  background-size: 100% 100%;
  border-radius: 10px;
  border: 1px solid var(--main-0);
}

.background-cremation {
  background-image: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.6)), url('/content/images/hoa-tang-1.jpg');
  background-size: 100% 100%;
  border: 1px solid var(--main-0);
}

.background-maintenance {
  background-image: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.6)), url('/content/images/baoduongmo.jpg');
  background-size: 100% 100%;
  border: 1px solid var(--main-0);
}

.fw-500 {
  font-weight: 500;
}

.fw-600 {
  font-weight: 600;
}

.fw-700 {
  font-weight: 700;
}

.btn-main {
  background-color: var(--main-0);
  color: white;
  border-radius: 5px;
  font-weight: 500;
}

.btn-main:hover {
  background-color: white;
  color: var(--main-0);
  border-color: var(--main-0);
  border-radius: 5px;
  font-weight: 500;
}