﻿@media (min-width: 768px) and (max-width:1024px) {
    header .container {
        -ms-grid-rows: 5.625rem -webkit-max-content;
        -ms-grid-rows: 5.625rem max-content;
        grid-template-rows: 5.625rem -webkit-max-content;
        grid-template-rows: 5.625rem max-content
    }
}

.search-padding {
    padding: 0 90px 0 134px;
}

@media screen and (max-width:1024px) {
    .search-padding {
        padding: 0 10px 0 10px;
    }
}

.search-padding .search-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem 0;
    border: .0625rem solid #dcdcdc;
    max-width: 680px;
    padding: 8px 16px;
    border-radius: 5px;
    background: white;
}

.search-wrapper input[type="text"] {
    padding: 0.5rem;
    font-size: 1rem;
    width: 100%;
    border: none;
    outline: none;
}

.search-wraper inputn:focus-visible {
    border: none;
    outline: none;
}

.search-wrapper button {
    border: none;
    background: none;
    cursor: pointer;
}

.search-wrapper img {
    height: 2em;
    width: 2em;
}

.search-section .search-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: .0625rem solid #dcdcdc;
    max-width: 680px;
    padding: 8px 16px;
    border-radius: 5px;
}

.search-wrapper input[type="text"] {
    padding: 0.5rem;
    font-size: 1rem;
    width: 100%;
    border: none;
}

.search-wraper inputn:focus-visible {
    border: none;
    outline: none;
}

.search-wrapper button {
    border: none;
    background: none;
    cursor: pointer;
}

.search-wrapper img {
    height: 2em;
    width: 2em;
}

#yext_search_bar_desktop .search-section {
    display: block;
    margin-right: 30px;
}


    #yext_search_bar_desktop .search-section .search-wrapper {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        border: .0625rem solid #dcdcdc;
        max-width: 680px;
        padding: 8px 16px;
        border-radius: 5px;
        background: #fff;
        margin-top: 0 !important;
    }


#yext_search_bar_desktop.active .search-section .search-wrapper input[type="text"] {
    padding: 0.5rem;
    font-size: 1rem;
    width: 100%;
    border: none;
    outline: none;
}


#yext_search_bar_desktop.active .search-section .search-wrapper input:focus-visible {
    border: none;
    outline: none;
}


#yext_search_bar_desktop.active .search-section .search-wrapper button {
    border: none;
    background: none;
    cursor: pointer;
}


#yext_search_bar_desktop.active .search-section .search-wrapper img {
    height: 2em;
    width: 2em;
}

@media (max-width: 1024px) {
    header .navigation.one {
        display: none
    }

    header .navigation.two {
        height: 56px
    }
        /*   header .navigation.two .main-container{
        display: flex;
        justify-content: space-between;
         align-items: center;
        flex-direction: row-reverse;
        min-width: 60%;
       
     } */
        /*   header .navigation.two  {
         display: flex;
         justify-content: space-between;
                 align-items: center;
     } */

        header .navigation.two .btn2 {
            display: none
        }

        header .navigation.two .logo {
            -ms-grid-column: 2;
            grid-column: 2;
            -ms-grid-row: 1;
            grid-row: 1
        }

        header .navigation.two .primary {
            -ms-grid-column: 1;
            grid-column: 1;
            -ms-grid-row: 1;
            grid-row: 1
        }

        header .navigation.two .search-mobile .search {
            -ms-grid-column: 3;
            grid-column: 3;
            -ms-grid-row: 1;
            grid-row: 1;
            -ms-grid-column-align: center;
            justify-self: center;
            -ms-grid-row-align: center;
            align-self: center;
            font-size: 1.5rem;
            padding-right: 1.0625rem;
            background: 0 0;
            border: none
        }

            header .navigation.two .search-mobile .search:after {
                content: "\f002";
                -ms-flex-item-align: center;
                -ms-grid-row-align: center;
                align-self: center;
                -ms-grid-column-align: end;
                justify-self: end;
                font-family: var(--fontawesome-version);
                font-weight: 900
            }

        header .navigation.two .search-mobile .window {
            display: -ms-grid;
            display: grid;
            -ms-grid-rows: -webkit-max-content -webkit-max-content 1fr;
            -ms-grid-rows: max-content max-content 1fr;
            grid-template-rows: -webkit-max-content -webkit-max-content 1fr;
            grid-template-rows: max-content max-content 1fr;
            position: absolute;
            top: 3.125rem;
            height: calc(100vh - 50px);
            left: -100%;
            background-color: var(--site-color-nine);
            -webkit-transition: .3s;
            transition: .3s;
            overflow: scroll;
            padding: 20px 0
        }

            header .navigation.two .search-mobile .window.active {
                left: 0;
                width: 100%;
            }

            header .navigation.two .search-mobile .window > button {
                background: 0 0;
                border: none;
                color: #0073e5;
                margin: 0 17px;
                -ms-grid-column-align: start;
                justify-self: start;
                padding: 16px 0;
                font-size: 1.125rem;
                font-weight: 500;
                line-height: 1.465rem
            }

                header .navigation.two .search-mobile .window > button:before {
                    -ms-grid-column: 1;
                    grid-column: 1;
                    -ms-grid-row-align: center;
                    align-self: center;
                    font-family: var(--fontawesome-version);
                    content: "\f053";
                    font-weight: 900;
                    margin-right: 8px
                }

            header .navigation.two .search-mobile .window span {
                font-size: 1.125rem;
                font-weight: 700;
                line-height: 1.465rem;
                letter-spacing: -.03125rem;
                margin: 0 17px
            }

            header .navigation.two .search-mobile .window #yext_search_bar_mobile {
                margin: 20px 17px 0
            }

        #yext_search_bar_mobile .search-section .main-container,
        header .navigation.two .search-section .main-container {
            width: 100% !important;
            display: block !important;
        }

    #yext_search_bar_mobile .search-section {
        display: block;
        margin-right: 0px !important;
    }

        #yext_search_bar_mobile .search-section .search-wrapper {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin: 2rem 0;
            border: .0625rem solid #dcdcdc;
            max-width: 100%;
            padding: 8px 16px;
            border-radius: 5px;
            background: #fff;
            margin-top: 0;
        }

            #yext_search_bar_mobile .search-section .search-wrapper button {
                border: 0;
                background: none;
                width: 40px;
            }

                #yext_search_bar_mobile .search-section .search-wrapper button img {
                    width: 100%;
                }
}

@media (max-width: 700px) {
    header .navigation.two .search-mobile .window span {
        width: 200px
    }

    header .navigation.two .search-mobile .window.active span {
        width: initial
    }
}

.search-results-heading {
    padding: 10px 0;
}

.search-results-wrapper {
    max-width: 100%;
    margin: 1rem auto;
    padding: 10px 15px;
}


.search-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem 0;
    border: .0625rem solid #dcdcdc;
    max-width: 100%;
    padding: 8px 16px;
    border-radius: 5px;
    background: #fff;
}

    .search-box input[type="text"] {
        flex: 1;
        border: none;
        padding: 10px;
        font-size: 16px;
        outline: none;
    }

    .search-box input:focus-visible {
        border: none;
        outline: none;
    }

    .search-box button {
        background: none;
        border: none;
        padding: 0 15px;
        cursor: pointer;
    }

        .search-box button img {
            height: 2em;
            width: 2em;
        }

.search-results {
    margin-top: 2rem;
}

.result-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #ddd;
    padding: 1rem;
    flex-wrap: wrap;
}

.result-content {
    max-width: 75%;
}

    .result-content h3 {
        margin: 0 0 0px;
        font-size: 20px;
        color: #0055A7;
        line-height: normal;
    }

    .result-content p {
        margin-top: 0;
        margin-bottom: 0;
        font-size: 18px;
        color: #212121;
    }

.learn-more-btn {
    background-color: #fcb900;
    border: none;
    padding: 15px 44px;
    color: #000000b0;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    margin-right: 14px;
}

.result-card a:hover {
    text-decoration: none;
    color: #fff;
    background-color: #6a6f78;
}

@media (max-width: 600px) {
    .result-card {
        flex-direction: column;
        align-items: flex-start;
    }

        .result-card .learn-more-btn {
            margin: auto;
        }

    .result-content {
        max-width: 100%;
        margin-bottom: 10px;
    }
}

.pagination-container {
    text-align: center;
    margin-top: 2rem;
}

.pagination li {
    display: inline-block;
    margin: 0 5px;
}

    .pagination li a {
        color: gray;
        font-size: 18px;
        text-decoration: none;
    }

        .pagination li a span {
            color: gray;
            font-size: 25px;
            text-decoration: none;
        }

    .pagination li.active span {
        font-weight: bold;
    }

.result-content a {
    text-decoration: none;
}

    .result-content a:hover {
        text-decoration: underline;
        color: #0055A7;
    }

.bg-white {
    background-color: white;
}

.container.inner {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

    /* Title */
    .container.inner h1 {
        font-size: 28px;
        font-weight: bold;
        margin-bottom: 30px;
    }

/* Flex row layout */
.row.iconrow1 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Even space between columns */
}

/* Columns (equal width) */
.col-sm-4 {
    flex: 1 1 calc(33.333% - 20px); /* auto shrink if needed */
    max-width: calc(33.333% - 20px);
}

.mb-4 {
    margin-bottom: 10px;
}

/* Card image */
.icon img {
    width: 100%;
    height: auto;
    display: block;
}
/* Responsive breakpoints */
@media (max-width: 992px) {
    .col-sm-4 {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 600px) {
    .col-sm-4 {
        flex: 1 1 100%;
        max-width: 100%;
    }
}
/* main list */
.result-page .main-result-list {
    display: flex;
}

/* sidebar */
.result-page .sidebar {
    width: 230px;
    padding-right: 20px;
    transition: all 0.3s ease-in-out;
}

    .result-page .sidebar h4 {
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 15px;
    }

    .result-page .sidebar label {
        display: flex;
        font-size: 14px;
        margin-bottom: 0px;
        gap: 5px;
    }

/* content */
.result-page .main-result-content {
    flex: 1;
    border: 1px solid #ccc;
}

/* heading */
.result-page .main-list-heading {
    display: flex;
    justify-content: end;
}

    .result-page .main-list-heading .heading {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 2px solid #ddd;
        margin-bottom: 25px;
        min-width: 81.2%;
    }

    .result-page .main-list-heading .heading h5 {
        margin: 0;
        font-size: 16px;
        text-transform: uppercase;
        color: #004080;
        border-bottom: 2px solid #004080;
        padding-bottom: 2px;
    }

/* cards */
.result-page .result-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.result-page .result-content h3 {
    margin: 0 0 5px;
    font-size: 20px;
    color: #0056a3;
}

.result-page .result-content p {
    margin: 0;
    font-size: 18px;
    color: #444;
}

/* button */
.result-page .learn-more-btn {
    background: #ffb400;
    color: #000;
    text-decoration: none;
    padding: 10px 16px;
    font-size: 18px;
    border-radius: 4px;
    font-weight: bold;
}

    .result-page .learn-more-btn:hover {
        text-decoration: none;
        color: #fff;
        background-color: #6a6f78;
    }

/* toggle */
.result-page .toggle-btn {
    display: none;
    background: #004080;
    color: #fff;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 10px;
}

/* responsive */
@media (max-width: 1200px) {
    .result-page .main-result-list {
        flex-direction: column;
    }

    .result-page .sidebar {
        display: none;
        width: 100%;
        border: 1px solid #ccc;
        padding: 10px;
        margin-bottom: 15px;
        background: #f7f7f7;
        max-width: -webkit-fill-available;
    }

    .result-page .main-list-heading .heading {
        width:100%;
    }
        .result-page .toggle-btn {
        display: block;
    }
}

@media (max-width: 950px) {
    .result-page .result-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .result-page .learn-more-btn {
        margin-top: 10px;
    }
}

#selectedKeywordsContainer {
   
    width:fit-content;
   
}
    #selectedKeywordsContainer span {
        margin-right: 5px;
        background-color: #f3f3f3;
        border-radius: 1.125rem;
        border-width: 0;
        color: #616161;
        font-size: 14px;
        font-style: italic;
        line-height: 1.25rem;
        margin-bottom: .25rem;
        padding-left: .3125rem;
        padding-right: .25rem;
        white-space: nowrap;
    }
.loader {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #004080;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
.loadingclass {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 18px;
    padding: 10px 20px;
    z-index: 9999;
}