﻿@media only screen and (max-width: 1400px) {
    .divStats {
        padding-bottom: 0;
        min-height: 0;
        overflow: initial;
        display: flex;
        flex-wrap: wrap;
    }
    .statdiv
    {
        width: 110px;
        height: fit-content;
        margin: 0 auto;
        float: none;
        margin: 0;
        margin-inline-start: auto;
        margin-inline-end: auto;
        margin-top: 20px;
    }
    .progress-bar{
        top: -10px;
        left: 0px;
        width: 110px;
        height: 110px;
    }

    .statfirst {
        width: 91px;
        height: 91px;
        margin: 0 auto;
        position: relative;
        padding-top: 20px;
        box-sizing: border-box;
    }

    .statfirst .img {
        height: 26px;
        width: 26px;
        line-height: initial;
        margin: 0 auto;
    }

    .statfirst .img img {
        width: 100%;
        margin-top: 0;
    }

    .statfirst .count {
        font-size: 35px;
        font-weight: 600;
        line-height: 100px;
        height: 100px;
        font-size: 17px;
        line-height: 1;
        height: fit-content;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 18px;
    }
}
@media only screen and (max-width: 1280px) {
    .messageText h3 a {
        font-size: 18px;
    }

    .messageItem .date, .messageText div a, .hpicon .text a {
        font-size: 16px;
    }

    .hpicon .icon img {
        width: 40px;
    }

    .hpicon .text {
        text-align: center;
    }
}

@media only screen and (max-width: 768px) {
    .innerheader {
        margin: 10px 10px 0;
    }

    a.menora {
        margin-top: 7px;
    }

    a.menora img {
        width: 32px;
    }

    a.edulink, a.edulink:visited {
        font-size: 15px;
    }

    .header h1 {
        line-height: normal;
        margin-top: 0;
        font-size: 22px;
    }

    .masterlog {
        position: absolute;
        top: 0;
        left: 50px;
    }

    .masterlog {
        margin: 0;
        line-height: 1;
        font-size: 15px;
    }

    .masterlog #mSpnNameMobile {
        margin: 0;
        color: #1776B5;
        border: none;
        background: transparent;
        padding: 0;
    }

    .masterlog #mobileLogout {
        position: absolute;
        top: calc(100% + 5px);
        left: 0;
        background-color: white;
        padding: 10px;
        border-radius: 8px;
        cursor: pointer;
    }
    .search-link{
        position:absolute;
        left:30px;
        top:0
    }

    .hpouter {
        padding: 20px 15px;
    }

    .hphomeicondiv {
        padding: 10px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        gap: 20px;
    }
    .hpicon
    {
        float: none;
        width: 30%;
        margin-block-start: 10px;
        margin-block-end: 10px;
    }

    .hpicon .icon {
        margin: 0;
    }

    .hpicon .icon img {
        width: 25px;        
    }

    .hpicon .text{
        text-align: center;
    }

    .hpicon .text a {
        font-size: 16px;
    }

    .hpgalleryouter {
        background-color: transparent;
        border: none;
        padding: 0;
        overflow: initial;
    }

    .hpgalleryinner
    {
        float: none;
        width: auto;
    }
    .messageText {
        position: absolute;
        bottom: 9px;
        width: calc(100% - 20px);
        left: 10px;
        height: fit-content;
        box-sizing: border-box;
        padding-bottom: 25px;
    }
    .hpgalleryinner .hparrow {
        top: 40%;
        width: 30px;
    }

    .swiper-slide .messageImg img {
        height: initial;
    }

    .hpmessageinner
    {
        float: none;
        width: auto;
        margin: 0;
        padding: 10px;
        background-color: white;
        height: fit-content;
    }
        .messageImg, .hpmessageinner .messageImg {
            float: none;
            width: auto;
            min-width: 138px;
        }

        .hpmessageinner .messageImg img {
            width: 100%;
            max-height: 100%;
            object-fit: cover;
        }
        .hpmessageinner .messageText
        {
            float: none;
            width: auto;
            padding: 0 13px 0 0;
            height: fit-content;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .hpgalleryinner .messageText div a {
            display: none;
        }
        .hpmessageinner .messageItem {
            padding: 0;
            display: flex;
        }

        .hpmessageinner .messageItem:not(:last-child) {
            margin-bottom: 11px;
        }

        .messageText h3 {
            line-height: 1;
            margin-bottom: 5px;
        }

        .messageText h3 a {
            font-size: 16px;
        }

        .hpgalleryinner .messageText h3 {
            text-align: center;
        }

        .hpgalleryinner .messageText h3 a {
            font-size: 18px;
        }

        .messageItem .date {
            font-size: 14px;
            line-height: 1;
            color: #1E1E1E;
            font-weight: 400;
        }

    .swipertoolbar {
        position: absolute;
        bottom: 18px;
        left: 50%;
        transform: translateX(-50%);
    }
    .footerView 
    {
        display: block;
    }
    .footerItem
    {
        margin-bottom: 40px;
    }
    .mainnav {
        position: absolute;
        background-color: white;
        z-index: 5;
        display: none;
        top: 60px;
        left: 0;
        padding: 0;
        border-radius: 8px;
        width: 100vw;
        margin-inline-end: -10px;
    }
    .mainnav > nav > ul > li, .mainnav > nav > ul > li li {
        display: block;
        margin: 0;
        padding: 12px 18px;
        line-height: 1;
    }

    nav .topmainmenuitem div a {
        margin: 0;
    }

    .mainnav > nav > ul > li:last-child {
        border-radius: 0px 0px 8px 8px;
    }
    
    .mainnav > nav > ul > li > a {
        font-size: 20px;
    }

    .mainnav ul ul {
        padding-top: 0;
    }

    nav .topmainmenuitem div.outershadow {
        width: 100%;
        padding: 0;
        top: 100%;
    }

    nav .topmainmenuitem div.outershadow .whiteBox {
        border: none;
        background-color: #E9F4FC;
        width: 100%;
        right: 0;
        top: 100%;
    }

    nav .topmainmenuitem div.outershadow .whiteBox .whiteBox {
        background-color: #D5E4EF;
    }

    .mainnav li.addArrow {
        background: url(/National_Library/oe_/https://pob.education.gov.il/img/arrow-left-small.png) no-repeat 20px center;
    }
    
    .mainnav > nav > ul > li li.thirdmenuitem:hover, .mainnav > nav > ul > li.addArrow:hover {
        background-image: url(/National_Library/oe_/https://pob.education.gov.il/img/arrow-down-small.png);
        background-repeat: no-repeat;
        background-position: 20px center;
    }
    
    .mainnav > nav > ul > li li.thirdmenuitem:hover > a, .mainnav > nav > ul > li.addArrow:hover > a {
        font-weight: bold;
    }

    nav .topmainmenuitem > div div div {
        width: 100%;
        right: 0;
        top: 100%;
    }

    .mainnav > nav > ul li:not(:last-child) {
        border-bottom: 1px solid #E2E2E2;
    }

    .burger
    {
        display: inline-block;
        position: absolute;
        top: 0;
        left: 0;
        padding: 0;
        background: transparent;
        border: none;
        cursor: pointer;
    }
    .burgerwrap {
        display: inline-block;
    }

        .burgerwrap .bb1, .burgerwrap .bb2, .burgerwrap .bb3 {
            width: 20px;
            height: 2px;
            background-color: #333;
            margin: 4px 0;
            transition: 0.4s;
        }

        .burgerwrap .bb3 {
            margin-bottom: 0;
        }

    .changeBurger .bb1, .changeBurger .bb3 {
        margin: 0;
    }

    .changeBurger .bb1 {
        transform: translate(0, 9px) rotate(-45deg);
    }

    .changeBurger .bb2 {
        opacity: 0;
    }

    .changeBurger .bb3 {
        transform: translate(0, -3px) rotate(45deg);
    }
    .hphodaot
    {
        float: none;
        width: auto;
    }
        .hphodaot:first-child
        {
            margin-left: 0;
        }

    #divTashlumMutav {
        display: none;
        margin: 0 0 30px;
        padding: 17px 15px;
    }

    #divTashlumMutav .hpinner {
        overflow: initial;
    }

    div.tashluminner {
        padding: 17px 10px;
    }

    .searchdivblue {
        padding: 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .hpinner .tashluminner .inner {
        margin: 0 0 10px;
        width: 100%;
    }

    .hpinner .tashluminner .inner:last-child {
        margin: 0;
        display: flex;
        justify-content: space-around;
    }

    .searchdivblue label {
        font-size: 16px;
    }

    .hpinner .tashluminner select {
        width: 100%;
    }

    div.tashluminner h2 {
        font-size: 22px;
        margin: 0 0 10px;
    }

    .graphline {
        height: fit-content;
    }

    .graphline .visual, #divTashlumLower {
        width: calc(100% - 60px);
        display: inline-block;
        height: 30px;
    }

    .graphline .desc {
        float: initial;
        display: inline-block;
        height: 30px;
        font-size: 10px;
        width: fit-content;
        margin-inline-start: 8px;
    }

    #divTashlumBlocks {
        height: 100%;
        width: calc(100% - 60px);
        box-sizing: border-box;
    }

    #divTashlumBlocks .colorpoint {
        width: 7px;
        height: 7px;
    }

    #divTashlumBlocks .colorpoint span {
        width: 3px;
        height: 3px;
        margin-bottom: 13px;
    }

    #divTashlumBlocks .colorblock {
        /* margin: 0 auto; */
    }

    .graphlower {
        font-size: 10px;
    }

    .wbbig h2 {
        font-size: 22px;
    }

    .statdiv .title {
        font-size: 16px;
        margin-top: 10px;
    }

    .hatraottab {
        text-align: center;
        display: flex;
        justify-content: space-between;
        margin-bottom: 20px;
    }

    .hatraottab button {
        margin: 0;
        font-size: 16px;
        padding: 8px 4px;
    }
    .hatraotcontent
    {
        display:block;
    }

    .hatraotcontent .hatraa {
        padding: 20px 27px;
    }
    .hatraaline .icon
    {
        float: right;
    }
    .hatraaline .text {
        white-space: normal;
        display: inline;
    }
    .hatraaline div{
        margin-bottom: 5px;
    }

    .hatraaline, .hatraotcontent .alert {
        margin-top: 13px;
    }

    .divouterhatraot {
        margin-bottom: 30px;
    }

    .divouterhatraot h2
    {
        font-size: 22px;
    }

    .masterBody {
        padding: 30px 10px;
        box-sizing: border-box;
    }
    
    .mainContent, .sideBar, .innerContent {
        max-width: 100%;
        overflow-x: hidden;
        width: 100%;
    }

    .whiteBox {
        margin-inline-start: 0;
        margin-inline-end: 0;
    }

    .innerContent .paragraph2, .innerContent .paragraph3 {
        display: block;
    }

    .paragraph {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .whiteBorderBox h2.formh2, .whiteBorderBox h3 {
        font-size: 24px;
        margin: 0;
        text-align: right;
    }

    .whiteBorderBox h3 > span {
        max-width: calc(100% - 45px);
    }

    .kolkore.whiteBorderBox h3 {
        font-size: 20px;
    }

    .korediv a {
        border: none;
    }

    .kolkoreInput, .kolkore input[type="text"] {
        margin: 0;
        width: 100%;
    }

    .kolkoreSearchBtns {
        margin: 10px 0 0;
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }

    .kolkoreSearchBtns button {
        padding: 8px 32px;
    }

    .ptichat-pniya-wrapper .whiteBorderBox {
        padding: 18px 9px;
    }

    .pniya-form-container .btnRadio-container {
        margin: 10px 0 20px;
    }

    .pniya-form-container .btnRadio-container > span {
        max-width: calc(25% - 5px);
    }

    .pniya-form-container .btnRadio-container > span > label {
        height: 84px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        font-size: 14px;
        text-align: center;
        white-space: pre-wrap;
        padding: 20px 4px 8px;
        line-height: 1;
        margin: 0;
    }

    .pniya-form-container .ptichat-pniya-form > form {
        max-width: 100%;
    }

    .pniya-form-container .ptichat-pniya-form > form > .centerd {
        margin: 0;
    }

    .pniya-form-container .ptichat-pniya-form > form > .centerd label {
        font-size: 16px;
    }

    .pniya-form-container .ptichat-pniya-form > form > .centerd .block input {
        width: 100%;
    }

    .pniya-form-container .ptichat-pniya-form > form .ptichat-pniya-comment {
        display: block;
        margin-bottom: 18px;
    }

    .pniya-form-container .ptichat-pniya-form > form .upload-area {
        margin: 20px 0;
    }

    .pniya-form-container .ptichat-pniya-form > form .divinnerdetails, .pniya-form-container .ptichat-pniya-form > form .divinnerdetails > div {
        display: block;
        margin: 0;
        width: 100%;
    }

    .pniya-form-container .ptichat-pniya-form > form .divinnerdetails .outerlabel {
        margin: 0;
    }

    .pniya-form-container .ptichat-pniya-form > form .divinnerdetails .outerlabel > .phone-and-area-code-container > div:last-child {
        width: calc(100% - 80px);
        margin-inline-end: 10px;
    }

    .pniya-form-container .ptichat-pniya-form > form .divinnerdetails .outerlabel .textbox {
        width: 100%;
    }

    .pniya-form-container .ptichat-pniya-form > form .divinnerdetails .textbox {
        width: 100%;
        margin: 0;
    }

    .pniya-form-container .ptichat-pniya-form > form > div:last-child {
        width: 100%;
        font-size: 0;
    }

    .pniya-form-container .ptichat-pniya-form > form > div:last-child > button.clean, .pniya-form-container .ptichat-pniya-form > form > div:last-child > button.search {
        width: 50%;
        margin: 0;
    }

    .ptichat-pniya-wrapper .error-tag  {
        font-size: 16px;
        width: 100%;
        display: block;
        box-sizing: border-box;
        margin-bottom: 18px;
    }

    .searchrow > span {
        display: block;
        width: 100%;
        margin-bottom: 20px;
    }
    
    .searchrow > span select, .searchrow > span input {
        width: 100%;
    }

    div.searchrow .multiwrapper, .searchrow span {
        width: 100%;
    }

    .contentAnchors a:not(:last-of-type) {
        border-inline-end: none;
    }

    .contentAnchors a {
        border-inline-start: 1px solid #1776B5;
        margin: 5px 0;
        padding: 0 7px;
        line-height: 1;
    }

    .authSection {
        background-image: url(/National_Library/oe_/https://pob.education.gov.il/img/login-bg-mobile.png);
        padding: 33px 81px 22px;
    }

    .mainContentImage {
        float: initial;
        margin: 0 auto;
    }

    .koresecond > .gridblock, .koresecond > .koresecond {
        padding: 10px 0;
    }

    .collapseinner2 .innerdiv {
        border-width: 1px 0 0 0;
        overflow: auto;
        padding: 3%;
        display: flex;
    }
    .tochen {
        gap: 10px;
    }
    .grid4 {
        display: grid;
        grid-column-gap: 40px;
        grid-row-gap: 20px;
        grid-template-columns: none;
    }

    .koresecond .gridblock .item > span {
        display: block;
    }

    .kolkore .item > span > ul {
        margin-inline-start: 25px;
    }

    .searchtable {
        overflow: auto;
    }

    .paging {
        display: flex;
        justify-content: space-between;
    }

    .hphodaotpniyot {
        display: block;
    }
    .desktop-only {
         display: none !important;
    }

    .masterFooter, #bcmchart {
        display: none;
    }
    .blocker {
        padding: 0px;
    }
    .popup#password-pop {
        width: 100vw;
        max-width:100%;
    }
}
