/*
Theme Name: Pharacos
Theme URI: https://Pharacos.Vn
Author: https://Pharacos.Vn
Author URI: https://Pharacos.Vn
Description: Theme by MeFun JSC
Template: flatsome
Version: 1.0.0
*/

.mh-no-margin-bottom {
  margin-bottom: 0;
}

.mh-color-primary {
  color: #d3ab2a;
}

.mh-color-secodary {
  color: #3a2301 !important;
}

.mh-font-bold {
  font-weight: bold;
}

.mh-font-normal {
  font-weight: normal;
}

.mh-x-small {
  font-size: 14px;
}

.mh-large {
  font-size: 26px;
}

.mh-normal {
  font-size: 22px;
}
  /* Form */
.mh-input {
  border-radius: 5px !important;
  -moz-border-radius: 5px !important;
  -webkit-border-radius: 5px !important;
  -o-border-radius: 5px !important;
  background-color: #f2f2f2 !important;
  margin-bottom: 5px;
}

.mh-radius {
  display: flex;
  flex-direction: row;
  margin: 5px 0;
}

.mh-radius .wpcf7-list-item {
  display: flex;
  flex-direction: row-reverse;
  font-size: 14px;
}

  /* Title */
.mh-title-background {
  background-repeat: no-repeat;
  width: 100%;
  height: 75px;
  position: relative;
  padding-left: 90px;
  margin-bottom: 10px;
}

.mh-title-background .mh-title {
  font-size: 22px;
  position: absolute;
  bottom: 0px;
}

.mh-title-background-1 {
  background-image: url(image/title-1.jpg);
}

.mh-title-background-2 {
  background-image: url(image/title-2.jpg);
}

.mh-title-background-3 {
  background-image: url(image/title-3.jpg);
}

.mh-title-background-4 {
  background-image: url(image/title-4.jpg);
}

.mh-title-large-background {
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 27px;
  background-repeat: no-repeat;
  height: 90px;
  max-width: 400px;
  padding-left: 50px;
}

.mh-title-success {
  background-image: url(image/background-title-success.png);
}

.mh-title-product {
  background-image: url(image/background-title-product.png);
}

  /* UX Builder */
.mh-section-no-padding-bottom,
.mh-col-no-padding-bottom {
  padding-bottom: 0 !important;
}

  /* FontAwesome */
.mh-awesome::before,
.mh-awesome::after,
.mh-awesome a::before,
.mh-awesome a::after {
 font-family: FontAwesome !important;
 font-style: normal;
 font-weight: normal;
}

.mh-phone::before {
  content: "\f098";
}

.mh-website a::before {
  content: "\f0ac";
}

.mh-hotline ::before {
  content: "\f095";
}


.mh-home a::before {
  content: "\f015";
}

  /* Color change */
.mh-color-change,
.mh-color-change > a::hover,
.mh-color-change > a::active,
.mh-color-change > a::focus {
  -webkit-animation: color-change 5s infinite;
  -moz-animation: color-change 5s infinite;
  -o-animation: color-change 5s infinite;
  -ms-animation: color-change 5s infinite;
  animation: color-change 5s infinite;
}

@-webkit-keyframes color-change {
  0% { color: #896326; }
  50% { color: #d3ab2a; }
  100% { color: #896326; }
}
@-moz-keyframes color-change {
  0% { color: #896326; }
  50% { color: #d3ab2a; }
  100% { color: #896326; }
}
@-ms-keyframes color-change {
  0% { color: #896326; }
  50% { color: #d3ab2a; }
  100% { color: #896326; }
}
@-o-keyframes color-change {
  0% { color: #896326; }
  50% { color: #d3ab2a; }
  100% { color: #896326; }
}
@keyframes color-change {
  0% { color: #896326; }
  50% { color: #d3ab2a; }
  100% { color: #896326; }
}

.mh-border-change {
  -webkit-animation: border-color-change 5s infinite;
  -moz-animation: border-color-change 5s infinite;
  -o-animation: border-color-change 5s infinite;
  -ms-animation: border-color-change 5s infinite;
  animation: border-color-change 5s infinite;
}

@-webkit-keyframes border-color-change {
  0% { border-color: #ebcf75; }
  50% { border-color: #a87834; }
  100% { border-color: #ebcf75; }
}
@-moz-keyframes border-color-change {
  0% { border-color: #ebcf75; }
  50% { border-color: #a87834; }
  100% { border-color: #ebcf75; }
}
@-ms-keyframes border-color-change {
  0% { border-color: #ebcf75; }
  50% { border-color: #a87834; }
  100% { border-color: #ebcf75; }
}
@-o-keyframes border-color-change {
  0% { border-color: #ebcf75; }
  50% { border-color: #a87834; }
  100% { border-color: #ebcf75; }
}
@keyframes border-color-change {
  0% { border-color: #ebcf75; }
  50% { border-color: #a87834; }
  100% { border-color: #ebcf75; }
}

/**
 * Header
 */
  /* Topbar */
#top-bar {
  background-image: url(image/top-bar-background.png);
  background-repeat: repeat-x;
  background-position: center center;
  background-size: cover;
}

.nav.top-bar-nav > li > a {
  font-size: 17px;
  font-weight: 500;
  color: #fff;
}

.nav.top-bar-nav > li.mh-phone::before {
  color: #fff;
  font-size: 22px;
  margin-right: 15px;
}

.top-bar-nav.nav-divided>li+li>a:after {
  border-left: 1px solid #fff;
  left: -10px;
}

.nav.top-bar-nav > li > a,
.top-bar-nav.nav-divided>li+li>a:after {
  text-shadow: 2px 1px 1px #000000;
  -moz-text-shadow: 2px 1px 1px #000000;
  -webkit-text-shadow: 2px 1px 1px #000000;
  -o-text-shadow: 2px 1px 1px #000000;
}
  /* Main header */
.current-menu-item.mh-color-change > a {
  -webkit-animation: color-change 5s infinite;
  -moz-animation: color-change 5s infinite;
  -o-animation: color-change 5s infinite;
  -ms-animation: color-change 5s infinite;
  animation: color-change 5s infinite;
}

/**
 * Footer
 */
/* Footer 1 */
.mh-col-footer-1 ul#menu-footer-footer-col-1 > li {
  border: 0;
  display: flex;
}

.mh-col-footer-1 ul#menu-footer-footer-col-1 > li > a {
  font-size: 16px;
}

.mh-col-footer-1 ul#menu-footer-footer-col-1 > li > a::before {
  margin-right: 7px;
  font-size: 18px;
}

/* Footer 2 */
.mh-col-footer-2 .box-text-inner.blog-post-inner .is-divider {
  display: none;
}
/* Footer bottom */
footer#footer .absolute-footer {
  display: none;
}

/**
 * Woocommerce
 */
/* Sản phẩm */
.product-small.col .badge-container {
  right: 0;
  display: flex;
  justify-content: flex-end;
}

.product-small.col .badge-container,
.product-small.col .badge-container .badge {
  margin: 0;
}

.product-small.col .badge-container .badge-inner {
  background-color: #c8202f;
  border-radius: 0;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  -o-border-radius: 0;
}

.product-small.col .badge-container .badge-inner .onsale {
  white-space: normal;
  line-height: 1.2;
  font-weight: normal;
  font-size: 14px;
}

.box-text.box-text-products .price-wrapper {
  display: flex;
  flex-direction: column-reverse;
}

.box-text.box-text-products .name.product-title {
  text-align: center;
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
  padding: 5px 0;
}

.box-text.box-text-products .price-wrapper .price {
  display: flex;
  flex-direction: column-reverse;
}

.box-text.box-text-products .price-wrapper .price ins,
.box-text.box-text-products .price-wrapper .price del {
  margin: 0 0 5px;
}

.box-text.box-text-products .price-wrapper .price ins span,
.box-text.box-text-products .price-wrapper .price del span,
.box-text.box-text-products .price-wrapper .price .woocommerce-Price-amount.amount {
  color: #c8202f;
}

.box-text.box-text-products .price-wrapper .price del span {
  font-size: 12px;
  font-weight: 500;
}

.box-text.box-text-products .add-to-cart-button {
  display: inline;
  position: absolute;
  right: 0;
  top: 40px;
}

.box-text.box-text-products .add-to-cart-button > a {
  margin: 0;
  border: 0;
  font-size: 25px;
  padding: 0;
  display: inline;
}

.box-text.box-text-products .add-to-cart-button > a:hover {
  background-color: #fff;
  color: #3a2301;
}

.box-text.box-text-products .add-to-cart-button .added_to_cart.wc-forward {
  display: none;
}

.box-text.box-text-products .add-to-cart-button > a::before {
  content: "\f07a";
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
}

.box-text.box-text-products .star-rating:before,
.box-text.box-text-products .star-rating span:before,
.box-text.box-text-products .woocommerce-page .star-rating:before {
  color: #3a2301;
  font-size: 12px;
}
/* Before Products */
.mh-block-title-products .col-inner > p {
  margin-bottom: 10px;
}

.mh-block-title-products .col-inner > p:nth-child(1) {
  border-bottom: 2px solid #ab833e;
  padding-bottom: 5px;
}
/* Archive & Single */
body.woocommerce main#main {
  background-image: url('image/background-products.jpg');
  background-repeat: repeat-y;
  background-size: cover;
}
/* Archive */
body.archive.woocommerce .page-title-inner {
  display: none;
}

body.archive.woocommerce .mh-title-product {
  margin-bottom: 30px;
}
/* Single */
body.single-product .product-info .woocommerce-breadcrumb {
  display: none;
}

body.single-product .product-info .star-rating:before,
body.single-product .product-info .woocommerce-page .star-rating:before {
  color: #ddd;
}

body.single-product .product-info .star-rating span:before {
  color: #f7c602;
}

body.single-product .product-info span.amount {
  color: #c8202f ;
}

body.single-product .product-info .single_add_to_cart_button {
  background-image: url();
  background-repeat: no-repeat;
  background-size: cover;
  border: 0;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -o-border-radius: 5px;
}

body.single-product .product-info .single_add_to_cart_button::before {
  content: '';
}

body.single-product .nav-tabs > li.active > a {
  border-top-color: #ab833e;
  color: #ab833e;
  font-weight: bold;
}

body.single-product .nav-tabs>li>a {
  color: #797979;
  font-weight: bold !important;
  border-top: 2px solid #797979;
}

body.single-product .related.product-section {
  border-top: 0;
  text-align: center;
}

body.single-product .related.product-section > h3{
  color: #3a2301;
}

body.single-product .box-text.box-text-products .price-wrapper {
  text-align: left;
}

.mh-single-product-search .searchform {
  border: 3px solid #ab833e;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -o-border-radius: 5px;
}

.mh-single-product-search .search-field {
  border: 0;
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  -o-box-shadow: none;
}

.mh-single-product-search .searchform .button.icon {
  background-color: #fff;
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  -o-box-shadow: none;
  color: #aa833e;
  border: 0;
}

body.single-product .badge-container,
body.single-product .badge-container .callout.badge {
  margin: 0;
}

body.single-product .badge-container .badge-inner {
  background-color: #c8202f;
  border-radius: 0;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  -o-border-radius: 0;
  font-weight: normal;
}
