/* Loading CF7 */
.alert{
	z-index: 999999999 !important;
}

.wpcf7-response-output{
	display: none !important;
}

.subscribe_popup .modal-body {
	padding: 0;
}

.subscribe_popup .modal-content {
	border: 0;
	border-radius: 0;
}

.popup_content {
	padding: 50px;
	text-align: center;
}

.alert>.close {
	position: absolute;
	right: 0;
	top: 5px !important;
	z-index: 9;
	opacity: 1;
	text-shadow: none;
	width: 40px;
	height: 40px;
    border: none;
    background: none;
    color: #fff;
    font-size: 30px;
    font-weight: lighter;
}

.subscribe_popup .close i {
	font-size: 40px;
}

.mfp-preloader {
	color: #ccc;
	position: absolute;
	top: 1px;
	left: 50%;
	width: 24px;
	height: 24px;
	background: url("../images/loading.gif") center center no-repeat;
	text-align: center;
	margin-top: 34%;
	margin-left: -12px;
	z-index: 1044;
	text-indent: -9999px;
	background-color: #000;
	padding: 25px;
	border-radius: 5px;
}

#ajax-message {
	width: 33%;
    height: auto;
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 9999;
    padding: 14px;
	background: #d4edda!important;
	color: #191b1c;
	border-radius: 5px;
	box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
	display: none;
}

.wpcf7-not-valid-tip {
    font-size: 14px !important;
    margin: 1px 0px 0px 8px;
}

.textarea-form {
    height: calc(1.5em * 6) !important;
}

.textarea-form-2 {
    height: 112px !important
}

.button-form {
    width: 100% !important;
    margin-top: 1rem!important
}

.commnet-css .children {
    padding-left: 3rem!important;
}

#search .error {
    position: absolute;
    top: 51%;
    left: 39.5%;
    font-size: 15px !important;
}

.woocommerce-pagination .page-item .active-product {
    color: #3dd1d5;
    background-color: transparent;
    border: 2px solid #3dd1d5;
}

.product-price>.woocommerce-Price-amount>bdi {
    color: #3dd1d5;
    text-decoration: none;
}
.woocommerce-cart-form .product-price>.woocommerce-Price-amount>bdi {
    color: unset;
}

.hide-2-text {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* số dòng tối đa hiển thị */
    -webkit-box-orient: vertical;
    white-space: normal;
}

.added_to_cart {
    display:none !important;
}

.product-price>h4>del span {
    font-size: unset !important;
    color: unset !important;
    margin-left: unset !important;
}

.product-price>h4>ins {
    text-decoration: none;
}

.product-price>h4>ins>span {
    margin-left: unset !important;
}

.cart_item .product-quantity .quantity .qty {
    padding: 14px 20px;
    height: 50px;
    font-size: 14px;
    border-color: #ededed;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    color: #7c8087;
    border-radius: 6px;
    border: 1px solid #ededed;
    width: 100px;
}

.cart_item .product-thumbnail a .attachment-woocommerce_thumbnail {
    height: 84px !important;
    width: 70px !important;
}

.shipping-calculator-form .country_to_state,
.shipping-calculator-form .input-text {
    height: 36px !important;
    border: 1px solid #ededed !important;
    border-radius: 6px !important;
}

.shipping-calculator-form button {
    background: #3dd1d5 !important;
    color: #ffffff !important;
    margin-right: 3px !important;
}

.order-total>td>strong>span>bdi {
    font-weight: 600 !important;
}

/* Rating */
.rating {
    border: none;
    float: left;
}

.rating>input {
    display:none;
}

.rating>label:before {
    margin: 5px; 
    font-size: 1.25em;
    font-family: FontAwesome;
    display: inline-block;
    content:"\f005";

}
.rating>.half:before {
    content: "\f089"; 
    position: absolute; 
}

.rating>label {
    color: #ddd; 
    float: right;

}

.rating>input:checked~label,
.rating:not(:checked)>label:hover, 
.rating:not(:checked)>label:hover~label {
    color:#FFD700;
}

.rating>input:checked+label:hover,
.rating>input:checked~label:hover,
.rating>label:hover~input:checked~label,
.rating>input:checked~label:hover~label {
    color:#FFED85;
}

/* Billing */
.custom-billing .select2-selection__arrow b,
.custom-account-content .select2-selection__arrow b
{
    display: none;
}

.custom-billing .select2-container .select2-selection--single,
.custom-account-content .select2-container .select2-selection--single
{
    height: 52px !important;
    border: 1px solid #ededed !important;
}

.custom-billing .select2-container--default .select2-selection--single .select2-selection__rendered,
.custom-account-content .select2-container--default .select2-selection--single .select2-selection__rendered
{
    line-height: 22px !important;
}

.custom-billing .select2-container--default .select2-selection--single .select2-selection__arrow,
.custom-account-content .select2-container--default .select2-selection--single .select2-selection__arrow
{
    top: 10px !important;
}

.custom-billing .form-row-first,
.custom-billing .form-row-last {
    width: 100% !important;
}

.custom-order .custom-order-total bdi {
    font-weight: bold !important;
}

.custom-payment .input-radio {
    display: none !important;
}

/* Account */
.custom-account-nav li {
    list-style: none !important;
    margin: 12px 0px;
}

.custom-account-content table {
    border-collapse: collapse !important;
}

.custom-account-content .woocommerce-orders-table th,
.custom-account-content .shop_table thead th
{
    border: none !important;
    padding: 15px 10px !important;
    color: #ffffff !important;
    background-color: #3dd1d5 !important;
    text-align: left !important;
    vertical-align: middle !important;
}

.custom-account-content .form-row-first,
.custom-account-content .form-row-last {
    width: 100% !important;
}

.error-message {
    font-size: 15px;
    margin: 0px 0px 0px 10px;
}