.key-rect{
  height: 10px;
  width: 15px;
  display: inline-block;
  margin-right: 4px;
}
.failed-nominee-1{
  fill: #fff;
	/*fill: #ccc;
  background-color: #ccc;*/
}
.failed-nominee-2 {
  fill: #fff;
/*  fill: #ccc;
  background-color: #ccc;*/
}
.successful-nominee-1{
  fill: #fff;
	/*fill: #3c3c3c;
  background-color: #3c3c3c;*/
}
.successful-office-1{
  fill: #fff;
/*	fill: #000;
  background-color: #000;*/
}
.successful-nominee-2{
  fill: #fff;
	/*fill: #fa7089;
  background-color: #fa7089;*/
}
.successful-office-2{
  fill: #fff;
	/*fill: #fa0033;
  background-color: #fa0033;*/
}
.successful-nominee-3{
  fill: #fff;
/*	fill: #aca2d3;
  background-color: #aca2d3;*/
}
.successful-office-3{
  fill: #fff;
	/*fill: #5c42ab;
  background-color: #5c42ab;*/
}
.y-axis path {
	stroke: none;
	fill: none;
}
.y-axis line{
  stroke: none;
  fill: none;
}
.y-axis text {
  font-size: 14px;
}
.x-axis path, line{
	fill: none;
}
path.domain {
  stroke: none;
}
.x-axis text {
	font-size: 14px;
}
/*.x-axis line{
	stroke: #000;
}*/
div.tooltip {   
  position: absolute;  
  background-color: white;
  border: 1px solid #ccc;
  box-shadow: 0 2px 2px #ccc;
  color: black;       
  text-align: center;
  font-family: BWHaasText, Helvetica, sans-serif;       
  width: 150px;                  
  min-height: inherit;                   
  padding: 2px;             
  font-size: 14px;
  line-height: 16px;         
  pointer-events: none; 
  z-index: 9999; 
  display: none;
  padding: 5px;
  transform: translate(-50%, -110%);
} 
div.tooltip:after, before {
      position: absolute;
      bottom: 0;
      left: 50%;
      content: ' ';
      display: inline-block;
      width: 0;
      background-color: transparent;
      height: 0;
      transform: translate(-50%, 100%);
      border-left: 7px solid transparent;
      border-right: 7px solid transparent;
      border-top: 7px solid #fff;
    }
  div.tooltip:before {
      border-left: 8px solid transparent;
      border-right: 8px solid transparent;
      border-top: 8px solid #ccc;   
    }
div.tooltip span{ 
  font-weight: bold;
 } 
.legend {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 10px;
  margin-bottom: 10px;
}
.legend-p, .legend p{
  font-size: 14px;
  line-height: 16px;
  font-family: BWHaasText, Helvetica, sans-serif; 
  color: #2d2d35;
  margin: 7px 7px 0 0 !important;
}
.key-dot {
    display: inline-block;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    margin-right: 5px;
}
.small-title {
  font-size: 18px;
  line-height: 22px;
  /*font-weight: bold;*/
  font-family: BWHaasText, Helvetica, sans-serif; 
  margin: 20px 0 10px 0; 
}
.small-title-old-wh {
  text-align: center;
}
.presidentWh {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.presidentWh-small {
  width: 300px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;

}
.line {
  pointer-events: none;
/*  stroke-linecap: round;*/
}
.line-in-office {
  stroke-linecap: round;
}
#wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-bottom: 15px;
}
.smallWrapper {
  width: 310px;

}
@media all and (max-width: 500px) {
  .smallWrapper {
    width: 100%;
  }
}
.legend-child p{
  clear:both;
  float:left;
}
.profile-img {
  height: 80px;
  width: 80px;
  border-radius: 50px;
}
.profile-img:hover {
  transform: scale(1.01);
}
.img-departed-Y {
   opacity: .7;
}
.departed {
  height: 80px;
  width: 80px;
  background-color: #000;
  border-radius: 50px;
  margin-bottom: 15px;
}

.departed:hover {
  transform: scale(1.05);
}
.departed-small {
  height: 30px;
  width: 30px;
  background-color: #000;
  border-radius: 50px;
}
.departed-Y  {
  background-color: #fa0033;
}
.most-recent {
  background-color: black;
}
.in-view {
  animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both, color 1s forwards;
  animation-delay: 1s;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}
@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }
  
  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}
@keyframes color {
  from {background-color: black;}
  to {background-color: #fa0033;}
}
.div-name {
  text-align: center;
  margin-top: 15px;
}
.person {
  width: 10%;
  margin: 10px;
  font-family: BWHaasText, Helvetica, sans-serif;  
  font-size: 14px;
  line-height: 16px;

}
@media all and (max-width: 700px) {
  .person {
  width: 15%;
  margin: 10px;
  font-family: BWHaasText, Helvetica, sans-serif;  
  font-size: 14px;
  line-height: 16px;
  }
}
@media all and (max-width: 500px) {
    .person {
    width: 25%;
    margin: 10px 0px 10px 0px;
    font-family: BWHaasText, Helvetica, sans-serif;  
    font-size: 12px;
    line-height: 14px;
    }
  .departed {
    height: 70px;
    width: 70px;
    border-radius: 50px;
    margin: 0 auto;
  }
  .departed:hover {
    height: 70px;
    width: 70px;
  }
  .profile-img {
    height: 70px;
    width: 70px;
    border-radius: 50px;
    margin: 0 auto;
  }
  .profile-img:hover {
    height: 70px;
    width: 70px;
  }
}
.person-small {
  width: 15%;
  margin-bottom: 10px;
}
/*.person-small {
  width: 35px;
  height: 35px;
  margin: 5px;
}*/
.regular  {
  background-color: #000;
}
.chart-source {
  line-height: 1.25rem !important;
}
#arrow {
  fill: none;
  stroke: black;

}
#arrow-start {
  fill: none;
  stroke: black;
}
#trump-wh-chart {
  overflow: visible;
}
/* LEGEND FOR THE CABINET CHART SPANS */
span.black-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #000;
  border-radius: 50%;
  margin: 0px 3px;
}
span.dotted-line {
  display: inline-block;
  border:none;
  border-top: dotted #000;
  color:#fff;
  background-color:#fff;
  height:4px;
  width:20px;
  margin: 0px 3px;
}
span.red-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  box-shadow: 0px 0px 0px 1px #000;
  background-color: #fa0033;
  border-radius: 50%;
  margin: 0px 3px;
}
span.grey-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
}
span.grey-line {
  display: inline-block;
  border:none;
  border-top: dotted #ccc;
  color:#fff;
  background-color:#fff;
  height:4px;
  width:20px;
}
span.grey-fam {
  margin: 0px 3px;
  white-space: nowrap;
}
#dek-legend {
  margin-bottom: 20px;
}
div.dvz-tooltip {   
  position: absolute;  
  background-color: white;
  border: 1px solid #ccc;
  box-shadow: 0 2px 2px #ccc;
  color: black;  
  width: 150px;     
  text-align: left;
  font-family: BWHaasText, Helvetica, sans-serif;                       
  min-height: inherit;                  
  padding: 2px;             
  font-size: 14px;
  line-height: 16px;         
  pointer-events: none; 
  z-index: 9999; 
  display: none;
  padding: 5px;
  transform: translate(-50%, -110%);
} 
div.dvz-tooltip span{ 
  font-weight: bold;
 } 

svg {
  overflow: hidden;
}