.container {
    margin-top: 1rem !important;
}

.titleTextCenter {
    width: 100%;
    padding: 10px;
    text-align: center;
    color: white;
    background: #1f7ce5;
    background: linear-gradient(0deg, rgb(9, 174, 240) 0%, rgb(5, 121, 238) 100%);
    font-weight: bold;
    margin-bottom: 0;
}

ul.dot {
    list-style-type: disc;
    list-style-position: outside;
    padding: 0.5em 0 0 2em;
}

ul.dotTwo {
    font-size: 20px;
    padding: 0.5em 0 0 3em;
}

#carouselSliderGalleryLeft img {
    height: 140px;
    width: 100%;
    position: relative;
}

.container.article p {
    font-size: 22px;
    margin-top: 2rem;
    text-indent: 3rem;
}

.text-primary {
    color: #0b3489 !important;
}

.container.privacyPolicy p {
    font-size: 20px;
    text-indent: 4rem;
}

.branchStockP22 p {
    text-indent: 3rem;
    font-size: 22px;
}

.branchStockP16 p {
    font-size: 16px;
    margin-bottom: 6px;
}

.heightBody {
    height: 140px;
}

.titleTextMap {
    width: 100%;
    padding: 10px;
    text-align: center;
    color: white;
    /* background-color: #1f7ce5; */
    background: #1f7ce5;
    background: linear-gradient(0deg, rgb(9, 174, 240) 0%, rgb(5, 121, 238) 100%);
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 2px;
}

iframe {
    width: 100%;
    max-height: 240px;
}

.col-md-6,
.col-md-4,
.col-md-3,
.col-md-2,
.col-md-1 {
    .titleTextCenter {
        font-size: 1.5rem !important;
        text-align: center;
    }
}

.bodydetailImage {
    margin-top: 10px;

    p {
        margin-bottom: 6px;
        font-size: 18px;
    }
}

.min-heightbody {
    min-height: 120px;
    /*  height: 120px; */
}

@media only screen and (max-width: 1199px) {

    .col-md-6,
    .col-md-4,
    .col-md-3,
    .col-md-2,
    .col-md-1,
    .titleTextMap {
        .titleTextCenter {
            font-size: 1rem !important;
        }
    }
}

@media only screen and (max-width: 767px) {
    #carouselSliderGalleryLeft img {
        height: 70px;
    }

    .d-sm-none {
        display: none !important;
    }

    ul.dotTwo {
        font-size: 18px;
    }

    .bodydetailImage {
        p {
            font-size: 16px;
        }
    }
}

.box-shadow-card {
    /*box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 2px 0px, rgba(0, 0, 0, 0.1) 0px 0px 1px 0px; */
    box-shadow: rgb(222 238 245) 0px 0px 0px 2px;
}

.box-shadow-card-2 {
    border: 2px solid #0579ee;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

.nav .nav-item .nav-link.active {
    border-right: 1rem solid red;
    border-radius: 0;
    color: #fff !important;
    /*background-color: #00247c;*/
    background-color: #0579ee;
}

.nav .nav-item .nav-link.active::after {
    content: "";
    border-right: 4px solid var(--bs-danger);
    height: 100%;
    position: absolute;
    right: -1px;
    top: 0;
    border-radius: 5px 0 0 5px;

}

.nav .nav-item .nav-link.active::after {
    content: "";
    border-right: 4px solid var(--bs-danger);
    height: 100%;
    position: absolute;
    right: -1px;
    top: 0;
    border-radius: 5px 0 0 5px;
}

li.nav-item.navregion {
    width: 100%;
    text-align: center;
}

/*animation-color button hover*/
.animation-color {
    cursor: pointer;
    position: relative;
    transition: all 2s;
    /* min-height: 70px; */
    user-select: none;
    color: #4287f5;
    z-index: 5;
    padding: 18px 10px;
    text-align: center;
    text-transform: uppercase;
    border: 2px solid #4287f5;
    transition: all 0.5s;
    font-weight: 600;
    width: 300px;
}

.animation-color:hover {
    color: white;
    animation: colorize 0.5s ease-in-out forwards;
    border-right: 1rem solid red;
    /* เพิ่ม border-right */
}

@keyframes colorize {
    0% {
        color: #4287f5;
    }

    25% {
        color: #4287f5;
    }

    100% {
        color: white;
    }
}

.animation-color::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 1px;
    background-color: #4287f5;
    z-index: -1;
    transition: all 0.5s;
}

.animation-color:hover::before {
    width: 100%;
    transition: 0.5s;
}
#smgroupAuctionlocation {
    display: none;
}
@media only screen and (max-width: 768px) {
    .nav .nav-item .nav-link.active {
        border-right: 1.5rem solid red !important;
    }
    .animation-color {
        padding: 10px !important;
    }
    #smgroupAuctionlocation {
        display: block !important;
        justify-content: center;
        align-items: center;
    }
    #tabsAuctionlocationSm {
        display: flex;
        justify-content: center;
        align-items: center;
        list-style: none;
        padding: 0;
        margin: auto;
    }
    #lggroupAuctionlocation {
        display: none !important;
    }
}