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

/*************** ADD CUSTOM CSS HERE.   ***************/


.header-bottom {
  position: fixed;
  width: 250px;
  left: 20px;
  height: max-content;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}
.post-sidebar .col {
  padding: 0.25em 0px;
}
.menu-main-menu-container,
.header-vertical-menu {
  background: #323189;
  width: 250px;
  height: auto;
  visibility: visible;
  opacity: 1;
}
.header-vertical-menu .logo {
  background: #fff;
  width: 100% !important;
  display: block;
  margin: 0 auto;
}
.header-vertical-menu .logo img {
  text-align: center;
  margin: 0 auto;
  padding: 5px;
}
.header-vertical-menu__opener {
  display: none;
}
.nav-vertical-fly-out > li  {
  border-bottom: 1px solid #28276e;
}
.nav-vertical-fly-out > li + li {
  border-bottom: 1px solid #28276e;
  color: #fff;
  text-align: center;
  border-top: 0px !important 
}
.header-vertical-menu .social-icons {
  display: flex;
  padding: 10px;
}
.nav-vertical-fly-out ul.sub-menu li a{
color:#111;
}
.header-vertical-menu__fly-out .nav-vertical-fly-out>li.menu-item>a>i.icon-angle-down{
position: absolute;
right:20px;
top: 50%;
bottom: 50%
}
.header-vertical-menu .social-icons,
.nav-vertical-fly-out > li > a,
.nav-vertical-fly-out > li + li a {
  color: #fff;
  font-weight: 600;
  text-align: center !important;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}
.header-search-form-wrapper {
  padding: 10px;
}
.header-search-form-wrapper .search-field {
  background-color: #fff !important;
  /* padding: 10px; */
  border-radius: 5px !important;
}
.nav-vertical-fly-out > li a {
  position: relative;
}
.nav-vertical-fly-out > li > a:hover {
  color: #fff;
  
}
.nav-vertical-fly-out > li.active,
.nav-vertical-fly-out > li:hover{
      background: #2e2c7d;
}
.nav-vertical-fly-out > li:hover > a:after,
.nav-vertical-fly-out > li.active > a:after {
  border-bottom: 2px solid #cd2c38;
  bottom: 0;
  width: 50px;
  content: "";
  right: 0;
  left: 0;
  margin: auto;
  position: absolute;
}
.header-vertical-menu__fly-out {
  position: relative;
  box-shadow: none !important;
  opacity: 1 !important;
}

#main .col .row {
  margin-left: 0px;
}
.post-sidebar {
  background: #eee;
  padding: 20px !important;
}
.post-sidebar h3 {
  color: #2e3191;
  text-align: left;
  border: none;
  border-left: 8px solid #0075bd;
  padding: 0px 0 0px 10px;
  font-weight: 500;
}
.entry-content p {
  text-align: justify;
}
.flickity-button-icon {
  background: #fff;
  border-radius: 3px;
}
.flickity-prev-next-button.previous {
  left: 5px;
  opacity: 1;
}
.flickity-prev-next-button.next {
  right: 5px;
  opacity: 1;
}

#main .row .col-inner .row {
  margin-left: 0px;
}
.tin-tuc-bg .section-bg {
  background: top center no-repeat;
  background-size: contain !important;
}
.bg-gioi-thieu .section-bg {
  background: top left no-repeat;
  background-size: 30% !important;
  float: left;
}
.dark .section-title-normal,
.dark .section-title-normal span {
  border: none;
}
.width-20 .large-3 {
  flex-basis: 20%;
  max-width: 20%;
}
.gioi-thieu-service .col-inner {
  background: #cdcfe5;
  padding: 10px 0 10px;
  text-align: center;
  margin-right: 2%;
  min-height: 170px;
  -moz-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  position: relative;
  padding: 10px;
}
.gioi-thieu-service .col-inner:hover:before {
  top: 50%;
  bottom: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.gioi-thieu-service .col-inner:after,
.gioi-thieu-service .col-inner:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  -webkit-transition: all 0.6s ease-in-out;
  transition: all 0.6s ease-in-out;
  -moz-transition: all 0.6s ease-in-out;
  -ms-transition: all 0.6s ease-in-out;
  -o-transition: all 0.6s ease-in-out;
}
.gioi-thieu-service .col-inner:hover:after {
  right: 50%;
  left: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.gioi-thieu-box p {
  font-size: 0.9em;
}
.gioi-thieu-box h4 {
  font-size: 1em;
  margin-bottom: 0px;
}
.page-wrapper {
  padding-bottom: 30px;
  padding-top: 0px;
}
.post-sidebar .box-vertical .box-text {
  padding-left: 1em;
  padding-right: 0px;
}
.post-sidebar a {
  font-weight: 400;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* number of lines to show */
  line-clamp: 3;
  -webkit-box-orient: vertical;
  color: #2e3191;
}
.entry-header .is-divider,
.absolute-footer,
.box-text-inner .is-divider {
  display: none;
}
.feature .box-text-bottom .box-text {
  width: 100%;
  background: url(./images/bg-top.png) top left no-repeat;
  position: absolute;
  bottom: 0;
  padding: 50px 20px 20px;
  font-size: 18px;
  text-transform: uppercase;
  -moz-transition: all 0.5s ease;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  text-align: left;
}
.feature .box-text-bottom:hover .box-text {
  padding-bottom: 50px;
}
.ux-logo {
  padding: 10px !important;
}
.ux-logo .ux-logo-link {
  border: 1px solid #eee;
  text-align: center;
  padding: 20px !important;
}
.nav > li > a > i.icon-menu {
  color: #111;
}
.nav-sidebar.nav-vertical > li + li {
  border-top: 0px solid #ececec;
}
.brearcumb-block {
  background: #eee;
  margin-bottom: 2em;
  padding: 0.25em 0px;
}
.brearcumb-block p {
  margin-bottom: 0em;
}
blockquote,
dl,
figure,
form,
ol,
p,
pre,
ul {
  margin-bottom: 0.5em;
}
li.lang-item img {
  display: none !important; /* Hide default Polylang flags */
}

li.lang-item a {
  display: inline-block;
  width: 34px; /* Adjust as needed */
  height: 26px;
  background-size: cover;
  background-repeat: no-repeat;
  margin: 3px 3px;
}
li.lang-item a[hreflang*="vi"] {
  background-image: url("./images/vn.svg"); 
}

li.lang-item a[hreflang*="us"] {
  background-image: url("./images/gb.svg");
}

li.lang-item a[hreflang*="cn"] {
  background-image: url("./images/china-flag-icon.png"); 
}
.header-vertical-menu__fly-out .nav-vertical-fly-out > li.menu-item {
    background: #323189;
    visibility: visible;
}
.header-nav-main #gt_float_wrapper{
  display: none
}
@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
}
@media screen and (max-width: 960px) {
  #main .row {
    margin-left: 0px;
  }
  .header-main li.html.custom,
  .header-main {
    display: block;
    background: #fff;
  }
  .header-main li.html.custom a {
    color: #ea2d2e;
    font-size: 1.2em;
    font-weight: 600;
  }
}
@media screen and (max-width: 960px) {
  .width-20 .medium-4 {
    flex-basis: 33.3333333333%;
    max-width: 33.3333333333%;
  }
}
@media screen and (max-width: 550px) {
  .width-20 .medium-4 {
    flex-basis: 50%;
    max-width: 50%;
  }
}
