.titleTextLeft {
    width: 100%;
    padding: 6px;
    text-align: center;
    color: white;
    /*  background: rgb(0, 172, 238) ; */
    background: #1f7ce5;
    background: linear-gradient(0deg, rgb(9, 174, 240) 0%, rgb(5, 121, 238) 100%);
    font-weight: bold;
    margin-bottom: 0;
    box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
}

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: 8px;
}

.heightBody {
    height: 140px;
}

iframe {
    width: 100%;
    height: 300px;
}

.bodydetailImage {
    margin-top: 10px;
    margin-bottom: 8px;
    /* min-height: 120px; */
}

.bodydetailImage p {
    margin-bottom: 8px;
    padding-left: 10px;
    padding-right: 10px;
    /* font-size: 16px; */
}


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

.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 {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border: 1px solid #a6d9f1;
}

.border-gray {
    border: 1px solid #e1dbdb;
}

@media only screen and (max-width: 1199px) {
    .titleTextMap {
        font-size: 12px !important;
    }

    p {
        font-size: 12px !important;
    }
}


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

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

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

    p {
        font-size: 16px !important;
    }

    h4.titleTextLeft,
    h4.text-primary {
        font-size: 20px;
    }

    .animation-color {
        padding: 10px !important;
    }
}


.nav .nav-item .nav-link.active {
    border-right: 7px 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;
}

.animation-color:hover {
    color: white;
    animation: colorize 0.5s ease-in-out forwards;
    border-right: 7px 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;
}
#smgroupRegions {
    display: none;
}
@media only screen and (max-width: 600px) {
    .nav .nav-item .nav-link.active {
        border-right: 1.4rem solid red !important;
    }
    .animation-color {
        padding: 10px !important;
    }
    #smgroupRegions {
        display: block !important;
    }

    #lggroupRegions {
        display: none !important;
    }
}