body {
  background: #fff;
  color: #333;
  font-size: 10px;
  font-family: "New York", "Times New Roman";
  margin: 0;
  padding: 0;
}
.wrap {
	width:100%;
	height: 100%;
	overflow: auto;
}
text {
  fill: #333;
}
text.book-title {
  font-size: 1.5em;
  font-weight: bold;
  fill: #333;
  cursor: pointer;
}
text.book-year {
  font-size: 0.8em;
  font-weight: bold;
  fill: #333;
}
text.hero-name {
  font-size: 1.3em;
}
text.hero-year {
  font-size: 0.8em;
}
text.hero-description {
  font-size: 1em;
}

text.book-title:hover {
  fill: #5600cc;
}
textPath {font-size: 10em;fill:#e1e1e1;}
rect {
  fill: #fff998;
  fill-opacity: 0.3;
  stroke: #000;
  stroke-width: 0.5;
}
rect.no-fill {
  fill: none;
}

line {
  stroke: #ccc;
  stroke-width: 1;
}
line.years {
  stroke: #efefef;
  stroke-width: 1;
}
line.connection {
  stroke: #000;
  stroke-width: 1;
}

path {
  fill: none;
  stroke: #ccc;
  stroke-width: 2;
}
.t-bold {font-weight: bold;}
.t-center {text-align: center;}

.overlay {
   opacity: 0;
   visibility: hidden;
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, .5);
   z-index: 20;
   transition: .3s all;
}
.modal {
   opacity: 0;
   visibility: hidden;
   width: 90%;
   max-width: 500px;
   height: 90%;
   position: fixed;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   z-index: 30;
   box-shadow: 0 3px 10px -.5px rgba(0, 0, 0, .2); 
   text-align: left;
   border-radius: 5px;
   background-color: #fff;
   transition: 0.3s all;
   font-size: 1.5em;
}

.modal-over {
    overflow: auto;
    max-height: 90%;
}

.pad-15 {padding: 15px;}
.mar-15-tb {margin: 15px 0;}
.modal.active, .overlay.active{
   opacity: 1;
   visibility: visible;
}
.modal_cross {
    width: 15px;
    height: 15px;
    position: absolute;
    top: 10px;
    right: 17px;
    fill: #f00;
    cursor: pointer;
    background: #fff;
    padding: 5px;
}
.modal_title {font-size: 1.5em;}
