body {
    margin: inherit;
    background: #eaeaff;
    color: #556b2f;
    text-align: justify;
/*    -moz-text-align-last: center;
    text-align-last: center;*/
}
#footer {
    -moz-text-align-last: auto;
    text-align-last: auto;
}
h1{
    text-align:center;
}
h2{
    text-align:center;
}
#pFrom{
    text-align:center;
}
#firstDiv {
    display: grid;
    padding-right: 5px
}
#secondDiv {
    display: grid;
    padding-right:5px
}
a {
    line-break: anywhere;
}
#negishutImgXId {
    width: 20px;
    left: 2.5px;
    top: 2.5px;
    position: absolute;
    
}
#backToDifoultBtn {
    margin-bottom: 10px;
    margin-top: 1px;
}
    #negishutImgXId:hover {
        width: 21px;
        left: 3px;
        top: 3px;
        position: absolute;
        opacity: 8;
        cursor: pointer;
    }
#negishutDiv {
    min-height: 300px;
    max-height: 60%;
    height: auto;
    min-width: 100px;
    max-width: 50%;
    width: auto;
    display: grid;
    left: 0px;
    position: fixed;
    background: gray;
    text-align: center;
    top: 0;
    z-index: 4;
    color: black;
    background: #bfbfbf;
    overflow: auto;
    border: 2px solid darkolivegreen;
    border-radius: 5px;
    opacity:0.9;
}
.negishutDivs{
    margin-right:auto;
    margin-left:auto;
}
#colorRekaDiv{
    margin-top:10px;
}
.clHshiurim {
    border: none;
    display: block;
    margin-right: auto;
    margin-left: auto;
    position: relative;
    width: 100%;
    right: 0;
    left: 0;
}
#playOnImgeAr {
    margin-right: auto;
    margin-left: auto;
    position: absolute;
    right: 0;
    left: 0;
    z-index: 2;
    position: absolute;
    top: 40%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width:60px;
    opacity:0.7;
}
.pItalic{
    font-style:italic;
    text-align:center;
}
#playOnImgeCs {
    margin-right: auto;
    margin-left: auto;
    position: absolute;
    right: 0;
    left: 0;
    z-index: 2;
    position: absolute;
    top: 40%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 60px;
    opacity: 0.7;
}
#drushotImagsAr {
    width: 65%;
    margin-right: auto;
    margin-left: auto;
    display: block;
    opacity: 0.9;
}
#drushotImagsCs {
    width: 65%;
    margin-right: auto;
    margin-left: auto;
    display: block;
    opacity: 0.9;
}
audio {
    margin: 5px;
    margin-right: auto;
    margin-left: auto;
}
.shiurBtnsDiv {
    border: none;
    width: 90%;
    margin-right: auto;
    margin-left: auto;
    right: 0;
    left: 0;
    position: absolute;
    margin-top: 20px;
}
    .shiurBtnsDiv img {
        width: 80%;
        opacity: 0.7;
        position: absolute;
        height: 100%;
        margin-right: auto;
        margin-left: auto;
        right: 0;
        left: 0;
        min-height:350px;
        margin-top:-20px;
    }
.clHshiurim button {
    background-color: lightgray;
    color: rgb(12, 14, 26);
    width: 23%;
    height: 50px;
    margin: 5px;
    border: none;
    margin-right: 5px;
    margin-left: auto;
    float: left;
    z-index: 1;
    position: relative;
    opacity: 0.7;
    border-radius:5px;
}
    .clHshiurim button:hover {
        background-image: url("imags/play-button-round-icon.png");
        background-repeat: no-repeat;
        background-position: center;
        background-blend-mode: soft-light;
        font-weight:800;
    }
    
    #audioDivAr {
        border: none;
        width: 100%;
        display: contents;
    }
#audioDivCs {
    border: none;
    width: 100%;
    display: contents;
}
#naganAr {
    width: 100%;
    margin-top:0;
}
#naganCs {
    width: 100%;
    margin-top: 0;
}

header {
    width: 100%;
    height: auto;
}
#tfilaDiv {
    width: 100%;
    border:none;
}
#tfilaDiv img{
    width:100%;
    max-width:870px;
    margin-right:auto;
    margin-left:auto;
    margin-top:10px;
    display:block;
    
}
#fromDrashotBtn {
    border: none;
    width: 90%;
    margin-right: auto;
    margin-left: auto;
    position: absolute;
    right: 0;
    left: 0;
    /*color:darkolivegreen;*/
}
#drashotBtns {
    border: none;
    width: 50%;
    margin-right: auto;
    margin-left: auto;
    margin-top: 20px;
    float: initial;
}
    #drashotBtns button {
        height: 100px;
        width: 49%;
        border: none;
        margin: -2px;
        font-size: large;
        container-type: inline-size;
        
    }
        #drashotBtns button:hover {
            opacity:0.9;
        }
#drArBtn {
    color: lightgrey;
    background-color: #0c0e1a;
}
#drCsBtn {
    background-color: lightgrey;
    color: #0c0e1a;
}
#shiurimCsDiv{
border:none;
width:100%
}
#shiurimArDiv {
    border: none;
    width: 100%
}
.shiurimH2 {
    text-align: center;
    text-decoration: underline;
    margin: 35px;
}
#footerHead {
    width: auto;
    float: none;
    border: none;
    text-decoration: none;
}

    #footerHead hr {
        margin: 20px;
        padding: inherit;
        margin-right:auto;
        margin-left:auto;
    }
#cityUl{
    border-right:1px solid;
}
#contectUl{
    border-left:1px solid;
}
#hrBeforPare {
    display: none;
}
.sogrim{
    font-size:smaller;
}
a {
    text-decoration: none;
}
#btfromHgdrotBtn {
    min-width: 40px;
    left: 5px;
    position: absolute;
    top: 14px;
    background: #0c0e1a;
    color: #cdd0d3;
    font-size: 18px;
}
#navBarUl {
    display: flex;
    background-color: #0c0e1a;
    margin: 0px 0px 5px 0px;
    min-height: 46px;
    height: 46px;
    padding-right: 0px;
    margin-top: 0px;
}

    #navBarUl button {
        font-size: large;
        background-color: #033149;
        color: lightgrey;
        text-underline-offset: 7px;
    }

            #navBarUl button:hover {
                font-size: larger;
                color: white;
                /*text-decoration:underline;*/
            }

    #storyDiv {
        width: 100%;
        display: block;
        position: absolute;
        top: 89px;
        border: none;
        height: 100%;
    }


#bookStoryDiv {
    /*position: absolute;*/
    margin-left: auto;
    margin-right: auto;
    width: inherit;
    border: none;
   /* text-align: center;*/
    /*color: darkolivegreen;*/
}

        #bookStoryDiv h2 {
            margin-top: 40px;
        }

            #bookStoryDiv h2 span {
                font-size: smaller;
                font-weight: lighter;
            }

        #bookStoryDiv span {
            color: inherit;
        }

    .changedImage {
        max-height: 75%;
        max-width: 90%;
        margin-right: auto;
        margin-left: auto;
        height: fit-content;
        display: block;
        top: 10px;
        position: absolute;
        left: 0;
        right: 0;
    }

    #changedImage {
        max-height: 75%;
        max-width: 90%;
        margin-right: auto;
        margin-left: auto;
        height: fit-content;
        display: block;
        top: 10px;
        position: relative;
    }


    #storyParegraph {
        display: block;
        width: 90%;
        /*text-align: center;*/
        border: none;
        margin-right: auto;
        margin-left: auto;
        float: none;
        margin-top: 120px;
    }

        #storyParegraph p {
            display: block;
            /*color: darkolivegreen;*/
            font-size: x-large;
        }

    #biographyLineParDiv p {
        font-size: x-large;
    }

    .pHead {
        text-decoration: underline;
        font-style: italic;
        text-align:center;
    }

#storyParegraph .pNote {
    text-align: right;
    -moz-text-align-last: right;
    text-align-last: right;
    font-size: smaller;
    margin-bottom: 20px;
}

.noteSpan {
    /*color: darkolivegreen;*/
    text-align: right;
    -moz-text-align-last: right;
    text-align-last: right;
    display: inline;
    /*font-size: 100px;*/
}

    #btnDiv {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        float: left;
        border: none;
    }

    .storyBtn {
        width: 45%;
        margin-bottom: 40px;
        height: 30px;
    }

    .imgBtn img {
        height: inherit;
        max-height: 55%;
        width: 80%;
    }

.imgBtn {
    height: inherit;
    top: 100px;
    position: absolute;
    max-height: 45%;
    background-color: inherit;
    border: none;
    width: 8%;
    z-index: 3;
}

        .imgBtn img:hover {
            opacity: 0.7;
        }

    #imgBefor:active {
        transform: translateX(4px);
    }

    #imgNext:active {
        transform: translateX(-4px);
    }

    #imgBefor {
        margin-right: 10px;
    }

    #imgNext {
        left: 10px;
    }

    #biographyLineDiv {
        width: 100%;
        border: 0px;
    }

    #biographyLineParDiv {
        border: 0px;
        width: 90%;
        /*color: darkolivegreen;*/
        /*text-align: center;*/
        margin-right: auto;
        margin-left: auto;
        float: none;
    }

        #biographyLineParDiv img {
            max-height: 300px;
            max-width: 95%;
            display: block;
            margin-right: auto;
            margin-left: auto;
            margin-bottom: 30px;
            margin-top: 30px;
        }

        #biographyLineParDiv .pRight {
            text-align: right;
            -moz-text-align-last: right;
            text-align-last: right;
        }

        #biographyLineParDiv .pLeft {
            text-align: left;
            -moz-text-align-last: left;
            text-align-last: left;
        }

        #biographyLineParDiv p {
            display: block;
        }

header img {
    width: 100%;
    height: inherit;
    max-width: 870px;
    display: block;
    margin: 5px auto -5px auto;
}

#postImg {
    z-index: 0;
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
}

#postImgZmani {
    z-index: 1;
    position: relative;
    display: block;
}

footer {
    width: 100%;
    height: auto;
    bottom: 0px;
    background-color: black;
    opacity: 0.8;
    position: inherit;
    display: inline-block;
}
.headLines {
    max-width: 80%;
    margin-right: auto;
    margin-left: auto;
}


h4 {
    color: white;
    margin-top: 0px;
    padding-top: 10px;
    direction: rtl;
    text-align: center;
    font-weight: inherit;
}

ul {
    color: white;
    direction: rtl;
    padding-bottom: 5px;
    display: grid;
}

div {
    width: 32%;
    float: right;
    margin-bottom: 5px;
    font-family: system-ui, sans-serif;
}

#midlDiv {
    width: 100%;
    margin: 0px 0px -4px 0px;
    position: relative;
    border: 0px;
}

/*#midlDiv img {
        width: inherit;
    }*/

#thirdDiv {
    margin-right: -3px;
    display: grid;
}

    #thirdDiv ul {
        line-break: auto;
        padding-right:45px;
        
    }

#secondDiv ul {
    line-break: anywhere;
}

/*.phagYom {
    color: #0c0e1a;
    float: left;
    margin-left: 25%;
}*/
.cniVeyHag {
    color: #0c0e1a;
    display: block;
    margin-top: 4px;
}
.cniVeyHagSpa {
    /*color: darkolivegreen;*/
    display: inline-block;
}
#spnSog {
    color: white;
    /*text-align: center;*/
    display: block;
}

#midlePage {
    margin: 0px 0px -5px 0px;
    display: inline-table;
}

.hrFotter {
    width: 90%;
    padding-top: 20px;
    border-top: 0px;
    border-right: 0px;
    border-left: 0px;
}

#myParegraph {
    width: 90%;
    margin: 20px 5% 10px 5%;
    position: initial;
    top: 20px;
    /*text-align: center;*/
    border: none;
}

a {
    color: lightgrey;
}

li {
    font-size: smaller;
}

p {
    direction: rtl;
    display: contents;
}

.boldLine {
    font-weight: bold;
    /*color: darkolivegreen;*/
}

.smallLine {
    font-weight: 100;
    /*color: darkolivegreen;*/
    display: contents;
}
#openSpan {
    width: 60%;
    display: inline-block;
    font-style: italic;
    margin-right: auto;
    margin-left: auto;
    display: block;
    text-align:center;
    /*color: darkolivegreen;*/
}

#startLine {
    direction: ltr;
    /*color: darkolivegreen;*/
    text-align: right;
    -moz-text-align-last: right;
    text-align-last: right;
    display: block;
    font-size: larger;
    font-weight: bolder;
    margin-bottom: 0px;
    font-family: 'Segoe UI Emoji';
    font-style: italic;
}

#lastSpan {
    direction: ltr;
    /*color: darkolivegreen;*/
    text-align: left;
    -moz-text-align-last: left;
    text-align-last: left;
    display: block;
    font-size: larger;
    font-weight: bolder;
    margin-bottom: 0px;
    font-family: 'Segoe UI Emoji';
    font-style: italic;
}

#endLine {
    direction: ltr;
    /*color: darkolivegreen;*/
    text-align: left;
    -moz-text-align-last: left;
    text-align-last: left;
    display: block;
    /*margin-left: 10px;*/
}

.conNameSpan {
    text-align: end;
    width: -moz-fit-content;
    width: fit-content;
    float: left;
    margin-left: 5px;
    line-break: auto;
}

#copyPare {
    color: white;
    text-align: center;
    display: block;
    direction: ltr;
}

.hrFotter {
    display: flex;
}
#aMap{
    text-decoration:underline;
    color:white;
    display:block;
}
#wazeImg {
    width: 26px;
    background: #eaeaff;
    display: block;
    margin-bottom: 3px;
    margin-top: 3px;
    border-radius: 4px;
}
#navBarUl div {
    border: none;
    width: 100%;
    display: contents;
    list-style-type: none;
    margin: 0px;
    padding: 0;
    background-color: #eaeaff;
    margin-top: 46px;
}

#menuLins {
    display: none;
}
@media only screen and (min-width: 870px) {
    #navBarUl button {
        color: lightgrey;
        background-color: #0c0e1a;
        margin-right: 25px;
        border: none;
    }
       
    }

    @media only screen and (max-width: 870px) {

        #drushotImagsAr {
            width: 80%;
        }
        #drushotImagsCs {
            width: 80%;
        }
            #btfromtfilaBtn {
            line-height: 25px;
        }

        #navBarUl div {
            border: none;
            width: 30%;
            display: none; /*//grid*/
            list-style-type: none;
            margin: 0px;
            padding: 0;
            background-color: #eaeaff;
            margin-top: 51px;
        }
        /*//////////////////////////////////////////*/
        /*#navBarDiv {
            display: none;
            //display:grid;//
       } */ 
        /*//////////////////////////////////////*/
        #navBarUl {
            display: flex;
            background-color: #0c0e1a;
            margin: 0px 0px 5px 0px;
            height: 46px;
            padding-right: 0px;
            margin-top: 0px;
        }

        #postImg {
            top: 172px;
        }
      
        #navBarUl button {
            font-size: large;
            height: 65px;
            border: none;
            border-bottom: 1px solid;
            background-color: lightgray;
            color: #0c0e1a;
            position: relative;
            z-index: 4;
        }
    #menuLins {
        width: 35px;
        float: right;
        position: absolute;
        height: 35px;
        display:block;
        margin-right:10px;
        margin-top:7px;
    }


        #navBarUl button:hover {
            font-size: 18px;
            color: #0c0e1a;
            background-color: lightgray;
            /*opacity: 0.8;*/
            font-weight: 700;
        }

        .imgBtn img {
            width: unset;
        }

        .imgBtn {
            height: 100px;
            top: 230px;
            opacity: 0.7;
            background: bottom;
        }

        #storyParegraph p {
            font-size: large;
        }

        #storyParegraph .pNote {
            font-size: smaller;
        }

        #biographyLineParDiv p {
            font-size: large;
        }

        #bookStoryDiv h2 {
            margin-top: 30px;
            text-align:center;
        }

        #storyDiv {
            top: 65px;
        }
        #h4Zmanim {
            padding-top: 0px;
            margin-top: 4px;
        }
        #drashotBtns button:hover {
            font-size: 19px;
        }
     
    }



    @media only screen and (max-width: 450px) {

        #drushotImagsAr {
            width: 90%;
        }
        #drushotImagsCs {
            width: 90%;
        }

        #navBarUl div {
        width:50%;
        }
            footer {
            position: inherit;
        }

        ul {
            padding-right: 20px;
        }

        body {
            font-size: x-small;
        }

        #myParegraph {
            margin-top: -15px;
            font-size: 7.5px;
        }

        #endLine {
            margin-top: auto;
        }

        #footerHead h4 {
            margin: 0px 0px 5px 0px;
        }

        #footerHead .hrFotter {
            margin: auto;
        }

        #storyParegraph {
            margin-top: 75px;
        }

            #storyParegraph p {
                font-size: small;
            }

        #biographyLineParDiv p {
            font-size: small;
        }

        #bookStoryDiv h2 {
            margin-top: 25px;
            font-size: medium;
        }

        #storyParegraph .pNote {
            font-size: x-small;
        }
        #drashotBtns {
            width: 80%;
        }

            #drashotBtns button {
                height: 70px;
                font-size: initial;
            }
            #drashotBtns button:hover {
                font-size:15px;
            }
    }


    @media only screen and (max-width: 700px) and (min-width: 627px) {
        .imgBtn {
            top: 180px;
        }
    }

    @media only screen and (max-width: 626px) and (min-width: 570px) {
        .imgBtn {
            top: 180px;
        }
    }

    @media only screen and (max-width: 570px) and (min-width: 450px) {
        .imgBtn {
            height: 60px;
            top: 150px;
        }
    }
/*@media only screen and (max-width: 1050px) and (min-width: 707px) {
    audio:nth-child(2n+1) {
        float: right;
    }

    audio:nth-child(2n+2) {
        float: left;
    }
}
@media only screen and (max-width: 1350px) and (min-width: 1050px) {
    audio:nth-child(3n+1) {
        float: right;
    }

    audio:nth-child(3n+3) {
        float: left;
    }
}*/

    @media only screen and (max-width: 450px) {
        .imgBtn {
            height: 60px;
            top: 100px;
        }
        /*#btfromHgdrotBtn {
            top: 23px;
        }*/
    }

    @media only screen and (max-width: 870px) and (min-width: 450px) {
        body {
            font-size: small;
        }

        #myParegraph {
            margin-top: -5px;
            font-size: 12px;
        }

        #storyParegraph {
            margin-top: 100px;
        }
    }

    @media only screen and (max-width: 627px) and (min-width: 450px) {

        #myParegraph {
            margin-top: -10px;
            font-size: 8.5px;
        }
     
    }

    @media only screen and (min-width: 1115px) and (max-width: 1425px) {

        #myParegraph {
            margin-top: 20px;
            font-size: 21px;
        }
    }

    @media only screen and (min-width: 1426px) {

        #myParegraph {
            margin-top: 20px;
            font-size: 28px;
        }
    }

    .changedImage {
        max-height: 75%;
    }

    #changedImage {
        max-height: 75%;
    }


    @media only screen and (max-height: 400px) {
        .imgBtn {
            top: 35%;
        }
    }
