.search-container {
    /* margin-top: 32px; */
    position: relative;
    flex: 1;
}

.search-container > .grid-view,
.search-container > .list-view{
    display: flex;
    gap: 8px;
}

.search-container > .grid-view > div,
.search-container > .list-view > div {
    width: 100%;
}

.result-content {
    background-color: var(--white);
    border: var(--border);
    border-radius: var(--borderRadius);
    padding: 40px;
    box-sizing: border-box;
    max-height: 100%;
    overflow-y: auto;
}

.result-content.empty-results {
    background-color: transparent;
    border: none;
}

.results-list {
    overflow-y: auto;
    height: 100%;
    max-width: 600px;
}

.list-view {
    align-items: flex-start;
    overflow: hidden;
}

.search-result{
    background-color: var(--white);
    border: var(--border);
    border-radius: var(--borderRadius);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 4px;
    cursor: pointer;
    gap: 8px;
}

.search-result-selected{
    border-left: 2px solid var(--boardPrimary);
}

.search-result:hover {
    border-color: var(--mediumgrey);
}

.search-result-selected:hover {
    border-left-color: var(--boardPrimary);
}

.search-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}

.search-info .content .icon {
    position: relative;
    /* left: -2px;
    top: -2px; */
}

.search-info .title{
    display: block;
}

.search-info .title img{
    position: relative;
    top: 1px;
    left: 2px;
    width: 13px;
    padding: 0;
}

.search-info label.title{
    cursor: pointer;
}

.search-info .date {
    font-size: 0.8em;
    color: var(--darkgrey);
    margin-top: 4px;
}

/* .search-info .content {
    margin-bottom: -8px;
} */

.search-labels {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.search-labels > *{
    padding: 4px 6px;
    border-radius: var(--borderRadius);
    color: var(--boardPrimary);
    font-size: 0.8em;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--boardPrimary);
    border: 1px solid color-mix(in srgb, var(--boardPrimary), transparent 70%);
}

.search-labels svg {
    width: 12px;
    opacity: 0.7;
}

.search-labels svg .stroke{
    stroke: var(--white);
}

.search-labels svg .fill{
    fill: var(--white);
}

.search-type{
    background-color: var(--background);
    border: var(--border);
    width: 40px;
    height: 40px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    display: none;
}

.search-link {
    line-height: 20px;
}

.search-link .icon {
    position: relative;
    top: 1px;
    left: 2px;
}

@media (max-width:850px)  {
    .result-content {
        display: none;
    }
}

@media (max-width:720px)  {
    .search-container{
        flex-direction: column;
        gap: 0;
    }
}



/** Toggle Switch **/
.search-toggle {
    align-self: center;
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.search-toggle .icon-component {
    cursor: pointer;
    opacity: 0.4;
}

.search-toggle .icon-component:hover {
    opacity: 0.2;
}

.search-toggle .icon-component.active {
    opacity: 1;
    cursor: default;
}

/* new styles */
#search-section{
    display: flex;
    flex-direction: column;
}

.slider-content .agenda {
  margin: 0;
  width: 100%;
}

.search-container .router-class {
    display: inline-block;
    /* background-color: pink; */
}

/* result content styles */
.result-content .slider-content {
    margin: 0;
}

.result-content .documentation-container {
    gap: 4px;
}

.result-content .slider-content-select {
    margin-top: 24px;
}

.result-content .meeting-item {
    box-shadow: 0px 4px 8px #0000000a;
}

.result-content .meeting-theme {
    margin-bottom: 32px;
}

.result-content .agenda h2:not(.pop-up h2) {
    margin-bottom: 32px;
}

.result-content .empty {
    margin: 40px 0;
}

/* NEW SEARCH MAIN HEADER */
.main-search-background {
    background: rgb(0 0 0 / 8%);
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.main-search-background.fade-in {
    opacity: 1;
}

.search-bar-wrapper {
    background-color: var(--white);
    position: absolute;
    width: 100%;
    border-bottom: var(--border);
    border-top: var(--border);
    bottom: 0;
    transform: translateY(100%);
    transition: 0.4s ease;
    box-shadow: 0 20px 20px rgb(0 0 0 / 4%);
}

.search-bar-wrapper input {
    border: none;
    padding: 26px 8px;
    flex: 1;
}

.search-bar-wrapper .cont {
    display: flex;
    gap: 8px;
    align-items: center;
    height: auto;
    box-sizing: border-box;
    justify-content: flex-start;
}

.search-bar-wrapper {
    overflow: hidden;
    height: 0;
    transition: height 0.3s ease;
}

.search-bar-wrapper .cont {
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* DOCUMENTS */
.search-documents-wrapper .item {
    color: var(--verydarkgrey);
    border-radius: var(--borderRadius);
    font-size: 0.8rem;
    display: flex;
    gap: 4px;
    align-items: flex-start;
    width: fit-content;
    padding: 2px 5px;
    margin: 4px 0;
}