/*
Theme Name: Web Khoi Nghiep
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: wrap;
}
.button.primary span{
	color:var(--fs-color-secondary)
}
.back-to-top:hover{
	background-color:var(--fs-color-secondary) !important;
}
.button.primary:hover span{
	color:#fff;
}
.mobile-sidebar{
	background-color: var(--primary-color);
	height:100%;
}
.nav-outline>li.active>a{color:var(--fs-color-secondary)}
.blog-archive .archive-page-header {
  display: none;
}
.product-small .col-inner {
  border-radius: 10px;
  padding: 10px 5px 10px;
  border: 1px solid #d9e5e5;
}
.title-home {
  font-size: 32px;
}
.related-post .post-item .col-inner {
  height: 100%;
}
.wpcf7-spinner {
  display: none;
}
.new-list {
 display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-content: center;
    text-align: center;
}

.sb_right .hds {
  margin-bottom: 30px;
}
.sb_right .hds span {
  display: block;
  font-size: 25px;
  text-transform: uppercase;
  font-weight: 500;
  padding-bottom: 8px;
  text-align: center;
  position: relative;
}
.sb_right .new-list .new-list-post {
  overflow: hidden;
  text-align: center;
  background: #f9f9f9;
  transition: all 0.5s ease-in-out;
}
.sb_right .new-list .new-list-post:hover {
  transform: translateY(-20px);
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
}
.sb_right .new-list .new-list-post .post-content {
  padding: 20px;
}
.sb_right .new-list .new-list-post .post-content .title {
  height: 55px;
  font-size: 17px;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  text-align: center;
}
.sb_right .new-list .new-list-post .post-content > div {
  font-size: 14px;
  line-height: 23px;
  color: #636363;
  display: block;
  height: 46px;
  overflow: hidden;
}
.sb_right .new-list .new-list-post .post-content > div p {
  margin-bottom: 0;
}
@media (max-width: 850px) {
  .new-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 550px) {
  .new-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    padding: 0px;
  }
}

.entry-content {
  color: #212529;
  font-size: 15px;
  font-weight: 400;
  line-height: 28px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.entry-content figure {
  background: #fff;
  border: 1px solid #f0f0f0;
  padding: 5px 3px 10px;
  text-align: center;
}

.entry-content h6 {
  font-size: 15px;
}

.entry-content h5 {
  font-size: 17px;
}

.entry-content h4 {
  font-size: 17px;
}

.entry-content h3 {
  font-size: 18px;
}

.entry-content h2 {
  font-size: 20px;
  line-height: 1.5;
}

.entry-content h1 {
  font-size: 25px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.entry-content p {
  color: #333;
  margin-bottom: 15px;
  font-size: 16.5px;
  line-height: 1.6;
}

.entry-content ul {
  list-style: disc;
  padding-left: 15px;
  padding-bottom: 5px;
}

.entry-content ul li {
  color: #333;
  line-height: 1.5;
  margin-bottom: 10px;
  font-size: 16.5px;
}

.entry-content ul li a {
  color: #007bff;
}

.entry-content ol {
  list-style: decimal;
  padding-left: 18px;
  padding-bottom: 5px;
  font-size: 16.5px;
}

.entry-content ol li {
  color: #333;
  line-height: 1.5;
  margin-bottom: 10px;
  font-size: 16.5px;
}

.entry-content ol li a {
  color: #ff5912;
}

.entry-content a {
  font-weight: 700;
}

.entry-content blockquote {
  background: #f3f3f3;
  color: #868686;
  display: block;
  font-size: 16px;
  line-height: 23px;
  margin: 0 0 20px;
  padding: 15px 20px 15px 45px;
  position: relative;
  text-align: justify;
}

.entry-content blockquote p {
  margin-bottom: 0;
}

.entry-content blockquote:before {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 3px;
  background: var(--primary-color);
  content: "";
}

.entry-content code {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 3px;
  font-size: 0.85rem;
  color: #e83e8c;
  font-size: 15px;
}
.entry-content table {
  display: block;
  width: 100%;
  height: auto;
  overflow: auto;
}
.entry-content table > tbody > tr > td,
.entry-content table > tbody > tr > th,
.entry-content table > tfoot > tr > td,
.entry-content table > tfoot > tr > th,
.entry-content table > thead > tr > td,
.entry-content table > thead > tr > th {
  border: 1px solid #ddd;
  padding: 7px 10px !important;
  font-size: 16.5px !important;
  width: auto !important;
}

.entry-content iframe {
  margin: auto;
}

.entry-content .syntaxhighlighter {
  padding: 10px 0;
}
