/* Vitality Hub / jiankang.co.nz only. Loaded by the customer-specific template hook.
 * Replace the existing brand green without changing dimensions, layout or unrelated colours.
 * Keep legacy brown interaction states that already override the old green.
 */
:root {
    --vitalityhub-brand: #4a8f68;
    --vitalityhub-footer-background: #1d2e6a;
    --vitalityhub-footer-link-hover: #d9e6ff;
}

/* Brand-colour declarations from ivorsoftware.css. */
.voucher-wallet {
    color: var(--vitalityhub-brand);
}

.voucher-wallet {
    border-color: var(--vitalityhub-brand);
}

.voucher-wallet:hover {
    color: var(--vitalityhub-brand);
}

.voucher-wallet i {
    color: var(--vitalityhub-brand);
}

.list-voucher-box {
    color: var(--vitalityhub-brand);
}

.list-voucher-box {
    border-color: var(--vitalityhub-brand);
}

.desktop-search-box input {
    border-color: var(--vitalityhub-brand);
}

.desktop-cart-container,
.desktop-account-container {
    color: var(--vitalityhub-brand);
}

/* Brand-colour declarations from theme-aoteagifts.css. */
.search-full,
.search-input {
    background-color: var(--vitalityhub-brand);
}

.search-close {
    color: var(--vitalityhub-brand);
}

.nav > li.active,
.nav > li > a:hover,
.nav > li > a:focus,
.nav > li:hover > a {
    color: var(--vitalityhub-brand);
}

.form-control:focus,
.form-control:active {
    border-color: var(--vitalityhub-brand);
}

.search-box .btn-nobg {
    color: var(--vitalityhub-brand);
}

.add-fav:hover,
.add-fav:active,
.add-fav.active {
    border-color: var(--vitalityhub-brand);
}

.add-fav:hover,
.add-fav:active,
.add-fav.active {
    color: var(--vitalityhub-brand);
}

.search-box .btn-nobg {
    color: var(--vitalityhub-brand);
}

.first-menu.dropdown > a,
.first-menu.dropdown > a:hover,
.nav > li.first-menu:hover > a {
    background-color: var(--vitalityhub-brand);
}

a:hover {
    color: var(--vitalityhub-brand);
}

.highlight {
    color: var(--vitalityhub-brand);
}

.navbar.navbar-tshop.navbar-fixed-top.megamenu {
    border-color: var(--vitalityhub-brand);
}

.btn-desktop-search {
    border-color: var(--vitalityhub-brand);
}

.btn-desktop-search {
    background-color: var(--vitalityhub-brand);
}

.desktop-cart-container:hover,
.desktop-account-container:hover {
    color: var(--vitalityhub-brand);
}

.bottom-bar .function-button a {
    color: var(--vitalityhub-brand);
}

.colorWhite,
.colorWhite i {
    color: var(--vitalityhub-brand);
}

.subCategoryList .thumbnail.active {
    border-color: var(--vitalityhub-brand);
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus,
.nav-tabs > li:hover > a {
    color: var(--vitalityhub-brand);
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus,
.nav-tabs > li:hover > a {
    border-color: var(--vitalityhub-brand);
}

button.first:hover {
    background-color: var(--vitalityhub-brand);
}

.cart-actions .wishlist {
    color: var(--vitalityhub-brand);
}

.cart-actions .wishlist {
    border-color: var(--vitalityhub-brand);
}

.cart-actions .wishlist:hover {
    color: var(--vitalityhub-brand);
}

.cart-actions .wishlist:hover {
    border-color: var(--vitalityhub-brand);
}

.mobile-agent-container {
    background-color: var(--vitalityhub-brand);
}

.mobile-currency-container {
    background-color: var(--vitalityhub-brand);
}

.menu-icon {
    color: var(--vitalityhub-brand);
}

.back-to-top {
    color: var(--vitalityhub-brand);
}

.back-to-top i {
    color: var(--vitalityhub-brand);
}

.img-thumbnail {
    border-color: var(--vitalityhub-brand);
}

.navbar-brand {
    color: var(--vitalityhub-brand);
}

.navbar-brand a {
    color: var(--vitalityhub-brand);
}

.navbar-toggle .icon-bar {
    border-color: var(--vitalityhub-brand);
}

.cart-actions button,
.cart-actions button:hover {
    background-color: var(--vitalityhub-brand);
}

.cart-actions button,
.cart-actions button:hover {
    border-color: var(--vitalityhub-brand);
}

.footer {
    border-color: var(--vitalityhub-brand);
}

.desktop-search-box input,
.desktop-search-box input:focus {
    border-color: var(--vitalityhub-brand);
}

.btn-desktop-search {
    border-color: var(--vitalityhub-brand);
}

.btn-desktop-search {
    background-color: var(--vitalityhub-brand);
}

.btn-primary {
    border-color: var(--vitalityhub-brand);
}

.btn-primary {
    background-color: var(--vitalityhub-brand);
}

.panel-default > .panel-heading {
    border-color: var(--vitalityhub-brand);
}

.modal-header {
    background-color: var(--vitalityhub-brand);
}

.category-sign {
    background-color: var(--vitalityhub-brand);
}

#topnav {
    color: var(--vitalityhub-brand) !important;
}

.login-selection ul li.active a {
    color: var(--vitalityhub-brand) !important;
}

@media (max-width: 767px) {
    .navbar-nav .dropdown a {
        color: var(--vitalityhub-brand);
    }
}

@media (max-width: 767px) {
    .menu-icon {
        color: var(--vitalityhub-brand);
    }
}

@media (max-width: 767px) {
    .miniCartProduct,
    .miniCartProduct a,
    .miniCartProduct p,
    .miniCartProduct .size,
    .miniCartProduct .price,
    .dropdown-header {
        color: var(--vitalityhub-brand);
    }
}

@media (max-width: 767px) {
    .megamenu-content ul li a,
    .megamenu-content ul li p,
    .megamenu-content ul li,
    .navbar-nav .dropdown a,
    .navbar-nav .dropdown {
        color: var(--vitalityhub-brand);
    }
}

/* These layouts declare the former green inline after the document header. */
.main-groupbuy .promotion-middle.selling {
    background-color: var(--vitalityhub-brand) !important;
}

/* Main footer only; the copyright strip retains the shared theme. */
footer .footer,
footer .footer .container {
    background-color: var(--vitalityhub-footer-background);
    color: #fff;
}

footer .footer h3,
footer .footer p,
footer .footer ul,
footer .footer li,
footer .footer a,
footer .footer a:visited {
    color: #fff;
}

footer .footer a:hover,
footer .footer a:focus,
footer .footer a:active {
    color: var(--vitalityhub-footer-link-hover) !important;
}
