@font-face {
    font-family: 'hadassa';
    src: url('/National_Library/oe_/https://www.nli.org.il/src/assets/fonts/Hadassa/HadassahFriedlaender-Regular.woff') format('woff'), url('/National_Library/oe_/https://www.nli.org.il/src/assets/fonts/Hadassa/HadassahFriedlaender-Regular.eot') format('eot');
}

.pinkas .pinkas-hide {
    display: none !important;
}

.LobbyPageContainer * {
}

.LobbyPageContainer {
    display: flex;
    flex-direction: column;
}


    .LobbyPageContainer .new-headline {
        background: var(--Color-Greys-02, #F7F0EB);
        padding: 24px;
        text-align: center;
        font-family: "hadassa", Friedlaender !important;
        font-size: 51.5px;
        font-style: normal;
        font-weight: 400;
        line-height: 45px;
    }

.stats-wrapper {
    text-align: start;
    font-family: 'SouthUltraLight', Arial, sans-serif;
}

.inner-stats-warpper {
    display: block;
    color: #FFF;
    padding: 0;
}

    .inner-stats-warpper .new-statistics {
        position: relative;
        min-height: 1px;
        padding-left: 15px;
        padding-right: 15px;
        background-color: rgb( 59, 159, 215 );
        height: 136px;
        float: right;
        max-width: 58.333333%;
    }

        .inner-stats-warpper .new-statistics ul {
            display: flex;
            display: -webkit-flex;
            flex-wrap: wrap;
            flex-direction: row;
            align-items: center;
            direction: ltr;
            height: 100%;
            margin: 0;
            padding: 0;
            border: none;
            vertical-align: baseline;
            line-height: 1.2em;
        }

            .inner-stats-warpper .new-statistics ul li {
                position: relative;
                float: none;
                min-width: 200px;
                padding: 0;
                margin: 0;
            }

                .inner-stats-warpper .new-statistics ul li:last-of-type {
                    min-width: 150px;
                }

                .inner-stats-warpper .new-statistics ul li > span {
                    display: block;
                    line-height: 1;
                    text-align: center;
                    font-family: 'SouthUltraLight', Arial, sans-serif;
                }

                    .inner-stats-warpper .new-statistics ul li > span.stats-number {
                        font-size: 67px;
                        font-weight: normal;
                    }


                    .inner-stats-warpper .new-statistics ul li > span.title {
                        font-size: 24px;
                        line-height: 1.2;
                        text-align: center;
                        padding:3px;
                    }

                .inner-stats-warpper .new-statistics ul li + li::before {
                    position: absolute;
                    content: "";
                    top: 50%;
                    left: 0;
                    width: 1px;
                    height: 110px;
                    background-color: #FFF;
                    transform: translateY(-50%);
                }


    .inner-stats-warpper .brown_cintant {
        background-color: var(--main-color);
        height: 136px;
        padding: 0;
    }

        .inner-stats-warpper .brown_cintant .content {
            display: -webkit-flex;
            flex-wrap: wrap;
            flex-direction: row;
            align-items: center;
            width: 100%;
            height: 100%;
            margin: 0;
        }

        .inner-stats-warpper .brown_cintant .scan {
            position: relative;
            background-color: transparent;
            height: auto;
            padding-right: 25px;
            padding-left: 25px;
            margin-left: 25px;
            text-align: center
        }

            .inner-stats-warpper .brown_cintant .scan::before {
                position: absolute;
                content: "";
                top: 50%;
                left: 0;
                width: 1px;
                height: 110px;
                background-color: #FFF;
                transform: translateY(-50%);
            }

            .inner-stats-warpper .brown_cintant .scan h5 {
                font-size: 19px;
                font-weight: normal;
                margin: 1% 0%;
            }

            .inner-stats-warpper .brown_cintant .scan text {
                font-family: 'SouthUltraLight', Arial, sans-serif;
                font-size: 33px;
                fill: #fff;
                color: #fff;
            }

.partnerts-wrapper {
    font-family: 'SouthUltraLight', Arial, sans-serif;
}

.Zone-Partners .ms-webpart-chrome-title {
    position: absolute;
    width: 100%;
}

    .Zone-Partners .ms-webpart-chrome-title span.js-webpart-titleCell {
        background: url('/National_Library/oe_/https://www.nli.org.il/src/assets/images/ManuScript/archive_header.png') no-repeat;
        background-position: 100% -15px;
        padding: 3% 4% 3% 2%;
        margin: 7% 0% 0% 0%;
        position: relative;
        width: 100%;
        z-index: 1;
        display: inline-block;
    }



        .Zone-Partners .ms-webpart-chrome-title span.js-webpart-titleCell h2 {
            font-size: 2.2em;
            line-height: 0.9em;
            color: #fff;
            border-top: 6px #fff solid;
            width: 210px;
            height: 120px;
            vertical-align: top;
            padding-top: 2%;
        }

            .Zone-Partners .ms-webpart-chrome-title span.js-webpart-titleCell h2 span {
                white-space: pre-wrap;
                display: block;
                line-height: 26px;
                margin-top: 10px;
            }


.donations-wrapper {
    font-family: 'SouthUltraLight', Arial, sans-serif;
    padding-bottom: 35px;
}



.inner-doners-warpper {
    height: 80%
}

    .inner-doners-warpper .right_panel {
        display: flex;
        justify-content: flex-end;
    }

    .inner-doners-warpper .row {
        margin: 0;
    }

    .inner-doners-warpper .header {
        left: 4%;
        width: 100%;
        text-align: right;
        max-width: 1220px;
        margin: 2% auto 0;
        position: relative;
        background-image: url(/National_Library/oe_/https://www.nli.org.il/src/assets/images/ManuScript/archive_header.png);
        background-repeat: no-repeat;
        background-position: 100% -15px;
        background-size: 15% auto;
        padding: 2% 4% 0 2%;
        z-index: 1;
    }

        .inner-doners-warpper .header h2 {
            font-size: 2.5em;
            line-height: 0.9em;
            width: 90%;
            height: 120px;
            margin: 0;
            text-align: right;
            vertical-align: top;
            padding-top: 4%;
            font-family: "hadassa";
            font-weight: bold;
            color: #eb7651;
        }

    .inner-doners-warpper .box {
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin: 0;
        padding: 0;
        line-height: 1;
        border-bottom: 1px var(--main-color) solid;
        padding: 10px 0;
        width: 100%;
        max-width: 1220px;
        margin: 0 auto;
        vertical-align: middle;
    }

        .inner-doners-warpper .box:after {
            content: " ";
            display: table;
        }

    .inner-doners-warpper .yad_donors {
        margin-top: 15px;
        text-align: center;
    }

        .inner-doners-warpper .yad_donors img {
            max-width: 30%;
        }

    .inner-doners-warpper .FJMS_donors {
        display: flex;
    }

    .inner-doners-warpper .donors_image {
        background: transparent url(/National_Library/oe_/https://www.nli.org.il/src/assets/images/ManuScript/donors_new.jpg) no-repeat;
        background-position: 89% 0;
        background-size: contain;
        height: auto;
        min-height: 528px;
        margin-top: 3%;
    }

    .inner-doners-warpper .credit {
        text-align: left;
        width: 54%;
    }


    .inner-doners-warpper .container {
        max-width: 600px;
        padding: 0px 5px;
        margin: 0;
    }

    .inner-doners-warpper .right_panel .box_small {
        margin: 0;
        padding: 0;
        line-height: 1;
        text-align: right;
        margin: 33px 0;
        padding: 7px 0 22px 0;
        height: auto;
        vertical-align: middle;
    }

        .inner-doners-warpper .right_panel .box_small img {
            max-width: 205px;
        }

    .inner-doners-warpper .right_panel h3 {
        margin: 0;
        padding: 0;
        border: 0;
        vertical-align: baseline;
        color: #3b9fd7;
        text-decoration: none;
        font-size: 24px;
        line-height: 1em;
        text-align: right;
    }

    .inner-doners-warpper ul {
        margin-top: 23px;
    }

        .inner-doners-warpper ul > li {
            height: 25px;
            line-height: 1.5;
            font-size: 18px;
            padding-right: 25px;
            background: url(/National_Library/oe_/https://www.nli.org.il/src/assets/images/ManuScript/red_bullet.png) 100% 40% no-repeat;
            display: block;
            clear: both;
            text-align: right;
            margin: 9px 0;
        }


    .inner-doners-warpper .buttons {
        top: 122%;
        position: absolute;
        margin-right: 2%;
    }

        .inner-doners-warpper .buttons input {
            border-radius: 3px;
            background-color: #3b9fd7;
            width: 125px;
            height: 34px;
            border: 0;
            color: #ffffff;
            font-size: 20px;
            font-weight: 200;
            line-height: 15px;
            text-align: center;
        }

@media (max-width: 1199px) {
    .LobbyPageContainer .new-headline {
        font-size: 36px;
        font-style: normal;
        font-weight: 400;
        line-height: 150%
    }

    .inner-stats-warpper {
        display: flex;
    }

        .inner-stats-warpper .new-statistics ul {
            flex-wrap: nowrap;
        }

            .inner-stats-warpper .new-statistics ul li {
                min-width: 50px;
                padding: 20px;
            }

                .inner-stats-warpper .new-statistics ul li > span.stats-number {
                    font-size: 42px;
                }

                .inner-stats-warpper .new-statistics ul li > span.title {
                    font-size: 18px;
                }
}

@media (max-width: 768px) {
    .stats-wrapper {
        display: none;
    }

    .inner-doners-warpper .donors_image {
        background: transparent url('/National_Library/oe_/https://www.nli.org.il/src/assets/images/ManuScript/donors_m.png') no-repeat;
        background-position: 0 0;
        width: 100%;
        background-size: contain;
        background-position: center;
        height: 100%;
        min-height: 610px;
    }

    .container2 {
        font-size: 16px;
    }
}


/* **** Pinkas Lobby page **** */

#archive {
    direction: rtl;
}

    #archive .row {
        margin: 0;
    }

.ms-webpart-zone {
    display: table;
}

.ms-fullWidth {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 100%;
}

#archive .ms-webpart-cell-horizontal:first-child {
    background-color: #fff;
}

#archive .ms-webpartzone-cell {
    width: 50%;
}

.ms-webpart-cell-horizontal {
    display: table-cell;
}

#archive #pinkas-about #MSOZoneCell_WebPartWPQ4 {
    width: 100%;
    background-color: unset;
}

.s4-wpcell, .s4-wpcell-plain, .s4-wpActive {
    vertical-align: top;
}

.ms-webpart-chrome-fullWidth {
    min-width: 100%;
}

.ms-webpart-chrome-title {
    vertical-align: middle;
    position: relative;
    margin-bottom: 2px;
}

#yad #archive .ms-webpart-chrome-title {
    min-height: 240px;
}

#archive .ms-webpart-chrome-title:first-child {
    margin-top: 6%;
    background-position: 100% -17px;
}


#archive .ms-webpart-chrome-title span.js-webpart-titleCell {
    background: url(/National_Library/oe_/https://www.nli.org.il/src/assets/images/ManuScript/archive_header.png) no-repeat;
    background-position: 100% 0;
/*    background-size: 20% auto;*/
    padding: 6.7% 8%;
    margin: 1.5% 7% 0 0;
    width: 90%;
}

    #archive .ms-webpart-chrome-title span.js-webpart-titleCell h2 {
        font-size: 2.2em;
        line-height: .9em;
        font-family: southbold;
        color: rgb(59, 159, 215);
        border-top: 6px rgb(59, 159, 215) solid;
        width: 30%;
        padding-top: 3.7%;
    }

#archive .ms-webpart-cell-horizontal:first-child .ms-webpart-chrome-title span.js-webpart-titleCell h2 {
    border-color: rgb(234, 108, 68);
    color: rgb(234, 108, 68);
}

#archive .ms-webpart-chrome-title:first-child span.js-webpart-titleCell h2 span {
    font-family: southbold;
    white-space: pre-wrap;
    display: block;
    line-height: 30px;
    width: 98%;
    text-align: right;
}


#archive .ms-webpartzone-cell .col-md-6 {
    width: 100%;
}

#archive .ms-webpart-cell-horizontal {
    background-color: rgba(223, 223, 222, 0.38);
}

#archive .ms-webpartzone-cell {
    width: 50%;
}

.ms-webpart-cell-horizontal {
    display: table-cell;
}

.s4-wpcell, .s4-wpcell-plain, .s4-wpActive {
    vertical-align: top;
}


.js-webpart-titleCell, .ms-webpart-controlBox, .js-webpart-menuCell, .ms-webpart-checkboxTd {
    display: inline-block;
}

.js-webpart-titleCell {
    width: 100%;
}

#archive #pinkas-about .ms-webpart-titleText {
    font-size: 2.2em;
    line-height: .9em;
    font-family: southbold;
    color: rgb(59, 159, 215);
    border-top: 6px rgb(59, 159, 215) solid;
    width: 30%;
    padding-top: 3.7%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

#archive #pinkas-about nobr span:first-child {
    width: 96%;
}

#archive #pinkas-about nobr span:first-child {
    width: 96%;
}

#archive #pinkas-about div.text {
    color: rgb(59, 159, 215) !important;
    font-family: SouthLight;
    font-size: 22px;
    word-break: normal;
    width: 100%;
    max-width: 74%;
    text-align: start;
}

    #archive #pinkas-about div.text p {
        line-height: unset;
        padding-bottom: 3%;
    }

#archive #pinkas-about div.link.blue {
    padding-bottom: 3%;
}

a, .ms-link:visited {
    color: #0072c6;
    text-decoration: none;
}


#yad #archive .panel-default .panel-heading .caption {
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    bottom: 5px;
    font-size: 14px;
    font-weight: lighter;
    padding: 15px 6px 0;
    z-index: 3;
}

#yad #archive .panel-default .panel-heading {
    position: relative;
    overflow: hidden;
}