:root {
    --theme-primay: #00a859;
    --theme-primary-hover: #008f4b;
    --theme-accent : #ed3237;
}

header {
    position: relative;
}

.header-toggle-search {
    display: flex;
    width: 2rem;
    height: 2rem;
    justify-content: center;
    align-items: center;
    border: 1px solid transparent;
    margin-left: auto;
    border-radius: 0.25rem;
    color: #fff;
    background-color: var(--theme-primay);
    transition: 0.25s ease;
    cursor: pointer;
    outline: none !important;
    box-shadow: none !important;
}

body.show-header-search .header-toggle-search,
.header-toggle-search:hover {
    background-color: var(--theme-primary-hover);
}

body.show-header-search .header-toggle-search > i::before {
    content: "\f00d";
}

.header-search {
    position: fixed;
    top: 129px;
    left: 0;
    right: 0;
    z-index: 10;
    display: none;
}

.header-search .header-search__wrapper {
    padding: 1rem;
    background-color: #fff;
    border-radius: 0 0 0.25rem 0.25rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.header-search .form-group {
    display: flex;
    flex-flow: row nowrap;
    height: 2.5rem;
    margin-bottom: 0;
}

.header-search .form-group .form-control {
    outline: none !important;
    box-shadow: none !important;
    border-right: none;
    border-radius: 0.25rem 0 0 0.25rem;
}

.header-search .form-group .form-control:focus {
    border-color: var(--theme-primay);
}

.header-search .form-group > button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    border: 1px solid transparent;
    color: #fff;
    border-radius: 0 0.25rem 0.25rem 0;
    background-color: var(--theme-primay);
    transition: 0.25s ease;
    cursor: pointer;
}

.header-second  .header-toggle-search {
    background-color: var(--theme-accent) !important;
}

.form-search-result {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1.25rem;
}

.form-search-result.show {
    padding: 1rem 0;
}

.form-search-result .result-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    grid-gap: 1rem;
    position: relative;
}

.form-search-result .result-item .result-item__image {
    border-radius: 0.25rem;
    overflow: hidden;
}

.form-search-result .result-item .result-item__content {
    display: flex;
    flex-flow: column nowrap;
}

.form-search-result .result-item .result-item__content .content-name {
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    transition: 0.35s ease-in-out;
}

.form-search-result .result-item:hover .result-item__content .content-name {
    color: var(--theme-primay);
}

.form-search-result .result-item .result-item__content .content-sort-desc {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.form-search-result .result-item .result-item__content .content-action {
    margin-top: auto;
    padding-top: 0.5rem;
}

.form-search-result .result-item .result-item__content .content-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8125rem;
    text-transform: capitalize;
    color: var(--theme-primay);
}

.form-search-result .empty {
    grid-column: 1 / -1;
    text-align: center;
    font-weight: 700;
    text-transform: capitalize;
    margin-top: 1rem;
}

.link-stretch::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

@media (min-width: 768px){
    .header-search {
        top: 98px;
    }
}
@media (min-width: 1280px){
    .header-search {
        top: 153px;
    }
    .header-second.sticky + .header-search {
        top: 46px;
    }
}
@media (max-width: 991px){
    .header-first-menu {
        display: none;
    }
}

.single-blog-content img {
    height: auto !important;
}