



/*-----------------------------  Timeline ----------------------------*/
.work-timeline {
  height: 100%;
  padding-bottom: 50px;
}
.education-timeline {
  height: 100%;
  padding-bottom: 100px;
}
.parent-showmore-timeline-container {
  height: 100%;
  position: relative;
  padding-bottom: 40px;
  align-content:center; 
  justify-content: center;
  text-align: center;
  padding-bottom: 50px;

}
.showmore-timeline-container {
  max-height: 1400px;
  overflow: hidden;
  font-size: 14px;
  color: #656565;
  /*
  background-color: #fff;
  */
  border-radius: 0 0 6px 6px;
  position: relative;
  top: -7px;
  align-content:center; 
  justify-content: center;
  text-align: center;
  padding-bottom: 50px;

  -webkit-transition: max-height .35s;
  -o-transition: max-height .35s;
  transition: max-height .35s;
}

.showMoreWorkLabel {
  position: absolute;
  top:100%;
  left:47%;
  z-index: 999999;
  align-content:center; 
  justify-content: center;
  text-align: center;
  display: inline;
  font-weight: 600;
  z-index: 15;
  padding: 20px 25px;
  text-align: left;
  border-radius: 12px 12px 12px 12px;
  color: #fff;
  margin-bottom: 50px;
  margin-top: -5px;
}
.blueColor {
  background: #2980b9;
}
.blueColorBorder {
  border: 10px solid #2980b9;
}
.greenColor {
  background: #16a085;
}
.greenColorBorder {
  border: 10px solid #16a085;
}
.showMoreWorkCheckbox {
    display: none;
}
.showMoreWorkLabel:after {
    content: "Show More";
}
.showMoreWorkCheckbox:checked + .showMoreWorkLabel:after {
    content: "Show Less";
}
.showMoreWorkCheckbox:checked ~ .showmore-timeline-container {
  max-height: 100%;
}
.thickLine {
  position: absolute;
  top: 100%;
  width: 100%;
  
  border-radius: 2px;
  padding-top: 1px;
  margin-top: 15px;
  margin-bottom: 50px;
}





.hexa{
  border: 0px;
  float: left;
  text-align: center;
  height: 35px;
  width: 60px;
  font-size: 22px;
  background: #f0f0f0;
  color: #3c3c3c;
  position: relative;
  margin-top: 15px;
}

.hexa:before{
  content: ""; 
  position: absolute; 
  left: 0; 
  width: 0; 
  height: 0;
  border-bottom: 15px solid #f0f0f0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  top: -15px;
}

.hexa:after{
  content: ""; 
  position: absolute; 
  left: 0; 
  width: 0; 
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-top: 15px solid #f0f0f0;
  bottom: -15px;
}

  
.timeline {
  position: relative;
  padding: 0;
  width: calc(100vw - 70px);
  margin-top: 20px;
  list-style-type: none;
}

.timeline:before {
  position: absolute;
  left: 50%;
  top: 0;
  content: ' ';
  display: block;
  width: 2px;
  height: 100%;
  margin-left: -1px;
  background: rgb(213,213,213);
  background: -moz-linear-gradient(top, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(30,87,153,1)), color-stop(100%,rgba(125,185,232,1)));
  background: -webkit-linear-gradient(top, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
  background: -o-linear-gradient(top, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
  background: -ms-linear-gradient(top, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
  background: linear-gradient(to bottom, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
  z-index: 2;
}

.timeline li {
  padding: 2em 0;
}

.timeline .hexa{
  width: 16px;
  height: 10px;
  position: absolute;
  background: #3498db;
  z-index: 5;
  left: 0;
  right: 0;
  margin-left:auto;
  margin-right:auto;
  top: -30px;
  margin-top: 0;
}

.green .timeline .hexa{
  background: #16a085;
}

.timeline .hexa:before {
  border-bottom: 4px solid #3498db;
  border-left-width: 8px;
  border-right-width: 8px;
  top: -4px;
}
.green .timeline .hexa:before{
  border-bottom: 4px solid  #16a085;
}

.timeline .hexa:after {
  border-left-width: 8px;
  border-right-width: 8px;
  border-top: 4px solid #3498db;
  bottom: -4px;
}
.green .timeline .hexa:after{
  border-top: 4px solid #16a085;
}

.direction-l,
.direction-r {
  float: none;
  width: calc(100vw - 70px);
  text-align: center;
}

@media (max-width: 550px) {
  .direction-l,
  .direction-r {
     width: 96vw;
  }
 
}

.flag-wrapper {
  text-align: center;
  position: relative;
  
}

.flag {
  position: relative;
  display: inline;
  font-weight: 600;
  z-index: 15;
  padding: 6px 10px;
  text-align: left;
  border-radius: 6px 6px 0 0;
  background: #2980b9;
  color: #fff;
}

.green .flag {
  background: #16a085;
}

.direction-l .flag:before {
  content: '';
  position: absolute;
  top: 12.5px;
  right: -5px;
    width: 10px; 
    height: 10px;
  -webkit-transform: rotate(-45deg);
  background: #2980b9;
}

.green .direction-l .flag:before{
  background: #16a085;
}

.direction-r .flag:before {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  height: 0;
  width: 0;
  margin-top: -8px;
  border: solid transparent;
  border-right-color: #2980b9;
  border-width: 8px;
  pointer-events: none;
}
.green .direction-r .flag:before{
  border-right-color: #16a085;
}


/*.direction-l .flag:after,
.direction-r .flag:after {
  content: "";
  position: absolute;
  left: 50%;
  top: -15px;
  height: 0;
  width: 0;
  margin-left: -8px;
  border: solid transparent;
  border-bottom-color: rgb(255,255,255);
  border-width: 8px;
  pointer-events: none;
}*/


/*
.direction-l .flag {
  -webkit-box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  -moz-box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
}

.direction-r .flag {
  -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  -moz-box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
}*/

.time-wrapper {
  display: block;
  position: relative;
  margin: 4px 0 0 0;
  z-index: 14;
  line-height: 1em;
  vertical-align: middle;
  color: #fff;
}

.direction-l .time-wrapper {
  float: none;
}

.direction-r .time-wrapper {
  float: none;
}

.time {
  background: #3498db;
  display: inline-block;
  padding: 8px;
}

.direction-r .time {
  border-radius: 0 6px 0 0;
}

.direction-l .time {
  border-radius: 6px 0 0 0;
}

.green .time {
  background: #1abc9c;
}

.desc {
  position: relative;
  z-index: 15;
  padding: 15px;
  margin: 0;
  font-size: 14px;
  border: solid;
  border-width: 2px;
  border-color: #2980b9;
  color: #656565;
  background-color: #fff;
  border-radius: 0 0 6px 6px;
  text-align: justify;
}


.direction-r .desc {
  border-radius: 0 6px 6px 6px;
}

.direction-l .desc {
  border-radius: 6px 0 6px 6px;
}

.green .desc {
  border-color: #16a085;
}



/*.direction-l .desc,
.direction-r .desc {
  position: relative;
  margin: 1em 1em 0 1em;
  padding: 1em;
  z-index: 15;
}*/

@media(min-width: 768px){
  .timeline {
    width: calc(100vw - 70px);

  }

  .timeline li:after {
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
  }
  
  .timeline .hexa {
    left: -28px;
    right: auto;
    top: 8px;
  }

  .timeline .direction-l .hexa {
    left: auto;
    right: -28px;
  }

  .direction-l {
    position: relative;
    width: calc(50vw - 20px);
    float: left;
    text-align: right;
  }

  .direction-r {
    position: relative;
    width: calc(50vw - 20px);
    float: right;
    text-align: left;
  }

  .flag-wrapper {
    display: inline-block;
  }
  
  .flag {
    font-size: 18px;
  }

  .direction-l .flag:after {
    left: auto;
    right: -16px;
    top: 50%;
    margin-top: -8px;
    border: solid transparent;
    border-left-color: rgb(254,254,254);
    border-width: 8px;
  }

  .direction-r .flag:after {
    top: 50%;
    margin-top: -8px;
    border: solid transparent;
    border-right-color: rgb(254,254,254);
    border-width: 8px;
    left: -8px;
  }

  .time-wrapper {
    display: none;
    vertical-align: middle;
    margin: 0;
  }

  .direction-l .time-wrapper {
    float: left;
  }

  .direction-r .time-wrapper {
    float: right;
  }

  .time {
    padding: 5px 10px;
  }

/*  .direction-r .desc {
    margin: 1em 0 0 0.75em;
  }

  .direction-l .desc {
    margin: 1em 0 0 0.75em;
  }*/
}

@media (max-width: 768px) {
  .direction-l .flag:before {
    display: none;
  }
  .direction-r .flag:before {
    display: none;
  }
  .direction-r .time {
    border-radius: 0 0 0 0;
  }

  .direction-l .time {
    border-radius: 0 0 0 0;
  }
  .direction-r .desc {
    border-radius: 6px 6px 6px 6px;
  }

  .direction-l .desc {
    border-radius: 6px 6px 6px 6px;
  }
  .flag {
    border-radius: 6px 6px 6px 6px;
  }

}


@media(min-width: 992px) {
  .timeline {
    width: 90vw;
     margin: 0 auto;
    margin-top: 20px;
  }

  .direction-l {
    position: relative;
    width: calc(45vw - 20px);
    float: left;
    text-align: right;
  }

  .direction-r {
    position: relative;
    width: calc(45vw - 20px);
    float: right;
    text-align: left;
  }


  .time-wrapper {
    display: inline;
    vertical-align: middle;
    margin: 0;
  }

}

@media(min-width: 1200px) {
  .timeline {
    width: 1200px;
    margin: 0 auto;
    margin-top: 20px;
  }

  .direction-l {
    position: relative;
    width: 580px;
    float: left;
    text-align: right;
  }

  .direction-r {
    position: relative;
    width: 580px;
    float: right;
    text-align: left;
  }
  .time-wrapper {
    display: inline;
    vertical-align: middle;
    margin: 0;
  }

}















/*------------------------ Experience Accordian ------------------------*/
.education-timeline {
  margin-top: 40px;
}

.experience {
  color: #2c3e50;
  /*background: #ecf0f1;*/
}
.experience h1 {
  margin-bottom: 0.5em;
}
/* Acordeon styles */
.experience .tab {
  position: relative;
  color: #16a085;
  overflow: hidden;
}

.experience .blue {
  color: #2980b9;
}

.experience input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}
.experience label {
  position: relative;
  display: block;
  padding: 0 0 0 1em;
  background: none;
  font-weight: bold;
  line-height: 3;
  cursor: pointer;
  text-align: left;
}
.experience .blue label {
  background: none;
  text-align: left;
}
.experience .tab-content {
  max-height: 0;
  overflow: hidden;

  font-size: 14px;
  border: solid;
  border-width: 1px;
  border-color: #16a085;
  color: #656565;
  background-color: #fff;
  border-radius: 0 0 6px 6px;
  position: relative;
  top: -7px;

  -webkit-transition: max-height .35s;
  -o-transition: max-height .35s;
  transition: max-height .35s;
}
.experience .blue .tab-content {
  font-size: 14px;
  border: solid;
  border-width: 1px;
  border-color: #2980b9;
  color: #656565;
  background-color: #fff;
  border-radius: 0 0 6px 6px;
  position: relative;
  top: -7px;
}
.experience .tab-content p {
  margin: 1em;
}
/* :checked */
.experience input:checked ~ .tab-content {
  max-height: 100em;
}
/* Icon */
.experience label::after {
  position: absolute;
  right: -5px;
  top: 0;
  display: block;
  width: 3em;
  height: 3em;
  line-height: 3;
  text-align: center;
  -webkit-transition: all .35s;
  -o-transition: all .35s;
  transition: all .35s;
}
.experience input[type=checkbox] + label::after {
  content: "+";
  font-size: 1.5em;
  margin-top: -0.5em;
}
.experience input[type=radio] + label::after {
  content: "\25BC";
}
.experience input[type=checkbox]:checked + label::after {
  transform: rotate(315deg);
}
.experience input[type=radio]:checked + label::after {
  transform: rotateX(180deg);
}



h1 {
  font-weight: 400;
  text-align: center;
}
p {
  margin: 0 0 20px;
  line-height: 1.5;
}


