﻿/* desktop */

body {
    color: #000000;
    line-height: 1.75;
}

a {
    text-decoration: none !important;
    transition: all 0.50s !important;
}

.all_functional_page {
    padding-top: 100px;
    padding-bottom: 100px !important;
    min-height: auto;
    font-size: 1rem;
}

#main_index {
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0 !important;
}

/* header */

.hp_header {
    background: linear-gradient(to right, #232176, #231f2d);
}

.hp_header_content {
    font-size: 1vw;
}

.hp_header_content_left {
    gap: 50px;
}

.hp_header_content_left div.d-flex.align-items-center {
    gap: 15px;
}

.hp_header_content_left div i {
    font-size: 1.65vw;
}

.hp_header_content_right a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1vw;
    height: 1vw;
    color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 100%;
    padding: 1vw;
}

.hp_header_content_right a:hover {
    background-color: #ffffff;
    color: #232176;
}

/* menu */

.navbar_ecommerceDropdown {
    padding: 0;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.25);
}

.navbar_ecommerceDropdown .container.d-flex.justify-content-between {
    padding: 0;
    align-items: center;
}

.navbar_ecommerceDropdown .nav_logo {
    padding: 15px;
}

.navbar_ecommerceDropdown .nav_search {
    padding: 15px;
    justify-content: flex-end;
}

.navbar_ecommerceDropdown .nav_search .nav_bottom .menu {
    gap: 25px;
}

.navbar_ecommerceDropdown .nav_search .nav_bottom .menu .nav_item:hover {
    background-color: transparent;
}

.navbar_ecommerceDropdown .nav_search .nav_bottom .menu .nav_item .dropdown a {
    padding: 0;
    color: #000000;
    font-size: 1vw;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transform: scale(1);
}

.navbar_ecommerceDropdown .nav_search .nav_bottom .menu .nav_item .dropdown a:hover {
    color: #231f2d;
    transform: scale(1.05);
}

.navbar_ecommerceDropdown .nav_search .nav_bottom .menu .nav_item .dropdown a:after {
    content: '';
    border-bottom: 2.5px dashed #232176;
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    transition: all 2.50s linear;
}

.navbar_ecommerceDropdown .nav_search .nav_bottom .menu .nav_item .dropdown a:hover:after {
    left: 100%;
}

.navbar_ecommerceDropdown .nav_search .nav_bottom .menu .nav_item .dropdown a strong {
    font-weight: 600;
}

.hp_header_sticky {
    display: none;
}

.hp_sticky {
    position: fixed;
    width: 100%;
    z-index: 10;
}

/* banner */

.slider_banner .banner_content {
    overflow: hidden;
    opacity: 1 !important;
}

.hp_banner_content {
    gap: 50px;
}

.hp_banner_content div:first-child {
    gap: 15px;
}

.hp_banner_content h2 {
    font-size: 40px;
    line-height: 1.25;
}

.hp_banner_content p {
    max-width: 75%;
}

.hp_banner_button a button {
    transition: all 0.50s;
    background-color: transparent;
    color: #ffffff;
    padding: 5px 25px;
    border: 1px solid #ffffff;
    transform: scale(1);
}

.hp_banner_button a button:hover {
    background-color: #ffffff;
    color: #232176;
    border-color: transparent;
    transform: scale(1.05);
}

/* about */

.index_wrapper_3 {
    padding-bottom: 100px;
}

.index_wrapper_3 .row.outerRow_3 {
    align-items: center;
}

.index_wrapper_3 #index_5 {
    padding: 15px 0 !important;
}

.hp_about_content {
    gap: 25px;
}

.hp_about_content div {
    gap: 15px;
}

.hp_middle {
    font-size: 16px;
    line-height: normal;
    background-color: #232176;
    color: #ffffff;
    padding: 5px 15px;
    border-radius: 100px;
    width: fit-content;
}

.hp_title {
    font-size: 40px;
    line-height: 1.25;
    color: #232176;
}

.hp_button a button {
    transition: all 0.50s;
    background-color: #232176;
    color: #ffffff;
    padding: 5px 25px;
    border: 1px solid #232176;
    transform: scale(1);
}

.hp_button a button:hover {
    background-color: #000000;
    border-color: transparent;
    transform: scale(1.05);
}

/* category */

.index_wrapper_6 {
    padding-top: 100px;
    padding-bottom: 100px;
    background: linear-gradient(to right, #232176, #231f2d);
    position: relative;
    z-index: 1;
}

.index_wrapper_6:after {
    content: '';
    background-color: #ffffff;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    z-index: -1;
}

.index_wrapper_6 #index_6 {
    padding-right: 0;
    padding-left: 0;
}

.hp_category_content {
    gap: 15px;
}

.hp_category_content .hp_middle {
    background-color: #ffffff;
    color: #232176;
}

.hp_category_content .hp_button a button {
    background-color: #ffffff;
    color: #232176;
}

.hp_category_content .hp_button a button:hover {
    background-color: #000000;
    color: #ffffff;
}

.product_cat-3 .col-6.col-md-4.mb-3 {
    padding: 15px;
    margin-bottom: 0 !important;
}

.product_cat-3 .cat_box {
    height: 250px;
    opacity: 1 !important;
    transform: none !important;
}

.product_cat-3 .cat_box .content {
    background-color: rgba(0, 0, 0, 0.50);
}

.product_cat-3 .cat_box .content .content_box {
    width: 100%;
    height: 100%;
    padding: 25px;
    justify-content: flex-end;
    gap: 15px;
}

.product_cat-3 .cat_box .content h3 {
    display: none;
}

.product_cat-3 .cat_box .content h4 {
    font-weight: bold;
    margin: 0 !important;
    font-size: 16px;
    line-height: normal;
}

/* brand */

.index_wrapper_7 {
    padding-bottom: 100px;
}

.index_wrapper_7 #index_7 {
    padding-right: 0;
    padding-left: 0;
}

.hp_brand_content {
    gap: 15px;
}

.hp_brand_content .hp_middle {
    margin: auto;
}

.hp_brand {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    background-color: #e7e7e7;
    z-index: 1;
    padding: 25px 15px;
}

.hp_brand:before {
    content: '';
    background-color: #e7e7e7;
    position: absolute;
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hp_brand:after {
    content: '';
    background-color: #e7e7e7;
    position: absolute;
    top: 0;
    right: -50%;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* news */

.index_wrapper_8 {
    padding-bottom: 100px;
}

.index_wrapper_8 #index_8 {
    padding-right: 0;
    padding-left: 0;
}

.hp_news_content {
    gap: 15px;
}

.latest_new_type6 {
    margin-bottom: 0;
    padding-top: 0;
    padding-right: 15px;
    padding-left: 15px;
}

.latest_new_type6 .col-lg-4.col-md-6.col-12.p-0 {
    padding: 15px !important;
    margin-bottom: 0 !important;
}

.latest_new_type6 .news_box {
    padding: 0;
}

.latest_new_type6 .news_box .img_frame {
    height: 0;
    padding-top: 75%;
    margin-bottom: 0;
    border-radius: 5px;
    border: 0;
}

.latest_new_type6 .news_box .news_box_content {
    width: 95%;
    margin-top: -50px;
    background-color: #e6e7e8;
    border-radius: 5px;
    border: 0;
}

.latest_new_type6 .news_box .news_box_content p:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.latest_new_type6 .news_box .badge-primary {
    letter-spacing: normal;
    border-radius: 5px;
    font-size: 16px;
    font-weight: normal;
    line-height: normal;
    padding: 0 15px;
}

.latest_new_type6 .news_box .date {
    margin-bottom: 0;
    color: #000000;
}

.latest_new_type6 .news_box .news_box_content .title {
    margin-bottom: 0;
    font-weight: normal;
    word-break: normal;
    height: auto !important;
}

/* footer */

.footer_type10 {
    background-color: transparent;
    background-image: url(../jpg/footer-backgroundmyen.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding-top: 100px !important;
    padding-bottom: 15px !important;
}

.footer_type10 .col-12.col-md-6.col-lg-6.col-xl-3.mb-md-0.pt-5 {
    padding: 15px !important;
}

.footer_type10 .sub_title {
    border-color: #ffffff;
}

.footer_type10 .logo img {
    background-color: #ffffff;
    padding: 15px;
}

.footer_type10 a:hover {
    color: #000000;
}

.footer_type10 .line_top {
    border-color: #ffffff;
}

/* page */

.page_title {
    text-align: center !important;
}

.page_title b {
    font-size: 35px;
    color: #000000;
    font-weight: bold;
}

.wspages {
    padding: 100px 0;
    min-height: auto !important;
    font-size: 1rem;
}

#main_contactus {
    padding-top: 100px;
    padding-bottom: 100px;
    font-size: 1rem;
}

#main_contactus #contactus_1_1 .ws_contact {
    display: flex;
    flex-direction: column-reverse;
}

#main_contactus #contactus_1_1 .col-12.col-md-4.ws_contact {
    margin-bottom: 15px !important;
}

#main_contactus #contactus_1_1 .ws_contact .col-12.p-0.contact_map.mb_10 {
    display: flex;
    margin-bottom: 0;
}

#main_contactus #contactus_1_1 .ws_contact .col-12.p-0.contact_map.mb_10 iframe {
    height: 500px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 15px;
    border-radius: 25px;
}

/* */

/* tablet */

@media only screen and (min-width: 768px) and (max-width: 1140px) {

/* banner */

.hp_banner_content h2 {
    font-size: 35px;
}

/* about */

.index_wrapper_3 section .col-12.col-sm-10.p-3 {
    flex: 0 0 100%;
    max-width: 100%;
}

.hp_title {
    font-size: 35px;
}

}

/* */

/* mobile */

@media only screen and (max-width: 767px) {

/* header */

.hp_header {
    display: none;
}

/* menu */

.navbar_mobile {
    background-color: #ffffff;
    border-bottom: none;
    height: 75px;
    display: flex;
    justify-content: center;
    z-index: 10000 !important;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.25);
}

.navbar_mobile .row_1 {
    margin-bottom: 0;
    padding-top: 0 !important;
    align-items: center;
    flex-direction: row-reverse;
}

.navbar_mobile .row_1 .col.pl-4 {
    justify-content: flex-end;
    padding: 0 !important;
    flex: auto;
    width: auto;
}

.navbar_mobile .row_1 .col.text-center {
    padding: 15px !important;
    order: 1;
    flex: auto;
    width: auto;
    text-align: left !important;
}

.navbar_mobile .row_1 .col:last-child {
    display: none;
}

.navbar_mobile .btn-outline-light {
    font-size: 25px !important;
    border: none !important;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: normal;
    color: #000000;
    border-radius: 0 !important;
    background-color: transparent;
    height: 75px;
}

.navbar_mobile .btn-outline-light:hover {
    color: #232176;
    background-color: transparent;
    border: none !important;
}

.btn-outline-light:not(:disabled):not(.disabled).active:focus, .btn-outline-light:not(:disabled):not(.disabled):active:focus, .show>.btn-outline-light.dropdown-toggle:focus {
    box-shadow: none;
}

.btn-outline-light:not(:disabled):not(.disabled).active, .btn-outline-light:not(:disabled):not(.disabled):active, .show>.btn-outline-light.dropdown-toggle {
    color: inherit;
    background-color: inherit;
}

/*
.navbar_mobile .logo_img {
    max-height: 75px;
}
*/

.side_menu {
    background-color: #231f2d;
}

.side_menu.show {
    width: 100%;
}

.side_menu .mt-3.mx-3.pt-5 {
    margin-top: 75px !important;
}

.side_menu input {
    border-radius: 100px;
    border: none;
    background-color: rgba(255, 255, 255, 1);
    color: #000000;
}

.side_menu input::placeholder {
    color: #000000 !important;
}

.side_menu button {
    color: #000000 !important;
    transition: all 0.50s;
}

.side_menu button:hover {
    color: #232176 !important;
}

.side_menu .list-group {
    margin-top: 50px !important;
    padding-right: 15px;
    padding-left: 15px;
    text-align: center;
    gap: 15px;
}

.side_menu .list-group .list-group-item {
    border-bottom: none;
    padding: 0;
}

.side_menu .list-group .list-group-item:last-child {
    border-bottom: none;
}

.side_menu .list-group .list-group-item a, .side_menu .social_media a {
    color: #ffffff;
    font-weight: 600;
}

.side_menu .list-group .list-group-item a:hover, .side_menu .social_media a:hover {
    color: #232176;
}

.side_menu .list-group .list-group-item .dropdown-toggle {
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.side_menu .social_media {
    width: auto;
    padding: 0;
    justify-content: center;
}

.side_menu .social_media a {
    margin: 0;
}

.m_default_member a:hover, .m_default_languagebar a:hover {
    color: #232176;
}

.npnavbar_languagebar {
    text-align: center;
}

/* banner */

.slider_banner .item img {
    height: 400px !important;
    object-fit: cover;
    object-position: 85%;
}

.hp_table {
    height: 80% !important;
}

.hp_banner_content {
    width: 100% !important;
    justify-content: space-between;
    height: 100%;
}

.hp_banner_content h2 {
    font-size: 20px;
}

.hp_banner_content p {
    max-width: 100%;
    font-size: 10px;
}

.hp_banner_button a button {
    font-size: 10px;
}

/* about */

.hp_title {
    font-size: 30px;
}

/* category */

.product_cat-3 .col-6.col-md-4.mb-3 {
    flex: 0 0 100%;
    max-width: 100%;
}

/* brand */

.hp_brand_content .hp_title strong span {
    display: contents !important;
}

.hp_brand {
    grid-template-columns: repeat(3, 1fr);
}

}

/* */
