
.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}


svg {
	display: block;
	margin: 0px;
	padding: 0px;
	height: 90%;
	width: 90%; 
	background-color: white;
}

/*#database-graph-1 svg:nth-child(1){
	width: 350px;
	height: 350px;	
	margin-left: 80px;
	margin-top: -25px;
	box-shadow: 5px 5px 5px #bbbbbb;
}

#tweet-graph-1 svg:nth-child(1){
	width: 350px;
	height: 350px;
	margin-left: -400px;
	margin-top: -25px;
	box-shadow: 5px 5px 5px #bbbbbb;
}

#cve-graph-1 svg:nth-child(1){
	width: 360px;
	height: 350px;	
	margin-left: 50px;
	margin-top: -25px;
	box-shadow: 5px 5px 5px #bbbbbb;
}

#cve-graph-2 svg:nth-child(1){
	width: 350px;
	height: 350px;
	margin-left: 50px;
    box-shadow: 5px 5px 5px #bbbbbb;
}

#CVSS-description{
	margin-top: -360px;
}

#exploit-graph-1 svg:nth-child(1){
	width: 350px;
	height: 350px;
	margin-left: 70px;
	padding: 5px;
	box-shadow: 5px 5px 5px #aaaaaa;
}

#exploit-graph-2 svg:nth-child(1){
	width: 360px;
	height: 350px;
	margin-left: 30px;
	box-shadow: 5px 5px 5px #bbbbbb;
}

#spam-graph-1 svg:nth-child(1){
	width: 360px;
	height: 350px;
	margin-left: 60px;
	margin-top: -20px;
	box-shadow: 5px 5px 5px #bbbbbb;
}

#spam-graph-2 svg:nth-child(1){
	width: 420px;
	height: 350px;
	margin-left: 20px;
	box-shadow: 5px 5px 5px #bbbbbb;
}

 */

/******************* START TIMELINE ****************/

.cd-container {
  width: 100%;
  margin: 0 auto;
  background: #e1e1e1;
  padding: 0 10%;
  border-radius: 2px;
  text-align: justify;
}
.cd-container::after {
  content: '';
  display: table;
  clear: both;
}

/* -------------------------------- 

Main components 

-------------------------------- */


#cd-timeline {
  position: relative;
  padding: 2em 0;
  margin-top: 2em;
  margin-bottom: 2em;
}
#cd-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 25px;
  height: 100%;
  width: 4px;
  background: #ff2102;
}

@media only screen and (min-width: 1170px) {
  #cd-timeline {
    margin-top: 3em;
    margin-bottom: 3em;
  }
  #cd-timeline::before {
    left: 50%;
    margin-left: -2px;
  }
}

.cd-timeline-block {
  position: relative;
  margin: 2em 0;
  display: flex;
  justify-content: space-between;
}
.cd-timeline-block:after {
  content: "";
  display: table;
  clear: both;
}
.cd-timeline-block:first-child {
  margin-top: 0;
}
.cd-timeline-block:last-child {
  margin-bottom: 0;
}
@media only screen and (min-width: 1170px) {
  .cd-timeline-block {
    margin: 4em 0;
  }
  .cd-timeline-block:first-child {
    margin-top: 0;
  }
  .cd-timeline-block:last-child {
    margin-bottom: 0;
  }
}

.cd-timeline-img {
  position: absolute;
  top: 8px;
  left: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #ff2102, inset 0 2px 0 rgba(0, 0, 0, 0.08), 0 3px 0 4px rgba(0, 0, 0, 0.05);
}
.cd-timeline-img {
  background: white;
}
@media only screen and (max-width: 1170px) {
  .cd-timeline-block, .container-timeline{
    flex-direction: column;
  }

  .image-graph-timeline{
    align-self: center !important;
    left: 0 !important;
    margin-bottom: 2em !important;
  }

  .container-timeline.col-11, .col-1{
    width: 100%;
    align-self: center;
  }

  .cd-timeline-block .col-1{
    display: flex;
    justify-content: center;
    z-index: 12;
  }

  .cd-timeline-block .col-1 .cd-date{
    margin-left: 0 !important;
    position: relative;
    transform: rotate(0deg) !important;
    top: -1em;
  }

  .cd-timeline-content{
    top: -2.5em !important;
    left: -0.5em !important;
    margin-left: 0;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-timeline-img {
    width: 30px;
    height: 30px;
    left: 50%;
    margin-left: -15px;
    margin-top: 15px;
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
  }

}

.container-timeline{
  display: flex;
}

.image-graph-timeline{
  margin: 0.5em;
  left: 2em;
  min-width: 31em;
  min-height: 27em;
  position: relative;
}

.cd-timeline-content {
  top: 0.5em;
  right: 2.2em;
  position: relative;
  margin-left: 60px;
  margin-right: 30px;
  background: #333C42;
  border-radius: 2px;
  padding: 1em;
  .timeline-content-info {
    background: #2B343A;
    padding: 5px 10px;
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    box-shadow:  inset 0 2px 0 rgba(0, 0, 0, 0.08);
    border-radius: 2px;
    i {
      margin-right: 5px;
    }
    .timeline-content-info-title, .timeline-content-info-date {  
      width: calc(50% - 2px);
      display: inline-block;
    }
    @media (max-width: 500px) {
      .timeline-content-info-title, .timeline-content-info-date {  
        display: block;
        width:100%;
      } 
    }
  }
  .content-skills {
    font-size: 12px;
    padding:0;
    margin-bottom: 0;
    display:flex;
    flex-wrap: wrap;
    justify-content: center;
    li {
      background: #40484D;
      border-radius: 2px;
      display: inline-block;
      padding: 2px 10px;
      color: rgba(255,255,255,0.7);
      margin: 3px 2px;
      text-align: center;
      flex-grow: 1;
    }
  }
}
.cd-timeline-content:after {
  content: "";
  display: table;
  clear: both;
}
.cd-timeline-content h2 {
  color: rgba(255,255,255,.9);
  margin-top:0;
  margin-bottom: 5px;
}
.cd-timeline-content p, .cd-timeline-content .cd-date {
  color: rgba(255,255,255,.7);
  font-size: 13px;
  font-size: 0.8125rem;
}

.cd-date{
  position: absolute;
  font-weight: bold;
  font-size: 15px;
  background-color: #FFFF66;
  padding: 7px 15px 7px 15px;
}

.cd-timeline-content .cd-date {
  display: inline-block;
}
.cd-timeline-content p {
  margin: 1em 0;
  line-height: 1.6;
}

.cd-timeline-content::before {
  content: '';
  position: absolute;
  top: 16px;
  right: 100%;
  height: 0;
  width: 0;
  border: 7px solid transparent;
  border-right: 7px solid #333C42;
}

@media only screen and (min-width: 768px) {
  .cd-timeline-content h2 {
    font-size: 20px;
    font-size: 1.25rem;
  }
  .cd-timeline-content p {
    font-size: 16px;
    font-size: 1rem;
  }
  .cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
    font-size: 14px;
    font-size: 0.875rem;
  }
}
@media only screen and (min-width: 1170px) {

  .cd-timeline-content {
    color: white;
    margin-left: 25px;
    padding: 1.6em;
    width: 36%;
  }
  .cd-timeline-content::before {
    top: 24px;
    left: 100%;
    border-color: transparent;
    border-left-color: #333C42;
  }
  .cd-timeline-content .cd-date {
    position: absolute;
    width: 100%;
    left: 122%;
    top: 6px;
    font-size: 16px;
    font-size: 1rem;
  }

}

/***************** END TIMELINE *********************/

