.modal-dialog {
  position: absolute;
  top: 0;
  /* Đặt modal ở trên cùng */
  left: 50%;
  /* Căn giữa */
  transform: translateX(-50%);
  /* Căn giữa theo chiều ngang */
}


.xoa_height {
  height: initial !important;
}

.col-md-12 {
  width: 100%;
}

.xuly {
  font-size: 1.5rem;
}

.act {
  display: flex;
  justify-content: center;
  align-items: center;
}

.clearfix li {
  list-style-type: none;
}

.color_tracuu {
  color: black;
  font-weight: bold;
  /* In đậm chữ */
}

.inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

#tracuu {
  padding: 27px 0px;
  background: #888888;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
}

#tracuu span {
  font-size: 20px;
  color: #fff;

  margin-right: 20px;
  text-transform: capitalize;
}

#tracuuform {
  position: relative;
  width: 70%;
}

#tracuuform input {
  padding: 12px 20px;
  box-sizing: border-box;
  background: #fff;
  outline: none;
  border: none;
  font-size: 15px;
  color: #000;
  border-radius: 5px;
  width: 80%;
}

#btnkiemtra :hover {
  background: #03579d;
}

#btnkiemtra {

  padding: 12px 37px;
  font-size: 15px;

  color: #fff;
  background: #B30606;
  outline: none;
  border: none;
  position: absolute;
  right: 0px;
  top: 0px;
}

/*
.col-md-9 {
	width: 75%;
}
.row {
	margin-right: -15px;
	margin-left: -15px;
}*/
.box1 p, .box2 p, .co2 p {
  color: #ed1d24;
  margin-top: 5px;
  font-size: 17px;
}

.title_main {
  margin-bottom: 10px;
  text-align: center;
  color: #c72528;
  text-transform: uppercase;
  font-size: 30px;

  position: relative;
}

.after {
  text-align: center;
  margin-bottom: 25px;
}

.wrap {
  text-align: center;
  line-height: 10px;
  padding: 0px;
  clear: both;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.co1 {
  flex: 0 0 75%;
  max-width: 75%;
}

.co2 {
  flex: 0 0 25%;
  max-width: 25%;
}

.box1,
.box2 {
  width: 50%;
}

@media (max-width: 767px) {

  .co1,
  .co2 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .box1,
  .box2 {
    width: 100%;
  }
}

@media only screen and (max-width: 768px) {

  /* For mobile phones: */
  #tracuu span {
    display: none;
  }

  #tracuuform {
    width: 80%;
  }
}


.image-gallery {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  height: 150px;
}

.image-item {
  flex: 1;
  text-align: center;
}

.image {
  max-width: 100%;
  height: 100%;
  object-fit: none;
  /* Hiển thị kích thước thực */
}

/* Điều chỉnh vị trí của hình ảnh */
.right-image {
  object-position: center;
  /* Hiển thị bên phải */
}

.left-image {
  object-position: center;
  /* Hiển thị bên trái */
}

.center-image {
  object-position: center;
  /* Hiển thị giữa */
}

.box {
  border: 1px solid #ccc;
  /* Khung viền cho phần tử có lớp 'row' */

}

.box1, .box2, .box3 {
  width: 33.3%;
  padding: 10px;
  /* Khoảng cách nội dung và khung viền */
}


.box1 strong,
.box2 strong,
.box3 strong {
  margin-bottom: 50px;
  /* Khoảng cách dưới các phần tử strong */
}

/* Giao diện Lightbox phóng to ảnh */
.laziki-modal-overlay {
  display: none;
  position: fixed;
  z-index: 999999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.laziki-modal-body {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 80%;
}

.laziki-modal-img {
  max-width: 90%;
  max-height: 90%;
  transition: transform 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  cursor: grab;
  user-select: none;
  -webkit-user-drag: none;
}

.laziki-close-btn {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 50px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1000000;
}

.laziki-close-btn:hover {
  color: #ff0000;
}

.laziki-modal-controls {
  position: relative;
  z-index: 1000001;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 10px 15px 0;
  margin-top: 10px;
  background: transparent;
}

.btn-rotate-full {
  background: #ffcc00;
  /* Màu vàng */
  color: #000;
  /* Chữ/icon màu đen để tương phản tốt */
  border: none;
  padding: 10px 18px;
  font-size: 24px;
  line-height: 1;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  margin: 0 8px;
}

.btn-rotate-full:hover {
  background: #e6b800;
  transform: scale(1.05);
}