/* #region banner  */
.banner {
    padding: 60px 0;
    background: url(/amis-chat/sites/images/home/bg-banner.webp) no-repeat;
    background-size: cover;
    color: #fff;
}

.banner-hello {
    font-family: "Inter SemiBold", Arial, sans-serif;
    font-size: 24px;
    color: #fff;
}

.banner-question-title {
    font-size: 18px;
    font-family: "Inter SemiBold", Arial, sans-serif;
}

.banner-searchbox {
    padding: 20px 0 30px;
}

ul.banner-question-list a {
    color: #fff;
    text-decoration: none;
}

.home-page {
    font-family: "Inter", Arial, sans-serif;
}

.banner-question-viewmore a {
    font-family: "Inter SemiBold", Arial, sans-serif;
    text-decoration: none;
    color: #fff;
}

ul.banner-question-list {
    list-style: none;
    padding: 20px 0;
    margin: 0;
}

ul.banner-question-list > div {
    padding-bottom: 10px;
}

.banner-ctn {
    align-items: center;
    justify-content: space-between;
    display: flex;
}

.banner-img {
    text-align: right;
}

.banner-searchbox #hkb-search {
    background: linear-gradient(152.24deg, rgba(255, 255, 255, 0.4) 17.21%, rgba(153, 153, 153, 0.4) 251.56%);
    color: #fff;
    box-shadow: none;
    border-radius: 40px;
}

.banner-searchbox .hkb-site-search::after {
    background: url(/amis-chat/sites/images/home/ic-search.svg) no-repeat center center;
}

.banner-searchbox #hkb-search::placeholder {
    color: #fff;
}

@media screen and (max-width: 979px){
    .banner-ctn {
      align-items: center;
      justify-content: space-between;
      display: flex;
      flex-direction: column;
    }
    .banner-ctn > div {
      width: 100%;
    }
    .banner-img {
      text-align: center;
    }
    .banner-img img {
      width: 100%;
    }
  }
  
/* #endregion */

/* #region tutorial */
.common-title {
    font-family: "Inter SemiBold", Arial, sans-serif;
    font-size: 24px;
    padding-bottom: 20px;
}

.common-padding {
    padding: 60px 0;
}

.tutorials-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 15px;
}

.tutorials-list > div {
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.tutorial-content > div a {
    text-decoration: none;
    color: #212121;
    padding: 5px 0 5px 20px;
    position: relative;
    display: block;
}

.tutorial-title {
    font-family: "Inter SemiBold";
    font-size: 18px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(231, 231, 231, 1);
    text-align: center;
}

.tutorial-content {
    padding: 20px 0;
}

.tutorial-img {
    text-align: center;
}

.tutorial-content > div a:before {
    position: absolute;
    content: "";
    top: 11px;
    left: 0;
    width: 8px;
    height: 8px;
    background: rgba(83, 117, 252, 1);
    border-radius: 50%;
}
.tutorial-viewmore a {
  text-decoration: none;
  color: rgba(37, 99, 235, 1);
}
.tutorial-viewmore {
  text-align: center;
  font-family: "Inter SemiBold", Arial, sans-serif;
}

@media screen and (max-width: 979px){
  .tutorials-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
}
@media screen and (max-width: 767px){
  .tutorials-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .common-padding {
    padding: 30px 0;
  }
}
/* #endregion  */


/* #region video  */
.video {
    background-size: cover;
  }
  .video-main > div {
    position: relative;
  }
  .video-main > div > a {
    cursor: pointer;
    display: block;
  }
  .video-main .hover-video img {
    position: absolute;
    top: calc(50% - 40px);
    left: calc(50% - 40px);
  }
  .video-main > div > a > img{
    width: 100%;
    height: 426px;
    object-fit: cover;
    object-position: top left;
  }
  .video-main-title {
    background: #3d4251;
    color: #fff;
    border-radius: 0px 0px 8px 8px;
    padding: 16px;
    font-family: Roboto Medium, Arial, sans-serif;
    display: none;
  }
  .video-main.tab-content {
  padding-right: 15px;
}
  .small-video-ctn {
    display: flex;
    align-items: center;
    border: 4px;
    cursor: pointer;
    margin-bottom: 15px;
    border: 2px solid transparent;
    margin-right: 15px;
  }
  .small-video-ctn > a {
    width: 35%;
    position: relative;
    display: block;
  }
  .small-video-ctn > div {
    width: 65%;
    padding-left: 16px;
    color: #fff;
    font-family: Roboto Medium, Arial, sans-serif;
  }
  .small-video-ctn > div a:hover {
    color: #fff;
  }
  .video-text > a {
    color: #fff;
  }
  .small-video-ctn .hover-video > img {
    width: 35px;
    top: calc(50% - 17.5px);
    left: calc(50% - 17.5px);
  }
  
  .video-list {
    overflow: auto;
    padding: 0;
    height: 426px;
    margin: 0;
  }
  
  .video-container {
    padding: 15px !important;
    border-radius: 8px;
    background: linear-gradient(139.27deg, #5375FC -0.19%, #254EF6 144.07%);
  }
  
  .small-video-ctn.active {
    color: #3d4251;
    border-radius: 4px;
    background: #6489f778;
    border: 2px solid #99ccff;
  }
  
  .small-video-ctn > a > img {
    border-radius: 4px;
    width: 100%;
  }
  .video-main > div > a > img {
    border-radius: 8px 8px 0px 0px;
  }
  .b-head {
    max-width: 60%;
    margin: auto;
    padding-bottom: 20px;
  }
  .support-ctn {
    padding: 30px 0;
  }
  .title-support {
    padding-bottom: 10px;
  }
  .modal-footer button {
    background-color: #f15050;
    color: white;
  }
  .modal-title {
    text-align: center !important;
  }
  
  @media screen and (max-width: 979px) {
    .video-main {
      padding-bottom: 15px;
    }
    .video {
      padding: 40px 0 40px;
    }
    .video-container {
      flex-direction: column;
    }
    .video-container .video-main {
      width: 100%
    }
    .video-main.tab-content {
      padding-right: 0;
    }
  }
  @media screen and (max-width: 767px) {
    .video-main .tab-pane .hover-video img {
      position: absolute;
      top: calc(50% - 50px);
      left: calc(50% - 25px);
      width: 50px;
    }
    .video {
      padding: 30px 0 30px;
    }
    .video-list {
      overflow: auto;
      padding: 0;
      height: 300px;
    }
    .video-main > div > a > img{
      width: 100%;
      height: auto;
      object-fit: cover;
    }
  }
  /* #endregion  */


/* region custom scroll  */
.scroll {
    overflow: auto;
}

.scroll::-webkit-scrollbar {
    width: 8px;
}

.scroll::-webkit-scrollbar-track {
    background: transparent;
}

.scroll::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #ffffffb3;
}

/* endgion  */

/* #region Mobile  */
.t-mobile-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .t-mobile-viewmore a {
    color: rgba(37, 99, 235, 1);
    text-decoration: none;
    font-family: "Inter SemiBold", Arial, sans-serif;
  }
  .t-mobile-viewmore {
    padding-top: 15px
  }
  @media screen and (max-width: 979px){
    .t-mobile-list {
      flex-direction: column;
    }
  }
  /* #endregion  */