@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Italic.ttf") format("truetype");
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}
/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: #FFFFFF;
  overflow-x: hidden;
}
html {
  overflow-x: hidden;
}

.container {
  display: flex;
}

#content-hdsd {
  padding: 16px 32px;
  max-width: 100vw;
}

#leftMenu {
  display: block;
}

.left-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  height: 100vh;
  background-color: #FFFFFF;
  transition: width 0.3s;
  padding: 16px;
  overflow-y: scroll;
  -webkit-overflow-scrolling:touch;
}


.menu-title {
  font-size: 16px;
  margin-left: 8px;
  color: #262626;
}

.submenu {
  font-size: 16px;
  color: #262626;
}
.container-child {
  display: flex;
  flex-direction: row;
  align-items: center;
}

#searchInput {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #262626;
  border-radius: 5px;
  appearance: none;
  box-shadow: none;
  line-height: 1.5;
  letter-spacing: 0.8px;
}
#searchInput:focus {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #262626;
  border-radius: 5px;
  outline: none;
  line-height: 1.5;
  letter-spacing: 0.8px;
}

  ul {
      list-style-type: none;
      padding: 0;
  }

  li {
      height: auto;
  }

  .submenu {
      padding: 8px 24px 8px 24px;
      height: auto;
  }

  .container-title {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      border-radius: 8px;
      padding: 8px 24px;
      height: 40px;
      align-items: center;
  }

  .container-title.active span {
    color: white;
  }

  ul ul {
      margin-left: 24px;
  }

  .active-text {
    color: white;
  }

/* .content {
  margin-left: 308px; 
  padding: 24px; 
  background: #FFFFFF;
} */

.active {
  background-color: #EE0033; /* Màu nền đỏ cho menu đang được chọn */
  color: white;
  
}
.submenu-active {
  color: #EE0033; /* Màu chữ đỏ cho menu con được chọn */
}

/* CSS cho màn hình desktop */
.flex {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
}
.video {
padding: 16px;
}
.image-lg {
  width: 80%;
  height: auto;
}

.image-sm {
  width: 20%;
  height: auto;
}

.image-md {
  width: 40%;
  height: auto;
}

.video-iframe {
  width: 80%;
}


.content {
margin-left: 320px;
}

.text-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  text-align: left;
  color: #000000E0;
  display: block;
}
.text-title-child {
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  text-align: left;
  color: #000000E0;
  display: block;
}

.text-center {
text-align: center !important;
}

.text-normal {
font-size: 16px;
font-weight: 400;
line-height: 30px;
text-align: left;
color: #262626;
display: block;
}
.text-list-type {
font-size: 16px;
font-weight: 400;
line-height: 30px;
text-align: left;
color: #262626;
list-style-type: disclosure-closed;
margin-left: 20px;
}
.text-list-type-square {
font-size: 16px;
font-weight: 400;
line-height: 30px;
text-align: left;
color: #262626;
list-style-type: square;
}
.text-list-type-circle {
font-size: 16px;
font-weight: 400;
line-height: 30px;
text-align: left;
color: #262626;
list-style-type: circle;
}
.bold {
font-weight: 700 !important;
}

.red {
color: #EE0033;
}

.italic {
font-style: italic;
}

h2 {
margin-bottom: 24px;
}

/* start instruction-symbol */
.step-container {
display: flex; 
flex-direction: row; 
max-height: 300px;
border: 1px solid #262626; 
}

.step-left {
flex: 2;
padding: 16px;
border-right: 1px solid #262626;
}

.step-right {
flex: 3; 
padding: 16px;
}
.text-title-center {
margin-top: 24px;
}
.header-menu {
display: none;
}

.block {
display: block;
}

.none {
display: none;
}

/* end instruction-symbol */

/* CSS cho màn hình mobile */
@media (max-width: 800px) {
  body::-webkit-scrollbar {
    display: none;
  }
  .content {
    margin-left: 0; /* Xóa margin-left để content không bị đẩy sang phải */
    padding-top: 60px; /* Đẩy nội dung xuống dưới header cố định */
    width: 100%; /* Đảm bảo content chiếm hết chiều rộng */
    box-sizing: border-box; /* Đảm bảo padding không làm rộng thêm phần tử */
  }
  .header-menu {
    display: flex;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: white; /* Đặt màu nền cho header */
    z-index: 1000; /* Đảm bảo header nằm trên các phần tử khác */
    padding: 16px; /* Padding để căn chỉnh nội dung */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); 
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .icon-menu {
    position: absolute;
    left: 18px;
  }
  .title-header {
    font-size: 18px;
    color: black;
    font-weight: 400;
    text-align: center;
  }
  #leftMenu {
    display: none;
  }
  .step-container {
    display: flex; 
    flex-direction: row; 
    max-height: 520px;
    border: 1px solid #262626; 
  }
  .step-left {
    flex: 2;
    padding: 8px;
  }
  .step-right {
    flex: 2;
    padding: 8px;
  }
  .image-lg {
    width: 100%;
  }
  .image-sm {
    width: 40%;
    height: auto;
  }
  .image-md {
    width: 80%;
    height: auto;
  }
  #content-hdsd {
    height: 95vh;
    overflow-y: scroll;
  }
  .left-menu::-webkit-scrollbar {
    width: 6px; /* Độ rộng thanh cuộn */
  }
  
  .left-menu::-webkit-scrollbar-thumb {
    background: #888; /* Màu của thanh cuộn */
  }
  
  .left-menu::-webkit-scrollbar-track {
    background: #f1f1f1; /* Màu nền của rãnh */
  }
  #content-hdsd::-webkit-scrollbar {
    width: 16px; /* Độ rộng thanh cuộn */
  }
  
  #content-hdsd::-webkit-scrollbar-thumb {
    background: #888; /* Màu của thanh cuộn */
  }
  
  #content-hdsd::-webkit-scrollbar-track {
    background: #f1f1f1; /* Màu nền của rãnh */
  }
  html {
    overflow: hidden;
  }
  .video-iframe {
    width: 100%;
  }
}
