/** ALL PAGE **/
body {
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 12px !important;
}
p {
  font-size: 12px !important;
}
/** ALL PAGE **/

/* MENU */
.navbar-container {
  background-color: #42b377 !important;
}
.navbar-d .menu-logo-a img {
  height: auto !important;
  object-fit: cover;
  padding: 6px;
  max-height: 5em;
}
.navbar-d > ul > li {
  top: 10px;
}
.menuAbout {
  box-shadow: 0px 3px 3px rgba(0, 138, 128, 0.2);
  padding: 10px 0;
  background: #ffffff;
}

.menuAbout .mc-menu {
  background: #ffffff;
  font-weight: bold;
  text-transform: uppercase;
  padding: 14px 20px;
  cursor: pointer;
  position: relative;
}

.menuAbout ul {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menuAbout ul li {
  margin-right: 15px;
}

.menuAbout ul li.active a {
  background: #4cb27d;
  color: #ffffff;
}

.menuAbout ul li a:hover {
  color: #008a80;
}

.menuAbout ul li a {
  display: block;
  background: #ffffff;
  border-radius: 15px;
  /* font-size: 14px; */
  line-height: 22px;
  text-transform: uppercase;
  padding: 4px 15px;
}

.menuAbout .mc-menu:before {
  content: "\f0d7";
  font-family: fontAwesome;
  position: absolute;
  right: 20px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  color: #008a80;
}

.single-widget .section-title {
  background: #fff;
  color: #000;
}

/*-------------------------------SEARCH-----------------------------*/
.block-content li.item .product-item-info:hover .product-top {
  border: 2px solid #008a80;
}
.block-content li.item .product-item-info .product-top {
  border: 2px solid #cccccc;
  padding: 5px;
  overflow: hidden;
  position: relative;
  transition: 0.1s linear all;
}
.products-grid .product-item-info:hover .product-item-details {
  background: 000;
}
.products-grid .product-item-info {
  border: none;
}

/* PRODUCT */
.block-title h3,
.relatived-product-title .h3,
.relatived-post-title .h3 {
  font-size: 30px !important;
}
.category-products li.item .product-item-info .product-top:before,
.relatived-product .product-item-info .product-top:before {
  background: none;
}
.category-products li.item .product-item-info .product-top .detail_short *,
.relatived-product .product-item-info .product-top .detail_short * .boxAbout {
  display: none;
}
.product-banner .img_bn .product-title {
  font-size: 55px !important;
}
.relatived-product .product-item-info .product-top .detail_short * {
  display: none;
  border: none;
}
.filterMedicine {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}
.filterMedicine select {
  width: 270px;
  height: 50px;
  background-color: #f8fafd;
  padding-left: 10px;
  border-radius: 5px;
  box-shadow: 0px 3px 3px rgba(0, 138, 128, 0.2);
  border: none;
  margin: 0 15px;
}

.boxAbout .title {
  text-align: center;
  font-size: 25px;
  line-height: 40px;
  font-weight: bold;
  text-transform: uppercase;
  padding-top: 70px;
  color: #4cb27d;
  background: url(../../uploads/icon/gach.png) no-repeat center top;
  margin-bottom: 30px;
}

.wrapper {
  max-width: 1200px;
  padding: 0 15px;
  margin: 0 auto;
}

.the-content {
  max-width: 970px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 26px;
  text-align: justify;
}

.the-content .content {
  margin-bottom: 50px;
}

.desc img {
  max-width: 100%;
  height: auto;
}

.templateCircle {
  margin-bottom: 50px;
  max-width: 768px;
  margin: 0 auto;
  position: relative;
}

.templateCircle:before {
  content: "+";
  width: 190px;
  height: 190px;
  border-radius: 100%;
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
  font-size: 80px;
  line-height: 170px;
  font-weight: bold;
  color: #999999;
  text-align: center;
  z-index: 1;
  background: #ffffff;
  top: 35px;
}

.row {
  margin-right: -15px;
  margin-left: -15px;
}

.templateCircle .item .circle.v1 {
  border-color: #54c6a4;
}

.templateCircle .item .circle {
  width: 270px;
  height: 270px;
  border: solid 10px #333333;
  border-radius: 100%;
  overflow: hidden;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 0 auto;
  margin-bottom: 40px;
}

.templateCircle .item .circle .t1 {
  font-size: 30px;
  line-height: 40px;
  font-weight: bold;
  max-width: 160px;
  margin: 0 auto;
  margin-bottom: 15px;
}

.templateCircle .item .circle .text {
  /* font-size: 15px; */
  line-height: 23px;
  max-width: 160px;
  margin: 0 auto;
}

.the-content .content {
  margin-bottom: 50px;
}

.templateCircle .item .circle.v2 {
  border-color: #008a80;
}

.row:after,
.row:before {
  display: table;
  content: " ";
}

.adsHome .title {
  font-size: 30px;
  line-height: 44px;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 25px;
}
.category .tend a {
  font-size: 30px;
  line-height: 50px;
  text-transform: uppercase;
  font-weight: bold;
  text-align: center;
  display: block;
}
.inventHome .title {
  font-size: 30px;
  line-height: 50px;
  font-weight: bold;
  color: #008a80;
  margin-bottom: 30px;
  padding-top: 2em;
  text-align: center;
}

.container-community {
  /* background-image: url("../../uploads/background/Artboard%209%20QUA%20TRINH.jpg"); */
  padding: 145px 0 115px;
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  animation-delay: 0.3s;
  display: flex;
  justify-content: center;
}

/*.container-community:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #000000;
  opacity: 0.2;
  pointer-events: none;
}*/

@keyframes grow {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.container-community .box {
  display: -webkit-box;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  height: 440px;
  width: 1250px;
}

.container-community .box .item {
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 100%;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex-shrink: 0;
  opacity: 0.99;
  /* Bắt đầu với opacity 0 */
  /* animation: grow 0.8s ease-out forwards; */
  text-align: center;
}

.container-community .box .item:nth-child(odd) {
  align-self: flex-end;
}

.container-community .box .item .num {
  line-height: 60px;
  color: #47b37d !important;
  font-weight: bold;
  max-width: 180px;
}

.container-community .box .item .text {
  font-size: 16px;
  line-height: 24px;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 10px;
  max-width: 180px;
  color: #47b37d;
  text-align: center;
}

.container-community .box .item .des {
  font-size: 13px;
  line-height: 21px;
  color: #6d6d6d;
  max-width: 160px;
  text-align: center;
}
.block-title h3,
.block-title .h3,
.page-title.product-category h2,
.page-title.post-category h2,
.relatived-product-title .h3,
.relatived-post-title .h3 {
  color: #42b377 !important;
}
.dessPartner .title {
  color: #42b377 !important;
}
.menuTab-news,
.slideContent .aw-blog-read-more,
.category-posts li > div > .post-details .postContent a,
.relatived-post-details .post-small-content a,
.contact-wrap .contact-form input[type="submit"] {
  background: #42b377 !important;
}
.slide-title a {
  color: #42b377;
}
/*  */
.box{
  position: relative;
}
.box .line_data {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  pointer-events: none;
}
.box .line_data .line {
  width: 7.5%;
  height: 1px;
  position: absolute;
}
.box .line_data .line span {
  width: 100%;
  height: 1.5px;
  background: #48b37e;
  opacity: 1;
  display: block;
}

.box .line_data .line.v1 {
  top: 50.2%;
  left: 14%;
  transform: rotate(318deg);
}
.box .line_data .line.v2 {
  top: 50.2%;
  left: 31.4%;
  transform: rotate(40deg);
}
.box .line_data .line.v3 {
  top: 50.2%;
  left: 49%;
  transform: rotate(318deg);
}
.box .line_data .line.v4 {
  top: 50.2%;
  left: 66.5%;
  transform: rotate(40deg);
}
.box .line_data .line.v5 {
  top: 50.2%;
  left: 84.4%;
  transform: rotate(318deg);
}
/*-------------------------------------------------------------------------------------------------*/
.owl-history-effect {
  padding: 45px 0 70px;
  background: #f8fafd;
  position: relative;
}

.owl-carousel {
  display: table;
  table-layout: fixed;
  width: 100%;
}

.owl-history-effect:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-bottom: solid 1px #008a80;
}

.owl-history-effect .item {
  padding: 0 15px;
  height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.history {
  padding: 115px 10px;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* position: relative;
  z-index: 1; */
}

.history.top:before,
.history.bottom:before {
  content: "";
  position: absolute;
  height: 40px;
  border-left: dotted 2px #cccccc;
  /* left: 50%; */
  transform: translateX(-50%);
}

.history.top:before {
  bottom: 240px;
}

.history.bottom:before {
  top: 260px;
}

.year {
  height: 80px;
  width: 70px;
  background: #42b377;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-weight: bold;
  color: #ffffff;
  font-size: 14px;
  line-height: 18px;
}

.history .caption {
  position: absolute;
  left: 0;
  right: 0;
  background: #ffffff;
  border: solid 1px #dedede;
  padding: 10px 15px;
  border-radius: 5px;
  text-align: center;
  /* font-size: 15px; */
  line-height: 23px;
  max-height: 200px;
  overflow: hidden;
}
.year {
  font-size: 12px !important;
}
.history.top .caption {
  bottom: 285px;
}

.history.bottom .caption {
  top: 300px;
}

/* Optional custom styles for arrows */
.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next {
  width: 45px;
  background: none;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  border: none;
  /* position: absolute; */
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  transition: all 0.3s linear;
}

.owl-carousel .owl-nav .owl-prev {
  left: -80px;
  background-image: url("../../uploads/icon/back-arrow.png");
}

.owl-carousel .owl-nav .owl-next {
  right: -80px;
  background-image: url("../../uploads/icon/next-arrow.png");
}

/* Adjust item width */
.owl-history-effect .item {
  width: 400px;
}
.owl-theme .owl-nav [class*="owl-"]:hover {
  background: none;
}

/*=========================================FLAG 2=================================================*/
.aboutHistory {
  padding: 45px 0 70px;
  background: #f8fafd;
  position: relative;
}
#slideHistory {
  position: relative;
}

.slick-slider {
  display: table;
  table-layout: fixed;
  width: 100%;
}
#slideHistory:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-bottom: solid 1px #008a80;
}
#slideHistory .slick-prev {
  left: -80px;
  background-image: url(../images/about/i-prev.svg);
}

#slideHistory .slick-arrow {
  width: 45px;
  height: 45px;
  background: none;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  border: none;
  position: absolute;
  top: 50%;
  font-size: 0;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 1;
  -webkit-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  transition: all 0.3s linear;
}

#slideHistory .slick-list {
  margin: 0 -15px;
}

#slideHistory .item {
  padding: 0px 15px;
  height: 390px;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
}
#slideHistory .history {
  padding: 115px 10px;
  height: 390px;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
#slideHistory .history.top:before {
  bottom: 240px;
}

#slideHistory .history:before {
  content: "";
  position: absolute;
  height: 40px;
  border-left: dotted 2px #cccccc;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
}
#slideHistory .history .year {
  height: 70px;
  width: 70px;
  background: #008a80;
  border-radius: 100%;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-weight: bold;
  color: #ffffff;
  font-size: 14px;
  line-height: 18px;
}
#slideHistory .history.top .caption {
  bottom: 290px;
}
#slideHistory .history.bottom:before {
  top: 260px;
}

#slideHistory .history.bottom .caption {
  top: 285px;
}
#slideHistory .history .caption {
  position: absolute;
  left: 0;
  right: 0;
  background: #ffffff;
  border: solid 1px #008a80;
  padding: 10px 15px;
  border-radius: 5px;
}
#slideHistory .history .text {
  text-align: center;
  font-size: 15px;
  line-height: 23px;
  max-height: 69px;
  overflow: hidden;
}
.slick-track:after {
  clear: both;
}
#slideHistory .slick-next {
  right: -80px;
  background-image: url(../images/about/i-next.svg);
}

/* .slick-initialized .slick-slide{
  width: 400px !important;
} */

/*------------------------------------------FLAG 3-----------------------------------------------------*/
.design-giamdoc {
  background: url(../images/about/bg-logo.png) no-repeat center #008a80;
  padding-top: 35px;
  color: #ffffff;
  margin-bottom: 30px;
}

.design-giamdoc .grid {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  margin: 0 -20px;
}

.design-giamdoc .grid .col {
  width: 33.333333%;
  padding: 0 20px;
}

.design-giamdoc .grid .col:nth-child(1) {
  order: 2;
}

.design-giamdoc .avatar {
  text-align: center;
}

.design-giamdoc .grid .col:nth-child(2) {
  order: 1;
}

.design-giamdoc .grid .col:nth-child(3) {
  order: 3;
}

.design-giamdoc .info {
  max-width: 310px;
  padding: 15px 10px;
  text-align: center;
}

.design-giamdoc .info .name {
  font-size: 20px;
  line-height: 32px;
  color: #ffffff;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 10px;
}

.design-giamdoc .info .name a {
  color: inherit;
}

.design-giamdoc .job {
  color: #7bcfc9;
}

.design-giamdoc .slogan {
  font-size: 20px;
  line-height: 29px;
  font-weight: bold;
  margin-bottom: 10px;
  padding-top: 30px;
  background: url(../../uploads/images/per-giamdoc.png) no-repeat top left;
  margin-bottom: 10px;
}

.vnt-human .grid {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: 0 -15px;
  flex-wrap: wrap;
}

.vnt-human .grid .col {
  width: 33.333333%;
  padding: 0 15px;
}

.human {
  margin-bottom: 30px;
  box-shadow: 0px 3px 3px rgba(0, 138, 128, 0.2);
}

.human .img a {
  display: block;
  padding-top: 100%;
  position: relative;
  overflow: hidden;
}

.human .img a img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.human .caption {
  padding: 20px 5px;
  background: #ffffff;
  text-align: center;
}

.human .name {
  font-size: 20px;
  text-transform: uppercase;
  font-weight: bold;
  line-height: 30px;
  color: #008a80;
  white-space: nowrap;
  -ms-text-overflow: ellipsis;
  text-overflow: ellipsis;
  overflow: hidden;
  margin-bottom: 5px;
}

/*------------------------------------------FLAG 4-----------------------------------------------------*/
/* Cấu hình chính cho phần tử grid */
.boxAbout .content .owl-w-effect .item {
  height: 100%;
}
.boxAbout .content .owl-w-effect .item .grid {
  display: flex;
  flex-direction: row-reverse; /* Chữ trái, ảnh phải */
  align-items: stretch;
}

/* Chỉnh độ rộng của các cột */
.boxAbout .content .owl-w-effect .item .grid .col1,
.boxAbout .content .owl-w-effect .item .grid .col2 {
  width: 50%;
}

/* Phần ảnh */
.boxAbout .content .owl-w-effect .item .grid .col1 .img {
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* Phần chữ */
.boxAbout .content .owl-w-effect .item .grid .col2 {
  padding: 65px 0 100px;
  background: url(../../uploads/background/bg-coner.png) no-repeat bottom right
    #008a80;
}

.boxAbout .content .owl-w-effect .item .grid .col2 .wrap {
  max-width: 585px;
  float: right;
  padding: 15px 15px;
  padding-right: 30px;
  min-height: 316px;
}

.boxAbout .content .owl-w-effect .item .grid .col2 .caption {
  /* font-size: 15px; */
  line-height: 23px;
  color: #ffffff;
  text-align: justify;
}

.clear {
  clear: both;
}

/*========================================================================================*/
.inventAbout .des {
  /* font-size: 15px; */
  line-height: 25px;
  text-align: justify;
  text-align: center;
  margin-bottom: 35px;
}

.inventAbout .img {
  text-align: center;
  margin-bottom: 25px;
  max-width: 620px;
  margin: 0 auto;
}

.inventAbout .img .grid {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  margin: 0 -25px;
}

.inventAbout .img .grid .col {
  width: 25%;
  padding: 0 25px;
}

.inventAbout .img img {
  margin-bottom: 1em;
}
.inventHome .description,
.adsHome .des {
  font-size: 12px !important;
}

.designAds .col.v1 .item .num,
.designAds .col.v2 .item .num,
.designAds .col.v3 .item .num,
.designAds .col.v4 .item .num {
  color: #4bde90;
  text-shadow: 3px 4px 4px rgba(82, 82, 82, 0.6);
}
.designAds .item .cont {
  font-weight: 600;
}
.vnt-caption .fTitle {
  font-weight: bolder;
  color: #008a80;
  font-size: 70px;
  text-shadow: 3px 4px 4px rgb(40 40 40);
}
.free-type-wrap.space-base {
  padding-top: 0;
  margin-top: 0;
}
.img_bn img {
  opacity: 1;
}
.img_bn {
  text-shadow: 3px 4px 4px rgb(40 40 40);
}
.vnt-main-top.v-company .vnt-caption {
  top: 250px;
  text-shadow: 3px 4px 4px rgb(40 40 40);
}
.owl-theme .owl-nav.disabled + .owl-dots {
  margin: 0;
}
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  background: #008a80;
}
.item {
  display: inline-block;
}
.company .img a {
  display: block;
  position: relative;
  overflow: hidden;
}
.vnt-partner {
  margin-bottom: 20px;
}

.fc {
  background: #fff;
  border: 1px solid #008a814f;
}

.fc .caption {
  padding: 30px;
  background: #f8fafd;
}

.fc .tend {
  margin-bottom: 10px;
}

.fc .tend a {
  display: block;
  font-size: 20px;
  line-height: 44px;
  color: #42b377;
  font-weight: bold;
  white-space: nowrap;
  -ms-text-overflow: ellipsis;
  text-overflow: ellipsis;
  overflow: hidden;
  text-align: center;
  text-transform: uppercase;
  /* word-wrap: break-word; */
}

.fc .des {
  /* font-size: 15px; */
  line-height: 23px;
  text-align: center;
  height: 46px;
  overflow: hidden;
  margin-bottom: 20px;
}

.fc .link {
  text-align: center;
}

.fc .link a {
  display: inline-block;
  width: 150px;
  color: #ffffff;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 10px;
  background: #42b377;
}
.owl-theme .owl-nav [class*="owl-"] {
  font-size: 0px;
}
.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
  background-color: #008a80;
  border-color: #008a80;
}
.pagination > li > a,
.pagination > li > span {
  color: #008a80;
}
.category-posts li > div:hover .post-details .post-header a {
  color: #008a80;
}
.category-posts li > div:hover .post-details .postContent a,
.fave_relatived_post:hover .relatived-post-details .post-small-content a {
  background: #ff5104;
  color: #fff;
}

/* Popup and search icon*/
.search-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 1);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.popup-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  position: relative;
}

.close-popup {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
  color: #000;
}

#openSearchPopup i {
  cursor: pointer;
  font-size: 20px;
}

.search-icon {
  padding: 10px;
  margin-top: 13px;
}
#openSearchPopup {
  padding: 0;
  background: none;
  border: unset;
  color: #fff;
}

.designAds .item .cont {
  text-transform: uppercase;
}
.designAds .circle {
  background-color: #42b377 !important;
}

/*===================================FACTORY===========================================*/
.fc-box .col-lg-6{
  padding-top:15px;
  padding-bottom:15px;
}



/* FOOTER */
.adsFoot .item .text {
  /* font-size: 15px; */
  line-height: 23px;
  color: #ffffff;
}
.adsFoot {
  background-color: #42b377 !important;
}
.footer-total {
  background-color: #42b377 !important;
}

