.history-wrap {
  position: relative;
  display: block;
  z-index: 2;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  vertical-align: middle;
  vertical-align: middle;
  padding-top: 25px;
}

.history-content1 {
  max-width: 50%;
  text-align: left;
  display: block;
  margin: 0 auto;
  color: black;
  position: relative;
  z-index: 100;
  vertical-align: middle;
}

@media(max-width:815px) {
  .history-content1 {
    max-width: 100%;
    text-align: left;
    display: block;
    margin: 0 auto;
    color: black;
    position: relative;
    z-index: 100;
    vertical-align: middle;
  }
}

.history-content2 {
  position: relative;
  display: block;
  z-index: 2;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  vertical-align: middle;
  padding-left: 25px;
  padding-right: 25px;
  text-align: center;
  margin: 0 auto;
  max-width: 1180px;
}

.history-content3 {
  position: relative;
  display: block;
  z-index: 2;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 400px;
  vertical-align: middle;
  padding-top: 50px;
  padding-left: 25px;
  padding-right: 25px;
  text-align: center;
  /* background-color: rgba(240, 239, 242, 0.34); */
  margin: 0 auto;
  max-width: 1180px;
}

.history-content4 {
  position: relative;
  display: block;
  z-index: 2;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 400px;
  vertical-align: middle;
  padding-top: 50px;
  padding-left: 25px;
  padding-right: 25px;
  text-align: left;
  background-color: rgba(240, 239, 242, 0.34);
  margin: 0 auto;
  max-width: 1180px;
}

.history-content2 .history-bg {
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center center;
  object-position: center center;
  overflow: hidden;

}


.history-content {
  max-width: 1180px;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  box-sizing: border-box;
}

@media(max-width:815px) {
  .history-content {
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
  }
}

*,
::after,
::before {
  box-sizing: border-box;
}

.history-content1 h1 {
  font-family: red hat display, sans-serif;
  margin-bottom: 25px;
}

.history-content1 .commontext {
  font-size: 16px;
  padding: 15px;
}

.history-content2 .commontext {
  font-size: 16px;
  padding: 15px;
}

.row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.text-left {
  text-align: left !important;
}

.col-md-12 {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

[data-san="fade4"] {
  opacity: 0;
  transform: translateY(0px);
  transition-duration: 4s;
}

.fade4 {
  opacity: 1;
}

[data-san="fade3"] {
  opacity: 0;
  transform: translateY(50px);
  transition-duration: 4s;
}

.fade3 {
  opacity: 1;
}

[data-san="fade1"] {
  opacity: 0;
  transform: translateY(50px);
  transition-duration: 4s;
}

.fade1 {
  opacity: 1;
}

[data-san="fade2"] {
  opacity: 0;
  transition-duration: 4s;
}

.fade2 {
  opacity: 1;
}

.main-timeline {
  position: relative;
}

.main-timeline:before {
  content: "";
  width: 1px;
  border-radius: 20px;
  margin: 0 auto;
  background: royalblue;
  position: absolute;
  height: 90%;
  left: 0;
  right: 0;
  z-index: 1;
}

[data-san="fade3"] {
  opacity: 0;
  transform: translateY(50px);
  transition-duration: 4s;
}

.fade3 {
  opacity: 1;
}

[data-san="fade1"] {
  opacity: 0;
  transform: translateY(50px);
  transition-duration: 4s;
}

.fade1 {
  opacity: 1;
}

[data-san="fade2"] {
  opacity: 0;
  transition-duration: 4s;
}

.fade2 {
  opacity: 1;
}


.main-timeline .timeline {
  display: inline-block;
  box-sizing: border-box;
  margin-bottom: 250px;
  position: relative;
  width: 100%;
  top: 50%
}

@media(max-width:815px) {
  .main-timeline .timeline {
    margin-bottom: 200px;
  }
}

@media(max-width:688px) {
  .main-timeline .timeline {
    margin-bottom: 100px;
  }
}

@media(max-width:549px) {
  .main-timeline .timeline {
    margin-bottom: 50px;
  }
}

/* circle point */
.main-timeline .timeline:before {
  content: "";
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 10px solid #fff;
  background: royalblue;
  position: absolute;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
}

.main-timeline .timeline-icon {
  display: inline-block;
  width: 50%;
  max-width: 500px;
  /* height: 300px; */
  border-radius: 10%;
  /* padding: 13px; 
    transform: translateY(-70%);
    */
  text-align: center;
  position: absolute;
  top: -50%;
  right: 50%;
  left: auto;
}

.main-timeline .timeline-icon img {
  display: block;
  /* border-radius: 50%; */
  border-radius: 10px;
  background: #000000;
  font-size: 64px;
  color: #fff;
  line-height: 100px;
  z-index: 1;
  position: relative;
  background-repeat: no-repeat;
}

.main-timeline .timeline-icon:before,
.main-timeline .timeline-icon:after {
  content: "";
  width: 100px;
  /* height: 4px; */
  background: #000000;
  position: absolute;
  top: 50%;
  right: -100px;
  transform: translateY(-50%);
}

.main-timeline .timeline-icon:after {
  width: 70px;
  /* height: 50px; */
  background: #fff;
  top: 89px;
  right: -30px;
}

.main-timeline .timeline-content {
  padding: 0 5% 0;
  margin: 0 0 0 0;
  float: right;
  position: relative;
  width: 50%;
}

.main-timeline .timeline-content:before {
  content: "";
  height: 100%;
  /* border: 3px solid #000000; */
  border-top: none;
  border-right: none;
  position: absolute;
  bottom: -13px;
  left: 35px;
}

.main-timeline .timeline-content:after {
  content: "";
  width: 37px;
  background: #000000;
  position: absolute;
  top: 13px;
  left: 0;
}

.main-timeline .headtitle {
  font-size: 60px;
  font-weight: 600;
  color: #000000;
  text-transform: uppercase;
  margin: 5px 0 25px 0;
}

@media(max-width:700px) {
  .main-timeline .headtitle {
    font-size: 40px !important;
  }
}


.main-timeline .description {
  white-space: normal;
  width: 100%;
  display: inline-block;
  font-size: 16px;
  color: #404040;
  line-height: 20px;
  letter-spacing: 1px;
  margin: 0;
}

.main-timeline .timeline:nth-child(even) .timeline-icon {
  right: auto;
  left: 50%;
}

.main-timeline .timeline:nth-child(even) .timeline-icon:before {
  right: auto;
  left: -100px;
}

.main-timeline .timeline:nth-child(even) .timeline-icon:after {
  right: auto;
  left: -30px;
}

.main-timeline .timeline:nth-child(even) .timeline-content {
  float: left;
}

.main-timeline .timeline:nth-child(even) .timeline-content:before {
  left: auto;
  right: 35px;
  transform: rotateY(180deg);
}

.main-timeline .timeline:nth-child(even) .timeline-content:after {
  left: auto;
  right: 0;
}

.historyicon {
  background: url("../../uploads/media/img_history_1.png") !important;
  background-size: cover !important;
  background-repeat: no-repeat;
  height: 100%;
  width: 100%;
}