:root {
    --brandwebsite-gradient-primary: linear-gradient(90.33deg, rgba(11, 51, 154, 0.85) 0%, rgba(0, 151, 220, 0.85) 49.13%, rgba(0, 122, 210, 0.85) 99.72%);
    --primary-color: #446084;
    --color-white: #fff;
    --color-primary: #0097DC;
}

.title-gradient h2 {
    margin-top: 30px;
    margin-bottom: 30px;
}

.section-news-events .title-gradient h2 {
    margin-bottom: 10px !important;
}

#footer .section {
    box-shadow: 0px -4px 10px 0px rgba(0, 0, 0, 0.10) !important;
    background: #fff;
}

.section-slider-home {
    padding-top: 0 !important;
}

.title-shadown>* {
    filter: drop-shadow(4px 4px 0px var(--color-white));
}

.title-gradient>* {
    background: var(--brandwebsite-gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fs-heading-1>* {
    font-size: 40px;
    margin-bottom: 0;
}

.col-title-home {
    padding-bottom: 0 !important;
}

p {
    color: #000;
}

.button-gradient {
    line-height: 1 !important;
    padding: 9px 24px !important;
    border-radius: 5px !important;
    background: linear-gradient(270deg, var(--color-primary) -0.18%, #15BEF0 100%);
    box-shadow: 0px 0px 4px 0px rgba(255, 255, 255, 0.85) !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    margin-bottom: 2em !important;
}



#top-link {
    background: #fff;
    border-radius: 99px !important;
    width: 50px;
    height: 50px;
    border: 1px solid #007AD2 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    right: 10px;
    bottom: 280px !important;
    box-shadow: unset;
}

.back-to-top.active {
    opacity: 1 !important;
}

#top-link i:before {
    background-image: url(https://nhakhoashark.vn/wp-content/uploads/nhakhoashark.vn/2023/02/Group-21.png);
    width: 15px;
    height: 15px;
    background-repeat: no-repeat;
    content: '' !important;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.title-footer>* {
    color: var(--color-primary);
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
}

.title-footer {
    color: var(--color-primary);
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
}

.footer-contact-item:not(:last-child) {
    margin-bottom: 10px;
}

.footer-contact-item>*:first-child {
    width: 24px;
    margin-right: 8px;
}

.footer-contact-item {
    display: flex;
    color: #333;
}

.col-footer-link a {
    color: #333 !important;
}

.ux-menu-link__text {
    color: #333333 !important;
}

.ux-menu.ux-menu--divider-solid .ux-menu-link:not(:last-of-type) .ux-menu-link__link {
    border-bottom-style: none !important;
}

.footer-social p {
    margin-bottom: 5px;
}

.list-social>*:not(:last-child) {
    margin-right: 15px;
}

.title-map {
    margin-bottom: 25px;
}

.absolute-footer {
    display: none;
}

#iconloading__box {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9997;
    background: #fff0;
}

.item__iconloading {
    position: absolute;
    z-index: 9998;
    background: #ffffff94;
    width: 100%;
    height: 100%;
}

.item__iconloading img {
    width: 120px;
    height: 100px;
    z-index: 9999;
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.fb__box {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.7);
    animation-name: moveInleft;
    animation-duration: .6s;
}

.fb__box--bg {
    text-align: center;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
}

.bg__successful {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 448px;
    min-width: 350px;
    background: radial-gradient(100% 975.28% at 100% 0%, #19569D 0%, #0097DC 62.83%, #D7FFF5 100%);
    z-index: 999;
}

.bgs__content {
    margin: 15px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid #FFFFFF;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
}

.f__close {
    display: flex;
    justify-content: flex-end;
    padding: 8px;
    padding-bottom: 0;
}

.content__successful {
    padding: 25px 10px;
}

.btnf__close {
    width: 24px;
    height: 24px;
    border-radius: 5px;
    background-color: #fff8ff;
    cursor: pointer;
    animation-name: moveInright;
    animation-duration: .4s;
    margin: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.bubble-menu.-size-lg {
    --size: 16px;
}

.bubble-menu.-bottom-right {
    inset: auto 8px 20px auto;
}

.row-image-footer a img {
    width: 130px;
    height: 60px;
}

.show-form {
    display: block;
}

@keyframes moveInleft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }

    80% {
        transform: translateX(10px);
    }

    100% {
        opacity: 1;
        transform: translate(0);
    }
}

@keyframes moveInright {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }

    80% {
        transform: translateX(-10px);
    }

    100% {
        opacity: 1;
        transform: translate(0);
    }
}

/* Đảm bảo container .bm-icon vẫn là hình tròn */
.bm-icon.custom-image-icon {
    display: flex;                  /* Dùng flex để căn giữa */
    align-items: center;            /* Căn giữa theo chiều dọc */
    justify-content: center;        /* Căn giữa theo chiều ngang */
    overflow: hidden;               /* Không cho ảnh tràn ra */
}

/* Ảnh bên trong tự co */
.bm-icon.custom-image-icon img {
    width: 60%;                     /* Điều chỉnh tỷ lệ ảnh */
    height: 60%;
    object-fit: contain;            /* Giữ nguyên tỉ lệ ảnh */
    display: block;
}

.row-image-footer a img {
    width: 130px;
    height: 60px;
}

.row-image-footer>.col>.col-inner {
    border-top: 1px solid #ccc;
    padding-top: 50px;
    margin-top: 50px;
}


@media screen and (max-width: 768px) {
    .fs-heading-1>* {
        font-size: 26px;
    }

    .col-footer .col-inner {
        text-align: justify !important;
    }

    .row-image-footer a img {
        width: 90px;
        height: 40px;
        margin-bottom: 10px;
    }

    .title-gradient h2 {
        margin-bottom: 10px;
    }

    .title-gradient h2 {
        margin-top: 0px;
    }

    .mb-pd-0,
    .footer-mb {
        padding-bottom: 0 !important;
    }

    .colum-footer {
        padding-bottom: 15px !important;
    }

    #top-link {
        bottom: 75px !important;
        right: 5px !important;
    }

    .bubble-menu.-bottom-right {
        inset: auto 8px 70px auto;
    }

    .box-menu--header img {
        max-width: 60px !important;
    }

    .box-menu--header .header-logo {
        margin: unset !important;
    }

    .menu_close {
        margin-left: auto;
    }

    .section-store .row .medium-8{
        padding-bottom: 0 !important;
    }

    .section-store .button-gradient {
        margin-bottom: 0 !important;
    }

}

@media screen and (max-width: 849px) {
    .col {
        padding-bottom: 15px !important;
    }
}