@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;500&display=swap');

#main_index {
    padding: 0!important;
    overflow:hidden;
}

#main_index .navbar_type8 {
    margin-top: 40px;
}

.navbar_type8 {
    height: 60px;
}
.navbar_type8 .logo{
    overflow:unset;
}
.navbar_type8 .logo img {
    left: unset;
    right: 0;
    width: 90%;
    padding: 0; 
    height:195%;
}

.navbar_type8 .nav_tab {
    justify-content: center;
    align-items: center;
    /*background-color: #ed1b24;*/
    position: relative;
}

.navbar_type8 .nav_tab::before {
    content: '';
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ed1b24;
    clip-path: polygon(4% 0, 100% 0, 100% 100%, 2% 100%);
}


.navbar_type8 .nav_tab .nav_item>a {
    font-weight: 300;
    padding: 15px 20px;
}

#main_index .navbar_type8 .nav_tab .dropdown .dropdown-menu-img {
    border-top: 45px solid transparent;
}

#main_index .navbar_type8.dark_nav .nav_tab .dropdown .dropdown-menu-img {
    border-top: 5px solid transparent;
}

.navbar_type8 .nav_tab .dropdown .dropdown-menu-img {
    border-top: 5px solid transparent;
}

.navbar_type8.dark_nav {
    background-color: rgba(255, 255, 255, 0.9)!important;
    /*animation: none;*/
    margin-top: 0!important;
    height:80px;
}
.navbar_type8.dark_nav .logo img{
    height:100%;
}


.footer_type8 {
    display: none;
    background-image: url('https://cdn1.npcdn.net/img/1624518992footer_bg.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
}

.footer_type8.footer_custom {
    display: block;
}

.footer_type8 a {
    color: #ffffff;
}

.footer_type8 .title {
    min-height: 25px;
    margin-bottom: 2rem;
}

.footer_type8 .title.logo {
    min-height: 100px;
}

.footer_type8 .logo img {
    max-height: 100px;
}

.footer_type8 .social_media {
    margin-bottom: auto;
}

.footer_type8 .social_media>a {
    border: none;
    color: #ffffff;
    width: 40px;
    height: auto;
    padding: 0;
    margin-left: 5px;
}

.footer_type8 .social_media>a:first-child {
    margin-left: 0;
}

.footer_type8 .social_media>a:hover {
    background-color: transparent;
}

.footer_type8 .title>h5 {
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    color: #ed1b24;
}

.footer_type8 .col-12.col-md-4.mb-md-0.p-3.text-center.text-md-left.order-md-1>p,
.footer_type8 .col-12.col-md-4.mb-md-0.p-3.text-center.text-md-left.order-md-1>ul,
.footer_type8 .col-12.col-md-4.mb-md-0.p-3.text-center.text-md-left.order-md-1>ul>li>p {
    margin-bottom: 0;
}

.footer_type8 .col-12.col-md-4.mb-md-0.p-3.text-center.text-md-left.order-md-1>p,
.footer_type8 .col-12.col-md-4.mb-md-0.p-3.text-center.text-md-left.order-md-1>ul>li>p>a,
.footer_type8 .col-12.col-md-4.mb-md-0.p-3.text-center.d-flex.flex-column.order-md-2>p,
.footer_type8 .col-12.col-md-4.mb-md-0.p-3.text-center.text-md-right.order-md-3>ul>li>p {
    font-size: 1rem;
    font-weight: 300;
}

.footer_type8 .col-12.col-md-4.mb-md-0.p-3.text-center.text-md-right.order-md-3>ul>li>p {
    text-transform: uppercase;
}

.footer_type8 .col-12.col-md-4.mb-md-0.p-3.text-center.text-md-left.order-md-1>p i,
.footer_type8 .col-12.col-md-4.mb-md-0.p-3.text-center.text-md-left.order-md-1>ul>li>p>a i{
    color: #ed1b24;
}

.footer_type8 .copy_right p>small {
    font-weight: 300;
}

.footer_type8 .copy_right p>small>strong {
    font-weight: 300;
}

@media screen and (min-width: 992px) {
    #main_index .slider_banner {
        margin-top: -60px;
    }
}

@media screen and (max-width: 991.98px) {
    .navbar_mobile {
        height: auto;
    }
    .navbar_mobile .row_1 {
        margin-bottom: 0;
        padding-bottom: 1rem;
        align-items: center;
    }
    .navbar_mobile .logo_img {
        max-height: 80px;
    }
    .footer_type8 .logo img {
        max-height: 80px;
    }
}

@media screen and (max-width: 426px) {
    .navbar_mobile .logo_img {
        max-height: 30px;
    }
}


/*banner*/
.sec_banner1_ebox {
    width: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sec_banner1_box {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sec_banner2_ebox {
    width: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sec_banner2_box {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sec_banner2_right_imgx {
    max-width: 40%;
}



/*sec1*/
.delay1 {
    animation-delay: .2s;
}
.delay2 {
    animation-delay: .4s;
}

.bgSec1 {
    background-image: url('https://cdn1.npcdn.net/img/1624523223about_us_bg.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding-bottom: 3rem;
}

.sec1_top_ebox {
    margin-top: -30px;
}

.sec1_top_imgx_box {
    display: flex;
    justify-content: space-between;
}

.sec1_top_imgx {
    max-width: 26%;
}

.sec1_top_imgx>img {
    transition: all .5s;
}

.sec1_top_imgx>img:hover {
    filter: drop-shadow(3px 4px 3px rgba(0, 0, 0, 0.4));
    transform: translateY(-5px);
}

.sec1_bottom_right_title {
    font-size: 32px;
    line-height: 1;
    font-weight: 700;
    color: #ed1b24;
}

.sec1_bottom_right_keyword {
    font-size: 16px;
    line-height: 1.8;
    font-weight: 400;
    color: #58595b;
    margin-top: 10px;
    margin-bottom: 20px;
}

.btnRead {
    display: inline-block;
    text-decoration: none!important;
    font-size: 14px;
    font-weight: 400;
    background-color: #58595b;
    border: 2px solid #58595b;
    color: #ffffff;
    padding: 3px 15px;
    padding-right: 2px;
    vertical-align: middle;
    transition: all .5s;
}

.btnRead::after {
    content: '\f061';
    font-family: 'font awesome\ 5 free';
    font-weight: 900;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    transform: translateX(-50%);
    color: #58595b;
    opacity: 0;
    transition: all .5s;
}

.btnRead:hover {
    background-color: transparent;
    color: #58595b;
    padding-right: 18px;
}

.btnRead:hover::after {
    opacity: 1;
    transform: translateX(50%);
}

@media screen and (min-width: 768px) {
    .sec1_top_ebox {
        margin-top: -50px;
    }
    .sec1_bottom_ctrl_width {
        margin-top: 20px;
    }
    .sec1_bottom_left_ebox,
    .sec1_bottom_right_ebox {
        display: flex;
        align-items: center;
    }
}

@media screen and (min-width: 1200px) {
    .sec1_top_ctrl_width {
        max-width: 60%;
        margin: 0 auto;
    }
    .sec1_bottom_ctrl_width {
        max-width: 80%;
        margin: 20px auto 0;
    }
}

@media screen and (max-width: 767.98px) {
    .sec1_top_imgx {
        max-width: 30%;
    }
    .sec1_bottom_left_ebox {
        margin-top: 10px;
    }
    .sec1_bottom_right_ebox {
        margin-top: 20px;
    }
}

@media screen and (max-width: 426px) {
    .sec1_bottom_right_title {
        font-size: 26px;
    }
}


/*sec2*/
.bgSec2 {
    padding-bottom: 12px;
}
.sec2_bottom_sm_box {
    display: flex;
    justify-content: space-between;
}

.sec2_bottom_sm_ebox {
    max-width: 32.8%;
}

.sec2_bottom_sm_imgx {
    position: relative;
}

.sec2_bottom_sm_content_box {
    max-width: 528px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(237, 27, 36, 0.85);
    color: #ffffff;
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .5s;
}

.sec2_bottom_sm_content_text {
    font-size: 20px;
    line-height: 1;
    font-weight: 500;
    color: #ffffff;
    transition: all .5s .5s;
}

.sec2_bottom_sm_content_text>a {
    text-decoration: none;
    color: #ffffff;
}

.sec2_bottom_sm_imgx:hover .sec2_bottom_sm_content_box {
    height: 100%;
    background-color: rgba(237, 27, 36, 0.6);
    transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
}

.sec2_bottom_sm_imgx:hover .sec2_bottom_sm_content_text {
    transform: scale(1.5);
}

@media screen and (min-width: 768px) {
    .sec2_bottom_ebox {
        margin-top: 12px;
    }
}

@media screen and (max-width: 767.98px) {
    .bgSec2 {
        padding-bottom: 15px;
    }
    .sec2_top_title_imgx {
        overflow: hidden;
    }
    .sec2_top_title_imgx>img {
        transform: scale(1.5);
    }
    .sec2_bottom_sm_box {
        flex-wrap: wrap;
        justify-content: center;
    }
    .sec2_bottom_sm_ebox {
        margin-top: 15px;
        flex-basis: 100%;
        max-width: 100%;
    }
}

@media screen and (max-width: 426px) {
    .sec2_top_title_imgx>img {
        transform: scale(2);
    }
}


/*sec3*/
#main_index .index_wrapper_5 {
    background-image: url('https://cdn1.npcdn.net/img/1624524205latest-new_bg.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

#main_index .hp_latest_new .news_box {
    margin-top: 30px;
    margin-bottom: 0!important;
}

#main_index .hp_latest_new .news_box:nth-child(1n+2) {
    margin-top: 50px;
}

#main_index .hp_latest_new .news_box .title {
    font-size: 28px;
    color: #ffffff!important;
}

#main_index .hp_latest_new .news_box .title b {
    font-weight: 500;
}

#main_index .hp_latest_new .news_box .date {
    opacity: 1;
    font-size: 14px;
    font-weight: 300;
    color: #ffffff;
    margin-top: 10px!important;
    margin-bottom: 15px!important;
}

#main_index .hp_latest_new .news_box .content {
    opacity: 1;
    margin-bottom: 0;
    font-size: 16px;
    line-height: 1.8;
    font-weight: 300;
    color: #ffffff;
    word-break: normal;
}

#main_index .hp_latest_new .news_box .read_more {
    display: inline-block;
    text-decoration: none!important;
    font-size: 14px;
    font-weight: 400;
    background-color: #58595b;
    border-left: none;
    border: 2px solid #58595b;
    color: #ffffff;
    padding: 3px 15px;
    padding-right: 2px;
    vertical-align: middle;
    width: fit-content;
    width: -moz-fit-content;;
    transition: all .5s;
}

#main_index .hp_latest_new .news_box .read_more::after {
    content: '\f061';
    font-family: 'font awesome\ 5 free';
    font-weight: 900;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    transform: translateX(-50%);
    color: #ffffff;
    opacity: 0;
    transition: all .5s;
}

#main_index .hp_latest_new .news_box .read_more:hover {
    background-color: transparent;
    color: #ffffff;
    padding-right: 18px;
}

#main_index .hp_latest_new .news_box .read_more:hover::after {
    opacity: 1;
    transform: translateX(50%);
}

.sec3_top_title {
    font-size: 32px;
    line-height: 1;
    font-weight: 500;
    color: #ffffff;
}

@media screen and (max-width: 991.98px) {
    #main_index .hp_latest_new .news_box .col-12.col-lg-8 {
        padding-top: 15px;
    }
    
    #main_index .hp_latest_new .news_box .read_more {
        margin-top: 15px;
    }
}

@media screen and (max-width: 426px) {
    .sec3_top_title {
        font-size: 26px;
    }
    
    #main_index .hp_latest_new .news_box .title {
        font-size: 24px;
    }
}


/*sec4*/
.bgSec4 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.sec4_right_imgx_box {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.sec4_right_imgx {
    /* flex-basis: 33.33333%; */
    max-width: 25%;
}

@media screen and (min-width: 768px) {
    .sec4_left_ebox,
    .sec4_right_ebox {
        display: flex;
        align-items: center;
    }
}

@media screen and (min-width: 1200px) {
    .sec4_right_box {
        max-width: 90%;
    }
}

@media screen and (max-width: 767.98px) {
    .sec4_left_ebox {
        padding-left: 0;
        padding-right: 0;
    }
    .sec4_right_ebox {
        margin-top: 10px;
    }
    .sec4_right_imgx_box {
        justify-content: space-between;
    }
    .sec4_right_imgx {
        /* flex-basis: 33.33333%; */
        max-width: 30%;
    }
}