@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Noto Sans Thai", sans-serif;
    text-decoration: none;
}

body {
    background-color: rgb(235, 235, 235);
}

header {
    width: 100%;
    height: 6.5vw;
    position: fixed;
    z-index: 10;
}

@media (max-width: 480px) {
    header {
        width: 100%;
        height: auto;
        position: fixed;
        z-index: 10;
    }

}

.header-A {
    width: 100%;
    height: 1.5vw;
    background-color: #194786;
    box-shadow: 0vw 4vw 0.4vw 1vw #194786;
}

@media (max-width: 480px) {
    .header-A {
        height: 4vw;
    }

}

.header-container {
    width: 70%;
    height: 1.3vw;
    background-color: transparent;
    margin: 0 auto;
    font-size: 0.75vw;
    display: flex;
    padding-left: 0.6vw;
}

@media (max-width: 480px) {
    .header-container {
        width: 100%;
        height: 100%;
        font-size: 1.7vw;
        display: flex;
        padding-left: 2vw;
        padding-top: 0.5vw;
    }

}

.header-first {
    width: auto;
    height: 1.3vw;
    background-color: transparent;
    padding-top: 0.15vW;
    display: flex;
    color: white;
}

.icon-head-line {
    font-size: 0.9vw;
    color: white;
    margin-left: 0.5vw;
    margin-top: 0.1vw;
}

@media (max-width: 480px) {
    .icon-head-line {
        font-size: 1.8vw;
        margin-top: 0.18vw;
        margin-left: 1.5vw;
    }

}

.icon-head-face {
    font-size: 1vw;
    color: white;
    margin-left: 0.5vw;
    margin-top: 0.05vw;
}

@media (max-width: 480px) {
    .icon-head-face {
        font-size: 2vw;
        margin-left: 1.5vw;
        margin-top: 0.15vw;
    }

}

.icon-head-line:hover,
.icon-head-face:hover {
    font-size: 1.1vw;
}

.header-icons {
    width: 70%;
    height: 1.3vw;
    background-color: transparent;
    display: flex;
    padding-top: 0.15vW;
    padding-left: 0.15vW;
}

.top-icons {
    margin-right: 0.5vw;
    margin-top: 0.10vw;
}

.top-icons:hover {
    margin-top: 0.2vw;
}

.header-lang {
    width: 6%;
    height: 1.5vw;
    display: flex;
    background-color: transparent;
    padding-top: 0.2vW;
}

.top-lang {
    margin-right: 0.3vw;
    margin-top: 0.08vw;
}

.lang {
    color: white;
}

.lang:hover {
    padding-top: 0.1vW;
    color: yellow;
}

.langEN {
    color: white;
    background-color: transparent;
}

.langEN:hover {
    font-size: medium;
    color: yellow;
}

.header-B {
    width: 100%;
    height: 5vw;
    background-color: whitesmoke;
}

@media (max-width: 480px) {
    .header-B {
        height: auto;
        box-shadow: 0vw 0.5vw 1vw 0.1vw #194786;
    }

}

.B-container {
    width: 70%;
    height: 5vw;
    background-color: transparent;
    margin: 0 auto;
    display: flex;
}

@media (max-width: 480px) {
    .B-container {
        width: 100%;
        height: 10vw;
        display: flex;
    }

}

.B-logo {
    width: 20%;
    height: 5vw;
    background-color: transparent;
    padding: 0.15VW;
}

@media (max-width: 480px) {
    .B-logo {
        width: 15%;
        height: 10vw;
        padding-top: 2.5VW;
        padding-left: 1.5vw;
    }

}

.B-container-2 {
    width: 80%;
    height: 5vw;
    background-color: transparent;
}

@media (max-width: 480px) {
    .B-container-2 {
        width: 85%;
        height: 10vw;
    }

}

.B-contop {
    width: 100%;
    height: 2.4vw;
    display: flex;
    justify-content: right;
    align-items: center;
    padding-right: 1.5vw;
}

@media (max-width: 480px) {
    .B-contop {
        height: 5vw;
    }

}

.search-bar {
    width: 25%;
    height: 1.5vw;
    background-color: white;
    display: flex;
    border-radius: 1vw;
    overflow: hidden;
    border: solid 0.15vw rgb(134, 134, 134);
}

@media (max-width: 480px) {
    .search-bar {
        width: 50%;
        height: 3vw;
        border-radius: 1.5vw;
        border: solid 0.1vw rgb(134, 134, 134);
    }

}

.search-type {
    width: 83%;
    height: 100%;
    margin-left: 5%;
    font-size: 0.7vw;
    border: none;
    outline: none;

}

@media (max-width: 480px) {
    .search-type {
        margin-left: 2vw;
        font-size: 1.2vw;
    }

}

.search-icon {
    width: 10%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-icon img {
    height: 70%;
    width: 70%;
    object-fit: cover;
}

@media (max-width: 480px) {
    .search-icon img {
        height: 1.8vw;
        width: auto;
    }

}

.B-line {
    width: 100%;
    height: 0.08vw;
    background-color: gray;
}

@media (max-width: 480px) {
    .B-line {
        height: 0.2vw;
    }

}

.B-condown {
    width: 100%;
    height: 2.5vw;
    background-color: transparent;
}

@media (max-width: 480px) {
    .B-condown {
        height: 4vw;
    }

}

.B-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9vw;
    padding-top: 0.5vw;
}

@media (max-width: 480px) {
    .B-menu {
        font-size: 1.6vw;
        padding-top: 1.1vw;
    }

}

#li-menu,
.li-1,
.B-dropdown-link {
    list-style: none;
    display: flex;
    position: relative;
}

#li-menu a,
.li-1 a,
.B-dropdown-link a {
    padding: 0.1vw 1.5vw;
    color: black;
}

#li-menu:hover,
.li-1:hover,
.B-dropdown-link:hover {
    background-color: rgb(230, 229, 229);
    border-radius: 4px;
    transition: 0.2s;
}

#li-menu a:hover,
.li-1 a:hover,
.B-dropdown-link a:hover {
    color: #105ac2;
}

.B-dropdown {
    padding: 0;
    display: flex;
    position: absolute;
    display: block;
    background-color: white;
    top: 135%;
    width: 10vw;
    border-radius: 4px;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
    font-size: 0.9vw;
    box-shadow: 0.3vw 0.3vw 0.5vw darkcyan;
}

.B-dropdown-link:hover .B-dropdown {
    opacity: 1;
    visibility: visible;
}

nav {
    width: 100%;
    height: auto;
}

.nav-head-blank {
    width: 100%;
    height: 6.5VW;
}

@media (max-width: 480px) {
    .nav-head-blank {
        height: 14VW;
    }

}

.nav-body {
    width: 70%;
    height: auto;
    background-color: white;
    margin: 0 auto;
}

@media (max-width: 480px) {
    .nav-body {
        width: 100%;
        height: auto;
    }

}

.product-dnt {
    width: 100%;
    height: Auto;
    padding-left: 2vw;
    padding-right: 2vw;
    padding-bottom: 10vw;
}

@media (max-width: 480px) {
    .product-dnt {
        padding-bottom: 5vw;
    }

}

.product-dnt-head {
    width: 100%;
    height: auto;
    padding: 0.1vw;
    text-align: center;
    font-size: 2vw;
    background-color: rgb(145, 145, 248);
    color: white;
    border-radius: 0.5vw;
}

@media (max-width: 480px) {
    .product-dnt-head {
        padding: 1vw;
        font-size: 5vw;
        margin-top: 4vw;
        border-radius: 1vw;
    }

}

.product-dnt-type {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 5vw;
}

@media (max-width: 480px) {
    .product-dnt-type {
        padding-left: 4vw;
        padding-right: 4vw;
    }

}

.dnt-paint-type {
    width: 25vw;
    height: 27vw;
    padding-top: 1vw;
    border-radius: 1vw;
    transition: 0.3s;
    border: 0.5vw solid rgb(235, 235, 235);
}

@media (max-width: 480px) {
    .dnt-paint-type {
        width: 70vw;
        height: 51vw;
        padding-top: 2vw;
        border-radius: 2vw;
        margin-bottom: 6vw;
        border: 1vw solid rgb(235, 235, 235);
        

    }

}

.dnt-paint-type:hover {
    background-color: rgb(250, 249, 214);
    transition: 0.3s;
    color: white;
    border: 0.5vw solid rgb(146, 253, 84);
    box-shadow: 0.2vw 0.2vw 0.2vw rgb(100, 100, 100);
}

.dnt-paint-type-a:hover {
    background-color: rgb(238, 243, 252);
    transition: 0.3s;
    color: white;
    box-shadow: 0.2vw 0.2vw 0.2vw rgb(100, 100, 100);
}

.dnt-paint-type img {
    width: 15vw;
    height: auto;
    border-radius: 1vw;
    margin-left: 5vw;
    margin-top: 1vw;

}

@media (max-width: 480px) {
    .dnt-paint-type img {
        width: 25vw;
        margin-left: 22vw;
        margin-top: 2vw;

    }

}

.tx-paint-a {
    width: 100%;
    height: auto;
    padding-bottom: 0.3vw;
    text-align: center;
    font-size: 1.6vw;
    margin-top: 1.5vw;
}

@media (max-width: 480px) {
    .tx-paint-a {
        padding-bottom: 1vw;
        font-size: 4vw;
    }

}

.tx-paint-b {
    width: 100%;
    height: 3vw;
    text-align: center;
    font-size: 1.1vw;
    color: black;
}

@media (max-width: 480px) {
    .tx-paint-b {
        height: auto;
        font-size: 2.5vw;
    }
}

.tx-paint-end {
    font-size: 1.2vw;
    color: blue;
    margin-top: 1vw;
}

@media (max-width: 480px) {
    .tx-paint-end {
        font-size: 2.7vw;
        margin-top: 1.5vw;
    }
}

/* nav bottom open--------------------------------------------*/

.nav-bottom {
    width: 100%;
    height: auto;
    display: flex;
    background-color: #194786;
}

.logo-bottom {
    width: 28%;
    height: 16vw;
    background-color: transparent;

}

@media (max-width: 480px) {
    .logo-bottom {
        height: 30vw;
    }

}

.logo-bt-1 {
    width: 100%;
    height: 14vw;
    padding-top: 3vw;
    text-align: center;
    font-size: 0.9vw;
    color: white;
}

@media (max-width: 480px) {
    .logo-bt-1 {
        width: 100%;
        height: 25vw;
        padding-top: 4vw;
        font-size: 1.5vw;
        color: white;
    }

}

.logo-bt-1 img {
    width: 4vw;
    height: 4vw;
}

@media (max-width: 480px) {
    .logo-bt-1 img {
        width: 8vw;
        height: 8vw;
    }

}

.logo-bt-2 {
    width: 100%;
    height: 2vw;
    color: white;
    font-size: 0.75vw;
    padding-left: 1vw;
    padding-top: 0.5vw;
}

@media (max-width: 480px) {
    .logo-bt-2 {
        height: auto;
        font-size: 1.2vw;
        margin-top: 1vw;
        margin-left: 1.5vw;
    }

}

.link-bottom {
    width: 18%;
    height: 15vw;
    font-size: 0.75vw;
    padding-top: 1vw;
    padding-left: 2vw;
    color: white;
}

@media (max-width: 480px) {
    .link-bottom {
        height: auto;
        font-size: 1.2vw;
        padding-top: 2vw;
        padding-left: 1vw;
    }

}

.link-bottom-2 {
    width: 13%;
    height: 15vw;
    font-size: 0.8vw;
    padding-top: 1vw;
    padding-left: 2vw;
    color: white;
}

@media (max-width: 480px) {
    .link-bottom-2 {
        height: auto;
        font-size: 1.2vw;
        padding-top: 2vw;
    }

}

.list-bt {
    display: flex;
    background-color: transparent;
}

.icon-bt {
    margin-top: 0.4vw;
    margin-right: 0.3vw;
}

.text-bt,
.text-bt2 {
    margin-top: 0.3vw;
    color: white;
}

.text-bt:hover {
    text-decoration: underline;
}

/* nav bottom close--------------------------------------------*/

.tab-zone-a {
    width: 100%;
    height: 3vw;
}
