@import url('./fonts.css');

/* Common */
body {
  font-family: 'poppins-regular';
  box-sizing: border-box;
}
h1,
h2,
h3,
p {
  margin: 0px;
}
ul {
  margin: 0px;
}
ul,
li {
  list-style: none;
  margin: 0px;
  padding: 0px;
}
a {
  color: #000;
  font-size: 16px;
  text-decoration: none;
}
.indexel-dashboard {
  display: flex;
  justify-content: space-between;
  height: 100vh;
  width: 100%;
  background-color: #e5e5e5;
}
.side-bar {
  flex-basis: 20%;
  background-color: #fff;
  padding: 20px;
}
.logo-img {
  height: 71px;
  width: 172px;
  margin: 0 auto;
}
.logo-img img {
  width: 100%;
  height: 100%;
}
.side-bar-list {
  margin-top: 90px;
}
.side-bar-list li {
  background-color: #f2f3f6;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.25);
  border-radius: 5px;
  padding: 8px 16px;
  margin-bottom: 15px;
  cursor: pointer;
}
.side-bar-list li.active,
.side-bar-list li:hover {
  background-color: #116366;
}

.side-bar-list li label {
  font-size: 14px;
  line-height: 16px;
  color: #000000;
  cursor: pointer;
}
.side-bar-list li:hover label,
.side-bar-list li.active label {
  color: #fff;
}
.dashboard-wrapper {
  flex-basis: 80%;
  padding: 20px;
}
.dashboard-list {
  background: #ffffff;
  padding: 17px 35px;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.25);
  border-radius: 5px;
  display: flex;
  margin-bottom: 20px;
}
.dashboard-list li {
  flex-basis: 16%;
}
.dashboard-list li label {
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
  line-height: 16px;
  color: #c4c4c4;
}
.dashboard-list li label:hover,
.dashboard-list li.active label {
  color: #116366;
}
.chartBox {
  margin-top: 20px;
  height: 280px;
}
/* map */
.viDetails {
  display: none;
}
.list {
  display: block !important;
}
.empty-rm {
  display: none !important;
}
.names {
  fill: none;
  stroke: #fff;
  stroke-linejoin: round;
}
/* Tooltip CSS */

.d3-tip {
  line-height: 1.5;
  font-weight: 400;
  font-family: 'avenir next', Arial, sans-serif;
  padding: 6px;
  background: rgba(0, 0, 0, 0.6);
  color: #ffa500;
  border-radius: 1px;
  pointer-events: none;
}
/* Creates a small triangle extender for the tooltip */

.d3-tip:after {
  box-sizing: border-box;
  display: inline;
  font-size: 8px;
  width: 100%;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.6);
  position: absolute;
  pointer-events: none;
}
/* Northward tooltips */

.d3-tip.n:after {
  content: '\25BC';
  margin: -1px 0 0 0;
  top: 100%;
  left: 0;
  text-align: center;
}
/* Eastward tooltips */

.d3-tip.e:after {
  content: '\25C0';
  margin: -4px 0 0 0;
  top: 50%;
  left: -8px;
}
/* Southward tooltips */

.d3-tip.s:after {
  content: '\25B2';
  margin: 0 0 1px 0;
  top: -8px;
  left: 0;
  text-align: center;
}
/* Westward tooltips */

.d3-tip.w:after {
  content: '\25B6';
  margin: -4px 0 0 -1px;
  top: 50%;
  left: 100%;
}
/*    text{
      pointer-events:none;
    }*/

.details {
  color: white;
}

#stateList {
  display: none;
  position: absolute;
  left: calc((100% - 20px) / 2);
  padding: 5px 15px;
  border-radius: 8px;
}
.maplistright {
  background-color: #fff;
  padding-bottom: 13px;
  border-radius: 10px;
}
.empty {
  display: flex;
  font-weight: 500;
  font-size: 21px;
  line-height: 25px;
  color: #116366;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
}
.details-map {
  /* display: flex;
  align-items: center; */
  border: 1px solid #116366;
  border-radius: 10px;
  padding: 20px;
  height: 280px;
  margin-top: 20px;
}
.list li {
  font-weight: bold;
  font-size: 16px;
  line-height: 23px;
  margin-bottom: 5px;
}
.list li label {
  color: #116366;
}
/* map heading */
.map-card {
  height: calc(100vh - 118px);
  overflow: auto;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
}
.container-map,
.village-map-content {
  flex-basis: 47%;
}
.map-content,
.map-set {
  margin-bottom: 30px;
}
.map-heading {
  font-weight: 900;
  font-size: 14px;
  line-height: 16px;
  color: #156366;
  margin-bottom: 10px;
}
.map-heading span {
  color: #2f6a96;
}
/* Bar */

.barchart {
  width: 100% !important;
  height: 100% !important;
  border: 1px solid #116366;
  border-radius: 10px;
  padding: 20px;
}
.linechart {
  width: 100% !important;
  height: 100% !important;
  padding: 2px;
}
.lchartBox {
  height: 200px;
}
.villageline {
  display: flex;
  flex-wrap: wrap;
}
.villageline li {
  margin-right: 10px;
}
.csv-btn {
  border: 0px;
}
.csv-btn img {
  width: 100%;
  height: 100%;
}
/* Spin Loader */
.hide {
  display: none !important;
}
.show {
  display: block !important;
}
.loader {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
.lds-roller {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}
.lds-roller div:after {
  content: ' ';
  display: block;
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2d6a96;
  margin: -4px 0 0 -4px;
}
.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
  top: 63px;
  left: 63px;
}
.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
  top: 68px;
  left: 56px;
}
.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
  top: 71px;
  left: 48px;
}
.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
  top: 72px;
  left: 40px;
}
.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
  top: 71px;
  left: 32px;
}
.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
  top: 68px;
  left: 24px;
}
.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
  top: 63px;
  left: 17px;
}
.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
  top: 56px;
  left: 12px;
}
@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Csv */
.download-csv {
  width: 100%;
  display: none;
}
.csv-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 30px;
}
.csv-list li {
  flex-basis: 37%;
  margin-bottom: 10px;
}
.csv-list li h2 {
  text-align: center;
  font-size: 22px;
  color: #2d6a96;
}
.vill-dist {
  display: flex;
  justify-content: space-around;
}
.common-list label {
  display: block;
  text-align: center;
  font-size: 18px;
  color: #156366;
  margin: 10px 0px;
}
.common-list ul li {
  position: relative;
  border: 2px solid #156366;
  border-radius: 10px;
  padding: 10px 20px;
}
.common-list ul li:hover {
  transition: 0.5s ease;
  background-color: #4a4848c7;
}
.hov-img {
  display: none;
}
.hov-img img {
  width: 100%;
  height: 100%;
}
.common-list ul li:hover a {
  font-weight: bold;
  color: #116366;
}
.common-list ul li:hover .hov-img {
  display: block;
  position: absolute;
  top: 50%;
  height: 28px;
  left: 50%;
  transform: translate(-50%, -50%);
}
.csv-title {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #2d6a96;
  margin-top: 20px;
}
