/*
  *  Styling navbar
  */
  body {margin: 0;background-color: #000;font-family: 'Montserrat',Arial, Helvetica, sans-serif;}#full_nav{width:100%;}#full_nav {color:#fff;
  position: fixed;top: -80px;width: 100%;display: block;transition: top 0.3s;z-index: 20;}#footer{background:#000;position:relative;
  z-index: 10;padding: 30px 0 30px 0;color: #fff;font-size: 14px;text-align: center;}
  
  /*
  *  css for input effects
  */
input:focus::-webkit-input-placeholder { color:transparent; }
input:focus:-moz-placeholder { color:transparent; } /* FF 4-18 */
input:focus::-moz-placeholder { color:transparent; } /* FF 19+ */
input:focus:-ms-input-placeholder { color:transparent; } /* IE 10+ */

/* styling of d3-tip*/
.tooltip {
  position: absolute;
  text-align: center;
  width: 80px;
  height: 60px;
  padding: 2px;
  font: 12px sans-serif;
  background: lightsteelblue;
  border: 0px;
  border-radius: 8px;
  pointer-events: none;
}

.d3-tip {
  line-height: 1;
  padding: 12px;
  background: #fff; /*rgba(0, 0, 0, 0.8);*/
  color: #000;
  border-radius: 2px;
  border: solid 0.5px #000;
  font-size:12px;
}

/* Creates a small triangle extender for the tooltip */
.d3-tip:after {
  box-sizing: border-box;
  display: inline;
  font-size: 10px;
  width: 100%;
  line-height: 1;
  color: rgba(0, 0, 0, 0.8);
  content: "\25BC";
  position: absolute;
  text-align: center;
}

/* Style northward tooltips differently */
.d3-tip.n:after {
  margin: -1px 0 0 0;
  top: 100%;
  left: 0;
}

.bar { fill: #A7414A; }

.label {
	font-size: 13px;
	}

/*
*  styling of full nav bar
*/
#full_nav a {
  float: left;
  display: block;
  color: #fff;
  transition: 1s;
  text-align: center;
  padding: 15px;
  text-decoration: none;
  font-size: 14px;
}

#full_nav a:hover {
  color: #ff5231;
}

/*
*  Styling header + video
*/

 #bg_home {
  position: relative;
  /*background-color: black;*/
  height: 100vh;
  min-height: 25rem;
  width: 100%;
  overflow: hidden;
}

#bg_home video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

#bg_home .container {
  position: relative;
  z-index: 2;
}

#bg_home .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: black;
  opacity: 0.5;
  z-index: 1;
}

@media (pointer: coarse) and (hover: none) {
  #bg_home {
    background: url('https://source.unsplash.com/XT5OInaElMw/1600x900') black no-repeat center center scroll;
  }
  header video {
    display: none;
  }
}

#bg_home .btn {
    /* Positioning and sizing */
    display: block;
    width: 200px;
    background-color: #ff5231;
    
    /* Padding and margins */
    padding: 8px 32px;
    
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    
    /* Text styles */
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
    
    /* Border styles */
    border: 1px solid #fff;
    border-radius: 50px;
}

#bg_home .btn:hover{
  background-color: #fff;
  color:#ff5231;
}

.number h4{
  text-align: center;
  padding-bottom: 5px;
}

.number span{
  color:#A7414A;
  font-size: 30px;
  font-weight: bold;
 }
 
 #d3-graph {
	 margin-top:100px;

 }
 
 /* shadow effect of circle on map*/
 
.pulsating-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 30px;
  height: 30px;
  
  &:before {
    content: '';
    position: relative;
    display: block;
    width: 300%;
    height: 300%;
    box-sizing: border-box;
    margin-left: -100%;
    margin-top: -100%;
    border-radius: 45px;
    background-color: #01a4e9;
    animation: pulse-ring 1.25s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  }
  
  &:after {
    content: '';
    position: absolute;
    left: 0; 
    top: 0;
    display: block;
    width: 100%;
    height: 100%;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 0 8px rgba(0,0,0,.3);
    animation: pulse-dot 1.25s cubic-bezier(0.455, 0.03, 0.515, 0.955) -.4s infinite;
  }
}

@keyframes pulse-ring {
  0% {
    transform: scale(.33);
  }
  80%, 100% {
    opacity: 0;
  }
}

@keyframes pulse-dot {
  0% {
    transform: scale(.8);
  }
  50% {
    transform: scale(1);
  }
  100% {
    transform: scale(.8);
  }
}