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

body {
    font-size: 17px;
    line-height: 1.5;
}

h1 {
    font-size: 2em;
    line-height: 1.3;
    margin: 0 0 15px;
}
h2 {
    font-size: 1.8em;
    line-height: 1.3;
    margin: 0 0 15px;
}
h3 {
    font-size: 1.4em;
    line-height: 1.3;
    margin: 0 0 15px;
}
h4 {
    font-size: 1.2em;
    line-height: 1.3;
    margin: 0 0 20px;
}
h5 {
    font-size: 1.1em;
    line-height: 1.3;
    margin: 0 0 15px;
}
h6 {
    font-size: 1em;
    line-height: 1.3;
    margin: 0 0 15px;
    opacity: 1;
}
b, strong {
    font-weight: 700;
}
.banner h1, .banner h2, .banner h3 {
    font-weight: 700;
}
.uppercase, h6, span.widget-title, th {
    letter-spacing: 0;
    line-height: 1.3;
}
h6, span.widget-title, th {
    text-transform: inherit;
}
blockquote, dl, figure, ol, p, pre, ul {
    margin: 0 0 15px;
}
form {
    margin: 0;
}
.justify p {
    text-align: justify;
}
.icon-box .icon-box-left,
.icon-box .icon-box-right {
    display: flex;
}
.button {
    margin: 0;
    font-weight: 400;
}

input[type=email], input[type=number], input[type=search],
input[type=tel], input[type=text], input[type=url], textarea {
    border: 1px solid #dadada;
    padding: 8px 10px;
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    color: #666666;
    min-height: 2.7em;
    outline: none;
    box-shadow: none;
}
textarea {
    min-height: 8em;
}
.wpcf7-form label {
    color: #666666;
    font-weight: 400;
    margin: 0 0 0.1rem;
}
.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form select {
    margin: 0;
}
.wpcf7-submit-wrap {
    text-align: center;
    position: relative;
}
.wpcf7-submit-wrap input.wpcf7-submit {
    padding: 5px 10px;
    width: 12em;
    text-align: center;
    max-width: 100%;
    font-weight: 400;
    text-transform: none;
}
.hover-underline:hover {
    text-decoration: underline;
}
.back-to-top.button.is-outline {
    border: none;
    background: #363636;
    border-radius: 0 !important;
}
.back-to-top.button.is-outline:hover {
    background-color: var(--fs-color-primary);
}
/* Header */
.header .header-wrapper {
    border: none;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, .15);
}
/*.header-nav-main.nav-left {*/
    /*justify-content: space-between;*/
/*}*/
.header-nav-main.nav-left.nav>li {
    margin: 0 25px;
}
.nav>li>a {
    font-size: 1.05em;
    font-weight: bold;
}
.header-wrapper #logo img,
.header-wrapper.stuck #logo img {
    max-height: 82px !important;
}
h1.heading-logo {
    margin: 0;
}

/* Footer */
.footer-wrapper a {
    color: #ffffff !important;
}
.footer-wrapper .icon-box {
    display: flex;
    align-items: center;
}
.footer-wrapper .icon-box .icon-box-text {
    flex: none;
    padding-left: 6px;
}
.footer-wrapper .icon-box .icon-box-text p {
    margin-bottom: 0;
}
.footer-wrapper .icon-box-img {
    line-height: 1;
}
.footer-wrapper .icon-box-img svg,
.footer-wrapper .icon-box-img img {
    padding: 0;
}
.footer-wrapper .ux-menu-link {
    padding: 0 0 22px;
}
.footer-wrapper .ux-menu-link:last-child {
    margin-bottom: 0;
}
.footer-wrapper .ux-menu-link__link {
    padding: 0;
    min-height: auto;
}
.footer-wrapper .ux-menu-link__link:hover {
    text-decoration: underline;
}
.footer-wrapper .absolute-footer {
    display: none;
}

/* Trang chủ */
.flickity-page-dots {
    bottom: 36px;
}
.slider .flickity-prev-next-button svg {
    padding: 0;
    border: none;
    border-radius: 0;
    background: none !important;
    opacity: 1 !important;
}
.flickity-page-dots .dot {
    width: 14px;
    height: 14px;
    border: none;
    background: #ffffff;
    opacity: 0.8;
}
.flickity-page-dots .dot:hover,
.slider-nav-light .flickity-page-dots .dot.is-selected,
.slider-nav-light.slider-nav-dots-simple .flickity-page-dots .dot {
    opacity: 1;
    background: var(--primary-color);
}
.slider-gallery .flickity-slider .img {
    padding: 0 10px;
}

    /* Sản phẩm */
.page-wrapper {
    padding: 0;
}
.blog-single > .row {
    margin-top: 0 !important;
}
.blog-single > .row .col {
    padding-bottom: 0;
}
.blog-single .entry-header-text {
    padding-top: 0;
}
.blog-single .entry-divider {
    display: none;
}
.swiper-button-next-prev {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.1);
    transition: all 0.5s;
    -moz-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    background-size: auto !important;
    visibility: hidden;
}
.swiper-button-next-prev:hover {
    background-color: var(--primary-color);
}
.swiper-button-next-prev img {
    width: 15px;
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
}
.swiper-button-next-prev:after {
    display: none;
}
.swiper-button-next-prev.swiper-button-next {
    right: -20px;
}
.swiper:hover .swiper-button-next-prev.swiper-button-next {
    right: 0;
    visibility: visible;
}
.swiper-button-next-prev.swiper-button-prev {
    left: -20px;
}
.swiper:hover .swiper-button-next-prev.swiper-button-prev {
    left: 0;
    visibility: visible;
}
.swiper.single-gallery-slider .swiper-slide {
    text-align: center;
}
.swiper.single-gallery-slider .swiper-slide img {
    width: auto;
    max-width: 100%;
}
.swiper-pagination-bullets {
    text-align: center;
    padding-top: 20px;
}
.swiper-pagination-bullets .swiper-pagination-bullet:hover,
.swiper-pagination-bullets .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
}
.wp-video,
.wp-video-shortcode {
    width: 100% !important;
}
.wp-video-shortcode {
    margin-bottom: 15px;
}
.blog-single .title-single {
    margin-top: 45px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f2f2f2;
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 400;
}
.rank-math-breadcrumb {
    position: relative;
    padding-left: 21px;
}
.rank-math-breadcrumb a,
.rank-math-breadcrumb span {
    color: #999999;
    font-size: 110%;
    font-weight: 400;
}
.rank-math-breadcrumb a:hover {
    color: var(--primary-color);
}
.rank-math-breadcrumb a:first-child {
    display: inline-block;
    position: absolute;
    width: 21px;
    height: 21px;
    top: 0;
    left: 0;
    font-size: 0;
    background-image: url(https://qplaykids.com.vn/wp-content/uploads/2025/07/home-icon.svg);
    background-repeat: no-repeat;
    background-size: 18px;
    background-position: left center;
    opacity: 0.4;
}
.taxonomy-description p:last-child {
    margin-bottom: 0;
}
.post-item.col {
    padding-bottom: 10px;
}
.post-item .box {
    background: #fff;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}
.post-item .box:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.12);
    -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
    -webkit-transform: translateY(-5px);
}
.post-item .box .box-text {
    padding: 1.2em 1em;
}
.post-item .box .box-text .post-title {
    font-weight: normal;
    font-size: 120%;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: keep-all;
    overflow: hidden;
    text-align: center;
    margin: 0;
}
.post-item .box .box-text .post-title a {
    margin: 0;
}
.post-item .box:hover .box-text .post-title a {
    color: var(--primary-color);
}
ul.nav-pagination {
    margin: 1em 0 30px;
}
.nav-pagination>li>a, .nav-pagination>li>span {
    width: 36px;
    height: 36px;
    min-width: 36px;
    line-height: 34px;
    border: 1px solid #F2F2F2;
    font-weight: 400;
    border-radius: 0 !important;
}
.btn-return-cat {
    border-top: 1px solid #f2f2f2;
    padding-top: 1em;
    margin: 30px 0;
    text-align: right;
}
.btn-return-cat a {
    display: inline-block;
    border: 1px solid #dfdfdf;
    color: #333333;
    background: none;
    line-height: 2.2;
    text-decoration: none;
    padding: 0 1.5em;
}
.btn-return-cat a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
.header-wrapper #logo img, .header-wrapper.stuck #logo img {
    max-height: 60px !important;
}
	
	i.icon-menu {
    font-size: 25px !important;
    color: #003d4c;
}
	
	.flickity-page-dots {
    bottom: 4px;

}
	
	.flickity-page-dots .dot {
    width: 10px;
    height: 10px;
}
	
	.swiper-button-next-prev {
    width: 40px;
    height: 40px;
}

}