body {
    color: #000000;
    background-color: white;
}

canvas {
    /* image-rendering: auto; */
    image-rendering: crisp-edges;
    /* image-rendering: pixelated; */
}

#toolbar {
    top: 0px;
    /* margin: 10px; */
    padding: 0px;
    position: absolute;
    right: 0px;
    /* background-color: white;  */
    /* z-index: 1000;
    width: 4em;
    height: auto; */
    width: 3em;
}

#zoom-control {
    margin-bottom: 10px;
}

#left-toolbar {
    top: 15px;
    padding: 0px;
    position: absolute;
    left: 15px;
    width: 32px;
}

.left-toolbar-element {
    width: 100%;
    min-height: 32px;
    height: auto;
    outline: auto;
    border: none;
    outline-color: #a0a5a5;
}

.left-toolbar-element:hover {
    background-color: #F0F0F0;
}

.toolbar-element {
    width: 100%;
    min-height: 32px;
    height: auto;
    outline: none;
    border: none;
}

.toolbar-element:hover {
    background-color: #F0F0F0;

}

#layerlist {
    background-color: white;
    position: absolute;
    right: 4.5em;
    top: 0px;
    z-index: 1000;
    /* height : 100%;
    width: 15em; */
    max-height: 540px;
    display: none;
    width: auto;
    height: auto;
    overflow: visible;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

#layerlistcontent {
    color: #323232;
    background-color: #f5f5f5;
    padding: 6px 7px;
    min-width: 300px;
}

.layerlistitem {
    background-color: #fff;
    border-bottom: 1px solid rgba(50, 50, 50, 0.25);
    position: relative;
    overflow: hidden;
    list-style: none;
    margin: 3px 0;
    padding: 0;

}

.item {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 12px 7px 12px 20px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1.3em;
}

#basemapwindow {
    background-color: white;
    position: absolute;
    right: 4.5em;
    top: 0px;
    z-index: 1000;
    max-height: 680px;
    display: none;
    width: auto;
    height: auto;
    /* overflow: visible; */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

#basemapheading {
    font-size: medium;
    padding: 6px 8px;
    font-weight: 500;
    color: black;
}

#basemapgallery {
    pointer-events: all;
    background-color: white;
    margin-top: -1px;
    max-height: 65vh;
    overflow-x: hidden;
    overflow-y: auto;
    padding-bottom: 3px;
    z-index: 5;
}



.basemaplistitem {
    text-align: center;
    pointer-events: all;
    cursor: pointer;
}

.basemaplistitem:hover {
    background-color: #f0f0f0;
}

#searchbox {
    display: none;
    flex-flow: row nowrap;
    justify-content: center;
    line-height: 1.3em;
    padding: 0.1em;
    align-items: center;
    min-height: 2.0rem;
    overflow: visible;
    z-index: 1000;
    min-width: 15rem;
    position: absolute;
    background-color: white;
    right: 4.5em;
    top: 0px;
}

#searchbox input {
    height: 2.0rem;
    min-width: 15rem;
}

#showsearchresults {
    min-width: 15rem;
    height: auto;
}

#resultslist {
    max-height: 10rem;
    overflow-y: auto;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    padding: 0;
    margin: 2px 0 0 0;
    font-size: 14px;
    line-height: 16px;
    background-clip: padding-box;
    width: 100%;
}

.resultsitem {
    color: black;
    border-bottom: 1px solid rgba(50, 50, 50, 0.25);
    padding: 0.8em 1em;
    cursor: pointer;
    border-top: solid 1px rgba(50, 50, 50, 0.25);
}

.resultsitem:hover {
    background-color: #f0f0f0;
}

.infoBox {
    position: absolute;
    max-width: max-content;
    max-height: 5rem;
    line-height: 1.3em;
    z-index: 1000;
    width: auto;
    color: #000000;
    top: 20px;
    left: 30px;
    height: 5rem;
    background-color: #ced0c7;
    font-size: medium;
    font-weight: bold;
}

#infoBoxContainer {
    display: none;
}

#crossicon {
    float: right;
    text-align: right;
    vertical-align: middle;
    padding: 0.5em;
}

#crossicon:hover {
    color: red;
}

#popupBox {
    margin-top: 0.5rem;
    padding: 0.5rem;
}

#zameenlogo {
    position: absolute;
    bottom: 1rem;
    right: 0;
    width: 10%;
    z-index: 500;
    background-repeat: no-repeat;
}

#rayalogo {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    width: 8%;
    z-index: 500;
    background-repeat: no-repeat;
}
.loader {
    width: 100%;
    height: 3px;
    background-color: #549E47;
  }
  .bar {
    content: "";
    display: inline;
    position: absolute;
    width: 0;
    height: 3px;
    left: 50%;
    text-align: center;
  }
  .bar:nth-child(1) {
    background-color: #549E47;
    animation: loading 5s linear infinite;
  }
  .bar:nth-child(2) {
    background-color: #F8F8F8;
    animation: loading 3s linear 1s infinite;
  }
 /*  .bar:nth-child(3) {
    background-color: #fdba2c;
    animation: loading 5s linear 2s infinite;
  } */
  @keyframes loading {
      from {left: 50%; width: 0;z-index:100;}
      33.3333% {left: 0; width: 100%;z-index: 10;}
      to {left: 0; width: 100%;}
  }

  .attribution{
      font-size: 11px;
      position: absolute;
      right: 0px;
      bottom: 0px;
      z-index: 2000;
      background-color: white;
  }

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    #toolbar {
        top: 0px;
        /* margin: 10px; */
        padding: 0px;
        position: absolute;
        right: 0px;
        background-color: white;
        z-index: 2000;
        width: 3em;
    }
    #left-toolbar {
        background-color: white;
    }
    
    #layerlistcontent {
        color: #323232;
        background-color: #f5f5f5;
        padding: 0px;
        min-width: 230px;
    }

    .layerlistitem {
        background-color: #fff;
        border-bottom: 1px solid rgba(50, 50, 50, 0.25);
        position: relative;
        overflow: hidden;
        list-style: none;
        margin: 1px 0;
        padding: 0;
    }

    #basemapwindow {
        background-color: white;
        position: absolute;
        right: 4.5em;
        top: 0px;
        z-index: 1000;
        max-height: 680px;
        display: none;
        width: 250px;
        height: auto;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }

    .basemaplistitem {
        text-align: left;
        pointer-events: all;
        cursor: pointer;
        width: 95px;
    }
    .basemaplistitem img {
        width: inherit;
    }
    #zoom-control {
        margin-bottom: 0px;
        align-content: center;
    }
    .attribution{
        font-size: 9px;
        position: absolute;
        right: 0px;
        bottom: 0px;
        z-index: 2000;
        background-color: white;
    }


}


/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {}

/* 
  // Large devices (laptops/desktops, 992px and up) 
  @media only screen and (min-width: 992px) {
    
  } 
  
  //Extra large devices (large laptops and desktops, 1200px and up) 
  @media only screen and (min-width: 1200px) {
    
  } */