/*
Theme Name: Flatsome Child
Description: Chỉnh sửa css cho theme Flatsome child
Author: Gonline
Template: flatsome
Version: 1.0
*/

/*************** Thêm css ở đây ***************/
html,
body {
    font-family: "Google Sans", sans-serif !important;
}
.flex-container {
    display: grid;
    grid-template-columns: 50% 50%;
}
.grid-item {
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.8);
    padding: 20px;
    font-size: 30px;
    text-align: center;
}
.woocommerce-EditAccountForm .woocommerce-form-row--last, /*Field "Last name" trong trang Chỉnh sửa tài khoản*/ 
.woocommerce-order-received .woocommerce-customer-details,
#billing_country_field, 
.woocommerce-view-order .woocommerce-customer-details /*Địa chỉ thanh toán trang "Mua thành công"*/ {
    display: none;
}
.margin-block {
    margin-bottom: 20px;
}
ul {
    list-style: none;
}
/* Thanh Breadcrumb */
.featured-title .page-title-inner {
    padding: 15px;
    min-height: 20px;
}
/* Header */
.header-nav.header-nav-main.nav {
    justify-content: center;
}
/* Trang Cửa Hàng */
.orderby {
    border-bottom: 1px solid #dfdfdf;
}
.orderby-item {
    display: inline-block;
    margin-right: 10px;
    text-transform: uppercase;
    font-size: 15px;
}
.header-cont-prod {
    display: flex;
    justify-content: space-between;
}
#shop-sidebar .widget.woocommerce,
#product-sidebar .widget.woocommerce {
    padding: 10px;
    box-shadow: 0 0 3px 0 #c1c1c1;
}
#shop-sidebar .widget.woocommerce .widget-title,
#product-sidebar .widget.woocommerce .widget-title {
    border-bottom: 1px solid #dfdfdf;
    padding-bottom: 10px;
    margin-bottom: 15px;
    display: block;
}
.widget_price_filter .ui-slider .ui-slider-handle {
    width: 9px;
    height: 9px;
    top: -3px;
}
.widget_price_filter .ui-slider-horizontal {
    height: 3px;
}
.widget_price_filter .price_slider_amount .button {
    font-size: 0.7em;
}
/*================ END ========================*/
/* 1 Sản phẩm */
.price-wrapper .price {
    display: flex;
    flex-direction: column-reverse;
}
/*================ END ========================*/
/* Trang Cửa hàng*/
.quantity + .button {
    font-size: 0.97em;
}
.product-short-description {
    box-shadow: 0 1px 3px -2px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    padding: 5px;
    margin-bottom: 10px;
    transition: 0.5s;
}
.product-short-description:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.22);
}
#product-sidebar {
    padding-top: 40px;
}
/*================ END ========================*/
/* Trang Thanh toán*/
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-edit-address .woocommerce-address-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 15px;
}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper p.form-row,
.woocommerce-edit-address .woocommerce-address-fields__field-wrapper p.form-row {
    width: 100%;
}
/*================ END ========================*/
/* Trang Mua thành công*/
.woocommerce-order-details,
.cart-collaterals,
.woocommerce-cart-form,
.woocommerce-cart .woocommerce-notices-wrapper,
.woocommerce-MyAccount-content,
.account-container.lightbox-inner {
    margin-top: 10px;
}
.name-block-acc,
.change-acc-block {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 15px;
}
.name-block-acc .woocommerce-form-row {
    width: 100%;
}
/*================ END ========================*/
/* Style Banner */
.carousel:hover .flickity-button {
    opacity: 1;
}
.carousel svg {
    border-radius: 50%;
    background: #446084;
    color: #fff;
}
.carousel-cell {
    width: 100%;
    margin-right: 10px;
    padding-top: 30%;
    background: #8c8;
    border-radius: 5px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.flickity-page-dots .dot.is-selected {
    background-color: #446084;
}
.flickity-page-dots .dot {
    border: 2px solid #446084;
}
/*================ END ========================*/
/* Style Slider Partner */
.partner-slider {
    background: white;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.125);
    height: 100px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
}
.partner-slider::before,
.partner-slider::after {
    background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
    content: "";
    height: 100px;
    position: absolute;
    width: 200px;
    z-index: 2;
}
.partner-slider::after {
    right: 0;
    top: 0;
    -webkit-transform: rotateZ(180deg);
    transform: rotateZ(180deg);
}
.partner-slider::before {
    left: 0;
    top: 0;
}
.partner-slider .slide-track {
    display: flex;
}
.partner-slider .partner-slide {
    height: 100px;
    width: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/*================ END ========================*/
/*Trang giới thiệu*/
.b-text-intro {
    line-height: 22px;
    color: #000;
    padding: 35px 55px;
    box-shadow: 0 0 4px 0 #c1c1c1;
    position: relative;
    max-width: 50%;
    margin: 20px auto;
    background: #fcfcfc;
}
.b-text-intro::before,
.b-text-intro::after {
    font: normal normal normal 30px/1 FontAwesome;
    color: #c1c1c1;
    position: absolute;
}
.b-text-intro::before {
    content: "\f10d";
    left: 15px;
    top: 10px;
}
.b-text-intro::after {
    content: "\f10e ";
    right: 15px;
    bottom: 10px;
}
.b-text-intro::first-letter {
    font-size: 50px;
    font-weight: 900;
    line-height: 50px;
    float: left;
    margin-right: 7px;
    font-family: -webkit-pictograph;
}
.b-affiliates {
    text-align: center;
}
.title-affiliates {
    display: flex;
    align-items: center;
    justify-content: center;
}
.title-affiliates .fa {
    font-size: 40px;
    color: #929292;
    margin-right: 10px;
}
.title-affiliates span {
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 600;
}
.affiliates-title-item {
    color: #929292;
    font-size: 17px;
}
/*================ END ========================*/
/*Trang liên hệ*/
.layout-contact {
    margin-top: 20px;
}
.b-contact-address .fa {
    background: #929292;
    border-radius: 50%;
    color: #fff;
    margin-right: 5px;
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
}
.b-contact-address .item-address {
    margin-bottom: 5px;
}
/*Footer*/
.ft-center {
    padding-top: 20px;
}
.ft-logo {
    margin-bottom: 10px;
}
.title-footer {
    text-transform: uppercase;
    margin-bottom: 0;
}
.ft-bottom-content {
    padding: 10px;
    text-align: center;
}

/* The actual timeline (the vertical ruler) */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
    content: "";
    position: absolute;
    width: 6px;
    background-color: white;
    top: 0;
    bottom: 10px;
    left: 50%;
    margin-left: -3px;
}

/* Container around content */
.qtrinh {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

/* The circles on the timeline */
.qtrinh::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 15px;
    right: -5px;
    background-color: white;
    border: 4px solid #ffffff;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

/* Place the container to the left */
.left {
    left: 0;
}

/* Place the container to the right */
.right {
    left: 50%;
}

/* Add arrows to the left container (pointing right) */
.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}

/* Add arrows to the right container (pointing left) */
.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}

/* Fix the circle for containers on the right side */
.right::after {
    left: -5px;
}

/* The actual content */
.content {
    padding: 10px 15px;
    background-color: white;
    position: relative;
    border-radius: 6px;
}
.bo-0 {
    /* position: absolute;
    bottom: 20px; */
    font-size: 22px;
    font-weight: 600;
    color: #004383;
}
.font-400 {
    font-weight: 400;
    font-size: 18px;
}
.box-image img {
    border: 1px solid;
    border-radius: 15px;
    max-height: 150px;
}
#image_bt img {
    max-height: 150px;
}
.box-image {
    border-radius: 10px;
    width: 20% !important;
}
#hotspot-290 .hotspots-placeholder {
    display: none;
}
.hotspots-container {
    margin-top: 20%;
}
.bt {
    border: 1px solid;
    border-radius: 20px 0 20px 0;
    padding: 20px;
    background: radial-gradient(circle, rgba(34,140,78,1) 0%, rgba(44,195,107,1) 100%);
    /* margin: 20px 20px 0 0  !important; */
    font-weight: 700;
    text-align: center;
}
.info-title {
    padding: 20px 0;
    text-align: center;
}

.user-info,
.home-info {
    display: flex;
    align-items: center;
}

.user-info__img img {
    margin-right: 15px;
    height: 55px;
    width: 55px;
    border-radius: 45px;
    border: 2px solid #228c4e;
    box-shadow: 0 2px 5px rgb(0 0 0 / 10%);
}

.img_avatar {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    border: 1px solid #fff;
}

.table tbody tr {
    box-shadow: 0 2px 10px rgb(0 0 0 / 10%);
    border-radius: 5px;
}

.table tbody tr td {
    background: #fff;
    margin-bottom: 10px;
}

.table td,
.table th {
    padding: 0.5rem;
}

.img-home img {
    width: 150px;
    height: 150px;
    border: 1px solid #fff;
    border-radius: 50%;
}
.main-content {
    padding-top: 100px;
    padding-bottom: 100px;
}

.stat-card {
    background: #fff;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.stat-card__icon-circle {
    height: 60px;
    width: 60px;
    border-radius: 60px;
    background: rgba(0, 123, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-card__icon-circle i {
    font-size: 30px;
    color: #007bff;
}

.stat-card__icon.stat-card__icon--success .stat-card__icon-circle {
    background: rgba(40, 167, 69, 0.2);
}

.stat-card__icon.stat-card__icon--success .stat-card__icon-circle i {
    color: #28a745;
}

.stat-card__icon.stat-card__icon--danger .stat-card__icon-circle {
    background: rgba(220, 53, 69, 0.2);
}

.stat-card__icon.stat-card__icon--danger .stat-card__icon-circle i {
    color: #dc3545;
}

.stat-card__icon.stat-card__icon--warning .stat-card__icon-circle {
    background: rgba(255, 193, 7, 0.2);
}

.stat-card__icon.stat-card__icon--warning .stat-card__icon-circle i {
    color: #ffc107;
}

.stat-card__icon.stat-card__icon--primary .stat-card__icon-circle {
    background: rgba(0, 123, 255, 0.2);
}

.stat-card__icon.stat-card__icon--primary .stat-card__icon-circle i {
    color: #007bff;
}
.person-name {
    font-size: 15px;
    color: #228c4e;
    font-weight: 600;
}
.box-image img {
    border: none;
}
.image-cover img {
    object-fit: fill;
}
.home-card .box-image {
    width: 50% !important;
}
.laptop {
    display: none;
}
#content{
	min-height: 768px;
}
/*************** Css cho mobile ở đây ***************/
/* @media screen and (min-width: 49em) and (max-width: 768px) { */
@media screen and (min-width: 768px) {
   
    #image_1726750159 {
        width: 200px !important;
    }
    .bo-0 {
        font-size: 18px !important;
    }
    .font-400 {
        font-size: 14px !important;
    }
}
@media only screen and (max-width: 48em) {
    .laptop {
        display: block;
    }
    .box {
        align-items: center;
    }
    .person-name {
        font-size: 13px !important;
        color: #228c4e;
        font-weight: 600;
    }
    .box-image,
    .box-vertical .box-image {
        border-radius: 10px;
        width: 200px !important;
    }
    .box-text {
        padding-left: 20px;
    }
    .mobile {
        display: none;
    }
    .box {
        display: flex;
    }
    .hotspots-container {
        display: none;
    }
    .bo-0 {
        font-size: 13px;
    }
    .font-400 {
        font-weight: 400;
        font-size: 12px;
    }
    .header-cont-prod {
        display: block;
    }
    #shop-sidebar .widget.woocommerce,
    #product-sidebar .widget.woocommerce {
        padding: 0;
        box-shadow: none;
    }
    .woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
    .woocommerce-edit-address .woocommerce-address-fields__field-wrapper,
    .name-block-acc,
    .change-acc-block {
        grid-template-columns: 1fr;
    }
    .b-text-intro {
        padding: 33px 15px;
        max-width: 100%;
        margin: 10px;
    }
    .b-text-intro::before,
    .b-text-intro::after {
        font: normal normal normal 25px/1 FontAwesome;
    }
    .b-text-intro::before {
        left: 8px;
        top: 7px;
    }
}
