.cd-header {
	width: 225px;
    text-align: center;
    display: block;
	margin:0px;
	border:3px solid #5c94b9;
      border-radius: 8px;
	  -moz-border-radius:8px;  /* for Firefox */
	  -webkit-border-radius:8px; /* for Webkit-Browsers */
	
}
.cd-header h1{
margin-bottom:0px;
}
.cd-container {
  width: 90%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 10%;
  border-radius: 2px;
}
.cd-container::after {
  content: '';
  display: table;
  clear: both;
}
  .content-skills {
    font-size: 12px;
    padding:0;
    margin-bottom: 0;
    display:flex;
    flex-wrap: wrap;
    justify-content: center;
	clear:both;
  }
   .content-skills  li {
      background: #40484D;
      border-radius: 8px;
	  -moz-border-radius:8px;  /* for Firefox */
	  -webkit-border-radius:8px; /* for Webkit-Browsers */

      display: inline-block;
      padding: 2px 10px;
      color: rgba(255,255,255,0.7);
      margin: 3px 2px;
      text-align: center;
      flex-grow: 1;
    }
/* -------------------------------- 

Main components 

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


#cd-timeline {
  position: relative;
  padding: 2em 0;
}
@media only screen and (max-width: 1169px) {
#cd-timeline {
  margin-right: 0px;
}
}
#cd-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 25px;
  height: 100%;
  width: 4px;
  background: #5c94b9;
}
@media only screen and (min-width: 1170px) {
  #cd-timeline {
  }
  #cd-timeline::before {
    left: 50%;
  }
}

.cd-timeline-block {
  position: relative;
  margin: 2em 0;
  /*top:40px;*/
}
.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: 0;
  }
  .cd-timeline-block:first-of-type {
	top: 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 #5c94b9, inset 0 2px 0 rgba(0, 0, 0, 0.08), 0 3px 0 4px rgba(0, 0, 0, 0.05);
}
.cd-timeline-img {
  background: #4080ae;
}
@media only screen and (min-width: 1170px) {
  .cd-timeline-img {
    width: 30px;
    height: 30px;
    left: 50%;
    margin-left: -15px;
    margin-top: 8px;
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
  }
}

.cd-timeline-content {
  position: relative;
  /* margin-left and margin-right removed to prevent conflict with flexbox centering */
  background: #333C42;
  border-radius: 10px;
  padding: 1em;
  padding-bottom: .5em;
  /* Align content using flexbox */
  display: flex;
  flex-direction: column;
  align-items: center; /* Center horizontally */
  justify-content: center; /* Center vertically */
  text-align: center; /* Center text */
  /* Adjusted width for better centering */
  width: calc(100% - 60px); /* Assuming 60px is the space for the timeline line, adjust this value if needed */
  margin: 0 auto; /* Center the box itself */

  .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;
  font-size: 1.25rem;
  text-align:center;
}
.cd-timeline-content p, .cd-timeline-content .cd-date {
  color: rgba(255,255,255,.7);
  font-size: 13px;
  font-size: 0.8125rem;
}
.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;
}
.cd-timeline-content img {
	margin: 0 auto;
  display: block;
	width:100px;
}
.cd-timeline-block  .cd-date {
    font-size: 14px;
    font-size: 0.875rem;
	right: 135%;
    position: absolute;
    width: 125%;
	text-align:right;
	font-weight:bold;
}

.cd-timeline-content .cd-timeline-link a{
	color:#4080ae;
}

@media only screen and (min-width: 768px) {
  .cd-timeline-content h2 {
	text-align: left;
    font-size: 20px;
    font-size: 1.5rem;
  }
  .cd-timeline-content p {
    font-size: 16px;
    font-size: 0.8rem;
  }
  .cd-timeline-content p:after {
	  clear:both;
  }
  .cd-timeline-content img {
	  float: left;
	  margin:auto;
	  margin-right:10px;
	  max-width: 80%

  }
  .cd-timeline-block  .cd-date {
    font-size: 14px;
    font-size: 0.875rem;
	  right: 125%;
    position: absolute;
    width: 211%;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-timeline-content {
    color: white;
    margin-left: 0;
    padding: 1.6em;
	padding-bottom: .5em;
    width: 36%;
    margin: 0 5%
  }
  .cd-timeline-content::before {
    top: 24px;
    left: 100%;
    border-color: transparent;
    border-left-color: #333C42;
  }
  .cd-timeline-block .cd-date {
    position: absolute;
    width: 300%;
    left: 60%;
    top: 3px;
    font-size: 16px;
    font-size: 1rem;
	  font-weight:bold;
  }
  .cd-timeline-content img {
	  float: left;
	  margin-right: 10px;
	  max-width: 80%

  }
  .cd-timeline-content .cd-timeline-link {
	text-align:right;
	display:block;
}
  .cd-timeline-content .cd-timeline-link a{
	color:#4080ae;
  }

  .cd-timeline-block:nth-child(even) .cd-timeline-content {
    float: right;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content img {
  	float: right;
	margin-right: 0px;
	margin-left: 10px;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-timeline-link {
	text-align:left;
}


  .cd-timeline-block:nth-child(even) .cd-timeline-content::before {
    top: 24px;
    left: auto;
    right: 100%;
    border-color: transparent;
    border-right-color: #333C42;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-read-more {
    float: right;
  }
  .cd-timeline-block:nth-child(even) .cd-date {
    left: auto;
    right: 133%;
    text-align: right;
  }
  .cd-header {
	width: 225px;
    text-align: center;
    display: block;
	margin:0 auto;
	border:3px solid #5c94b9;
      border-radius: 8px;
	  -moz-border-radius:8px;  /* for Firefox */
	  -webkit-border-radius:8px; /* for Webkit-Browsers */
	
}

}



.centered-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.centered-content img {
  max-width: 100%;
  height: auto;
}

.centered-content > ul,
.centered-content > div {
  width: 100%;
}


.padding-10 {
  padding: 20px;
}