.timeline {
  list-style: none;
  padding: 20px 0 20px;
  position: relative;
}
.timeline:before {
  top: 0;
  bottom: 0;
  position: absolute;
  content: " ";
  width: 3px;
  background-color: #eeeeee;
  left: 50%;
  margin-left: -1.5px;
}
.timeline > li {
  margin-bottom: 20px;
  position: relative;
}
.timeline > li:before,
.timeline > li:after {
  content: " ";
  display: table;
}
.timeline > li:after {
  clear: both;
}
.timeline > li:before,
.timeline > li:after {
  content: " ";
  display: table;
}
.timeline > li:after {
  clear: both;
}
.timeline > li > .timeline-panel {
  width: 46%;
  float: left;
  border: 1px solid #d4d4d4;
  border-radius: 2px;
  padding: 20px;
  position: relative;
  -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}
.timeline > li > .timeline-panel:before {
  position: absolute;
  top: 26px;
  right: -15px;
  display: inline-block;
  border-top: 15px solid transparent;
  border-left: 15px solid #ccc;
  border-right: 0 solid #ccc;
  border-bottom: 15px solid transparent;
  content: " ";
}
.timeline > li > .timeline-panel:after {
  position: absolute;
  top: 27px;
  right: -14px;
  display: inline-block;
  border-top: 14px solid transparent;
  border-left: 14px solid #fff;
  border-right: 0 solid #fff;
  border-bottom: 14px solid transparent;
  content: " ";
}
.timeline > li > .timeline-badge {
  color: #fff;
  width: 25px;
  height: 25px;
  line-height: 50px;
  font-size: 1.4em;
  text-align: center;
  position: absolute;
  top: 30px;
  left: 50%;
  margin-left: -12.5px;
  background-color: #999999;
  z-index: 100;
  border-top-right-radius: 50%;
  border-top-left-radius: 50%;
  border-bottom-right-radius: 50%;
  border-bottom-left-radius: 50%;
}
.timeline > li.timeline-inverted > .timeline-panel {
  float: right;
}
.timeline > li.timeline-inverted > .timeline-panel:before {
  border-left-width: 0;
  border-right-width: 15px;
  left: -15px;
  right: auto;
}
.timeline > li.timeline-inverted > .timeline-panel:after {
  border-left-width: 0;
  border-right-width: 14px;
  left: -14px;
  right: auto;
}
.timeline-badge.primary {
  background-color: #2C79D1 !important;
}
.timeline-badge.success {
  background-color: #3f903f !important;
}
.timeline-badge.warning {
  background-color: #f0ad4e !important;
}
.timeline-badge.danger {
  background-color: #d9534f !important;
}
.timeline-badge.info {
  background-color: #5bc0de !important;
}
.timeline-title {
  margin-top: 0;
  color: #2C79D1;
  font-weight: bold;
}

.timeline-body{
  margin-top: -1rem;
}

.timeline-body > p,
.timeline-body > ul {
  margin-bottom: 0;
}
.timeline-body > p + p {
  margin-top: 0px;
}

.location{
  font-weight:500;
  color:#2C79D1;
}
.time-span{
  font-size:1rem;
  color:gray;
}


#head_photo{
  width: 150px;
  border-radius: 200px;
}

#two p{
  font-size: 2em
}

.name_box{
  position: relative;
}

#top_name{
  opacity: 0;
  font-size: 1.5em;
  position: absolute;
  text-align:right;
  right: 0;
}
#mid_name1{
  opacity: 0;
  font-size: 1.5em;
  position: absolute;
  text-align:right;
  right: 0;
}
#mid_name2{
  opacity: 0;
  font-size: 1.5em;
  position: absolute;
  text-align:right;
  right: 0;
}
#bottom_name{
  opacity: 0;
  font-size: 1.5em;
  position: absolute;
  text-align: right;
  right: 0;
} 

#one img{
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  display:block;
  margin:auto;
}

#two img{
  width: 60%;
  display:block;
  margin:auto;
}

#two h3{
  margin-top: 1.5rem;
  font-size:2rem;
  text-align: center;
}

#two p{
  font-size:1rem;
  text-align: center;
}


/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.3); /* Black w/ opacity */
}

@keyframes popup {
  0%{
    transform: scale(0);
  }
  100%{
    transform: scale(1);
  }
}

/* Modal Content/Box */
.modal-content {
  animation: popup 0.7s;
  background-color: #fefefe;
  margin: 10% auto; /* 15% from the top and centered */
  margin-top:3%;
  padding: 20px;
  border: 1px solid #2C79D1;
  border-radius: 20px;
  width: 50%; /* Could be more or less, depending on screen size */
}
.modal-content img{
  width: 100%;
  margin-bottom: 1%;
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

#CV {
  text-align:center;
  height: 80%;
}
#CV a{
  border: 1px solid #2d8fff;
  font-weight: bold;
  color:#2C79D1;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, .3);
  border-radius: 10px;
  padding: 10px 20px 10px 20px;
  
}