* {
  box-sizing: border-box;
}
body {
  font-size: 0.98rem;
}
.canvas {
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to right,#fdf7f5, #e7cac1);
  opacity: 1;
  position: absolute;
  top: 0px;
  left: 0px;
  overflow: hidden;
}

.sidebar {
  position: absolute;
  left: 6.3%;
  width: 23.9%;
  bottom: 0;
  overflow-y: auto;
  padding: 2.1vh;
  font-size: 1.9vh;
  top: 21%;
}


.sidebarchart {
  position: absolute;
  left: 6.8%;
  width: 20.4%;
  top: 0;
  bottom: 0;
  overflow-y: auto;
  padding: 2.1vh;
  font-size: 1.9vh;
  top: 27%;
}

.card{
  background-color: rgba(250, 250, 250, 0.333); 
  border: rgba(1, 1, 1, 0);
  border-radius: 10.7%;
}

.card-body {
  padding-bottom: 3%;
}

.card-title{
  font-size: 2.6vh;
}

.fw-light{
  font-size:1.9vh;
}

.sidebar31 {
  position: absolute;
  right: 0.8%;
  width: 35vh;
  top: 0;
  bottom: 0;
  overflow-y: auto;
  padding: 2.4vh;
  text-align: right;
  top: 1%
}

.sidebar32 {
  position: absolute;
  right: 0.8%;
  width: 35vh;
  top: 0;
  bottom: 0;
  overflow-y: auto;
  padding: 2.4vh;
  text-align: right;
  top: 36.5%
}

.sidebar33 {
  position: absolute;
  right: 0.8%;
  width: 35vh;
  top: 0;
  bottom: 0;
  overflow-y: auto;
  padding: 2.4vh;
  text-align: right;
  top: 65.9%
}

.mapframe2 {
  width: 127vh;
  height: 127vh;
  background: rgba(255, 255, 255, 0.25);
  opacity: 1;
  position: absolute;
  top: 50%;
  left: 56%;
  margin: -63.5vh 0 0 -63.5vh;
  border-radius: 50%;
}

.mapframe1 {
  width: 96vh;
  height: 96vh;
  background-image: linear-gradient(to right,#fff9dd, #f8efc6);
  opacity: 0.76;
  position: absolute;
  top: 50%;
  left: 56%;
  margin: -48vh 0 0 -48vh;
  border-radius: 50%;
}

.mapframe1:hover {
  opacity: 0.81;
}

.form-control{
  font-size: 0.97vw;
}

.barchart{
  position: absolute;
  left: 6.3%;
  width: 26.4%;
  top: 0;
  bottom: 0;
  overflow-y: auto;
  padding: 2.1vh;
  font-size: 1.9vh;
}

.chartposition1{
  top: 65%;
}

.chartposition2{
  top: 74%;
}

.chartposition3{
  top: 83%;
}

.map {
  width: 80vh;
  height: 80vh;
  background: #f0f0f0;
  opacity: 1;
  position: absolute;
  top: 50%;
  left: 56%;
  margin: -40vh 0 0 -40vh;
  border-radius: 50%;
  -moz-border-radius: 4vh;
  -webkit-border-radius: 40vh;
  -khtml-border-radius: 40vh;
  z-index: 400; 
}

.my-legend{
  position:absolute;
  left: 42.5%;
  bottom: 1.6%;
  z-index: 800;
  background-color: rgba(255, 255, 255, 0.24);
  fill-opacity: 0.6;
}

.my-legend .legend-title {
  text-align: left;
  margin-bottom: 9.5%;
  font-weight: bold;
  font-size: 1.9vh;
  }
.my-legend .legend-scale ul {
  margin: 0;
  margin-bottom: 9.2%;
  padding: 0;
  float: left;
  list-style: none;
  }
.my-legend .legend-scale ul li {
  font-size: 1.57vh;
  list-style: none;
  margin-left: 0;
  line-height: 78%;
  margin-bottom: 13%;
  }
.my-legend ul.legend-labels li span {
  display: block;
  float: left;
  height: 1.6vh;
  width: 3vh;
  margin-right: 0.5vh;
  margin-left: 0;
  border: 1px solid rgba(153, 153, 153, 0);
  }
.my-legend .legend-source {
  font-size: 70%;
  color: #999;
  clear: both;
  }
.my-legend a {
  color: #777;
  }


.navbar {
  width: 5.05vw;
  height: 100%;
  padding: 0px;
  background: #0c0301dc;
  opacity: 1;
  position: absolute;
  top: 0px;
  left: 0px;
  overflow: hidden;
}

.nav-item2::after {
  content: '';
  display: block;
  width: 0px;
  height: 2px;
  background: #f5986d;
  transition: 0.4s
}

.nav-item2:hover::after {
  width: 80%
}

.btn-text {
  font-size: 0.97vw;
}

#btnGroupDrop1 {
  border: black; 
  color: white; 
  background-image: linear-gradient(to top, #da3848ec, #fa685dec);
}

#btnGroupDrop1:hover{
  background-color: #c72b3be7;
}

.dropdown-item{
  font-size: 1.82vh;
}

.search {
  background: white;
  border-radius: 19.5%;
}

.search:hover {
  background: rgb(240, 240, 240);
}

.btn:focus,.btn:active {
  outline: none !important;
  box-shadow: none;
  box-decoration-break: none;
}


.navbar-dark .navbar-nav .active>.nav-link,
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link.show,
.navbar-dark .navbar-nav .show>.nav-link,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover {
  color: #f5986d
}

.circle {
  width:2.9vw;
  height: 2.9vw
}

.org {
  opacity: 1;
}

.org:hover {
  opacity: 0.89;
}


.above {
  width: 80%;
  color: rgb(43, 23, 15);
  position: absolute;
  top: 1.3%;
  right: 12.79%;
  font-family:Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 10.8vh;
  opacity: 1;
}

.average {
  width: 80%;
  color: rgb(136, 128, 127);
  position: absolute;
  top: 12.1%;
  left: 7.4%;
  font-family:Arial, Helvetica, sans-serif;
  font-size: 5.1vh;
  opacity: 1;
}

.text {
  color: rgb(209, 209, 209);
}


/*Spinner Styles*/
.lds-dual-ring {
  display: inline-block;
  width: 3.7vh;
  height: 3.7vh;
  padding-left: 1.1vh;
}
.lds-dual-ring:after {
  content: " ";
  display: block;
  width: 3.7vh;
  height: 3.7vh;
  margin: 18% auto;
  border-radius: 50%;
  border: 0.7vh solid #fff;
  border-color: #fff transparent #fff transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
}



/*For Mobile Device (iPad)
@media (max-width: 1170px){
  .navbar{
   width: 3.7rem;
  }
  .mapframe2{
    width: 108vw;
    height: 108vw;
    margin: -54vw 0 0 -54vw;  }
  .mapframe1{
    width: 82vw;
    height: 82vw;
    margin: -41vw 0 0 -41vw;  }
  .map {
    width: 68vw;
    height: 68vw;
    margin: -34vw 0 0 -34vw;
  }
  .circle{
    width:2.17rem;
    height: 2.17rem
  }
}
*/

/*For Mobile Device (iPhone)*/
/*@media only screen 
    and (device-width: 390px) 
    and (device-height: 844px) 
    and (-webkit-device-pixel-ratio: 3) {*/

/*@media (max-width: 1170px){*/

@media (max-aspect-ratio: 2/3){
  body {
    font-size: 1.29vh;
  }

  .navbar{
   width: 100%;
   height: 4.5%;
   padding: 0px;
   background: #0c0301dc;
   opacity: 1;
   position: absolute;
   top: 0px;
   left: 0px;
   overflow: hidden;
  }

  .btn-text {
    font-size: 1.4vh;
  }

  .canvas {
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to top,#fdf7f5, #dfbfb5);
    opacity: 1;
    position: absolute;
    top: 0px;
    left: 0px;
    overflow: hidden;
  }
  .mapframe2{
    width: 128vw;
    height: 128vw;
    margin: -97vw 0 0 -70vw;
    background: rgba(255, 255, 255, 0.4);
  }
  .mapframe1{
    width: 86vw;
    height: 86vw;
    margin: -75vw 0 0 -49vw;
    background-image: linear-gradient(to bottom,#fff9dd, #f8efc6);
    opacity: 0.69;
  }
  .map {
    width: 68vw;
    height: 68vw;
    margin: -66vw 0 0 -40vw;
    z-index: 400;
  }
  .circle{
    width:2.17rem;
    height: 2.17rem
  }
  .above {
    width: 40%;
    color: rgb(255, 255, 255);
    opacity: 80%;
    background-color: rgb(93, 73, 65);
    position: absolute;
    top: 62%;
    right: 31.01%;
    border-radius: 2rem;
    font-family:Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 5vw;
    padding-right: 22%;
    padding-left: 3%;
  }
  .average {
    width: 40%;
    color: rgb(255, 255, 255);
    opacity: 80%;
    position: absolute;
    top: 62%;
    left: 38.1%;
    border-radius: 10%;
    font-family:Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 5vw;
    margin-left: 5%;
    padding-left: 5%;
  }
  .input-group{
    top: 45.8%;
    left: 27.8%;
    width: 46%;
    height: 4.1%;
    border-radius: 2rem;
    background-color: rgba(1, 1, 1, 0);
  }
  .btnGroupDrop1{
    background-color: rgb(255, 255, 255);
    border: rgba(1, 1, 1, 0);
  }
  .form-control{
    background-color: rgba(1, 1, 1, 0);
    font-size: 1vh;
  }
  .search{
    border-radius: 2rem;
    background-color: rgba(255, 255, 255, 40%);
    border: rgba(1, 1, 1, 0);
  }

  .sidebar {
    position: absolute;
    left: 4%;
    width: 90%;
    bottom: 0%;
    padding: 0;
  }

  .sidebar31{
    left: 3%;
    top: 85%;
    height: 20%;
    padding: 0vh;
    width: 29%;
  }

  .sidebar32{
    left: 36%;
    top: 85%;
    height: 20%;
    padding: 0vh;
    width: 29%;
  }

  .sidebar33{
    left: 68%;
    top: 85%;
    height: 20%;
    padding: 0vh;
    width: 29%;
  }

  .card{
    background-color: rgba(250, 250, 250, 0.43); 
    border: rgba(1, 1, 1, 0);
    border-radius: 10.7%;
  }

  .card-title{
    font-size: 2.7vw;
  }

  .fw-light{
    font-size:1.8vw;
  }

  #medianInc{
    display: none;
  }

  .sidebarchart{
    position:absolute;
    padding: 0%;
    top: 66%;
    width: 32%;
    left: 62%;
  }

  .barchart{
    position: absolute;
    left: 4.3%;
    width: 50.4%;
    top: 20%;
    height: 40%;
    overflow-y: auto;
    padding: 0vh;
    margin: 0%;
    font-size: 1.0vh;
  }

  
  .chartposition1{
   top: 70%;
   width: 50%;
  }

  .chartposition2{
    top: 74.5%;
    width: 50%;
  }

  .chartposition3{
    top: 79%;
    width: 50%;
  }

  .dropdown-item{
    font-size: 1vh;
  }

  .my-legend{
    position:absolute;
    left: 42.5%;
    bottom: 7.6%;
    z-index: 800;
    background-color: rgba(255, 255, 255, 0.24);
    fill-opacity: 0.6;
  }
  
  .my-legend .legend-title {
    text-align: left;
    margin-bottom: 9.5%;
    font-weight: bold;
    font-size: 1.9vw;
    }
  .my-legend .legend-scale ul {
    margin: 0;
    margin-bottom: 9.2%;
    padding: 0;
    float: left;
    list-style: none;
    }
  .my-legend .legend-scale ul li {
    font-size: 1.57vw;
    list-style: none;
    margin-left: 0;
    line-height: 78%;
    margin-bottom: 13%;
    }
  .my-legend ul.legend-labels li span {
    display: block;
    float: left;
    height: 1.6vw;
    width: 3vh;
    margin-right: 0.5vw;
    margin-left: 0;
    border: 1px solid rgba(153, 153, 153, 0);
    }
  .my-legend .legend-source {
    font-size: 70%;
    color: #999;
    clear: both;
    }
  .my-legend a {
    color: #777;
    }

  .lds-dual-ring {
    display: inline-block;
    width: 3.7vw;
    height: 3.7vw;
    padding-left: 1.1vw;
  }


}
