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

/*************** ADD CUSTOM CSS HERE.   ***************/
.entry-content{
    padding-top: 0px;
}
.has-transparent #top-bar{
    background: transparent !important;
}
.div-blue {
    padding: 20px;
    background: #18A7DF;
    display: block;
    overflow: hidden;
}
.div-blue p{
        font-style: italic;
    margin-bottom: 5px;
    color: white;
    font-weight: bold;
    font-size: 20px;
}
.form-dang-ky{
    margin-left: 0px !important;
    margin-right: 0px !important;
}
.section-tu-van .icon-box{
    margin-bottom:10px;
}
.form-dang-ky .large-6,.form-dang-ky .large-12{
    padding-left: 5px;
    padding-right: 5px;
}
.section-luat-su span.count-up{
        color: #4B3854;
    font-size: 81px;
    font-weight: bold;
}
.p-them{
    margin-bottom: 5px;
}

.div-no-padding{
    padding-bottom: 0px;
}

/*Màu sắc button*/
.social-button, .social-icons .button.icon:not(.is-outline), .social-icons .button.icon:hover {
    background-color: blue !important;
    border-color: currentColor !important;
}
.button.facebook,.button.facebook:not(.is-outline), .button.facebook:hover {
color: #fff;
    background-color: #446084;
    border-color: #446084;
}
.button.twitter,.button.twitter:not(.is-outline), .button.twitter:hover {
	color: white !important;
   background : #2478ba !important;
    border-color: #2478ba;
}
.button.email,.button.email:not(.is-outline), .button.email:hover {
    color: #fff;
    background-color: blue !important;
    border-color: blue !important;
}
.button.pinterest,.button.pinterest:not(.is-outline), .button.pinterest:hover {
color: #fff !important;
    background-color: #cb2320  !important;
    border-color: #cb2320  !important;
}

.button.google-plus,.button.google-plus:not(.is-outline), .button.google-plus:hover {
color: #fff !important;
    background-color: #dd4e31 !important;
    border-color: #dd4e31  !important;
}
.button.linkedin,.button.linkedin:not(.is-outline), .button.linkedin:hover {
color: #fff !important;
    background-color: #0072b7 !important;
    border-color: #0072b7     !important;
}

.single-date{
        border-bottom: 1px dashed #ededed;
}
h1.entry-title{
    font-size: 24px !important;
}
/*Kết thúc màu sắc*/



footer.entry-meta {

    border-top: none !important;
    border-bottom: 1px dashed #ececec !important;
    
}

.entry-content img{
	width: auto !important
}
.duong-line {
    background: rgba(0,0,0,0) url(images/line.png) repeat scroll 0 0;
    height: 12px;
    margin-top: 5px;
    overflow: hidden;
}
.related-post h7{
	font-weight: bold;
	    font-size: 18px;
    float: left;
    margin: -8px 20px 0 0;
}



@media(max-width: 850px){
    .section-luat-su h4{
        min-height: 38px;
    }
}
@media(max-width: 470px){
    #teamchart-div.nature {
    overflow: auto;
}
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}

/* Khung bao quanh box tin */
.latest-news-box {
  border: 1px solid #ccc;       /* khung viền */
  border-radius: 5px;
  background: #fff;
  padding: 10px;
  max-height: 300px;            /* giới hạn chiều cao */
  overflow-y: auto;             /* thanh scroll dọc */
  overflow-x: hidden;           /* ẩn scroll ngang */
}

/* Tiêu đề */
.latest-news-box .title {
  font-weight: bold;
  font-size: 15px;
  color: #333;
  margin: 0 0 10px 0;
  padding-bottom: 5px;
  border-bottom: 1px solid #ddd;
  text-transform: uppercase;
}

/* Chữ NEW */
.latest-news-box .new-label {
  color: red;
  font-weight: bold;
  font-size: 12px;
  margin-left: 6px;
}

/* Danh sách tin */
.latest-news-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.latest-news-box {
  border: 1px solid #ccc !important;
  border-radius: 5px !important;
  background: #fff !important;
  padding: 10px !important;
  max-height: 300px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}
/* Tiêu đề */
.latest-news-box .title {
  font-weight: bold;
  font-size: 18px;             /* chữ to hơn */
  margin: 0 0 10px 0;
  padding-bottom: 5px;
  border-bottom: 1px solid #ddd;
  text-transform: uppercase;
  color: #e74c3c;              /* màu cam đỏ */
}

/* Chữ NEW nhấp nháy */
.latest-news-box .new-label {
  color: red;
  font-weight: bold;
  font-size: 13px;
  margin-left: 6px;
  animation: blink 1s infinite; /* gọi animation */
}

/* Tạo hiệu ứng nhấp nháy */
@keyframes blink {
  0%   { opacity: 1; }
  50%  { opacity: 0; }
  100% { opacity: 1; }
}
/* ==== BÀI VIẾT ĐƠN VIETGLOBAL LAW ==== */
.vg-single-post {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
    max-width: 900px;
    margin: 40px auto;
}

.vg-single-post h1, .vg-single-post h2, .vg-single-post h3 {
    color: #006400;
}

.vg-share-box {
    margin-top: 25px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.vg-meta-line {
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding-top: 10px;
    font-size: 15px;
    color: #444;
}

.vg-meta-line strong {
    color: #006400;
}

/* Box tác giả */
.vg-author-box {
    margin-top: 40px;
    border-top: 2px solid #006400;
    padding-top: 20px;
}

.vg-author-box h5 {
    color: #006400;
}

/* Bài viết liên quan */
.vg-related-posts {
    margin-top: 50px;
}

.vg-related-title {
    font-size: 22px;
    color: #006400;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
    position: relative;
}

.vg-related-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #FF6600;
    margin-top: 8px;
    border-radius: 2px;
}

.vg-related-posts .post-item:hover h5 {
    color: #FF6600;
    transition: color 0.3s ease;
}

.vg-related-posts .post-meta {
    color: #666;
    font-size: 13px;
}

/* Flatsome fix alignment */
.vg-single-post .entry-content p {
    margin-bottom: 1.2em;
}
/* === Trang Tin Tức (Flatsome) === */
.post-item .post-title a,
.post-item .post-title {
    color: #ff6600 !important;
    transition: all 0.3s ease;
}

.post-item .post-title:hover {
    color: #cc5200 !important;
}

.post-item p {
    color: #000 !important;
}

.pagination a,
.pagination span {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    background: #f8f8f8;
    text-decoration: none;
}

.pagination .current {
    background: #ff6600;
    color: #fff;
    border-color: #ff6600;
}

.pagination a:hover {
    background: #cc5200;
    color: #fff;
    border-color: #cc5200;
}
/* ==== Giao diện danh sách bài viết dạng list ==== */
.tintuc-list {
  max-width: 1100px;
  margin: 0 auto;
}

.tintuc-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 20px;
  margin-bottom: 25px;
  border-bottom: 1px solid #e0e0e0;
  transition: all 0.3s ease;
}

.tintuc-item:hover {
  background: #fff8f2;
  border-color: #f58220;
  border-radius: 8px;
  transform: translateY(-3px);
}

/* Hình ảnh bài viết */
.tintuc-thumb img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.tintuc-thumb img:hover {
  transform: scale(1.05);
}

/* Tiêu đề bài viết */
.tintuc-content h2 {
  font-size: 22px;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.tintuc-content h2 a {
  color: #f58220;
  text-decoration: none;
  font-weight: 700;
}

.tintuc-content h2 a:hover {
  color: #d66900;
}

/* Ngày đăng */
.tintuc-content p:first-of-type {
  color: #888;
  font-size: 13px;
  margin-bottom: 8px;
  font-style: italic;
}

/* Nội dung mô tả */
.tintuc-content p {
  color: #222;
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

/* ==== Phân trang ==== */
.pagination {
  text-align: center;
  margin-top: 30px;
}

.pagination ul {
  display: inline-flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pagination a:hover {
  background-color: #f58220;
  color: #fff;
  border-color: #f58220;
}

.pagination .current {
  background-color: #f58220;
  color: #fff;
  border-color: #f58220;
  font-weight: 600;
}

/* ==== Responsive ==== */
@media (max-width: 768px) {
  .tintuc-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .tintuc-thumb {
    width: 100%;
  }

  .tintuc-content h2 {
    font-size: 20px;
  }
}
