@import "normalize.min.css";
html, body {
    margin: 0;
    padding: 0;
}

.container-fluid {
    padding-top: 24px;
}

h1,
h2,
h3 {
    font-family: 'DroidKufiBold'
}

p {
    font-size: 16px;
}

p,
span,
li {
    font-family: 'DroidKufiLight'
}

img {
    width: 100%;
}



.timeline {
  display: flex;
  margin: 0 auto;
  flex-wrap: wrap;
  flex-direction: column;
  max-width: 700px;
  position: relative;
}
.timeline__content-title {
  font-weight: normal;
  font-size: 40px;
  margin: -10px 0 0 0;
  transition: .4s;
  padding: 0 10px;
  box-sizing: border-box;
  font-family: 'DroidKufiLight';
  color: #fff;
}
.timeline__content-desc {
  margin: 0;
  font-size: 16px;
  box-sizing: border-box;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'DroidKufiLight';
  /*font-weight: normal;*/
  /*line-height: 25px;*/
}
.timeline:before {
  position: absolute;
  left: 50%;
  width: 2px;
  height: 100%;
  margin-left: -1px;
  content: "";
  background: rgba(255, 255, 255, 0.07);
}
@media only screen and (max-width: 767px) {
  .timeline:before {
    left: 40px;
  }
}
.timeline-item {
  padding: 40px 0;
  opacity: .3;
  filter: blur(2px);
  transition: .5s;
  box-sizing: border-box;
  width: calc(50% - 40px);
  display: flex;
  position: relative;
  transform: translateY(-80px);
}

.timeline-item:nth-child(even) {
  align-self: flex-end;
}

.timeline-item--active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0px);
}
.timlineImageContainer { position: relative; }
.timlineImageContainer::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
#black::before {
    background: black;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,1));
}
#red::before {
    background: #bd111c;
    background: linear-gradient(to bottom, rgba(170,18,13,0), rgba(170,18,13,1));
}
#green::before {
    background: #006829;
    background: linear-gradient(to bottom, rgba(0, 104, 41,0), rgba(0, 104, 41,1));
}
#darkGreen::before {
    background: #005a04;
    background: linear-gradient(to bottom, rgba(0, 90, 4,0), rgba(0, 90, 4,1));
}
#purple:before {
    background: #9224a5;
    background: linear-gradient(to bottom, rgba(146, 36, 163,0), rgba(146, 36, 163,1));
}
#orange:before {
    background: #c15709;
    background: linear-gradient(to bottom, rgba(193, 87, 9,0), rgba(193, 87, 9,1));
}
#brown:before {
    background: #5c1916;
    background: linear-gradient(to bottom, rgba(92, 25, 22,0), rgba(92, 25, 22,1));
}
#darkBlack:before {
    background: #0c0203;
    background: linear-gradient(to bottom, rgba(12, 2, 3,0), rgba(12, 2, 3,1));
}
#blueLight:before {
    background: #1877b6;
    background: linear-gradient(to bottom, rgba(24, 119, 182,0), rgba(24, 119, 182,1));
}

.timeline-item--active .timeline__content-title {
  margin: -50px 0 20px 0;
  position: relative;
}
@media only screen and (max-width: 767px) {
  .timeline-item {
    align-self: baseline !important;
    width: 100%;
    padding: 0 0 144px 0px;
  }
  .timeline__content-title {
      font-size: 50px;
  }
  .timeline__content-desc {
      padding: 10px;
      text-align: right;
  }

  .timeline-item:last-child {
    padding-bottom: 40px;
  }
}
.timeline__img {
  max-width: 100%;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.4);
}
.timeline-container {
  width: 100%;
  position: relative;
  padding: 80px 0;
  transition: .3s ease 0s;
  background-attachment: fixed;
  background-size: cover;
  overflow: hidden;
  /*filter: grayscale(100%);*/
}
.timeline-container:before {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  content: "";
}
.timeline-header {
  width: 100%;
  text-align: center;
  margin-bottom: 80px;
  position: relative;
}
.timeline-header__title {
  color: #fff;
  font-size: 46px;
  font-family: 'DroidKufiBold';
  font-weight: bold;
  margin: 0;
}
.subtitleContainer {
    padding: 1%;
    width: 70%;
    margin: 4% auto auto auto;
    /*background: rgba(255, 255, 255, 0.85);*/
    border-radius: 10px;
}
.timeline-header__subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-family: 'DroidKufiLight';
  font-size: 16px;
  margin: 12px 0 0 0;
}

.demo-footer {
  padding: 60px 0;
  text-align: center;
}
.demo-footer a {
  color: #999;
  display: inline-block;
  font-family: 'DroidKufiBold';
}

.sectionCategory:hover {
    opacity: 0.8;
    display: block;
}


.timelineInInnerPages:before {
    content: none;
}
.timelineInInnerPages .timeline-item {
    width: 80%;
    margin-bottom: 50px;
}


.customFakeAd {
    width: 100%;
    height: 50px;
    border: 1px solid red;
    background: #fff;
}

.customFakeAd::before {
    content: 'Replace This Div With Your Ad';
    text-align: center;
    line-height: 44px;
    width: 100%;
    height: 100%;
    position: absolute;
}
