/*
Theme Name: TamPhat Child
Description: This is a child theme for Tam Phat Theme
Author: Tam Phat
Template: tamphat
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
#page-titlebar {
    text-align: left;
}
.page-titlebar {
    padding: 21px 0 22px;
    border-bottom: 1px solid #eaecee;
    word-break: break-word;
    background: #f9f9f9;
}
.page-titlebar .page-titlebar-inner {
    width: 100%;
	margin:0px auto;
	max-width: 1140px;
	position: relative;
    padding-left: 2em;
    padding-right: 2em;
}
.page-titlebar h1{
	font-size: 1.41575em;
}
#content ul, #content ol{list-style-position: inside;}
/* Product */
.product-info.product-summary span.amount {
  font-size: 18px;
}
span.amount{color:#f00;}
.product-custom-button .col{margin-bottom:0px;padding-bottom:0px;}
.product-custom-button a.button{margin-bottom:5px;}
/*sidebar*/
#product-sidebar{
	padding-top:30px;
}
#secondary span.widget-title, #product-sidebar span.widget-title, #shop-sidebar span.widget-title {
    overflow: hidden;
    border-bottom: 2px solid #ff6100;
    display: block;
    padding: 6px 0
}
#product-sidebar span.widget-title, #shop-sidebar span.widget-title{
	display:block;
	width:100%;
	background: #ff6100;
	border-bottom: 2px solid #ff6100;
	border-radius: 5px 5px 0 0;
    padding: 10px 20px;
    font-weight: 700;
}
#product-sidebar .widget ul, #shop-sidebar .widget ul {
    border: 1px solid #ececec;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 2px 2px 10px #0000001a
}
#secondary .is-divider, #product-sidebar .is-divider, #shop-sidebar .is-divider{
	display:none;
}
	
#secondary span.widget-title span{
    text-transform: uppercase;
    padding: 7px 14px !important;
    font-size: 14px;
    line-height: 26px;
    background: #ff6100;
    color: #fff;
    border-radius: 5px 5px 0 0;
    padding: 0 20px;
    font-weight: 700;
    position: relative;
    margin-right: 20px
}

#secondary span.widget-title span:after{
    content: '';
    display: block;
    line-height: 40px;
    background: #ff6100;
    width: 18px;
    height: 40px;
    position: absolute;
    top: 0;
    right: 0;
    margin-right: -7px;
    transform: skewX(21deg);
    border-radius: 0 5px 0 0
}

#secondary span.widget-title span:before{
    content: '';
    display: block;
    line-height: 40px;
    background: #00a352;
    width: 15px;
    height: 40px;
    position: absolute;
    top: 8px;
    right: 0;
    margin-right: -13px;
    transform: skewX(13deg);
    border-radius: 0 5px 0 0
}
.flatsome_recent_posts ul, #secondary .widget ul {
    border: 1px solid #ececec;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 2px 2px 10px #0000001a
}
/* end sidebar*/
/*Blog */
.single-post .entry-content{font-size:120% !important;}
.single-post .entry-content .section-title.section-title-center b{
	background:#1b9ee5;
	opacity:0.1;
}
.single-post .entry-content .section-title.section-title-center span{
	background: #ff8900;
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
}
.bai-viet-lien-quan h3 {
    font-size: 19px;
    color: black;
}
.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: 120px;
    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;
}
/* Footer */
#footer .is-divider{
	background:transparent;
	margin-bottom:0px;
}
#footer span.widget-title{font-size:22px;}
#footer ul li{
	font-size:20px;
}
#footer ul li i{
	padding-right:5px;
	color:yellow;
}
#footer .payment-icons{display:none !important;}
.back-to-top{bottom:60px;}
/* End Footer */
/* Button Contact */
.cta {
    z-index: 99;
    font-size: 16px;
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
    padding: 3px 12px 0px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    background: -webkit-gradient(linear, left top, right top, from(#105caa), to(#023e7b));
    background: linear-gradient(to right, #105caa 0%, #023e7b 100%);
	box-shadow: 0px -2px 5px 0px rgb(48 48 48 / 10%);
}

.cta__block {
    color: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
	text-decoration:none
}

.cta__block+.cta__block {
    margin-left: 8px;
}

.cta svg {
    fill: #fff;
    margin-right: 4px;
    width: 16px;
}

.cta__hide {
    display: none;
}

.cta__block:hover {
    color: #fff;
    text-decoration: none;
}
/* End contact */
@media screen and (min-width: 850px) {
    .post-sidebar.large-3{
        padding-left:0px;
    }
	.home .large-3.col, #product-sidebar{
		padding-left:10px;
	}
}
@media (min-width: 992px) {
	.post-sidebar{ padding-left:15px !important;}
	
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	
	.bai-viet-lien-quan ul li{width:50%;}
	
	

}