
body{
  background: white;
  min-width: 370px;
  letter-spacing: 1.2px;
  font-family: 'PT Serif', serif;
  font-weight: 400;
  font-size: 10px;
}

#intro{
  width: 400px;
}

h1{
  font-family: 'PT Serif', serif;
  font-weight: 400;
  font-size: 2.5rem;
}

p{
  font-size: 1.5em;
  line-height: 1.6;
}

.select2-container {
    width: 150px !important;
    height: 35px;
}

.button {
  font-family: 'PT Serif', serif;
  border: 0;
  border-radius: 5px;
  height: 32px;
  font-size: 12px;
  background-color: #ddd;
  color: #000;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  -webkit-appearance: none;
  -webkit-font-smoothing: antialiased;
  outline: none;
}

.button:hover {
  opacity: 0.5;
}

#content{
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  /*max-width: 1200px;
  margin:0 auto;*/
}

#stateSearch{
  display: block;
  height: 50px;
  padding: 20px;
  /*width: 100%;*/
}

/* ----------------- VISUALIZATIONS ------------------- */

#viz svg {
  font-family: 'PT Serif', serif;
  /*position: fixed;*/
  height: 800px;
  /*width: 1000px;*/
  float: left;
/*  top: 100px;
  left: 200px;*/
}

#stateName{
  font-family: 'PT Serif', serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: capitalize;
}

.nodeCircles{
  fill: rgba(0,0,0,.8);
  stroke: white;
  stroke-width: .8;
  cursor: pointer;
}

.nodeCircles:hover{
  fill: #F5A503;
}

.networkInter{
  stroke-linecap: round;
  fill: none;
  /*stroke: #F5A503;*/ /* orange */
}

.networkLocal{
  stroke-linecap: round;
  fill: none;
  /*stroke: #3671D9; /* blue */
}

.sourceInterHover{
  stroke-linecap: round;
  fill: none;
  stroke: #43BF5A; /* green */
  opacity: 1;
}

.targetInterHover{
  stroke-linecap: round;
  fill: none;
  stroke: #F23648; /* red */
  opacity: 1;
}

.sourceLocalHover{
  stroke-linecap: round;
  fill: none;
  stroke: #43BF5A; /* green */
  opacity: 1;
}

.targetLocalHover{
  stroke-linecap: round;
  fill: none;
  stroke: #F23648; /* red */
  opacity: 1;
}
.sourceLocalNodes,.targetLocalNodes,.sourceInterNodes,.targetInterNodes{
  cursor: pointer;
  stroke: white;
  stroke-width: 1;
}

.nodeHover{
  font-size: 10px;
  text-shadow:
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 1px 0 #fff,
    1px 1px 0 #fff;
}
.nodeInfos{
  font-size: 10px;
  text-shadow:
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 1px 0 #fff,
    1px 1px 0 #fff;
}
.nodeName{
  font-size: 10px;
}

#xAxisText{
  font-size: 10px;
  cursor: pointer;
}
#xAxisText:hover{
  text-decoration: underline;
}

#xAxisBars{
  cursor: pointer;
  fill: rgba(0,0,0,.1);
  ry: 2px;
}

.axis path{
  fill: none;
  stroke: none;
}
.axis line {
  fill: black;
  stroke: black;
  shape-rendering: crispEdges;
  stroke-width: .5px;
  opacity: .3;
  stroke-dasharray: 1, 3;
}
.axis text{
  font-size: 10px;
}

#xAxisLine{
  fill: black;
  stroke: black;
  shape-rendering: crispEdges;
  stroke-width: .5px;
  opacity: .3;
  stroke-dasharray: 1, 3;
}

.axisLabel{
  font-weight: 700;
}
.clickBars{
  fill: none;
  ry: 2px;
}
.xAxisInterSource, .xAxisLocalSource{
  /*stroke: #43BF5A;*/
}
.xAxisInterTarget, .xAxisLocalTarget{
  /*stroke: #F23648;*/
}

.nodeSourceLocal, .nodeSourceInter{
  fill: #43BF5A;
}
.nodeTargetLocal, .nodeTargetInter{
  fill: #F23648;
}