/* Public support and contact content only; never loaded in the client area. */

body.restylewww.kbstyle #kt_content .alert-info {
    background-color: #f3f9ff;
    border-color: #b9d3ed;
    color: #244765;
}

html[data-theme="eco"] body.restylewww.kbstyle #kt_content {
    --public-panel: var(--restylewww-eco-panel);
    --public-inset: var(--restylewww-eco-inset);
    --public-border: var(--restylewww-eco-border);
    --public-text: var(--restylewww-eco-text);
    --public-muted: var(--restylewww-eco-muted);
    --public-link: var(--restylewww-eco-link);
    color-scheme: dark;
    background-color: var(--public-panel) !important;
    color: var(--public-text);
}

html[data-theme="eco"] body.restylewww.kbstyle .kb-container #kt_content {
    background-color: transparent !important;
}

html[data-theme="eco"] body.restylewww.kbstyle #kt_content :is(
    .kt-portlet, .kt-portlet__body, .kt-portlet__head, .kt-portlet__foot,
    .dropdown-menu, .nav-link_boxed
) {
    background-color: var(--public-panel) !important;
    border-color: var(--public-border) !important;
    color: var(--public-text);
}

html[data-theme="eco"] body.restylewww.kbstyle #kt_content :is(
    h1, h2, h3, h4, h5, h6, label, .kt-portlet__head-title
) {
    color: var(--public-text);
}

html[data-theme="eco"] body.restylewww.kbstyle #kt_content :is(.text-muted, .form-text, .help-block) {
    color: var(--public-muted) !important;
}

html[data-theme="eco"] body.restylewww.kbstyle #kt_content a:not(.btn) {
    color: var(--public-link);
}

html[data-theme="eco"] body.restylewww.kbstyle #kt_content :is(.nav-link_boxed:hover, .nav-link_boxed:focus-visible, .dropdown-item:hover, .dropdown-item:focus) {
    background-color: var(--restylewww-eco-soft) !important;
    color: var(--public-text);
}

html[data-theme="eco"] body.restylewww.kbstyle #kt_content :is(.form-control, .input-group-text, .header-search__form) {
    background-color: var(--public-inset);
    border-color: var(--public-border);
    color: var(--public-text);
}

html[data-theme="eco"] body.restylewww.kbstyle #kt_content .form-control::placeholder {
    color: var(--public-muted);
    opacity: 1;
}

/* Search adornments are positioned over the input by the legacy layout. */

html[data-theme="eco"] body.restylewww.kbstyle #kt_content .kt-quick-search .input-group-text {
    background-color: transparent;
    border-color: transparent;
}

html[data-theme="eco"] body.restylewww.kbstyle #kt_content .form-control:focus {
    border-color: var(--public-link);
    box-shadow: 0 0 0 .2rem rgba(143, 185, 255, .2);
}

html[data-theme="eco"] body.restylewww.kbstyle #kt_content :is(.alert-info, .alert-outline-info) {
    background-color: var(--restylewww-eco-info-bg) !important;
    border-color: #49617d !important;
    color: var(--restylewww-eco-info) !important;
}

html[data-theme="eco"] body.restylewww.kbstyle #kt_content :is(.alert-danger, .alert-outline-danger) {
    background-color: var(--restylewww-eco-danger-bg) !important;
    border-color: #aa5a67 !important;
    color: var(--restylewww-eco-danger) !important;
}

html[data-theme="eco"] body.restylewww.kbstyle #kt_content :is(.alert-success, .alert-outline-success) {
    background-color: var(--restylewww-eco-success-bg) !important;
    border-color: #39735a !important;
    color: var(--restylewww-eco-success) !important;
}

html[data-theme="eco"] body.restylewww.kbstyle #kt_content :is(.btn-outline-info, .btn-outline-primary) {
    border-color: var(--public-link);
    color: var(--public-link);
}

html[data-theme="eco"] body.restylewww.kbstyle #kt_content :is(.btn-outline-info, .btn-outline-primary):is(:hover, :focus-visible) {
    background-color: var(--restylewww-eco-soft);
    color: var(--public-text);
}

html[data-theme="eco"] body.restylewww.kbstyle #kt_content :is(pre, blockquote, th, td) {
    border-color: var(--public-border);
}

html[data-theme="eco"] body.restylewww.kbstyle #kt_content pre {
    background-color: var(--public-inset);
    color: var(--public-text);
}
