@charset "UTF-8";
/* #lao30{
  font-size: 100px;
} */
.lao30{
  font-family: "Saysettha";
}
@font-face {
  font-family: "Saysettha";
  src: url('../../public/fonts/Saysettha-Regular.ttf')  format('truetype');
  font-style:normal;
}
@font-face {
  font-family: "Saysetthabold";
  src: url('../../public/fonts/Saysettha-Bold.ttf')  format('truetype');
  font-style:normal;
}
#fontinpic{
  font-size: 50px;
  font-family:"Saysettha";
  /* font-family: 'Dosis', sans-serif; */
}
#textMiddle{
  font-size:45px;
  font-family:"Saysettha";
  padding-top: 30px;
}
.cao{
  color: red;
}
.thap{
  color: rgb(35, 139, 14);
}
.trung{
  color: rgb(161, 9, 123);
}
.redClass {
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
}

html {
  margin: 0;
  padding: 0;
  font-size: 120%;
  box-sizing: border-box;
}

.menu-top {
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}
.menu-top .nav {
  display: flex;
  justify-content: space-between;
  padding: 8px 15px;
}
.menu-top .nav .logo img {
  width: 50px;
  height: 50px;
}
.menu-top .nav .fullname {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  cursor: pointer;
}
.menu-top .nav .fullname i {
  font-size: 1.5rem;
  margin-left: 5px;
}
.menu-top .nav .fullname .info {
  display: none;
  position: absolute;
  background-color: rgb(240, 237, 237);
  border-radius: 8px;
  z-index: 1001;
  line-height: 2rem;
  top: 105%;
  right: 0;
  width: 230px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 1px 1px 31px rgba(0, 0, 0, 0.2);
}
.menu-top .nav .fullname .info a {
  display: block;
  text-decoration: none;
  padding: 6px 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  border-top: 1px solid rgb(255, 255, 255);
  transition: 0.4s;
  font-size: 0.8rem;
}
.menu-top .nav .fullname .info a:hover {
  background: white;
  color: rgb(173, 7, 7);
}
.menu-top .nav .fullname:hover .info {
  display: block;
  -webkit-transition: all 0.8s ease;
  -moz-transition: all 0.8s ease;
  -ms-transition: all 0.8s ease;
  -o-transition: all 0.8s ease;
  transition: all 0.8s ease;
}

label a ~ a {
  margin-left: 20px;
}

.content .container .title-wrapper {
  display: flex;
  flex-direction: column;
}
.content .container .title-wrapper h2 {
  margin-top: 15px;
  color: blue;
}
.content .container .title-wrapper h4 {
  display: block;
}
.content .container table th {
  vertical-align: middle;
  text-align: center;
}
.content .container table tr td {
  vertical-align: middle;
}
.content .container table tr td .action {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: space-between;
}
.content .container table tr td .action .fa-edit {
  color: rgb(194, 12, 12);
  cursor: pointer;
  flex: 1;
}
.content .container table tr td .action .fa-trash {
  display: block !important;
  flex: 1;
  color: red;
  margin-top: 20px;
}
.content .container table tr td .image-wrapper {
  margin: auto;
  width: 120px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.content .container table tr td .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.content .container table tr td .audioplay {
  font-size: 1.5rem;
  color: rgb(8, 116, 53);
  padding: 2px;
  display: block;
  cursor: pointer;
  flex: 1;
}

form .img-wrapper {
  margin-top: 8px;
  width: 200px;
  height: 150px;
}
form .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#slow-main .container h3 {
  display: none;
}

.nav-box {
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.lesson-wrapper {
  margin: 15px auto;
  max-width: 820px;
  display: flex;
  flex-direction: row;
}
.lesson-wrapper .img-box {
  margin: auto;
  width: 400px;
  height: 300px;
  border: 12px solid rgba(0, 0, 0, 0.8);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.6);
}
.lesson-wrapper .img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.lesson-wrapper .img-box .count-Word-pc {
  display: none;
}
.lesson-wrapper .inputtext {
  width: 400px;
  margin: 10px auto 0 auto;
}
.lesson-wrapper .inputtext input {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 0 !important;
  border-color: rgba(0, 0, 0, 0.8);
  border-radius: 20px;
  font-weight: bold;
}
.lesson-wrapper .text-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.lesson-wrapper .text-box .vietnamese {
  font-size: 1.5rem;
}
.lesson-wrapper .text-box .count-Word {
  margin: auto;
  background-color: black;
  display: flex;
  flex-direction: column;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 0.8rem;
}
.lesson-wrapper .text-box .count-Word span:first-child {
  width: 50px;
  display: block;
  text-align: center;
  border-bottom: 1px solid white;
  font-size: 1rem;
}

#sending {
  position: absolute;
  display: flex;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.6);
  align-items: center;
  color: white;
  font-size: 1.5rem;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

section .list-overlay {
  display: none;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 100;
  transition: all 0.4s;
}
section .list-unit {
  position: absolute;
  right: -100%;
  top: 0;
  width: 300px;
  min-height: 100vh;
  padding: 5px 8px 5px 10px;
  background-color: #fff;
  border: 1px solid #ccc;
  transition: all 0.4s;
  z-index: 101;
  background: black;
}
section .list-unit .close-list {
  display: block;
  cursor: pointer;
}
section .list-unit h4 {
  font-size: 1.3rem;
  color: #c6c6c6;
}
section .list-unit a {
  display: block;
  color: #c6c6c6;
  text-decoration: none;
  padding: 3px 8px;
}
section .list-unit a:hover {
  color: white;
  background: gray;
}
section .list-unit .active {
  color: white;
  background: gray;
}
section .list-unit p {
  color: #c6c6c6;
}
section .fa-folder-open {
  cursor: pointer;
}
section .wrapper-home {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}
section .wrapper-home .learn,
section .wrapper-home .game,
section .wrapper-home .video {
  border: 1px solid #8f8e8e;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  background-color: #fff;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 20px;
  transition: 0.4s;
  overflow: hidden;
}
section .wrapper-home .learn:hover,
section .wrapper-home .game:hover,
section .wrapper-home .video:hover {
  border: 2px solid rgb(80, 57, 57);
  box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.6);
}
section .wrapper-home .learn img,
section .wrapper-home .game img,
section .wrapper-home .video img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: 0.4s;
}
section .wrapper-home .learn img:hover,
section .wrapper-home .game img:hover,
section .wrapper-home .video img:hover {
  transform: scale(1.1);
}
section .wrapper-home .learn {
  flex-basis: 48%;
  height: 435px;
  color: red;
  font-size: 3rem;
}
section .wrapper-home .box-game {
  flex-basis: 48%;
}
section .wrapper-home .box-game .game,
section .wrapper-home .box-game .video {
  height: 140px;
  color: red;
}
section .wrapper-home .box-game .game {
  margin-bottom: 5px;
}
section .wrapper-home .box-game .video {
  margin-bottom: 5px;
}

#login {
  width: 100%;
  padding: 30px;
}
#login .login-card {
  margin: 0 auto;
  width: 400px;
  background: white;
}
#login .login-card .box-image img {
  width: 100px;
}
#login .login-card h3 {
  text-align: center;
}

.nav-box {
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.video-wrapper {
  margin: 15px auto;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.video-wrapper .img-box {
  margin: auto;
  width: 400px;
  height: 300px;
  position: relative;
  border: 12px solid rgba(0, 0, 0, 0.8);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.6);
}
.video-wrapper .img-box .englishshow {
  width: 100%;
  position: absolute;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 1.5rem;
  left: 50%;
  transform: translate(-50%);
  text-align: center;
}
.video-wrapper .img-box .vietnameseshow {
  width: 100%;
  position: absolute;
  top: 0;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 1rem;
  left: 50%;
  transform: translate(-50%);
  text-align: center;
}
.video-wrapper .img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.video-wrapper .inputtext {
  width: 400px;
  margin: 10px auto 0 auto;
}
.video-wrapper .inputtext input {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 0 !important;
  border-color: rgba(0, 0, 0, 0.8);
  border-radius: 20px;
  font-weight: bold;
}
.video-wrapper .text-box {
  margin-top: 8px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.video-wrapper .text-box .plays {
  width: 50px;
}
.video-wrapper .text-box .fa-play,
.video-wrapper .text-box .fa-pause {
  font-size: 1.5rem;
  cursor: pointer;
}
.video-wrapper .text-box .fa-play {
  color: green;
}
.video-wrapper .text-box .fa-pause {
  color: rgb(184, 12, 12);
}
.video-wrapper .text-box .form-check-inline {
  font-size: 1rem;
  z-index: 102;
}
.video-wrapper .text-box .vietnamese {
  font-size: 1.5rem;
}
.video-wrapper .text-box .count-Word {
  margin: auto;
  background-color: black;
  display: flex;
  flex-direction: column;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

#sending {
  position: absolute;
  display: flex;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.6);
  align-items: center;
  color: white;
  font-size: 1.5rem;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

#myForm {
  margin-left: 10px;
  display: flex;
  flex-direction: row;
}

.action {
  text-align: center;
}
.action i {
  cursor: pointer;
  color: rgb(15, 15, 184);
}
.action i ~ i {
  margin: 15px;
  color: rgb(175, 9, 9);
}

.content .container #searchword label {
  font-style: italic;
  margin-left: 5px;
}
.content .container #searchword .search-boox {
  position: relative;
}
.content .container #searchword .search-boox #word {
  border-color: gray;
}
.content .container #searchword .search-boox #btn-search {
  position: absolute;
  top: 50%;
  right: 0;
  padding: 5px;
  background-color: goldenrod;
  color: white;
  transform: translate(0, -50%);
  border-radius: 10px;
}
.content .container table th {
  border-color: gray;
  background-color: antiquewhite;
}
.content .container table td {
  border-color: rgb(212, 212, 212);
}

.content {
  width: 100%;
}
.content h3 {
  color: green;
  cursor: pointer;
}
.content .pictures {
  padding: -0.25vw;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.content .pictures .picture {
  width: 13.5714285714vw;
  height: 8.1428571429vw;
  border: 1px solid rgb(196, 195, 195);
  margin: 0.25vw;
  border-radius: 0.3rem;
  overflow: hidden;
  transition: all 0.4s;
}
.content .pictures .picture:hover {
  border-color: rgb(179, 10, 10);
  border-width: 0.2rem;
}
.content .pictures .picture img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: all 0.4s;
  cursor: pointer;
}
.content .pictures .picture img:hover {
  transform: scale(1.4);
}

section .list-overlay {
  display: none;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 100;
  transition: all 0.4s;
}
section .list-unit-stories {
  position: absolute;
  right: -100%;
  top: 0;
  width: 300px;
  max-height: 100vh;
  padding: 5px 8px 5px 10px;
  background-color: #fff;
  border: 1px solid #ccc;
  transition: all 0.4s;
  z-index: 101;
  overflow: scroll;
  background: black;
}
section .list-unit-stories .close-list {
  display: block;
  cursor: pointer;
}
section .list-unit-stories h4 {
  font-size: 1.3rem;
  color: #c6c6c6;
}
section .list-unit-stories a {
  display: block;
  color: #c6c6c6;
  text-decoration: none;
  padding: 3px 8px;
}
section .list-unit-stories a:hover {
  color: white;
  background: gray;
}
section .list-unit-stories .active {
  color: white;
  background: gray;
}
section .list-unit-stories p {
  color: #c6c6c6;
}
section .fa-folder-open {
  cursor: pointer;
}
section .audiocontrol {
  display: flex;
  align-items: center;
  justify-content: center;
}
section .audiocontrol .playaudio {
  font-size: 1.3rem;
  text-transform: uppercase;
  color: green;
  margin-right: 30px;
  cursor: pointer;
}
section .audiocontrol .form-check .form-check-label {
  display: flex;
  align-items: center;
}
section .wrapper-home {
  font-size: 1.3rem;
}

#choosesentence .container .title {
  font-size: 2rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}
#choosesentence .container .numberof {
  font-size: 1.3rem;
  margin-bottom: 40px;
}
#choosesentence .container .sentenceshow {
  text-align: center;
  font-size: 1.4rem;
  font-weight: bold;
  padding: 10px;
  height: calc(1.2rem + 20px);
  line-height: 1.2rem;
}
#choosesentence .container .buttons {
  display: flex;
  justify-content: center;
  margin: 1rem;
}
#choosesentence .container .buttons div ~ div {
  margin-left: 8px;
}
#choosesentence .container .words {
  display: flex;
  justify-content: center;
}
#choosesentence .container .words span {
  display: block;
  border: 1px solid #ccc;
  padding: 10px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
}
#choosesentence .container .words span:hover {
  color: blue;
  background: #ccc;
  border-color: red;
}
#choosesentence .container .words span:first-child {
  margin-left: 0;
}

#active-code .container {
  margin: 0 auto;
  max-width: 450px;
}
#active-code table {
  margin: 0 auto;
}
#active-code table td {
  padding: 10px;
}
#active-code table td strong {
  display: block;
  text-align: right;
}
#active-code .form-group {
  margin-top: 20px;
}

/*Background mặc định của body*/
/*Ipad ngang(1024 x 768)*/
/*Ipad dọc(768 x 1024)*/
@media screen and (max-width: 768px) {
  .container h3 {
    display: block;
  }
  .nav-box {
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  }
  .lesson-wrapper {
    margin: 15px auto;
    max-width: 820px;
    display: flex;
    flex-direction: column;
  }
  .lesson-wrapper .img-box {
    position: relative;
    margin: auto;
    width: 400px;
    height: 300px;
    border: 12px solid rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.6);
  }
  .lesson-wrapper .img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .lesson-wrapper .img-box .count-Word-pc {
    display: block;
    position: absolute;
    bottom: 0px;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 0.8rem;
  }
  .lesson-wrapper .img-box .count-Word-pc span:first-child {
    width: 50px;
    display: block;
    text-align: center;
    border-bottom: 1px solid white;
    font-size: 1rem;
  }
  .lesson-wrapper .inputtext {
    width: 400px;
    margin: 10px auto 0 auto;
  }
  .lesson-wrapper .inputtext input {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 0 !important;
    border-color: rgba(0, 0, 0, 0.8);
    border-radius: 20px;
    font-weight: bold;
  }
  .lesson-wrapper .text-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .lesson-wrapper .text-box .time-pc {
    display: none;
  }
  .lesson-wrapper .text-box .vietnamese {
    font-size: 1.5rem;
  }
  .lesson-wrapper .text-box .count-Word {
    display: none;
    margin: auto;
    background-color: black;
    flex-direction: column;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 0.8rem;
  }
  .lesson-wrapper .text-box .count-Word span:first-child {
    width: 50px;
    display: block;
    text-align: center;
    border-bottom: 1px solid white;
    font-size: 1rem;
  }
  .content .pictures .picture {
    width: 19vw;
    height: 11.4vw;
    margin: 0.25vw;
  }
}
/*Tablet nhỏ(480 x 640)*/
@media screen and (max-width: 480px) {
  .container h3 {
    display: block;
  }
  .nav-box {
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  }
  .lesson-wrapper {
    margin: 15px auto;
    max-width: 820px;
    display: flex;
    flex-direction: column;
  }
  .lesson-wrapper .img-box {
    position: relative;
    margin: auto;
    width: 100%;
    height: 300px;
    border: 10px solid rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.6);
  }
  .lesson-wrapper .img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .lesson-wrapper .img-box .count-Word-pc {
    display: block;
    position: absolute;
    bottom: 0px;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 0.8rem;
  }
  .lesson-wrapper .img-box .count-Word-pc span:first-child {
    width: 50px;
    display: block;
    text-align: center;
    border-bottom: 1px solid white;
    font-size: 1rem;
  }
  .lesson-wrapper .inputtext {
    width: 100%;
    margin-bottom: 0;
  }
  .lesson-wrapper .inputtext input {
    font-size: 1.5rem;
  }
  .lesson-wrapper .text-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .lesson-wrapper .text-box .time-pc {
    display: none;
  }
  .lesson-wrapper .text-box .vietnamese {
    font-size: 1.2rem;
  }
  .lesson-wrapper .text-box .count-Word {
    display: none;
    margin: auto;
    background-color: black;
    flex-direction: column;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 0.8rem;
  }
  .lesson-wrapper .text-box .count-Word span:first-child {
    width: 50px;
    display: block;
    text-align: center;
    border-bottom: 1px solid white;
    font-size: 1rem;
  }
  #login {
    width: 100%;
    padding: 20px 10px;
  }
  #login .login-card {
    margin: 0 auto;
    width: 100%;
    background: white;
  }
  #login .login-card .box-image img {
    width: 100px;
  }
  #login .login-card h3 {
    text-align: center;
  }
  .wrapper-home {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .wrapper-home .learn {
    margin-bottom: 5px;
  }
  section .list-unit,
  section .list-unit-stories {
    width: 100vw;
    position: absolute;
    right: -100%;
    top: 0;
  }
  .content h3 {
    font-size: 1.5rem;
  }
  .content .pictures .picture {
    width: 31.6666666667vw;
    height: 19vw;
    margin: 0.25vw;
  }
}
/*Iphone(480 x 640)*/
/*Smart phone nhỏ*/

/*# sourceMappingURL=story-style.css.map */
