/*
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.   ***************/
:root {
    --thanhba-text-color: #031B4E;
    --thanhba-body-color: #313956;
    --thanhba-primary-color: #3d9b1e;

    --thanhba-white-color: #FFFFFF;
    --thanhba-light-color: #f0f6f2;
    --thanhba-blackish-bg-color-rgb: 37, 62, 37;
}
.tb-text-center {
	text-align: center;
}
.page-wrapper .page-inner {
    padding: 0 20px;
}
.uppercase, h6, span.widget-title, th {
    letter-spacing: unset;
}

.tb-nav, .tb-why, .tb-service, .tb-team, .tb-blog {
    padding: 20px 0;
}
/*nav */
.tb-nav .box {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: var(--thanhba-primary-color);
}
.tb-nav .box-image {
    border-radius: 30px;
    margin: 5px;
}
.tb-nav h4 {
    font-size: 16px;
    color: var(--thanhba-white-color);
    padding: 5px 0 0 0;
}

.tb-why h2, .tb-service h2, .tb-team h2, .tb-blog h2 {
	font-size: 40px;
	margin-top: 10px;
	color: var(--thanhba-primary-color);
}

/*service*/

.tb-service .page-box, .tb-blog-hot .box-normal, .tb-team .portfolio-box {
	background-color: var(--thanhba-white-color);
	border-radius: 30px;
	position: relative;
}

.tb-service .box-text {
	padding: 30px;
}
.tb-service .box-image, .tb-blog .box-image, .tb-blog-hot .box-image, .tb-blog-base .box-image {
	border-radius: 30px;
}
.tb-service .box-text-inner h3 {
	line-height: 38px;
    color: var(--thanhba-text-color);
    font-size: 24px;
    font-weight: bold;
}
.tb-service .box-text-inner p, .tb-blog .from_the_blog_excerpt {
	font-size: 15px;
	color: var(--thanhba-text-color);
	padding-right: 60px;
}
.tb-service .box-text-inner img {
	width: 50px;
	height: 50px;
	position: absolute;
	right: 0;
	bottom: 0;
}
/* department */
.tb-depart {
    background-color: var(--thanhba-primary-color);
    background-image: url("/wp-content/uploads/2024/09/pattern-01-010.png");
}
.tb-depart h2 {
    color: var(--thanhba-white-color);
    font-size: 40px;
    margin-top: 10px;
}
.tb-depart .box-image {
    border-radius: 30px;
}
.tb-depart .box-image::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(var(--thanhba-blackish-bg-color-rgb), .68) 0%, rgba(var(--thanhba-blackish-bg-color-rgb), .68) 17%, rgba(var(--thanhba-blackish-bg-color-rgb), 0) 44%, rgba(var(--thanhba-blackish-bg-color-rgb), 0) 100%);
}
.tb-depart .box-text {
    z-index: 2;
}
.tb-depart .box-text-inner {
    padding: 20px;
}
.tb-depart .box-text h3 {
    font-size: 24px;
}
.tb-depart .box-text img {
    display: none;
}
/* team */
.tb-team .portfolio-box {
	padding: 20px 20px 20px;
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background-color: var(--thanhba-white-color);
}
.tb-team img {
	border-radius: 30px;
}
.tb-team .portfolio-box-sub {
	background: var(--thanhba-light-color);
	color: var(--thanhba-text-color);
    padding: 4px 20px;
    font-size: 11px;
    text-transform: uppercase;
    border-radius: 100px;
    display: inline;
    font-weight: bold;
}
.tb-team .portfolio-box-title {
	font-size: 17px;
	margin: 5px 0;
}
.tb-team .portfolio-box-category {
	text-transform: uppercase;
	position: relative;
    font-size: 12px;
    letter-spacing: 1px;
    color: #6e778c;
}
.tb-team .box-text-inner img {
	width: 50px;
	height: 50px;
	position: absolute;
	right: -15px;
	bottom: -15px;
}
.tb-team .portfolio-box .box-text {
    padding: 5px 0 0 0;
}

.tb-fac .banner, .tb-fac .fill  {
    border-radius: 30px;
}


/*blog*/
.tb-blog-hot .post-title a {
	font-size: 18px;
    line-height: 24px;
    color: var(--thanhba-primary-color);
}
.tb-blog-hot .box-text {
	padding: 20px 40px;
}
.tb-blog-base .post-title a {
	font-size: 15px;
    line-height: 20px;
    color: var(--thanhba-primary-color);
}
.tb-blog .post-meta {
	font-size: 13px;
	color: var(--thanhba-text-color);
	opacity: unset;
}
.tb-blog .col {
    padding-bottom: 5px;
}



/* footer */
.tb-footer {
	padding-top: 80px;
}
.tb-footer-left h2 {
	font-size: 32px;
    line-height: 42px;
}
.tb-footer-left h4 {
	font-size: 16px;
    line-height: 26px;
    color: var(--thanhba-primary-color);
    margin: 15px 0;
}
.tb-footer-left p a, .tb-footer-left p {
	color: #031b4e;
	padding: 0 0 5px 0;
    line-height: 26px;
    margin-bottom: 5px;
    font-size: 15px;
}
.tb-copyright {
	border-top: 1px solid #031b4e;
	padding: 30px 0;
}
.absolute-footer {
	background: #fff;
    color: #031b4e;
}
.tb-footer-right {
	color: #031b4e;
	font-size: 16px;
	line-height: 28px;
}



/* header */
.header .nav-left > li > a {
	font-size: 14px;
	color: var(--thanhba-text-color);
	margin: 0 8px;
}
.tb-emer h3 {
    font-size: 12px;
    line-height: 1;
    font-weight: normal;
    text-transform: uppercase;
    margin-bottom: 3px;
    font-weight: bold;
    color: var(--thanhba-text-color);
}
.tb-emer p {
    font-weight: bold;
    font-size: 14px;
    color: var(--thanhba-primary-color);
    letter-spacing: -0.1px;
}
.tb-emer .icon-box-img img {
    padding-top: unset;
}
.nav-right {
    flex-flow: unset;
}

.nav-dropdown-has-arrow li.has-dropdown:after, .nav-dropdown-has-arrow li.has-dropdown:before {
    content: unset;
    border: none;
}
.nav-dropdown>li.nav-dropdown-col {
    display:block
}
.menu-item .nav-dropdown {
    border:1px solid #ddd; 
    padding:0
}
.nav-dropdown .nav-dropdown-col>a, .nav-dropdown li a { 
    font-weight: bold !important;
    font-size: 14px;
    color: var(--thanhba-text-color);
    letter-spacing: -0.1px;
    text-transform: uppercase !important;
}

.nav-dropdown-default>li:hover>a, .nav-dropdown .nav-dropdown-col>ul li:hover>a {
    color:#0c4da1;
} 

.nav-dropdown-default>li>a {
    border-bottom:0 !important;
    color: #333;
    margin: 5px 15px !important;
}
.nav-dropdown-has-arrow li.has-dropdown:before {
    border-width: 10px;
    margin-left: -10px;
    opacity: 1;
    left: unset;
}
.nav-dropdown .nav-dropdown-col>ul {
    border: 1px solid #d2d2d2;
    margin-top:-40px;
    background: #fff;
    display:none;
    position: absolute;
    left: 100%;
    z-index: 9;
    min-width: 240px;
}
.nav-dropdown>li.nav-dropdown-col {
    width:100%;
    border-right:0
}
.nav-dropdown .nav-dropdown-col>ul li a {
    padding:10px;
    color: #333;
    white-space: break-spaces;
}
.header-nav li.nav-dropdown-col:hover >ul {
    display:block !important
}
.nav-dropdown .menu-item-has-children>a, .nav-dropdown .title>a, .nav-dropdown .nav-dropdown-col>a {
    text-transform: unset;
    font-weight: normal;
}
.nav-dropdown-has-border .nav-dropdown {
    border: none;
    box-shadow: none;
}


/*slide bar */
.tb-slidebar, .tb-slidebar-2 {
    background: var(--thanhba-white-color);
    border-radius: 30px;
    padding: 20px !important;
}
.tb-slidebar .page-col:not(:last-child) {
    border-bottom: 1px solid #031b4e1a;
}
.tb-slidebar .box-text-inner p {
    display: none;
}
.tb-slidebar .page-col.col {
    padding: 16px 20px;
}
.tb-slidebar .box-text {
    padding: unset;
}
.tb-slidebar .box-text-inner h3 {
    text-transform: uppercase;
    font-size: 14px;
}
.tb-slidebar .box-text-inner img {
    width: 50px;
    height: 50px;
    position: absolute;
    right: 0;
    top: -15px;
}
.tb-slidebar-2 .box-image img {
    border-radius: 20px;
}
.tb-slidebar-2 .post-title {
    font-size: 14px;
}
.tb-slidebar-2 .col {
    padding: 5px 10px;
}



/* trang con blog */
.blog-wrapper figure img, .page-wrapper figure img {
    margin: auto;
    display: block;
}
.page-wrapper figcaption {
    text-align: center;
    font-size: .9em;
}
.blog-wrapper, .page-wrapper {
    text-align: justify;
}
.blog-archive img {
    border-radius: 30px;
}



@media only screen and (max-width: 768px) {


  

}