/*#region Custom Page */
.ht-page {
  padding: 0;
  background: #fff;
}

/*#endregion*/

/*#region General */
.homepage a {
  color: #212121;
}

.homepage a:hover {
  color: #212121;
  opacity: 0.85;
}

.title-content {
  font-size: 32px;
  font-family: Roboto Bold, Arial, sans-serif;
  text-align: center;
  padding-bottom: 30px;
  color: #666666;
}

.text-bold {
  font-family: Roboto Bold, Arial, sans-serif;
}

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

.line-border>div {
  width: 80px;
  height: 3px;
  background: #17e2ad;
  margin: 0 auto;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 15px;
}

@media (max-width: 767px) {
  .title-content {
    font-size: 24px;
  }
}

.common-padding {
  padding: 50px 0;
}

@media (max-width: 979px) {
  .common-padding {
    padding: 40px 0;
  }
}

@media (max-width: 979px) {
  .common-padding {
    padding: 30px 0;
  }
}

/*#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: #fcf3f38a;
}

/* endgion  */

/* reigon buy active  */
.buy-ctn {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  text-align: center;
  grid-gap: 40px;
  margin-top: -110px;
}

.buy-ctn a {
  display: block;
  color: #212121;
  font-family: Roboto Medium, Arial, sans-serif;
  border-radius: 24px;
  background: #fff;
  border: 2px solid #f0f6f7;
  box-shadow: 0px 5px 35px rgb(39 72 219 / 8%);
}

.buy-ctn a:hover {
  background: #fff;
  opacity: 1;
  color: #212121;
  transition: 0.3s;
  transform: translate(0, -20px);
}

.ba-img {
  padding: 30px 0 0px;
}

.ba-title {
  padding: 20px 0 40px;
}

@media screen and (max-width: 979px) {
  .buy-ctn {
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: -30px;
  }

  .buy-ctn a {
    display: block;
  }
}

@media screen and (max-width: 767px) {
  .buy-ctn {
    grid-template-columns: 1fr;
    margin-top: 0px;
    grid-gap: 30px;
  }

  .buy-ctn a {
    display: block;
  }

  .ba-img {
    padding: 30px 0 15px;
  }

  .ba-title {
    padding: 15px 0 30px;
  }
}

/* endregion  */

/* region tutorial role  */
.tutorial-role {
  /* background: url(/amis-mail/sites/help/images/pages/home/bg-major.jpg) no-repeat;
  background-size: 1240px 650px;
  background-position: center;
  min-height: 472px; */
}

.tutorial-ctn{
  background: #D0EEFF;
  border-radius: 32px;
  min-height: 570px;
  height: 100%;
}

.tutorial-ctn .title-content{
  padding-top: 25px;
}

.tutorial-role-ctn {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  text-align: center;
  grid-gap: 20px;
  justify-content: center;
  padding: 0px 45px 45px;

}

.tt-content {
  text-align: left;
}

.tutorial-role-ctn>div {
  border-radius: 12px;
  background: #fff;
  padding: 30px 0px;
}

.tt-item {
  z-index: 10;
}

.bg-item1 {}

.bg-item2 {
  left: 534px;
}

.bg-item3 {
  left: 864px;
}

.tt-title {
  padding: 24px 0 0;
  /* text-align: left; */
  font-size: 16px !important;
  padding: 24px 30px 0;
}

.tt-title,
a {
  font-size: 20px;
}

.tt-img img {
  /* box-shadow: 0 4px 24px rgba(164, 214, 243, 0.36); */
  /* border-radius: 12px; */
}

.tt-content>a {
  display: block;
  padding: 16px 10px 0px 50px;
  font-size: 16px;
  position: relative;
}

.tt-content>a:before {
  position: absolute;
  content: url(/amis-mail/sites/help/images/pages/home/ic-mark-item.png);
  top: 23px;
  left: 36;
}

.tt-content>a:hover {
  color: #1D71F1;
}

.tt-content>a:hover:before {
  filter: grayscale(0);
}

img#IcArrowDashed2,
img#IcArrowDashed1 {
  position: absolute;
  box-shadow: none;
}

.tt-img {
  position: relative;
  z-index: 10;
}

img#IcArrowDashed1 {
  top: 5px;
  right: -35%;
  transform: rotateX(180deg);
}

img#IcArrowDashed2 {
  top: 305px;
  right: -35%;
}

.ic-hover {
  position: relative;
  content: url(/amis-mail/sites/help/images/pages/home/ic-arrow.svg);
  top: 3px;
  left: 6px;
}

@media screen and (min-width: 1366px) {
  .tutorial-role .ht-container {
    max-width: 1350px;
  }
}

@media screen and (max-width: 979px) {
  .tutorial-role-ctn {
    grid-template-columns: 1fr 1fr;
  }

  .tutorial-role {
    background-size: cover;
  }
}

@media screen and (max-width: 767px) {
  

  .tutorial-role-ctn {
    grid-template-columns: 1fr;
  }

  .tt-title {
    padding: 16px 0;
  }

  .tutorial-role-ctn>div {
    /* padding: 24px 15px; */
  }

  img#IcArrowDashed2,
  img#IcArrowDashed1 {
    display: none;
  }

  .tt-img-bg {
    margin: auto;
  }
}

/* endregion  */

/* #region Huong dan theo vai tro */
.tp-ctn {
  display: grid;
  grid-template-columns: 400px 400px;
  justify-content: center;
  grid-gap: 90px;
}

.tp-ctn>div {
  border: 2px solid #f0f6f7;
  border-radius: 24px;
  padding: 20px 0px;
  position: relative;
  height: 500px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0px 5px 35px rgb(39 72 219 / 10%);

}

.tp-ctn>div:before {
  position: absolute;
  content: "";
  width: 88%;
  height: 192px;
  background: #e3f5fe;
  z-index: 0;
  border-radius: 16px;
  top: 24px;
  left: 26px;
}

.tp-title {
  text-align: start;
  font-size: 24px;
  padding-bottom: 8px;
  padding-left: 40px;
}

.tp-content {
  display: flex;
  flex-direction: column;
}

.tp-content a {
  padding: 16px 0 0px 60px;
  position: relative;
  color: #666666;
  font-size: 16px;
}

.tp-content a:before {
  position: absolute;
  content: url(/amis-mail/sites/help/images/pages/home/ic-mark-item.png);
  top: 24px;
  left: 45;
}

.tp-content a:hover {
  color: #1D71F1;
}

.tp-content a:hover:before {
  filter: grayscale(0);
}

.tp-img {
  margin-top: 35px;
  text-align: center;
}

.tp-img img {
  display: block;
  margin: auto;
  width: 90%;
  height: 184.79px;
  z-index: 1;
  position: relative;
}

@media screen and (max-width: 1024px) {
  .tp-ctn {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    grid-gap: 50px;
  }
}

@media screen and (max-width: 979px) {
  .tp-ctn {
    grid-template-columns: 1fr;
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .tp-content a {
    /* padding: 9px 0 9px 140px; */
    position: relative;
    display: flex;
  }

  /* .tp-content a:before {
    top: 16px;
    left: 121;
  } */
}

/* #endregion */

/* #region case-study */
.case-ctn {
  display: grid;
  grid-template-columns: 311px 311px 311px;
  text-align: center;
  grid-gap: 20px;
  justify-content: center;
}

.case-ctn .case-item{
  background: #fff;
  border: 3px solid #D1E6FF;
  border-radius: 20px;
  padding: 35px 0;
}

.case-item-des{
  margin-top: 10px;
}

@media screen and (max-width: 767px) {
  .case-ctn{
    grid-template-columns: 1fr !important;
  }
}

@media screen and (max-width: 979px) {
  .case-ctn{
    grid-template-columns: 1fr 1fr;
  }
}



/* #endregion */

/* #region video  */
.video {
  padding: 60px 0 140px;
  background: url(/amis-mail/sites/help/images/pages/home/bg-video.jpg) no-repeat center;
  color: #fff;
  background-size: cover;
}

.video .view-more a {
  font-size: 16px;
  color: #fff;
}

.video .view-more a:before {
  border: solid #fff;
  position: absolute;
  content: "";
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  border-width: 0 2.5px 2.5px 0;
  display: inline-block;
  padding: 3.3px;
  top: calc(50% - 4.5px);
  right: 19px;
}

.video .view-more {
  position: absolute;
  right: 0;
  top: -5px;
}

.video .title-content {
  color: fff;
}

.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: 100%;
  object-fit: cover;
}

.video-main-title {
  background: #3d4251;
  color: #fff;
  border-radius: 0px 0px 8px 8px;
  padding: 16px;
  font-family: Roboto Medium, Arial, sans-serif;
  display: none;
}

.small-video-ctn {
  display: flex;
  /* width: 100%; */
  align-items: center;
  border: 4px;
  cursor: pointer;
  background: #6489f778;
  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: 400px;
}

.video-container {
  background: #0056ff47;
  padding: 15px 0 !important;
  border-radius: 8px;
}

.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;
  }
}

@media screen and (max-width: 767px) {
  .video .view-more {
    position: block;
  }

  .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: auto;
    height: auto;
    object-fit: cover;
  }
}

/* #endregion  */

/* #region questions */
.questions {
  padding: 200px 0 50px;
  position: relative;
}

.questions-ctn>a {
  text-align: left;
  padding: 14px 20px 14px 20px;
  background: #fff;
  margin-bottom: 15px;
  border-bottom-right-radius: 16px;
  border-top-right-radius: 16px;
  border-top-left-radius: 16px;
  border-bottom-left-radius: 4px;
  position: relative;
  border: 1px solid #F0F6F7;
  color: #292B35;
  font-size: 16px;
}

.questions-ctn>a:hover {
  box-shadow: 0 2px 12px rgba(12, 108, 209, 0.12);
  color: #1D71F1;
}

.questions-ctn {
  display: grid;
  justify-content: center;
  text-align: center;
  grid-template-columns: 560px;
}

.questions-usually {
  border-radius: 24px;
  background: #E3F5FE;
  position: relative;
  padding: 45px 0;
}

img#IcQuestion {
  position: absolute;
  content: "";
  top: -30px;
  left: calc(50% - 30px);
}

.questions-ctn>a:before {
  position: absolute;
  content: url(/amis-mail/sites/help/images/pages/home/ic-questions.svg);
  top: calc(50% - 16px);
  left: 11px;
}

.view-more a {
  color: #1D71F1;
  padding: 10px 40px 10px 20px;
  border: 1px solid;
  border-radius: 22px;
  position: relative;
  font-size: 18px;
}

.view-more a:before {
  position: absolute;
  content: "";
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  border: solid #1D71F1;
  border-width: 0 2.5px 2.5px 0;
  display: inline-block;
  padding: 3.3px;
  top: calc(50% - 4.5px);
  right: 19px;
}

.view-more a:hover {
  color: #274bf7;
  opacity: 0.9;
}

.view-more {
  text-align: center;
  margin-top: 20px;
}

.tutorial-mobile {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  position: absolute;
  width: 97%;
  top: -300px;
  box-shadow: 0 2px 50px rgba(12, 108, 209, 0.12);
}

.tutorial-mobile .title-content {
  padding-bottom: 16px;
  text-align: left;
}

.tm-text {
  padding-left: 60px;
}

a.btn-viewnow {
  background: #EF651C;
  color: #fff;
  padding: 14px 25px;
  display: inline-block;
  border-radius: 34px;
  margin-top: 16px;
  font-size: 16px;
}

a.btn-viewnow:hover {
  color: #fff;
  opacity: 0.9;
}

img#Galaxy {
  display: none;
}

@media screen and (min-width: 1024px) {
  img#Galaxy {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
  }
}

@media screen and (max-width: 979px) {
  .questions {
    padding: 30px 0;
  }

  .tutorial-mobile {
    position: relative;
    width: 100%;
    top: 0;
    margin-bottom: 40px;
  }

  .questions-ctn {
    grid-template-columns: unset;
  }
}

@media screen and (max-width: 767px) {
  .questions {
    padding: 30px 0;
  }

  .tutorial-mobile {
    position: relative;
    flex-direction: column;
    top: 0;
    margin-bottom: 50px;
  }

  .tm-text {
    padding-left: 0px;
  }

  .questions-ctn>a {
    margin: 0 15px 15px 15px;
  }

  .questions-usually {
    padding: 30px 0;
  }
}

/* #endregion */