/*
 Theme Name: Flatsome Child
 Theme URI: https://flatsome3.uxthemes.com/
 Description: Child theme của Flatsome
 Author: UX Themes
 Template: flatsome
 Version: 1.0.0
*/
:root{
--primary-color:#2a5298;
--secondary-color:#FE7214;
--gray:#4c4a4a;
--wp-blue-dark:#1F5F8B;
--wp-blue:#2F7EA8;
--wp-blue-light:#4FA3C7;
/* Accent – Color grading */
--wp-accent-yellow:#FFC700;
--wp-accent-cyan:#1EC9FF;
--wp-accent-red: #FF3B30;
--wp-accent-green: #32E132;
/* Background */
--wp-bg-dark:#0B0F14; 
--wp-bg-section:#0E1A22; 
--wp-bg-light: #FFFFFF;
/* Text */
--wp-text-main:#FFFFFF;
--wp-text-muted:#B6C2CC;
--wp-text-dark:#1C1C1C;	
}

/*menu */
.header-nav.header-nav-main li{
	margin: 0 20px;
}
.header-nav-main ul li a {
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 0;
    display: block;
    position: relative;
	
}
header.transparent ul li a{
   color:#fff !important;	
}
.has-transparent .logo,.cs-footer-logo img{
  /* filter: brightness(0) invert(1);*/
}
.stuck #logo{
	/* filter:none !important;*/
}
/* Floating Button */
#info-floating-btn {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-color, #0073aa);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    transition: .3s;
}
#info-floating-btn:hover {
    transform: scale(1.1);
    background: #005885;
}
/* Overlay */
#info-popup-overlay.info-hidden {
    display: none;
}
#info-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 99998;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Popup box */
.info-popup-box {
    background: #fff;
    max-width: 90%;
    padding: 20px;
    border-radius: 12px;
    position: relative;
    animation: showPopup .3s ease;
	width: 65vw;
}

@keyframes showPopup {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.info-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    border: none;
    background: transparent;
    cursor: pointer;
}
/*heading*/
.title_2{
 font-size: 32px;
 font-weight:700;
 color:#222;
}
.title_3{
 font-size:32px;
 color: #333;
 font-weight: 700;	
}
/*page home- bg white*/
.col_bg_white{
background-color:#fff !important;
}
.col_bg_drak{
background-color:#000 !important;	
}
/* Container tab item */
.ss_service .nav.nav-line .tab {
    position: relative;
    overflow: hidden;
    transition: transform .25s ease;
}
.ss_service .nav.nav-line .tab:hover {
    transform: translateY(-3px);
}
.ss_service .nav.nav-line .tab::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.12); /* màu đen nhẹ */
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
}
.ss_service .nav.nav-line .tab:hover::after {
    opacity: 1;
}
.ss_service .nav.nav-line .tab.active::after {
    background: rgba(0,0,0,0.06);
    opacity: 1;
}
.ss_service .nav.nav-line .tab.active > a {
    background: #fff !important;
    color: #ff6600 !important; /* màu cam */
    font-weight: 600;
    border-radius: 6px;
    padding: 8px 16px;
}
.ss_service .nav.nav-line .tab:not(.active) > a {
    background: linear-gradient(135deg, rgba(0,0,0,0.5), rgba(0,0,0,0.75));
    color: #fff !important;
    border-radius: 6px;
    padding: 8px 16px;
    transition: 0.25s ease;
}
.ss_service .nav.nav-line .tab:not(.active) > a:hover {
    background: linear-gradient(135deg, rgba(0,0,0,0.4), rgba(0,0,0,0.6));
    transform: translateY(-2px);
}
.ss_service .nav.nav-line .tab > a:after {
    display: none !important;
}
.ss_service .nav.nav-line .tab > a {
    display: inline-block;
}
.nav.nav-line .tab {
    margin: 0 4px;
}
ul.list-unstyled{
	list-style:none;
}
.bg_white_f7,.bg_gray_f7{
	padding: 30px 0;
	box-shadow: inset 0px 16px 40px rgba(0, 0, 0, 0.08);
}
.bg_gray_f7{
    background-color: #f7f7f7;
}
.bg_white_f7{
	background-color: #fefefe;
}
.pd_30px{
	padding:30px 0px;
}
/*search form*/
/*.searchform .submit-button {
  display: none;
}*/
/* ===== SIDEBAR SEARCH ===== */
/*.widget_search {
  background: #ffffff;
  padding: 18px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
*/
/* Title */
/*.widget_search .widget-title {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}*/

.widget_search .is-divider {
  margin: 10px 0 14px;
}

/* Form */
.widget_search .searchform {
  width: 100%;
}

/* Input wrapper */
.widget_search .flex-row {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
  transition: all 0.25s ease;
}

/* Focus */
.widget_search .flex-row:focus-within {
  background: #ffffff;
  border-color: #3e6bbf;
  box-shadow: 0 0 0 3px rgba(62,107,191,0.15);
}

/* Input */
.widget_search .search-field {
  border: none;
  padding: 10px 16px;
  font-size: 14px;
  background: transparent;
  color: #111827;
}

.widget_search .search-field::placeholder {
  color: #9ca3af;
}

.widget_search .search-field:focus {
  outline: none;
  box-shadow: none;
}

/* Button */
.widget_search .submit-button {
  background: transparent;
  border: none;
  padding: 0 14px;
  color: #6b7280;
  transition: color 0.25s ease;
}

.widget_search .submit-button:hover {
  color: #3e6bbf;
}

/* Live search dropdown */
.widget_search .live-search-results {
  margin-top: 8px;
}

.widget_search .autocomplete-suggestions {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 30px rgba(0,0,0,0.1);
}

/* Suggestion item */
.widget_search .autocomplete-suggestion {
  padding: 10px 14px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.widget_search .autocomplete-suggestion:hover {
  background: #f3f4f6;
}



/*related blog*/
/* ===== SIDEBAR RELATED POSTS ===== */
.related-posts-wrapper {
  margin-top: 10px;
}

.related-posts-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #111827;
}

/* List */
.related-posts-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Item */
.related-post-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
  margin-left: -5px !important;
}

.related-post-item:last-child {
  border-bottom: none;
}

/* Thumbnail */
.related-post-thumb {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #f3f4f6;
}

.related-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

/* Hover image */
.related-post-item:hover .related-post-thumb img {
  transform: scale(1.05);
}

/* Content */
.related-post-content {
  flex: 1;
  min-width: 0;
}

/* Title */
.related-post-title {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  line-height: 1.4;
  display: block;
  margin-bottom: 4px;

  /* Giới hạn 2 dòng */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.related-post-title:hover {
  color: #3e6bbf;
}

/* Meta */
.related-post-date {
  font-size: 12px;
  color: #6b7280;
}
/*blog -tin tức */
.box-blog-post {
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box-blog-post:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.14);
}
.box-blog-post .box-image {
  position: relative;
}

.box-blog-post .image-cover img {
  object-fit: cover;
  transition: transform 0.4s ease;
}

.box-blog-post:hover .image-cover img {
  transform: scale(1.08);
}
.box-blog-post .badge.post-date {
  top: 16px;
  left: 16px;
  right: auto;
  border: none;
}

.box-blog-post .badge-inner {
  background: #ffffff;
  border-radius: 12px;
  padding: 8px 10px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.box-blog-post .post-date-day {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

.box-blog-post .post-date-month {
  font-size: 11px;
  text-transform: uppercase;
  color: #6b7280;
}
.box-blog-post .box-text {
  padding: 18px 20px 22px;
  text-align: left;
}

.box-blog-post .box-text-inner {
  padding: 0;
}
.box-blog-post .post-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}

.box-blog-post .post-title a {
  color: #111827;
}

.box-blog-post:hover .post-title a {
  color: #3e6bbf;
}
.box-blog-post .is-divider {
  max-width: 40px;
  height: 3px;
  background: #3e6bbf;
  margin: 8px 0 12px;
}
.box-blog-post .from_the_blog_excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: #6b7280;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
@media (max-width: 768px) {
  .box-blog-post .post-title {
    font-size: 15px;
  }

  .box-blog-post .box-text {
    padding: 16px;
  }
}
/* page contact */
/* ===== CONTACT FORM 3 COL ===== */
/* ===== CONTACT FORM 7 CUSTOM ===== */
.cf7-form {
  max-width: 100%;
}

/* Row */
.cf7-row {
  margin-bottom: 18px;
}

/* Grid 3 col */
.cf7-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Column */
.cf7-col {
  width: 100%;
}

/* Label */
.cf7-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

.cf7-form label span {
  color: #ef4444;
}

/* Input & textarea */
.cf7-form input[type="text"],
.cf7-form input[type="email"],
.cf7-form input[type="url"],
.cf7-form textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  transition: all 0.25s ease;
}

.cf7-form textarea {
  min-height: 120px;
  resize: vertical;
}

.cf7-form input::placeholder,
.cf7-form textarea::placeholder {
  color: #9ca3af;
}

/* Focus */
.cf7-form input:focus,
.cf7-form textarea:focus {
  outline: none;
  border-color: #3e6bbf;
  box-shadow: 0 0 0 3px rgba(62,107,191,0.15);
}

/* Submit */
.cf7-submit {
  margin-top: 10px;
}

.cf7-form input[type="submit"] {
  padding: 12px 32px;
  border-radius: 999px;
  background: #3e6bbf;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cf7-form input[type="submit"]:hover {
  background: #345aa8;
  transform: translateY(-1px);
}

/* CF7 error */
.wpcf7-not-valid {
  border-color: #ef4444;
}

.wpcf7-not-valid-tip {
  font-size: 12px;
  color: #ef4444;
  margin-top: 4px;
}
@media (max-width: 991px) {
  .cf7-row-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .cf7-row-3 {
    grid-template-columns: 1fr;
  }
}
/*page thu-vien*/
/* ===== PORTFOLIO WRAPPER ===== */
.portfolio-element-wrapper {
  padding-top: 10px;
}

/* Remove height jump */
.row-isotope {
  margin-top: 20px;
}
/* ===== FILTER NAV ===== */
.filter-nav {
  gap: 12px;
}

.filter-nav li a {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  color: #374151;
  transition: all 0.25s ease;
}

.filter-nav li.active a,
.filter-nav li a:hover {
  background: #3e6bbf;
  border-color: #3e6bbf;
  color: #fff;
}
/* ===== PORTFOLIO ITEM ===== */
.portfolio-box {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: all 0.35s ease;
}

.portfolio-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}
/* Image */
.portfolio-box .box-image {
  overflow: hidden;
}

.portfolio-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-box:hover img {
  transform: scale(1.08);
}
/* ===== TEXT ===== */
.portfolio-box .box-text {
  padding: 14px 12px;
}

.portfolio-box-title {
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  color: #111827;
  margin-bottom: 4px;
}

.portfolio-box-category {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #6b7280;
}
.portfolio-box .show-on-hover {
  opacity: 0;
  transition: opacity 0.25s ease;
}

.portfolio-box:hover .show-on-hover {
  opacity: 1;
}
@media (max-width: 849px) {
  .portfolio-box-title {
    font-size: 13px;
  }
}

@media (max-width: 549px) {
  .portfolio-box {
    border-radius: 10px;
  }
}
/*ss_footer*/
.ss_footer ul li{
	list-style:none;
	margin-left: 0px;
}
.csblock_fqa .accordion-title,.csblock_fqa .accordion-inner{
	font-size: 14px;
}



