/*
Theme Name: kiniemchuong
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
@font-face {
    font-family: 'UTM Trajan Pro';
    src: url('./font/UTMTrajanProBold.eot');
    src: url('./font/UTMTrajanProBold.eot?#iefix') format('embedded-opentype'),
        url('./font/UTMTrajanProBold.woff2') format('woff2'),
        url('./font/UTMTrajanProBold.woff') format('woff'),
        url('./font/UTMTrajanProBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
p {
    font-size: 16px;
    color: #000;
    line-height: 1.6;
}
.button-ft {
    padding: 3px 10px 3px 3px;
    border: 1px solid #fff;
    border-radius: 30px;
    text-align: center;
    font-size: 15px;
    display: inline-block;
}
.button-ft i {
    padding: 9px;
    background: #fff;
    color: #74001b;
    border-radius: 50%;
    margin-right: 13px;
}
.titlex .section-title-main {
    background: #204296;
    color: white!important;
    clip-path: polygon(0% 0%,79% 0%,85% 50%,79% 100%, 0% 100% );
    width: 300px;
    padding-left: 10px;
	padding-top:5px;
}
span.hdevvn-show-cats li {
    display: block;
    width: auto;
    float: left;
    margin: 0 8px;
}
span.hdevvn-show-cats li a {
    padding: 8px 10px;
    color: #fff !important;
    background-color: #00297c;
    font-weight: 700;
    margin: 0 5px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 12px;
}
.section-title a {
	padding-right:10px;
    margin-left: auto;
    margin-right: 10px;
}
.titlex{
 padding-top:6px;
	padding-bottom: 0;
}
span.hdevvn-show-cats li a:hover{
	border: 1px dashed red;
}

.titlex .section-title-normal span{
	padding: 5px 0;
}
#wide-nav > .flex-row > .flex-left {
    width: 25%;
    max-width: 274px;
    min-width: 274px;
    margin-right: 0px;
}
#mega-menu-wrap{
    background: #522702;
}
#mega-menu-title{
    text-transform: uppercase;
    text-align: center;
}
.header-bottom-nav > li > a{
    padding: 0 10px
}

.icon-box-title {
    margin-bottom: 3px;
    color: #000000;
    font-size: 16px;
    font-weight: 500;
}
.icon-box-description {
    color: #E20000;
    font-size: 28px;
    font-weight: 600;
}
.searchform-wrapper:not(.form-flat) .submit-button {
    width: 65px;
    height: 40px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}
.header-main .icon-box-left .icon-box-img{
    height: 40px;
}
.header-main .header-block .row.align-center{
    align-items: center;
}
.header-main .icon-box.featured-box.icon-box-left.text-left{
    align-items: center;
}
.header-main .header-block .col{
    padding-bottom: 0;
}
li.header-search-form.search-form.html.relative.has-icon {
    width: 200px;
}
ul.header-nav.header-nav-main li a {
    font-weight: 300;
}
.header-nav-main .menu-item-design-default:hover {
    background: #A7A7A7;
    padding: 0px 5px;
}
input#woocommerce-product-search-field-0 {
    border: none;
    background-color: transparent !important;
    border-bottom: 1px solid;
    border-radius: 0;
}
.nav-dropdown .menu-item-has-children>ul{
    margin-left: 10px;
}
.nav-dropdown-default .nav-column li a:before{
    font-family: "Font Awesome 6 Free" !important;
    padding-right: 6px;
    font-weight: 600 !important;
    content: "\f0da";
}
.header-bottom .header-bottom-nav>li>a:hover{
    background-color: #c39209;
    color: white;
    font-weight: bold;
    text-decoration: none;
}
:not(.home) .header-bottom .header-bottom-nav>li.active>a{
    background-color: unset !important;
}
/*section service home*/
.page-title h1,.sec-4 h2,.sec-5 h2,.sec-6 h2, .sec-cate-pro h2, .sec-feature h2{
    font-family: 'UTM Trajan Pro';
    font-size: 32px;
    color: #18285c;
    line-height: 34px;
}
.service-home .post-item .blog-post-inner .button{
    border-radius: 99px;
    padding: 5px 20px 5px 20px;
    border: 1px solid #ddd;
    box-shadow: 2px 2px 0 #bbd430;
    text-transform: none !important;
}
.service-home .post-item h3.post-title{
    color: #000;
}
/*end section service*/
/*sec cate home*/
.card-cate .col-inner {
    position:relative;
    z-index:1;
    overflow:hidden;
    justify-content: flex-end;
     display: flex;
    flex-direction: column;
    aspect-ratio: 1;
    border-radius:1rem;
}
.card-cate .img {
    position: absolute;
    object-fit:cover;
}
.card-cate-inner {
    position:relative;
    padding: 0 1.5rem;
    background-color: #18285c;
    transform: translateY(100%);
    transition: all 0.5s ease;
}
.card-cate-inner .text p {
    color:white;
}
.card-cate-inner .text button {
    margin-bottom:0;
}
.card-cate-inner .heading {
    position:absolute;
    width:100%;
    bottom:100%;
    overflow:hidden;
    background-color: #18285c;
    padding: 1rem 1.5rem 1rem 1.5rem;
    left:0;
    border-top-right-radius: 1.8rem;
    border-top-left-radius: .8rem;
}
.card-cate-inner .heading h3 {
    color: white;
    margin-bottom:0;
    text-transform:uppercase;
}
.card-cate-inner button {
    background: white;
    border-radius:1.8rem;
}
.card-cate:hover .card-cate-inner, .card-cate:focus-within .card-cate card-cate-inner{
  transform: translatey(0);
}
.card-cate:hover .img {
transform: scale(1.2);
  filter: blur(5px);
    transition: all 0.8s ease;
}
.card-cate:hover .card-cate .heading, .card-cate:focus-within .card-cate .heading{
  overflow: hidden;
}
h1.shop-page-title.is-xlarge {
    order: 1;
    padding: 28px 0px;
    font-size: 30px;
    color: #18285c;
    text-transform: uppercase;
    margin-bottom: 0;
    font-family: 'UTM Trajan Pro';
}
.section-danhmuc span.section-title-main {
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.section-baiviet span.section-title-main, .section-danhgia span.section-title-main {
    color: #5A290E;
    font-family: "Roboto Slab", Sans-serif;
    font-size: 23px;
    font-weight: 600;
    text-transform: capitalize;
}
.box-blog-post .is-divider{
    display: none;
}
.text_des{
    color: #474747;
    font-size: 18px;
    font-weight: 300;
    font-style: italic;
    line-height: 1.5;
}
.section-danhgia .icon-box{
    align-items: center;
}
.section-danhgia .icon-box-img svg, .section-danhgia .icon-box-img img{
    width: 50px;
    height: 50px;
    border-radius: 999px;
    object-fit: cover;
}
.section-danhgia .icon-box-text h3{
    color: #000000;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 0;
}
.section-danhgia .icon-box-text p{
    color: #3e3e3e;
    font-weight: 400;
    font-size: 14px;
}
.section-danhgia .flickity-page-dots .dot{
    background: #000;
    width: 8px;
    height: 8px;
}
/*sec cam kết*/
.sec-6 h3 {
    font-size: 18px;
    color: #18285c;
    margin: 0 auto;
    display: flex;
    text-align: left;
    line-height: 24px;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
/*end sec camket*/
.section-footer{
    /*background-color: transparent;
    background-image: linear-gradient(180deg, #735737 0%, #2F2416 100%);*/
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
}
.section-footer h2{
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.thongtin-lienhe p{
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 10px;
}
ul.contact-info li a {
    font-size: 14px;
    font-weight: 300;
}
.widget .is-divider{
    /*display: none;*/
}
.post-sidebar span.widget-title {
    /*font-size: 16px;
    font-weight: 600;
    background-color: #34495e;
    color: #fff;
    padding: 10px;
    display: inherit;
    width: 100%*/
}
.post-sidebar .widget ul{
    /*padding: 10px 10px 10px 10px;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #DDDDDD;*/
}
.sub-cate ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
flex-wrap: wrap;
    row-gap:15px;
        margin-top:30px;
}
.sub-cate ul li a {
    border:1px solid #8888;
    padding:5px 10px;
    border-radius:12px;
    text-transform:capitalize;
    font-size: 16px;
}
.sub-cate ul li a:hover {
    background-color: #8888;  /* hoặc #333 nếu muốn đậm hơn */
    color: #fff;
}

@media (max-width:750px){
    .section-danhmuc span.section-title-main{
        font-size: 16px;
    }
    .sub-cate {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .sub-cate ul {
        flex-wrap: nowrap;
        justify-content: flex-start;
        width: max-content;
    }
}
@media (min-width: 1200px){
    .footer-widgets.footer.footer-1 .row .widget:first-child{
        max-width: 33.3333333333%;
        -ms-flex-preferred-size: 33.3333333333%;
        flex-basis: 33.3333333333%;
    }
    .footer-widgets.footer.footer-1 .row .widget{
        max-width: 16.6666666667%;
        -ms-flex-preferred-size: 16.6666666667%;
        flex-basis: 16.6666666667%;
    }
}

/*css tintuc*/
.entry-content.single-page h4 {
    color: #0070c1;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 14px 0 8px;
    padding: 6px 12px;
    border-left: 3px solid #0070c1;
    background: #f0f7ff;
    border-radius: 0 4px 4px 0;
}
/*tr:nth-child(even) td {
    background: #fff8ec;
}*/
.entry-content.single-page table tbody tr:first-child{
    background-color: #bbd430;
    color: #fff;
}
/*end css tintuc*/
.flex-custom p {
  display: flex;
    margin-right:-75px;
    margin-top:10px;
}
.flex-custom input.wpcf7-form-control.wpcf7-submit.has-spinner {
    background: orange;
    border-radius: 0 0.3rem 0.3rem 0;
}
.flex-custom input.wpcf7-form-control.wpcf7-email.wpcf7-validates-as-required.wpcf7-text.wpcf7-validates-as-email {
    border-radius: 0.3rem 0 0 0.3rem;
}
input.wpcf7-form-control.wpcf7-submit.has-spinner {
    width: 150px;
}
footer#footer p {
    font-size: 16px;
    font-weight: normal;
}
/*css woo*/
span.widget-title.shop-sidebar {
    display: block;
    font-size: 20px;
    color: #74001b;
    /* font-size: 36px; */
    color: #18285c;
    line-height: 30px;
    padding-bottom: 10px;
    padding-top: 10px;
}
.woocommerce-tabs.wc-tabs-wrapper.container.tabbed-content {
    margin-top: 40px;
}
ul.tabs.wc-tabs.product-tabs.small-nav-collapse.nav.nav-uppercase.nav-line.nav-left {
    border-bottom: 1px solid #cc2338;
    padding-bottom: 5px;
}
.woocommerce-tabs.wc-tabs-wrapper.container.tabbed-content ul li a {
    text-transform: none;
    font-size: 1rem;
    font-weight: normal;
    padding: 6px 28px;
    display: block;
    background-color: #e8e8e8;
    color: #333;
    line-height: 1.5;
    padding-bottom: 3px;
    border-radius: 0px;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
}
h1.product-title.product_title.entry-title {
    font-size: 26px;
    color: #18285c;
    margin-bottom: 5px;
}
.col-view h3, .related-products-wrapper h3 {
    border-bottom: 1px solid #d4d8da;
    padding-bottom: 10px;
    color: #CC2338;
    font-weight: bold;
    margin: 0 0 15px;
    font-size: 18px;
    position: relative;
    padding-top: 8px;
}
.col-view h3:after, .related-products-wrapper h3:after {
    bottom: -1px;
    height: 2px;
    content: "";
    left: 0;
    position: absolute;
    width: 60px;
    background-color: #333;
}
/*css nut goi*/
div.contact-gvt-opt {
    position: fixed;
    left: 15px;
    bottom: 40vh;
    z-index: 999;
    border-right: 0;
}
div#contact-gvt-right {
    position: fixed;
    left: auto;
    right: 0;
    bottom: 50px;
    z-index: 999;
    border-right: 0;
    width: 70px;
    background-color: #fff;
    padding: 10px 15px 10px 5px;
    box-sizing: border-box;
}
div#contact-gvt-right.contact-gvt-opt .item-opt-contact {
    margin-right: 0;
    background-color: transparent;
    border: 0;
    margin-bottom: 5px;
}
div.contact-gvt-opt .item-opt-contact {
    background-color: #336666;
    position: relative;
    border-radius: 17px;
}
div#contact-gvt-right .item-opt-contact a.contact-gvt-ads span {
    font-size: 0.8em;
    color: #222;
}
div#contact-gvt-right .item-opt-contact a.contact-gvt-ads img {
    width: 50px; 
    margin: auto;
/*    margin-bottom: -10px;*/
    border-radius: 100%;
    background-color: white;
    padding: 5px;
    border: 1px solid #cdcdcd;
    -webkit-animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
    animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
}
div#contact-gvt-right.contact-gvt-opt .item-opt-contact.call-btn-contact a.contact-gvt-ads img {
    background-color: #138311;
    }
.item-opt-contact:hover img {
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
    transition: all 0.3s ease;
}

@-webkit-keyframes phonering-alo-circle-anim {
    0% {
        -webkit-transform:rotate(0) scale(.5) skew(1deg);
        -webkit-opacity:.1
    }

    30% {
        -webkit-transform:rotate(0) scale(.7) skew(1deg);
        -webkit-opacity:.5
    }

    100% {
        -webkit-transform:rotate(0) scale(1) skew(1deg);
        -webkit-opacity:.1
    }
}

@-webkit-keyframes phonering-alo-circle-fill-anim {
    0% {
        -webkit-transform:rotate(0) scale(.7) skew(1deg);
        opacity:.2
    }

    50% {
        -webkit-transform:rotate(0) scale(1) skew(1deg);
        opacity:.2
    }

    100% {
        -webkit-transform:rotate(0) scale(.7) skew(1deg);
        opacity:.2
    }
}

@-webkit-keyframes phonering-alo-circle-img-anim {
    0% {
        -webkit-transform:rotate(0) scale(1) skew(1deg)
    }

    10% {
        -webkit-transform:rotate(-25deg) scale(1) skew(1deg)
    }

    20% {
        -webkit-transform:rotate(25deg) scale(1) skew(1deg)
    }

    30% {
        -webkit-transform:rotate(-25deg) scale(1) skew(1deg)
    }

    40% {
        -webkit-transform:rotate(25deg) scale(1) skew(1deg)
    }

    50% {
        -webkit-transform:rotate(0) scale(1) skew(1deg)
    }

    100% {
        -webkit-transform:rotate(0) scale(1) skew(1deg)
    }
}

@-webkit-keyframes fadeInRight {
    0% {
        opacity:0;
        -webkit-transform:translate3d(100%,0,0);
        -ms-transform:translate3d(100%,0,0);
        transform:translate3d(100%,0,0)
    }

    100% {
        opacity:1;
        -webkit-transform:none;
        -ms-transform:none;
        transform:none
    }
}

@keyframes fadeInRight {
    0% {
        opacity:0;
        -webkit-transform:translate3d(100%,0,0);
        -ms-transform:translate3d(100%,0,0);
        transform:translate3d(100%,0,0)
    }

    100% {
        opacity:1;
        -webkit-transform:none;
        -ms-transform:none;
        transform:none
    }
}

@-webkit-keyframes fadeOutRight {
    0% {
        opacity:1
    }

    100% {
        opacity:0;
        -webkit-transform:translate3d(100%,0,0);
        -ms-transform:translate3d(100%,0,0);
        transform:translate3d(100%,0,0)
    }
}

@keyframes fadeOutRight {
    0% {
        opacity:1
    }

    100% {
        opacity:0;
        -webkit-transform:translate3d(100%,0,0);
        -ms-transform:translate3d(100%,0,0);
        transform:translate3d(100%,0,0)
    }
}

@-webkit-keyframes phonering-alo-circle-anim {
    0% {
        -webkit-transform:rotate(0) scale(.5) skew(1deg);
        transform:rotate(0) scale(.5) skew(1deg);
        opacity:.1
    }

    30% {
        -webkit-transform:rotate(0) scale(.7) skew(1deg);
        transform:rotate(0) scale(.7) skew(1deg);
        opacity:.5
    }

    100% {
        -webkit-transform:rotate(0) scale(1) skew(1deg);
        transform:rotate(0) scale(1) skew(1deg);
        opacity:.1
    }
}

@keyframes phonering-alo-circle-anim {
    0% {
        -webkit-transform:rotate(0) scale(.5) skew(1deg);
        transform:rotate(0) scale(.5) skew(1deg);
        opacity:.1
    }

    30% {
        -webkit-transform:rotate(0) scale(.7) skew(1deg);
        transform:rotate(0) scale(.7) skew(1deg);
        opacity:.5
    }

    100% {
        -webkit-transform:rotate(0) scale(1) skew(1deg);
        transform:rotate(0) scale(1) skew(1deg);
        opacity:.1
    }
}

@-webkit-keyframes phonering-alo-circle-fill-anim {
    0% {
        -webkit-transform:rotate(0) scale(.7) skew(1deg);
        transform:rotate(0) scale(.7) skew(1deg);
        opacity:.2
    }

    50% {
        -webkit-transform:rotate(0) scale(1) skew(1deg);
        transform:rotate(0) scale(1) skew(1deg);
        opacity:.2
    }

    100% {
        -webkit-transform:rotate(0) scale(.7) skew(1deg);
        transform:rotate(0) scale(.7) skew(1deg);
        opacity:.2
    }
}

@keyframes phonering-alo-circle-fill-anim {
    0% {
        -webkit-transform:rotate(0) scale(.7) skew(1deg);
        transform:rotate(0) scale(.7) skew(1deg);
        opacity:.2
    }

    50% {
        -webkit-transform:rotate(0) scale(1) skew(1deg);
        transform:rotate(0) scale(1) skew(1deg);
        opacity:.2
    }

    100% {
        -webkit-transform:rotate(0) scale(.7) skew(1deg);
        transform:rotate(0) scale(.7) skew(1deg);
        opacity:.2
    }
}

@-webkit-keyframes phonering-alo-circle-img-anim {
    0% {
        -webkit-transform:rotate(0) scale(1) skew(1deg);
        transform:rotate(0) scale(1) skew(1deg)
    }

    10% {
        -webkit-transform:rotate(-25deg) scale(1) skew(1deg);
        transform:rotate(-25deg) scale(1) skew(1deg)
    }

    20% {
        -webkit-transform:rotate(25deg) scale(1) skew(1deg);
        transform:rotate(25deg) scale(1) skew(1deg)
    }

    30% {
        -webkit-transform:rotate(-25deg) scale(1) skew(1deg);
        transform:rotate(-25deg) scale(1) skew(1deg)
    }

    40% {
        -webkit-transform:rotate(25deg) scale(1) skew(1deg);
        transform:rotate(25deg) scale(1) skew(1deg)
    }

    50% {
        -webkit-transform:rotate(0) scale(1) skew(1deg);
        transform:rotate(0) scale(1) skew(1deg)
    }

    100% {
        -webkit-transform:rotate(0) scale(1) skew(1deg);
        transform:rotate(0) scale(1) skew(1deg)
    }
}

@keyframes phonering-alo-circle-img-anim {
    0% {
        -webkit-transform:rotate(0) scale(1) skew(1deg);
        transform:rotate(0) scale(1) skew(1deg)
    }

    10% {
        -webkit-transform:rotate(-25deg) scale(1) skew(1deg);
        transform:rotate(-25deg) scale(1) skew(1deg)
    }

    20% {
        -webkit-transform:rotate(25deg) scale(1) skew(1deg);
        transform:rotate(25deg) scale(1) skew(1deg)
    }

    30% {
        -webkit-transform:rotate(-25deg) scale(1) skew(1deg);
        transform:rotate(-25deg) scale(1) skew(1deg)
    }

    40% {
        -webkit-transform:rotate(25deg) scale(1) skew(1deg);
        transform:rotate(25deg) scale(1) skew(1deg)
    }

    50% {
        -webkit-transform:rotate(0) scale(1) skew(1deg);
        transform:rotate(0) scale(1) skew(1deg)
    }

    100% {
        -webkit-transform:rotate(0) scale(1) skew(1deg);
        transform:rotate(0) scale(1) skew(1deg)
    }
}
div#contact-gvt-right .item-opt-contact a.contact-gvt-ads span {
    display: inline-block;
    width: 100%;
    text-align: center;
}
@media (max-width: 767px){
    div.contact-gvt-opt{
        display: none;
    }
    div#contact-gvt-right.contact-gvt-opt .item-opt-contact {
       background-color: transparent;
       border: 0;
       width: 19%;
       text-align: center;
   }
    div#contact-gvt-right.contact-gvt-opt a.contact-gvt-ads img {
        margin-top: -20px;
        margin-bottom: 0;
        width: 45px;
        max-width: 55% !important;
    }
    div#contact-gvt-right.contact-gvt-opt .item-opt-contact.call-btn-contact {
        width: 24% !important;
    }
     div#contact-gvt-right.contact-gvt-opt .item-opt-contact.call-btn-contact a.contact-gvt-ads img {
        width: 80px !important;
        margin-top: -40px !important;
        max-width: 80% !important;
        background-color: #138311;
        padding: 15px;
        box-sizing: border-box;
    }

   div#contact-gvt-right {
        bottom: 0;
        display: flex;
        right: 0;
        left: 0;
        width: 100%;
        padding-bottom: 5px;
        background-color: #fff;
    }
    div#contact-gvt-right .item-opt-contact a.contact-gvt-ads span {
        color: #222;
        text-align: center;
        font-size: 0.9em;
        width: 100%;
        display: inline-block;
    }
    div.contact-gvt-opt .item-opt-contact .item-info-contact a.contact-gvt-ads img {
        width: 35px;
    }

}