#searchInput:focus {
    border-color: #ffffff !important;
    box-shadow: 0 0 0 0.2rem #ffffff !important;
}

#searchInput::-webkit-input-placeholder {
    color: rgb(147, 144, 144);
    font-size: 16px;
    font-weight: 400 !important;
}

#searchModal {
    z-index: 99999 !important;
}

#searchModal .modal-dialog {
    z-index: 100000 !important;
}

#searchModal .modal-content {
    overflow: hidden;
}

#searchModal .modal-body {
    padding-bottom: 18px;
}

#searchModal .content-result {
    max-height: 360px;
    overflow-y: auto;
    overflow-x: hidden;
}

#autocomplete {
    display: block;
    width: 100%;
}

#autocomplete > p {
    margin: 12px 0;
    line-height: 1.5;
}

.search-wrap {
    position: unset !important;
    transform: unset !important;
    display: block;
    width: 100%;
    margin-bottom: 8px;
}

.search-content {
    min-height: 74px;
    align-items: center;
    padding: 8px 0;
    transition: background-color 0.3s ease;
}

.search-content .row {
    margin-top: 0 !important;
    align-items: center;
}

.search-content h6,
.search-content p {
    margin-bottom: 4px;
    line-height: 1.35;
    word-break: break-word;
}

.search-content h6 {
    font-weight: 700;
}

.text-color {
    color: #000000;
    transition: color 0.3s ease;
}

.search-wrap.active .text-color,
.search-wrap:hover .text-color {
    color: #ffffff;
}

.search-wrap.active .search-content,
.search-wrap.active .search-content:hover,
.search-wrap:hover .search-content {
    background-color: #005773;
}

#footerSearchModal {
    position: relative;
    z-index: 1;
    background: #ffffff;
}

#footerSearchModal i {
    background-color: var(--tg-primary-blue-color) !important;
}

@media only screen and (max-width: 768px) {
    #footerSearchModal {
        display: none !important;
    }
}

@media only screen and (min-width: 768px) {
    #mobileSearchButton {
        display: none !important;
    }
}
