/* timeline style 2
 ------------------------------ */

/** timeline box structure **/
.timeline-2 {
    list-style: none;
    padding: 20px 0 20px;
    position: relative;
  }
  
  /*timeline vertical bar*/
  .timeline-2:before {
    top: 0;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 3px;
    background-color: #f25858;
    left: 50%;
    margin-left: -1.5px;
  }
  
  .tldate{
    position: absolute;
    top: 0;
    left: calc(50% - 50px);
    display: block;
    width: 100px;
    height:100px;
    background: #f25858;
    border: 5px solid #dbdbdb;
    color: #fff;
    font-size:18px;
    margin: 0 auto;
    padding: 30px 0 0 0;
    line-height:25px;
    font-weight: normal;
    text-align: center;
    border-radius:50%;
    -webkit-box-shadow: none;
    letter-spacing: -0.05em;
  }
  .tldate.nocircle{
    border-radius:0px;
  }
  
  .timeline-2 li {
    margin-bottom: 25px;
    position: relative;
  }
  
  .timeline-2 li:before, .timeline-2 li:after {
    content: " ";
    display: table;
  }
  .timeline-2 li:after {
    clear: both;
  }
  .timeline-2 li:before, .timeline-2 li:after {
    content: " ";
    display: table;
  }
  
  /** timeline panels **/
  .timeline-2 li .timeline-panel {
    width: 46%;
    float: left;
    background: transparent;
  /*  border: 1px solid #e4e4e4;*/
    padding: 5px;
    position: relative;
    margin-top: 0px;
    border-radius: 6px;
  /*  -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;*/
  /*  -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);*/
  }
  
  /** panel arrows **/
  .timeline-2 li .timeline-panel:before {
    position: absolute;
    top: 26px;
    right: -15px;
    display: inline-block;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    content: " ";
  }
  
  .timeline-2 li .timeline-panel:after {
    position: absolute;
    top: 27px;
    right: -14px;
    display: inline-block;
    border-top: 14px solid transparent;
    border-left: 14px solid #fff;
    border-right: 0 solid #fff;
    border-bottom: 14px solid transparent;
    content: " ";
    display: none;
  }
  .timeline-2 li .timeline-panel.noarrow:before, .timeline-2 li .timeline-panel.noarrow:after {
    top:0;
    right:0;
    display: none;
    border: 0;
  }
  
  .timeline-2 li.timeline-inverted .timeline-panel {
    float: right;
  }
  
  .timeline-2 li.timeline-inverted .timeline-panel:before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto;
  }
  
  .timeline-2 li.timeline-inverted .timeline-panel:after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto;
  }
  
  
  /** timeline circle icons **/
  .timeline-2 li .tl-circ {
    position: absolute;
    top: 23px;
    left: 50%;
    text-align: center;
    background: #f5f5f5;
    color: #fff;
    width: 35px;
    height: 35px;
    line-height: 35px;
    margin-left: -18px;
    border: 3px solid #f25858;
    border-top-right-radius: 50%;
    border-top-left-radius: 50%;
    border-bottom-right-radius: 50%;
    border-bottom-left-radius: 50%;
    z-index: 99;
  }
  .timeline-2 li .post-content {
      width:100%;
      float:left;
      padding:20px;
      background-color:#fff;
      text-align: right;
      border-radius: 4px;
  }
  .timeline-2 li.timeline-inverted .post-content {
    text-align: left;
}
  .timeline-2 li .post-img {
      width:100%;
      float:left;
  }
  .timeline-2 li .post-info {
      width:100%;
      padding:10px 0 0 0;
      float:right;
  }
  .timeline-2 li .post-info .title {
    font-weight: 400;
    letter-spacing: -0.05em;
    color: #525252;
    line-height: 1.2;
  }
  .timeline-2 li .post-info p {
      margin-bottom: 5px;
      line-height: 1.2;
  }
  .timeline-2 li .post-info .em-row-gap-5:not(:first-child) p {
      margin-bottom: 0;
  }
  .timeline-2 li .post-info .img-zone {
    width: 100%;
    margin: 10px 0 0;
    padding-bottom: 10px;
}
.timeline-2 li .post-info .img-zone img {
    max-width: 100%;
    height: auto;
}
  .timeline-2 li .post-info.nopadding {
      padding: 0;
  }
  .timeline-2 li .post-content .blog-post-info {
    width: 60px !important;
    line-height: 1.0;
    margin-top: 3px;
    margin-bottom: 7px;
  }
  .timeline-2 li .post-content .blog-post-info span {
    margin-right: 0;
  }
  
  /*
  -----timeline dark---------
  */
  .timeline-2.tl-dark li .tldate{
    background: #fff;
    color: rgba(0,0,0,1.0);
  }
  .timeline-2.tl-dark li .tl-circ {
    border: 3px solid #323335;
  }
  .timeline-2.tl-dark:before {
    background-color: #efefef;
  }
  
  /*
  -----timeline green---------
  */
  .timeline-2.tl-green li .tldate{
    background: #36c67d;
    color: #fff;
  }
  .timeline-2.tl-green li .tl-circ {
    border: 3px solid #36c67d;
  }
  .timeline-2.tl-green:before {
    background-color: #36c67d;
  }

@media only screen and (min-width: 992px) {
  .timeline-2.no-date li {
    min-height: 12px;
  }
  .timeline-2.no-date li .post-content {
    padding-top: 32px;
    padding-bottom: 25px;
  }
  /* min-width: 1201px 으로 적용했던 코드 */
  .timeline-2 {
    row-gap: 2.4em;
  }
  .timeline-2 li .timeline-panel {
    background: transparent;
  }
  .timeline-2 li .post-content {
    padding: 0 20px;
  }
  .timeline-2.no-date li .post-content {
    padding: 0 20px;
  }
  .timeline-2 li .post-content .blog-post-info {
    float: right;
  }
  .timeline-2 li .post-content .blog-post-info span {
    font-size: 20px;
    font-weight: 700;
    color: #929292;
    position: relative;
  }
  .timeline-2 li .post-content .blog-post-info span::before {
    content: "-  ";
    font-weight: 300;
  }
  .timeline-2 li .post-content .em-row-gap-5 {
    width: calc(100% - 60px)
  }
  .timeline-2.no-date li .post-content .em-row-gap-5 {
    width: 100%
  }
  .tldate {
    font-size: 34px;
    border: 0;
    top: 5px;
    left: calc(50% - 40px);
    width: 240px;
    height: 34px;
    padding: 0 0 0 60px;
  }
  .tldate::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 10.5%;
    width: 30px;
    height: 30px;
    border: 4px solid #008ba2;
    background-color: #fff;
    border-radius: 50%;
  }
  .tldate::after {
    content: "";
    position: absolute;
    top: 12px;
    left: 22.5%;
    width: 45px;
    height: 1px;
    background-color: #929292;
  }
  .timeline-2.tl-dark li .tldate {
    background: #fff;
    font-weight: 600;
  }
  .timeline-2 li.timeline-inverted .post-content .blog-post-info {
    float: left;
  }
  .timeline-2 li.timeline-inverted .post-content .blog-post-info span::before {
    content: "";
  }
  .timeline-2 li.timeline-inverted .post-content .blog-post-info span::after {
    content: "  -";
    font-weight: 300;
  }
  .timeline-2 li.timeline-inverted .post-content .em-row-gap-5 {
    float: right;
  }
  .timeline-2 li.timeline-inverted .tldate {
    font-size: 34px;
    border: 0;
    top: 5px;
    left: unset;
    right: calc(50% - 40px);
    width: 240px;
    height: 34px;
    padding: 0 60px 0 0;
  }
  .timeline-2 li.timeline-inverted .tldate::before {
    content: "";
    position: absolute;
    top: -2px;
    left: unset;
    right: 10.5%;
    width: 30px;
    height: 30px;
    border: 4px solid #008ba2;
    background-color: #fff;
    border-radius: 50%;
  }
  .timeline-2 li.timeline-inverted .tldate::after {
    content: "";
    position: absolute;
    top: 12px;
    left: unset;
    right: 22.5%;
    width: 45px;
    height: 1px;
    background-color: #929292;
  }
}
@media only screen and (max-width: 991px) {
  .tldate {width: 70px;height: 70px;left: calc(50% - 35px);padding: 17px 0 0 0;}
  ul.timeline-2 > li > .tldate {left: -10px;}
  ul.timeline-2:before {left: 26px;}
  ul.timeline-2 > li > .timeline-panel {
    float: right;
    width: calc(100% - 45px);
    width: -moz-calc(100% - 45px);
    width: -webkit-calc(100% - 45px);
  }
  .timeline-2 li .post-content {
    text-align: left;
  }
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 700px) {
    ul.timeline-2 > li > .tldate {left: -10px;}
}
@media only screen and (max-width: 640px) {
    .timeline-2 li .post-info h4 {font-size: 18px;}
    .timeline-2 li .timeline-panel {padding: 5px}
}
@media only screen and (max-width: 480px) {
}
