/* ================================================== */
/* Default WP Style */
/* ================================================== */
.entry-content img {
  margin: 0 0 1.5em 0;
}

.alignleft, img.alignleft {
  margin-right: 1.5em;
  display: inline;
  float: left;
}

.alignright, img.alignright {
  margin-left: 1.5em;
  display: inline;
  float: right;
}

.aligncenter, img.aligncenter {
  margin-right: auto;
  margin-left: auto;
  display: block;
  clear: both;
}

.alignnone, img.alignnone {
  /* not sure about this one */
}

.wp-caption {
  margin-bottom: 1.5em;
  text-align: center;
  padding-top: 5px;
}

.wp-caption img {
  border: 0 none;
  padding: 0;
  margin: 0;
}

.wp-caption p.wp-caption-text {
  line-height: 1.5;
  font-size: 10px;
  margin: 0;
}

.wp-smiley {
  margin: 0 !important;
  max-height: 1em;
}

blockquote.left {
  margin-right: 20px;
  text-align: right;
  margin-left: 0;
  width: 33%;
  float: left;
}

blockquote.right {
  margin-left: 20px;
  text-align: left;
  margin-right: 0;
  width: 33%;
  float: right;
}

/* ================================================== */
/* Fix admin bar */
/* ================================================== */
@media only screen and (min-width: 783px) {
  .customize-support #jsHeader {
    margin-top: 32px;
  }
}

/* ================================================== */
/* Iframe */
/* ================================================== */
.ru-iframe {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.ru-iframe iframe {
  height: 100%;
  width: 100%;
  left: 0;
  margin: 0 auto;
  position: absolute;
  right: 0;
  top: 0;
}

.ru-hidden {
  display: none !important;
}

#ru-loader{
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 999;
  background: rgba(255,255,255,0.8) url("../img/loader.gif") center no-repeat;
  background-size: 50px 50px;
}

/* ================================================== */

/* CUSTOM */

/* ================================================== */

.kk-star-ratings {
  flex-direction: column

}

.kk-star-ratings .kksr-legend {
  margin-top: 10px;
}

.vc-article__tag a {
  display: inline-block!important;
}

.lbl-button {
  min-width: 165px;
  background: #EAF2FE;
  color: #0A67E9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 25px;
  border: 1px solid #0A67E9;
  padding: 7px 30px;
  transition: background-color 0.25s, color 0.25s;
}

.lbl-button:hover,
.chk-button:checked+label {
  background-color: #0A67E9;
  color: #fff;
}

@media only screen and (max-width: 767.98px) {
  .lbl-button {
    font-size: 1.4rem;
    min-width: inherit;
    padding: 4px 20px 3px;
  }
}

.author-filter__name {
  background-color: transparent;
  border: none;
  appearance: none;
  font-size: 3.6rem;
  font-weight: 600;
  color: #073A91;
  line-height: 0.4;
  padding: 1.8rem var(--padding-x);
  justify-content: center;
  align-items: center;
  --padding-x: 1.4rem;
  transition: all 0.25s;
}

.author-filter__name:hover {
  color: #0A67E9;
}

.author-filter__name.clicked {
  background-color: #0A67E9;
  color: white;
  border-radius: 5px;
}

@media only screen and (max-width: 767.98px) {
  .author-filter__name {
    font-size: 2.8rem;
  }
}

@media only screen and (max-width: 991.98px) {
  .author-filter__name {
    font-size: 2.6rem;
  }
}

.cds-ad__banner {
  padding: 60px 0;
}

@media only screen and (max-width: 991.98px) {
  .cds-ad__banner {
    padding: 30px 0;
  }
}

.cds-ad__link {
  color: #073A91;
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1;
  padding: 50px 15px;
  transition: opacity 0.25s;
}

.cds-ad__link:hover {
  color: #073A91;
  opacity: 0.75;
}

@media only screen and (max-width: 767.98px) {
  .cds-ad__link {
    color: #073A91;
    font-size: 2rem;
    padding: 15px 10px 12px;
  }
}

.vc-headline__toolbar span {
  color: #073A91;
  font-size: 2.2rem;
  margin-left: 20px;
  transition: color 0.25s, font-weight 0.25s;
}

.vc-headline__toolbar span.current, .vc-headline__toolbar span:hover {
  color: #0A67E9;
  cursor: pointer;
  font-weight: 600;
}

.vc-contact__txt p {
  color: #fff;
  font-size: 2.6rem;
}

@media only screen and (max-width: 1199.98px) {
  .vc-contact__txt p {
    font-size: 1.6rem;
  }
}

@media only screen and (max-width: 991.98px) {
  .vc-contact__txt p {
    margin-bottom: 30px;
  }
}

@media only screen and (max-width: 767.98px) {
  .vc-contact__txt p {
    font-size: 1.5rem;
  }
}

@media only screen and (max-width: 991.98px) {
  .vc-sidebar__item {
    margin: 0 0 15px;
    padding: 0 0 10px;
  }
}

.vc-read__txt p {
  color: #000;
  font-size: 1.8rem;
  font-weight: 700;
  max-width: 500px;
  margin: 0 auto 50px;
}

@media only screen and (max-width: 767.98px) {
  .vc-read__txt p {
    font-size: 1.3rem;
    max-width: 100%;
    margin-bottom: 30px;
  }
}

.site-content .d-none {
  display: block !important;
}

.vc-article__toolbar a {
  padding: 10px 20px;
  width: 110px;
}

@media only screen and (max-width: 767.98px) {
  .vc-article__toolbar a {
    width: 94px;
  }
}

.vc-card--library .vc-headline--line a {
  color: #073a91;
  transition: color 0.25s;
}

.vc-card--library .vc-headline--line a:hover {
  color: #0a58ca;
}

.vc-table--author table td.head {
  border-width: 0;
}

.vc-table--update table td:first-child {
  width: 35%;
}

@media only screen and (max-width: 991.98px) {
  .vc-table--update table td:first-child {
    width: 40%;
  }
}

@media only screen and (max-width: 767.98px) {
  .vc-table--update table td:first-child {
    width: 50%;
  }
}

.vc-table--update table td:nth-child(2),
.vc-table--update table td:nth-child(4) {
  white-space: nowrap

}

/* LynkNeo add style for search suggestion 2022/1/25 START */

.vt-search__suggest {
  background-color: #fff;
  display: none;
  position: absolute;
  margin-top: 0;
  border: 1px solid #ccc;
  width: 100%;
  margin-left: 0;
  z-index: 999;
}

.vt-search__item {
  border-bottom: 1px solid #eaeaea;
  color: #000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  line-height: 1;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  text-decoration: none;
  -webkit-transition: color .5s;
  transition: color .5s;
}

.vt-search__avatar {
  width: 50px;
}

.vt-search__img {
  display: block;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
  padding-top: calc(100% / (55 / 50));
  position: relative;
}

.vt-search__img img {
  height: auto;
  left: 0;
  -o-object-fit: cover;
  object-fit: cover;
  position: absolute;
  top: 0;
  width: 100%;
}

.vt-search__content {
  width: calc(100% - 55px);
  padding-top: 15px;
}

.vt-search__ttl {
  font-size: 1.4rem;
  line-height: 1;
  margin: 0;
  padding: 0;
  font-weight: bold;
  color: #444;
}

/* LynkNeo add style for search suggestion 2022/1/25 END */

/* LynkNeo fix bug author stories swiper 2022/06/25 START */

/* LynkNeo add center stories slides on author page 2022/05/11 START */

/*.vc-card--book .swiper-wrapper {
  justify-content: center;
}*/

/* LynkNeo add center stories slides on author page 2022/05/11 END */

/* LynkNeo fix bug author stories swiper 2022/06/25 END */

/* LynkNeo edit instagram white background, image ration 1:1 2022/05/15 START */

.vc-instagram {
  background-color: #fff;
}

.vc-instagram__item {
  padding-top: calc(1*100%/1);
}

/* LynkNeo edit instagram white background, image ration 1:1 2022/05/15 END */

/* LynkNeo add center heading title 2022/05/15 START */
.cds-heading--center {
  margin: 0 auto;
  text-align: center;
}

@media only screen and (max-width: 991.98px) {
  .mob-heading--center {
    margin: 0 auto;
    text-align: center;
  }
}
/* LynkNeo add center heading title 2022/05/15 END */

/* LynkNeo add recommended stories, recommended authors 2022/05/15 START */

.vc-story--recommended,
.vc-author--recommended {
  background-color: #EAF2FD;
  padding: 60px 0;
}

.vc-story--recommended .vc-story__col,
.vc-author--recommended .vc-author__col {
  width: calc(100% / 5);
}

@media only screen and (max-width: 1199.98px) {
  .vc-story--recommended .vc-story__col,
  .vc-author--recommended .vc-author__col {
    width: calc(100% / 4);
  }
}

@media only screen and (max-width: 991.98px) {
  .vc-story--recommended .vc-story__col,
  .vc-author--recommended .vc-author__col {
    width: calc(100% / 4);
  }
}

@media only screen and (max-width: 767.98px) {
  .vc-story--recommended .vc-story__col,
  .vc-author--recommended .vc-author__col {
    width: calc(100% / 2);
  }
}

.vc-article--product {
  padding-bottom: 0;
}

.vc-article--author {
  padding-top: 0;
  padding-bottom: 0;
}

.vc-author--info {
  padding-top: 50px;
}

@media only screen and (max-width: 991.98px) {
  .vc-author--recommended {
    padding: 30px 0;
  }
}

.vc-story__avatar,
.vc-author__avatar {
  overflow: hidden;
  padding-top: calc(400 * 100% / 275);
  width: 100%;
}

.vc-story__avatar::before,
.vc-author__avatar::before {
  background-color: rgba(0, 0, 0, 0.25);
  content: "";
  display: inline-block;
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  transition: opacity 0.25s;
  width: 100%;
  z-index: 1;
}

.vc-story__avatar img,
.vc-author__avatar img {
  height: 100%;
  left: 50%;
  -o-object-fit: cover;
  object-fit: cover;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  transition: transform 0.25s;
  z-index: 0;
}

.vc-story__ttl,
.vc-author__ttl {
  color: #333;
  font-size: 1.8rem;
  transition: color 0.25s;
}

.vc-story__des {
  color: #666;
  font-size: 1.6rem;
  text-align: center;
}

/* LynkNeo add recommended stories, recommended authors 2022/05/15 END */

/* LynkNeo add table style 2022/05/16 START */

.wp-block-table {
  margin-bottom: 15px;
  overflow-x: auto;
  width: 100%;
  -webkit-overflow-scrolling: touch;
}

.vc-article__txt table {
  max-width: 100%;
  overflow-x: auto;
  display: block;
}

.vc-article__txt table td,
.vc-article__txt table th,
.wp-block-table table td,
.wp-block-table table th,
.is-style-stripes table td,
.is-style-stripes table th {
  border: 1px solid #bdbdbd !important;
  color: #1f1f1f;
  font-size: 1.4rem;
  padding: 15px;
  vertical-align: top;
}

.vc-article__txt table th,
.wp-block-table table th {
  background-color: #034ea1;
  color: #fff;
}

.vc-article__txt tr:nth-child(2n),
.wp-block-table tr:nth-child(2n) {
  background-color: #f5f5f5;
}

/* LynkNeo add table style 2022/05/16 END */

.vc-author--home .vc-form__dropdown span,
.vc-author .vc-form__dropdown span {
  font-size: 1.8rem;
}

@media only screen and (max-width: 1199.98px) {
  .vc-author--home .vc-form__dropdown span {
    font-size: 1.6rem;
  }
}

@media only screen and (max-width: 991.98px) {
  .vc-table--author {
    padding-top: 20px;
  }
}

@media only screen and (min-width: 992px) {
  .vc-table--author {
    padding-left: 10px;
    overflow-y: auto;
    border-collapse: collapse;
  }

  .vc-table--author tr:first-child {
    position: sticky;
    top: 0;
    z-index: 1;
  }
}

@media only screen and (min-width: 1200px) {
  .vc-table--author {
    padding-left: 20px;
  }
}

.vc-headline__toolbar a.current,
.vc-headline__toolbar a:hover {
  color: #0A67E9;
}

/*.vc-header__nav .sp ul.sub-menu {
  overflow: scroll !important;
  max-height: calc(100% - 110px);
}

.vc-header__nav .pc ul.sub-menu {
  overflow-y: auto;
  max-height: 90vh;
}*/

.vc-header__nav > div > ul > li > ul {
  overflow-y: auto;
  max-height: 73.5vh;
}

@media only screen and (max-width: 1199.98px) {
  .vc-header__nav > ul > li.active > ul {
    overflow-y: auto;
    /*max-height: calc(100vh - 150px) !important;*/
  }
}

@media only screen and (max-width: 1199.98px) {
  .vc-header__nav {
    max-height: calc(100vh - 110px) !important;
  }
}

.vc-author__img a {
  padding-top: calc(400 * 100% / 275);
}

/* Thức add 2022-09-20 */
figure{
  max-width: 100%;
}

/* LynkNeo Add margin left & right to post content on mobile 2023/03/06 START */
@media only screen and (max-width: 767.98px) {
  .vc-article--blog {
    margin-left: 10px;
    margin-right: 10px;
  }
}
/* LynkNeo Add margin left & right to post content on mobile 2023/03/06 END */

/* LynkNeo Center related posts title 2023/03/06 START */
.vc-card--related .vc-headline--primary {
  width: 100%;
  text-align: center;
}
/* LynkNeo Center related posts title 2023/03/06 END */

/* LynkNeo Center tag title 2023/03/07 START */
/*.vc-card--review .vc-headline--primary {
  margin: auto;
}*/
/* LynkNeo Center tag title 2023/03/07 END */
/* LynkNeo Facebook share is over width 2023/03/07 START */
.fb_iframe_widget_fluid span,
.fb_iframe_widget iframe {
  width: 165px !important;
}
/* LynkNeo Facebook share is over width 2023/03/07 END */

/* LynkNeo center kk-rating 2023/03/18 START */
.kk-star-ratings.kksr-align-center {
  width: 100%;
}

.flex-right {
  margin-left: auto;
  margin-right: 0;
}

.flex-center {
  margin: auto;
}
/* LynkNeo center kk-rating 2023/03/18 END */