@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css);
@import url(https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css);
body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  min-height: 100vh;
  background-color: #e7ecf0;
}
html {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
html::-webkit-scrollbar {
  display: none;
}
.border-3 {
  border: 3px solid #dee2e6;
}

a {
  text-decoration: none;
}

.title {
  font-size: 2.2rem;
  font-weight: bolder;
}

.lesson {
  padding: 10px 0px;
  height: auto;
  list-style: none;
}

.lesson-item {
  font-size: 1rem;
}

.lesson-item > a {
  width: 100%;
  display: block;
  padding: 5px 10px;
  color: black;
  text-decoration: none;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lesson-item > a:hover {
  background-color: #cccccc;
}

.lesson-item.active-lesson > a {
  background-color: rgb(0, 122, 254);
  color: white;
}

#myFixedBtn {
  display: none;
  width: 50px;
  position: fixed;
  bottom: 20px;
  left: 0px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: red;
  color: white;
  cursor: pointer;
  padding: 15px;
}

#myBtn:hover {
  background-color: #555;
}

#myLisBtn {
  width: 55px;
  aspect-ratio: 1/1;
  position: fixed;
  left: 0px;
  z-index: 99;
  -webkit-box-shadow: 3px 3px 3px -2px rgba(0, 0, 0, 0.1);
  box-shadow: 3px 3px 3px -2px rgba(0, 0, 0, 0.1);
}

.function_container {
  margin-top: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  list-style: none;
}

.function_item {
  background-color: white;
  width: 100px;
  height: 90px;
  margin: 0 5px;
  border-radius: 5px;
}

.function_item > a {
  display: block;
  height: 100%;
  color: #384289;
  text-align: center;
}

.function_item > a:hover {
  text-decoration: none;
  color: black;
}

.list_container {
  margin: 5px 12px;
  background-color: white;
  border-radius: 5px;
}

.list_container > p {
  font-size: 1.2rem;
  color: #384289;
  font-weight: bold;
  border-bottom: 2px solid rgba(180, 180, 180, 0.3);
}

.list_container > ul {
  height: 300px;
  list-style: none;
  overflow-y: scroll;
  overflow-x: hidden;
}

.list_container > ul li {
  height: 35px;
  border-bottom: 2px solid rgba(180, 180, 180, 0.3);
}

.list_container > ul li a {
  display: block;
  width: 100%;
}

#Sub_Nav {
  width: 100%;
  min-height: 40px;
  background-color: rgba(255, 255, 255, 0.9);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-shadow: rgba(50, 50, 93, 0.25) 0px -5px 20px -20px,
    rgba(0, 0, 0, 0.3) 0px 8px 10px -8px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px -5px 20px -20px,
    rgba(0, 0, 0, 0.3) 0px 8px 10px -8px;
}

#Sub_Nav ul {
  list-style: none;
  padding: 0;
  margin: auto;
}

#Sub_Nav ul li {
  margin: 0 auto;
}

#Sub_Nav ul li a {
  color: black;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

#Sub_Nav ul li :hover {
  color: blue;
}

.img-carousel {
  width: 100%;
  height: 400px;
  -o-object-fit: contain;
  object-fit: contain;
}

#container-menu ul li {
  margin-bottom: 10px;
  width: 100%;
  height: 40px;
}

#MyBody {
  display: none;
}
#messenger-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: rgba(0, 166, 255, 0.4);
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  z-index: 999;
}
#messenger-widget > div {
  width: 35px;
  aspect-ratio: 1/1;
  background-image: url(../Resource/Icon/messenger-icon.png);
  background-repeat: no-repeat;
  background-size: contain;
}
.fc-event-title-container {
  color: #0c4162;
  padding-left: 10%;
}
.fc-event-title.fc-sticky {
  font-weight: 600;
  font-size: 1rem;
}
.fc-timeGridWeek-view.fc-view.fc-timegrid .fc-scroller {
  overflow-x: auto; /* Hiển thị thanh cuộn ngang */
}
.fc-event-time {
  font-weight: 550;
  font-size: 1rem;
}
.fc-scrollgrid.fc-scrollgrid-liquid {
  min-width: 700px !important;
}
.fc-scroller.fc-scroller-liquid-absolute {
  overflow-y: hidden !important;
}
.fc-timeGridWeek-view.fc-view.fc-timegrid {
  -ms-overflow-style: auto; /* Cho phép hiển thị thanh cuộn trong IE và Edge */
  scrollbar-width: auto; /* Cho phép hiển thị thanh cuộn trong Firefox */
}
.fc-timeGridWeek-view.fc-view.fc-timegrid::-webkit-scrollbar {
  /* Xóa bỏ thuộc tính này để hiển thị thanh cuộn trong Webkit (Chrome, Safari) */
}
#calendar {
  min-height: 200px;
  max-height: 370px;
}
.pdf {
  aspect-ratio: 4 / 3;
  min-height: 400px;
}
iframe {
  width: 100%;
  aspect-ratio: 4/3;
}
.borbot {
  border-bottom: 10px solid #404040;
  position: absolute;
  bottom: 0px;
  width: 100%;
}
#carouselIntroduction .carousel-item img {
  -o-object-fit: contain;
  object-fit: contain;
  -o-object-position: 0 -350px;
  object-position: 0 -350px;
}
.carousel-item img {
  -o-object-fit: contain;
  object-fit: contain;
}
#carouselIntroduction {
  height: 500px;
}
#btn {
  position: absolute;
  min-width: 20px;
  min-height: 20px;
  z-index: 10;
  bottom: 10%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
@-webkit-keyframes vibrate-1 {
  0% {
    -webkit-transform: translate(0);
    transform: translate(0);
  }
  20% {
    -webkit-transform: translate(-2px, 2px);
    transform: translate(-2px, 2px);
  }
  40% {
    -webkit-transform: translate(-2px, -2px);
    transform: translate(-2px, -2px);
  }
  60% {
    -webkit-transform: translate(2px, 2px);
    transform: translate(2px, 2px);
  }
  80% {
    -webkit-transform: translate(2px, -2px);
    transform: translate(2px, -2px);
  }
  100% {
    -webkit-transform: translate(0);
    transform: translate(0);
  }
}
@keyframes vibrate-1 {
  0% {
    -webkit-transform: translate(0);
    transform: translate(0);
  }
  20% {
    -webkit-transform: translate(-2px, 2px);
    transform: translate(-2px, 2px);
  }
  40% {
    -webkit-transform: translate(-2px, -2px);
    transform: translate(-2px, -2px);
  }
  60% {
    -webkit-transform: translate(2px, 2px);
    transform: translate(2px, 2px);
  }
  80% {
    -webkit-transform: translate(2px, -2px);
    transform: translate(2px, -2px);
  }
  100% {
    -webkit-transform: translate(0);
    transform: translate(0);
  }
}
.vibrate-1 {
  -webkit-animation: vibrate-1 0.3s linear infinite both;
  animation: vibrate-1 0.3s linear infinite both;
}
#pdf_container {
  position: relative;
  width: 100%;
  height: auto;
  overflow: auto;
  background-color: #f8f9fa;
  padding: 0;
  text-align: center;
}
.frameborder {
  --blur: 2px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  background: black;
  background-image: -o-linear-gradient(bottom left, #5d5d5b, #383838);
  background-image: -webkit-gradient(
    linear,
    left bottom,
    right top,
    from(#5d5d5b),
    to(#383838)
  );
  background-image: linear-gradient(to top right, #5d5d5b, #383838);
  padding: 7px;
  width: 100%;
  -webkit-box-shadow: -1px 1px var(--blur) 1px rgba(0, 0, 0, 0.1),
    -2px 2px var(--blur) 1px rgba(0, 0, 0, 0.09),
    -3px 3px var(--blur) 1px rgba(0, 0, 0, 0.08),
    -4px 4px var(--blur) 1px rgba(0, 0, 0, 0.07),
    -5px 5px var(--blur) 1px rgba(0, 0, 0, 0.06),
    -6px 6px var(--blur) 1px rgba(0, 0, 0, 0.05),
    -7px 7px var(--blur) 1px rgba(0, 0, 0, 0.04),
    -8px 8px var(--blur) 1px rgba(0, 0, 0, 0.03),
    -9px 9px var(--blur) 1px rgba(0, 0, 0, 0.03),
    -10px 10px var(--blur) 1px rgba(0, 0, 0, 0.03),
    -11px 11px var(--blur) 1px rgba(0, 0, 0, 0.03),
    -12px 12px var(--blur) 1px rgba(0, 0, 0, 0.02),
    -13px 13px var(--blur) 1px rgba(0, 0, 0, 0.02),
    -14px 14px var(--blur) 1px rgba(0, 0, 0, 0.01),
    -15px 15px var(--blur) 1px rgba(0, 0, 0, 0.01),
    -16px 16px var(--blur) 1px rgba(0, 0, 0, 0.01);
  box-shadow: -1px 1px var(--blur) 1px rgba(0, 0, 0, 0.1),
    -2px 2px var(--blur) 1px rgba(0, 0, 0, 0.09),
    -3px 3px var(--blur) 1px rgba(0, 0, 0, 0.08),
    -4px 4px var(--blur) 1px rgba(0, 0, 0, 0.07),
    -5px 5px var(--blur) 1px rgba(0, 0, 0, 0.06),
    -6px 6px var(--blur) 1px rgba(0, 0, 0, 0.05),
    -7px 7px var(--blur) 1px rgba(0, 0, 0, 0.04),
    -8px 8px var(--blur) 1px rgba(0, 0, 0, 0.03),
    -9px 9px var(--blur) 1px rgba(0, 0, 0, 0.03),
    -10px 10px var(--blur) 1px rgba(0, 0, 0, 0.03),
    -11px 11px var(--blur) 1px rgba(0, 0, 0, 0.03),
    -12px 12px var(--blur) 1px rgba(0, 0, 0, 0.02),
    -13px 13px var(--blur) 1px rgba(0, 0, 0, 0.02),
    -14px 14px var(--blur) 1px rgba(0, 0, 0, 0.01),
    -15px 15px var(--blur) 1px rgba(0, 0, 0, 0.01),
    -16px 16px var(--blur) 1px rgba(0, 0, 0, 0.01);
}
.frameborder::before {
  content: " ";
  display: block;
  padding-bottom: 140%;
}
.frame {
  left: 3%;
  top: 2.5%;
  -webkit-box-shadow: inset -1px 1px 6px 1px rgba(0, 0, 0, 0.24);
  box-shadow: inset -1px 1px 6px 1px rgba(0, 0, 0, 0.24);
  width: 94%;
  height: 95%;
  background: white;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 10px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
}
.image {
  -webkit-box-shadow: inset 0 0 1px 0 rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 0 1px 0 rgba(0, 0, 0, 0.2);
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center center;
}
#Achievement {
  min-height: 300px;
  background-size: cover;
  background-image: url(../Resource/Images/background2.avif);
  position: relative; /* Ensure that the #Achievement container is positioned */
}
#Achievement::before {
  position: absolute; /* Positioning the pseudo-element absolutely */
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* Ensure it is behind other content */
  background: linear-gradient(
    to bottom,
    white 0%,
    /* Start with white at the top */ rgba(60, 153, 213, 0.3) 30%,
    /* Light blue at 30% */ rgba(60, 153, 213, 0.65) 50%,
    /* Semi-transparent blue at 50% */ rgba(60, 153, 213, 0.3) 70%,
    /* Light blue at 70% */ white 100% /* End with white at the bottom */
  );
}
