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

/*************** ADD CUSTOM CSS HERE.   ***************/
@font-face {

    font-family: 'utm_avo';ss
    src: url('fonts/UTM Avo.eot');
    src: local('â˜º'), url('fonts/UTM Avo.woff') format('woff'),
                     url('fonts/UTM Avo.ttf') format('truetype'),
                     url('fonts/UTM Avo.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'UTMAvoBold';
    font-style: normal;
    font-weight: normal;
    src: local('UTMAvoBold'), url('fonts/utm-avobold.woff') format('woff');
}
body{font-family:  utm_avo !important }
.nav > li > a {font-family: utm_avo !important}
h1,h2,h3,h4,h5,h6, .heading-font{font-family: utm_avo !important}
.alt-font{font-family: utm_avo !important}
th:first-child, td:first-child {
    padding-left: 10px;
}
.section-text h2, .section-text h3,.section-text h4{
    color: #007D02 !important;
}
.section-chuyen .box h3{
       -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    text-transform: uppercase;
    font-size: 50px;
    margin-top: 30px;
        opacity: 1;
}
.section-chuyen .box h4{
    font-size:25px;
}
.section-chuyen .box:hover h3{
    opacity: 0;
        -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}
.section-chuyen .box:hover .div-text-dinh-cu{
    opacity: 1;
    filter: alpha(opacity=100);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.section-chuyen .box-text {
     -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
  
    filter: alpha(opacity=0);
    width: 100%;
    text-align: center;
    position: absolute;
    z-index: 10;
    top: 50%;
    left: 50%;
  filter: alpha(opacity=100);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.section-chuyen .box-text .div-text-dinh-cu {
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    opacity: 0;
    filter: alpha(opacity=0);
    width: 100%;
    text-align: center;
    position: absolute;
    z-index: 10;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, 100%);
    -ms-transform: translate(-50%, 100%);
    -o-transform: translate(-50%, 100%);
    transform: translate(-50%, 100%);
}
.h3-footer {
    text-transform: uppercase;
}
.section-dang-ky p{
    margin-bottom:0px;
}
.div-nut-dang-ky  a{
    margin-top:20px;
}
.footer-1{
  background-image: url('images/bg-pattern-2.jpg');
}
.div-no-padding{
    padding-bottom: 0px !important;
}
.section-tin-tuc .post-title{
    min-height: 42px
}
.section-tin-tuc .from_the_blog_excerpt {
    min-height: 92px;
}
input, textarea, .row-form select, .row-form fieldset {
    font-weight: normal;
    margin-bottom: 1em;
}
input[type='email'], input[type='search'], input[type='number'], input[type='url'], input[type='tel'], input[type='text'], textarea{
    font-weight: normal;
}
.row-form{
    margin-left: 0px !important;
    margin-right: 0px !important;
}
.row-form div{
    padding-left: 5px;
    padding-right: 5px;
}
.section-quy-trinh{
    padding-top: 0px !important
}
.row-quy-trinh .col .col-inner{
    padding-bottom: 27px;
}
.quytrinh-1{
    border-bottom: 4px solid  #E23A59;
}
.quytrinh-2{
    border-bottom: 4px solid  #037E05;
}
.quytrinh-3{
    border-bottom: 4px solid  #FCC82B;
}
.quytrinh-4{
    border-bottom: 4px solid  #45AEAE;
}
.stt-1{
background: #E23A59;
}
.sott-2{
background: #037E05;
}
.sott-3{
background: #FCC82B;
}
.sott-4{
background: #45AEAE;
}
.entry-content{
    padding-top: 0px;
}
.accordion-item i[class^="icon-"], .accordion-item i[class*=" icon-"] {
    font-family: FontAwesome !important;
    color: #aeb5c0;
    font-size: 16px;
}
.accordion-item .active .icon-angle-down:before {
    content: "\f068";
}
.accordion-item .icon-angle-down:before {
    content: "\f067";
}
.form-lien-he{
    margin-left: 0px;
    margin-right: 0px;
}
.form-lien-he .large-6,.form-lien-he .large-12{
    padding: 0px 10px;
}
.footer .widget-title{
    display: block;
    width: 100%;
 
}
.footer .widget-title:after{
     background-image: url(http://file.hstatic.net/1000219656/file/border.png);
    background-size: 52% 10%;
    display: inline-block;
    height: 20px;
    content: "";
    background-repeat: no-repeat;
    background-position: 0% 50%;
    width: 100%;   
}

.is-divider{
    display: none;
}
.section-vi-sao h3,.section-the-manh h4{
      color: #037E05;
}
.section-tin-tuc button,.section-dich-vu button{
        background: #037E05 !important;
    border: none !important;
    color: white;
}
.box-text .header-title{
       color: #037E05;
}
.p-dem{
    font-size: 70px;
    font-weight: bold;
    margin-bottom: 10px;
}
.section-quy-trinh .icon-box{
    padding: 16px;
}
.section-quy-trinh .icon-box p{
    font-size: 12px;
    font-weight: bold;
}
.so-ttt{
        font-weight: bold;
    margin-bottom: 0px;
    font-size: 60px;
    color: white;
}
.section-chuyen .icon-box-text h3{
        color: #FCC82B;
}
.tieu-de-home{
        margin-bottom: 30px;
    color: #037E05;
    font-size: 28px;
    text-transform: uppercase;
}

/*Màu sắc button*/
.social-button, .social-icons .button.icon:not(.is-outline), .social-icons .button.icon:hover {
    background-color: currentColor !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: black !important;
    border-color: black !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;
}
.row-form h3{
    color: #037E05;
}
#dau-tu h3{
    text-align: center;
}
.single-date{
        border-bottom: 1px dashed #ededed;
}
.div-dang-ky{
    text-align: center;
}
h1.entry-title{
    font-size: 24px ;
}
/*Kết thúc màu sắc*/

.page-title-inner h1{
    font-size:35px !important;
}
p.call-text{
        font-family: arial;
    font-size: 21px !important;
    font-weight: bold !important; 
}
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: 769px){
    .p-dem {
    font-size: 30px !important;}
    .tieu-de-home{
        font-size: 18px !important;
        margin-bottom: 0px !important
    }
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
}
/*dat nuoc latvia*/
/* Khi cuộn xuống 400px, button biến mất */
/* Khi cuộn xuống 400px, button biến mất */
@media (min-height: 400px) {
    .but-dlvh {
        opacity: 0;
        pointer-events: none;
    }
}

/*====================lien he=================================*/

.float-contact {
  position: fixed;
  bottom: 60px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

.contact-item {
  display: flex;
  align-items: center;
  background: #eee;
  color: #000;
  padding: 10px 14px;
  border-radius: 30px;
  width: 45px;
  overflow: hidden;
  white-space: nowrap;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
  transform-origin: left center;
}

.contact-item i {
  margin-right: 8px;
  min-width: 20px;
  text-align: center;
  font-size: 16px;
}

.chat-zalo { background: #82d81e; color: white; }
.chat-face { background: #1877f2; color: white; }
.hotline {
  background: #d72638;
  color: white;
  width: 55px;
}

.contact-item span {
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* Desktop hover */
@media (hover: hover) {
  .contact-item:hover {
    width: auto;
    max-width: 220px;
    padding-right: 16px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1);
  }

  .contact-item:hover span {
    opacity: 1;
  }
}

/* Mobile click behavior */
@media (max-width: 767px) {
  .contact-item {
    width: 45px;
    overflow: hidden;
    border-radius: 999px;
    transition: all 0.3s ease;
    box-shadow: none;
    filter: none;
  }

  .contact-item span {
    opacity: 0;
  }

  .contact-item.active {
    width: auto;
    max-width: 90vw;.related-post {
    margin-top: 30px;
    margin-bottom: 20px;
}

.related-post h7 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.duong-line {
    width: 50px;
    height: 3px;
    background-color: #0073aa;
    margin-bottom: 20px;
}

.related-post .row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.related-post .post-item {
    flex: 1 1 calc(33% - 20px);
    box-shadow: 0 2px 6px rgb(0 0 0 / 0.1);
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.3s ease;
}

.related-post .post-item:hover {
    box-shadow: 0 5px 15px rgb(0 0 0 / 0.15);
}

.related-post .post-item .box-image {
    position: relative;
    overflow: hidden;
}

.related-post .post-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.related-post .post-title {
    font-size: 16px;
    font-weight: 700;
    margin: 10px 15px;
    color: #0073aa;
    text-align: center;
}

.related-post .post-meta {
    text-align: center;
    font-size: 13px;
    color: #777;
    margin-bottom: 15px;
}

    padding-right: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
  }

  .contact-item.active span {
    opacity: 1;
  }
}

/*hien thi chuyen muc cua bai viet*/
.related-post {
    margin-top: 30px;
    margin-bottom: 20px;
}

.related-post h7 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.duong-line {
    width: 50px;
    height: 3px;
    background-color: #0073aa;
    margin-bottom: 20px;
}

.related-post .row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.related-post .post-item {
    flex: 1 1 calc(33% - 20px);
    box-shadow: 0 2px 6px rgb(0 0 0 / 0.1);
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.3s ease;
}

.related-post .post-item:hover {
    box-shadow: 0 5px 15px rgb(0 0 0 / 0.15);
}

.related-post .post-item .box-image {
    position: relative;
    overflow: hidden;
}

.related-post .post-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.related-post .post-title {
    font-size: 16px;
    font-weight: 700;
    margin: 10px 15px;
    color: #0073aa;
    text-align: center;
}

.related-post .post-meta {
    text-align: center;
    font-size: 13px;
    color: #777;
    margin-bottom: 15px;
}

/*=============hien thi chuyen muc + bai viet lien quan===================*/


.entry-categories-block {
    background: #eaf7ff;
    border: 1.5px solid #1fa6d4;
    border-radius: 20px;
    box-shadow: 0 2px 14px 0 rgba(31,166,212,0.10);
    padding: 22px 28px 16px 28px;
    margin: 22px 0 35px 0;
    max-width: 920px;
    font-size: 22px;
}
.cat-current {
    background: #fff;
    color: #1fa6d4 !important;
    border: 1px solid #1fa6d4;
    font-weight: bold;
    transition: box-shadow 0.4s, background 0.4s;
}
.cat-other {
    background:  #fff;
    color: #888 !important;
    border: 1px solid #bbb;
    transition: box-shadow 0.22s, background 0.18s, color 0.18s;
    vertical-align: middle;
    cursor: pointer;
}
.cat-current a,
.cat-other a { color: inherit; }
.cat-current:hover, .cat-other:hover {
    box-shadow: 0 2px 16px 0 rgba(0, 160, 255, 0.14), 0 1.5px 10px 0 rgba(0,0,0,0.07);
    background: #fff;
    color: #fff !important;
    transform: translateY(-4px) scale(2.5);
}

/* --- KHUNG BÀI VIẾT GỢI Ý DÀNH CHO BẠN --- */
.suggested-posts {
    background: #fffbe8;
    border: 1.5px solid #ffd95a;
    border-radius: 24px;
    box-shadow: 0 2px 14px 0 rgba(255,196,54,0.13);
    padding: 28px 32px 24px 32px;
    margin: 38px auto 30px auto;
    max-width: 940px;
}
.suggested-posts .row {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.suggested-posts .col {
    width: 100%;
    max-width: 100%;
    min-width: unset;
    margin: 0 auto;
}
}
@media (min-width: 700px) {
    .suggested-posts .row {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 18px;
    }
    .suggested-posts .col {
        flex: 1 1 180px;
        max-width: 22%;
        min-width: 170px;
    }
}

.suggested-posts .col-inner {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px 0 rgba(31,166,212,0.07);
    padding: 20px 12px 12px 12px;
    margin-bottom: 0;
    transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
}
.suggested-posts .col-inner:hover {
    background: #fffae0;
    box-shadow: 0 6px 24px 0 rgba(255,196,54,0.22);
    transform: translateY(-4px) scale(1.03);
}
.suggested-posts .post-title {
    font-size: 18px;
    color: #072b47;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
}
.suggested-posts .post-meta {
    font-size: 15px;
    color: #1fa6d4;
    margin-top: 6px;
}

/* Responsive hien thi cho mobile */
@media (max-width: 600px) {

    /* Chuyên mục block hiển thị dọc và giãn đều */
    .entry-categories-block {
        display: flex;
        flex-direction: column;
        gap: 10px 0;
        padding: 10px 6px 16px 6px !important;
    }

    /* Chuyên mục hiện tại và chuyên mục khác: wrap xuống dòng */
    .cat-current, .cat-other {
        display: flex;
        flex-wrap: wrap;
        gap: 9px 10px;
        margin-top: 3px;
    }
    .cat-current span, .cat-other span {
        margin-bottom: 5px;
        min-width: 90px;
        max-width: 100%;
    }
    .cat-current a, .cat-other a {
        font-size: 16px;
        padding: 7px 17px;
        border-radius: 10px;
        background: #e0f7fa; /* hoặc màu nền bạn muốn, ví dụ #fffbeb cho đồng bộ */
        color: #0073aa;
        display: inline-block;
        white-space: nowrap;
        text-align: center;
        box-shadow: 0 0.5px 2px rgba(0,0,0,0.03);
        transition: background 0.2s;
    }
    .cat-other a {
        background: #f2f2f2;
        color: #444;
    }
    .cat-current a:hover, .cat-other a:hover {
        background: #ccefff;
        color: #0c3863;
    }

    /* Bảng bài viết gợi ý dọc, cách đều */
    .suggested-posts {
        background: #fffbeb;
        border: 1.5px solid #ffd95a;
        border-radius: 26px;
        margin: 20px 0 14px 0;
        padding: 13px 4px 16px 4px;
        box-shadow: 0 2px 7px 0 rgba(66,133,244,0.04);
    }
    .suggested-posts .row {
        display: flex;
        flex-direction: column;
        gap: 14px 0;
        margin-top: 2px;
    }
    .suggested-posts .col-inner {
        padding: 14px 7px 8px 7px;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 1px 8px 0 rgba(60,60,60,0.03);
        margin-bottom: 0;
    }
    .suggested-posts .post-title {
        font-size: 16px;
        font-weight: 500;
        margin-bottom: 4px;
        color: #072b47;
        line-height: 1.38;
    }
    .suggested-posts .post-meta {
        font-size: 14px;
        color: #1fa6d4;
        margin-top: 4px;
    }
}
