/*
Theme Name: Danhhd Child
Description: Design by Danhhd
Author: Danhhd
Author URI: https://www.danhhd.com/
Description: Đây là giao diện con của Flatsome
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}

/*************** HEADER ***************/

#masthead input#woocommerce-product-search-field-0 {
    width: 100%;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    padding: 9px;
    background: #fff;
    border: 1px solid #fff;
    height: 40px;
    box-shadow: none;
}

#masthead button.ux-search-submit.submit-button.secondary.button.icon.mb-0 {
    border: 1px solid #fff;
    height: 40px;
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
    background-color: #fff;
    color: #4cb551;
}

#masthead button.ux-search-submit.submit-button.secondary.button.icon.mb-0:hover {
    box-shadow: none;
    background-color: #4cb551;
    color: #fff;
    border-color: #ffff;
}

#masthead a.header-cart-link {
    background: #309c3e;
    border-radius: 4px;
    padding: 2px 10px;
    margin-right: 10px;
    align-items: center;
    text-align: center;
    vertical-align: middle;
    height: 42px;
    line-height: 36px;
    min-width: 130px;
    color: #fff;
}

#masthead a.header-cart-link span.header-cart-title {
    padding-right: 10px;
}

.hotline-head {
    display: inline-block;
    text-align: center;
}

.hotline-head span {
    display: block;
    overflow: hidden;
    text-align: center;
    color: #fff;
    font-size: 14px;
}

.hotline-head a {
    display: block;
    overflow: hidden;
    color: #ffd63a;
    font-size: 16px;
    line-height: 14px;
    font-weight: 700;
}

#wide-nav .nav > .menu-item {margin: 0 8px;}

#wide-nav .nav > .menu-item ul.sub-menu.nav-dropdown {
    background: #fff;
    border-radius: 12px;
    z-index: 3;
    padding: 0 0 10px;
    box-shadow: 0 4px 4px rgb(0 0 0 / 25%);
    width: 390px;
    border: none;
    overflow: hidden;
}

.nav-dropdown-has-arrow #wide-nav li.current-dropdown.has-dropdown:before, .nav-dropdown-has-arrow #wide-nav li.current-dropdown.has-dropdown:after {
    display: none;
}

#wide-nav .nav > .menu-item ul.sub-menu.nav-dropdown .menu-item a {
    display: block;
    overflow: hidden;
    color: #222;
    font-weight: 600;
    line-height: 16px;
    font-size: 13px;
    cursor: pointer;
    padding: 12px 20px;
    margin: 0;
}

#wide-nav .nav > .menu-item ul.sub-menu.nav-dropdown .menu-item a:hover {
    background-color: #e8f2ea;
}

#wide-nav .nav > .menu-item span.dashicons{
    margin-right: 5px;
}

/*************** HEADER ***************/

/*************** HOMEPAGE ***************/

.slide-banner {
    margin-top: -80px;
}

.slide-banner img {
    border-radius: 8px;
}

.banner-home h3 {
    font-size: 30px;
    line-height: 42px;
    color: #333;
    padding: 20px 0 0px;
}

.badge-container.absolute.left.top.z-1 {
    position: absolute;
    top: 0;
    left: 5px;
    margin-top: 0;
}

.badge-container.absolute.left.top.z-1 .callout.badge.badge-circle {
    font-size: 11px;
    line-height: 13px;
    color: #fff;
    background: #d0021c;
    padding: 3px 6px;
    border-top-left-radius: 8px;
    height: 20px;
    border-bottom-right-radius: 2px;
}

.badge-container.absolute.left.top.z-1 .callout.badge.badge-circle .badge-inner.secondary.on-sale {
    background: none;
}

.product-small.box {
    background: #fff;
    border: 1px solid #f2f2f2;
    border-radius: 8px;
    padding: 8px;
    transition: .5s;
}

.product-small.box:hover{
    border: 1px solid #4cb551;
    box-shadow: 0 2px 20px rgb(0 0 0 / 8%);
}

.product-small.box .add-to-cart-button {
    overflow: hidden;
    text-align: center;
    position: absolute;
    bottom: 0;
    margin: auto;
    width: 100%;
}

.product-small.box .add-to-cart-button a {
    background: #fff;
    border: 1px solid #f2f2f2;
    color: #333;
    text-align: center;
    padding: 8px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 15px;
    margin: auto;
    height: 36px;
    width: 100%;
    text-transform: none;
    font-weight: normal;
}

.product-small.box .box-text {
    padding-bottom: 55px;
}

.product-small.box:hover .add-to-cart-button a, .product-small.box .add-to-cart-button a.added_to_cart {
    transition: .5s;
    background: #4cb551;
    color: #fff;
    border: 1px solid #4cb551;
}

.product-small.box p.name.product-title.woocommerce-loop-product__title {
    display: block;
    overflow: hidden;
    font-size: 14px;
    line-height: 20px;
    padding: 8px 0 0;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    white-space: normal;
    margin: 0;
}

.product-small.box .price-wrapper {
    display: block;
    overflow: hidden;
    font-size: 15px;
    line-height: 24px;
    color: #333;
    padding: 8px 0 0;
}

.product-small.box .price-wrapper > span.price > del {
    display: none;
    position: relative;
}

.product-small.box .price-wrapper > span.price span.woocommerce-Price-amount.amount {
    position: relative;
}

.product-small.box .price-wrapper > span.price > ins {
    font-size: 16px;
    position: relative;
}

.product-small.box .price-wrapper > span.price span.woocommerce-Price-currencySymbol {
    position: absolute;
    right: -4px;
    top: 3px;
    font-size: 12px;
    font-weight: normal;
}
.product-small.box .price-wrapper > span.price {
    display: inline-block;
}

.san-pham .nav > li.tab.has-icon a {
    display: inline-block;
    vertical-align: middle;
    background-color: #f9f9fe;
    padding: 10px 20px;
    color: #222;
    font-size: 16px;
    line-height: 24px;
    border-radius: 4px;
    margin: 0 5px;
    border: 1px solid #f9f9fe;
    font-weight: normal;
}

.san-pham .nav > li.tab.active.has-icon a {
    border-radius: 4px;
    background-color: #39b54a;
    border: 1px solid #39b54a;
    color: #fff !important;
}

.san-pham .nav > li.tab.has-icon:hover a {
    border-color: #39b54a;
    color: #39b54a;
}

p.view-all a {
    display: block;
    overflow: hidden;
    text-align: center;
    font-size: 16px;
    line-height: 20px;
    color: #4cb551;
    background: #fff;
    border: 1px solid #4cb551;
    border-radius: 8px;
    padding: 12px;
    margin: 12px auto;
    min-width: 340px;
    max-width: 450px;
    transition: .5s;
}

p.view-all a:hover {
    color: #fff;
    background: #4cb551;
}

h3.title {
    display: block;
    overflow: hidden;
    color: #000;
    font-size: 30px;
    line-height: 40px;
    padding-bottom: 10px;
    text-transform: uppercase;
}

.uu-dai h3.title {
    color: #eb5757;
}

p.xem-tat-ca a {
    font-size: 14px;
    line-height: 21px;
    color: #4cb551;
    font-weight: 400;
}

p.xem-tat-ca {
    position: absolute;
    right: 0;
    top: 10px;
    margin-bottom: 0;
}

.suc-khoe .col.small-12.large-12 {
    padding-bottom: 0;
}

.suc-khoe .box.box-overlay .box-text.text-left {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0;
    border-radius: 0 0 8px 8px;
    background: linear-gradient(180deg,rgba(0,0,0,0) 0%,#000 100%);
}

.suc-khoe .box.box-overlay .box-text.text-left .is-divider {
    display: none;
}

.suc-khoe .box.box-overlay .box-text.text-left h5 {
    overflow: hidden;
    font-size: 14px;
    line-height: 20px;
    color: #fff;
    padding: 42px 20px 17px;
    font-weight: 700;
}

.suc-khoe .box.box-vertical h5.post-title.is-large {
    margin: 0;
    display: block;
    overflow: hidden;
    font-size: 14px;
    line-height: 20px;
    color: #333;
    padding: 6px 0 0;
    font-weight: 700;
    white-space: normal;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    white-space: normal;
}

.suc-khoe .box.box-vertical  .is-divider {
    display: none;
}

.intro {
    overflow: hidden;
    background: #219653 url(/wp-content/uploads/2022/07/bg-intro-desktop.png) top no-repeat;
    background-size: contain;
}

.logo-intro {
    display: block;
    overflow: hidden;
    margin-top: 31vw;
    text-align: center;
}

.logo-intro img {
    display: block;
    width: 284px;
    margin: auto;
}

.intro p strong {
    display: block;
    overflow: hidden;
    text-align: center;
    font-size: 24px;
    line-height: 30px;
    padding: 10px 0;
    color: #fff;
    text-transform: uppercase;
    color: #ffd400;
}

.intro p {
    display: block;
    overflow: hidden;
    color: #fff;
    text-align: center;
    padding: 0 10px 15px;
    font-size: 18px;
    line-height: 26px;
    width: 688px;
    margin: auto;
}
.product-small.box .box-text span.qcdg {
    position: absolute;
    top: -20px;
    left: 0px;
    font-size: 11px;
    line-height: 13px;
    color: #1f4e95;
    background: #e8f1fb;
    border-radius: 2px;
    padding: 3px 6px;
}
/*************** HOMEPAGE ***************/

/*************** FOOTER ***************/
.ft-1 .icon-box h3 {
    display: block;
    font-size: 16px;
    color: #219653;
    text-transform: uppercase;
    line-height: 24px;
    margin-bottom: 0;
}

.ft-1 .icon-box p {
    font-size: 15px;
}

.ft-1 .icon-box svg {
    background-color: #219653;
    width: 45px;
    height: 45px;
    padding: 10px;
    border-radius: 50px;
}

.ft-1 .icon-box svg path {
    fill: #fff;
}

h4.title-ft {
    font-size: 16px;
    line-height: 18px;
    color: #fff;
    text-transform: uppercase;
}

p.text-ft {
    display: block;
    color: #fff;
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 0;
    padding: 5px 0;
}

p.text-ft a {
    color: #ffcb05;
    padding: 5px 0;
    font-size: 25px;
    line-height: 20px;
    font-weight: 700;
    display: block;
}

.ft-2 .col.medium-3.small-6.large-3 {
    padding-bottom: 0;
}

.absolute-footer .copyright-footer {
    padding: 16px 0 0;
    font-size: 11px;
    line-height: 14px;
    border-top: 1px solid #fff;
    color: #fff;
}
/*************** FOOTER ***************/


.post-sidebar input#s {
    border: 1px solid #e2e2e2;
    box-shadow:  none;
    border-top-left-radius:  5px;
    border-bottom-left-radius:  5px;
    transition:  border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    color:  #555;
}

.post-sidebar button.ux-search-submit.submit-button.secondary.button.icon.mb-0 {
    color: #fff;
    border:  1px solid;
    background-color:  #3A3B74;
    border-color:  #3A3B74;
    border-bottom-right-radius:  5px;
    border-top-right-radius:  5px;
}

.post-sidebar button.ux-search-submit.submit-button.secondary.button.icon.mb-0:hover {
    box-shadow:  none;
}

.post-sidebar input#s:focus {
    border-color:  #3A3B74;
}

.post-sidebar span.widget-title {
    font-size: 20px;
    font-weight: normal;
    color: #6d6d6d;
    padding-bottom: 12px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e2e2e2;
    text-transform:  none;
    /* line-height:  60px; */
    display:  block;
}

.post-sidebar .is-divider.small {
    display:  none;
}

.post-sidebar aside {
    margin: 0 0 40px 0;
}

.post-sidebar ul li a {
    font-size:  14px;
    color: #6d6d6d;
    transition:  all ease-in-out 0.2s;
}

.post-sidebar ul li a:hover {
    color:  #000;
}

.post-sidebar a.tag-cloud-link {
    font-size: 13px !important;
    padding: 6px 8px;
    line-height: 34px;
    background-color: #f1f3f4;
    white-space: nowrap;
    border-radius: 4px;
    -webkit-transition: all 0.15s linear;
    -moz-transition: all 0.15s linear;
    transition: all 0.15s linear;
}

.post-sidebar a.tag-cloud-link:hover {
    background-color:  #3A3B74;
    color:  #fff;
    text-decoration: none;
}

.entry-header .entry-image.relative {
    margin-top: 15px;
}

.entry-header .entry-image.relative .badge.absolute.top.post-date.badge-outline {
    display: none;
}


.entry-header .entry-header-text.entry-header-text-top.text-center {
    padding:  0;
    text-align:  left;
}

.entry-header h6.entry-category.is-xsmall {
    max-width: 100%;
    width:  auto;
    margin:  0;
    display:  inline-block;
    opacity: 1;
    transition: all 0.3s ease;
}

.entry-header .entry-meta.uppercase.is-xsmall {
    max-width: 100%;
    margin:  0;
    display:  inline-block;
    width:  auto;
}

.entry-header h6.entry-category.is-xsmall:before {
    content:  '\f02e';
    font-family:  "Font Awesome 5 Free";
    color:  #000;
    font-weight: normal;
    transition: all 0.3s ease;
}

.entry-header .entry-meta span.posted-on:before {
    content: '\f017';
    color:  #000;
    font-family:  "Font Awesome 5 Free";
    padding-right: 3px;
    transition: all 0.3s ease;
}

.entry-header .entry-meta span.byline:before {
    content:  '\f007';
    font-family:  "Font Awesome 5 Free";
    color:  #000;
    transition: all 0.3s ease;
}

.entry-header .entry-meta a {
    color:  #000;
    text-transform:  none;
    transition: all 0.3s ease;
}

.entry-header .entry-meta span.posted-on {
    padding-right:  20px;
}

.entry-header .entry-meta span.byline {
    padding-right:  20px;

}

.entry-header h6.entry-category.is-xsmall a {
    color:  #000;
    font-weight: normal;
    text-transform:  none;
    transition: all 0.3s ease;
}

.entry-header .entry-meta span.posted-on:hover:before, .entry-header .entry-meta span.posted-on:hover a, .entry-header .entry-meta span.byline:hover:before, .entry-header .entry-meta span.byline:hover a, .entry-header h6.entry-category.is-xsmall:hover:before, .entry-header h6.entry-category.is-xsmall:hover a {
    color:  #f27c66;
}


.entry-image-float .badge.absolute.top.post-date.badge-outline {
    display: none;
}

.chuyen-muc {
    display: flex;
    width: 100%;
}

.entry-image-float img.attachment-large.size-large.wp-post-image {
    width: 100%;
    transition: transform 3s;
    -webkt-transition: transform 3s;
    -moz-transition: transform 3s;
    border-top-left-radius: 10px;
    -ms-border-top-left-radius: 10px;
    -moz-border-top-left-radius: 10px;
    -webkit-border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
    -ms-border-bottom-right-radius: 10px;
    -moz-border-bottom-right-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
    border: 1px solid #cfcfcf;
    padding: 3px;
    border-top-left-radius: 10px;
    -ms-border-top-left-radius: 10px;
    -moz-border-top-left-radius: 10px;
    -webkit-border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
    -ms-border-bottom-right-radius: 10px;
    -moz-border-bottom-right-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
}

.chuyen-muc .entry-image-float a {
    overflow: hidden;
    padding-top: 65%;
    background-position: 50% 50%;
    background-size: cover;
}

.chuyen-muc .entry-image-float a img {
    right: 0;
    width: 100%;
    height: 80%;
    bottom: 0;
    left: 0;
    top: 0;
    position: absolute;
    object-position: 50% 50%;
    object-fit: cover;
    font-family: 'object-fit: cover;';
}

.entry-image-float {
    display:  inline-flex;
    max-width:  30%;
    width:  100%;
    margin: 0;
    /* border: 1px solid #cfcfcf; */
    /* padding: 3px; */
    /* border-top-left-radius: 10px; */
    -ms-border-top-left-radius: 10px;
    -moz-border-top-left-radius: 10px;
    /* -webkit-border-top-left-radius: 10px; */
    /* border-bottom-right-radius: 10px; */
    -ms-border-bottom-right-radius: 10px;
    -moz-border-bottom-right-radius: 10px;
    /* -webkit-border-bottom-right-radius: 10px; */
}

#post-list .entry-content {
    display: flex;
    margin-left: 20px;
    width: 70%;
    padding-bottom: 0;
}

#post-list footer.entry-meta.clearfix {
    display:  none;
}

#post-list .entry-content .text-center {
    float: right;
}

#post-list .entry-content .text-center a {
    margin:  0;
    text-transform:  none;
    border-radius:  5px;
}


#post-list a:hover img.attachment-large.size-large.wp-post-image {
    transform: scale(1.1, 1.1);
}

#post-list .entry-content span.posted-on {
    display:  block;
    font-size:  13px;
    color:  #000;
    padding-bottom:  5px;
    padding-top:  5px;
}

#post-list .entry-content span.posted-on:before {
    content: "\f017";
    font-family:  "Font Awesome 5 Free";
    padding-right:  5px;
    font-size:  13px;
}

#post-list .entry-content span.posted-on a {
    color:  #000;
}

#post-list .entry-content span.byline:before {
    content: "\f007";
    font-family:  "Font Awesome 5 Free";
    padding-right: 2px;
    padding-left: 1px;
    font-size:  13px;
    color:  #000;
}

#post-list .entry-content span.byline a {
    color:  #000;
    font-size:  13px;
    text-transform: none;
}

#post-list .entry-content p {
    font-size:  14px;
    color:  #000;
    text-align: justify;
}

.chuyen-muc .entry-meta.uppercase.is-xsmall {
    display:  inline-block;
    width:  50%;
}

.chuyen-muc .text-left {
    display:  inline-block;
    width: 49%;
}

.chuyen-muc .text-left a.more-link.button.primary.is-outline.is-smaller {
    margin:  0;
    float:  right;
    margin-top: 20px;
}



@media only screen and (max-width: 414px) {
.chuyen-muc {
    display:  block;
}

.entry-image-float{
    max-width: 100%;
}

.entry-content {
    margin-left:  0 !important;
    padding-top:  5px;
}

#post-list .entry-content h2.entry-title {
    text-align:  justify;
}

#post-list .entry-content  p {
    text-align:  justify;
}

.chuyen-muc .text-left {
    display:  inline-block;
    width: 48%;
}
}

@font-face {
  font-family: 'Font Awesome 5 Free';
  font-style: normal;
  font-weight: 900;
  font-display: auto;
  src: url("webfonts/fa-solid-900.eot");
  src: url("webfonts/fa-solid-900.eot?#iefix") format("embedded-opentype"), url("webfonts/fa-solid-900.woff2") format("woff2"), url("webfonts/fa-solid-900.woff") format("woff"), url("webfonts/fa-solid-900.ttf") format("truetype"), url("webfonts/fa-solid-900.svg#fontawesome") format("svg"); }

.fa,
.fas {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900; }
