.node {
	stroke-width: 1.5px;
}

.node.highlighted {
  fill: #99e08a !important;
    stroke: #629554 !important;
}

.link {
	stroke: #999;
	stroke-opacity: .8;
}

/* For plotting author publications */
.plotline {
  fill: rgba(187, 70, 24, 0.51);
  stroke: #ad4116;
  stroke-width: 2px;
}

.plotpoint {
    fill: #ad4116;
    stroke: rgba(0, 0, 0, 0);
    stroke-width: 8px;
}

.plotdot {
    fill: #ad4116;
}

.plotindicator {
    stroke: #ad4116;
    stroke-width: 1px;
}

g.plot-container:hover {
    cursor: pointer;
}

.tooltip {
	box-sizing: border-box;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	max-width: 200px;
	padding: 6px;
	background-color: #444;
	color: #EEE;
	position: absolute;
}

.tooltip:after {
	box-sizing: border-box;
	display: inline;
	font-size: 20px;
	width: 100%;
	line-height: 1;
	color: #444;
	content: "\25BC";
	position: absolute;
	bottom: -16px;
	left: 0;
	text-align: center;
}

.tooltip.bot:after {
	bottom: auto;
	top: -16px;
	content: "\25B2";
}

.overlay {
  fill: none;
  pointer-events: all;
}

.play, .pause {
    padding: 6px 12px !important;
}

#play {
    width: 67px;
}

pre {
	margin: 0;
	padding: 0;	
}

#main-svg {
	border: 1px solid #000;	
}

#top-bar {
    width: 1200px;
}

#top-bar .help {
    float: right;
    font-size: 16px;
    margin: 0 0 5px;
    padding: 4px 12px;
}

#input-wrapper {
	width: 1200px;
	margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
}

#input-container {
	width: 100%;
	display: block;	
	padding: 14px 6px 0;
	margin: 0 auto;
}

#admin-container {
	width: 1000px;
	margin: 20px auto;
}

#year-input {
	width: 850px;
}

#year-display {
    margin: 0 6px;
    font-size: 17px;
}

/*
 * SVG Text
 */

#main-svg text {
  font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
  font-size: 30px;
}

#main-svg text.centered {
  text-anchor: middle;
}

#main-svg text.publications {
  fill: #666;
}

#main-svg text.publications.side {
  font-size: 18px;
}

#main-svg #publications-abo-value {
  text-anchor: end;
}

#main-svg #publications-utu-value {
  text-anchor: start;
}

#main-svg #publications-total-title {
  font-size: 18px;
}

#main-svg #publications-total-value {
  font-weight: bold;
}

#main-svg #publications-total-label {
  font-size: 14px;
}

#main-svg .year {
	text-anchor: end;
	font-weight: normal;
    font-size: 34px;
    fill: #777;
}

#main-svg #toggle-plot-down-text, #main-svg #toggle-plot-up-text {
    text-anchor: middle;
    font-size: 16px;
    font-weight: bold;
}

#main-svg text.scale {
    font-size: 16px;
    text-anchor: left;
    stroke: #DDD;
    stroke-width: 1px;
    paint-order: stroke;
}

/*
 * Link Labels
 */
#main-svg text.link-label {
    text-anchor: middle;
    font-weight: bold;
    alignment-baseline: central;
    fill: rgb(130,130,130) !important;
}

#main-svg #link-label-abo, #main-svg #link-label-utu {
    font-size: 40px;
}

#main-svg #link-label-all {
    font-size: 60px;
}

#main-svg text.info {
    text-anchor: middle;
    alignment-baseline: central;
    fill: rgb(130,130,130);
    font-size: 28px;
}

/*
 *
 */

input[type=range].input-range {
  -webkit-appearance: none;
  width: 100%;
  margin: 9px 0;
}
input[type=range].input-range:focus {
  outline: none;
}
input[type=range].input-range::-webkit-slider-runnable-track {
  width: 100%;
  height: 12px;
  cursor: pointer;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3), 0 0 1px rgba(13, 13, 13, 0.3);
  background: #1892cc;
  border-radius: 25px;
  border: 0 solid #010101;
}
input[type=range].input-range::-webkit-slider-thumb {
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3), 0 0 2px rgba(13, 13, 13, 0.3);
  border: 1px solid #000000;
  height: 26px;
  width: 26px;
  border-radius: 26px;
  background: #ffffff;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -7px;
}
input[type=range].input-range:focus::-webkit-slider-runnable-track {
  background: #1ba2e3;
}
input[type=range].input-range::-moz-range-track {
  width: 100%;
  height: 12px;
  cursor: pointer;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3), 0 0 1px rgba(13, 13, 13, 0.3);
  background: #1892cc;
  border-radius: 25px;
  border: 0 solid #010101;
}
input[type=range].input-range::-moz-range-thumb {
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3), 0 0 2px rgba(13, 13, 13, 0.3);
  border: 1px solid #000000;
  height: 26px;
  width: 26px;
  border-radius: 26px;
  background: #ffffff;
  cursor: pointer;
}
input[type=range].input-range::-ms-track {
  width: 100%;
  height: 12px;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  color: transparent;
}
input[type=range].input-range::-ms-fill-lower {
  background: #1582b5;
  border: 0 solid #010101;
  border-radius: 50px;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3), 0 0 1px rgba(13, 13, 13, 0.3);
}
input[type=range].input-range::-ms-fill-upper {
  background: #1892cc;
  border: 0 solid #010101;
  border-radius: 50px;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3), 0 0 1px rgba(13, 13, 13, 0.3);
}
input[type=range].input-range::-ms-thumb {
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3), 0 0 2px rgba(13, 13, 13, 0.3);
  border: 1px solid #000000;
  width: 26px;
  border-radius: 26px;
  background: #ffffff;
  cursor: pointer;
  height: 12px;
}
input[type=range].input-range:focus::-ms-fill-lower {
  background: #1892cc;
}
input[type=range].input-range:focus::-ms-fill-upper {
  background: #1ba2e3;
}

/*
 * Checkbox style
 */

input[type=checkbox].css-checkbox {
  position:absolute; z-index:-1000; left:-1000px; overflow: hidden; clip: rect(0 0 0 0); height:1px; width:1px; margin:-1px; padding:0; border:0;
}
input[type=checkbox].css-checkbox + label.css-label {
  padding-left:26px;
  height:20px; 
  display:inline-block;
  line-height:20px;
  background-repeat:no-repeat;
  background-position: 0 0;
  font-size:16px;
  vertical-align:middle;
  cursor:pointer;
  margin-top: 10px;
}
input[type=checkbox].css-checkbox:checked + label.css-label {
  background-position: 0 -20px;
}
label.css-label {
  background-image:url(checkbox.png);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.right {
  clear: both;
  float: right;
}

circle.match {
  fill: #E67 !important;
    stroke: #9a4d4d !important;
}

input.match {
  background-color: #ace7ff;
}

#search-field {
    height: 30px;
    font-size: 15px;
    padding: 2px;
}

#search-field-suggestions {
  position: absolute;
  border: 1px solid #666;
  padding: 1px;
  display: none;
  background-color: #FFF;
}

#search-field-suggestions li {
  list-style-type: none;
  cursor: pointer;
    height: 20px;
    padding: 6px 6px 2px 6px;
}

#search-field-suggestions li.highlighted, #search-field-suggestions li:hover {
  background-color: #1892cc;
}

/*
 * Group by button group
 */

input.group-left, input.group-middle, input.group-right, .blue-button {
    margin: 15px 0;
    background-color: #1892cc;
    -moz-box-shadow: 0 1px 0 0 #f0f7fa;
    -webkit-box-shadow: 0 1px 0 0 #f0f7fa;
    box-shadow: 0 1px 0 0 #f0f7fa;
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #34aced), color-stop(1, #3c76b5));
    background:-moz-linear-gradient(top, #34aced 5%, #3c76b5 100%);
    background:-webkit-linear-gradient(top, #34aced 5%, #3c76b5 100%);
    background:-o-linear-gradient(top, #34aced 5%, #3c76b5 100%);
    background:-ms-linear-gradient(top, #34aced 5%, #3c76b5 100%);
    background:linear-gradient(to bottom, #34aced 5%, #3c76b5 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#34aced', endColorstr='#3c76b5',GradientType=0);
    background-color:#34aced;
    border:1px solid #057fd0;
    display:inline-block;
    font-family: Arial, sans-serif;
    cursor:pointer;
    color:#ffffff;
    font-size:15px;
    font-weight:bold;
    padding:6px 24px;
    text-decoration:none;
    text-shadow:0 -1px 0 #5b6178;
}

input.group-left:hover, input.group-middle:hover, input.group-right:hover, .blue-button:hover, input.group-left.active, input.group-middle.active, input.group-right.active {
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #5997d9), color-stop(1, #61c8ff));
    background:-moz-linear-gradient(top, #5997d9 5%, #61c8ff 100%);
    background:-webkit-linear-gradient(top, #5997d9 5%, #61c8ff 100%);
    background:-o-linear-gradient(top, #5997d9 5%, #61c8ff 100%);
    background:-ms-linear-gradient(top, #5997d9 5%, #61c8ff 100%);
    background:linear-gradient(to bottom, #5997d9 5%, #61c8ff 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5997d9', endColorstr='#61c8ff',GradientType=0);
    background-color:#5997d9;
}

input.group-left.active:hover, input.group-middle.active:hover, input.group-right.active:hover {
    cursor: default;
}


input.group-left {
    border-left-width: 1px;
    -moz-border-radius:8px 0 0 8px;
    -webkit-border-radius:8px 0 0 8px;
    border-radius:8px 0 0 8px;
}

input.group-right {
    -moz-border-radius:0 8px 8px 0;
    -webkit-border-radius:0 8px 8px 0;
    border-radius:0 8px 8px 0;
}

p.button-desc {
    display: inline-block;
    margin-right: 10px;
    margin-left: 10px;
}

p.button-desc.first {
    margin-left: 0;
}

/*
 * Autocomplete
 */

.ui-autocomplete {
    max-height: 100px;
    max-width: 300px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
    font-size: 14px;
}