body {
  overflow-x: hidden;
}

@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

img {
  max-width: 100%;
}


.container {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--container);
    padding-left: 0px; 
    padding-right: 1.5rem;

.ag-format-container {
  margin: 0 auto;
  position: relative;
}

.ag-timeline-block {
  padding: 0px 0px;
}
.ag-timeline_title-box {
  padding: 0 0 30px;

  text-align: center;
}
.ag-timeline_tagline {
  font-size: 40px;
  font-family: "Montserrat", sans-serif;
  color: #0032a0;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 36px;
  line-height: 50px;
}
.ag-timeline_title {
  background-image: url(https://raw.githubusercontent.com/SochavaAG/example-mycode/master/pens/timeline/images/bg.jpg);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  font-family: "Montserrat", sans-serif;
  background-size: cover;
  -webkit-background-clip: text;
  background-clip: text;
  text-align: start;
  color: #0032a0;
  text-transform: uppercase;
  font-size: 26px;
}

.ag-timeline_item {
  margin: 0 0 50px;
  position: relative;
}
.ag-timeline_item:nth-child(2n) {
  text-align: right;
}

.ag-timeline {
  display: inline-block;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}
.ag-timeline_line {
  width: 2px;
  background-color: white;

  position: absolute;
  top: 2px;
  left: 50%;
  bottom: 0;

  overflow: hidden;

  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
}

.ag-timeline_line-progress {
  width: 100%;
  height: 20%;
  background-color: #e71731;
}

.ag-timeline-card_box {
  padding: 0 0 20px 50%;
}
.ag-timeline_item:nth-child(2n) .ag-timeline-card_box {
  padding: 0 50% 30px 0;
}
.ag-timeline-card_point-box {
  display: inline-block;
  margin: 0 15px 0 -30px;
}
.ag-timeline_item:nth-child(2n) .ag-timeline-card_point-box {
  margin: 0 -30px 0 14px;
}
.ag-timeline-card_point {
  height: 60px;
  line-height: 50px;
  width: 60px;
  border: 3px solid #0032a0;
  background-color: white;
  transition: 500ms;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  color: #0032a0;

  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}
.js-ag-active .ag-timeline-card_point {
  color: white;
  font-family: "Montserrat", sans-serif;
  background-color: #0032a0;
}
.ag-timeline-card_meta-box {
  display: inline-block;
}
.ag-timeline-card_meta {
  margin: 10px 0 0;
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  font-size: 24px;
  color: #0032a0;
}
.ag-timeline-card_item {
  display: inline-block;
  width: 45%;
  margin: -77px 0 0;
  background-color: #0032a0;

  opacity: 0;

  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 20px;

  -webkit-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.5);
  -o-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.5);

  -webkit-transition: -webkit-transform 1s, opacity 1s;
  -moz-transition: -moz-transform 0.5s, opacity 0.5s;
  -o-transition: -o-transform 0.5s, opacity 0.5s;
  transition: transform 1s, opacity 1s;
  position: relative;
}
.ag-timeline_item:nth-child(2n + 1) .ag-timeline-card_item {
  -webkit-transform: translateX(-200%);
  -moz-transform: translateX(-200%);
  -ms-transform: translateX(-200%);
  -o-transform: translateX(-200%);
  transform: translateX(-200%);
}
.ag-timeline_item:nth-child(2n) .ag-timeline-card_item {
  -webkit-transform: translateX(200%);
  -moz-transform: translateX(200%);
  -ms-transform: translateX(200%);
  -o-transform: translateX(200%);
  transform: translateX(200%);
}
.js-ag-active.ag-timeline_item:nth-child(2n + 1) .ag-timeline-card_item,
.js-ag-active.ag-timeline_item:nth-child(2n) .ag-timeline-card_item {
  opacity: 1;

  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
}
.ag-timeline-card_arrow {
  height: 18px;
  width: 18px;
  margin-top: 20px;
  background-color: #e71731;

  z-index: -1;
  position: absolute;
  top: 0;
  right: 0;

  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
.ag-timeline_item:nth-child(2n + 1) .ag-timeline-card_arrow {
  margin-left: calc(-18px / 2);
  margin-right: calc(-18px / 2);
}
.ag-timeline_item:nth-child(2n) .ag-timeline-card_arrow {
  margin-left: -10px;

  right: auto;
  left: 0;
}
.ag-timeline-card_img {
  width: 100%;
  border-radius: 15px;
}
.ag-timeline-card_info {
  padding: 10px 30px;
}
.ag-timeline-card_title {
  display: none;
  margin: 10px 0 0;

  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  font-size: 24px;
  color: white;
}
.ag-timeline-card_desc {
text-align: justify;
  line-height: 1.45;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  color: #fff;
  border-radius: 25px;
  padding-bottom: 10px;
}

.rich-text-field img {
margin-top: 0px;
border-radius: 15px;
margin-bottom: 0px;

}

@media only screen and (max-width: 979px) {
  .ag-timeline_line {
    left: 37px;
  }

  .ag-timeline_item:nth-child(2n) {
    text-align: left;
  }

  .ag-timeline-card_box,
  .ag-timeline_item:nth-child(2n) .ag-timeline-card_box {
    padding: 0 0 20px;
  }
  .ag-timeline-card_meta-box {
    display: none;
  }
  .ag-timeline-card_point-box,
  .ag-timeline_item:nth-child(2n) .ag-timeline-card_point-box {
    margin: 0 0 0 8px;
  }
  .ag-timeline-card_point {
    height: 60px;
    width: 60px;
  }
  .ag-timeline-card_item {
    width: fit-content;
    margin: -65px 0 0 90px;
  }
  .ag-timeline_item:nth-child(2n + 1) .ag-timeline-card_item,
  .ag-timeline_item:nth-child(2n) .ag-timeline-card_item {
    -webkit-transform: translateX(200%);
    -moz-transform: translateX(200%);
    -ms-transform: translateX(200%);
    -o-transform: translateX(200%);
    transform: translateX(200%);
  }
  .ag-timeline_item:nth-child(2n + 1) .ag-timeline-card_arrow {
    right: auto;
    left: 0;
  }
  .ag-timeline-card_title {
    display: block;
    font-size: 18px;
padding-bottom: 15px;
  }
  .ag-timeline-card_arrow {
    margin-top: 12px;
  }
}

@media only screen and (max-width: 767px) {
  .ag-format-container {
    width: 80%;
  }
}

@media only screen and (max-width: 639px) {
  .ag-format-container {
    width: 110%;
  }
  .ag-timeline_title {
    font-size: 50px;
  }

  .ag-timeline-card_info {
    padding: 10px 15px;
  }
  .ag-timeline-card_desc {
    font-size: 14px;
    padding: 0px 0px 0px 0px;
  }
  .ag-timeline-card_img {
    height: auto;
    width: auto;
  }
}

@media (min-width: 640px) and (max-width: 719px) {
  .ag-timeline-card_item {
    width: fit-content;
  }
}

@media (min-width: 768px) and (max-width: 979px) {
  .ag-format-container {
    width: 600px;
  }
  .ag-timeline-card_img {
    height: auto;
    width: auto;
  }
}

@media (min-width: 980px) and (max-width: 1161px) {

  .ag-format-container {
    width: 960px;
  }

  .ag-timeline-card_img {
    height: auto;
    width: auto;
  }
}

@media (max-width: 1200px) {
  .ag-timeline_tagline {
    font-size: 35px;
  }
  .ag-timeline_title {
    font-size: 24px;
  }
}

@media (max-width: 992px) {
  .ag-timeline_tagline {
    font-size: 30px;
    line-height: 50px;
  }
  .ag-timeline_title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .ag-timeline_tagline {
    font-size: 25px;
    line-height: 35px;
  }
  .ag-timeline_title {
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .ag-timeline_tagline {
    font-size: 20px;
    line-height: 35px;
  }
  .ag-timeline_title {
    font-size: 18px;
  }
}
