
/*general*/
    
    body {
        margin: 0;
    }
    
    * {
        box-sizing: border-box;
        font-family: 'Varela Round', sans-serif;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    }
    
/*header*/

    .header {
        position: fixed;
        z-index: 10;
        top: 0;
        width: 100%;
        height: 6vh;
        min-height: 55px;
        background-color: rgb(26, 111, 66);
        display: flex;
        align-items: center;
        overflow: visible;
        justify-content: center;
        box-shadow: 0 1px 2px;
    }
    
    .header span {
        z-index: 11;
        font-size: 100%;
        text-decoration: none;
        width: 40%;
        color: white;
        font-weight: bold;
        margin: 5%;
    }
    
    #header1{
        direction: rtl;
        text-align: right;
    }
    
    #header2{
        cursor: pointer;
    }
    
    #header3{
        text-align: left;
    }
    
    .header img {
        z-index: 11;
        width: 20%;
        margin: 0;
        padding: 0;
        width: auto;     
        height: 5.6vh;
        min-height: 51px;
    }
    
    .placeholder {
        width: 100%;
        height: 6vh;
        min-height: 55px;
        z-index: 9;
    }
    
    .placeholder.tiny {
        height: 3vh;
        min-height: 30px;
    }

/*side-bar*/

    #side-bar {
        position: fixed;
        left: 0;
        top: 20vh;
        background-color: rgba(32,56,100,1);
        border-radius: 0 15px 15px 0;
        padding: 11px 3px 3px 3px;
        color: white;
        cursor: pointer;
        z-index: 10;
    }
    
    #side-bar img {
      -webkit-transition: color 1s ease-out;
      -moz-transition: color 1s ease-out;
      -o-transition: color 1s ease-out;
      transition: color 1s ease-out;
      width: 30px;
      margin: 3px;
      opacity: 0.3;
    }

    #side-bar .selected-lang {
      opacity: 1;
    }

/*home*/
    .search {
        position: sticky;
        top: max(6.19vh,57px);
        width: 100%;
        height: auto;
        display: flex;
        justify-content: space-around;
        background-color: white;
        z-index: 10;
    }

    .search .ui-input-text {
        flex: 1;
    }

    .search input {
        width: 100%;
    }

    .search button {
        float: left;
        width: 15%;
        height: 100%;
        border-radius: 9999px;
        margin: 15px 0 15px 0;
        padding: 12px 20px;
    }

    .search span {
        width: 10%;
    }

    .search input {
        flex: 1;
        /*width: 60%;*/
        height: 3em;
        float: right;
        border-radius: 9999px;
        margin: 15px 0 15px 0;
        padding-right: 20px;
    }

/*post*/
    .post-title {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .container {
        z-index: 1;
        margin-right: 5%;
        margin-left: 5%;
        direction: rtl;
        /*min-height: 100vh;*/
    }
    
    #container-next, #container-prev, #container-temp {
        display: none;
    }
    
    .post-image {
        width: 100%;
        max-width: 600px;
        height: auto;
    }
    
    .post-vid {
        width: 100%;
        max-width: 600px;
        /*height: auto;*/
        height: 450px;
    }
    
    .nav-mark {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .navigate, .mark {
        background-color: rgba(191,144,0,0.25);
        border-radius: 9999px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
    }
    
    .mark {
        padding: 3px;
    }
    
    .navigate {
        margin-right: 20px;
    }
    
    .navigate a {
        color: purple;
    }
    
    .navigate a:hover, .mark i:hover {
        color: red;
    }
    
    .read-more {
        width: 100%;
        border-top: 1px solid rgba(0,0,0,0.25);
        border-bottom: 1px solid rgba(0,0,0,0.25);
        overflow: hidden;
    }
    
    .read-more p {
        padding: 1% 1% 1% 0;
        float:right;
        margin: 0;
        font-size: 20px;
        /*cursor: pointer;*/
    }
    
    .read-more a{
        text-decoration: none;
        color: blue;
    }
    
    .read-more a:hover{
        text-decoration: underline;
    }
    
    .read-more.labels{
        background-color: rgba(255,255,255,0.3);
    }
    
    .read-more.lyrics{
        background-color: rgba(132,189,0,0.1);
    }
    
    .read-more.important{
        background-color: rgba(192,0,0,0.1);
    }
    
    .read-more.sources{
        background-color: rgba(255,217,102,0.1);
    }
    
    .read-more.social{
        background-color: rgba(59,89,152,0.1);
    }
    
    .social-container{
        display: flex;
        flex-direction: column;
        /*align-items: center;
        padding: 0;
        margin: 0;*/
    }
    
    #sources img, #sources iframe {
        width: 420px;
        max-width: 95%;
        height: auto;
    }
    
    #sources iframe {
        width: 420px;
        max-width: 95%;
        height: 315px;
    }
    
    pre {
        white-space: pre-wrap;       /* css-3 */
        white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
        white-space: -pre-wrap;      /* Opera 4-6 */
        white-space: -o-pre-wrap;    /* Opera 7 */
        word-wrap: break-word;       /* Internet Explorer 5.5+ */
    }
    
    .content {
        width: 100%;
        margin-top: 0;
        padding-top: 0;
        padding-right: 10px;
        overflow-wrap: normal;
        /*overflow: auto;*/
        transition: max-height 0.5s ease-out;
        -webkit-transition: max-height 0.5s ease-out;
    }
    
    .content p, .content pre {
        margin: 0;
        padding: 0;
    }
    
    .arrow {
        transition: transform 0.25s ease-out;
        -webkit-transition: transform 0.5s ease-out;
    }
    
    .chip {
        background: #f1f1f1;
        height: 30px;
        line-height: 30px;
        border-radius: 15px;
        display: inline-block;
        /*padding-right: 10px;*/
        margin: 5px 3px 5px 3px;

    }
    
    .chip .closebtn {
        font-size: 16px;
        font-weight: bold;
        color: #888;
        float: left;
        margin-left: 10px;
        margin-right: 7px;
    }
    
    .chip .label {
        /*margin-left: 7px;*/
        margin-right: 7px;
    }
    
    .chip img {
        float: right;
        width: 30px;
        height: 30px;
        border-radius: 15px;
        /*margin-left: 4px;*/
    }
    
    .chip a {
        color: black;
        cursor: pointer;
    }
    
    .chip a:hover {
        text-decoration: none;
    }
    
    .credit{
        font-weight: bold;
        color: rgb(191, 144, 0);
    }
    
    .sign{
        max-width: 80vw;
    }
    
    .related{
        border: 1px solid grey;
        background-color: rgba();
        padding-right: 5px;
        padding-left: 5px;
    }
    
    .related a {
        text-decoration: none;
    }
    
    .pic-vid {
        line-height: 200%;
    }
    
    .pic-vid li {
        /*margin: 0;*/
        line-height: 100%;
        /*padding: 0;*/
    }
    
    .pic-vid img {
        max-width: 100%;
        display: inline-block;
        vertical-align: middle;
        max-height: 100%;
    }
    
    .press{
        background-color: rgb(247,247,247);
        padding: 4px;
        border: 1px solid rgb(204,204,204);
        border-radius: 5px;
        color: green;
        text-align:center;
    }
    
/*icon-bar*/
    .icon-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        width: 100%;
        height: 5.5%;
        min-height: 50px;
        z-index: 10;
        border-top: 1px solid rgba(171,171,171,0.7);
        overflow: hidden;
        background-color: white;
    }
    
    .icon-bar a{
        direction: rtl;
        width: calc(100%/4);
        line-height: 100%;
        color: grey /*#009688*/;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        background-color: white;
        flex-direction: column;
        flex-wrap: column-wrap;
        font-size: 80%;
        cursor: pointer;
    }
    
    .icon-bar a:hover{
        color: #004D40;
        text-decoration: none;
    }
    
    .icon-bar a.active{
        color:  rgba(124,185,50,1);
        text-decoration: none;
    }
    
    .material-icons {
        font-size: 220%;
    }
    
/*Ripple button*/
    .btn-rp, .siteLink {
        text-decoration: none;
        color: black;
        font-size: 14px;
        position: relative;
        dispaly: block;
        min-width: 88px;
        /*max-width: 40%;
        /*max-width: 150px;*/
        padding: 12px 20px;
        height: 3em;
        margin: 15px 2px;
        border: none;
        ouline: none;
        letter-spacing: 0;
        font-weight: bold;
        background: #dfdfdf;
        cursor: pointer;
        overflow: hidden;
        border-radius: 3px;
        
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        -user-select: none;
        
        transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -webkit-transition: all 0.3s ease-in-out;
        
        -webkit-box-shadow: 0 1px 3px 0 rgba(0,0,0,0.12), 0 1px 2px 0 rgba(0,0,0,0.24);
        -moz-box-shadow: 0 1px 3px 0 rgba(0,0,0,0.12), 0 1px 2px 0 rgba(0,0,0,0.24);
        box-shadow: 0 1px 3px 0 rgba(0,0,0,0.12), 0 1px 2px 0 rgba(0,0,0,0.24);
    }
    
    .btn-rp {background: #fff; border-color: #cdcdcd;}
    .btn-rp:hover {background: #f5f5f5; border-color: #f5f5f5;}
    .btn-rp:focus, .btn-rp:active {
        -webkit-box-shadow: 0 3px 6px 0 rgba(0,0,0,0.15), 0 3px 6px 0 rgba(0,0,0,0.23);
        -moz-box-shadow: 0 3px 6px 0 rgba(0,0,0,0.15), 0 3px 6px 0 rgba(0,0,0,0.23);
        box-shadow: 0 3px 6px 0 rgba(0,0,0,0.15), 0 3px 6px 0 rgba(0,0,0,0.23);
        background: #E6E6e6;
    }
    
    .ripple {
        position: absolute;
        background: rgba(0,0,0,0.25);
        border-radius: 100%;
        pointer-events: none;
        -webkit-transform: scale(0);
        -ms-transform: scale(0);
        transform: scale(0);
    }
    
    .ripple.show {
        -webkit-animation: ripple 0.45s ease-out;
        animation: ripple 0.45s ease-out;
    }
    
    @-webkit-keyframes ripple {
        to {
            -webkit-transform: scale(1.5);
            transform: scale(1.5);
            opacity: 0;
        }
    }
    
    @keyframes ripple {
        to {
            -webkit-transform: scale(1.5);
            transform: scale(1.5);
            opacity: 0;
        }
    }

    .facebookLink {
        background-color: rgba(66,103,178,0.25);
        max-width: 50%;
        vertical-align: middle;
        padding: 0 20px;
    }

    .siteLink {
        background-color: rgba(50,160,25,0.25);
    }
    

/*navner ripple*/
    .navbar-ripple {
        background: rgba(124,185,50,0.25);
    }
    
/*cards*/
    #cards-container {
        width: 100%;
        display: flex;
        justify-content: space-between;
        flex-direction: row; /*column*/
        flex-wrap: wrap; /*comment*/
        align-item: right;
    }
    
    .cards{
        flex: 1;
        display: flex;
        /*width: 100%;*/
        flex-direction: row;
        align-items: center;
        justify-content: center;
        /*border: 1px solid red;*/
    }
    
    .card {
        position: relative;
        display: flex;
        direction: rtl;
        color: black;
        border: 1px solid rgb(175,175,175);
        border-radius: 5px;
        background-color: rgb(241,241,241);
        min-height: 90px;
        margin: 5px;
        padding: 5px;
        width: 100%;
    }
    
    .num {
        font-weight: bold;
        border-left: 1px solid rgb(175,175,175);
        padding-left: 3px;
        margin-left: 5px;
        
    }

    .tip-header {
        
        position: relative;
    }
    
    .card-prev {
        margin-left: 23px;
    }

    .labels-and-btn {
        display: flex;
        justify-content: space-between;
    }
    
    .card-labels {
        width: 65%;
        display: flex;
        /*flex-wrap: wrap;*/
    }
    
    .card-labels chip {
        flex: 1 0 18%; /* explanation below */
        
    }
    
    .card .btn-rp {
        position: absolute;
        bottom: -10px;
        left: 2px;
    }


    #load-btn-container {
        width: 100%;
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-direction: column;
    }
    
    .load-more {
        width: 100%;
        max-width: 400px;
    }
    
/*share options*/
    .curtain {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
        z-index: 9;
    }
    
    .share-options {
        direction: rtl;
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        min-width: 50%;
        width: 350px;
        height: auto;
        background-color: white;
        border-radius: 20px;
        padding: 3% 0;
        z-index: 10;
    }
    
    .share-option {
        width: 100%
        height: 30px;
        border-top: 1px solid rgba(0,0,0,0.25);
        border-bottom: 1px solid rgba(0,0,0,0.25);
        padding: 0 5%;
    }
    
    .share-option {
        display: flex;
        align-items: center;
        cursor: pointer;
        color: black;
        text-decoration: none;
    }
    
    .share-option img, .share-option input {
        width: 30px;
        height: 30px;
    }
    
    .share-option span {
        width: 5%;
    }
    
    .share-option span {
        width: 1;
    }
    
    #facebook-post, #reminder {
        display: none;
    }
    
/*Checkbox*/
    input[type="checkbox"] {
        position: relative;
        width: 40px;
        height: 20px;
        -webkit-appearance: none;
        border: none;
        background: #c6c6c6;
        outline: none;
        border-radius: 10px;
        box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
        transition: 0.5s;
        cursor: pointer;
    }
    
    input:checked[type="checkbox"] {
        background: #03a9f4;
    }
    
    input[type="checkbox"]:before {
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        border-radius: 10px;
        top: 0;
        left: 0;
        background: #fff;
        transform: scale(1.1);
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        transition: 0.5s;
    }
    
    input:checked[type="checkbox"]:before {
        left: 20px;
    }
    
/*snackbar*/
    #snackbar {
        direction: rtl;
        visibility: hidden;
        min-width: 250px;
        margin-left: -125px;
        background-color: #333;
        color: white /*#fff*/;
        text-align: center;
        border-radius: 2px;
        padding: 16px;
        position: fixed;
        z-index: 12;
        left: 50%;
        bottom: 6.5%;
        /*height: 30px;*/
    }
    
    #snackbar.show {
        visibility: visible;
        -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
        animation: fadein 0.5s, fadeout 0.5s 2.5s;
    }
    
    @-webkit-keyframes fadein {
        from {bottom: 0; opacity: 0;} 
        to {/*bottom: 5.5vh; */opacity: 1;}
    }
    
    @keyframes fadein {
        from {bottom: 0; opacity: 0;}
        to {/*bottom: 5.5vh; */opacity: 1;}
    }
 
    @-webkit-keyframes fadeout {
        from {/*bottom: 5.5vh; */opacity: 1;} 
        to {bottom: 0; opacity: 0;}
    }
    
    @keyframes fadeout {
        from {/*bottom: 5.5vh; */opacity: 1;}
        to {bottom: 0; opacity: 0;}
    }
    
/*Spinner*/    
    .spinner:after {
        content: "";
        box-sizing: border-box;
        position: absolute;
        top: 50%;
        left: 50%;
        height: 60px;
        width: 60px;
        margin-top: -30px;
        margin-left: -30px;
        border-radius: 50%;
        border-top: 2px solid coral;
        border-right: 2px solid transparent;
        animation: spinner 0.7s linear infinite;
        z-index: 12;
    }
    
    .spinner:before {
        content: "";
        box-sizing: border-box;
        position: absolute;
        top: 0%;
        left: 0%;
        height: 100vh;
        width: 100vw;
        background-color: rgba(255,255,255,0.3); /*rgba(255,250,240,0.3);*/
        z-index: 11;
    }
    
    @keyframes spinner {
        to {
            transform: rotate(360deg);
        }
    }
    
/*Spinner - load more*/    
    
    .load-more.spinner:after, #search-btn.spinner:after {
        top: 50%;
        left: 50%;
        height: 30px;
        width: 30px;
        margin-top: -15px;
        margin-left: -15px;
        border-top: 2px solid black;
    }
    
    #search-btn {
        height: 3em;
    }
    
/*autofill input*/
    input:-webkit-autofill,
    input:-webkit-autofill:hover, 
    input:-webkit-autofill:focus
    textarea:-webkit-autofill,
    textarea:-webkit-autofill:hover
    textarea:-webkit-autofill:focus,
    select:-webkit-autofill,
    select:-webkit-autofill:hover,
    select:-webkit-autofill:focus {
        margin-bottom: 12px;
        -webkit-text-fill-color: black;
        background-color: white;
        -webkit-box-shadow: 0 0 0px 0px #000 inset;
        transition: background-color 5000s ease-in-out 0s;
    }
    
/*instructions*/    
    .instructions {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(51,61,80,0.95);
        z-index: 14;
        
        flex-direction: column;
        flex-wrap: column-wrap;
        align-items: center;
        justify-content: center;
        
        color: white;
        
    }
    
    .instructions img {
        max-width: 40vw;
    }
    
    .instructions p {
        text-align: center;
        font-size: 24px;
    }
    
    .instructions p:first-of-type {
        font-size: 36px;
    }

/*rosponsive*/
    @media screen and (max-width: 600px) {
      .navigate {
        display: none;
      }
    }
    
/*card menu*/
    .card .menu {
        position: absolute;
        top: 2px;
        left: 2px;
        display: flex;
        flex-direction: column;
        /*align-items: center;*/
        color: rgba(0,0,0,0.7);
        opacity: 0.7;
        
        cursor: pointer;
        align-items: right;
        z-index: 5;
    }
    
    .card .menu span {
        text-align: left;
        font-size: 12px;
    }
    
    .card .menu ul {
        list-style: none;
        background: white;
        border-radius: 10px;
        /*background: #333333b3;*/
        padding: 6px 12px;
        margin: 0 5px;
        display: none;
    }
    
   .card .menu ul li {
        /*border: 1px solid blue;*/
        direction: rtl;
        /*float: left;*/
        /*width: 30px;*/
        color: black;
        text-align: right;
        display: block;
        vertical-align: top;
        padding: 6px 0;
        font-weight: bold;
        cursor: pointer;
        border-bottom: 1px solid grey;
    }
    
    .card .menu ul li:last-child {
        border-style: hidden;
    }
    
   .card .menu ul li i {
        font-size: 26px;
        vertical-align: sub;
    }
    
    .card .menu:hover > ul {
        display: block;
    }
    
/*side-bar*/

    #side-bar {
        position: fixed;
        left: 0;
        top: 20vh;
        background-color: rgba(32,56,100,1);
        border-radius: 0 15px 15px 0;
        padding: 11px 3px 3px 3px;
        color: white;
        cursor: pointer;

        z-index: 10;
    }
    
    #side-bar i {
      -webkit-transition: color 1s ease-out;
      -moz-transition: color 1s ease-out;
      -o-transition: color 1s ease-out;
      transition: color 1s ease-out;
    }
    
/*WhatsApp*/

    #whatsapp {
    
    }
    
    #whatsapp input {
        flex: 1;
        /*width: 60%;*/
        height: 3em;
        float: right;
        border-radius: 12px;
        margin: 15px 0 15px 0;
        padding-right: 20px;
        text-align: right;
        border: 1px solid rgb(191,191,191);
        height: 40px;
    }

    #select {
        flex: 8;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .knesset {
        border: 1px solid rgb(191,191,191);
        border-radius: 12px;
        text-align: right;
        color: black;
        padding: 9px;
        padding-left: 25px;
        font-size: 18px;
        cursor: pointer;
        height: 40px;
        background-color: white;
    }
    
    .knesset:hover {
        background-color: rgba(0,0,0,0.25);
    }
    
    .knesset select {
        color: black;        
    }
    
    select::-ms-expand {display: none;}
    select{
        -webkit-appearance: none;
        appearance: none;
    }
    
    .arrow {
        transform: translate(32px, 0);
    }
    
    #whatsapp button{
        background-color: rgba(1,230,117,0.55);
    }
    
    #whatsapp button:hover{
        background-color: rgba(1,230,117,0.9);
    }
    
    #whatsapp div {
        display: inline-flex;
        align-items: center;
        justify-content: space-between;
        height: 42px;
    }