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

/*#region General */
.title-content-border {
  font-size: 36px;
  font-family: Roboto Medium, Arial, sans-serif;
  text-align: center;
  padding-bottom: 30px;
}
.homepage {
  background: url(/amis-cong-viec/sites/help/images/pages/home/bg-bottom.jpg)
    no-repeat;
  background-position: 0 110%;
  padding: 80px 0;
}
.tab-pane.active {
  animation: slide-down 0.8s ease-out;
}

@keyframes slide-down {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

.common-padding {
  padding-bottom: 80px;
}

.common-padding:last-child {
  padding-bottom: 0;
}

@media (max-width: 979px) {
  .common-padding {
    padding-bottom: 60px;
  }
  br{
    display: none
  }
}
/*#endregion*/

/*#region Video */
.video {
  position: relative;
}

.video-ctn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 30px;
}

.grid-video2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
}

.view-more {
  padding-top: 20px;
  text-align: right;
}

.view-more a {
  color: #212121;
  position: relative;
  padding-right: 20px;
}

.view-more a:after {
  border: solid #212121;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  position: absolute;
  content: "";
  transform: rotate(-45deg);
  top: 5.5px;
  right: 5px;
}

.video-ctn a {
  border-radius: 8px;
  position: relative;
  display: block;
  cursor: pointer;
}

.hover-video {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  text-align: center;
  left: 0;
  z-index: 99;
  display: flex;
  align-items: center;
  flex-direction: column;
  background: linear-gradient(0deg, black 0%, transparent);
  border-radius: 8px;
}

.hover-video img {
  margin: auto;
  padding: 0;
}

.hover-video > div {
  position: absolute;
  bottom: 20px;
  font-size: 24px;
  color: #fff;
  padding: 0 20px;
}
.sm-video-ctn .hover-video > div {
  position: absolute;
  bottom: 5px;
  font-size: 16px;
  color: #fff;
  padding: 0 20px;
}


.video-ctn a:hover .hover-video {
  display: flex;
  transition: 0.3s;
}

.video-ctn a img {
  border-radius: 8px;
}
.sm-video-ctn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 30px;
}


@media (max-width: 979px) {
  .video-ctn {
    grid-template-columns: 1fr;
    grid-gap: 10px;
  }
  .sm-video-ctn {
    grid-gap: 10px;
  }
  .hover-video{
    display: flex;
  }
  
}

@media (max-width: 767px) {
  
  .hover-video img {
    width: 40px;
    height: 40px;
  }
  .sm-video-ctn {
    grid-template-columns: 1fr;
  }
  

  .hover-video > div {
    font-size: 18px;
    bottom: 15px;
    padding: 0 15px;
  }
  .sm-video-ctn .hover-video > div {
    font-size: 18px;
    bottom: 15px;
    padding: 0 15px;
}
}
/*#endregion*/

/* region video organization  */
.organization {
  background: url(/amis-cong-viec/sites/help/images/pages/home/bg-tutorial-video.jpg);
}
.owl-list {
  margin: 0 210px;
}
.owl-carousel .owl-item img {
  width: unset;
  border-radius: 16px;
}

.owl-prev,
.owl-prev:hover {
  left: -90px;
  position: absolute;
  top: calc(50% - 20px);
  outline: none;
  background: 0 0 !important;
}

.owl-next,
.owl-next:hover {
  right: -90px;
  position: absolute;
  top: calc(50% - 20px);
  outline: none;
  background: 0 0 !important;
}
.play-video {
  display: block;
  position: relative;
  cursor: pointer;
}
.organization-item {
  position:relative;
}
.organization-item > a:nth-child(2) {
  /* display: none; */
  position: absolute;
  bottom: 20px;
  left: 0;
  font-size: 24px;
  color: #fff;
  padding: 5px 20px;
  justify-content: center;
  width: 100%;
  text-align: center;
  z-index: 99;
}
.organization-item:hover a:nth-child(2){
  display: block;
}
.play-video:hover .hover-video {
  display: flex;
  transition: 0.3s;
  cursor: pointer;
}
@media screen and (max-width: 979px){
  .organization{
    background-size: contain;
  }
  .owl-carousel .owl-item img{
    width: 100%;
  }
  .hover-video > img{
    width: unset !important;
  }
  .owl-list {
    margin: unset;
  }
}

@media screen and (max-width: 767px){
	.organization-item > a:nth-child(2) {
  /* display: none; */
  position: absolute;
  bottom: 5px;
  left: 0;
  font-size: 18px;
  color: #fff;
  padding: 5px 20px;
  justify-content: center;
  width: 100%;
  text-align: center;
  z-index: 99;
}
}
/* endregion  */
/* reigon buy active  */
.buy-ctn {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  text-align: center;
  grid-gap: 40px;
  margin-top: -130px;
}

.buy-ctn a#Buy,
.buy-ctn a#Active {
  display: block;
  color: #212121;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
}
.buy-ctn a#Buy:hover,
.buy-ctn a#Active:hover {
  background: #fff;
  opacity: 1;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.4);
  transition: 0.3s;
  transform: translate(0, -20px);
}

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

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

@media screen and (max-width: 979px) {
  .buy-ctn {
    grid-template-columns: 1fr 1fr;
    margin-top: -30px;
  }
  .buy-ctn a {
    display: none;
  }
  .buy-ctn a#Active,
  .buy-ctn a#Buy {
    display: block;
  }
}

@media screen and (max-width: 767px) {
  .buy-ctn {
    grid-template-columns: 1fr;
    margin-top: 0px;
    grid-gap: 30px;
  }
  .buy-ctn a {
    display: none;
  }
  .buy-ctn a#Active,
  .buy-ctn a#Buy {
    display: block;
  }
  .ba-img {
    padding: 30px 0 15px;
  }
  .ba-title {
    padding: 15px 0 30px;
  }
}
/* endregion  */

/* region tutorial role  */
ul.video-tab {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 0 30px;
  flex-flow: row wrap;
  -moz-flex-flow: row wrap;
  -ms-flex-flow: row wrap;
}

ul.video-tab li {
  margin: 0;
  display: flex;
}

ul.video-tab li:not(:last-child) {
  margin-right: 15px;
}

ul.video-tab li a {
  color: #212121;
  padding: 10px 20px;
  cursor: pointer;
  user-select: none;
  font-family: Roboto Medium, Arial, sans-serif;
}

ul.video-tab li.active a {
  color: #32b247;
  border-bottom: 3px solid;
}
.tr-list a {
  display: block;
  border-radius: 8px;
  color: #212121;
  border: 1px solid #e0e0e0;
  background-color: #fff;
}
.tr-list a:hover {
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}

.tr-list {
  margin: auto;
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  text-align: center;
  grid-gap: 40px 30px;
}

.tr-img {
  padding: 20px 0 10px;
}

.tr-title {
  padding: 0px 0 30px;
}

@media screen and (max-width: 979px) {
  .tr-list {
    grid-template-columns: 1fr 1fr;
    grid-gap: 30px;
    width: 100%;
  }
}
@media screen and (max-width: 767px) {
  .tr-list {
    grid-template-columns: 1fr;
    grid-gap: 20px;
  }
  ul.video-tab li.active a {
    color: #fff;
    background: #32b247;
    border-radius: 8px;
    outline: none;
  }
  ul.video-tab li:not(:last-child) {
    margin-right: 0;
  }
}
/* endregion  */
