 /* 모든 스타일은 css 충돌방지를 위해 .timeline_chp을 기준으로 작성 하시면 됩니다. 예) .timeline_chp .box {} */
  .timeline_chp{}

:root {
  --white-color:                  #FFFFFF;
  --primary-color:                #247cff;
  --main-color:                   #00508f;
  --border-color:                 #eaeaea;
  --icon-font-size:                 20px;
}

.section-padding {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.contenttitle{
  font-size: 1.1rem;
  margin-bottom: 100px;
}
.contenttitle p{
    display: inline-block;
    margin: 0 30px;
    margin-bottom: 10px;
    padding-left: 15px;
    position: relative;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: #fff;
}

.contenttitle .contenttitle_font{
  font-size: 2.1rem;
}

.contenttitle p::before {
    position: absolute;
    content: "";
    height: 3px;
    top: 11px;
    right: 0;
    left: -30px;
    background: var(--main-color);
    z-index: -1;
}
.contenttitle p::after {
    position: absolute;
    content: "";
    width: 3px;
    height: 3px;
    top: 11px;
    left: 3px;
    background: var(--main-color);
    z-index: 1;
}

.timecolor{
  font-size: 1.1rem;
  margin-top: -5px;
  color: var(--main-color);
}

.timeline_chp-nodes:nth-child(odd) .h3::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translate(0, -50%);
    width: 0;
    border-left: 10px solid var(--main-color);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.timeline_chp-nodes .h3 {
    position: relative;
    border-radius: 0.25rem 0.25rem 0 0;
}
.timeline_chp .h3 {
    background: var(--main-color);
}

.timeline_chp .h3, .timeline_chp p {
    padding: 10px 30px;
}

.timeline_chp-nodes:nth-child(odd) .h3, .timeline_chp-nodes:nth-child(odd) p {
    text-align: right;
}

.timeline_chp,
.timeline_chp-nodes {
  position: relative;
}

.timeline_chp-nodes:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline_chp h3, 
.timeline_chp p {
    padding: 15px 15px;
    font-size: 1rem;
    line-height: 25px;
} 

.timeline_chp h3 {
  background: var(--main-color);
}

.timeline_chp::before {
  content: "";
  display: block;
  position: absolute;
  top: 37px;
  left: 50%;
  width: 0;
  border-left: 1px solid var(--border-color);
  height: 85%;
  /*z-index: 1;*/
  transform: translateX(-50%);
}

.timeline_chp-content {
  position: relative;
  border-radius: 0 0 0.25rem 0.25rem;
  padding: 0;
}

.timeline_chp-nodes:nth-child(odd) h3,
.timeline_chp-nodes:nth-child(odd) p {
  text-align: right;
}
.timeline_chp-nodes:nth-child(odd) .h3,
.timeline_chp-nodes:nth-child(odd) p {
  text-align: right;
}

.timeline_chp-nodes:nth-child(odd) .timeline_chp-date {
  text-align: left;
}
 
.timeline_chp-nodes:nth-child(even) .timeline_chp-date {
  text-align: right;
}

.timeline_chp-nodes:nth-child(odd) h3::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translate(0, -50%);
  width: 0;
  border-left: 10px solid var(--main-color);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.timeline_chp-nodes h3 {
  position: relative;
  border-radius: 0.25rem 0.25rem 0 0;
}

.timeline_chp-nodes:nth-child(even) .h3::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translate(0, -50%);
  width: 0;
  border-right: 10px solid var(--main-color);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.timeline_chp-nodes:nth-child(odd) .h3::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translate(0, -50%);
  width: 0;
  border-left: 10px solid var(--main-color);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.timeline_chp-nodes .h3 {
  position: relative;
  border-radius: 0.25rem 0.25rem 0 0;
  font-size: 1.2rem;
}

.timeline_chp-nodes:nth-child(even) .h3::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translate(0, -50%);
  width: 0;
  border-right: 10px solid var(--main-color);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.timeline_chp-icons {
  position: relative;
  z-index: 100;
}

.timeline_chp-icons::before {
  content: "";
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%,0);
  background: var(--white-color);
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
    /*z-index: 1;*/
}

.timeline_chp-icon {
  position: relative;
  z-index: 100;
  font-size: var(--icon-font-size);
  color: var(--primary-color);
  display: block;
  text-align: center;
  line-height: 55px;
}

  
@media (max-width: 767px) {
  .timeline_chp-nodes:nth-child(odd) .h3,
  .timeline_chp-nodes:nth-child(odd) p {
    text-align: left;
  }
  
  .timeline_chp-icon {
	left: 15%;
	line-height: 35px;
    }
  
  .timeline_chp-nodes:nth-child(even) {
    flex-direction: row;
  }
  
  .timeline_chp::before {
    content: "";
    display: block;
    position: absolute;
    top: 60px;
    left: 7%;
    width: 0;
    height: 90%;
    /*z-index: 1;*/
    transform: translateX(-50%);
  }

  .timeline_chp-icons {
    position: absolute;
    left: 0%;
    top: 60px;
  }

  .timeline_chp-nodes:nth-child(odd) h3::after {
    left: auto;
    right: 100%;
    border-left: 0;
    border-right: 10px solid var(--main-color);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
  }

  .timeline_chp-nodes:nth-child(even) h3::after {
    right: 100%;
    width: 0;
    border-right: 10px solid var(--main-color);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
  }
  
    .timeline_chp-nodes:nth-child(odd) .h3::after {
    left: auto;
    right: 100%;
    border-left: 0;
    border-right: 10px solid var(--main-color);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
  }

  .timeline_chp-nodes:nth-child(even) .h3::after {
    right: 100%;
    width: 0;
    border-right: 10px solid var(--main-color);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
  }

  .timeline_chp-nodes:nth-child(even) .timeline_chp-date {
    text-align: left;
  }

  .timeline_chp-icons::before {
    width: 35px;
    height: 35px;
    left: 90%
  }

  .timeline_chp-icon {
    line-height: 75px;
  }
}

@media (max-width: 575px) {
  .timeline_chp::before {
    content: "";
    display: block;
    top: 60px;
    left: 5%;
    height: 87%;
  }

  .rowsp {
    margin-right: 0px;
  }
 
  .order-2 {
      order: 2;
  }
  
  .timeline_chp-icons {
    position: absolute;
    left: -10px;
  }

  .timeline_chp-icons::before {
	width: 30px;
    height: 30px;
    left: 52%
  }

  .timeline_chp-icon {
    line-height: 70px;
  }
}

