body {
  font-family: "Segoe UI Web (West European)", Segoe UI, -apple-system, BlinkMacSystemFont, Roboto, Helvetica Neue, sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  overflow-y: auto;
}

.form-bold {
  font-weight: 700;
}

.form-control:focus {
  color: #0067b8;
  border: 1.5px solid #0067b8;
}

th a,
td a {
  color: #0067b8;
}

a:disabled {
  cursor: not-allowed !important;
}

.btn-primary {
  color: #fff;
  background-color: #2262a7;
  border-color: #2262a7;
  box-shadow: none;
}

.navbar {
  background: url(/images/navbar.jpg) !important;
}

.nav-link {
  color: #FFF !important;
}

.dropdown-item {
  color: #000 !important;
  padding: 10px;
  font-size: 14px;
  text-align: left;
  list-style: none;
  font-weight: 400;
  line-height: 1.42857143;
}

.navbar .container {
  background-color: rgba(58, 104, 171, .6);
}

.content-wrapper {
  -webkit-transition: -webkit-transform 0.3s ease-in-out, margin 0.3s ease-in-out;
  -moz-transition: -moz-transform 0.3s ease-in-out, margin 0.3s ease-in-out;
  -o-transition: -o-transform 0.3s ease-in-out, margin 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, margin 0.3s ease-in-out;
  margin-left: 230px;
  z-index: 820;
  background: transparent;
}

body {
  background: transparent;
}

html {
  background-image: url(/images/background.svg);
  background-repeat: repeat;
  background-size: cover !important;
}

.card-primary.card-outline {
  border-radius: 0;
}

.brand-text {
  color: #FFF;
}

.nav .dropdown-menu {
  background: url(/images/navbar.jpg) !important;
}

.dropdown-item {
  color: #FFF !important;
  background-color: rgba(58, 104, 171, .6);
}

a.nav-link.active {
  color: #ffc107 !important;
  font-weight: bold;
}

.login-page {
  background-image: url(/images/background.svg);
  background-repeat: repeat;
  background-size: cover !important;
}

.card-title {
  color: #444 !important;
  font-weight: 700;
  font-size: 1.2rem;
  text-align: center;
  margin: auto;
  width: 100%;
  text-transform: uppercase;
}

.modal-title {
  text-align: center;
  margin: auto;
  text-transform: uppercase;
  width: 100%;
}

.btn {
  border-radius: 0px;
  -webkit-box-shadow: none;
  box-shadow: none;
  border: 1px solid transparent !important;
  min-width: 108px;
  line-height: normal;
  text-transform: uppercase;
}

.text-normal {
  text-transform: unset;
}

a.disabled {
  pointer-events: none;
}

th {
  text-transform: unset !important;
}

tr:hover {
  background-color: #0067b85c !important;
}

.modal-title {
  font-weight: 700;
}

.btn-primary {
  background-color: #0067b8;
}

.container {
  max-width: 95% !important;
}

.table-bordered {
  border: 1px solid #f4f4f4;
}

.table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
}

table thead {
  background-color: #edebe9;
}

table thead th {
  text-transform: uppercase;
  text-align: center;
}

.table-striped>tbody>tr:nth-of-type(odd) {
  background-color: #f9f9f9;
}

.navbar-expand .navbar-collapse {
  justify-content: center;
}

.pagination-1 .btn {
  min-width: 50px !important;
}

.form-control {
  border-radius: 0;
  -webkit-border-radius: 0;
  color: #000;
}

label {
  margin-bottom: 0;
}

.vertical-center {
  margin-top: auto;
  margin-bottom: auto;
}

.image {
  width: 75px;
  height: 100px;
  /* border: solid 1px #000; */
  position: relative;
  cursor: pointer;
}

.image img {
  width: 75px;
  height: 100px;
  object-fit: cover;
  /* padding-bottom: 2px;
  padding-right: 2px; */
}

.image-family {
  width: 300px;
  height: 200px;
  position: relative;
  cursor: pointer;
}

.image-family img {
  width: 300px;
  height: 200px;
  object-fit: cover;
}

a.capture {
  display: relative;
  position: absolute;
  right: -7px;
  top: -7px;
  background-color: #008d3f;
  color: #FFF;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  text-align: center;
}

a.edit {
  display: relative;
  position: absolute;
  left: -7px;
  bottom: -7px;
  background-color: #0067b8;
  color: #FFF;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  text-align: center;
}

a.delete {
  display: relative;
  position: absolute;
  right: -7px;
  bottom: -7px;
  background-color: #dc3545;
  color: #FFF;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  text-align: center;
}

a.image-edit {
  display: relative;
  position: absolute;
  left: -7px;
  bottom: -7px;
  background-color: #2262a7;
  color: #FFF;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  text-align: center;
  font-size: 13px;
}

a.image-edit-left {
  z-index: 9999;
  display: relative;
  position: absolute;
  left: -7px;
  bottom: -7px;
  background-color: #2262a7;
  color: #FFF;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  text-align: center;
  font-size: 13px;
}

a.image-edit i {
  margin-top: 6px;
  margin-left: 3px;
}

a.delete-right {
  z-index: 9;
  display: relative;
  position: absolute;
  right: -7px;
  bottom: -7px;
  background-color: #dc3545;
  color: #FFF;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  text-align: center;
}

.ui-front {
  z-index: 99999;
  height: 20vh;
  overflow-y: scroll;
  overflow-x: hidden;
}

.edit i,
.delete i,
.delete-right i {
  font-size: 12px;
  margin: auto;
}

.no-header .card-header {
  display: none;
}

.no-header .card-body {
  padding-bottom: 0;
  padding-top: 10px;
}

.sticky {
  position: fixed;
  right: 0;
  left: 0;
  z-index: 1;
  padding-bottom: 10px;
}

.content-header {
  position: fixed;
  z-index: 1;
  left: 0;
  right: 0;
  margin-top: 50px;
}

.content {
  padding-top: 5rem !important;
}

.content-padding {
  padding-top: 330px !important;
}

.navbar {
  position: fixed;
  left: 0;
  right: 0;
}

.sticky+.scrollable {
  margin-top: 150px;
}

.form-group {
  margin-bottom: 0.3rem;
}

.select2-container--default .select2-selection--single {
  border-radius: 0;
  border: 1px solid #ced4da;
}

.select2-container,
.select2-selection {
  min-height: calc(2.25rem + 2px) !important;
}


.table-scroll {
  /*width:100%; */
  display: block;
  empty-cells: show;
}

.table-scroll thead {
  position: relative;
  display: block;
  width: 100%;
  overflow-y: scroll;
}

.table-scroll tbody {
  /* Position */
  display: block;
  position: relative;
  width: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
}

.table-scroll tr {
  width: 100%;
  display: flex;
}

.table-scroll td,
.table-scroll th {
  flex-basis: 100%;
  flex-grow: 2;
  display: block;
}

.table-scroll tbody {
  height: 55vh;
}

.input-center {
  margin-top: auto;
  margin-bottom: auto;
}

.fit {
  width: 1%;
  white-space: nowrap;
}

.mw-5 {
  max-width: 5%;
}

.mw-10 {
  max-width: 10%;
}

.table-scroll td,
.table-bordered td,
.table-bordered th {
  padding: 0.3rem;
}

.h4,
h4 {
  font-size: 1.2rem;
}

.pagination-1 a {
  margin-right: 2px;
}

.modal-xl {
  max-width: 80%;
}

.modal-body {
  padding-top: .3rem;
  padding-bottom: .3rem;
}

::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.accordion-item h2 a {
  color: #000;
  font-weight: 600;
}

.accordion-item ul {
  list-style: none;
}

.accordion-item ul li,
.accordion-item ol li {
  margin-left: -1.5rem;
  border-bottom: solid 1px #ccc;
  padding-bottom: 0.3rem;
  padding-left: 2rem;
  padding-top: 1rem;
}

.accordion-item li a {
  color: #000;
}

.report-icon {
  min-width: 30px;
}

.scrollable {
  height: 65vh;
  overflow-y: scroll;
  overflow-x: hidden;
}

.col-md-35 {
  -webkit-flex: 0 0 30%;
  -ms-flex: 0 0 30%;
  flex: 0 0 30%;
  max-width: 30%;
}

.tr-striped {
  background-color: #f9f9f9;
}

.select2-container {
  width: 100% !important;
}

.login-box {
  width: unset;
}

.navbar-brand {
  font-size: 1rem;
}

.dropdown-item {
  text-transform: uppercase !important;
}

.dropdown-item:focus,
.dropdown-item:hover {
  background-color: #2262a7 !important;
}

.nav-item:hover {
  background-color: rgba(26, 67, 130, .6);
}

.main-header .container {
  max-width: 95% !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  color: #000;
}

.accordion-item li:hover {
  background-color: #7ab6f7 !important;
  cursor: pointer;
}

.text-primary strong {
  color: #0b1f66;
}

* {
  margin: 0;
  padding: 0;
}

.pt-300 {
  padding-top: 300px !important;
}

.pt-330 {
  padding-top: 350px !important;
}

.pt-270 {
  padding-top: 270px !important;
}

/* responsive */
.main-header-mobile {
  display: none;
}

#canhan_image {
  position: absolute;
  right: 0;
}

b,
strong {
  font-weight: bold;
}


.show-mobile {
  display: none;
}


@media only screen and (max-width: 1024px) {
  .mb-rm-ml {
    margin-left: unset;
  }

  .show-mobile {
    display: unset;
  }

  .hide-mobile {
    display: none;
  }

  #header-web {
    display: none;
  }

  .navbar-light .navbar-toggler {
    display: unset;
  }

  #report_list {
    max-width: 100%;
    flex: 0 0 100%;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
  }

  .navbar-light .navbar-toggler {
    color: #FFF;
    border-color: #FFF;
  }

  .main-header-mobile {
    display: block;
  }

  .navbar-nav .nav-item .nav-link {
    padding-left: 0;
  }

  .nav-item {
    width: 30%;
  }

  .navbar-expanded {
    display: none;
    padding-left: 20%;
  }

  .content-header {
    margin-top: 0;
  }

  .pt-300 {
    padding-top: 270px !important;
  }

  .pt-330 {
    padding-top: 300px !important;
  }

  .pt-270 {
    padding-top: 250px !important;
  }

  .image-family {
    width: unset;
    height: unset;
  }

  .image-family img {
    width: 100%;
  }

  .hgd-action {
    flex-direction: column;
  }

  .hgd-action a,
  .hgd-action button {
    width: 100%;
  }

  .hgd-action .ml-2 {
    margin-left: 0px !important;
  }

  .hgd-action a,
  .hgd-action button {
    margin-bottom: 5px;
  }

  .hgd-action .d-flex {
    flex-direction: column;
  }

  .hgd-action .d-flex select {
    margin-bottom: 5px;
  }

  .modal-xl {
    max-width: unset;
  }

  .md-none {
    display: none;
  }

  .sub-container {
    padding-top: 0 !important;
  }

  #canhan_tenthanh {
    margin-top: 7rem;
  }

  #canhan_image {
    position: absolute;
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    max-width: 100%;
  }

  #canhan_image>.mr-5 {
    margin-right: 0 !important;
  }
}

@media only screen and (max-width: 768px) {

  .honphoi-mobile {
    padding-top: 0px !important;
  }

  .hide-mobile {
    display: none;
  }

  #header-web {
    display: none;
  }

  #my_camera video,
  #my_camera-ios_img video,
  .my_camera video,
  #my_cameara-ios_div {
    width: 100% !important;
  }

  #canhan_tenthanh {
    margin-top: 7rem;
  }

  #canhan_image {
    position: absolute;
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
  }

  #canhan_image>.mr-5 {
    margin-right: 0 !important;
  }

  .main-header-mobile {
    display: block;
  }

  .navbar-light .navbar-toggler {
    display: unset;
  }

  .navbar-light .navbar-toggler {
    color: #FFF;
    border-color: #FFF;
  }

  .mmb-3 {
    margin-bottom: .7rem !important;

  }

  .ml-3,
  .mx-3 {
    margin-left: .7rem !important;
  }

  .col-md-12 {
    margin-bottom: 1rem;
  }

  .md-mt-70 {
    margin-top: 70px;
  }

  .md-pt-70 {
    padding-top: 70px;
  }

  .btn {
    min-width: 78px;
  }

  .btn-sm {
    font-size: .75rem;
  }

  .navbar-expanded {
    display: none;
    padding-left: 10%;
  }

  .nav-item {
    width: 50%;
  }

  #stackedBarChart {
    height: 300px !important;
  }

  .content-header {
    position: unset;
    margin-top: 0;
  }

  .pt-300,
  .pt-330,
  .pt-270 {
    padding-top: 0 !important;
  }

  #content-padding .container {
    padding-top: 5rem;
  }

  .pt-300,
  .pt-270,
  .pt-330 {
    padding-top: unset;
  }

  .content-wrapper .container {
    padding-top: 70px;
  }

  .row-mobile {
    flex-direction: column;
    gap: 0.2rem;

  }

  .row-mobile .form-control {
    width: 100%;
  }

  .col-md-15,
  .col-lg-65 {
    position: relative;
    width: 100%;
    padding-right: 7.5px;
    padding-left: 7.5px;
  }

  .row-mobile .input-group {
    flex-direction: column;
    gap: 0.2rem;
  }

  .mb-rm-ml {
    margin-left: 0 !important;
  }

  .col-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }

  .scrollable {
    height: unset;
  }
}

@media only screen and (min-width: 1024px) {

  .hide-mobile {
    display: none;
  }

  .col-md-15 {
    position: relative;
    width: 100%;
    padding-right: 7.5px;
    padding-left: 7.5px;
  }

  #canhan_image {
    position: absolute;
    right: 0;
    display: flex;
    -webkit-flex: 0 0 16.666667%;
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    flex-direction: unset;
    justify-content: flex-end;
    padding-right: 10px;
    max-width: 16.666667%;
  }

  #canhan_tenthanh {
    margin-top: 0;
  }

}

@media (min-width: 768px) {

  .hide-mobile {
    display: none;
  }

  .col-md-15 {
    -webkit-flex: 0 0 12%;
    -ms-flex: 0 0 12%;
    flex: 0 0 12%;
    max-width: 12%;
  }

  .col-lg-65 {
    -webkit-flex: 0 0 49%;
    -ms-flex: 0 0 49%;
    flex: 0 0 49%;
    max-width: 49%;
  }
}

@media (min-height: 768px) {
  label {
    font-size: 0.9rem;
  }
}


.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: none;
  min-width: 50px;
}

.info-box:hover {
  background-color: #ccc;
}

.tox-promotion,
.tox-statusbar__branding {
  display: none;
}