/*
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 ***************/

/* #0182F0 */

body {
    font-size: 13px !important;
}

/* SIMPLYSCROLL */

aside.widget .simply-scroll-clip {
    overflow: hidden !important;
    height: 1190px !important;
}

/* Fix 2025 */

.row_tieuchi .col-inner:hover img{
	-webkit-animation-duration: .75s;
    animation-duration: .75s;
    -webkit-animation-duration: calc(var(--animate-duration)*0.75);
    animation-duration: calc(var(--animate-duration)*0.75);
    -webkit-animation-name: bounceIn;
    animation-name: bounceIn
}

#masthead .flex-left ul.nav-left {
    justify-content: center;
}

.title_header_hp{
	text-align:center;
}

.title_header_hp h1{
	color: #C9271C;
    font-size: 25px;
	margin-bottom: 0;
}

.title_header_hp span{
	font-size: 45px;
}

/* TITLE */
.section-title-container,
.blog-single .entry-header {
    margin-bottom: 15px !important;
}
.section-title,
.blog-single .entry-header .entry-header-text {
    border-bottom: 1px solid #C9271C !important;
    margin-bottom: 0 !important;
}
.section-title-main,
.blog-single .entry-header h1 {
    background: #C9271C;
    background: linear-gradient(90deg, #c11206 0%, #ed372b 30%, #df655d 100%);
    color: #fff !important;
    font-size: 14px !important;
    border-bottom: none !important;
    margin-bottom: 0 !important;
    height: 30px !important;
    line-height: 30px !important;
    padding: 0 15px !important;
    border-top-left-radius: 5px !important;
    border-top-right-radius: 5px !important;
}

.blog-single .entry-header .entry-header-text {
    padding-bottom: 0 !important;
}

/* BUTTON */
.Button1 {
    margin-right: 0 !important;
}

/* ************************ LAYOUT */

.page-left-sidebar {
    padding: 0 !important;
}
.page-left-sidebar > .row > .col.large-9 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.page-left-sidebar > .row > .col.large-3 {
    padding-left: 0 !important;
    padding-right: 15px !important;
    border-right: 0 !important;
}

/* page-template-default */
.page-template-default #content > .row > .col {
    padding-bottom: 0 !important;
}

.Ss1 .section-content > .container,
.Ss2 .section-content > .container {
	padding: 0 !important;
}
.Ss1 .section-content > .row {
	max-width: 1189.6px !important;
	width: 1189.6px !important;
	margin-left: -9.8px !important;
	margin-right: -9.8px !important;
}
.Ss2 .section-content > .row {
	max-width: 1200px !important;
	width: 1200px !important;
	margin-left: -15px !important;
	margin-right: -15px !important;
}

/* ************************ HEADER */

#top-bar > .flex-row {
    max-width: 100% !important;
    padding: 0 !important;
}
#top-bar ul.nav > li {
	margin: 0;
	width: 100%;
}
#top-bar marquee {
	font-size: 20px !important;
}

/* #masthead {
    display: none;
} */

#wide-nav {
    background: rgb(2, 119, 41);
    background: linear-gradient(180deg, #fb574c 0% 0%, #e3554c 35%, #db0e00 100%);
    border-radius: 5px !important;
    overflow: hidden !important;
    margin: 5px 0 !important;
}
#wide-nav > .flex-row {
    padding: 0 5px !important;
}
#wide-nav ul.nav > li.menu-item {
    margin: 0 !important;
    position: relative;
}
#wide-nav ul.nav > li.menu-item > a {
    font-size: 12px !important;
    padding: 0 5px !important;
}
#wide-nav ul.nav > li.menu-item::after {
    content: "";
    height: 100%;
    width: 1px;
    position: absolute;
    top: 0;
    right: 0;
    background: rgb(204, 204, 204);
    background: linear-gradient(
        180deg,
        rgba(204, 204, 204, 1) 0%,
        rgba(204, 204, 204, 1) 35%,
        rgba(255, 255, 255, 1) 100%
    );
}

/* header-search-form-wrapper */
.header-search-form-wrapper form {
    border-radius: 5px !important;
    overflow: hidden !important;
}
.header-search-form-wrapper form input,
.header-search-form-wrapper form button {
    height: 30px !important;
}
.header-search-form-wrapper form ::placeholder {
    font-size: 12px !important;
}
.header-search-form-wrapper form input {
    background-color: #e3eaf6;
}
.header-search-form-wrapper form button {
    background-image: linear-gradient(102.1deg, #ff6258 8.7%, #c91002 88.1%);
}

/* ************************ HOME */

/* SECTION */
.home .section {
    padding: 0 !important;
}

/* RowDanhMuc */
.RowDanhMuc {
    margin-top: 10px !important;
}
/* .RowDanhMuc > .col:nth-of-type(1),
.RowDanhMuc > .col:nth-of-type(4) {
    padding-left: 0 !important;
}
.RowDanhMuc > .col:nth-of-type(3),
.RowDanhMuc > .col:nth-of-type(6) {
    padding-right: 0 !important;
} */
/* .RowDanhMuc > .col:nth-of-type(2),
.RowDanhMuc > .col:nth-of-type(5) {
    padding: 0 4px 19.6px !important;
} */
.RowDanhMuc .box {
    border-radius: 5px !important;
    overflow: hidden !important;
}
.RowDanhMuc .box .box-text {
    text-shadow: none !important;
    background-color: transparent !important;
    padding: 0 !important;
    position: static !important;
}
.RowDanhMuc .box .box-text h3 {
    text-transform: uppercase !important;
    position: absolute;
    top: 9px;
    left: 50%;
    transform: translatex(-50%);
    z-index: 9;
    transition: 0.5s;
}
.RowDanhMuc .box .box-text p {
    opacity: 0;
    width: 100%;
    padding: 0 15px;
    position: absolute;
    top: 9px;
    left: 50%;
    transform: translatex(-50%);
    z-index: 9;
    transition: 0.5s;
}
.RowDanhMuc .box .box-image a:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 35px;
    background-color: #C9271C !important;
    opacity: 0.8;
    z-index: 1;
    transition: 0.5s;
}
.RowDanhMuc .box:hover .box-image a:before {
    height: 100% !important;
}
.RowDanhMuc .box:hover .box-text h3 {
    top: 85%;
}
.RowDanhMuc .box:hover .box-text p {
    opacity: 1;
}

/* SsTinTuc */
.SsTinTuc > .section-content {
    text-align: center !important;
}

.RowTinTuc > .col:nth-of-type(1) .post-item .post-title {
    margin-bottom: 15px !important;
}
.RowTinTuc > .col:nth-of-type(2) .post-item {
    padding: 10px 0 !important;
    border-bottom: 1px dotted #ccc;
}
.RowTinTuc > .col:nth-of-type(2) .post-item:first-child {
    padding-top: 0 !important;
}
.RowTinTuc > .col:nth-of-type(2) .post-item .box {
    display: flex !important;
}
.RowTinTuc > .col:nth-of-type(2) .post-item .box .box-image {
    width: 50% !important;
}
.RowTinTuc > .col:nth-of-type(2) .post-item .box .box-text {
    padding: 0 0 0 15px !important;
}

/* ************************ BLOG */

.post-item .is-divider {
    display: none !important;
}
.post-item button {
    border: none !important;
    background-color: #C9271C !important;
    padding: 2px 10px !important;
    color: #fff !important;
    text-transform: initial !important;
    font-size: 10px !important;
}
.post-item .post-title {
    text-transform: uppercase !important;
}

/* blog-wrapper */
.blog-wrapper > .row > .col.large-3 {
    padding: 0 15px 0 0 !important;
}
.blog-wrapper > .row > .col.large-9 {
    padding: 0 !important;
}

/* blog-single */
.blog-single .entry-category {
    display: none;
}
.blog-single .entry-header .is-divider {
    display: none;
}
.blog-single .entry-content {
    padding: 0 15px !important;
}

/* blog-archive */
.blog-archive .archive-page-header {
    display: none !important;
}
.blog-archive .section-title-main {
    text-transform: uppercase;
    font-weight: bold;
}

/* related-post */
.related-post {
    background: url(./imgs/bg_tintieptheo.png) top center / auto repeat-x !important;
}
.related-post .post-list {
    margin-left: 10px;
}
.related-post .post-list .item {
    display: block !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center;
}
.related-post .post-list .item:before {
    content: "\f45c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #C9271C;
    margin-right: 10px !important;
    font-size: 5px;
}
.related-post .post-list .item a {
    margin: 0 !important;
    font-weight: bold !important;
}
.related-post .post-list .item a:hover {
    color: #C9271C;
    text-decoration: underline;
}
.related-post .headline {
    padding: 3px 0 0 5px;
}

/* ************************ SIDEBAR */

aside.widget .textwidget,
aside.widget.flatsome_recent_posts ul,
aside.widget_media_gallery .gallery,
aside.widget .icon-box {
    border: 1px solid #d7d7d7;
}
aside.widget .widget-title {
    display: block;
    background: #C9271C;
    background: linear-gradient(90deg, #c70d00 0%, #fb3d30 30%, #f97a72 100%);
    color: #fff !important;
    font-size: 14px !important;
    height: 31px !important;
    line-height: 31px !important;
    padding: 0 15px !important;
    border-top-left-radius: 5px !important;
    border-top-right-radius: 5px !important;
    text-align: center !important;
}
aside.widget .is-divider {
    display: none !important;
}

/* textwidget */
aside.widget .textwidget {
    padding: 15px 5px !important;
}
aside.widget .textwidget ul li a {
    display: flex;
    align-items: center;
    font-size: 14px;
}
aside.widget .textwidget ul li:last-child {
    margin-bottom: 0;
}
aside.widget .textwidget ul li b {
    width: 40%;
    color: #ff4f1c;
}
aside.widget .textwidget ul li i {
    margin-right: 10px;
    color: #ff4f1c;
    font-size: 16px;
}
aside.widget .textwidget ul li span {
    font-weight: bold;
}

/* flatsome_recent_posts */
aside.widget.flatsome_recent_posts {
    border-bottom: 1px solid #d7d7d7 !important;
}
aside.widget.flatsome_recent_posts .recent-blog-posts-li {
    border-top: none !important;
}
aside.widget.flatsome_recent_posts .recent-blog-posts-li:nth-of-type(2n) {
    background-color: #ebf2f5 !important;
}
aside.widget.flatsome_recent_posts .flex-row > .flex-col.mr-half {
    width: 30% !important;
    height: 60px !important;
    margin-left: 10px !important;
    margin-right: 5px !important;
}
aside.widget.flatsome_recent_posts .badge {
    width: 100% !important;
    height: 100% !important;
}
aside.widget.flatsome_recent_posts .post_comments {
    display: none !important;
}
aside.widget.flatsome_recent_posts a {
    color: #000;
    font-weight: bold;
}

/* widget_media_gallery */
aside.widget_media_gallery .gallery {
    margin: 0 !important;
}
aside.widget_media_gallery .gallery .gallery-item {
    padding: 5px !important;
}
aside.widget_media_gallery#media_gallery-2 .gallery .gallery-item .gallery-icon {
    border: 1px solid #d7d7d7;
    text-align: center;
    padding: 10px;
}
aside.widget_media_gallery#media_gallery-3 img {
    width: 100%;
}

/* #custom_html-3 */
#custom_html-3 .textwidget {
    padding: 0 !important;
    border: none !important;
}

/* icon-box */
aside.widget .icon-box .icon-box-img {
    width: 100% !important;
    background-color: #C9271C;
    padding: 15px 30%;
    margin-bottom: 0;
}
aside.widget .icon-box .icon-box-text {
    padding: 15px;
}
aside.widget .icon-box .icon-box-text p {
    border-bottom: 1px solid #C9271C;
    font-size: 1.4em;
    margin-bottom: 15px;
}
aside.widget .icon-box .icon-box-text ul li {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #ddd;
    margin-bottom: 0;
    padding: 10px 0px;
    text-align: left;
}
aside.widget .icon-box .icon-box-text ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
aside.widget .icon-box .icon-box-text ul li strong {
    font-size: 1.2em;
}

/* ************************ FOOTER */

.SsChanTrang .row {
    margin-top: 15px !important;
}
.SsChanTrang .row > .col {
    padding-bottom: 0 !important;
}

#footer form {
    margin-bottom: 0;
}

#footer form input {
    margin: 0 !important;
}
#footer form input[type="submit"] {
    background-image: linear-gradient(102.1deg, #d91002 8.7%, #f35f55 88.1%) !important;
    margin-top: 15px !important;
}
#footer form .wpcf7-spinner {
    position: absolute;
}

/* absolute-footer */
.absolute-footer {
    color: #fff !important;
    font-size: 12px !important;
}
.footer-secondary {
    padding: 0 !important;
}

/* ************************ LIENHE */

.RowLienHe {
    margin-bottom: -45px !important;
}
.RowLienHe > .col:nth-of-type(1) {
    padding-left: 0 !important;
}
.RowLienHe > .col:nth-of-type(2) {
    padding-right: 0 !important;
}
.RowLienHe iframe {
    border: 5px solid #ccc !important;
}

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE ***************/

    #wrapper .RowDanhMuc > .col {
        padding: 0 15px 15px !important;
    }
    .page-left-sidebar > .row > .col.large-3 {
        padding-left: 15px !important;
    }
    .page-left-sidebar > .row > .col.large-9 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .blog-wrapper > .row > .col.large-3 {
        padding: 0 15px !important;
    }
    .RowLienHe > .col:nth-of-type(1) {
        padding-left: 15px !important;
    }
    .RowLienHe > .col:nth-of-type(2) {
        padding-right: 15px !important;
    }
    .blog-wrapper > .row > .col.large-9 {
        padding: 0 15px !important;
    }
	.Ss1 .section-content > .container,
	.Ss2 .section-content > .container {
		padding: 0 15px !important;
	}
	.Ss1 .section-content > .row {
		max-width: 100% !important;
		width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	.Ss2 .section-content > .row {
		max-width: 100% !important;
		width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
}
