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

/*---------global-----------*/

/*---style tiêu đề bài viết trước sau---*/
.nav-previous,
.nav-next {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    height: auto;
}
/*---style giới hạn chữ bài viết---*/
.blog-archive h5.post-title.is-large {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    height: 2.6em;
}
.blog-archive p.from_the_blog_excerpt {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    height: 3em;
}

/*---style sidebar---*/
#shop-sidebar aside,
#product-sidebar aside,
.post-sidebar aside {
    background-color: #fff;
	padding: 5px;
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
    padding: 5px;
}
#shop-sidebar aside.widget.widget_search,
#product-sidebar aside.widget.widget_search,
.post-sidebar aside.widget.widget_search {
	padding: 0;
	border: 0 solid #eee;
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0);
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0);
}
#shop-sidebar .widget-title,
#product-sidebar .widget-title,
.post-sidebar .widget-title {
	padding: 20px;
	color: #fff;
	background-color: #0057b8;
	display: block;
}
#shop-sidebar .is-divider,
#product-sidebar .is-divider,
.post-sidebar .is-divider {
	height: 1.5px;
    display: block;
    background-color: rgba(0,0,0,0);
    margin: 0;
    width: 100%;
    max-width: 100%;
}
#shop-sidebar ul,
#product-sidebar ul,
.post-sidebar ul {
    font-size: 14px;
	font-weight: bold;
    border: 0px solid #ddd;
    border-radius: 0px;
    padding: 0;
    margin-top: 5px;
    background-color: #fff;
}
#shop-sidebar ul li,
#product-sidebar ul li,
.post-sidebar ul li {
    padding: 5px 10px;
}
#shop-sidebar ul li:nth-child(odd),
#product-sidebar ul li:nth-child(odd),
.post-sidebar ul li:nth-child(odd) {
    background-color: #fafafa;
}
/*#shop-sidebar ul li:hover,
#product-sidebar ul li:hover,
.post-sidebar ul li:hover {
    background-color: #ee5978;
}*/
#shop-sidebar ul li:hover a,
#product-sidebar ul li:hover a,
.post-sidebar ul li:hover a,
#shop-sidebar ul li:hover ins span,
#product-sidebar ul li:hover ins span,
#shop-sidebar ul li:hover del span,
#product-sidebar ul li:hover del span,
#shop-sidebar ul li:hover span.amount,
#product-sidebar ul li:hover span.amount {
	color: #ff6b00;
}

/*---style sub-menu---*/
#shop-sidebar li ul.sub-menu {
    border: 0 solid #f8f8f8;
    border-left: 3px solid #ececec;
    padding: 5px;
}
#shop-sidebar li ul.sub-menu li {
    background-color: #fff;
    border: 0;
    padding: 2px 10px;
}
#shop-sidebar li:hover ul.sub-menu li a {
    color: #334862;
}
#shop-sidebar li ul.sub-menu li:hover a {
    color: #ee5978;
}
/*---end style sub-menu---*/
#shop-sidebar ul.product_list_widget li,
#product-sidebar ul.product_list_widget li {
    list-style: none;
    padding: 15px 10px 15px 90px;
    min-height: 80px;
    position: relative;
    overflow: hidden;
    vertical-align: top;
    line-height: 1.33;
}
#shop-sidebar ul.product_list_widget li img,
#product-sidebar ul.product_list_widget li img  {
    top: 10px;
    position: absolute;
    left: 20px;
    width: 60px;
    height: 60px;
    margin-bottom: 5px;
    object-fit: cover;
    object-position: 50% 50%;
}

#shop-sidebar ul li+li,
#product-sidebar ul li+li,
.post-sidebar ul li+li {
    border-top: 1px solid #f8f8f8;
}
#shop-sidebar ul.product_list_widget li a:not(.remove),
#product-sidebar ul.product_list_widget li a:not(.remove) {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    height: 1.3em;
}
#shop-sidebar .recent-blog-posts a,
#product-sidebar .recent-blog-posts a,
.post-sidebar .recent-blog-posts a {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    height: 2.4em;
    color: #444;
}
#shop-sidebar span.post_comments.op-7.block.is-xsmall,
#product-sidebar span.post_comments.op-7.block.is-xsmall,
#product-sidebar span.post_comments.oppercase.op-7.block.is-xsmall,
.post-sidebar span.post_comments.op-7.block.is-xsmall {
    display: none;
}
#shop-sidebar .widget.widget_search,
#product-sidebar .widget.widget_search,
.post-sidebar .widget.widget_search {
    padding: 0px 0 0 0;
    border: 0px solid #eee;
}
#shop-sidebar input.search-field.mb-0,
#product-sidebar input.search-field.mb-0,
.post-sidebar input.search-field.mb-0 {
    height: 45px;
    border-radius: 3px 0 0 3px;
}
#shop-sidebar button.ux-search-submit.submit-button.secondary.button.icon.mb-0,
#product-sidebar button.ux-search-submit.submit-button.secondary.button.icon.mb-0,
.post-sidebar button.ux-search-submit.submit-button.secondary.button.icon.mb-0 {
    width: 45px;
    height: 45px;
    border-radius: 0 3px 3px 0;
}
#shop-sidebar .price_slider_wrapper {
    padding: 30px 15px 15px 15px;
    font-size: 0.8em;
}
#shop-sidebar .star-rating,
#product-sidebar .star-rating {
	display: none;
}

/*---style filter in sidebar---*/
ul.woocommerce-widget-layered-nav-list {
    max-height: 300px;
    overflow: auto;
    padding-right: 20px;
}
ul.product_list_widget {
    font-size: 14px;
}
/*---end style filter in sidebar---*/
/*---end style sidebar---*/

/*---style tab in product---*/
.product-footer .tabbed-content .nav-pills>li>a {
    padding: 0.5em 2.75em;
    border-radius: 0px;
    line-height: 2.5em;
    border: 1px solid #ddd;
	background-color: #eee;
	margin-right: 2px;
}
.product-footer .tabbed-content .nav-pills>li.active>a {
	background-color: #0057b8;
}
.product-footer .tabbed-content .nav-pills>li:hover>a {
    background-color: #ff6b00;
    color: #fff;
}

.mfp-content {
    min-width: 320px !important;
}

/*---z-index sidebar mobile---*/
.mfp-wrap {
	z-index: 900001;
}
/*--------end global--------*/


/*---------header-----------*/

/*---style active nav---*/
.header-main .nav > li {
	margin: 0 15px;
}
.header-main .nav > li:hover > a,
.header-main .nav > li.current-menu-item > a,
.header-main .nav > li.current-menu-parent > a,
.header-main .nav > li.current-post-parent > a,
.header-main .nav > li.current-product-parent > a,
.header-main .nav > li.current_page_parent > a,
.header-main .nav > li.current-product-ancestor > a {
    color: #ff6b00;
}

/*---style inine-item---*/
.inline-item {
    display: table;
    vertical-align: middle;
}
.inline-item .inline-item-thumb,
.inline-item .inline-item-content {
    display: table-cell;
    vertical-align: middle;
}
.inline-item .inline-item-thumb {
    width: 52px;
}
.inline-item .inline-item-content {
    padding-left: 8px;
}

.hotline-header .inline-item-content{
    font-size: 1.2em;
    line-height: 1.2;
}
.hotline-header .inline-item-content strong{
    color: #004aad;
}

@media screen and (max-width: 1210px) {
	.header-main .nav > li {
        margin: 0 8px;
    }
	.header-main .nav > li > a {
        font-size: .8em;
    }
    .inline-item .inline-item-thumb {
        width: 36px;
    }
    .hotline-header .inline-item-content{
        font-size: 1em;
        line-height: 1.2;
    }
}
@media screen and (max-width: 1025px) {
    #logo {
        width: 150px !important;
    }
}
@media screen and (min-width: 848px) and (max-width: 975px) {
    #logo {
        width: 120px !important;
    }
    .logo-left .logo {
        margin-left: 0;
        margin-right: 15px;
    }
    .header-main .nav > li {
        margin: 0 5px;
    }
    .header-main .nav > li > a {
        font-size: .75em;
    }
}
/*--------end header--------*/


/*---------content-----------*/
/*-----style contact form-----*/
.form-ct {
    width: 100%;
    margin: 0 auto;
    max-width: 100%;
}
.form-ct .form-row {
    padding: 5px;
    float: left;
    width: 100%;
    margin-bottom: 0;
}
.form-ct .form-row.w50 {
    width: 50%;
}
.form-ct input,
.form-ct textarea{
    margin-bottom: 0;
	box-shadow: inset 0 1px 2px rgba(0,0,0,0);
	border-radius: 3px;
}
.form-ct .center-txt {
    text-align: center;
}
.form-ct .center-txt input{
    min-width: 50%;
	border-radius: 3px;
}
.form-ct .wpcf7-form-control:focus {
    border-color: #f8b742;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(248, 183, 66, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(248, 183, 66, 0.6);
}
/*---end style contact form---*/

/*---style sh-title---*/
.sh-title {
    font-size: 1.8em;
    line-height: 1.3em;
}

/*---style btn-sui---*/
.btn-sui {
    padding: 5px 30px;
}
.btn-sui.white:hover {
    border: 2px solid #a0a0a0 !important;
}

/*-----style sh-list----*/
.sh-list {
	list-style-type: none;
}
.sh-list li {
	margin-left: 0 !important;
}
.sh-list li:before {
    content: "\f0da";
    font-family: FontAwesome;
    font-size: 0.8em;
    display: inline-block;
    vertical-align: baseline;
    margin: 0 10px 0 0;
    padding: 0.1em 0.65em;
    color: #ff7676;
	border: 1px solid #0b8acb;
	border-radius: 99px;
}
.sh-list li:hover:before {
	color: #ff6b00;
	animation-name: tada;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}


/*---style sh-post---*/
.sh-post .box.box-normal.box-text-bottom.box-blog-post.has-hover {
    border-radius: 10px;
    background-color: #f7f9f8;
    padding-bottom: 0;
	-webkit-box-shadow: 0 0 15px rgba(0,0,0,.01);
	box-shadow: 0 0 15px rgba(0,0,0,.01);
    -webkit-transition: all 0.3s linear;
    transition: all 0.3s linear;
    margin-top: 15px;
}
.sh-post .box.box-normal.box-text-bottom.box-blog-post.has-hover:hover {
    -webkit-box-shadow: 0 0 15px rgba(0,0,0,.2);
    box-shadow: 0 0 15px rgba(0,0,0,.2);
}
.sh-post img.attachment-original.wp-post-image {
    border-radius: 10px 10px 0 0;
}
.sh-post .box-text.text-left {
    padding: 1.2em;
    border-radius: 0 0 10px 10px;
}
.sh-post h5.post-title.is-large {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    height: 2.6em;
    margin-bottom: 0.5em;
    font-size: 1.2em;
}
.sh-post .post-meta.is-small.op-8 {
    margin-bottom: 1em;
}
.sh-post .post-meta.is-small.op-8:before {
    content: "\f073";
    font-family: FontAwesome;
    margin-right: 10px;
    color: #e5c128;
}
.sh-post .is-divider {
    display: none;
}
.sh-post p.from_the_blog_excerpt {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    height: 3em;
}
.sh-post button.button.is-link.is-small.mb-0 {
    text-transform: capitalize;
}
.sh-post button.button.is-link.is-small.mb-0:after {
    content: "\f0da";
    font-family: FontAwesome;
    display: inline-block;
    vertical-align: baseline;
    margin-left: 5px;
    color: #ff6b00;
}
/*---end style sh-post---*/

/*---style sh-price-table---*/
.sh-price-table .col-inner {
    padding: 1em;
	padding-top: 1.5em;
    border: 2px solid #ddd;
    border-radius: 10px;
	position: relative;
}
.sh-price-table .pt-header h3 {
    font-size: 1.2em;
    font-weight: 700;
}
.sh-price-table p {
    margin-bottom: 0.5em;
}
.sh-price-table .pt-cost {
    margin-bottom: 1em;
}
.sh-price-table .pt-cost.first strong {
    font-size: 1.5em;
}
.sh-price-table .icon-box {
    margin-bottom: 0.5em;
}
.sh-price-table .icon-box .icon-box-img {
    margin-top: -4px;
}
.sh-price-table .icon-box .icon-box-text {
    padding-left: 0.5em;
}
.sh-price-table .icb-height {
	/*min-height: 11.5em;
    position: absolute;
    bottom: 4em;*/
}
.sh-price-table .icb-height p {
	/*margin-bottom: 0.5em;*/
}
.sh-price-table table {
	margin-bottom: 0;
}
.sh-price-table td {
    border-bottom: 0 solid #ececec;
}

.sh-price-table.featured .col-inner {
	border: 2px solid #0b8acb;
	background: linear-gradient(135deg,rgba(250, 250, 250, 1) 0%, rgba(11, 138, 203, 0.25) 100%);
}
.sh-price-table.featured .col-inner:before {
    content: '';
    background-image: url('/wp-content/uploads/2025/09/christmas-star.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: -25px;
    right: -26px;
    width: 60px;
    height: 60px;
}
.sh-price-table.featured .sh-featured-title {
    font-size: 0.9em;
    position: absolute;
    top: -0.7em;
    left: 50%;
    transform: translateX(-50%);
}
.sh-price-table.featured .sh-featured-title span {
    color: #fff;
    background-color: #0b8acb;
    padding: 5px 15px;
    border-radius: 15px;
}


/*@media screen and (max-width: 1161px){
	.sh-price-table .col-inner {
		padding-bottom: 17.5em;
	}
	.sh-price-table .icb-height {
		min-height: 13em;
	}
}
@media screen and (max-width: 1138px){
	.sh-price-table .col-inner {
		padding-bottom: 18em;
	}
}
@media screen and (max-width: 1090px){
	.sh-price-table .col-inner {
		padding-bottom: 17.5em;
	}
}
@media screen and (max-width: 1075px){
	.sh-price-table .col-inner {
		padding-bottom: 18em;
	}
	.sh-price-table .icb-height {
		min-height: 13.5em;
	}
}
@media screen and (max-width: 1026px){
	.sh-price-table .col-inner {
		padding-bottom: 19em;
	}
	.sh-price-table .icb-height {
		min-height: 15em;
	}
}
@media screen and (max-width: 850px){
	.sh-price-table .col-inner {
		padding-bottom: 15em;
	}
	.sh-price-table .icb-height {
		min-height: 10em;
	}
}
@media screen and (max-width: 811px){
	.sh-price-table .col-inner {
		padding-bottom: 16.5em;
	}
	.sh-price-table .icb-height {
		min-height: 12em;
	}
}
@media screen and (max-width: 590px){
	.sh-price-table .col-inner {
		padding-bottom: 18em;
	}
	.sh-price-table .icb-height {
		min-height: 13.5em;
	}
}
@media screen and (max-width: 578px){
	.sh-price-table .col-inner {
		padding-bottom: 18em;
	}
}
@media screen and (max-width: 550px){
	.sh-price-table .col-inner {
		padding-bottom: 15em;
	}
	.sh-price-table .icb-height {
		min-height: max-content;
	}
}*/
/*---end style sh-price-table---*/
/*--------end content--------*/


/*---------footer-----------*/
.sec-footer {
    box-shadow: 0px -5px 20px rgba(0, 0, 0, .05);
}
.sec-footer,
.sec-footer p,
.sec-footer a {
    font-size: 16px;
}
.sec-footer h3 {
    font-size: 1.4em;
	position: relative;
    margin: 0;
    margin-bottom: 0.6em;
    padding-bottom: 1.3em;
}
.sec-footer h3:before {
    position: absolute;
    bottom: 0.6rem;
    content: '';
    left: 0%;
    width: 75px;
    height: 3px;
    background: #4e657b;
}
.sec-footer .icon-box-img {
    width: 20px !important;
}

/*---style sh-sidebar-footer---*/
.sh-sidebar-footer .widget_nav_menu {
    padding: 0;
}
.sh-sidebar-footer ul {
    margin: 0;
	margin-top: -5px;
}
.sh-sidebar-footer ul.menu>li+li, 
.sh-sidebar-footer .widget>ul>li+li {
	border-top: 1px dashed rgba(238, 238, 238, 0.3);
}
.sh-sidebar-footer ul li a:before {
    content: "\f005";
    font-family: FontAwesome;
    display: inline-block;
    vertical-align: baseline;
    margin: 0 15px 0 0;
}
.sh-sidebar-footer ul li:hover a:before {
	animation-name: tada;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

.sh-sidebar-footer ul > li:hover > a:before,
.sh-sidebar-footer ul > li.current-menu-item > a:before,
.sh-sidebar-footer ul > li.current-menu-parent > a:before,
.sh-sidebar-footer ul > li.current-post-parent > a:before,
.sh-sidebar-footer ul > li.current_page_parent > a:before,
.sh-sidebar-footer ul > li.current-product-parent > a:before,
.sh-sidebar-footer ul > li.current-product-ancestor > a:before {
    color: #ff6b00;
}
.sh-sidebar-footer ul > li:hover > a,
.sh-sidebar-footer ul > li.current-menu-item > a,
.sh-sidebar-footer ul > li.current-menu-parent > a,
.sh-sidebar-footer ul > li.current-post-parent > a,
.sh-sidebar-footer ul > li.current_page_parent > a,
.sh-sidebar-footer ul > li.current-product-parent > a,
.sh-sidebar-footer ul > li.current-product-ancestor > a {
    color: #ff7676;
}

/*---style form dang ky---*/
.form-dangky {
    margin-bottom: 0;
    display: inline-flex;
}
.form-dangky input#email-dang-ky {
    height: 40px;
    border-radius: 3px 0 0 3px;
	border-right: 0;
	box-shadow: inset 0 1px 2px rgba(0,0,0,0);
	margin-bottom: 0;
}
.form-dangky input#btn-gui {
    height: 40px;
    border-radius: 0 3px 3px 0;
	margin: 0;
}
.sh-hiden{
	display:none !important;
}
#btn-gui-icon {
    height: 40px;
    border-radius: 0 3px 3px 0;
    color: #02a010;
    background-color: #fff;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0);
    border: 1px solid #ddd;
    border-left: 0;
    cursor: pointer;
    width: 40px;
    line-height: 40px;
    text-align: center;
}

.absolute-footer {
    padding: 15px 0 15px;
}

/*-----style sticky Chat-----*/
.gsb-buttons {
	bottom: 65px;
}

a#top-link {
    margin-right: 14px;
}
/*--------end footer--------*/

/*-----style mobile mode-----*/
@media screen and (max-width: 849px){
	.sh-title {
    	font-size: 1.4em;
	}
}
/*---end style mobile mode---*/


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

}

/*---keyframes---*/
@-webkit-keyframes tada {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  10%,
  20% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
  }

  30%,
  50%,
  70%,
  90% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
  }

  40%,
  60%,
  80% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes tada {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  10%,
  20% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
  }

  30%,
  50%,
  70%,
  90% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
  }

  40%,
  60%,
  80% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}
