body {
  background-color: #fff;
  /* overflow-x: hidden; */
}

::-webkit-scrollbar {
  width: 6px; /* Change width as needed */
  height: 6px; /* Change height for horizontal scrollbar if needed */
}

@font-face {
  font-family: 'Inter';
  src: url(https://raw.githubusercontent.com/SochavaAG/example-mycode/master/pens/timeline/fonts/legend/ESLLegend-Light.eot);
  src: url(https://raw.githubusercontent.com/SochavaAG/example-mycode/master/pens/timeline/fonts/legend/ESLLegend-Light.eot#iefix) format("embedded-opentype"),
  url(https://raw.githubusercontent.com/SochavaAG/example-mycode/master/pens/timeline/fonts/legend/ESLLegend-Light.woff2) format("woff2"),
  url(https://raw.githubusercontent.com/SochavaAG/example-mycode/master/pens/timeline/fonts/legend/ESLLegend-Light.woff) format("woff"),
  url(https://raw.githubusercontent.com/SochavaAG/example-mycode/master/pens/timeline/fonts/legend/ESLLegend-Light.ttf) format("truetype"),
  url(https://raw.githubusercontent.com/SochavaAG/example-mycode/master/pens/timeline/fonts/legend/ESLLegend-Light.svg#eicon) format("svg");
  font-style: normal;
  font-weight: 300;
}
@font-face {
  font-family: 'Inter';
  src: url(https://raw.githubusercontent.com/SochavaAG/example-mycode/master/pens/timeline/fonts/legend/ESLLegend-Regular.eot);
  src: url(https://raw.githubusercontent.com/SochavaAG/example-mycode/master/pens/timeline/fonts/legend/ESLLegend-Regular.eot#iefix) format("embedded-opentype"),
  url(https://raw.githubusercontent.com/SochavaAG/example-mycode/master/pens/timeline/fonts/legend/ESLLegend-Regular.woff2) format("woff2"),
  url(https://raw.githubusercontent.com/SochavaAG/example-mycode/master/pens/timeline/fonts/legend/ESLLegend-Regular.woff) format("woff"),
  url(https://raw.githubusercontent.com/SochavaAG/example-mycode/master/pens/timeline/fonts/legend/ESLLegend-Regular.ttf) format("truetype"),
  url(https://raw.githubusercontent.com/SochavaAG/example-mycode/master/pens/timeline/fonts/legend/ESLLegend-Regular.svg#eicon) format("svg");
  font-style: normal;
  font-weight: normal;
}
@font-face {
  font-family: 'Inter';
  src: url(https://raw.githubusercontent.com/SochavaAG/example-mycode/master/pens/timeline/fonts/legend/ESLLegend-Bold.eot);
  src: url(https://raw.githubusercontent.com/SochavaAG/example-mycode/master/pens/timeline/fonts/legend/ESLLegend-Bold.eot#iefix) format("embedded-opentype"),
  url(https://raw.githubusercontent.com/SochavaAG/example-mycode/master/pens/timeline/fonts/legend/ESLLegend-Bold.woff2) format("woff2"),
  url(https://raw.githubusercontent.com/SochavaAG/example-mycode/master/pens/timeline/fonts/legend/ESLLegend-Bold.woff) format("woff"),
  url(https://raw.githubusercontent.com/SochavaAG/example-mycode/master/pens/timeline/fonts/legend/ESLLegend-Bold.ttf) format("truetype"),
  url(https://raw.githubusercontent.com/SochavaAG/example-mycode/master/pens/timeline/fonts/legend/ESLLegend-Bold.svg#eicon) format("svg");
  font-style: normal;
  font-weight: bold;
}

img {
  max-width: 100%;
}

.ag-format-container {
  width: 100%px;
  margin: 0 0;

  position: relative;
}

.ag-timeline-block {
  padding: 0 0;
}
.ag-timeline_title-box {
  padding: 0 0 30px;

  text-align: center;
}
.ag-timeline_tagline {
  font-size: 16px;
  color: #627592;
  font-weight: 500;
  padding-bottom: 20px;;
}
.ag-timeline_title {

  background-repeat: no-repeat;
  background-position: 50% 50%;
  color: #000;
  background-size: cover;
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: 700;
  font-size: 32px;
}

.ag-timeline_item {
  margin: 0 0 250px;

  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: 6px;
  background-color: #D9D9D9;

  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: #E36B4A;
}

.ag-timeline-card_box {
  padding: 0 0 20px 50%;
/*   background-color: #E36B4A; */
}
.ag-timeline_item:nth-child(2n) .ag-timeline-card_box {
  padding: 0 50% 20px 0;
}
.ag-timeline-card_point-box {
  display: inline-block;
  margin: 0 14px 0 -28px;
/*   background-color: #E36B4A; */
}
.ag-timeline_item:nth-child(2n) .ag-timeline-card_point-box {
  margin: 0 -28px 0 14px;
}
.ag-timeline-card_point {
  height: 50px;
  line-height: 50px;
  width: 50px;
  border: 3px solid #E36B4A;
  background-color: #E36B4A;

  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 25px;
  font-weight: 700;
  color: #FFF;

  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}
.js-ag-active .ag-timeline-card_point {
  color: #1d1d1b;
  background-color: #fff;
}
.ag-timeline-card_meta-box {
  display: inline-table;
  position: relative;

}
.ag-timeline-card_meta {
  margin: 10px 0 0;

  font-family: 'Inter', sans-serif;
  font-weight: bold;
  font-size: 28px;
  color: #000;
}
.ag-timeline-card_item {
  display: inline-block;
  width: 45%;
  margin: -77px 0 0;
  background-color: #282828;
  
  opacity: 0;

  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;

  -webkit-box-shadow: 0 0 0 0 rgba(0,0,0,.5);
  -moz-box-shadow: 0 0 0 0 rgba(0,0,0,.5);
  -o-box-shadow: 0 0 0 0 rgba(0,0,0,.5);
  box-shadow: 0 0 0 0 rgba(0,0,0,.5);

  -webkit-transition: -webkit-transform .5s, opacity .5s;
  -moz-transition: -moz-transform .5s, opacity .5s;
  -o-transition: -o-transform .5s, opacity .5s;
  transition: transform .5s, opacity .5s;

  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);
  text-align: left;
}

.sp-imgs {
  display: inline-block;
  width: 45%;
  margin: 0 0 0 0;
  background-color: #282828;
  
  opacity: 0;

  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;

  -webkit-box-shadow: 0 0 0 0 rgba(0,0,0,.5);
  -moz-box-shadow: 0 0 0 0 rgba(0,0,0,.5);
  -o-box-shadow: 0 0 0 0 rgba(0,0,0,.5);
  box-shadow: 0 0 0 0 rgba(0,0,0,.5);

  -webkit-transition: -webkit-transform .5s, opacity .5s;
  -moz-transition: -moz-transform .5s, opacity .5s;
  -o-transition: -o-transform .5s, opacity .5s;
  transition: transform .5s, opacity .5s;
 
}
.ag-timeline_item:nth-child(2n+1) .sp-imgs {
  -webkit-transform: translateX(200%);
  -moz-transform: translateX(200%);
  -ms-transform: translateX(200%);
  -o-transform: translateX(200%);
  transform: translateX(200%);
  position: absolute;
  top: 100px;
  right: 20px;
}
.ag-timeline_item:nth-child(2n) .sp-imgs {
  -webkit-transform: translateX(-200%);
  -moz-transform: translateX(-200%);
  -ms-transform: translateX(-200%);
  -o-transform: translateX(-200%);
  transform: translateX(-200%);
  position: absolute;
  top: 100px;
  left: 20px;
}
.js-ag-active.ag-timeline_item:nth-child(2n+1) .sp-imgs,
.js-ag-active.ag-timeline_item:nth-child(2n) .sp-imgs {
  opacity: 1;

  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
  text-align: right;
}

.ag-timeline-card_arrow {
  height: 18px;
  width: 18px;
  margin-top: 20px;
  background-color: #ffffff;

  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%;
}
.js-timeline_item ag-timeline_item {
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}
.ag-timeline-card_inner {
  background-color: #fff;
}
.ag-timeline-card_info {
  padding: 20px 30px;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  

  .ag-timeline-card_desc {
    padding-bottom: 30px;
  }


  .parent-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 2px;
    grid-row-gap: 8px;
    margin-top: 10px;
    margin-bottom: 10px;
    }
    
    .div1 { 
      grid-area: 1 / 1 / 2 / 2;

      .p{
        font-size: 10px;
      }
     }
    .div2 { 
      grid-area: 1 / 2 / 2 / 3;
      
      .p{
        font-size: 10px;
      }
    }
    .div3 { 
      grid-area: 1 / 3 / 2 / 4;
      
      .p{
        font-size: 10px;
      }
    }
    .div4 { 
      grid-area: 1 / 4 / 2 / 5;
      
      .p{
        font-size: 10px;
      }
    }
    .div5 { 
      grid-area: 2 / 4 / 3 / 5;
      
      .p{
        font-size: 10px;
      }
    }
    .div6 { 
      grid-area: 2 / 3 / 3 / 4;
      
      .p{
        font-size: 10px;
      }
    }
    .div7 { 
      grid-area: 2 / 2 / 3 / 3;
      
      .p{
        font-size: 10px;
      }
    }
    .div8 { 
      grid-area: 2 / 1 / 3 / 2;
      
      .p{
        font-size: 10px;
      }
    }

    /* -drop down- */
    .container37 {
      width: 100%;
      max-width: 600px;
      margin: 0 auto;
      padding-bottom: 10px;
      
    }
    .head37 {
        display: flex;
        align-items: center;
        cursor: pointer;
        background-color: #128385;
        border-radius: 12px;
        justify-content: space-between;
        /* background-color: rgba(255, 147, 84, 0.4);padding: 4px; */
    }
    .head37 .title37 {
        padding: 8px;
        font-weight: 600;
        font-size: 16px;
        color: rgb(255, 255, 255);
    }
    .head37 .icon37 {
        width: 20px;
        height: auto;
        transition: transform 0.3s;
        margin-right: 15px;
    }
    .list37 {
        margin-top: 10px;
        padding-left: 20px;
        /* display: none; */
        row-gap: 5px;
        
    }
    /* .list37.show37 {
        display: block;
    }
    .head37.open37 .icon37 {
        transform: rotate(180deg);
        
    } */

    

    /* pdf */
    .containerpdf {
      max-width: 600px;
      margin: 0 auto;
      background: white;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }
    .headerpdf {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
    }
    .headerpdf img {
        width: 24px;
        height: 24px;
        margin-right: 10px;
    }
    .resourcespdf {
        /* list-style-type: none; */
        padding: 0;
        padding-left: 20px;
    }
    .resourcespdf li {
        margin-bottom: 10px;
        list-style-type: disc;
        list-style-position: inherit;
        color: #E36B4A;
        font-size: 20px;
    }
    .resourcespdf a {
        text-decoration: none;
        color: #E36B4A;
        font-size: 16px;
        font-weight: 500;
    }
    .resourcespdf a:hover {
        text-decoration: underline;
    }
}

.ag-timeline-card_title {
  display: none;
  margin: 10px 0 0;

  font-family: 'Inter', sans-serif;
  font-weight: bold;
  font-size: 28px;
  color: #E36B4A;
}
.ag-timeline-card_desc {
  line-height: 1.45;
  margin-top: 5px;
  font-size: 16px;
  color: #000;
  font-weight: 500;
}




@media only screen and (max-width: 979px) {
  .ag-timeline_line {
    left: 30px;
  }

  .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: 40px;
    line-height: 40px;
    width: 40px;
  }
  .ag-timeline-card_item {
    width: auto;
    margin: -65px 0 0 75px
  }
  .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;
  }
  .ag-timeline-card_arrow {
    margin-top: 12px;
  }
}

@media only screen and (max-width: 767px) {
  .ag-format-container {
    width: 96%;
  }

  .ag-timeline-card_img {
    height: auto;
    width: auto;
  }
}

@media only screen and (max-width: 639px) {
  .ag-timeline_title {
    font-size: 60px;
  }

  .ag-timeline-card_info {
    padding: 10px 15px;
  }
  .ag-timeline-card_desc {
    font-size: 14px;
  }
}

@media only screen and (max-width: 479px) {

}

@media (min-width: 768px) and (max-width: 979px) {
  .ag-format-container {
    width: 750px;
  }

}

@media (min-width: 980px) and (max-width: 1161px) {
  .ag-format-container {
    width: 960px;
  }

}