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

/* Sua chieu ngang ten san pham trang cart */
.shop_table .cart_item td {
	max-width: 100px;
}

/* An country tai trang check out */
p#billing_country_field {
    display: none;
}
/* An ship toi dia chi khac tai trang check out */
h3#ship-to-different-address {
	display: none;
}


/*************** ADD MOBILE ONLY CSS HERE  ***************/


/*chinh quantity can */
.is-form, button.is-form, input[type='submit'].is-form, input[type='reset'].is-form, input[type='button'].is-form{
	margin-top:0px;
}

/*chinh giá trên dưới*/
.price-wrapper .price{
	display:flex;
flex-direction:column;
}
/*chinh nut quantity*/
input.button.is-form {
	border: 1px solid #e0e0e0;
	background-color: #fff;
	border-radius: 20px;
}
.quantity input{
	border-bottom-width:1px;
	border-top-width:1px;
	border-right-width:0px; 
	border-left-width:0px;
	border-color:#e0e0e0;
}
input.button.is-form.minus {
	padding-left: 1em!important;
}
input.button.is-form.plus {
	padding-right: 1em!important;
}
.quantity, .text-center .quantity {
	margin-left: 1em!important;
}
.select-resize-ghost,.select2-container .select2-choice,.select2-container .select2-selection,input[type=number] {
	box-shadow: none!important;
}
/*chinh sale badge*/
.badge-container.absolute.left.top.z-1{
	left: 10px;
font-size:13px;
margin-right:5px;
margin-top:5px;
}
.callout.badge.badge-square{
	height:21px;
	width:38px;
}

.badge-inner.secondary.on-sale{
	border-radius:20px;
}
/*chinh nut them gio*/
/* .button.alt.ajax_add_to_cart.add_to_cart_button.product_type_simple{ */
	a.primary.is-small.mb-0.button.product_type_simple.add_to_cart_button.ajax_add_to_cart.is-flat{
padding-left:15px;
padding-right:15px;
background-color:#fff;
color: #f9a529;
margin-bottom:0px;
border-radius:16px;
border: 1px solid #f9a529;
font-size: 1em;
}
/* Chinh mau ten san pham */
p.name.product-title a {
	color: #000!important;
}
/*chinh nut them gio khong mat di, xoa nut view cart*/
.confirm_add{
	display:none;
}
.added_to_cart.wc-forward{
	display:none;
}
.button.alt.ajax_add_to_cart.add_to_cart_button.product_type_simple.added{
	display:inline-block;
padding-left:25px;
padding-right:25px;
background-color:#e9eaec;
color:#3c4365;
margin-bottom:0px;
border-radius:7px;
line-height:2;}

/*xoa popup view cart, remain hover */
.cart-item ul.nav-dropdown.nav-dropdown-default{
    display: none;
}
div.header-button:hover + ul.nav-dropdown.nav-dropdown-default {
    display: block;
}
ul.nav-dropdown.nav-dropdown-default:hover {
    display: block;
}



/*chỉnh add to cart trong product page*/

.single_add_to_cart_button.button.alt{
border-radius:7px;
}
.button, button, input[type=button], input[type=reset], input[type=submit] {
	margin-right: 0em!important;
}
/*xóa available*/
p.stock.in-stock{
	color:rgb(0,0,0,0);
}

/*chinh col trong danh muc */
.row.category-page-row.tooltipstered .col.large-9	{padding-top:0px;
	padding-right:0px;
	padding-left:0px;
padding-bottom:25px;
}
div#shop-sidebar.sidebar-inner.tooltipstered{margin-left:10px;}

/*set footer backgroundcolor*/
.footer-wrapper{background-color:#e5e5e5;
padding-top:20px;}

/*hiển thị footer trang chủ, footer global*/
.page-id-98 .row.row-collapse.footerglobal{display:none;}
.page-id-98 .row.footer98{display:flex;}
.row.footer98{display:none;}
.row.row-collapse.footerglobal{display:flex;}


/*===========*/
.fix-box-price .col-inner{
	display: flex;
}
.fix-box-price .stock{
	display: none;
}
.sticky-add-to-cart .quantity.buttons_added.form-normal {
	margin: 0 13px;}
/*.home div.large-3.col.col-first.col-divided {
    display: block !important;
}*/

.custom-bacs {
	 position: relative;
	 border: 1px solid #000;
	 padding: 15px;
}
 .custom-bacs ul {
	 list-style: none;
	 margin: 0;
}

.woocommerce-bacs-bank-details .custom-bacs:nth-child(2):after{
		content: url(https://vietmartjp.com/wp-content/2.png);
		display: block;
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translate(-50%,-50%);
}
.woocommerce-bacs-bank-details .custom-bacs:nth-child(3):after{
		content: url(https://vietmartjp.com/wp-content/1.png);
		display: block;
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translate(-50%,-50%);
}
.woocommerce-bacs-bank-details .custom-bacs:nth-child(4):after{
		content: url(https://vietmartjp.com/wp-content/3.png);
		display: block;
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translate(-50%,-50%);
}
@media only screen and (max-width: 500px) {
.fix-box-price .col-inner{
	display: grid;
}
	.sticky-add-to-cart .quantity.buttons_added.form-normal {
	margin: 0;}
	.woocommerce-bacs-bank-details .custom-bacs:after{
    position: relative !important;
    top: auto !important;
    right: auto !important;
    transform: unset !important;
    text-align: center !important;
}
}
@media screen and (max-width: 768px) { .home div.large-3.col.col-first.col-divided{display:none;}
}
ul.sub-menu{margin:0px !important;
min-height:auto !important;}

/*chinh ul list trong my account*/
.woocommerce-MyAccount-content ul.dashboard-links{
  display: grid;
  grid-template-columns: repeat(1, 1fr);
	margin:0px!important;
	padding:0px!important;
	}
.woocommerce-MyAccount-content .dashboard-links a{display: none;}
li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--orders{width:100%;
	margin:0px!important;
	padding:0px!important;
}
li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--downloads{width:100%;
	margin:0px!important;
	padding:0px!important;
}
li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--edit-address{width:100%;
	margin:0px!important;
	padding:0px!important;
}
li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--edit-account{width:100%;
	margin:0px!important;
	padding:0px!important;
}
/* Chinh khung col san pham */
div.product div.col-inner {
	box-shadow: none!important;
}
div.product div.product-small.box {
	border-radius: 10px;
	box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 15px;
	background-color: #fff;
}
div.box-text.box-text-products {
	min-height: 100px !important;
}
/*Co dinh khoang cach ten sp*/
p.name.product-title a {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
line-height: 1.5em;
	min-height: 3em;
}
.price-wrapper {
	height: 28px;
}

/* Css page-cart */
div#main.page-wrapper.box-shadow.page-checkout {background-color: #fff; padding: 10px!important;}
nav.breadcrumbs a.current {
   	padding: 10px!important;
   	background-color: #F78C1E;
   	font-weight: 700;
   	color: #fff;
	border-radius: 15px;
}
#main .page-wrapper .box-shadow .page-checkout {
    padding: 10px!important;
}

/* Complete order page */
div.woocommerce-column.woocommerce-column--1.woocommerce-column--billing-address.col-1 {
	display: none!important;
}
div.woocommerce-column.woocommerce-column--2.woocommerce-column--shipping-address.col-2 {
	padding-left: 0px!important;
}
.woocommerce-column__title {
	color: #F78C1E;
}
.woocommerce-order-details__title {
	color: #F78C1E;
}
.wc-bacs-bank-details-heading {
	color: #F78C1E;
}
ul.wc-bacs-bank-details.order_details.bacs_details {
	margin-left: 20px;
}

/* side bar title */
.widget-title.shop-sidebar {
	color: #F78C1E;
}

/* Add to cart successful notification */
.toast.toast-success {
	background-color: #39B54A;
	opacity: 1!important;
}

/* Chinh khoang cach le trai cua li */
ul.index_ul li {
	margin-left: 15px;
}

/* Post h2 h3 */
h2.title_h2_post {
	font-weight: 700;
	color: #F78C1E;
}
h3.title_h3_post {
	font-weight: 700;
	border-left: 5px solid #f9a529;
	padding-left: 10px;
}

/* Gia san pham trong trang san pham chi tiet */
div.price-wrapper .price {
	display: block!important;
}
