@font-face {
  font-family: Roboto-Bold;
  src: url("../webfonts/Roboto-Bold.ttf");
}

@font-face {
  font-family: Roboto-Regular;
  src: url("../webfonts/Roboto-Regular.ttf");
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
  color: #444;
}

a:hover {
  color: #106338;
  text-decoration: none;
}
/* remove rounding from cards, buttons and inputs */
.card,
.btn,
.form-control {
  border-radius: 0;
}

button:focus {
  outline: none;
}

.header {
  /*background: url('../images/bg-header.png') no-repeat top right white;*/
  background: url("../images/readingbook.png") no-repeat top right;
  background-size: 280px;
  height: 120px;
}

.logo {
  max-height: 100px;
}

.ct-navbar {
  border-bottom: 2px solid #106338;
}

.ct-navbar .navbar-nav .nav-link {
  padding: 14px 0;
  color: #444;
  margin-right: 30px;
  font-size: 1.1rem;
}

.ct-navbar .navbar-nav .nav-link:hover {
  color: #106338;
}

.ct-navbar .navbar-nav .nav-item.active .nav-link {
  color: #106338;
  font-weight: 700;
  border-bottom: 4px solid #106338;
}

.hotline-hd .nav-link {
  background: #e6efe7;
  padding: 13px 18px;
  font-size: 1.1rem;
  color: #565656;
}

.bg-index {
  background: url("../images/bg-index.png") no-repeat top right #e6efe7;
  background-size: 500px;
  /* min-height: calc(100vh - 130px); */
}

.ct-dropdown-menu .dropdown-item {
  padding: 0.35rem 1.5rem;
}

.dropdown-dms {
  width: 286px;
}

.dropdown-dms .dropdown-menu {
  top: -2px;
  padding: 15px;
}

.dropdown-dms.dropdown-dms-index .dropdown-menu {
  top: 0px;
  min-height: 400px;
}

.dropdown-dms .dropdown-menu .dropdown-item {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e5e5e5;
}

.dropdown-dms .dropdown-menu .dropdown-item:last-child {
  border-bottom: 0;
}

.icon-circle {
  display: inline-block;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
}

.icon-circle-s2 {
  width: 60px;
  height: 60px;
  line-height: 60px;
  font-size: 20px;
}

.icon-circle-s2:hover {
  background: #8bc35e !important;
  color: #fff;
}

.btn.focus,
.btn:focus {
  outline: 0;
  box-shadow: 0 0 0 0rem rgba(0, 0, 0, 0);
}

.input-group-search {
  width: calc(100% - 286px);
}

.custom-select-search {
  max-width: 260px;
}

.top-post-section {
  width: calc(100% - 286px);
  margin-top: 20px !important;
}

.left-menu {
  width: 286px;
}

.right-ct {
  width: calc(100% - 286px);
  padding-left: 30px;
}

.book-deck .card {
  /* max-width: 183.5px; */
}

.nav-cate .nav-item .nav-link {
  background: #ebebeb;
}

.nav-cate .nav-item.active .nav-link {
  background: #8bc35e;
  color: #fff;
}

.tt-ct {
  border-left: 3px solid #8bc35e;
  padding-left: 15px;
  background: #fff;
}

.list-books .media {
  align-items: center;
}

.list-books .image-box {
  width: 130px;
  margin-right: 15px;
}

.list-group-item {
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.list-group-item.active {
  background-color: #ffffff;
  border-color: rgba(0, 0, 0, 0.06);
}

.list-group-item.active > a {
  color: #106338;
  font-weight: 600;
}

.list-group-item.active .badge {
  color: #106338 !important;
}

.form-control:focus::placeholder {
  opacity: 0;
}

.breadcrumb {
  padding: 0.75rem 0;
  background-color: transparent;
}

.sidebar {
  width: 286px;
}

.ct-news {
  width: calc(100% - 286px);
}

.list-news .image-box {
  width: 280px;
  margin-right: 20px;
}

.list-news-sm .image-box {
  width: 84px;
  margin-right: 10px;
}

.list-news-sm .media {
  border-bottom: 1px solid #efefef;
}

footer {
  background: url(../images/bg-ft.png) no-repeat bottom left #106338;
  background-size: 100%;
}

.ct-footer {
  /* min-height: 450px; */
  padding-top: 45px;
  padding-bottom: 30px;
}

.ft-logo {
  position: absolute;
  left: 0;
  top: -170px;
}

.nav-footer .nav-link {
  color: #fff;
  padding: 5px 0;
}

.nav-footer .nav-link:hover {
  text-decoration: underline;
}

p.copyright {
  position: absolute;
  left: 15px;
  bottom: 0;
  color: rgba(255, 255, 255, 0.3);
}

/* -------------------------Collapse------------------------- */
.panel-group {
  margin-bottom: 0;
}

.panel-group .panel {
  border-radius: 0;
  box-shadow: none;
}

.panel-group .panel .panel-heading {
  padding: 0;
}

.panel-group .panel .panel-heading h4 a {
  background: #fff;
  display: block;
  font-size: 16px;
  font-weight: bold;
  padding: 15px;
  text-decoration: none;
  transition: 0.15s all ease-in-out;
}

.panel-group .panel .panel-heading h4 a:hover,
.panel-group .panel .panel-heading h4 a:not(.collapsed) {
  background: #8bc35e;
  transition: 0.15s all ease-in-out;
  color: #fff;
}

.panel-group .panel .panel-heading h4 a:not(.collapsed) i:before {
  content: "";
  color: #fff;
}

.panel-group .panel .panel-heading h4 a:hover i {
  color: #fff;
}

.panel-group .panel .panel-heading h4 a i {
  color: #999;
}

.panel-group .panel .panel-body {
  padding-top: 0;
}

.panel-group .panel .panel-heading + .panel-collapse > .list-group,
.panel-group .panel .panel-heading + .panel-collapse > .panel-body {
  border-top: none;
}

.panel-group .panel + .panel {
  border-top: none;
  margin-top: 0;
}

/* -------------------------Ratio------------------------- */
.image-box {
  position: relative;
  overflow: hidden;
}

.image-box::before {
  content: "";
  display: block;
  padding-top: 100%; /* initial ratio of 1:1*/
}

.image-box .image {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.image-box.ratio-1-1::before {
  padding-top: 100%;
}

.image-box.ratio-2-1::before {
  padding-top: 50%;
}

.image-box.ratio-1-2::before {
  padding-top: 200%;
}

.image-box.ratio-3-4:before {
  padding-top: 150%;
}

.image-box.ratio-4-3:before {
  padding-top: 75%;
}

.image-box.ratio-5-3:before {
  padding-top: 60%;
}

.image-box.ratio-16-9:before {
  padding-top: 56.25%;
}
/* -------------------------Close ratio------------------------- */

/* -------------------------Cut Text---------------------------- */
.text-1line {
  display: -webkit-box;
  /* autoprefixer: off */
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-2line {
  display: -webkit-box;
  /* autoprefixer: off */
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-3line {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fix-dropdown-menu {
  max-height: 536px;
  overflow-y: auto;
}

/* ------------------------Close Cut Text----------------------- */
@media (min-width: 993px) {
  .ct-navbar .navbar-nav .nav-link {
    padding: 15px 0;
    font-size: 1rem;
  }
}

@media (min-width: 1200px) {
  .ct-navbar .navbar-nav .nav-link {
    padding: 14px 0;
    font-size: 1.1rem;
  }
}

@media (max-width: 1199px) {
  .fix-dropdown-menu {
    max-height: 475px;
  }
}

@media (max-width: 992px) {
  .slogan p {
    font-size: 14px;
  }

  .slogan h3 {
    font-size: 18px;
  }

  .left-menu {
    width: 100%;
  }

  .right-ct {
    width: 100%;
    padding-left: 0;
  }

  .sidebar {
    width: 100%;
  }

  .ct-news {
    width: 100%;
  }

  .input-group-search {
    width: 100%;
  }

  .custom-select-search {
    width: 100% !important;
    max-width: 100%;
  }

  .input-group-search .btn {
    display: block;
    background: #8bc35e;
    width: 100%;
    color: #fff !important;
  }
}

@media only screen and (max-width: 767.98px) {
  .header {
    /*height: 90px;*/
    background: url(../images/bghead.png) no-repeat top right;
  }

  .navbar-light .navbar-toggler {
    color: rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 0, 0, 0);
  }

  .navbar-toggler {
    padding: 0.25rem 0;
  }

  .ct-navbar .navbar-nav .nav-link {
    margin-right: 0;
  }

  .slogan p.hd-text2 {
    font-size: 18px;
  }

  .slogan p.hd-text1 {
    font-size: 15px;
  }

  .slogan h3 {
    font-size: 14px;
  }

  .input-group-search {
    width: 100%;
  }

  .custom-select-search {
    width: 100% !important;
    max-width: 100%;
  }

  .input-group-search .btn {
    display: block;
    background: #8bc35e;
    width: 100%;
    color: #fff !important;
  }

  .top-post-section {
    width: 100%;
  }

  .bg-index {
    background-size: 300px;
  }

  .btn-group-sm > .btn,
  .btn-sm {
    padding: 0.25rem 0.2rem;
  }

  .ct-footer h6 > span {
    font-size: 9px;
  }

  p.copyright {
    position: relative;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 0;
    padding-bottom: 15px;
    left: 0;
  }

  .ct-navbar {
    border-bottom: 2px solid #8bc35e;
    background: #e4f3d7 !important;
  }

  .left-menu {
    width: 100%;
  }

  .right-ct {
    width: 100%;
    padding-left: 0;
  }

  .card-deck.book-deck {
    flex-direction: row;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-wrap: wrap;
  }

  .card-deck.book-deck .card {
    /* max-width: 100%; */
  }

  .list-tt-book {
    font-size: 1.1rem;
  }

  .book-detail .image-box {
    width: 150px !important;
    margin-right: 15px;
  }

  .input-group > .custom-select {
    width: 100%;
  }

  .modal-dialog {
    width: 100%;
  }

  .sidebar {
    width: 100%;
  }

  .ct-news {
    width: 100%;
  }

  .list-news .image-box {
    width: 110px;
    margin-right: 15px;
  }

  .ft-logo {
    left: 5px;
    top: -140px;
    width: 100px;
  }

  .readmore-post,
  .text-ct-post {
    display: none;
  }
}

.color-white,
.color-white p,
.color-white h1,
.color-white h2,
.color-white h3,
.color-white h4,
.color-white h5,
.color-white h6 {
  color: #fff !important;
}

.text-upper {
  text-transform: uppercase;
}

.no-wrap {
  white-space: pre-wrap;
}

.font13 {
  font-size: 13px !important;
}

.font15 {
  font-size: 15px !important;
}

.bgbanner {
  background: url(../images/bghead.png) no-repeat top right white;
  /*background-size: 280px;
    height: 120px;*/
  /*background-image: url(../images/bghead.jpg);*/
}

.ft-text {
  color: #fff;
}

.hd-text1 {
  font-family: Roboto-Bold;
  font-size: 12pt;
  color: #e4e4e4;
}

.hd-text2 {
  font-family: Roboto-Bold;
  font-size: 23pt;
  color: #0e581b;
}

.col-adv {
  max-width: 33%;
  display: inline-flex;
  /*border: 1px solid #444;*/
}

.col > a > img {
  margin: 9px;
}

.download-app {
  width: max-content;
}

.download-app .btndownload-Download {
  border: 1px solid #8c9094;
  border-radius: 10px;
  background-color: #8bc35e;
}

.video-embed {
  position: relative;
  padding-bottom: 56%;
  width: 100%;
  text-align: left;
}

.video-embed iframe {
  width: 100%;
  position: absolute;
  height: 100%;
  overflow: hidden;
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.video-wrapper video,
.video-wrapper .wp-video,
.video-wrapper .mejs-container {
  width: 100% !important;
  height: 100% !important;
}

.video-wrapper .wp-video {
  max-width: 100% !important;
}

.entry-content {
  line-height: 1.6;
  font-size: 15px;
}

.slogan .hd-text1 {
  font-family: "Roboto";
  color: #fff;
  font-weight: 500;
}

.svc-stats-box {
  max-width: 420px;
  margin: 0 auto 30px;
  border-radius: 16px;
  padding: 24px;
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); */
  color: #fff;
  box-sizing: border-box;
}
.svc-stats-box * {
  box-sizing: border-box;
}
.svc-stats-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 14px 0;
  color: #fff;
}
.svc-stats-odometer {
  background: rgba(0, 0, 0, 0.18);
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 4px;
  font-family: "Courier New", monospace;
  margin-bottom: 18px;
}
.svc-stats-list {
  background: #fff;
  border-radius: 12px;
  padding: 6px 16px;
  color: #2b2b3a;
}
.svc-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 4px;
  border-bottom: 1px solid #eef0f5;
  font-size: 14px;
}
.svc-stats-row:last-child {
  border-bottom: none;
}
.svc-stats-row-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #555;
}
.svc-stats-row-value {
  font-weight: 700;
  color: #4453c4;
}
.svc-stats-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34c759;
  display: inline-block;
}
@media only screen and (max-width: 991px) {
  .ct-navbar {
    border-bottom: 2px solid #8bc35e;
    background: #e4f3d7 !important;
  }

  .navbar-light .navbar-toggler {
    color: rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 0, 0, 0);
  }
}

.book-deck {
  gap: 10px;
}

.book-deck .card {
  margin: 0;
}

@media (min-width: 576px) {
  .book-deck {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 575px) {
  .book-deck .col-6 {
    -ms-flex: 0 0 calc(50% - 10px);
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }

  .svc-stats-box {
    margin-bottom: 0;
  }
}

.playlist-video li:not(:last-child) {
  border-bottom: 1px solid #e8e8e8;
}

button#dropdownMenuButton {
  min-width: 286px;
}

.custom-cat-card {
  transition:
    transform 0.2s ease-in-out,
    box-shadow 0.2s ease-in-out;
}
.custom-cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}
.icon-circle-bg {
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.custom-cat-card .card-title a:hover {
  color: #2f693b !important;
}
