/**
 * Custom CSS for SmartLight
 * This file overrides the green theme color with corporate blue
 */

:root {
    --theme-color: #01587F !important;
    --theme-color2: #01587F !important;
}

/* Text color overrides */
a, 
ul.wp-block-latest-posts a:hover,
.th-search .search-grid-title a:hover,
.wp-block-calendar #today, .calendar_wrap #today,
.widget_rss a:hover, .wp-block-rss a:hover,
.th-mobile-menu ul li.th-active>a,
.main-menu ul li:hover>a,
.header-social a:hover,
.footer-links a:hover,
.copyright-text a,
.th-widget-contact .info-box .box-link:hover {
    color: #01587F;
}

/* Background color overrides */
.wp-block-button .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-search .wp-block-search__button,
.post-password-form input[type="submit"],
.page-links>span:not(.page-links-title):not(.screen-reader-text):hover, .page-links>a:hover,
.page-links>span:not(.page-links-title):not(.screen-reader-text).current, .page-links>a.current,
.blog-single.format-quote:before, .blog-single.format-link:before, .blog-single.tag-sticky-2:before, .blog-single.sticky:before,
.wp-block-calendar caption,
input[type="checkbox"]:checked ~ label:before,
input[type="radio"]:checked ~ label::before,
.th-menu-wrapper .th-menu-toggle,
.th-menu-area,
.loader,
.accordion-card.style11 .accordion-button:not(.collapsed),
.accordion-card.style12 .accordion-button:not(.collapsed),
.choose-item .box-icon {
    background-color: #01587F !important;
}

/* Border color overrides */
select:focus, .form-control:focus, .form-select:focus, textarea:focus, input:focus,
input[type="radio"] ~ label:before,
.th-menu-wrapper .th-menu-area,
.main-menu ul.mega-menu>li>a::after, .main-menu ul.mega-menu>li>a::before {
    border-color: #01587F !important;
}

/* Gradient overrides */
.accordion-card.style11 .accordion-button:not(.collapsed),
.accordion-card.style12 .accordion-button:not(.collapsed) {
    background: -webkit-linear-gradient(top, #01587F 0%, #01587F 100%) !important;
    background: linear-gradient(180deg, #01587F 0%, #01587F 100%) !important;
}

/* Special cases */
.footer-layout3 .copyright-wrap {
    background-color: #01587F !important;
} 