/*
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.   ***************/
#ez-toc-container a:visited {
    color: #000000;
}

.pt-related .post-title a {
	font-size: 16px;
}
.section-one {
	padding-bottom: 0px !important;
}

.section-one .section-content>.row>.col>.col-inner>.row>.col {
	    padding: 0px;
}

.section-one .section-content>.row>.col:nth-child(1)>.col-inner {
	box-shadow: 0 0.5rem 3rem 0 rgb(0 0 0 / 10%);
        padding: 20px 10px 0;
    border-radius: 12px;
	    min-height: 530px;
}

.section-one .section-content>.row>.col:nth-child(2)>.col-inner>.row>.col>.col-inner {
	box-shadow: 0 0.5rem 3rem 0 rgb(0 0 0 / 10%);
        padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.section-one .section-content>.row>.col>.col-inner img {
	border-radius: 8px;
}

.section-one .section-content>.row>.col>.col-inner .image-cover, .section-two .section-content>.row>.col>.col-inner .image-cover, .section-three .section-content>.row>.col>.col-inner .image-cover, .section-four .section-content>.row>.col>.col-inner .image-cover, .section-five .section-content>.row>.col>.col-inner .image-cover {
	    padding-top: 62.5% !important;
}

.is-divider {
	display: none;
}

.section-one .section-content>.row>.col:nth-child(1)>.col-inner .row>.post-item:nth-child(1) .post-title {
	    font-weight: 600;
    font-size: 28px;
    line-height: 42px;
}

.post-title:hover {
    color: #087cce;
}

.section-one .section-content>.row>.col:nth-child(1)>.col-inner .row>.post-item:nth-child(n + 2) .box-normal {
	grid-template-columns: 2fr 3fr;
    grid-row-gap: 0px;
    grid-column-gap: 10px;
    display: grid;
    position: relative;
}

.section-one .section-content>.row>.col:nth-child(1)>.col-inner .row>.post-item:nth-child(n + 2)  .box-normal .box-image {
    width: 142px;
}

.section-one .section-content>.row>.col:nth-child(1)>.col-inner .row>.post-item:nth-child(n + 2)  .box-normal .box-text {
	padding: 0;
}

.section-one .section-content>.row>.col:nth-child(1)>.col-inner .row>.post-item:nth-child(n + 2) .from_the_blog_excerpt  {
	display: none;
}

.section-one .from_the_blog_excerpt {
	    font-size: 16px;
    line-height: 24px;
    margin-top: 15px;
}
.section-one .section-content>.row>.col:nth-child(1)>.col-inner .row>.post-item:nth-child(n + 2)  .box-normal .box-text .post-title {
	font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.section-one .section-content>.row>.col:nth-child(1)>.col-inner .row>.post-item {
	float: left;
    padding: 0px 12px 25px;
}

.section-one .section-content>.row>.col:nth-child(1)>.col-inner .row>.post-item:nth-child(1) {
	flex-basis: 60%;
    max-width: 60%;
}

.section-one .section-content>.row>.col:nth-child(1)>.col-inner .row>.post-item:nth-child(n + 2) {
	flex-basis: 40%;
    max-width: 40%;
}

.section-one .section-content>.row>.col:nth-child(1)>.col-inner .row {
	display: contents;
}

.section-content>.row>.col:nth-child(2) {
    padding-left: 25px;
}

.section-title-main {
	font-size: 20px;
	line-height: 30px;
	font-weight: 700;
	border-bottom: none !important;
	text-transform: none !important;
	margin-left: 18px;
	    padding-bottom: 15px !important;
}

.section-title-main:before {
	 background-color: #ff464b;
    border-radius: 50%;
    content: "";
    display: inline-block;
    height: 10px;
    left: 0;
    position: absolute;
    width: 10px;
    top: 10px;
}

.section-title {
	border-bottom: 1px solid #13172b;
}


.section-two .section-content>.row>.col:nth-child(1)>.col-inner .row>.post-item .box-normal {
	grid-template-columns: 2fr 3fr;
    grid-row-gap: 0px;
    grid-column-gap: 10px;
    display: grid;
    position: relative;
}

.section-two .section-content>.row>.col:nth-child(1)>.col-inner .row>.post-item  .box-normal .box-image {
    width: 256px;
}

.section-two .section-content>.row>.col:nth-child(1)>.col-inner .row>.post-item  .box-normal .box-text {
	padding: 0;
}

.section-two .section-content>.row>.col>.col-inner img {
	border-radius: 8px;
}

.section-two .section-content>.row>.col>.col-inner .image-cover {
	    padding-top: 62.5% !important;
}


.section-three>.section-content>.row>.col:nth-child(2) {
	margin-top: -15px;
}
.section-three>.section-content>.row>.col:nth-child(2)>.col-inner {
	box-shadow: 0 0.5rem 3rem 0 rgb(0 0 0 / 10%);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.section-three>.section-content>.row>.col:nth-child(2)>.col-inner .section-title-container {
	margin-bottom: 0;
}

.section-three .section-content>.row>.col:nth-child(1)>.col-inner .row>.post-item .box-normal {
	grid-template-columns: 1fr 2fr;
    grid-row-gap: 0px;
    grid-column-gap: 10px;
    display: grid;
    position: relative;
}

.section-three .section-content>.row>.col:nth-child(1)>.col-inner .row>.post-item  .box-normal .box-image {
    width: 256px;
}

.section-three .section-content>.row>.col:nth-child(1)>.col-inner .row>.post-item  .box-normal .box-text .post-title {
	margin-bottom: 10px;
}

.section-three .section-content>.row>.col>.col-inner img {
	border-radius: 8px;
}

.section-two .section-content>.row>.col>.col-inner .image-cover {
	    padding-top: 62.5% !important;
}

.section-two, .section-three {
	padding: 0px !important;
}

.flickity-page-dots .dot.is-selected {
    background-color: #35bd33;
    opacity: 1!important;
}

.section-four .box-text {
	background: #f3f3f3;
	margin: 0px;
	padding: 15px;
}

.section-four .box-text .post-title {
	    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
	min-height: 45px;
}

.section-five .button, .section-three .button, .section-eight .button {
	border-radius: 99px;
    float: right;
    position: absolute;
    right: 0;
    margin-top: -75px;
    border: 1px solid #000;
    padding: 5px 12px;
    text-transform: none;
    font-weight: 600;
    color: #333;
    font-size: 12px;
    margin-right: 0;
}

.section-five .button:hover, .section-three .button:hover {
	background: none;
	color: #addb9a;
	border-color: #addb9a;
}

.section-five .section-content>.row>.col:nth-child(1)>.col-inner .row>.post-item .box-normal {
	grid-template-columns: 2fr 3fr;
    grid-row-gap: 0px;
    grid-column-gap: 10px;
    display: grid;
    position: relative;
}

.section-five .section-content>.row>.col:nth-child(1)>.col-inner .row>.post-item  .box-normal .box-image {
    width: 256px;
}

.section-five .section-content>.row>.col>.col-inner img {
	border-radius: 8px;
}
.section-two .section-content>.row>.col:nth-child(1)>.col-inner .row>.post-item  .box-normal .box-text {
	padding: 0;
}

.section-two .section-content>.row>.col>.col-inner img {
	border-radius: 8px;
}

.section-two .section-content>.row>.col>.col-inner .image-cover {
	    padding-top: 62.5% !important;
}

.section-six .large-columns-3 .post-item:nth-child(2n + 1) .box-text-bottom {
	display: flex;
    flex-direction: column;
}
.section-six .large-columns-3 .post-item:nth-child(2n + 1){
	flex-basis: 26%;
    max-width: 26%;
}
.section-six .large-columns-3 .post-item:nth-child(2){
	flex-basis: 48%;
    max-width: 48%;
}

.section-six .large-columns-3 .post-item:nth-child(2n + 1) .box-text-bottom .box-image {
	order: 2;
    width: 100%;
	margin-top: 15px;
}

.section-six .large-columns-3 .post-item:nth-child(2n + 1) .box-text {
	padding-top: 0px;
}
.section-six .large-columns-3 .post-item:nth-child(2n + 1) .post-title {
	    font-size: 18px;
    line-height: 27px;
    font-weight: 600;
}
.section-six .large-columns-3 .post-item:nth-child(2n + 1) .from_the_blog_excerpt {
	font-size: 16px;
    line-height: 24px;
    font-weight: 400;
	margin-top: 8px;
}

.section-six img {
	    border-radius: 8px;
}

.section-six .large-columns-3 .post-item:nth-child(2) .post-title {
	    font-size: 20px;
    line-height: 30px;
    font-weight: 600;
	color: white;
}

.section-six .large-columns-3 .post-item:nth-child(2n) .from_the_blog_excerpt {
	font-size: 14px;
    line-height: 21px;
    font-weight: 400;
	margin-top: 10px;
	color: #94989e;
}

.section-six .large-columns-3 .post-item:nth-child(2) .box-text {
	align-items: flex-start;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 5.94%, #000000 91.76%);
    border: none;
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
    bottom: 0;
    display: flex;
    flex-direction: column;
    height: 66.666666667%;
    justify-content: flex-end;
    left: 0;
    padding: 1.5rem;
    position: absolute;
    width: 100%;
}

.section-six .image-cover {
	padding-top: 62.5% !important;
}

.section-five {
	padding-bottom: 0px !important;
}
.section-six {
	padding: 0px !important;
}
.section-seven .button {
	    border-radius: 99px;
    float: right;
    position: absolute;
    right: 0;
    margin-top: -75px;
    border: 1px solid #000;
    padding: 5px 12px;
    text-transform: none;
    font-weight: 600;
    color: #333;
    font-size: 12px;
    margin-right: 0;
    background: white;
}

.section-seven .section-title {
    border-bottom: 1px solid #5b5b5b;
}

.section-eight .large-columns-3 >.post-item:nth-child(1) {
    flex-basis: 45%;
    max-width: 45%;
}

.section-eight .large-columns-3 >.post-item:nth-child(n+2) {
    flex-basis: 55%;
    max-width: 55%;
}

.section-eight img {
	border-radius: 8px;
}

.section-eight .large-columns-3 {
	display: contents;
}
.section-eight .large-columns-3 >.post-item{
	float: left;
}

.section-eight .large-columns-3 >.post-item:nth-child(1) {
	padding-left: 0px;
}
.section-eight .large-columns-3 >.post-item:nth-child(n + 2) .box-normal {
    grid-template-columns: 2fr 3fr;
    grid-row-gap: 0px;
    grid-column-gap: 10px;
    display: grid;
    position: relative;
}

.section-eight .large-columns-3 >.post-item:nth-child(n + 2) .box-normal .box-image {
      width: 256px;
}
.section-eight .section-content>.row>.col>.col-inner .image-cover {
	padding-top: 62.5% !important;
}

.section-eight .large-columns-3 .post-item:nth-child(1) .post-title {
	    font-size: 20px;
    line-height: 30px;
    font-weight: 600;
	color: white;
}

.section-eight .large-columns-3 .post-item:nth-child(1) .from_the_blog_excerpt {
	font-size: 14px;
    line-height: 21px;
    font-weight: 400;
	margin-top: 10px;
	color: #94989e;
}

.section-eight .large-columns-3 .post-item:nth-child(1) .box-text {
	align-items: flex-start;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 5.94%, #000000 91.76%);
    border: none;
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
    bottom: 0;
    display: flex;
    flex-direction: column;
    height: 66.666666667%;
    justify-content: flex-end;
    left: 0;
    padding: 1.5rem;
    position: absolute;
    width: 100%;
}

.section-eight .large-columns-3 .post-item:nth-child(2n + 1) .post-title {
	    font-size: 18px;
    line-height: 27px;
    font-weight: 600;
}
.section-eight .large-columns-3 .post-item:nth-child(2n + 1) .from_the_blog_excerpt {
	font-size: 16px;
    line-height: 24px;
    font-weight: 400;
	margin-top: 8px;
}


.textwidget .pt-related .box {
	    display: flex;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
}

.textwidget .pt-related .box .is-divider {
	display: none;
}

.textwidget .pt-related .box .box-text {
	    width: 75%;
	padding-left: 10px;
	padding-bottom: 0;
}

.textwidget .pt-related .box .box-text .post-title {
    font-size: 13.5px;
    font-weight: normal;
}

.textwidget .pt-related .col {
	padding-bottom: 0;
}

.single .large-9.col {
	        flex-basis: 70%;
        max-width: 70%;
}

.single .large-3.col {
	        flex-basis: 30%;
        max-width: 30%;
}

strong, b {
	font-weight: bold !important;
}

body h1.entry-title, .page-title  {
    text-transform: inherit;
}

.archive .page-title {
	font-size: 26px;
}

.single .content-area {
	text-align: justify;
}
/*related post*/
.pt-related {
	    margin-top: 40px;
}
.pt-related-content-item {
	    grid-template-columns: 1fr 1fr 1fr;
    grid-row-gap: 5px;
    grid-column-gap: 5px;
    display: grid;
    position: relative;
	margin-top: 15px;
    margin-left: -12px;
    margin-right: -12px;
}

.pt-related .image-cover {
	    padding-top: 62.5% !important;
}

.pt-related .image-cover img {
	border-radius: 8px
}

.pt-related .box-text-inner {
	    font-size: 18px;
    line-height: 27px;
    font-weight: 600;
}

.pt-related-title  {
    text-transform: none !important;
    padding-bottom: 15px !important;
    display: block;
    position: relative;
	border-bottom: 1px solid #13172b !important;
	
}

.pt-related-title span {
	margin-left: 18px;
	font-size: 20px;
    line-height: 30px;
    font-weight: 700;
	letter-spacing: normal
}

.pt-related-title:before {
	background-color: #ff464b;
    border-radius: 50%;
    content: "";
    display: inline-block;
    height: 10px;
    left: 0px;
    position: absolute;
    width: 10px;
    top: 10px;
}



/*hết related post*/

.home .section-title {
	justify-content: left;
}

.single .entry-content {
	text-align: justify;
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
.single .large-9.col {
	        flex-basis: 100%;
        max-width: 100%;
}

.single .large-3.col {
	        flex-basis: 100%;
        max-width: 100%;
}
	
		/*home*/
	.section-one .section-content>.row>.col:nth-child(1)>.col-inner .row>.post-item:nth-child(1) {
			    flex-basis: 100%;
    max-width: 100%;
		padding: 5px;
	}
	
	.section-one .section-content>.row>.col:nth-child(1)>.col-inner {
    border-radius: 0px;
}
	
	.section-one {
		padding: 0!important;
	}
	
	
.section-one .section-content>.row>.col:nth-child(1)>.col-inner .row>.post-item:nth-child(n + 2) {
    flex-basis: 100%;
    max-width: 100%;
    padding: 10px 5px;
}
	.section-one .section-content>.row>.col {
		padding: 0;
	}
	
	.col, .columns, .gallery-item {
    padding: 15px;
}
	
	.section-content>.row>.col:nth-child(2) {
    padding-left: 0;
		    margin-top: 20px;
}
	.section-one .from_the_blog_excerpt {
		display: none;
		
	}
	
	.section-one .section-content>.row>.col:nth-child(1)>.col-inner .row>.post-item:nth-child(1) .post-title {
    font-weight: 600;
    font-size: 23px;
    line-height: 35px;
}
	.section-one .section-content>.row>.col:nth-child(2)>.col-inner>.row>.col>.col-inner {
    padding: 15px 25px;
}
	.banner-one {
		padding: 0 15px;
	}
	.section-two .section-content>.row>.col:nth-child(1)>.col-inner .row>.post-item .box-normal .box-image {
    width: 142px;
		
}
	
	.section-two .from_the_blog_excerpt  {
		display: none;
	}
	
	.section-two .row.large-columns-2 {
		    margin-left: -15px;
    margin-right: -15px;
	}
	.section-two  .section-title-container {
    margin-bottom: 0;
}
	.section-three .section-content>.row>.col:nth-child(1)>.col-inner .row>.post-item .box-normal .box-image {
    width: 142px;
}
	
		.section-three .from_the_blog_excerpt  {
		display: none;
	}
		.section-three  .section-title-container {
    margin-bottom: 0;
}
	
		.section-three .row.large-columns-1 {
		    margin-left: -15px;
    margin-right: -15px;
			    margin-bottom: 60px;
	}
	
	.section-five .button, .section-three .button, .section-eight .button {
    bottom: 0;
    left: 0;
    right: 0;
       margin: 0 auto -40px;
    width: 100px;
		
}
	.section-content>.row>.col:nth-child(2) {
    padding: 0 !important;
		margin-top:0;
}
	.section-three>.section-content>.row>.col:nth-child(2)>.col-inner {
    border-radius: 0px;
}
			.section-four  .section-title-container, .section-five .section-title-container {
    margin-bottom: 0;
}
	
	.section-four {
		padding: 0px !important;
	}
	
	.row-slider .flickity-page-dots, .slider-nav-outside .flickity-page-dots {
    bottom: -15px;
}
	.section-five .section-content>.row>.col:nth-child(1)>.col-inner .row>.post-item .box-normal .box-image {
    width: 142px;
}	
	
	.section-five .from_the_blog_excerpt  {
		display: none;
	}
	
	.section-content .post-item {
		padding-bottom: 5px;
	}
	
	.pt-review a, .pt-website a {
    padding: 5px 17px 6px;
}
	
	.section-five {
		padding-bottom: 50px !important;
	}
	
	.section-six .large-columns-3 .post-item {
		    flex-basis: 100% !important;
    max-width: 100% !important;
		    margin-bottom: 10px;
	}
	
	.section-six .large-columns-3 .post-item .box-text-bottom {
    display: block !important;
	}
	
	.section-six .large-columns-3 .post-item .box-text {
    padding-top: 10px !important;
}
	
	.section-six .large-columns-3 .post-item:nth-child(2) .box-text {
		background: none;
    display: block;
    height: auto;
    position: relative;
		padding: 0px;
	}
	
	.section-six .large-columns-3 .post-item .post-title {
		    color: #13172b!important;
    font-size: 18px !important;
    line-height: 27px !important;
	}
	
	.section-six .large-columns-3 .post-item .from_the_blog_excerpt {
		    color: #555761 !important;
    font-size: 16px !important;
    line-height: 24px !important;
	}
	
	.section-six .section-title-container {
		margin-bottom: 0px;
	}
	
	.section-seven {
		padding-bottom: 70px !important;
	}
	.section-seven .section-content>.row>.col {
		padding: 10px !important;
	}
	
	.section-seven .button {
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto -60px;
    width: 100px;
}
	
	.section-eight .large-columns-3 >.post-item {
		    flex-basis: 100% !important;
    max-width: 100% !important;
	}
	
		.section-eight .large-columns-3 .post-item .box-text {
    padding-top: 10px !important;
}
	
	.section-eight .large-columns-3 .post-item .box-text {
		background: none;
    display: block;
    height: auto;
    position: relative;
		padding: 0px;
	}
	
	.section-eight .large-columns-3 .post-item .post-title {
		    color: #13172b!important;
    font-size: 18px !important;
    line-height: 27px !important;
	}
	
	.section-eight .large-columns-3 .post-item:nth-child(1) .box-text {
    background: none;
    display: block;
    height: auto;
    position: relative;
    padding: 0px;
}
	
	.section-eight .large-columns-3 >.post-item:nth-child(n + 2) .box-normal .box-image {
    width: 100%;
}
	
	.section-eight .large-columns-3 .post-item .from_the_blog_excerpt {
		    color: #555761 !important;
    font-size: 16px !important;
    line-height: 24px !important;
	}
	
	.section-eight .large-columns-3 >.post-item .box-normal {
		display: block !important;
	}
	
	.section-eight .large-columns-3 >.post-item {
    padding: 0 !important;
		margin-bottom: 15px;
}
	.section-eight {
		padding-bottom: 50px !important;
	}

}