.nt-global-search {
    /* apparition effect */
    transition: visibility .3s, opacity .3s;
    visibility: visible!important;
    opacity: 1!important;
    --global-search-form-height: 45px;
    height: var(--global-search-form-height);
}
@media (max-width: 767px) {
    .nt-global-search {
        margin-bottom: 24px;
    }
}
.nt-global-search-form {
    border: 1px solid #DEDEDE;
    border-radius: 5px;
    transition: .3s;
    position: absolute;
    top: 0;
    overflow: hidden;
    width: 100%;
    z-index: 1;
}
.nt-global-search-form-topline {
    display: flex;
}
.nt-global-search-form:focus-within {
    border-color: var(--e-global-color-secondary);
    box-shadow: 0 0 12px -5px var(--e-global-color-secondary);

}
.nt-global-search-form #s {
    flex: 0 1 100%;

    border: none;
    height: var(--global-search-form-height);
    font-size: 1rem;
    font-family: inherit;
    padding: 0 10px;
    outline: none!important;
}
.nt-global-search-loader {
    opacity: 0;
    height: var(--global-search-form-height);
    transition: .3s;
}
.nt-global-search-loader img {
    height: 100%;
    width: auto;
    max-width: none;
}
.nt-global-search-form-topline [type=submit] {
    flex: 0 0 50px;

    background: none;
    border: none;
    color: var(--e-global-color-secondary);
    cursor: pointer;
    font-size: 23px;
    transition: .3s;
}

.nt-global-search-form-topline [type=submit]:hover,
.nt-global-search-form-topline [type=submit]:focus {
    background: var(--e-global-color-secondary);
    color: white;
}

.nt-global-search-results {
    background: white;
    top: var(--global-search-form-height);
    visibility: hidden;
    opacity: 0;
}
.nt-global-search-results ul {
    padding-left: 0;
    list-style: none;
    margin: 0;
    position: relative;
}
.nt-global-search-results ul:before {
    content:"";
    position: absolute;
    top: -10px;
    height: 1px;
    background: var(--e-global-color-secondary);
    width: 100%;
    left: 0;
}
.nt-global-search-result .nt-global-search-result-link {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: inherit;
    color: #333;
    font-size: 0.875rem;
    font-weight: 300;
    background: none;
    border: none;
    min-height: var(--global-search-form-height);
    width: 100%;
    cursor: pointer;
    padding: 5px;
    transition: .3s;
}
.nt-global-search-result .nt-global-search-result-link:hover,
.nt-global-search-result .nt-global-search-result-link:focus {
    color: var(--e-global-color-secondary);
    background: #F0F0F0;
}
.nt-global-search-result .nt-global-search-result-thumbnail {
    flex: 0 0 50px;
    display: flex;
}
.nt-global-search-result .nt-global-search-result-thumbnail img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}
.nt-global-search-result .nt-global-search-result-title {
    flex: 0 1 100%;
}
.nt-global-search-result .nt-global-search-result-title strong {
    font-weight: 600;
}
.nt-global-search-result-see-all {
    font-size: 0.875rem;
    font-weight: 300;
    font-family: inherit;
    border: none;
    background: none;
    display: block;
    width: 100%;
    color: #333;
}

.nt-global-search.searching .nt-global-search-loader {
    opacity: 1;
}
.nt-global-search.has-results .nt-global-search-results {
    visibility: visible;
    opacity: 1;
    padding: 10px;
}


.nt-archive-global-search .nt-global-search {
    --global-search-form-height: 35px;
}
.nt-archive-global-search .nt-global-search-form-topline {
    background: white;
}
.nt-archive-global-search .nt-global-search-form-topline [type=submit] {
    width: 35px;
    flex: unset;
    font-size: 18px !important;
}
.nt-archive-global-search .nt-global-search-form #s {
    flex: unset;
    width: 100%;
    padding: 0 5px;
    font-size: 14px;
}