body {
    font-family: "Noto Sans Thai", sans-serif;
    font-size: 1em !important;
    font-weight: 400;
    color: black;
}

:root {
    --c-blue: #003663;
    --rgb-blue: 0, 54, 99;
    --c-border: #ededed;
    --c-grayA9: #a9a9a9;
    --c-gray79: #797979;
    --c-grayf6: #F6F6F6;
    --bs-text-white: #fff;
}

/*----------------------------------
    LAYOUT STYLE 
----------------------------------*/
ol.nested-counter-list {
  counter-reset: item;
}

ol.nested-counter-list li {
  display: block;
    margin-bottom: 10px;
}

ol.nested-counter-list li::before {
  content: counters(item, ".") ". ";
  counter-increment: item;
  font-weight: bold;
}

ol.nested-counter-list ol {
  counter-reset: item;
}

ol.nested-counter-list ol>li {
  display: block;
    font-weight: 400;
}
ol.nested-counter-list ol>li::before {
  content: counters(item, ".") " ";
  counter-increment: item;
  font-weight: bold;
}
.img-s150{
    width:150px;
    height: 150px;
}
#btn-cart {
    position: relative;
    padding: 0.775rem;
}
#btn-cart .has-item{
    width:6px;
    height:6px;
    border-radius: 100%;
    background-color: var(--c-blue);
    position: absolute;
    right:5px;
    top:5px;
}
.container-fluid.container-fluid50 {
    padding-right: 50px;
    padding-left: 50px;
}

.container.container1516 {
    max-width: 1516px;
}

.container.container1716 {
    max-width: 1716px;
}
.w-logo {
    height: 60px;
}
.py-6 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}
.mh-100vh{
    min-height: 100vh;
}
.mh-90vh{
    min-height: 90vh;
}
.fs-12 {
    font-size: 12px;
}

.fs-18 {
    font-size: 18px;
}
.fw-medium{
    font-weight: 500!important;
}
.fw-semibold {
    font-weight: 600 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.rounded20 {
    border-radius: 20px;
}

.rounded8 {
    border-radius: 8px;
}
.line-dash{
    width:100%;
    height:1px;
    border-bottom:1px dashed #D9D9D9;
    margin:10px 0;
}
.bg-headbanner {
    background-image: url(../../images/bg-head.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.breadcrumb.bc-w .breadcrumb-item,
.breadcrumb.bc-w .breadcrumb-item a,
.breadcrumb.bc-w .breadcrumb-item:after {
    color: white;
}

.breadcrumb.bc-b .breadcrumb-item,
.breadcrumb.bc-b .breadcrumb-item a,
.breadcrumb.bc-b .breadcrumb-item:after {
    color: black;
}

.logo {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    height: 60px;
}
.hide-show {
  width: 95%;
  margin: -41px 3% 0 1.5%;
  position: relative;
  z-index: 5;
  display: none;
}
.hide-show span {
  font-size: 1em;
  padding: 0.25rem .5rem 0.775rem;
  float: right;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  cursor: pointer;
}
.hide-show2 {
  width: 95%;
  margin: -41px 3% 0 1.5%;
  position: relative;
  z-index: 5;
  display: none;
}
.hide-show2 span {
  font-size: 1em;
  padding: 0.25rem .5rem 0.775rem;
  float: right;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  cursor: pointer;
}
.inputmailFG {
    padding-left: 50px;
}
.iconmailFG {
    width: 24px;
    margin: -76px 87% 0 0%;
    position: relative;
    z-index: 5;
}
.title-line{
    font-size: 24px;
    font-weight: 700;
    position: relative;
    padding-left:20px;
    line-height: 40px;
}
.title-line::before{
    content:'';
    position: absolute;
    top:0;
    left: 0;
    background-color: var(--c-blue);
    width:10px;
    height:40px;
    border-radius: 50px;
}
.breadcrumb .breadcrumb-item{
    font-size: 14px;
    color:black;
}
.breadcrumb .breadcrumb-item a{
    color:black;
}
#tabProfile .nav-link {
    color:var(--c-blue);
    padding: calc(.775rem + 1px) calc(1.5rem + 1px);
    margin-bottom:5px;
    border:1px solid white;
}
#tabProfile .nav-link:hover{
    border:1px solid #f0f0f0;
}
#tabProfile .nav-link.active {
    background-color:var(--c-blue);
    border:1px solid var(--c-blue);
    color:white;
}
/*----------------------------------
    COLOR STYLE 
----------------------------------*/
.bg-blue {
    background-color: var(--c-blue)!important;
}

.bg-bluelight {
    background-color: #ffe2e5;
}

.bg-lightGray {
    background-color: #d9d9d9;
}

.bg-whiteGray {
    background-color: #f0f0f0;
}
.bg-grayf6{
    background-color: var(--c-grayf6);
}
.text-blue {
    color: var(--c-blue);
}

.text-A9 {
    color: var(--c-grayA9);
}

.text-79 {
    color: var(--c-gray79);
}
.text-5c{
    color: #5C5C5C;
}
.badge-blue {
    background-color: var(--c-blue);
    color: white;
}

.circle-div {
    background-color: var(--c-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    width: 100px;
    height: 100px;
    margin: 10px auto;
    color: white;
}
.img-square{
    width:130px;
    height: 130px;
    border-radius: 8px;
    object-fit: cover;
}
.img-square50{
    width:50px;
    height: 50px;
    object-fit: cover;
}
.scroll-cartOff{
    overflow-y: auto;
    overflow-x: hidden;
    height: calc(100vh - 190px);
}
.step-pay {
    list-style: none;
    margin-bottom: 0;
}

.step-pay li {
    position: relative;
    margin-bottom: 20px;
}

.step-pay li:last-child {
    margin-bottom: 0;
}

.step-pay li::before {
    content: '';
    position: absolute;
    left: -28px;
    top: -2px;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2317C653' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' transform-origin='center' class='icon icon-tabler icons-tabler-outline icon-tabler-circle-check'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0' /%3E%3Cpath d='M9 12l2 2l4 -4' /%3E%3C/svg%3E");
}

.step-pay li.active::before {
    content: '';
    position: absolute;
    left: -28px;
    top: -2px;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%2317C653' class='icon icon-tabler icons-tabler-filled icon-tabler-circle-check'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-1.293 5.953a1 1 0 0 0 -1.32 -.083l-.094 .083l-3.293 3.292l-1.293 -1.292l-.094 -.083a1 1 0 0 0 -1.403 1.403l.083 .094l2 2l.094 .083a1 1 0 0 0 1.226 0l.094 -.083l4 -4l.083 -.094a1 1 0 0 0 -.083 -1.32z' /%3E%3C/svg%3E");
}

.step-pay li.active::after {
    content: '';
    width: 2px;
    height: 30px;
    position: absolute;
    left: -17px;
    top: -24px;
    background-color: #17C653;
}
.form-check-input:checked {
    background-color: var(--c-blue);
    border-color: var(--c-blue);
}
/*-----------------------------------------
    BUTTON STYLE
-------------------------------------------*/
.btn-blue {
    background-color: var(--c-blue);
    color: white;
    border-color: var(--c-blue);
}

.btn-blue:hover, .btn-blue:active,.btn-blue:focus {
    box-shadow: 50px 50px 0px 10px rgba(0, 0, 0, 0.2) inset;
    background-color: #00294B;
    color: white;
    border-color: #00294B;
}
.btn-bluesky{
    background-color: #2D9FFF;
    color:white;
}
.btn-bluesky:hover{
    background-color: #1B8BE9;
    color:white;
}
.btn-wicon{
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-wicon svg, .btn-wicon i{
    margin-right: 8px;
}
.btn-outline-primary {
    border: 1px solid #D9D9D9!important;
    background-color: white;
    color:black;
}
.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
    color: var(--c-blue);
    background-color: #E0F1FF;
    border-color: var(--c-blue)!important;
}
.btn-over{
    position: absolute;
    bottom:5px;
    left:10px;
}
.btn-bgray{
    border:1px solid #D9D9D9!important;
    background-color: white;
    color:black;
}
.btn-bgray:hover,.btn-bgray:active,.btn-bgray:focus{
    border:1px solid #D9D9D9;
    background-color: #D9D9D9;
    color:black;
}
.btn-iconsquare{
    display: flex;
    align-items: center;
    justify-content: center;
    color:black;
    font-size: 14px;
}
.btn-iconsquare span{
    width:28px;
    height: 28px;
    border-radius: 8px;
    margin-right: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-iconsquare span svg{
    width: 20px;
    height: 20px;
}
.btn-iconsquare span.light-gray{
    background-color: #F5F5F5;
    color:black;
}
.btn-iconsquare span.light-red{
    background-color: #F8D7DA;
    color:#E00000;
}
#term-menu .nav-link{
    color:black;
    border-radius: 8px;
}
#term-menu .nav-link:hover, #term-menu .nav-link:focus{
    background-color: #acc2d4
}
#term-menu .nav-link.active{
    color:white;
    background-color: var(--c-blue);
}
/*----------------------------------
    CAROUSEL STYLE 
----------------------------------*/
#login-slide.owl-theme .owl-dots {
    text-align: right;
    -webkit-tap-highlight-color: transparent;
    padding-right: 15px;
    width: 100%;
    left: 0;
    bottom: 10px;
    z-index: 1;
    position: absolute;
}

#login-slide.owl-theme .owl-item {
    paddnig-right: -15px;
}

#login-slide.owl-theme img {
    height: 100vh;
    width: 100%;
}

#homebanner .owl-dots {
    width: 100%;
    text-align: right;
    padding-left: 0;
    bottom: 10px;
    right: 50px;
    z-index: 1;
}

#homebanner.owl-theme .owl-dots .owl-dot.active span,
#homebanner.owl-theme .owl-dots .owl-dot:hover span {
    background: rgba(255, 255, 255, 1);
}

#homebanner.owl-theme .owl-dots .owl-dot span {
    background: rgba(255, 255, 255, .5);
}

#provinceSlide {}

#provinceSlide .item {
    text-align: center;
}

#provinceSlide .item img {
    height: 200px;
    object-fit: cover;
    border-radius: 100px;
    margin-bottom: 10px;
}

#provinceSlide .owl-prev,
#provinceSlide .owl-next {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: block !important;
    border: 0px solid black;
    background-color: var(--c-blue);
    border-radius: 100%;
}

#provinceSlide .owl-prev i,
#provinceSlide .owl-next i {
    transform: scale(1, 1);
    color: #fff;
}
/*-----------------------------------------
    Cart
-------------------------------------------*/
.quantity-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: fit-content;
  margin: 0 auto;
  border-radius: 10px;
}

.quantity-btn {
  background: #eaeaea;
  border: none;
  outline: none;
  margin: 0;
  padding: 3px 8px;
    border-radius: 6px;
  cursor: pointer;
}
.quantity-btn svg {
  width: 15px;
  height: 15px;
}
.quantity-input {
  outline: none;
  user-select: none;
  text-align: center;
  width: 47px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
}
.quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/*-----------------------------------------
    RESPONSIVE
-------------------------------------------*/
@media screen and (max-width: 767.99px){
    .img-square{
        width:60px;
        height: 60px;
    }
    .box-cart{
        gap:10px;
        flex-wrap: wrap;
    }
    .box-cart > div:nth-child(1){
        width:31px;
    }
    .box-cart > div:nth-child(2){
        width:60px;
    }
    .box-cart > div:nth-child(3){
        width:calc(100% - 111px);
    }
    .box-cart > div:nth-child(4){
        width:100%;
    }
    .mh-100vh{
        min-height: auto;
    }
    .mh-90vh{
        min-height: auto;
    }
    #provinceSlide .owl-prev {
        left: -2.5%;
    }
    #provinceSlide .owl-next { 
        right: -2.5%;
    }
}
@media screen and (max-width: 1023.99px) {
    .container-fluid.container-fluid50 {
        padding-right: 15px;
        padding-left: 15px;
    }
}
@media screen and (max-width: 1279.99px) {
}
@media screen and (min-width: 1280px) {
    .container-fluid.container-fluid50 {
        padding-right: 15px;
        padding-left: 15px;
    }
}
@media screen and (min-width: 320px) and (max-width: 374px) {}

@media screen and (min-width: 375px) and (max-width: 413px) {}

@media screen and (min-width: 414px) and (max-width: 424px) {}

@media screen and (min-width: 425px) and (max-width: 767px) {
    
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .box-cart{
        gap:10px;
        flex-wrap: wrap;
    }
    .box-cart > div:nth-child(1){
        width:31px;
    }
    .box-cart > div:nth-child(2){
        width:60px;
    }
    .box-cart > div:nth-child(3){
        width:calc(100% - 111px);
    }
    .box-cart > div:nth-child(4){
        width:100%;
    }
    #tabProfile .nav-link {
        padding: calc(.775rem + 1px) calc(1rem + 1px);
    }
}

@media screen and (min-width: 1024px) and (max-width: 1279px) {
    .box-cart{
        gap:10px;
        flex-wrap: wrap;
    }
    .box-cart > div:nth-child(1){
        width:31px;
    }
    .box-cart > div:nth-child(2){
        width:130px;
    }
    .box-cart > div:nth-child(3){
        width:calc(100% - 181px);
    }
    .box-cart > div:nth-child(4){
        width:100%;
    }
}

@media screen and (min-width: 1280px) and (max-width: 1359px) {
    .box-cart{
        gap:10px;
    }
    .box-cart > div:nth-child(1){
        width:31px;
    }
    .box-cart > div:nth-child(2){
        width:130px;
    }
    .box-cart > div:nth-child(3){
        width:calc(55% - 161px);
    }
    .box-cart > div:nth-child(4){
        width:45%;
    }
}

@media screen and (min-width: 1360px) and (max-width: 1439px) {
    .box-cart{
        gap:10px;
    }
    .box-cart > div:nth-child(1){
        width:31px;
    }
    .box-cart > div:nth-child(2){
        width:130px;
    }
    .box-cart > div:nth-child(3){
        width:calc(60% - 161px);
    }
    .box-cart > div:nth-child(4){
        width:40%;
    }
}

@media screen and (min-width: 1440px) and (max-width: 1599px) {
    .box-cart{
        gap:10px;
    }
    .box-cart > div:nth-child(1){
        width:31px;
    }
    .box-cart > div:nth-child(2){
        width:130px;
    }
    .box-cart > div:nth-child(3){
        width:calc(65% - 161px);
    }
    .box-cart > div:nth-child(4){
        width:35%;
    }
}

@media screen and (min-width: 1600px) and (max-width: 1919px) {
    .box-cart{
        gap:10px;
    }
    .box-cart > div:nth-child(1){
        width:31px;
    }
    .box-cart > div:nth-child(2){
        width:130px;
    }
    .box-cart > div:nth-child(3){
        width:calc(65% - 161px);
    }
    .box-cart > div:nth-child(4){
        width:35%;
    }
}

@media screen and (min-width: 1920px) and (max-width: 2559px) {
    .box-cart{
        gap:10px;
    }
    .box-cart > div:nth-child(1){
        width:31px;
    }
    .box-cart > div:nth-child(2){
        width:130px;
    }
    .box-cart > div:nth-child(3){
        width:calc(65% - 161px);
    }
    .box-cart > div:nth-child(4){
        width:35%;
    }

}

@media screen and (min-width: 2560px) {}
