﻿
.search-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    /*gap: 32px;*/
    /*padding: 24px 48px;*/
    background-color: #E7F1F8;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1607843137);
    margin-bottom: 24px;
    padding: 16px 16px 20px 16px;
    max-width:1400px;
    margin:0 auto 24px auto;
}
    .search-bar form {
        flex-grow: 2;
        position: relative;
        /*display:flex;*/
        margin: 0 10px /*0 22%*/;
        max-width: 600px;
    }

    .search-bar .search-input {
        width: 100%;
        border-radius: 32px;
        padding: 16px 32px;
        font-size: var(--text-3xl);
        height: 66px;
    }

    .search-bar .search-button {
        position: absolute;
        top: 50%;
        left: 8px;
        height: 48px;
        width: 48px;
        transform: translateY(-50%);
        border-radius: 50%;
        border: none;
        background-color: var(--blue);
        background-image: url(/National_Library/oe_/https://pob.education.gov.il/img/search-white.svg);
        background-size: 50%;
        background-repeat: no-repeat;
        background-position: center;
    }
    .search-bar .search-title {
        font-size: var(--text-5xl);
        color: var(--blue-dark);
        font-weight: 600;
        /*margin-right:22%*/
    }

.searchResults {
    font: normal normal normal 18px/43px Assistant;
    max-width:1400px;
    margin:auto;
}
.searchResults p{
    display:inline;
}






.result-list {
    padding: 0 1rem;
    list-style: none;
    margin:auto;
    max-width:1400px;
}


    .result-item:not(:hover) .result-description > * {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        box-sizing: border-box;
        max-height: 50px;
      
    }
        .result-item:not(:hover) .result-description *:first-child{
            margin-top:0;
        }


        .result-item-wrapper {
            border-bottom: 1px solid var(--border-gray, #fffff77);
            padding-block-start: 18px;
            padding-block-end: 18px;
            width: 100%;
        }
.result-item .result-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
}

    .result-item .result-title:hover {
        overflow: visible;
        white-space: normal;
        background-color: #fff;
        z-index: 1;
    }

.result-description {
    color: black;
    font-size: var(--text-lg);
    display: block;

}
.result-description div{
    margin-top:22px;
}






.result-title, .result-description {
    display: block;
}



.result-title, .result-link {
    display: block;
}

    .result-item p .highlight {
        font-weight: 500;
    }

    .result-item .highlight {
        background-color: #FFE9C7;
        font-weight: 500;
    }

.result-link {
}

.result-title {
    color: var(--blue-dark);
    font-size: var(--text-2xl);
    font-weight: 500;
    /*margin-bottom:0;*/
}

    .result-title:has(.icon) {

/*        display: flex;
        gap: 16px;*/
    }
.icon {
    margin-right: 5px;
}








@media (max-width: 768px) {
    .result-item .result-description:hover {
        overflow: visible;
        white-space: normal;
        background-color: #fff;
        z-index: 1;
    }

    .result-title, .result-description {
        display: block;
    }
    .searchResults {
        padding-right: 20px;
       
    }
    .result-item {
        width: 308px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        box-sizing: border-box;
    }

    .result-item-wrapper {
        border-bottom: 1px solid var(--border-gray, #fffff77);
        padding-block-start: 18px;
        padding-block-end: 18px;
        width: 100%;
    }

     .result-title span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        box-sizing: border-box;
    }

        .result-item .result-title:hover {
            overflow: visible;
            white-space: normal;
            background-color: #fff;
            z-index: 1;
        }

    .result-description {
        color: black;
        font-size: var(--text-lg);
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        box-sizing: border-box;
    }

    .result-item .result-description:hover {
        overflow: visible;
        white-space: normal;
        background-color: #fff;
        z-index: 1;
    }

    .search-bar {
        padding: 8px;
        /*gap: 8px;*/
        box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1607843137);
        margin-bottom: 24px;
        padding: 16px 16px 20px 16px;
        flex-wrap:wrap
    }

    .search-bar .search-title {
        font-size: var(--text-3xl);
        min-width:fit-content;
    }

    .search-bar form {
        flex-grow: 2;
        position: relative;
        width:600px;
        max-width:90%;
        min-width:300px;
        margin:auto;
        
            
    }

    .search-bar .search-input {
        width: 100%;
        border-radius: 32px;
        padding: 16px 32px;
        font-size: 17px;
    }
}

.paginationContainer.poh {
    display: flex;
    justify-content: center;
    margin-block-start: 24px;
    margin-block-end: 24px;
}

    .paginationContainer.poh .pagination {
        box-shadow: none;
    }

        .paginationContainer.poh .pagination .page-item.active .page-link {
            color: inherit;
            font-weight: 700;
            background-color: transparent;
        }

        .paginationContainer.poh .pagination .page-item.disable .page-link {
            filter: grayscale(90%)
        }

        .paginationContainer.poh .pagination .page-item:focus {
            background-color: transparent;
            color: #fff;
        }

        .paginationContainer.poh .pagination .page-item:hover {
            text-decoration: none;
            background-color: transparent;
        }

        .paginationContainer.poh .pagination .page-item .page-link {
            font-size: var(--text-lg);
            font-weight: 600;
            color: #1f3e7e;
            width: 28px;
            height: 33px;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            border: none;
            background-color: transparent;
        }
/*.boxshadow {
    background-color: #fff;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1607843137);
    margin-bottom: 24px;
    padding: 16px 16px 20px 16px;
}*/
.boxshadow {
    background-color: #fff;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1607843137);
    margin-bottom: 24px;
    padding: 16px 16px 20px 40px;
    font-weight: 400;
    /* override */
    /*font-size: 16px;*/
    font-size: 18px;
    /*line-height: 1;*/
    line-height: 24px;
    /* override */
    color: #414141;
}

    .boxshadow .insideTitle {
        color: #123A5E;
        font-size: 22px;
        line-height: 28px;
    }

    .boxshadow h2.insideTitle {
        font-size: 24px;
        line-height: 32px;
        font-weight: 600;
    }

    .boxshadow.sideboxshadow h2.insideTitle {
        font-size: 22px;
        line-height: 28px;
        border-bottom: 1px solid rgba(18, 58, 94, 0.4);
        /* override */
        /*padding-bottom: 10px;*/
        padding-bottom: 5px;
        /* override */
    }

    .boxshadow p {
        margin-bottom: 0;
        min-height: 24px;
    }

    .boxshadow ul {
        list-style: none;
        margin-bottom: 0;
    }

    .boxshadow a {
        text-decoration: none;
        cursor: pointer;
    }

    .boxshadow h2 {
        font-size: 25px;
        line-height: 32px;
        color: #123A5E;
        font-weight: 500;
    }

    .boxshadow h3 {
        font-size: 22px;
        line-height: 26px;
        color: #465D78;
        font-weight: 500;
    }

    .boxshadow h4 {
        font-size: 20px;
        line-height: 24px;
        color: #134897;
    }

    .boxshadow h5 {
        font-size: 18px;
        line-height: 21px;
        color: #000000;
    }

    .boxshadow .buttonIcon {
        background-color: transparent;
        border: none;
    }

    .boxshadow .buttonLink {
        display: flex;
        box-shadow: none;
    }

        .boxshadow .buttonLink a {
            padding: 9px 24px 11px 24px;
            line-height: 14px;
            white-space: nowrap;
            border-radius: 20px;
            background: transparent linear-gradient(180deg, #2272bb 0%, #1e63a1 100%) 0% 0% no-repeat padding-box;
            font-size: 17px;
            font-weight: 300;
            color: #fff;
        } 


       /* start again*/
.search-page-container {
    background-color: #EAECF0;
    padding: 20px 10px 100px;
}
.search-page-container .link-home{
    float:left;
}
