/* @font-face {
    font-family: "Heebo";
    src: url("/Heebo/Heebo-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
    } */
/* @font-face {
    font-family: "Heebo-Bold";
    src: url("/Heebo/Heebo-Bold.ttf") format("truetype");
    } */
html, body{
    width: 100vw;
    overflow: hidden
}
/* *{
    font-family: 'Arial';/*,'Open Sans', sans-serif;*/
    /* font-size: 12; */
/* } */
*:focus {
    outline: none;
}
#map{
    margin: 0;
    width:100%;
    position: fixed;
    height: 100%;
    top: 0;
    left: 0;
    grid-area: main;
}
#nationalChart {
    display: flex;
    flex-direction: column;
    list-style: none;
    z-index: 900;
    max-width: 50vw;
    background-color: white;
    border-radius: 6px;
    width: 22vw;
    max-height: 75vh;
    padding-left:2%;
    /* height: 65vh; */

}
#felxChartCanvas
{
    direction:rtl;
    /* height: 100vh; */
    width: 99%;
    height:55vh;

}
#chartTitleSpan{
    position: relative;
    top: 1%;
    right: 3%;
    line-height: 1.2;
    text-align: right;
}
#resetChartButton {
    display: none;
    float: left;
    cursor: pointer;
    padding-left: 15px;
    padding-top: 10px;
    width: 12px;
}
#resetChartButton > img {
    width: 12px;
    height: 12px;
}
#chartTitle {
    float: right;

    padding-top: 5px;
    font-size: medium;
    margin-top: 0;
}
#ChartCanvasArea {
    /*width: 40vw;*/
    height: 35vh;
    padding: 1%;
}
#chartSubHeaderSpan {
    float: right;
    direction: rtl;
    text-align: right;
    
    padding: 5px;
    padding-bottom: 5px;
}
#percentCountDiv > img {
    width: 12px;
    height: 12px;;
}
#updateTimeDiv > img {
    width: 12px;
    height: 12px;;
}

#search {
    list-style: none;
    z-index: 900;
    max-width: 40vw;
    position: relative;
    z-index: 1;
    width: 10vw;
    

    margin-right: 10px;
    display: flex;
    }

#search span {
    width: 100%;
    display: grid;
    background: #fff;
    color: #404040;
    border-bottom: 1px solid rgba(0,0,0,0.25);
    border-radius: 3px;
    border: 2px solid rgba(0,0,0,0.05);
    box-sizing: border-box;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    clear: both;
    grid-template-columns: 2fr 8fr;
    grid-auto-rows: minmax(20px, auto);
    height:30px;
}
#search input {
    
    font-size: 13px;
    float: right;
    position: absolute;
    
    width: 95%;
    border: none;
    display: block;
    margin: 0;
    
    
    line-height: 28px; 
    text-decoration: none;
    font-size: 1.2em;
    font-family: 'Open Sans', sans-serif;
    background-color: rgba(0, 0, 0, 0);
    direction: rtl;
    text-align: justify;

    border-radius: 0.5px;
    overflow-y: visible;
    outline: rgba(0, 0, 0, 0);
    }
::-webkit-input-placeholder {
    text-align: center;
    }
    
    :-moz-placeholder {
    text-align: center;
    }
#search ul {
    margin-top: 35px;
    margin-right: 0;
    background-color: rgba(0, 0, 0, 0);
    width: 80%;
    position: absolute;
    right: 0;
    padding: 3px;
    padding-left: 10px;
    padding-right: 20px;
    list-style: none;
}
     
#search a:last-child {
    border: none;
    }
     
#search a:hover {
    background-color: #f8f8f8;
    color: #404040;
    }

#national > svg > g > .c3-chart > .c3-chart-bars > .c3-chart-bar > .c3-shapes > path {
    stroke-width: 2px;
    stroke:white;
    
}
.mapboxgl-popup {
    max-width: 400px;
    font: 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
    }
    
#header {
    margin: 0;
    height: 50vh;
    width: 98.5%;
    position: fixed; 
}

#subheader{
    height: 0px;
    width: 100%;
    display: none;
    margin: 0;
    position: fixed;

}
.titles {
    font: normal 18px/18px sans-serif;
    text-align: center;
    margin-top: 4px;
    margin-bottom: 2px;
    background-color: #122536;
    color: white;
}
#last-update {
    margin: 0px;
    padding: 5px;
    background-color: darkslategray;
    text-align: center;
    color: whitesmoke;
    font-size: 1.2em;
    position: absolute;
    bottom: 71vh;
    width: 98vw;
    left: 0.5vw;
    /*max-width: 97vw;*/
    overflow: hidden;
    z-index: 1;
}

#menu {

    position: fixed;
    z-index: 1;
    bottom: 1.5%;
    left: 1.5%;

}
        
.logo {
    background: #fff;
    font-size: 13px;
    color: #404040;
    display: block;
    margin: 0;
    padding: 3px;
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,0.25);
    text-align: center;
    margin: 10px 0 0 10px;
    border-radius: 3px;
    width: 10vw;
    border: 2px solid rgba(0,0,0,0.05);
    box-sizing: border-box;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
    font-family: 'Open Sans', sans-serif;
    }

#menu input{
    border-radius: 0.5px;
}
        
.logo:last-child {
    border: none;
    }
        
.logo:hover {
    background-color: #f8f8f8;
    color: #404040;
    }
.c3-grid .c3-xgrid-focus {
    visibility : hidden !important;
    }
.c3-legend-item{
    margin: 20px;
}
.c3-legend-item text{
    font-size: 13px;
}

.mapboxgl-popup-close-button{
    font-size: 18px;
}
.popup-list-item{
    direction: rtl; 
    display:flex; 
    margin: 2px;
    text-indent: 3px;
    width: 180px;
    font-size: 1.2em;
}

.popup-grid {
    display: grid;
    grid-template-columns: auto;
    width: max-content;
}
.mapboxgl-popup-content{
    width: max-content;
}
.legend{
    display: grid;
    grid-template-columns: repeat(10,auto);
    grid-template-rows: 1fr;
    grid-gap: 2px;
    width: 90vw;
    height: 12vh;
    /*top:10px;*/
    left: 2.5vw;
    position: absolute;
}
.legend > span{
    text-align: center;
}
.legend > span   i{
    width: 0;
    height: 0;
    border: black;
    border-width: 1px;
    padding: 5px;
    /*height: 20px;
    width: 20px;*/
    margin: 0;
    display: table;
    vertical-align: middle;
}
.legend > span p {
    margin: 0;
    word-break: break-word;
}
.circle {
    width: 10%;
    height: 0;
    font-size: 18px;
    text-align: center;
    line-height: 0;
    padding: 5% 0;
    border-radius: 50%;
}
.percent {
    display: none;
}
#national {
    position: absolute;
    height: 100px;
    width: 100%;
}
#national > svg{
    position: inherit;
    left: 2.5vw;
    width: 95vw;
}
#city > svg{
    position: inherit;
    left: 5vw;
    width: 90vw;
}
.c3-grid {
    visibility: hidden;
}
.c3-grid-lines {
    visibility: hidden;
}
.c3-text-0 text{
    fill: black;
}
.c3-chart-text .c3-target-r_אחר{
    color: white;
}

.mapboxgl-ctrl button .mapboxgl-ctrl-icon {
    display: block;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: 50%;
}
.mapboxgl-ctrl-group button {
    width: 29px;
    height: 29px;
    display: block;
    padding: 0;
    outline: none;
    border: 0;
        border-top-color: currentcolor;
        border-top-style: none;
        border-top-width: 0px;
    box-sizing: border-box;
    background-color: 
    transparent;
    cursor: pointer;
}
.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 29 29' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E");
    padding: 0;
}

.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 29 29' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E");
    padding: 0;
}
#declarationDiv
{
    position: absolute;
    top: 40vh;

    width:70vw;
    left: 15vw; 
    height:15vh; 
    background-color:white; 
    z-index:1000; 
    border: 2px solid rgba(0,0,0,0.05);   
    border-radius: 10px; 
    padding: 10px;
    box-shadow:0 1px 5px rgb(0 0 0 / 65%);
}
/* start of phone styles */
@media screen and (max-width: 633px) {
    body{
        overflow-y: scroll;
    }
    #header {
        position: absolute;
        width: 98%;
        padding-top: 2px;
        top: 0;
    }
    #header .titles{
        width: 98vw;
        
        left: 1vw;
    }
    #nationalChart {
        width: 40vw;
    }
    #national{
        /*width: 50vw;
        height: 50vh;*/
        position: absolute;
 

    }
    #national svg {
        position: absolute;
        /*left: 50%;*/
        /*top: -20%;*/
        /*max-width: 50vw;*/
        display: flex;
        flex-direction: column;
        justify-content: center; 
        align-items: center;
    }
    .legend{
        padding-top: 1.5%;
        display: grid;
        grid-template-columns:1fr;
        grid-template-rows: repeat(10,1fr);
        
        width: 40vw;
        
        top: 0;
        position: absolute;
        left: 0;

    }
    .legend > span{
        text-align: right;
        font-size: smaller;
        vertical-align: middle;
        position: relative;
        top: 0;
        
    }
    .percent { 
        display: inline;
        position: absolute;
        right: -20%;
        vertical-align: bottom;
        padding-top: 2px;
        top: 0;
    }

    #last-update {
        top: calc(40vh + 5px);
        height: 2.5vh;
        font-size: 0.8em;
        text-align: center;
        text-indent: 20px;
        direction:rtl;
        break-after: auto;
        position: absolute;
        width: 100%;
        left: 0;
    }
    .popup-list-item {
        font-size: 1.1em;
        text-indent: 3px;
        direction:rtl;
        display:flex; 
        margin: 2px;
        text-indent: 3px;
        width: 170px;
    }
    .c3-grid {
        visibility: hidden;
    }
    .c3-grid-lines {
        visibility: hidden;
    }
    #search {
        width: 30vw;
        margin-right: 10px;

    }
    #search ul {
        margin-top: 25px;
    }
    #search input {
        text-size-adjust: none;
        padding-top: 0px;
        padding-bottom: 4px;

        background-color: rgba(0, 0, 0, 0);
        font-size: 1em;
        overflow-y: visible;
        outline: rgba(0, 0, 0, 0);
    }
    .logo {
        background: #fff;
        font-size: 13px;
        color: #404040;
        display: block;
        margin: 0;
        padding: 3px;
        text-decoration: none;
        border-bottom: 1px solid rgba(0,0,0,0.25);
        text-align: center;
        margin: 10px 0 0 10px;
        border-radius: 3px;
        width: 15vw;
        border: 2px solid rgba(0,0,0,0.05);
        box-sizing: border-box;
        box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
        font-family: 'Open Sans', sans-serif;
        }

}
.banner {
    background-color: white;
    height: 5vh;
    width: 100vw;
    position: fixed;
    bottom: 0;
    left: 0;

}
.bannerLogo {
    background-color: rgba(0, 0, 0, 0);
    box-shadow: none;
    border : 'none';
    padding: 0.5px;
    margin: 0;
    position: absolute;
    top: 5px;
    right: 2.5vw;
    width: 20vw;

}
.bannerText {
    text-align: right;
    position: absolute;
    font-size: 12px;
    line-height: 140%;
    right: 25%;
    color: slategray;
}   

#shareControl > span:nth-child(1) > a{
    
    display: inline-block;
    height: 24px;
    width: 24px;
    cursor: pointer;
}
.mapboxgl-ctrl-bottom-right > div:nth-child(1) > div:nth-child(1) > a:nth-child(1) {
    direction: rtl;
    float: right;
}