@import url("https://fonts.googleapis.com/css?family=Nunito|Nunito+Sans&display=swap");
@import url("https://fonts.googleapis.com/css?family=Raleway:400,700&display=swap");
@import url("./assets/fonts/css/circular-std.css");

@font-face {
  font-family: "CircularStd";
  src: url("./assets/fonts/fonts/CircularStd-Medium.eot");
  src: url("./assets/fonts/fonts/CircularStd-Medium.eot?#iefix")
      format("embedded-opentype"),
    url("./assets/fonts/fonts/CircularStd-Medium.woff") format("woff"),
    url("./assets/fonts/fonts/CircularStd-Medium.ttf") format("truetype"),
    url("./assets/fonts/fonts/CircularStd-Medium.svg#bcc26993292869431e54c666aafa8fcd")
      format("svg");
  font-weight: 200;
  font-style: normal;
}

/* map verticle align start */
/* .verticleAlign{
	position: relative;

} */
.verticleInner {
  position: relative;
  width: 100%;
  height: 100%;
  top: 10vh;
  /* transform: translate(-50%,-50%); */
}

@media (max-width: 768px) {
  .verticleInner {
    top: 0%;
    left: 0%;
    transform: none;
  }
}
@media (min-width: 1150px) {
  .verticleInner {
    top: 5vh;
  }
}
@media (min-width: 1600px) {
  .verticleInner {
    top: 0vh;
  }
}

/* map verticle align end */
/* map start */
.dataInfo {
}
/* map end */
/* map button start  */

.buttons-top {
  width: 100%;
  display: inline-block;
  text-align: center;
  margin: 0 auto;
}

.sideBtn {
  background-color: #3061ac;
  color: white;
  padding: 10px 15px;
  border-radius: 4px;
  font-size: 16px;
  outline: none;
  border: none;
  margin-right: 15px;
}

.btn-selected {
  background-color: #ed185b;
  outline: none;
}

.sideBtn:hover {
  background-color: #3062ac98;
  cursor: pointer;
}

.sideBtn:focus {
  border: solid 2px #ed185b;
}

.nationalImg {
  width: 40vh;
  height: auto;
  background-size: cover;
}

.icon-nationalImg {
  background-image: url("./assets/images/usMap-blue.svg");
}

.icon-nationalImg:focus {
  background-image: url("./assets/images/usMap-pink.svg");
}

.nationalBtn {
  border: none;
  background-color: white;
}

.icon {
  display: inline-block;
  width: 70px;
  height: 70px;
  background-size: cover;
}
.icon-bike {
  background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/3/icon-bike-black.svg);
}
.icon-bike:hover,
.icon-bike:focus {
  background-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/3/icon-bike-red.svg");
}
/* map buttons end */

body {
  margin: 0;
  font-family: "Nunito", sans-serif;
  height: 100vh;
}

svg {
  display: block;
  margin: auto;
}
.state {
  fill: #3061ac;
  stroke: #fff;
  fill-opacity: 1;
}
.state:hover {
  fill-opacity: 0.7;
  cursor: pointer;
}

.selected {
  fill: #ed185b;
}

rect:hover {
  fill-opacity: 0.8;
}

.x-axis {
  font-family: "Nunito", sans-serif;
  font-size: 11px;
}

.tooltip {
  position: absolute;
  margin-top: -20px;
  background: rgba(43, 43, 43, 0.8);
  color: #fff;
  padding: 8px; 
  font: 11px sans-serif;
  border-radius: 2px;
  box-shadow: 0px 6px 5px -4px rgb(0 0 0 / 55%);
  line-height: 17px;
  border: 1px solid #2d2d2d;
  text-align: center;
}

.tooltip bold {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 700;
  font-size: 12px;
}

.tooltip a {
  font-family: "Raleway";
  font-weight: bold;
  display: inline-block;
  position: relative;
  background: #ed185b;
  border: none;
  font-size: 11px;
  color: #ffffff;
  border-radius: 10px;
  padding: 4px 10px;
  text-decoration: none;
  margin-top: 2px;
  transition: .2s ease;
  line-height: 11px;
}

.tooltip a:hover {
  color: #30bbf8;
}

.d3-tip {
  position: absolute;
  text-align: center;
  line-height: 1;
  padding: 12px;
  background: rgba(43, 43, 43, 0.8);
  color: #fff;
  border-radius: 2px;
  font-family: "Nunito Sans", sans-serif;
}

.label {
  text-anchor: " middle";
}

.commitmentVisWrapper {
  animation-duration: 3s !important;
}

/* popup */

.popup {
  display: none;
  text-align: center;
  line-height: 1;
  padding: 12px;
  background: rgba(43, 43, 43, 0.8);
  color: #fff;
  border-radius: 2px;
  font-family: "Nunito Sans", sans-serif;
  width: 20%;
  position: fixed;
  bottom: 25%;
  left: 5%;
  z-index: 1;
}

/* a link colors */
.popA {
  color: #36b8f8 !important;
}
.popA:hover {
  color: #ed185b !important;
}

.popupCloseButton {
  cursor: pointer;
  display: inline-block;
  font-weight: 400;
  position: absolute;
  top: 15px;
  right: -5px;
  font-size: 25px;
  line-height: 30px;
  width: 35px;
  height: 35px;
  text-align: center;
}

.leftright {
  height: 2px;
  width: 25px;
  position: absolute;
  /* margin-top: 24px; */
  background-color: white;
  transform: rotate(45deg);
}

.rightleft {
  height: 2px;
  width: 25px;
  position: absolute;
  /* margin-top: 24px; */
  background-color: white;
  transform: rotate(-45deg);
}

.popupCloseButton:hover .leftright {
  transform: rotate(-45deg);
  background-color: #ed185b;
}
.popupCloseButton:hover .rightleft {
  transform: rotate(45deg);
  background-color: #ed185b;
}

/* popup end */

/* map key legend */

.mapKey {
  text-align: center;
  animation-duration: 4s !important;
  /* animation-delay: 2s; */
  z-index: -1 !important;
}

.card {
  border: none !important;
}
.keyTitle {
  color: #ed185b;
  font-family: "Raleway";
  font-style: normal;
  font-weight: bold;
}
.termTitles {
  color: #3061ac;
  font-family: "Raleway";
  font-style: normal;
  font-weight: 700;
}
p {
  font-family: "raleway", sans-serif;
}

/* bootstrap card stuff */

.card {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
}

.card > hr {
  margin-right: 0;
  margin-left: 0;
}

.card > .list-group:first-child .list-group-item:first-child {
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
}

.card > .list-group:last-child .list-group-item:last-child {
  border-bottom-right-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}

.card-body {
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  min-height: 1px;
  padding: 1.25rem;
}

.card-title {
  margin-bottom: 0.75rem;
}

.card-subtitle {
  margin-top: -0.375rem;
  margin-bottom: 0;
}

.card-text:last-child {
  margin-bottom: 0;
}

.card-link:hover {
  text-decoration: none;
}

.card-link + .card-link {
  margin-left: 1.25rem;
}

.card-header {
  padding: 0.75rem 1.25rem;
  margin-bottom: 0;
  background-color: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.card-header:first-child {
  border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}

.card-header + .list-group .list-group-item:first-child {
  border-top: 0;
}

.card-footer {
  padding: 0.75rem 1.25rem;
  background-color: rgba(0, 0, 0, 0.03);
  border-top: 1px solid rgba(0, 0, 0, 0.125);
}

.card-footer:last-child {
  border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px);
}

.card-header-tabs {
  margin-right: -0.625rem;
  margin-bottom: -0.75rem;
  margin-left: -0.625rem;
  border-bottom: 0;
}

.card-header-pills {
  margin-right: -0.625rem;
  margin-left: -0.625rem;
}

.card-img-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1.25rem;
}

.card-img,
.card-img-top,
.card-img-bottom {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 100%;
}

.card-img,
.card-img-top {
  border-top-left-radius: calc(0.25rem - 1px);
  border-top-right-radius: calc(0.25rem - 1px);
}

.card-img,
.card-img-bottom {
  border-bottom-right-radius: calc(0.25rem - 1px);
  border-bottom-left-radius: calc(0.25rem - 1px);
}

.card-deck .card {
  margin-bottom: 15px;
}

@media (min-width: 576px) {
  .card-deck {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    margin-right: -15px;
    margin-left: -15px;
  }
  .card-deck .card {
    -ms-flex: 1 0 0%;
    flex: 1 0 0%;
    margin-right: 15px;
    margin-bottom: 0;
    margin-left: 15px;
  }
}

.card-group > .card {
  margin-bottom: 15px;
}

@media (min-width: 576px) {
  .card-group {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
  }
  .card-group > .card {
    -ms-flex: 1 0 0%;
    flex: 1 0 0%;
    margin-bottom: 0;
  }
  .card-group > .card + .card {
    margin-left: 0;
    border-left: 0;
  }
  .card-group > .card:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
  .card-group > .card:not(:last-child) .card-img-top,
  .card-group > .card:not(:last-child) .card-header {
    border-top-right-radius: 0;
  }
  .card-group > .card:not(:last-child) .card-img-bottom,
  .card-group > .card:not(:last-child) .card-footer {
    border-bottom-right-radius: 0;
  }
  .card-group > .card:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
  .card-group > .card:not(:first-child) .card-img-top,
  .card-group > .card:not(:first-child) .card-header {
    border-top-left-radius: 0;
  }
  .card-group > .card:not(:first-child) .card-img-bottom,
  .card-group > .card:not(:first-child) .card-footer {
    border-bottom-left-radius: 0;
  }
}

.card-columns .card {
  margin-bottom: 0.75rem;
}

@media (min-width: 576px) {
  .card-columns {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    -webkit-column-gap: 1.25rem;
    -moz-column-gap: 1.25rem;
    column-gap: 1.25rem;
    orphans: 1;
    widows: 1;
  }
  .card-columns .card {
    display: inline-block;
    width: 100%;
  }
}
/* end bootstrap card stuff */

.containerRow {
  width: 100%;
  height: auto;
}
/* end map key */

/* title */
.heading {
  text-align: center;
  font-family: "CircularStd";
  font-weight: 300;
  color: #ed185b;
  font-style: normal;
}

/* sidebar start*/

.titles {
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  width: 80%;
  margin: 0 auto;
  text-align: center;
}

.subtitle {
  display: inline-block;
  text-align: right;
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  width: 50%;
  margin-right: 20px;
}

.programs {
  /* display: inline-block; */
}
.vl {
  display: inline-block;
  border-left: 3px solid grey;
  height: 35px;
  bottom: 10px;
  position: relative;
}
.vl2 {
  display: inline-block;
  border-left: 3px solid grey;
  height: 30px;
  position: relative;
  /* bottom: -5px; */
}
.vl3 {
  display: inline-block;
  border-left: 3px solid grey;
  height: 30px;
  position: relative;
  bottom: 25px;
}

.numbersP {
  display: inline-block;
  line-height: 20px;
  font-size: 35px;
  font-weight: 500;
  line-height: 32px;
  margin: 5px !important;
  position: relative;
  bottom: 10px !important;
  /* padding: 0px !important; */
  text-align: center;
  color: #ed185b;
  width: 20%;
}
.stateTitle {
  font-size: 32px;
  font-weight: 600;
  line-height: 32px;
  margin: 5px !important;
  padding: 5px !important;
  text-align: center;
  color: #2a5697;
}

.numbers {
  line-height: 20px;
  font-size: 35px;
  font-weight: 500;
  line-height: 32px;
  margin: 5px !important;
  padding: 0px !important;
  text-align: center;
  color: #ed185b;
}

.subtitleS {
  display: inline-block;
  text-align: right;
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  width: 50%;
  margin-right: 20px;
  margin-bottom: 0px;
  margin-top: 0px;
  position: relative;
  bottom: 14px !important;
}

.barStyle {
  margin: 0 auto;
}

.centerVert {
  margin: 0 auto;
  width: 87%;
}
.panelColor {
  background-color: #fdf0d1;
  top: 20px;
}

.titleGraph {
  font-size: 20px;
  font-weight: 600;
  line-height: 20px;
  width: 80%;
  margin: 0 auto;
  text-align: center;
}

.footnote {
  font-size: 11px;
  line-height: 12px;
  margin: 5px;
}

.spacer {
  height: 15px;
  width: 100%;
}
/* sidebar end */

/* sidebar buttons start */
.buttons-panel {
  height: 6vh;
}
.elementaryBtnCss {
  background-color: #fdf0d1;
  display: block;
  text-align: left;
  height: 6vh;
  float: left;
  width: 50%;
  border: none;
  border-top-right-radius: 4vh;
  transition: transform 0.5s ease-in-out;
}

.specializedBtnCss {
  background-color: #fdf0d1;
  display: block;
  text-align: left;
  height: 6vh;
  float: left;
  width: 50%;
  border: none;
  border-top-right-radius: 4vh;
  transition: transform 0.5s ease-in-out;
}

.specializedBtnCss:hover {
  background-image: linear-gradient(to bottom, #e7c981, 10%, #fdf0d1);
}

.elementaryBtnCss:hover {
  background-image: linear-gradient(to bottom, #e7c981, 10%, #fdf0d1);
}

.backgroundTab {
  color: grey;
  background-image: linear-gradient(to top right, #e7c981, 40%, #fdf0d1);
}

/* sidebar buttons end */
