/*
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.   ***************/
/*header*/
body, h1, h2, h3, h4, h5, h6, .heading-font, .banner h1, .banner h2 {
	 font-family: "Roboto", Helvetica, Arial, sans-serif !important;
}
.header-main .nav>li>a {
    font-size: 14px;
    text-transform: uppercase;
}
#header .header-search-form-wrapper .search-field {
    border-radius: 5px !important;
    background-color: #fdd869 !important;
}
#header .header-search-form-wrapper .search-field::placeholder {
    color: #000000;
}
.icon-search:before {
    color: #000000;
}
/*section dịch vụ*/
.title-gioithieu {
    padding-left: 15px;
    margin-bottom: 30px;
    border-left: 1px solid #000;
}
.title-gioithieu p {
    font-size: 24px;
    margin-bottom: 0;
}
a.button.primary.is-link.btn-xemthem span {
    background: #008000;
    color: #ffffff;
    padding: 7px 45px 7px 20px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 15px;
}
.title-gioithieu h2 {
    text-transform: uppercase;
    font-size: 35px;
}
.title-gioithieu h2 span {
    color: #008000;
}
.sec-gt p {
    font-size: 15px;
}
.sec-gt .banner-bg.fill {
    border-radius: 5px;
}
a.button.primary.is-link.btn-xemthem span:after {
    content: '\f0a9';
    font-family: 'Font Awesome 6 Pro';
    position: absolute;
    right: 15px;
    font-size: 24px;
    top: 0;
    background: #008000;
    font-weight: bold;
    border-radius: 0px 50px 50px 0px;
}
/* css button video */
a.button.open-video.icon.circle.is-outline.is-xlarge {
    background: #C62127;
    color: #fff;
    border: 2px solid #C62127;
}
a.button.open-video.icon.circle.is-outline.is-xlarge:before {
    content: '';
    display: inline-block;
    position: absolute;
    top: -2px;
    left: -2px;
    bottom: -2px;
    right: -2px;
    border-radius: inherit;
    border: 1px solid #C62127;
    -webkit-animation: btnIconRipple 2s cubic-bezier(0.23, 1, 0.32, 1) both infinite;
    animation: btnIconRipple 2s cubic-bezier(0.23, 1, 0.32, 1) both infinite;
    border-color: #C62127;
}
@keyframes btnIconRipple {
  0% {
      border-width: 4px;
      transform: scale(1);
  }
  80% {
      border-width: 1px;
      transform: scale(1.85);
  }
  100% {
      opacity: 0;
  }
}
a.button.open-video.icon.circle.is-outline.is-xlarge:after {
    content: '';
    display: inline-block;
    position: absolute;
    top: -2px;
    left: -2px;
    bottom: -2px;
    right: -2px;
    border-radius: inherit;
    border: 1px solid #C62127;
    -webkit-animation: btnIconRipples 2s infinite ease-in-out;
    animation: btnIconRipples 2s infinite ease-in-out;
    border-color: #C62127;
}
@keyframes btnIconRipples {
  0% {
      border-width: 4px;
      transform: scale(1);
  }
  80% {
      border-width: 1px;
      transform: scale(1.45);
  }
  100% {
      opacity: 0;
  }
}
.section-title-normal span {
    margin-right: 15px;
    padding-bottom: 0px;
    border-bottom: transparent;
    margin-bottom: -2px;
}
 h3.section-title-normal{
    background: #F4F4F4;
 }
h3.section-title .section-title-main{
    float: left;
    text-align: left;
    padding-left: 10px;
    line-height: 46px;
    font-size: 17px;
    text-transform: capitalize;
    letter-spacing: 0;
    font-weight: 500;
    color: #fff;
    background: #DA1919;
}
h3.section-title .section-title-main:after{
    content: '';
    display: inline;
    float: right;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 46px 25px;
    border-color: #f4f4f4 transparent #f4f4f4 transparent;
}
.sec-dv .section-title-container {
    margin-bottom: 0;
}
.both-class {
    display: flex;
}
.date-outside {
    margin-right: 10px;
}
.date-outside, .view-outside {
    font-size: 13px;
    color: #888;
}
.date-outside:before {
    content: '\f073';
    font-family: 'Font Awesome 6 Pro';
}
.view-outside:before {
    content: '\f06e';
    font-family: 'Font Awesome 6 Pro';
    font-weight: bold;
}
.both-class {
    margin-top: 5px;
    display: flex;
}
.noi-bat h2 {
    margin-bottom: 0;
    font-size: 35px;
    font-weight: 500;
    text-transform: uppercase;
}
.blog-col-5 a.plain {
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 20px;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.sec-post button.flickity-button.flickity-prev-next-button.previous, .sec-post button.flickity-button.flickity-prev-next-button.next {
    display: none;
}
.flickity-page-dots .dot.is-selected {
    width: 20px;
    background: #DA1919;
    border-radius: 5px;
}
.row-post {
    position: relative;
    padding: 25px 10px;
    background-color: rgba(255, 255, 255, .8);
    box-shadow: 0 0 50px rgba(0, 0, 0, .2);
}
.blog-col-5 .col.post-item:nth-child(1) .col-inner, .blog-col-5 .col.post-item:nth-child(3) .col-inner, .blog-col-5 .col.post-item:nth-child(2) .col-inner   {
    border-bottom: 1px solid #e8e8e8;
}
.blog-col-5 .col.post-item:nth-child(3) .col-inner, .blog-col-5 .col.post-item:nth-child(2) .col-inner {
    padding-bottom: 10px;
    padding-top: 10px;
}
.blog-col-5 .col.post-item:nth-child(1) .col-inner {
	padding-bottom: 10px;
}
.blog-col-5 .col.post-item {
    padding-bottom: 0;
}
.sec-lh iframe, .sec-footer iframe {
    padding: 3px;
    -webkit-box-shadow: 0 0 3px #fff;
    box-shadow: 0 0 3px #fff;
    margin-top: 10px;
}
.form-tuvan h3, .form-tuvan p {
    color: #ffffff;
    font-weight: 500;
    text-align: center;
}
.form-tuvan h3 {
	margin-bottom: 0;
}
p.p-yc {
    margin-bottom: 15px;
}
.form-tuvan input::placeholder, .form-tuvan select, .form-tuvan textarea::placeholder {
    color: #ffffff;
}
.form-tuvan input, .form-tuvan select, .form-tuvan textarea {
    background: unset !important;
    border: unset;
    border-bottom: 1px solid #cdcdcd;
    color: #ffffff !important;
}
.form-tuvan option {
    color: #333;
}
.sec-footer p {
    margin-bottom: 10px;
    font-size: 15px;
}
.sec-footer h3 {
    font-size: 18px;
    text-transform: uppercase;
}
.sec-footer a {
    font-size: 15px;
}
.mfp-close-btn-in .mfp-close {
    color: #333;
    opacity: 1;
    mix-blend-mode: normal;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border-radius: 100%;
}
.large-12.col-thongtin {
    display: inline-block;
}
.ngaydang, .luot-xem, .chuyenmuc {
    color: #808080;
    font-size: 14px;
    margin-right: 12px;
}
span.chuyenmuc a {
    color: #808080;
}
span.chuyenmuc a:hover {
    color: #0092ff;
}
.ngaydang:before, .luot-xem:before, .chuyenmuc:before {
	font-family: 'Font Awesome 6 Pro';
}
.ngaydang:before {
    content: '\f4ff';
	font-weight: bold;
}
.chuyenmuc:before {
    content: '\f07c';
}
.luot-xem:before {
    content: '\f06e';
    font-weight: bold;
}
.single-page p:nth-child(1) {
    color: #5f9025;
    font-size: 15px;
    border: 1px solid #b3dc82;
    line-height: 1.334em;
    padding: 20px;
    margin-bottom: 20px;
    text-align: justify;
    border-radius: 5px;
    background-color: #EBF6E0;
}
.entry-content {
    padding-bottom: 1.5em;
    padding-top: 0.5em;
}
.article-inner h2 {
    border-left: 4px solid #0092ff;
    padding-left: 10px;
    color: #0092ff;
}
.article-inner a {
    color: #0092ff;
}
.blog-single {
    padding-top: 15px;
    padding-bottom: 15px;
    background: #f4f4f4;
}
.single-post #content .row {
    background: #fff;
    border-radius: 4px;
    border: 1px solid #e4e4e4;
    padding-top: 20px;
}
.wp-caption .wp-caption-text {
    color: #7d7d7d;
    background: #fff;
}
.blog-single .entry-content img {
    border-radius: 10px;
    box-shadow: 2px 2px 30px #0000003d;
}
.article-inner p {
    font-size: 15.5px;
    line-height: 27px;
    margin-bottom: 15px;
}
.article-inner li {
    font-size: 15.5px;
}
.article-inner h3 {
    color: #DA1919;
}
/*divider*/
.is-divider {
    background-image: linear-gradient(to right, #c97810, #feea75);
    margin: 5px 0 1em;
}
.box-blog-post .is-divider, .blog-single .is-divider {
    display: none;
}
/*section giới thiệu*/
.sec-gt .icon-box h3 {
    margin-bottom: 5px;
}
.sec-gt .icon-box p {
    font-size: 14px;
    margin-bottom: 5px;
}
.sec-gt img, .sec-contact img {
    border-radius: 5px;
}
/*post*/
.xem-them .tieu-de-xem-them {
    border-left: 4px solid #0092ff;
    padding-left: 10px;
    color: #0092ff;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
    font-size: 19px;
}
.xem-them {
    background: #daefff;
    padding: 10px;
    border: 1px dashed #0092ff;
    border-radius: 3px;
}
.xem-them ul {
	margin-bottom: 0;
}
.xem-them ul li {
    margin-bottom: 3px;
	color: #4267b2;
    border-top: 1px dashed #c7e7ff;
    margin-left: 20px;
    font-size: 13px;
    padding: 5px 0px;
}
.xem-them ul li a {
    font-weight: 500;
    font-size: 15px;
    color: #0070c3;
}
.xem-them ul li a:hover {
    text-decoration: underline;
}
.blog-single .entry-meta {
    text-transform: none;
    font-size: 14px;
    letter-spacing: 0;
    color: gray;
    border-top: 1px solid #e2e2e2;
    border-bottom: 1px solid #e2e2e2;
    padding: 10px;
    background: #f9f9f9;
}
.danh-muc {
    margin-bottom: 15px;
}
.danh-muc span.title, .the-tim-kiem span.title {
    border-radius: 4px;
    background: #126e32;
    padding: 4px 10px;
    color: white;
    margin-right: 5px;
}
.danh-muc a, .the-tim-kiem a {line-height:32px;
    border-radius: 4px;
    margin-bottom: 10px;
    padding: 4px 10px;
    background: #dedede;
    color: #464646;
}
.danh-muc a:hover, .the-tim-kiem a:hover {
    background: #6dca19;
    color: white;
}
.bai-viet-lien-quan {
    margin-top: 15px;
}
.bai-viet-lien-quan h3 {
    border-left: 4px solid #0092ff;
    padding-left: 10px;
    color: #0092ff;
    font-weight: 600;
    font-size: 19px;
}
.bai-viet-lien-quan ul {
    margin-bottom: 0;
    display: inline-block;
    width: 100%;
}
.bai-viet-lien-quan ul li {
    list-style: none;
    width: 25%;
    color: graytext;
    float: left;
    padding-left: 4px;
    padding-right: 5px;
}
.bai-viet-lien-quan ul li .box-image img {
    height: 180px;
    border-radius: 4px;
    object-fit: cover;
    object-position: center;
}
.bai-viet-lien-quan h4 {
    font-size: 15px;
    color: black;
    line-height: 19px;
    padding-top: 7px;
    height: 64px;
    overflow: hidden;
}





@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	.blog-col-5 .box-vertical .box-image {
		width: 35% !important;
	}
	.blog-col-5 .box-list-view .box .box-image, .box-list-view .box .box-text, .box-vertical .box-image, .box-vertical .box-text {
		direction: ltr !important;
		display: table-cell !important;
		vertical-align: middle !important;
	}
	.blog-col-5 .box-text.text-left {
    padding-left: 10px;
}
	.icon-angle-down:before {
    content: '\2b';
}
	div#main-menu a {
    font-size: 15px;
    color: #333;
}
	.off-canvas-left .mfp-content {
    width: 350px;
}
	.off-canvas .nav-vertical li li>a {
    padding-bottom: 10px;
    padding-top: 10px;
    border-bottom: 1px dashed #d9d9d9;
}
	h3 {
    font-size: 1.25em;
}
  h4 {
    font-size: 1.125em;
}
	h2 {
    font-size: 1.35em;
}
	.bai-viet-lien-quan ul li {
    width: 50%;
}
.bai-viet-lien-quan ul li .box-image img {
    height: 90px;
}
}