.sytec-site-header {
position: relative;
}
body.sytec-search-active .sytec-header-shell {
z-index: 1500;
}
.sytec-header-element--search .sytec-search-toggle {
color: var(--sytec-header-search-icon-color, var(--sytec-header-element-color));
}
.sytec-header-element--search .sytec-search-toggle:hover,
.sytec-header-element--search .sytec-search-toggle:focus-visible {
color: var(--sytec-header-search-icon-hover-color, var(--sytec-header-element-hover-color));
}
.sytec-header-element--search .sytec-search-toggle .sytec-header-element__label {
color: var(--sytec-header-search-text-color, currentColor);
}
.sytec-header-search--dropdown {
z-index: 1300;
width: min(860px, calc(100vw - 32px));
max-height: min(80vh, 720px);
overflow: hidden;
border-color: var(--sytec-header-search-border-color, currentColor);
border-radius: 16px;
background: var(--sytec-header-search-background, var(--sytec-row-background, transparent));
box-shadow: 0 24px 64px rgba(7, 26, 53, .22);
color: var(--sytec-header-search-text-color, var(--sytec-header-element-color));
}
.sytec-header-search--dropdown .sytec-container {
width: 100%;
max-width: none;
min-width: 0;
padding: 0;
}
.sytec-header-search .sytec-predictive-search {
display: flex;
width: 100%;
max-width: none;
max-height: inherit;
min-width: 0;
margin: 0;
padding: 16px;
flex-direction: column;
box-sizing: border-box;
}
.sytec-predictive-search__heading {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
margin-bottom: 10px;
color: #102a46;
}
.sytec-predictive-search__heading strong {
font-size: 14px;
font-weight: 800;
}
.sytec-predictive-search__close {
display: inline-flex;
min-height: 44px;
padding: 8px 12px;
align-items: center;
justify-content: center;
border: 1px solid #bfd0e3;
border-radius: 10px;
background: #fff;
color: #164e87;
font: inherit;
font-size: 14px;
font-weight: 750;
}
.sytec-predictive-search__close:hover,
.sytec-predictive-search__close:focus-visible {
border-color: #79aee3;
background: #eef6ff;
color: #0b4f91;
outline: none;
}
.sytec-predictive-search .sytec-search-form__row {
display: grid;
width: 100%;
grid-template-columns: minmax(0, 1fr) auto;
gap: 10px;
}
.sytec-predictive-search .sytec-search-form__row input[type="search"] {
width: 100%;
min-height: 48px;
padding: 11px 14px;
border: 1px solid var(--sytec-header-search-border-color, currentColor);
border-radius: 11px;
background: var(--sytec-header-search-background, transparent);
color: var(--sytec-header-search-text-color, inherit);
font-size: 16px;
}
.sytec-predictive-search .sytec-search-form__row input[type="search"]::placeholder {
color: var(--sytec-header-search-placeholder-color, currentColor);
opacity: .65;
}
.sytec-predictive-search .sytec-search-form__row input[type="search"]:focus {
border-color: var(--sytec-header-search-border-color, currentColor);
box-shadow: 0 0 0 3px rgba(23, 105, 194, .16);
outline: 0;
}
.sytec-predictive-search .sytec-search-form__row button[type="submit"] {
min-height: 48px;
padding: 10px 18px;
border: 1px solid #0b5cad;
border-radius: 11px;
background: #0b5cad;
color: #fff;
font-weight: 800;
}
.sytec-predictive-search__surface {
width: 100%;
max-height: min(62vh, 590px);
min-height: 0;
margin-top: 14px;
padding-right: 8px;
overflow-y: auto;
overflow-x: hidden;
overscroll-behavior: contain;
scrollbar-gutter: stable;
box-sizing: border-box;
scrollbar-color: #9ab2ca transparent;
scrollbar-width: thin;
}
.sytec-predictive-search__surface::-webkit-scrollbar {
width: 8px;
}
.sytec-predictive-search__surface::-webkit-scrollbar-track {
background: transparent;
}
.sytec-predictive-search__surface::-webkit-scrollbar-thumb {
border: 2px solid transparent;
border-radius: 999px;
background: #9ab2ca;
background-clip: padding-box;
}
.sytec-predictive-search__surface[hidden] {
display: none;
}
.sytec-predictive-search__status {
margin: 0;
padding: 22px;
border: 1px dashed #c7d7e8;
border-radius: 12px;
background: #f7fbff;
color: #48627e;
font-size: 14px;
line-height: 1.55;
}
.sytec-predictive-search__status.is-loading::before {
display: inline-block;
width: 14px;
height: 14px;
margin-right: 9px;
border: 2px solid #b9d3ef;
border-top-color: #1769c2;
border-radius: 50%;
content: "";
vertical-align: -2px;
animation: sytec-search-spin .7s linear infinite;
}
.sytec-predictive-search__status.is-error {
border-color: #fecaca;
background: #fff7f7;
color: #991b1b;
}
@keyframes sytec-search-spin {
to { transform: rotate(360deg); }
}
.sytec-predictive-search__groups,
.sytec-predictive-group {
width: 100%;
min-width: 0;
}
.sytec-predictive-group + .sytec-predictive-group {
margin-top: 20px;
padding-top: 18px;
border-top: 1px solid #e3ebf4;
}
.sytec-predictive-group__title {
margin: 0 0 10px !important;
color: #56708b !important;
font-size: 12px !important;
font-weight: 850 !important;
letter-spacing: .09em !important;
line-height: 1.4 !important;
text-transform: uppercase;
}
.sytec-predictive-group__list {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
}
.sytec-predictive-group--posts .sytec-predictive-group__list,
.sytec-predictive-group__list:has(> .sytec-predictive-result:only-child) {
grid-template-columns: minmax(0, 1fr);
}
.sytec-predictive-result {
display: grid;
width: 100%;
grid-template-columns: 56px minmax(0, 1fr);
column-gap: 12px;
row-gap: 5px;
min-height: 88px;
padding: 12px;
align-items: start;
border: 1px solid #e2eaf3;
border-radius: 12px;
background: #fff;
color: #102a46;
box-sizing: border-box;
text-decoration: none;
transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease;
}
.sytec-predictive-result:hover,
.sytec-predictive-result:focus-visible,
.sytec-predictive-result[aria-selected="true"] {
border-color: #a7c9ee;
background: #eef6ff;
box-shadow: 0 8px 20px rgba(12, 72, 132, .1);
color: #102a46;
outline: none;
transform: translateY(-1px);
}
.sytec-predictive-result__media {
display: inline-flex;
width: 56px;
height: 56px;
align-items: center;
justify-content: center;
overflow: hidden;
border-radius: 10px;
background: #e7f2ff;
color: #155da8;
font-size: 18px;
font-weight: 850;
}
.sytec-predictive-result__media img {
width: 100%;
height: 100%;
object-fit: cover;
}
.sytec-predictive-result__copy {
display: grid;
min-width: 0;
gap: 3px;
}
.sytec-predictive-result__title {
display: -webkit-box;
overflow: hidden;
color: #102a46;
font-size: 15px;
font-weight: 800;
line-height: 1.4;
white-space: normal;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.sytec-predictive-result__meta {
overflow: hidden;
color: #536d88;
font-size: 11px;
font-weight: 650;
line-height: 1.35;
text-overflow: ellipsis;
white-space: nowrap;
}
.sytec-predictive-result__summary {
display: -webkit-box;
overflow: hidden;
color: #60758d;
font-size: 13px;
line-height: 1.45;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.sytec-predictive-result__action {
grid-column: 2;
color: #0b5cad;
font-size: 12px;
font-weight: 800;
white-space: nowrap;
}
.sytec-predictive-search__all {
display: flex;
min-height: 46px;
margin-top: 16px;
padding: 10px 16px;
align-items: center;
justify-content: center;
border: 1px solid #b8cee5;
border-radius: 11px;
background: #f7fbff;
color: #0b4f91;
font-size: 14px;
font-weight: 800;
text-decoration: none;
}
.sytec-predictive-search__all[hidden] {
display: none;
}
@media (max-width: 1024px) {
body.sytec-search-open {
overflow: hidden;
}
.sytec-builder-header__device--mobile .sytec-header-element--search {
position: static;
}
.sytec-builder-header__device--mobile .sytec-header-search--dropdown {
position: fixed;
z-index: 1300;
top: 78px;
right: 10px;
left: 10px;
width: auto;
max-height: calc(100dvh - 88px - env(safe-area-inset-bottom));
border-width: 1px;
border-radius: 14px;
}
.sytec-builder-header__device--mobile .sytec-header-search--dropdown .sytec-container {
width: 100%;
max-width: none;
padding: 0;
}
.sytec-builder-header__device--mobile .sytec-predictive-search__surface {
max-height: calc(100dvh - 88px - 128px - env(safe-area-inset-bottom));
}
.sytec-predictive-group__list {
grid-template-columns: minmax(0, 1fr);
}
}
@media (max-width: 600px) {
.sytec-header-search .sytec-predictive-search {
padding: 14px;
}
.sytec-predictive-search .sytec-search-form__row {
grid-template-columns: minmax(0, 1fr);
}
.sytec-predictive-search .sytec-search-form__row button[type="submit"] {
width: 100%;
}
.sytec-predictive-result {
grid-template-columns: 48px minmax(0, 1fr);
min-height: 78px;
padding: 10px;
}
.sytec-predictive-result__media {
width: 48px;
height: 48px;
}
.sytec-predictive-result__title {
font-size: 14px;
}
.sytec-predictive-result__summary {
font-size: 12px;
}
.sytec-predictive-result__action {
grid-column: 2;
}
}
@media (prefers-reduced-motion: reduce) {
.sytec-predictive-result {
transition: none;
}
.sytec-predictive-search__status.is-loading::before {
animation-duration: 1.4s;
}
}