@font-face {
    font-family: "Blender";
    src: url("https://tel-aviv.kaplanopensource.co.il/css/Blender.woff") format("woff");
    font-style: normal;
    font-weight: normal;
    }
@font-face {
    font-family: "Blender-Bold";
    src: url("https://tel-aviv.kaplanopensource.co.il/css/Blender-Bold.woff") format("woff");
    }
*{
    font-family: 'Blender';
}
a {
    color: blue;
    text-decoration: underline;
}
u {
    color: blue;
}
html, body {
    height: 100%;
    width: 100%;
    margin: 0;
}
body {
    display: flex;
    flex-direction: column;
}
.map-add-comment{
    cursor:url("marker_cursor.cur"), default;
}
.grid {
    display: grid;
    grid-template-rows: 2.5fr 5fr 2.5fr;
    grid-template-columns: 1fr 1fr 1fr;
    width: 75vw;
    height: 50vh;
    position: absolute;
    top: 10%;
    left: 12.5vw;
}
.grid a img {
    width: 97%;
    height: 100%;
    border: 2px rgba(0,0,0,0.5);
    border-style: solid;
    border-width: 2px;
    border-radius: 5px;
    box-shadow: rgba(0,0,0,0.2);
}
.header {
    position: relative;
    top: 0;
    height: 10%;
    width: 100%;
    margin-bottom: 0.5%;
    background-color: #d4dadc;
    color: #48545e;
    /*font-size: 2rem;*/
    direction: rtl;
    text-align: center;
    vertical-align: middle;
    /*line-height: calc(100vh*0.095);*/
}
.header img {
    width: 8vw;
    left: 0;
    top: 0;
    position: absolute;
}
.header > h2 {
    font-size: 1.5em;
    margin-bottom: 5px;
    margin-top: 5px;
}
.header > span {
    font-size: 100%;
}
.map-with-header {
    position: relative;
    /*top: 11%;*/
    height: 100%;
    width: 100%;
}
#form {
    /*position: relative;
    right: 0;
    width: 0%;
    height: 100%;*/
    max-height: 47vh;
    background-color: rgba(184, 248, 192, 0.993);
    float: right;
    direction: rtl;
    text-align: right;
    padding: 10px;
    width: 25vw;
    /*height: 70vh;*/
    overflow-y: scroll;
    scrollbar-width: auto;
    margin: 10px;
    font-size: medium;
}
.optional {
    display: none;
}
.optional-on {
    display: inline;
}
#form::-webkit-scrollbar {
    display: auto;
    scrollbar-width: auto;
  }
#form p {
    cursor: default;
}
#submit {
    margin-bottom: 10px;
}
textarea{
    width: 60%;
    height: 10%;
}
#submit{
    float: left;
}
.option {
    display: flex;
}
.option p {
    margin: 4px;
}
.info {
    display: inline-block;
    padding: 4px;
    height: 8px;
    width: 8px;
    text-align: center;
    cursor: help;
    font: 10px/8px Arial, Helvetica, sans-serif;
    color: rgba(255,255,255,0.8);
    background: rgba(32, 32, 32, 0.8);
    border: 1px rgb(107, 102, 102);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    border-radius: 50%;
}
.info h4 {
    margin: 0 0 5px;
    color: #777;
}
.legend {
    line-height: 18px;
    color: #555;
    word-break: keep-all;
    white-space: nowrap;
    overflow: hidden;
    padding: 6px 8px;
    font: 14px/16px Arial, Helvetica, sans-serif;
    background: white;
    background: rgba(255,255,255,0.8);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    border-radius: 3px;
}
/*
.legend i {
    width: 17px;
    height: 17px;
    float: right;
    margin-right: 8px;
    opacity: 0.7;
}*/
.fa-info {
    cursor: pointer;
}
.legend span{
    float: right;
    direction: rtl;
    text-align: right;
    height: 18px;
}
.legend span:last-of-type{
    margin-top: 8px;
}
.legend .line {
    width: 18px;
    height: 18px;
    float: right;
    margin-left: 8px;
    background-color: rgba(0,0,0,0);
    transform: translateY(-9px)
}
.legend .box {
    width: 14px;
    height: 14px;
    float: right;
    margin-left: 8px;
    background-color: #f7e3b7;
    
}
.box-bike {
    width: 14px;
    height: 14px;
    float: right;
    margin-left: 8px;
    background-color: #01b9b2;
}
.leaflet-popup-content {
    text-align: right;
    direction: rtl;
}
.leaflet-popup-content > a:link{
    color: blue;
    text-decoration: underline;
}
.leaflet-bar:active{
    background-color: #aeb1ae;
  transform: translateY(2px);
}
.leaflet-tooltip {
    text-shadow: 2px 2px whitesmoke, -2px -2px whitesmoke, 2px -2px whitesmoke, -2px 2px whitesmoke;
    font-family: sans-serif; 
    font-size: 0.75rem;
    box-shadow: 0 0px 0px rgba(0,0,0,0);
    background: rgba(0,0,0,0);
    border: rgba(0,0,0,0);
}
.off{
    opacity: 0.6;
}
.info-divs {
    display: none;
    float: right;
    direction: rtl;
    text-align: center;
    font-size: 14px;
    font-size: 1.3em;
    line-height: 1.4em;
    
}
.info-divs > p {
    padding: 2px;
}
.comment{
    background-color: rgba(255,255,255,0.8);
    color: black;
    font-size: 16px;
    width: auto;
    padding: 9px;
    cursor: pointer;
    direction: rtl;
    text-align: center;
}
#comment {
    border-color: #addd8e;
}
a:link{
    color: black;
    text-decoration: none;
}
.Tooltip{
    color: #94a1ae;
    font-weight: 100;
    font-size: large;
    background-color: rgba(0,0,0,0);
    border-color: rgba(0,0,0,0);
    box-shadow: 0 1px 3px rgba(0,0,0,0);
    text-shadow: 1px 1px whitesmoke, -1px -1px whitesmoke, 1px -1px whitesmoke, -1px 1px whitesmoke;
}
.control_container{
    padding-left: 40px;
    padding-right: 20px;
}
.hidden-tooltip {
    display: none;
}
.comment-tooltip {
    display: none;
    background-color: rgba(110, 110, 110, 0.753);
    color: white;
    margin-left: 10px;
    padding: 10px;
    position: absolute;
    z-index: 1000;
    border-radius: 6px;
    /*width:200px;
    height:100px;*/
}
#map:hover .comment-tooltip {
    display: block;
}
@media screen and (max-width: 460px) {
    .comment-tooltip{
        display: none;
    }
    .grid {

        width: 75vw;
        height: 20vh;
        position: absolute;

    }
    .header {
        height: 20%;
        font-size: 80%;
    }
    .map-with-header {
        /*top: 19%;*/
        height: 100%;
    }
    .header img{
        width: 25vw;
        position: absolute;
    }
    .header > h2 {
        font-size: medium;
        position: absolute;
        right: 5vw;
        top: 0;
        text-align: right;
        width: 60%;
    }
    .header > span {
        font-size: smaller;
        padding: 3px;
        position: absolute;
        right: 0;
        bottom: 0;
        text-align: right;
    }
    .comment{
        width: auto;
        height: auto;
    }

    .info-divs {
        font-size: 16px;
        font-size: 2.8vw;
    }
    #form {
        height: 30vh;
        width: 70vw;
        margin: 10px;
        margin-top: 7px;
        z-index: 1000;
        font-size: small;
    }
    textarea{
        width: 80%;
        height: 20%;
    }

}
