/* Overall */
#main_index{
    overflow: hidden;
    padding-bottom: 0px !important;
}
a:hover{
    text-decoration: unset;
}
:root{
    --primary-color: #e81f29;    
}

@media (min-width: 576px) {
  :root{
        --section-width: 540px;
    }    
}

@media (min-width: 768px) {
  :root{
        --section-width: 720px;       
  }
}

@media (min-width: 992px) {
  :root{
        --section-width: 960px;
    }      
}

@media (min-width: 1200px) {
  :root{
        --section-width: 1140px;
    }      
}

@media(min-width:1400px){
    :root{
        --section-width: 1240px;
    }
}    
/* Keyframes */
@keyframes speedy{
    0%, 100%{
        transform: translateX(0);        
    }
    50%{
        transform: translateX(-15px);
    }
}

/* Text */
.title-wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #a1a1a1;
    padding-bottom: .5rem;
}
h2.title-style,
h2.main-title-style{
    font-size: clamp(1.45rem, 2vw, 2vw);
    font-style: italic;
    border-left: .45rem solid #fff;
    line-height: 1;
    padding-left: 1rem;
    font-weight: 700;
    border-color: var(--primary-color);
    
    &.white-style{
        color: #fff;        
    }
}
h2.main-title-style{
    font-size: clamp(1.75rem, 2.15vw, 2.15vw);
}
h1.company-tag{
    font-size: clamp(1.8rem, 2.15vw, 2.15vw);
    font-weight: 600;
    font-style: italic;
    margin-top: 2rem;
}
p.content{
    color: #fff;
    font-size: clamp(.85rem, 1vw, 1vw);
    font-weight: 300;    
}

.hp_services .main-title-style,
.hp_news .main-title-style{
    width: fit-content;
    margin: auto;
}

@media(max-width:1200px){
    h1.company-tag{
        margin-top: 1rem;
    }
}

@media(max-width:568px){
    .title-wrapper{
        flex-direction: column;
        align-items: start;        
    }
}

/* Btn */
.main-btn{
    position: relative;
    color: #fff;
    font-size: clamp(.75rem, .95vw, .95vw) !important;
    font-weight: 700;
    display: flex;    
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    
    &:after{
        position: absolute;
        content: "";
        width: 100%;
        height: 120%;
        background: url(https://cdn1.npcdn.net/images/B_banner_viewmore_shape_jcsnb8_1764212348.png?md5id=f4f544fdb5f766db8ee639797d3c38cb&new_width=456&new_height=150&type=4);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        right: -30%;
        top: -10%;
        z-index: -1;
        transition: all .3s linear;
    }    
    
    span{
        width: 22px;
        transition: all .3s linear;
    }          
}
.main-btn:hover{
    color: #fff;
    
    &:after{
        transform: scaleX(1.35) skewX(5deg);
    }
}

.sub-btn{
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: clamp(.95rem, 1.12vw, 1.12vw) !important;    
    padding: 0;
    
    white-space: nowrap;
    span{
        width: clamp(2.5rem, 3.5vw, 3.5vw);
        display: inline-flex;
        transition: all .3s linear;
    }
    
    &:hover span{
        transform: translateX(-30px);
    }
}

/* Nav */
.navbar_type8 {
    background-color: #fff;
    position: absolute;
    box-shadow: 0px 1px 12px #e6e6e6;
}
.dark_nav{
    background-color: #fff !important;
    position: fixed;
}
.navbar_type8 .logo {
    display: none;
}
.navbar_type8 .nav_tab {
    flex: 0 1 100%;
    justify-content: space-between;
    margin: auto;
    padding: 0;
}
.navbar_type8 .nav_tab .nav_item::before {
    top: 110%;
    border-bottom: 3px solid #4b4b4b;
    display: none;
}
.navbar_type8 .nav_tab .active {
    color: #000 !important;
}
.navbar_type8 .nav_tab .nav_item a{
    color: #000;
    font-size: clamp(.9rem, 1vw, 1vw);
    font-weight: 700;
    padding: 15px 0px;
    text-transform: uppercase;
}
.navbar_type8 .nav_tab .nav_item a:hover{
    color: var(--primary-color);
}
.navbar_type8 .nav_tab .nav_item{
    text-transform: capitalize;
}
.editor {
    position: relative;
    z-index: 999;
    border-bottom: 1px solid;
}
.editor a:hover{
    text-decoration: none;
    color: var(--primary-color) !important;
}
.topcontact{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.topicon{
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.topicon.scroll_menu {
    position: fixed;
    z-index: 9999;
    top: 30px;
    right: 15%;
    width: auto;
}
.topicon > div{
    /*! margin-right: 25px; */
}
.editor .login .dropdown-menu {
    z-index: 1;
    background-color: transparent;
    top: 20px;
    border: none;
    -webkit-animation: swing-in-top-fwd 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
    animation: swing-in-top-fwd 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
    right: auto;
    left: 0;
    -webkit-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    text-align: left;
    position: absolute;
    float: left;
    min-width: 10rem;
    padding: .5rem 0;
    margin: .125rem 0 0;
    font-size: 1rem;
    color: #212529;
    list-style: none;
    background-clip: padding-box;
    border-radius: .25rem;
}
.editor .login .dropdown-menu .dropdown-item a {
    position: relative;
    text-overflow: ellipsis;
    overflow: hidden;
    outline: transparent;
    padding: 0.5rem 1rem !important;
    color: #fff;
    font-size: 14px;
}
.editor .login .dropdown-menu .dropdown-item a:hover{
    text-decoration: none;
    background: #454343;
}
.editor .login .dropdown-menu .dropdown-item {
    background-color: rgba(75, 75, 75, 0.9);
    display: flex;
    flex-direction: column;
    max-width: 350px;
    min-width: 150px;
    padding: 0;
}
.editor.login:focus .dropdown-menu, .editor .login:hover .dropdown-menu {
    display: block;
}
.editor .login {
    max-width: 150px;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 0;
    display: flex;
    position: relative;
}
.editor .shopping{
    margin-right: 10px;
    display: flex;
}
.editor .shopping > a {
    display: flex;
    padding: 0 15px 0 0 !important;
}
.editor .shopping > a:hover{
    text-decoration: none;
}
.editor .shopping .fa-shopping-cart, .editor .fa-user, .editor .fa-search{
    font-size: 18px !important;
    color: var(--primary-color);
}
.editor .shopping .bi-cart3, .editor .bi-person-plus, .editor .bi-search{
    color: var(--primary-color);
}
.editor .shopping .bi-cart3{
    font-size: 18px;
}
.editor .bi-person-plus{
    font-size: 20px;
}
.editor .bi-search{
    font-size: 15px;
}
.editor .topicon.scroll_menu .shopping .fa-shopping-cart, .editor .topicon.scroll_menu .fa-user, .editor .topicon.scroll_menu .fa-search{
    font-size: 20px !important;
}
.editor .shopping .badge {
    font-size: 90%;
}
.nav_search {
    flex-grow: 1;
    display: flex;
    max-width: 100%;
    align-self: center;
    margin-bottom: -5px;
    border: 1px solid #e0dede;
    box-shadow: 0px 0px 7px rgb(191 191 191 / 65%);
}
.editor .scroll_menu .nav_search{
    border: none;
}
.nav_search input {
    background: rgba(240, 242, 245, 1);
    width: 100%;
    height: 45px;
    border: 0;
    box-shadow: none;
    padding: 5px 60px 5px 25px;
    border-radius: 0;
    max-height: 45px;
}
.nav_search .search_button {
    background-color: #f0f2f5;
    color: white;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 15px;
    max-height: 45px;
    
    .fa-search{
        color: #000;
    }
}
.boxSearch .fa-search{
    font-size: 18px !important;
}
.dark_nav.sticky-search{
    margin-top: 60px;
}
.btnSearch {
    position: relative;
    z-index: 999;
    cursor: pointer;
    transition: all .43s ease-in-out;
}
.boxSearch {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
}
.scroll_menu .boxSearch {
    display: none;
    position: absolute;
    top: 60px;
    left: -265px;
    width: 300px;
}
.btnClose .fa-search:before {
    content: "\f00d";
    font-size: 23px;
    vertical-align: bottom;
    margin-right: 0px;
}
.editor .scroll_menu .btnClose .fa-search:before{
    font-size: 20px;
}
.editor .scroll_menu .boxSearch .bi-search{
    transition: all .3s ease;
}
.editor .fa-search{
    line-height: 24px;
}
.nav_search .search_button:hover .bi-search{
    color: #b7b7b7;
}
.nav_search .search_button:focus{
    outline: none;
}
.navbar_type8 .nav_tab .login, .navbar_type8 .nav_tab .shopping{
    display: none;
}
.dark_nav .nav_tab {
    padding-right: 170px;
}
#main_index .m_editor{
    display: none;
}
.m_editor{
    display: none;
}

/* Banner */
.slider_banner .banner_content{
    overflow: hidden;
}
.hp_banner{
    height: 100%;
}
.b_wrapper{
    height: 100%;
    position: relative;
}
.b-content{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 6%;             
    font-size: 1.35rem;
    display: grid;
    place-content: center;
    padding-top: 10%;
    
    .title-box{
        color: #fff;        
        
        h6{    
            font-size: clamp(70%, 1.5vw, 90%);
            font-weight: 400;
            position: relative;
            
            &:after{
                position: absolute;
                content: "";
                width: 3vw;
                height: 1.5px;
                background: #fff;
                bottom: 0;
                left: 72%;
                animation: speedy 3.5s linear infinite;
            }
        }
        
        h2{
            font-size: clamp(100%, 3.65vw, 210%);
            font-style: italic;
            font-weight: 700;
            text-shadow: 2px 5px 5px #222;
            
            span{
                /*! color: var(--primary-color); */
            }
        }       
        
        &:before{
            display: block;
            content: "";
            width: clamp(3rem, 6vw, 6vw);
            height: 1.5px;
            background: #fff;
            margin-left: -2%;
            margin-bottom: 2rem;
            animation: speedy 3s linear infinite;
        }
        
        &:after{
            display: block;
            content: "";
            width: clamp(7rem, 17vw, 17vw);
            height: 1.5px;
            background: #fff;
            margin: 5% 0 3.5%;
            margin-left: -1.5%;
            animation: speedy 3.5s linear infinite;
            
        }
    }   
    
    p.content{
        color: #efefef;
        font-size: clamp(50%, 2vw, 70%);
        width: 65%;
        line-height: 1.7;
        font-weight: 300;
        margin-bottom: 1rem;
    }
}
.b-motor{
    position: absolute;
    width: clamp(35%, 40%, 40%);
    right: 16%;
    top: 24%;
    pointer-events: none;
}

.b-arrows{
    position: absolute;
    right: 7%;
    top: 32%;
    display: flex;
    gap: 3rem;
   
    .a-btn{
        width: clamp(1rem, 2.5vw, 2.5vw);
        cursor: pointer;
    }
}

@media(min-width:768px){
    .slider_banner .item[data-slick-index="2"]{    
        .b-motor{
            top: 17%;
        }    
    }
}

@media(max-width:1300px){
    .b-content{
        padding: 0 0 8%;        
    }
}

@media(max-width:768px){
    .slider_banner .item > img{
        min-height: 100vw;
        object-fit: cover;        
    }
    .b-arrows{
        top: unset;
        bottom: 5%;
        gap: 1.5rem;
        
        .a-btn{
            width: 2rem;
        }
    }
    
    .b-content{
        top: 8%;    
        bottom: unset;
        left: 0;
        padding: 0 2rem;
        
        p.content{
            width: 70%;
            margin-bottom: 1rem;
        }
        
        .title-box {
            h6{
                font-size: 85%;
            }
            h2{
                font-size: 175%;
            }    
        }
                
    }
    
    .b-motor{
        top: unset;
        width: clamp(51%, 70%, 70%);
        left: 18%;
        bottom: 10%;        
    }
    
    .slider_banner .item[data-slick-index="2"]{    
        .b-motor{
            width: 80%;
            top: 40%;
            left: 13%;
        }    
    }
}

@media(max-width:568px){
    .slider_banner .item > img{
        min-height: 160vw;
    }
    .banner_content{
        background: linear-gradient(to bottom, rgba(0, 0, 0, .45) 0%, transparent 80%);
    }
    
    .b-content{
        top: 4%;
    }
    .b-content .title-box:before{
        margin-bottom: 1rem;
    }
    .b-content .title-box h6{
        font-size: 70%;
    }
    .b-content .title-box h6::after{
       display: none;
    }
    
    .b-content .title-box h2{
        font-size: 130%;
        text-shadow: unset;
    }
    .b-content p.content{
        font-size: 65%;
        width: 100%;        
    }
    
    .b-motor{
        width: 90%;
        left: 5%;
    }
}

/* About */
.abt-bg{
    position: relative;
}
.abt-content{
    position: absolute;
    top: 50%;
    right: 0;
    width: 50%;    
    transform: translateY(-50%);
    padding-right: 13%;
}
.abt-content p{
    margin-bottom: 2rem;
}

@media(max-width:1200px){
    .abt-bg img{
        min-height: 400px;
        object-fit: cover;
        object-position: left;
    }
    .abt-content{
        width: 40%;
        padding-right: 5%;
    }
    .abt-content p{
        margin-bottom: 1rem;
    }
}

@media(max-width:991px){
    .abt-bg img{
        height: 500px;
        object-fit: cover;
        object-position: -350px 0;
    }
    .abt-content{
        width: 50%;
    }
}

@media(max-width:768px){
    .abt-bg img{
        width: 100%;
        height: 800px;
        object-fit: cover;
        object-position: bottom;
    }
    .abt-content{
        top: 0;
        transform: unset;
        width: 100%;
        padding: 5rem;
    }
}

@media(max-width:568px){
    .abt-bg img{
        height: 200vw;
    }
    .abt-content{
        padding: 2rem;
    }
}

/* Category */
.hp_category{
    padding: 5rem 0 3rem;
}

.hp_category .container{
    max-width: 100%;
    padding: 0 6%;    
}

.cat-slider .slick-list{
    margin: 0 -.85rem;
}
.cat-box{
    position: relative;
    margin: 2.5rem .85rem;
    overflow: hidden;
}
.cat-bg img{
    transition: all .3s linear;
}
.cat-title{
    color: #fff;
    font-size: clamp(1rem, 1.65vw, 1.65vw);
    font-weight: 700;    
    position: absolute;
    bottom: 0;
    left: 0;
    background: #000;
    width: 100%;   
    height: 70px;
    opacity: .65;
    padding: .75rem 2rem;      
    display: grid;
    place-content: center left;
    transition: all .3s linear;
}
.cat-box:hover .cat-title{
    height: 100%;  
    opacity: .85;
}
.cat-box:hover .cat-bg img{
    transform: scale(1.35);
}

.cat-slider .slick-next{
  right: -60px;
  width: 35px;
  height: 35px;
}
.cat-slider .slick-next:before{
  display: block;
  content: "";
  background: url(https://cdn1.npcdn.net/images/D_product_next_icon_qipayh_1764227665.png?md5id=f4f544fdb5f766db8ee639797d3c38cb&new_width=150&new_height=150&type=4);
  background-size: contain;
  width: 100%;
  height: 100%;
  opacity: 1;
}

.cat-slider .slick-prev{
  left: -60px;
  width: 35px;
  height: 35px;
}
.cat-slider .slick-prev:before{
  display: block;
  content: "";
  background: url(https://cdn1.npcdn.net/images/D_product_previous_icon_if3np9_1764227665.png?md5id=f4f544fdb5f766db8ee639797d3c38cb&new_width=150&new_height=150&type=4);
  background-size: contain;
  width: 100%;
  height: 100%;
  opacity: 1;
}

@media(max-width:991px){
    .cat-slider .slick-next,
    .cat-slider .slick-prev{
        display: none !important;
    }
}

/* Products */
.index_wrapper_5{
    padding-bottom: calc(5rem - 10px);
}
.index_wrapper_5 > .container{
    max-width: 100%;
    padding: 0 6%;
}
.product_slider_c_0 .slick-list {
  margin: 0px -0.6rem;
}
.hp_product{
    margin-bottom: 1.25rem;
}
.hp_product .container{
    max-width: 100%;
    padding: 0 20px;
}

.productSlider-1 .product_img .product_box{
    background: #3d3d3d;
    margin: 0;
    border: unset;
    padding: 1rem;
    transition: all .3s linear;
    
    &:hover{
        transform: translateY(10px);
        border-radius: 1rem;
    }
}
.productSlider-1 .slick-track .slick-slide{
    box-shadow: unset;
    margin: 10px .85rem;
}
.productSlider-1 .product_img .product_box .product_img_frame img{
    border-radius: 0;
    background: #fff;
}
.productSlider-1 .product_img .product_box h6{
    color: #fff;
    font-size: clamp(1rem, 1.15vw, 1.15vw);
}
.productSlider-1 .product_img .content{
    margin: 1.5rem 0 .5rem !important;
}
.productSlider-1 .product_img .content p{
    color: #fff;
    margin-bottom: 0;
    font-weight: 300;
}
.productSlider-1 .product_img .content h6.align-top{
    display: none;
}

.productSlider-1 .slick-next{
  right: -60px;
  width: 35px;
  height: 35px;
}
.productSlider-1 .slick-next:before{
  display: block;
  content: "";
  background: url(https://cdn1.npcdn.net/images/D_product_next_icon_qipayh_1764227665.png?md5id=f4f544fdb5f766db8ee639797d3c38cb&new_width=150&new_height=150&type=4);
  background-size: contain;
  width: 100%;
  height: 100%;
  opacity: 1;
  padding: 0 !important;
}

.productSlider-1 .slick-prev{
  left: -60px;
  width: 35px;
  height: 35px;
}
.productSlider-1 .slick-prev:before{
  display: block;
  content: "";
  background: url(https://cdn1.npcdn.net/images/D_product_previous_icon_if3np9_1764227665.png?md5id=f4f544fdb5f766db8ee639797d3c38cb&new_width=150&new_height=150&type=4);
  background-size: contain;
  width: 100%;
  height: 100%;
  opacity: 1;
  padding: 0 !important;
}

@media(max-width:991px){
    .productSlider-1 .slick-next,
    .productSlider-1 .slick-prev{
        display: none !important;
    }
}

@media(max-width:900px){
    .product_slider_c_0 .slick-list{        
        padding: 0 !important;
    }
}

/*Services*/
.index_wrapper_6 {
  background: url(https://cdn1.npcdn.net/images/E_service_bg_iahszl_1764229573.jpg?md5id=f4f544fdb5f766db8ee639797d3c38cb&new_width=2000&new_height=1625&type=4);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 5rem 0;
}

.index_wrapper_6 .container{
    max-width: 100%;
    padding: 0 6%;
}

#index_6_2,
#index_6_3,
#index_6_4{
    max-width: var(--section-width);
    margin: auto;
}

.hp_services{
    padding-bottom: 8rem;   
}
.hp_services .container{
    max-width: 100%;
    padding: 0;    
}
.service-box{
    overflow: hidden;
}
.service-box h3{
    margin-top: 1rem;
    font-size: clamp(1rem, 1.05vw, 1.05vw);
    color: #fff;
}
.service-image img{
    transform: scale(1.01);
}

@media(max-width:768px){
    .service-box h3{
        text-align: center;
        margin: 1.5rem 0 0;
    }
    .service-outer:not(:last-child){
        margin-bottom: 2rem;
    }
}

@media(max-width:568px){
    .hp_services{
        margin: 0 6%;
    }
    
    .index_wrapper_6 .container{        
        padding: 0;
    }

}

@media(max-width:468px){
    #index_6_2,
    #index_6_3,
    #index_6_4{
        padding: 0 15px !important;
    }
}

/* News */
.latest_new_type4 .row:not(.latestnewsAjax){
    display: none;
}
.latest_new_type4 .news_box{
    background: unset;
    
    padding: 10px 20px;
    p{
        color: #fff;
        font-size: clamp(1rem, 1vw, 1vw);
        font-weight: 700;
    }
    
    .date{
        color: #fff;
        font-size: clamp(.85rem, .95vw, .95vw);
        font-weight: 300;
    }
    
    .badge-primary{
        border-radius: 0;
    }
}

.hp_news_button .sub-btn{    
  width: fit-content;
  margin: auto;
  
  &:hover{
    color: #fff;
  }
}

/* Footer */
.footer_type7{
    background: #1f1f1f;
    margin-top: -6px;
}
.footer_type7 p{
    font-size: clamp(.85rem, .85vw, .85vw);
    font-weight: 300;
    color: #efefef;
}
.footer_type7 a{
    font-weight: 300;
    
    &:hover{
        color: var(--primary-color);
    }
}
.footer_type7 .title{
    color: var(--primary-color);
    min-height: unset;
}
.footer_type7 .logo{
    min-height: 65px;
    
    img{
        max-height: 65px;
    }   
}
.footer_type7 .wLine {
  border-right: 1px solid #666;
    
    &:nth-of-type(2) ul li{        
        margin-bottom: 1rem !important;
    }
    
    &:nth-of-type(3) p:hover{
        color: var(--primary-color);
    }
}
.footer_type7 .copy_right{
    margin-top: 3rem
}

@media(min-width:768px) and (max-width:991px){
    .footer_type7 .wLine{
        border-right: unset;
        
        &:nth-of-type(-n + 2){
            border-bottom: 1px solid #666;
        }
        &:nth-of-type(odd){
            border-right: 1px solid #666;
        }        
    }
}

@media(max-width:768px){
    .footer_type7 .wLine{
        border-right: unset;
        border-bottom: 1px solid #666;
    }
}