body {
  font-size: 18px;
  font-family: "Roboto", serif;  
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto", serif;
}
h2 {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.3;
}
.styled-hr {
  margin: 24px 0;
}
.tructhuoc {
  line-height: 1.3;
  font-size: 13px;
  margin-bottom: 0;
  letter-spacing: 1px;
}

.ms-n5 {
  margin-left: -40px;
}

.search-container {
  display: flex;
  align-items: center;
  border-radius: 25px;
  overflow: hidden;
  border: 1px solid #ccc;
}

.search-input {
  border: none;
  outline: none;
  padding: 6px 20px;
  font-size: 16px;
  flex-grow: 1;
}

.search-button {
  background-color: #9b1a1e; /* Màu đỏ */
  border: none;
  padding: 6px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.search-button:hover {
  background-color: #a02a30; /* Hiện tượng hover */
}

.search-icon {
  color: white; /* Màu của biểu tượng tìm kiếm */
}

.cottimkiem {
  /* width: 320px; */
  float: right;
}
.cotlogo {
  width: 275px;
}
.anhlogo {
  width: 200px;
}
.anhlogo1 {
  width: 280px;
}
.menu {
  background-color: #9b1a1e;
  position: sticky;
  top: 0;
  z-index: 9;
  font-size: 15px;
}
.m2 {
  position: absolute;
  top: 30px;
  left: 0px;
  width: max-content;
  height: max-content;
  background-color: white;
  border: 1px solid #ccc;
  color: black;
  display: none;
}
#timkiem {
  width: 250px;
}

.menucap2 {
  position: absolute;
  top: 35px;
  left: 0px;
  width: max-content;
  height: max-content;
  background-color: white;
  border: 1px solid #ccc;
  color: black;
  display: none;
  /* padding: 0 10px; */
}
.mnvideo {
  border-bottom: 1px solid #ccc;
  padding: 10px 10px 10px 18px;
}

.mnvideo:hover {
  background-color: #9b1a1e;
  color: white;
}
.m1 {
  position: relative;
  cursor: pointer;
}

.menucap1 {
  position: relative;
  color: white;
  /* text-align: center; */
  padding: 5px 24px;
  display: inline-block;
  border-bottom: 3px solid #9b1a1e;
  border-top: 3px solid #9b1a1e;
}
.menucap1 a {
  color: inherit; /* Inherit color from parent */
  text-decoration: none; /* Remove underline */
  cursor: pointer; /* Change cursor to pointer on hover */
}
.menucap1 a:hover {
  color: inherit;
}
.menucap1:first-child {
  padding-left: 0;
}
.menucap1:first-child:hover {
  border-bottom: 3px solid #9b1a1e;
}

.menucap1:hover {
  color: #fbda59;
  border-bottom: 3px solid #fbda59;
}

.date {
  padding: 5px 0;
  color: white;
  float: right;
  border-bottom: 3px solid #9b1a1e;
  border-top: 3px solid #9b1a1e;
}

.tendanhmuc {
  color: #b90000;
  margin-bottom: 0;
  margin-top: 15px;
}

.titlecotphai {
  color: #9b1a1e;
  font-weight: bold;
  font-size: 29px;
  padding: 15px;
  border-bottom: 2px solid #ddd;
}
.dsdocnhieu {
  height: 540px;
  overflow: auto;
}
.cotdocnhieu {
  border: 2px solid #ddd;
}
.tindocnhieu {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.6;
}
.tindocnhieu .fa-circle {
  color: #9b1a1e;
  margin-right: 5px;
  padding-bottom: 10px;
}

/* ::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
	background-color: #F5F5F5;
} */

::-webkit-scrollbar {
  width: 6px;
  background-color: #f5f5f5;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  /* -webkit-box-shadow: #c0c0c0; */
  background-color: #c0c0c0;
}
.noidung {
  font-weight: 300;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: justify;
}

/* .fourtinnoibat {
  width: 400px;
  display: inline-block;
} */
.danhmuc {
  font-weight: bold;
  font-size: 45px;
  margin-left: 25px;
}
.khoangcach {
  margin-top: 30px;
}
.activebtn {
  color: #9b1a1e;
  background-color: white;
}
#btnvideo {
  padding: 1rem 10rem;
  font-size: large;
  color: #9b1a1e;
  background-color: white;
}
#btnvideo2 {
  padding: 1rem 10rem;
  font-size: large;
}
#btnanh,
#btnanh2 {
  padding: 1rem 5rem;
  font-size: large;
}

.btnbst:hover {
  background-color: white;
  cursor: pointer;
  color: #9b1a1e;
}
.anhbst {
  border-radius: 10px;
  width: 100%;
  height: 250px;
}
.anhnoisan {
  width: 100%;
  /* height: 450px; */
}
#content-slider2 li {
  padding: 10px;
}
#content-slider3 li {
  padding: 35px;
}
/* #content-slider3 {
  display: flex;
  justify-content: space-between;
} */
ul {
  margin-bottom: 0 !important;
}
.spcua {
  font-weight: 500;
  font-size: 16px;
  font-style: italic;
  margin-right: 20px;
}
.chucdanh {
  font-weight: bold;
}
.gopy {
  font-style: italic;
}
.up {
  position: fixed;
  bottom: 150px;
  right: 30px;
  background-color: #9b1a1e;
  display: none;
  cursor: pointer;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  border: 1px solid #ccc;
  opacity: 1;
}
.up:hover {
  opacity: 1;
}
/* scroll */
.scroll {
  position: relative;
  transform: translateY(150px);
  opacity: 0;
  transition: 1s all ease;
}

.scroll.active {
  transform: translateY(0);
  opacity: 1;
}
/* ---- */
.anhtonhat {
  border-radius: 35px;
}
.textEmagazine {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-weight: bold;
  font-size: 48px;
  z-index: 3;
  width: 80%;
}
.nen {
  background-color: rgba(0, 0, 0, 0.4);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 35px;
  z-index: 2;
}
.khunganh {
  width: 100%;
  height: 360px;
  border-radius: 10px;
}
.khunganh2 {
  /* width: 100%; */
  width: 381px;
  height: 286px;
  border-radius: 10px;
}
.khunganh3 {
  width: 100%;
  height: 360px;
  border-radius: 10px;
}
.khunganh4 {
  width: 100%;
  height: 527px;
  border-radius: 10px;
}
.khunganh5 {
  width: 100%;
  height: 463px;
  border-radius: 0px;
}
.khunganh6 {
  width: 100%;
  height: 251px;
  border-radius: 10px;    
}
.khunganh7 {
  width: 100%;
  height: 348px;
  border-radius: 10px;
}
.khunganh8 {
  width: 100%;
  height: 470px;
}
.khunganh9 {
  width: 100%;
  height: 505px;
  border-radius: 10px;
  
}
.khunganh10 {
  width: 100%;
  height: 748px;
  border-radius: 35px;
}
.khunganh11 {
  width: 100%;
  height: 205px;
}

.anhto {
  border-radius: 15px;
}

.anhnho {
  border-radius: 10px;
}

.btnxemthem,
.btnxemthemcancanh,
.btnxemthememagazine,
.btnxemthemnoisan,
.btnxemthemtimkiem {
  border: 1px solid black;
  color: #9b1a1e;
  padding: 5px 15px;
  border-radius: 15px;
}
.btnxemthem:hover,
.btnxemthemcancanh:hover,
.btnxemthememagazine:hover,
.btnxemthemnoisan:hover,
.btnxemthemtimkiem:hover {
  cursor: pointer;
  background-color: #9b1a1e;
  color: white;
  border: 1px solid #9b1a1e;
}
.noidungbaiviet {
  background-color: white;
  padding: 20px 50px;
  margin-top: 30px;
}
.tacgia {
  font-weight: bold;
  font-size: 17px;
}
.thoigian {
  color: #656565;
  font-size: 17px;
}
.baivietkhac {
  padding: 25px;
  border: 1px solid black;
  color: #9b1a1e;
  margin: 80px 0 30px 0;
  font-size: 26px;
  font-weight: bold;
}

.gapanh {
  gap: 80px;
}

.grid-container {
  display: grid;
  gap: 60px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.grid-item {
  background-color: rgba(255, 255, 255, 0.8);
}

.header_emagazine {
  height: 58px;
  width: 100%;
  background-color: #161616;
  position: sticky;
  top: 0;
  left: 0;
}
.btnbacktohome {
  border: 1px solid black;
  padding: 8px 32px;
  color: #9b1a1e;
}

.btnbacktohome:hover {
  background: #9b1a1e;
  border: 1px solid #9b1a1e;
  color: white;
}
.khungvideo {
  margin: 75px 0;
}
.notenhiepanhgia {
  background-color: #ffe8e8;
  border: 1px solid #ccc;
  padding: 30px 25px;
}

.btnmagazine {
  padding: 10px 45px;
}
.newsimg {
  transition: 1s;
}
.newsimg:hover {
  transform: scale(1.05);
}
.img-wrapper {
  /* display: inline-block; */
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
}
.img-wrapper8 {
  /* display: inline-block; */
  overflow: hidden;
  cursor: pointer;
}
.title {
  font-size: 18px;
  line-height: 1.6;
  /* text-transform: lowercase;   */
}
/* .title::first-letter {  
  text-transform: uppercase; 
}  */

.title:hover,
a:hover {
  color: #d8343b;
  cursor: pointer;
}

a {
  text-decoration: none;
}
img {
  max-width: 100% !important;
  height: auto !important;
}

/*---------------------
HAMBURGER MENU
----------------------*/

.hamburger-menu {
  position: fixed;
  top: 0;
  left: 0;
  padding-top: 15px;
  padding-left: 15px;
  width: 100%;
  height: 51px;
  cursor: pointer;
  z-index: 9998;
  background: #9b1a1e;
  -webkit-tap-highlight-color: white;
}

.bar,
.bar:after,
.bar:before {
  width: 30px;
  height: 3px;
}

.bar {
  position: relative;
  transform: translateY(10px);
  background: white;
  transition: all 0ms 300ms;
}

.bar.animate {
  background: #9b1a1e;
}

.bar:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 10px;
  background: white;
  transition: bottom 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.bar:after {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  background: white;
  transition: top 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.bar.animate:after {
  top: 0;
  transform: rotate(45deg);
  transition: top 300ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.bar.animate:before {
  bottom: 0;
  transform: rotate(-45deg);
  transition: bottom 300ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

/*---------------------
Mobiles Menu 
----------------------*/
/*---------------------
	Mobiles Menu - Design 
	----------------------*/

.mobile-menu ul {
  margin: 0;
  padding: 0;
}

.mobile-menu li {
  font-size: 18px;
  line-height: 30px;
  margin: 0;
  overflow: hidden;
  padding: 5px;
  position: relative;
  text-align: left;
  text-transform: uppercase;
  padding-left: 15px;
}

.mobile-menu li:first-child {
  margin-top: 70px;
}

.mobile-menu li:hover {
  background: #9b1a1e;
}

.mobile-menu li a {
  text-decoration: none;
  color: white;
}

/*---------------------
	Mobiles Menu - Slide IN 
	----------------------*/

.mobile-menu {
  top: 0;
  max-width: 250px;
  left: -100%;
  width: 100%;
  background: #9b1a1e;
  color: white;
  height: 100%;
  position: fixed;
  z-index: 9997;
  overflow-y: auto;
  -webkit-transform: translate3d(0, 0, 205px);
  -moz-transform: translate3d(0, 0, 205px);
  transform: translate3d(0, 0, 205px);
  -webkit-transition: all 500ms ease-in-out;
  -moz-transition: all 500ms ease-in-out;
  transition: all 500ms ease-in-out;
}

.mobile-menu.active {
  left: 0;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-transition: all 500ms ease-in-out;
  -moz-transition: all 500ms ease-in-out;
  transition: all 500ms ease-in-out;
}

/*---------------------
	Mobiles Menu - Dropdown Submenu
	----------------------*/

.has-children:hover {
  cursor: hand;
}

.children {
  display: none;
}

.mobile-menu .children li:first-child {
  margin-top: 0px;
}

.icon-arrow {
  position: absolute;
  display: block;
  font-size: 0.7em;
  color: white;
  top: 5px;
  right: 10px;
  transform: rotate(0deg);
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  transition: 0.6s;
  -webkit-transition: 0.6s;
  -moz-transition: 0.6s;
}

.icon-arrow:after {
  content: "\25BC";
}

.icon-arrow.open {
  transform: rotate(-180deg);
  -webkit-transform: rotate(-180deg);
  -moz-transform: rotate(-180deg);
  transition: 0.6s;
  -webkit-transition: 0.6s;
  -moz-transition: 0.6s;
}
/* popupai */
#popup99-container {  
  position: fixed; /* Cố định vị trí trên màn hình */  
  top: 0;  
  left: 0;  
  width: 100%;  
  height: 100%;  
  background-color: rgba(0, 0, 0, 0.5); /* Nền mờ */  
  display: none; /* Ẩn popup99 mặc định */  
  justify-content: center;  
  align-items: center;  
  z-index: 1000; /* Đảm bảo popup99 ở trên cùng */  
}  

#popup99-content {  
  background-color: white;  
  padding: 1px;  
  border-radius: 5px;  
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);  
  position: relative; /* Để định vị nút đóng */  
  text-align: center;  
}  

#popup99-close {  
  position: absolute;  
  top: -10px;  
  right: -10px;       
  
    font-size: 20px;    
    cursor: pointer;    
    z-index: 1;
    height: 25px;
    width: 25px;
    line-height: 25px;
    text-align: center;
    background-color: white;
    border-radius: 50%;
}  

/* Thêm hiệu ứng động (tùy chọn) */  
#popup99-content {  
  animation: fadeIn 0.3s ease-in-out;  
}  

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0; /* bỏ viền */
}

.youtubeIframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0);
  z-index: 10;
}

@keyframes fadeIn {  
  from {  
    opacity: 0;  
    transform: translateY(-20px);  
  }  
  to {  
    opacity: 1;  
    transform: translateY(0);  
  }  
}
.menu {  
  z-index: 9 !important;  
}  
/* *** */
@media screen and (max-width: 600px) {
  .cottimkiem,
  .cotlogo,
  .anhlogo {
    width: 80%;
  }
  .baivietkhac {
    margin: 0px 0 30px 0;
  }
  .khunganh,
  .khunganh6,
  .khunganh9,
  .khunganh10,
  .khunganh11 {
    height: 230px;
  }
  .khunganh2 {
    height: 284px;
  }
  .khunganh8 {
    height: 386px;
  }
  .khunganh5 {
    height: 207px;
  }
  .khunganh7 {
    height: 194px;
  }
  .gapanh {
    flex-direction: column;
    gap: 0;
  }
  .noidung {
    padding-top: 0;
    padding-bottom: 0;
  }
  .textEmagazine {
    font-size: 18px;
  }
  .noidungbaiviet {
    padding: 20px 10px;
  }
}
@media screen and (max-width: 1300px) and (min-width: 601px) {
  .date {
    display: none;
  }
  .gapanh {
    gap: 40px;
  }
}
