/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
/*************** ADD CUSTOM CSS HERE.   ***************/
body {
	max-width: 100%;
	overflow: hidden;
}
.header-main .nav > li > a {
    font-weight: normal;
}
.header-main .nav > li.active > a {
    font-weight: 600;
}
.button.is-outline {
    border: 1px solid;
    font-weight: normal;
}
.button.primary:not(.is-outline) {
    background-image: linear-gradient(to top, #8CAFFE, #699DFF);
    font-weight: normal;
    border: none;
    padding: 0 20px;
    font-size: 14px;
}
.header-button .button {
    padding: 3px 20px;
}
.header-nav-main.nav-spacing-xlarge>li {
    margin: 0 16px;
}
.header-main .nav.nav-vertical > li > a {
    line-height: 20px;
}
.banner i {
    color: var(--primary-color);
}

.timeline {
    position: relative;
    padding-right: 50px;
    border-right: 2px solid #2f6df2;
    text-align: right;
}

.timeline-item {
    position: relative;
    margin: 30px 0;
}

.timeline .timeline-item::before {
    content: "";
    position: absolute;
    right: -60px;
    top: 14px;
    width: 20px;
    height: 20px;
    background-color: #77a3ff;
    border: 3px solid #0040a5;
    border-radius: 50%;
}

.timeline-item p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

.timeline-2 {
    position: relative;
    padding-left: 50px;
    border-left: 2px solid #2f6df2;
    text-align: left;
}
.timeline-2 .timeline-item::before {
    content: "";
    position: absolute;
    left: -60px;
    top: 14px;
    width: 20px;
    height: 20px;
    background-color: #77a3ff;
    border: 3px solid #0040a5;
    border-radius: 50%;
}

.list-check ul li {
    list-style: none;
    padding-left: 30px;
    position: relative;
    margin-left: 0;
}
.list-check ul li:before {
    content: '\f061';
    font-family: FontAwesome;
    position: absolute;
    left: 0;
    top: 0;
}
.post-meta {
    font-size: 14px;
}

@media only screen and (min-width: 1024px) {
    .widget ul.menu > li {
        position: relative;
    }
    .widget ul > li.has-child:hover >.sub-menu{
        display:block !important;
    }
    .widget ul.menu ul.sub-menu {
        display: none !important;
        position: absolute;
        width: 100%; 
        left:99%;
        top: 0;
        z-index: 999;
        border: 1px solid #e1e1e1 !important;
        background: #fff;
        margin: 0;
        padding: 0;
    }
    .widget .toggle{
        transform: rotate(-90deg);
        margin-right: 10px;
    }
    .widget ul.menu>li li {
        padding: 2px 0;
        border-bottom: 1px solid #e1e1e1;
    }
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    .blog-archive .post-sidebar.col {
        padding: 0 15px !important;
    }

}
/* */
body.nav-dropdown-has-border .nav-dropdown {
    border: none;
    padding: 0;
}
body.nav-dropdown-has-border .nav-dropdown a {
    padding: 10px !important;
    margin: 0 !important;
    border-radius: 0;
}
.post_comments  {
    display: none;
}

/* Sidebar */

/* */

/* */
.product-small.box ins *,
.product-small.box .price > .amount * {
    color: red;
    font-size: 16px;
}
.product-small.box del * {
    color: #333;
}
.product-small.box .product-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 20px;
    height: 40px;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #333;
}
.product-small.box:hover .product-title a {
    color: var(--primary-color);
}
.list-sp .badge, .product-small .badge {
    height: 26px;
    width: 45px;
}
.list-sp .badge .badge-inner, .product-small .badge .badge-inner, .blog-archive .badge .badge-inner {
    border-radius: 4px;
    font-weight: normal;
    font-size: 14px;
    background-color: #f9902e;
}
.badge-container {
    margin: 5px 5px;
}
ul.product_list_widget li a:not(.remove) {
    margin-bottom: 0;
}
ul.product_list_widget li img {
    border: 1px solid var(--primary-color);
}
ul.product_list_widget li .product-title {
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #333;
    font-weight: 600;
    line-height: 20px;
}
del {
    text-decoration: none;
}
del span.amount {
    font-size: 13px;
    text-decoration: line-through;
}

.widget_product_categories>ul>li {
    padding-left: 10px;
}
#shop-sidebar .product-categories .cat-item a:before, #shop-sidebar .filter-price a:before {
    content: '';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border: 1px solid #c3c3c3;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1 !important;
    margin-right: 0 !important;
    color: #fff;
    border-radius: 5px;
}
#shop-sidebar .product-categories .cat-item.active>a:before, #shop-sidebar .woocommerce-widget-layered-nav-list li.chosen a:before, #shop-sidebar .filter-price .active a:before {
    content: '\f00c';
    font-family: FontAwesome;
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    font-size: 10px;
}
#shop-sidebar .product-categories .cat-item a {
    font-size: 15px;
    color: #212529;
    position: relative;
    padding: 5px 0 5px 25px;
}
#shop-sidebar .product-categories .cat-item.active>a, #shop-sidebar .filter-price .active a {
    color: var(--primary-color);    
    font-weight: 500;
}
#product-sidebar li {
    margin-left:0;
    padding-left: 20px;
    position: relative;
}
#product-sidebar li:before {
    content: "\f00c";
    font-family: FontAwesome;
    width: 15px;
    height: 15px;
    line-height: 9px;
    display: inline-block;
    border-radius: 99px;
    padding: 3px;
    color: #fff;
    background-color: var(--primary-color);
    font-size: 10px;
    text-align: center;
    position: absolute;
    left: 0;
    top: 4px;
}
.woocommerce-product-gallery__image {
    border: 2px solid var(--primary-color);
}
.single-product .badge-container .badge {
    height: 30px;
}
.single-product .badge-container .badge-inner {
    font-size: 13px;
    font-weight: normal;
    border-radius: 5px;
    background: #ff5991;
}
.thong-bao {
    background: #ddf0ff;
    padding: 10px;    
    margin-bottom: 10px;
    border-radius: 4px;
    font-size: 14px;
    color: #000;
    margin-top: 8px;
}

.thong-bao ul {
    margin-bottom: 0;
}

.woocommerce-tabs .nav>li>a {
    font-size: 20px;
}

.product-info .single_add_to_cart_button {
    background-image: linear-gradient(to top, #8CAFFE, #699DFF);
    font-weight: normal;
}
.product-info .single_add_to_cart_button.wc-buy-now-btn {
    background: #ff0000 !important;
}

#main .blog-archive .page-news-1 {
    padding-top: 0;
}
.page-news-1 .blog-top {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.page-news-1 .blog-top .post-item:first-child {
    grid-row: span 4;
    padding-bottom: 0;
}
.page-news-1 .blog-top .post-item:first-child .box-blog-post {
    background-color: #f8f8f8;
}
.page-news-1 .blog-top .image-cover {
    border-radius: 4px;
}
.page-news-1 .blog-top .post-item:first-child .image-cover {
    border-radius: 10px;
}
.page-news-1 .box-text {
    padding-bottom: 0;
}
.page-news-1 .blog-top .post-item:first-child .box-text {
    padding: 21px;
    background: transparent;
}
.page-news-1 .blog-top .post-title {
    margin-bottom: 2px !important;
}
.page-news-1 .blog-top .post-item:first-child .post-title {
    margin-bottom: 18px !important;
}
.page-news-1 .blog-top .post-title a {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    margin: 0;
    font-size: 16px;
}

.page-news-1 .blog-top .post-item:first-child .post-title a {
    font-size: 18px;
    height: 48px;
}
.page-news-1 .blog-top .from_the_blog_excerpt {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    font-size: 14px;
    color: #555;
    line-height: 20px;
    margin: 0;
}
.page-news-1 .blog-top .post-item:first-child .from_the_blog_excerpt {
    -webkit-line-clamp: 4;
}
.page-news-1 .blog-top .post-item:nth-child(n+2) {
    padding-left: 10px;
    padding-bottom: 0;
}
.page-news-1 .blog-top .post-item:nth-child(n+2) .box-blog-post {
    display: flex;
    padding: 10px 15px;
    box-sizing: border-box;
    border: 1px solid #ededed;
    border-bottom: none;
}
.page-news-1 .blog-top .post-item:nth-child(n+2) .box-image {
    width: 34% !important;
    flex-shrink: 0;
}
.page-news-1 .blog-top .post-item:nth-child(n+2) .box-text {
    padding: 0 0 0 15px;
}
.page-news-1 .blog-top .post-item:last-child .box-blog-post {
    border-bottom: 1px solid #ededed;
}
.page-news-1 .post-title, .blog-wrapper .box-blog-post .post-title {
    font-size: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-height: 1.4;
    margin: 0;
    position: relative;
}
.page-news-1 .post-item:hover .post-title, .blog-wrapper .post-item:hover .box-blog-post .post-title {
    color: var(--primary-color);
}
.page-news-1 .from_the_blog_excerpt, .blog-wrapper .box-blog-post .from_the_blog_excerpt {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    color: #787878;
    line-height: 22px;
    font-size: 15px;
}
.page-news-1 .post-item .box-image .image-cover, .blog-wrapper .box-blog-post .box-image .image-cover {
    border-radius: 10px;
}
.post-item .post-meta:before {
    content: '\f073';
    font-family: FontAwesome;
    color: var(--primary-color);
    margin-right: 6px;
}


.story-post {
    /* width: 340px; */
    height: 277px;
    /* float: left; */
    position: relative;
    z-index: 1;
}
.story-post:before {
    position: absolute;
    content: "";
    top: 50%;
    z-index: -1;
    bottom: auto;
    left: 0;
    right: 0;
    background: #cecece;
}
.story-post:before {
    height: 1px;
}
.story-post .stroy-box {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
}
.story-post .stroy-box {
    display: block;
    bottom: auto;
    border: 1px solid var(--primary-color);
    background: #fff;
    padding: 5px;
    overflow: hidden;
    transition: all 0.4s ease;
}
.story-post .stroy-box {
    height: 87px;
}
.story-post.story-post-bottom .stroy-box {
    top: auto;
    bottom: 0;
}
.story-post:hover .stroy-box {
    color: #000;
    background: #fff;
}

.story-post .stroy-box .alignleft {
    float: left;
    border: 1px solid var(--primary-color);
    width: 72px;
    margin-right: 12px;
}
.story-post .stroy-box .txt-box {
    font-size: 1rem;
    color: #555;
}
.txt-box-nolimit {
    display: none;
    opacity: 0;
}
.txt-box-nolimit {
    display: none;
    opacity: 0;
}
.story-post .stroy-box .txt-box {
    font-size: 1rem;
    color: #555;
}
.story-post .stroy-box .txt-box ul li {
    list-style: none;
    margin: 0;
}
.story-post .circle {
    border: 3px solid #cecece;
    background: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -8px 0 0 -10px;
    display: block;
    z-index: 1;
}
.story-post .circle:after {
    animation-duration: 1s;
    border: 6px solid var(--primary-color);
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
    border-radius: 50%;
    visibility: hidden;
    -webkit-animation-duration: 1s;
    animation-iteration-count: infinite;
}
.story-post .strory-years {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.story-post .strory-years {
    color: #333;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    top: auto;
    bottom: 70px;
}
.story-post .strory-years .years {
    display: block;
}
.story-post.story-post-bottom .strory-years {
    bottom: auto;
    top: 70px;
}
.story-post .stroy-box:hover .txt-box-limit {
    display: none;
    opacity: 0;
}
.story-post .stroy-box:hover .txt-box-nolimit {
    display: block;
    opacity: 1;
}
.story-post .stroy-box:hover {
    height: 100%;
    overflow: auto;
}


.row-slider-custom.slick-initialized .slick-slide {
    padding: 0;
}
.slick-dots {
    text-align: center;
    margin: 30px auto 0;
}
.slick-dots li {
    list-style: none;
    display: inline-block;
    text-indent: -9999px;
    width: 10px;
    height: 10px;
    background-color: #000;
    opacity: .2;
    border-radius: 99px;
    margin: 2px 6px;
}
.slick-dots li.slick-active {
    background-color: var(--primary-color);
    opacity: 1;
}
.box-badge:hover .box-text .post-meta {
    color: #fff;
}

div#reviews.woocommerce-Reviews {
	max-width: 100%;
	border: 1px solid #ddd;
	padding: 20px;
}
.devvn_prod_cmt {
	max-width: 100%;
}

/* */
@-webkit-keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
    50% {
        -webkit-transform: scale(1.1);
        transform: scale(1.1)
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
}

@keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1)
    }
    50% {
        -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
        transform: scale(1.1)
    }
    100% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1)
    }
}
.pulse {
    transition: all 150ms linear 0s;
    animation-name: pulse;
    -webkit-animation-name: pulse;
    animation-delay: 1s;
    -webkit-animation-delay: 1s;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
}

blockquote {

    font-size: 110%;
    color:#666;

    margin: 0 auto;
    border-left:0px;
    margin-left: 20px;
    padding-bottom: 50px;
}
blockquote h1 {
    font-size: 3rem;
}
blockquote p {
    font-style: italic;
    margin-bottom: 0;
}
blockquote p::before,
blockquote p::after {
    content: "“";
    font-family: Georgia;
    font-size: 6rem;
    margin: -3rem 0 0 -4rem;
    position: absolute;
    opacity: 0.5;
    color:var(--primary-color);
}
blockquote p::after {
    content: "”";
    margin: -2rem -3rem 0 0;
}
blockquote cite {
    font-size: 1.5rem;
}

