/*colors
#918457 - olive
#930b3d - purple
#f7a92d - orange
#346087 - blue

*/
.head_title{
    position: absolute;
    text-align: center;
    top: 40px;
    width: 100%;
    z-index: 1;
}
/*my grid-lines*/
#timeline {
  position: relative;    
  width: 100%;
  height: 600px;
  overflow: auto;
  margin:2px;
  /*z-index:-1;*/
}

.line_decade {
  position:absolute;
  border-left: 1px dashed #918457;
  height: 500px;
}

.line_cent {
  position:absolute;
  border-left: 1px solid #918457;
  height: 540px;
}

.year {
    position: absolute;
   top: 550px;
    color: #918457;
    font-size: 14px;
    /*left: 20px;*/
    text-align: center;
    width: 20px;
}


/* my dots*/
.item-history{
    color: #918457;
    font-size: 14px;
    position: absolute;
     text-align: center;
    width: 20px;
    
} 
.dot-history{
    background:  #918457;
    border: 1px solid #918457; 
    height: 10px;
    width: 10px;
    border-radius: 50%;
    position: absolute;
     top:20px;
    
}

.item-university{
    background: #930b3d;
    border: 3px solid #f7a92d;   
    height: 35px;
    width: 10px;
    border-radius: 10%;
    position: absolute;
    transition: box-shadow .2s,background .2s,border-color .2s,max-width .4s;
    transform: translate(-5px, -10%);
     z-index: 3;
}
.line-university{
    background: #930b3d;
    height: 25px;
    position: absolute;
   /* transform: translate(10px, 50%);
    transition: box-shadow .2s,background .2s,border-color .2s,max-width .4s;*/
}
.name-university{
    color: #fff;
    font-size: 14px;
   
    height: 20px;
    position: absolute;
   /* transform: translate(10px, 50%);
    transition: box-shadow .2s,background .2s,border-color .2s,max-width .4s;*/
    
}

.item-lviv-history{
    background: #930b3d;
    border: 1px solid #cd0e66;   
    color: #fff;
    cursor: pointer;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    position: absolute;
    transition: box-shadow .2s,background .2s,border-color .2s,max-width .4s;
    
}
.item-lviv-maths {
    background: #f7a92d;
    border: 1px solid #ffaa22;
  
    color: #fff;
    cursor: pointer;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    position: absolute;
    transition: box-shadow .2s,background .2s,border-color .2s,max-width .4s;
    
}
.item-maths{
    background: #346087;
    border: 1px solid #335588;
   
    color: #fff;
    cursor: pointer;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    position: absolute;
    transition: box-shadow .2s,background .2s,border-color .2s,max-width .4s;
    
}



.timeline-row {
    left: 0;
    position: absolute;
}
#history{
    top:1px;
}
#university{
    top:45px;
}
#politech{
    top:85px;
}
#ntsh{
    top:125px;
}
#lviv-maths{
    bottom:100px;
}
#maths{
    bottom:100px;
}
#persons-1 {
    top: 170px;
}
#persons-2 {
    top: 210px;
}
#persons-3 {
    top: 250px;
}
#persons-4 {
    top: 290px;
}
#persons-5 {
    top: 330px;
}
#persons-6 {
    top: 370px;
}
#persons-7 {
    top: 410px;
}
/* w3-school*/


.tooltiptext {
  visibility: hidden;
  background-color: lightgray;
  color: #000;
  text-align: center;
  border-radius: 6px;
  padding: 3px;
 z-index: 3;
 cursor: pointer;
  /* Position the tooltip */
  position: absolute;
 
}
.tooltipline {
  visibility: hidden;
  background-color: lightgray;
  color: #000;
  text-align: center;
  border-radius: 6px;
  padding: 3px;
 
  /* Position the tooltip */
  position: absolute;
 z-index: 5;
}
.tooltip:hover .tooltiptext {
  visibility: visible; 
  transform: translate(20px, -5px);
   
}
.tooltip:hover .tooltipline {
  visibility: visible; 
  transform: translate(5px, 25px);
   
}
.tooltiptextmath {
  visibility: hidden;
  background-color: lightgray;
  color: #000;
  text-align: center;
  border-radius: 6px;
  padding: 3px;
 z-index: 3;
 cursor: pointer;
  /* Position the tooltip */
  position: absolute;
 
}
.tooltiplinemath {
  visibility: hidden;
  background-color: lightgray;
  color: #000;
  text-align: center;
  border-radius: 6px;
  padding: 3px;
 
  /* Position the tooltip */
  position: absolute;
 z-index: 5;
}
.tooltipmath:hover .tooltiptextmath {
  visibility: visible; 
  transform: translate(20px, -5px);
   
}
.tooltipmath:hover .tooltiplinemath {
  visibility: visible; 
  transform: translate(15px, -95px);
   
}
.mathematician {
  background-color: #f7a92d;
  color: #000;
  text-align: center;
  border-radius: 6px;
  padding: 2px;
 /* z-index: 3;*/
  position: absolute;
  height: 30px;
  cursor: pointer;
}
.bio{
  background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 32px lightgray;
    box-sizing: border-box;
    display: none;
    left: 50%;
    margin: 22px;
    max-height: calc(100vh - 84px);
    max-width: calc(100% - 40px);
    position: fixed;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 520px;
    z-index: 401 !important;
   /* width: 640px;*/
}
/*view persons*/

.person_title{
    position: absolute;
    top: 60px;
    color:#346087;
    text-align: center;
     width: 100%;
    
}
.person_author{
    color:#346087;
    text-align: right;
}