.app {
  min-height: calc(100vh - 100px);
}

a {
  text-decoration: none !important;
}

.capitalize {
  text-transform: capitalize !important;
}

section.hero.is-error-section {
  background: transparent;
}

.card.has-shadow {
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card.has-card-header-background .card-header {
  background-color: #fff;
  border-bottom: 1px solid rgba(24, 28, 33, 0.06);
}

.card.has-card-header-background .card-header p {
  font-weight: 400;
  padding: 1.125rem 0.75rem;
}

.card .card-header .button {
  display: inline-flex;
  align-self: center;
  margin-right: 0.75rem;
}

.error-page-icon {
  margin-bottom: 1.5rem;
}

.error-page-icon .icon {
  background-color: #dbdbdb;
  border-radius: 9999px;
  width: 10rem;
  height: 10rem;
}

.error-page-icon .mdi.mdi-set,
.error-page-icon .mdi.mdi:before {
  font-size: 7.5rem;
}

.icon {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  cursor: inherit;
}

.error-page-caption h1 {
  text-transform: uppercase;
  font-size: 2rem;
  color: #b5b5b5;
}

.error-page-caption+.error-page-action {
  margin-top: 1.5rem;
}

.is-card-toolbar.is-upper.notification:not(:last-child) {
  margin-bottom: 0rem !important;
}

.modal-card-title {
  font-size: 1.3rem !important;
  font-weight: bolder;
}

span.adress {
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  overflow: hidden !important;
}

@media screen and (max-width: 768px) {
  .buttons.is-right {
    justify-content: center !important;
  }

  .stt {
    justify-content: center !important;
    font-size: 1.5rem;
    font-weight: 700;
    /* color: red; */
  }

  .circle {
    display: inline-block;
    width: 50px;
    /* Đảm bảo kích thước bằng nhau để tạo hình tròn */
    height: 50px;
    line-height: 50px;
    /* Để can giữa văn bản */
    border-radius: 50%;
    /* Tạo hình tròn */
    background-color: #3498db;
    /* Màu nền */
    color: #fff;
    /* Màu chữ */
    text-align: center;
    /* Căn giữa văn bản */
    font-weight: bold;
    /* Đậm chữ */
  }

  span.adress {
    width: 100px;
  }
}

@media screen and (min-width: 769px) {
  .pagination-previous {
    order: 1 !important;
  }

  .pagination-next {
    order: 3 !important;
  }

  .pagination-list {
    order: 2 !important;
  }

  .is-ancestor .field-label {
    flex-grow: 2 !important;
    text-align: left !important;
  }

  #work-schedule .field-label,
  .password .field-label {
    flex-grow: 1 !important;
  }

  .notices .snackbar {
    min-width: 350px;
    max-width: 600px;
    overflow: hidden;
  }
}

.ui-datepicker .ui-datepicker-title select {
  margin: 1px 1px 1px 0 !important;
  padding: 4px !important;
  border-radius: 3px !important;
}

.ui-datepicker .ui-datepicker-title select {
  font-size: 0.8rem !important;
  text-align: center;
  font-weight: 500;
}

.notices {
  position: fixed;
  display: flex;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2em;
  overflow: hidden;
  z-index: 1000;
  pointer-events: none;
}

.notices.is-top {
  flex-direction: column;
}

.notices.is-bottom {
  flex-direction: column-reverse;
}

.notices .snackbar.is-bottom-right {
  align-self: flex-end;
}

.notices .snackbar {
  display: inline-flex !important;
  align-items: center;
  justify-content: space-around;
  animation-duration: 0.15s;
  margin: 0.5em 0;
  box-shadow:
    0 1px 4px rgba(0, 0, 0, 0.12),
    0 0 6px rgba(0, 0, 0, 0.04);
  border-radius: 4px;
  pointer-events: auto;
  background: #363636;
  color: #fff;
  min-height: 3em;
}

.notices .snackbar .text {
  padding: 0.5em 1em;
}

.notices .snackbar .action {
  margin-left: auto;
  padding: 0.5em;
  padding-left: 0;
}

.notices .snackbar .action.is-success .button {
  color: #48c78e;
}

.notices .snackbar .action .button {
  font-weight: 600;
  text-transform: uppercase;
  background: #363636;
  border: transparent;
}

.notices .toast {
  display: inline-flex;
  animation-duration: 0.15s;
  margin: 0.5em 0;
  text-align: center;
  box-shadow:
    0 1px 4px rgba(0, 0, 0, 0.12),
    0 0 6px rgba(0, 0, 0, 0.04);
  border-radius: 2em;
  padding: 0.75em 1.5em;
  pointer-events: auto;
  opacity: 0.92;
}

.notices .toast.is-top {
  align-self: center;
}

.notices .toast.is-info {
  color: #fff;
  background: #167df0;
}

#bstrinh-modal .bs-name {
  font-weight: 800;
}

.error-form {
  background-color: rgb(210, 189, 139) !important;
}

internal-autofill-selected {
  background-color: #fff !important;
}

.b-radio.radio input[type="radio"]:not(:disabled)+.check.is-danger {
  border-color: #f14668;
}

.menu.is-menu-main ul,
.menu.is-menu-main ol {
  list-style: none !important;
  margin: 0px;
  padding: 0px;
}

.menu.is-menu-main li {
  padding: 0px !important;
  margin: 0px !important;
}

aside.aside .menu-container {
  scrollbar-color: #7a7a7a #242424;
  scrollbar-width: thin;
}

aside.aside .aside-container,
aside.aside .menu-container {
  flex: 1;
  position: relative;
  overflow-y: auto;
}

.select:not(.is-multiple):not(.is-loading):after {
  border-color: #ccced7 !important;
}

/* Select2 */
.select2-container {
  width: 100% !important;
}

.select2-container .select2-selection--single {
  height: 40px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  left: 30% !important;
  margin-left: 0px !important;
  margin-top: 2px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 40px !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
  padding-left: 2.5em !important;
  padding-right: 2.5em !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  display: none !important;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #85bbae !important;
  color: #000 !important;
}

/* TRình soạn thảo */
.nicEdit-main,
.nicEdit-main:focus {
  outline: none !important;
}

.nicEdit-main li,
.nicEdit-main ul,
.nicEdit-main ol {
  margin: 0px !important;
}

.is-main-section .buttons.is-right {
  flex-wrap: nowrap !important;
}

.ultrasound {
  color: #fff !important;
}

/* Điều chỉnh mới */
@media screen and (min-width: 1024px) {
  .navbar-front .navbar-item {
    flex-direction: column !important;
  }

  .navbar-front .navbar-end a .icon {
    font-size: 30px !important;
  }

  .navbar-front .navbar-item:not(.is-desktop-icon-only) .icon:first-child {
    margin-right: 0rem !important;
  }

  .navbar-front a {
    color: #21641a;
  }

  .navbar-front a:hover {
    color: #21641a8f;
  }

  .navbar-item img {
    max-height: 3rem !important;
  }

  .section.is-medium {
    padding: 9rem 4.5rem !important;
  }
}

.section.is-medium {
  padding: 3rem 1.5rem;
}

section.section.is-title-bar.bg-bar {
  background-image: url("../images/slider-bg_1.jpg");
  background-color: rgba(203, 187, 187, 0.3);
  background-size: cover;
  background-position: center;
}

@media screen and (max-width: 1023px) {
  nav.navbar .navbar-menu .navbar-item .icon:first-child {
    margin-right: 0.15rem !important;
  }
}

.service {
  display: flex;
  justify-content: center;
}

.service-icon.icon {
  width: 150px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transform: rotate(-14deg);
}

.service .service-icon i {
  transform: rotate(15deg);
}

.img-hero {
  background-image: url("../images/view.jpg");
  background-color: rgba(203, 187, 187, 0.3);
  background-size: cover;
  background-position: center;
}

.img-bg-bar {
  background-image: url("../images/bg-01.jpg");
  background-color: rgba(203, 187, 187, 0.3);
  background-size: cover;
  background-position: center;
}

@media screen and (min-width: 769px) {
  #section-1 {
    position: relative;
  }

  .benphai {
    position: absolute;
    min-height: 150px;
    width: 40%;
    bottom: -70px;
    right: 0px;
    z-index: 999;
  }

  .imgbg-title-bar .is-desktop {
    text-align: left !important;
  }

  .is-calendar {
    top: -50px !important;
  }

  .is-calendar .box {
    max-width: 390px;
  }
}

.benphai .open-door {
  padding: 1rem;
  background-color: rgb(72, 199, 142);
  border-radius: 5px;
}

.open-door h3 {
  padding-top: 0.3rem;
  margin-bottom: 0.3rem !important;
}

.content .open-door ul {
  margin: 0px;
  padding: 0px;
}

.benphai li {
  display: flex;
}

.benphai li {
  list-style-type: none;
  padding: 0.3rem;
  margin: 0 -10px;
  justify-content: space-between;
}

.benphai li:not(:last-child) {
  border-bottom: 1px dashed #ebebeb;
}

.benphai li:last-child {
  padding-bottom: 0px;
  margin-bottom: 0px;
}

.benphai li:first-child span {
  text-align: center !important;
  flex: 1;
}

.benphai li.istitle {
  font-weight: bold;
  font-size: 1em;
}


.card-content .column {
  padding: 0px;
}

@media screen and (max-width: 768px) {
  .content.benphai {
    padding: 0 !important;
  }

  .benphai li {
    font-size: small;
  }

  .benphai td{
    font-size: 14px !important;
  }

  .table td,
  .table th {
    align-items: center;
  }

  #footer-bstrinh {
    display: flex;
    flex-direction: row;
  }

  #footer-bstrinh .level-left+.level-right {
    margin-top: 0 !important;
  }
}

.table td,
.table th {
  vertical-align: middle !important;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.button.is-animated,
.service.is-animated {
  animation: pulse 1s infinite;
}

@keyframes pulse-burger {
  0% {
    transform: scale(1);
    color: #00b89c;
  }

  50% {
    transform: scale(1.1);
    color: #ffe08a;
  }

  100% {
    transform: scale(1);
    color: #f14668;
  }
}

#burger.is-animated {
  animation: pulse-burger 1s infinite;
}

/* Đảm bảo iframe có chiều rộng 100% */
.responsive-iframe {
  width: 100%;
}

/* Tạo một khung cho iframe */
.iframe-container {
  position: relative;
  overflow: hidden;
  padding-top: 69.75%;
  /* 16:9 Aspect Ratio (h/p) */
}

/* Tạo một iframe có kích thước tương ứng với phần tử cha */
.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#back-to-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #007bff;
  color: #fff;
  /* padding: 6px; */
  border-radius: 50px;
  cursor: pointer;
}

/* CSS để chữ cái đầu của mỗi option viết hoa */
select[name="date_examination"] option {
  text-transform: capitalize;
}

/* .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #4444444d !important;
} */

@media print,
screen and (min-width: 769px) {
  .field.infoclinic.is-horizontal {
    display: flex !important;
    /* flex-direction: column !important; */
  }

  .field.is-horizontal {
    display: flex !important;
    flex-direction: column !important;
  }
}

.tile.is-ancestor,
.columns {
  margin-left: -1.75rem !important;
  margin-right: -1.75rem !important;
}

/* Ẩn icon time của input type="time" */
input[type="time"]::-webkit-calendar-picker-indicator {
  display: none;
  -webkit-appearance: none;
}

/* Ẩn icon lịch của input type="date" */
input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  cursor: pointer;
}

.no-mb {
  margin-bottom: 1rem !important;
}

.auto-wrap {
  max-width: 100%;
  /* Không tràn ra ngoài */
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: normal;
}

.title:not(.is-spaced)+.subtitle{
  margin-top: -0.75rem !important;
}

/* css cho input xã phường */
#suggestions {
  background-color: #effaf5;
  border: 1px solid #ccc;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 999;
}

#suggestions li {
  border-bottom: 1px dashed #6767f393;
  border-radius: 2px;
  padding: 6px;
  cursor: pointer;
}

#suggestions li:hover {
  background-color: lightblue;
}