

 /*회사연혁, 히스트리 속성 시작*/

.timeline-container .lead {
  font-size: 2em;
  margin-bottom: 40px;
}
.timeline-container .clear {
  clear: both;
  line-height: 0;
}

.timeline-container { /*전체테이블크기*/
  /* border-left: 2px solid rgba(0, 0, 0, 0.3); */ /*전체 세로라인*/
  width:75%;
}
.timeline-container-tick {
  background: rgba(0, 0, 0, 0.3);
  content: "";
  display: block;
  height: 2px;
  left: -12px;
  width: 24px;
  position: relative;
}
.timeline-container::before { /* 상단 라인 */
	background:-moz-linear-gradient(left,rgba(0, 0, 0, 0.3) 0%,rgba(255, 255, 255, 0.0) 100%);
	background:-webkit-gradient(linear,left top,right top,color-stop(0%,rgba(0, 0, 0, 0.3)),color-stop(100%,rgba(255, 255, 255, 0.0)));
	background:-webkit-linear-gradient(left,rgba(0, 0, 0, 0.3) 0%,rgba(255, 255, 255, 0.0) 100%);
	background:-o-linear-gradient(left,rgba(0, 0, 0, 0.3) 0%,rgba(255, 255, 255, 0.0) 100%);
	background:-ms-linear-gradient(left,rgba(0, 0, 0, 0.3) 0%,rgba(255, 255, 255, 0.0) 100%);
	background:linear-gradient(to right,rgba(0, 0, 0, 0.3) 0%,rgba(255, 255, 255, 0.0) 100%);
	content: "";
	display: block;
	height: 1px;
	left: -50px;
	width: 80%;
	position: relative;
	top: -1px;
	display: none;
}
.timeline-container::after {/* 하단 라인 */
	background:-moz-linear-gradient(left,rgba(0, 0, 0, 0.3) 0%,rgba(255, 255, 255, 0.0) 100%);
	background:-webkit-gradient(linear,left top,right top,color-stop(0%,rgba(0, 0, 0, 0.3)),color-stop(100%,rgba(255, 255, 255, 0.0)));
	background:-webkit-linear-gradient(left,rgba(0, 0, 0, 0.3) 0%,rgba(255, 255, 255, 0.0) 100%);
	background:-o-linear-gradient(left,rgba(0, 0, 0, 0.3) 0%,rgba(255, 255, 255, 0.0) 100%);
	background:-ms-linear-gradient(left,rgba(0, 0, 0, 0.3) 0%,rgba(255, 255, 255, 0.0) 100%);
	background:linear-gradient(to right,rgba(0, 0, 0, 0.3) 0%,rgba(255, 255, 255, 0.0) 100%);
	content: "";
	display: block;
	height: 1px;
	left: -50px;
	width: 80%;
	position: relative;
	top:1px;
	display: none;
}
.timeline-toggle {
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 0;
	color: #333;
	cursor: pointer;
	float: right;
	text-transform: uppercase;
	white-space: nowrap;

	padding:5px 10px 5px 10px;
	margin-right: 0;
	font-size: 11pt;	
	text-align:center;
	background: -moz-linear-gradient(#fff, #f6f6f6);
	background: -ms-linear-gradient(#fff, #f6f6f6);
	background: -o-linear-gradient(#fff, #f6f6f6);
	background: -webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#f6f6f6));
	background: -webkit-linear-gradient(#fff, #f6f6f6);
	background: linear-gradient(#fff, #f6f6f6);
	border-top:1px solid #C2C2C2;
	border-bottom:1px solid #8F8F8F;
	border-left:1px solid #C2C2C2;
	border-right:1px solid #8F8F8F;
	text-shadow: 1px 1px 1px rgba(255,255,255,.44);
}
.timeline-toggle:hover {
	color: #fff;
	text-shadow: 1px 1px 1px rgba(0,0,0,.2);
	background: -moz-linear-gradient(#FFA84B, #FF6D25);
	background: -ms-linear-gradient(#FFA84B, #FF6D25);
	background: -o-linear-gradient(#FFA84B, #FF6D25);
	background: -webkit-gradient(linear, 0 0, 0 100%, from(#FFA84B), to(#FF6D25));
	background: -webkit-linear-gradient(#FFA84B, #FF6D25);
	background: linear-gradient(#FFA84B, #FF6D25);
	border-top:1px solid #F9941D;
	border-bottom:1px solid #EA632E;
	border-left:1px solid #F9941D;
	border-right:1px solid #EA632E;
}
.timeline-toggle:focus {
  outline: none;
}

.timeline-wrapper:before {
	content: "";
    display: block;
    width: 2px;
    height: 100%;
    background-color: #CDD1D5;
    position: absolute;
    left: 228px;
    top: -7px;
    bottom: 0;
}
.timeline-wrapper {
  clear: left;
  margin: 0 auto;
  width: 100%;
  text-align:left;
  display: flex;
  align-items: flex-start;
  padding-bottom: 108px;
  position: relative;
  
}

.timeline-wrapper:last-of-type {
	padding-bottom: 0;
} 

.timeline-wrapper .timeline-time::after {
  border-top: 2px solid rgba(0, 0, 0, 0.3);/*1차 가로라인*/
  content: "";
  display: inline-block;
  height: 2px;
  margin-right: 10px;
  vertical-align: middle;
  width: 34px;
  display: none;
}
.timeline-wrapper .timeline-time {
  font-size: 40px;
  font-weight: 800;
  font-family: 'paybooc', sans-serif; 
  word-break: keep-all; 
}

.timeline-event-content-wrapper::before {
	content: "";
    position: absolute;
    width: 2px;
    height: 56px;
    background-color: #CDD1D5;
    left: 90px;
	display:none;
}

.timeline-event-content-wrapper {
	display: flex;
    justify-content: flex-start;
    align-items: center;
	position: relative;
}

.timeline-wrapper .timeline-time {/*************** 1차메뉴 폰트 컬러 ***********/
  -moz-border-radius: 5px;
  border-radius: 0;
  display: inline-block;
  text-align: center;
}
.timeline-wrapper .timeline-time:hover {
  /**background: #0F9AE2;**/
  color: #000;
  -webkit-transition: background 0.2s ease-in;
  -moz-transition: background 0.2s ease-in;
  -o-transition: background 0.2s ease-in;
  transition: background 0.2s ease-in;
}
.timeline-series {
  clear: left;
  float: left;
  margin: 0 12px 0 0;
  padding: 0 4px 0 0;
  position: relative;
  width:100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.timeline-series dt::before {
 
  content: "";
  display: inline-block;
  vertical-align: middle;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-color: #8E44AD;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 4px #8E44AD;
}
.timeline-series dt {/*************** 2차메뉴 폰트 컬러 ***********/
  clear: left;
  font-size:19px;
  color: #131416;
  line-height: 150%;
  margin: 0 0px;
  font-family: "pretendard", sans-serif; 
  text-transform: uppercase;  
  word-break: keep-all;  
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 130px;
  width: 200px;
}
.mainsection10_subject{ 
	width:90%;
	display:inline-block;
	font-size:16pt;
	font-family: "pretendard", sans-serif; 
  line-height: 200%;
	word-break: keep-all; 
}
.timeline-series dt a { 
  cursor: pointer;   
}
.timeline-series dt a .closed {
  margin-left: 0;
}

.timeline-series dt a:hover {
  -webkit-transition: color 0.2s ease-in;
  -moz-transition: color 0.2s ease-in;
  -o-transition: color 0.2s ease-in;
  transition: color 0.2s ease-in;
}

.timeline-series dd {
	padding-left: 40px;
	width: 100%;
	display: flex;
    align-items: center;
}

.tick {
  background: rgba(0, 0, 0, 0.1); /*3차가로라인*/
  clear: both;
  display: block;
  height: 1px;
  left: 0;
  width: 10px;
  position: relative;
  display: none;
}
.tick-before {
  top: -6px;
}
.tick-after {
  top: -4px;
}
.timeline-event-content {/*******2차메뉴 설명********/
  display: none;
  /* margin-bottom: 1em; 
  line-height:18px */
}

.timeline-event-content p{/*******2차메뉴 설명********/
  clear: left;
  float: left;
  font-size: 19px;
  line-height: 150%;
  margin: 0px;
  width:100%;
  max-width: 750px;
  color:#131416;
}
.timeline-event-content h4 {
  clear: left;
  float: left;
  font-size: 12pt;
  margin: 0 0 0;
  padding: 0 0 0 20px;
}

.timeline-event-content  .timeline-event-conttitle {/*******2차메뉴 설명********/
  color:#131416;
  text-align:justify;
 /*  background: rgba(170,170,170,0.1); */
  -moz-border-radius: 7px;
  border-radius: 7px; 
 /*  border:1px solid rgba(0,0,0,0.09); */
  width:100%;
  padding:0px; 
  margin-left: 0;
  position: relative;
  display: inline-block;
  font-size: 19px;
  word-break: keep-all; 
  /* display: none; */
}

.timeline-event-content blockquote { /*******3차메뉴 ********/
  color:#555;
  clear: left;
  float: left;
  padding-left:20px; 
  width:70%;
  max-width: 750px;
 margin: 10px 0; 
  font-size: 12pt;
  font-family: 'pretendard', sans-serif; 
  word-break: keep-all; 
}
.timeline-event-content .fa-minus-font { vertical-align:0%; font-size:16pt; padding-right:5px; }
.timeline-event-content blockquote .attribution {
  text-align: right;
}
.timeline-event-content .media {
  float: right;
  padding: 0 0 12px;
  width: 200px;
}
.timeline-event-content .media img {
  /**border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 200px;**/  
  margin-top: -50px;
  width: 200px;height: auto;
}
.timeline-event-content .media p {
  clear: both;
  font-size: 1.4em;
  margin: 15px 0;
}
.timeline-event-content .media p a {
  text-transform: lowercase;
}


@media only screen and (max-width: 1024px) {

	.timeline-container { /*전체테이블크기*/
	  /* border-left: 2px solid rgba(0, 0, 0, 0.3);  *//*전체 세로라인*/
	  margin: 10px auto;
	  width:100%;
	}
	.timeline-event-content p{/*******2차메뉴 설명********/
	  clear: left;
	  float: left;
	  margin: 6px 10px;
	  width: 70%;
	}
	.timeline-event-content  .timeline-event-conttitle {/*******2차메뉴 설명********/
	  color:#777;
	  text-align:justify;
	  background: rgba(170,170,170,0.1);
	  -moz-border-radius: 7px;
	  border-radius: 7px; 
	  border:1px solid rgba(0,0,0,0.09);
	  width:70%;
	  padding:10px 20px; 
	  margin-left: 0;position: relative;display: inline-block;
	  font-size: 12pt;
	  word-break: keep-all; 
	}

	.timeline-event-content blockquote { /*******3차메뉴 ********/
	  color:#555;
	  clear: left;
	  float: left;
	  padding-left:20px; 
	  width:70%;
	  max-width: 750px;
	 margin: 10px 0; 
	  font-size: 12pt;
	  font-family: 'pretendard', sans-serif; 
	  word-break: keep-all; 
	}
	.timeline-event-content .media img {
	  margin-top: -50px;
	  width: 100%;
	  height: auto;
	}
}

@media only screen and (max-width: 768px) {

    /* 1. 전체 컨테이너 및 세로선 설정 */
    .timeline-container {
        width: 90%;
        margin: 20px auto;
        padding-left: 20px; /* 세로선과 내용 사이 여백 */
        border-left: 2px solid #e0e0e0; /* 회색 세로 라인 */
        box-sizing: border-box;
    }

    /* 2. 연도 (2025 등) 다시 보이게 설정 */
    .timeline-wrapper .timeline-time {
        display: block !important; /* 숨김 해제 */
        font-size: 25px;
        font-weight: 800;
        margin: 30px 0 15px 0px; /* 연도 주변 여백 */
        text-align: left;
        line-height: 1;
    }
    /* 연도 옆 불필요한 장식 제거 */
    .timeline-wrapper .timeline-time::after {
        display: none;
    }
	.timeline-wrapper:last-of-type {
		padding-bottom: 0px;
		padding-top: 24px;
	}

    /* 3. 각 항목(날짜+내용)을 감싸는 박스 - Flex 정렬 */
    .timeline-event-content-wrapper {
        display: flex;
        flex-direction: row; /* 가로 나열 */
        align-items: flex-start; /* 위쪽 기준 정렬 */
        position: relative;
        margin-bottom: 25px; /* 항목 간 간격 */
        padding-left: 2px; /* 점과 텍스트 사이 간격 */
        width: 100%;
    }

    /* 4. 날짜/월 (DT) 스타일 */
    .timeline-series dt {
        display: block;
        flex-shrink: 0; /* 너비 고정 */
        width: auto;
        min-width: 36px; /* 최소 너비 확보 */
        margin: 0 10px 0 0;
        padding: 0;
        
        font-size: 16px;
        font-weight: 700;
        color: #131416;
        font-family: 'pretendard', sans-serif;
        line-height: 1.5;
        text-align: left;
        float: none; /* 기존 float 제거 */
    }

    /* 5. [핵심] 원(점) 디자인 수정 (보라색 테두리 + 흰색 바탕) */
    .timeline-series dt::before {
        content: "";
        position: absolute;
        /* 위치 계산: (부모 padding-left 15px + 컨테이너 padding-left 20px) 등을 고려하여 세로선 위에 배치 */
        left: -30px; 
        top: 5px; /* 텍스트 높이에 맞춰 조정 */
        
        width: 14px;
        height: 14px;
        background-color: #8E44AD; /* 내부 흰색 */
        border: 2px solid #fff; /* 보라색 굵은 테두리 */
        border-radius: 50%; /* 원형 */
        box-shadow: 0 0 0 2px #8E44AD; /* 원 주변 흰색 공간 확보 (선과 분리) */
        z-index: 2;
        display: block;
        transform: none; /* 기존 중앙 정렬 해제 */
    }

    /* 기존의 불필요한 라인 및 장식 제거 */
    .tick, 
    .tick-before, 
    .tick-after,
    .timeline-series dt::after,
    .timeline-event-content-wrapper::before,
    .timeline-wrapper:before {
        display: none !important;
    }

    /* 6. 내용 (DD) 스타일 */
    .timeline-series dd {
        display: block;
        flex: 1; /* 남은 공간 모두 차지 */
        margin: 0;
        padding: 0;
        width: auto;
        float: none;
    }

    /* 텍스트 스타일 정리 */
    .timeline-event-content p,
    .timeline-event-content .timeline-event-conttitle,
    .mainsection10_subject {
        font-size: 15px !important;
        color: #131416;
        line-height: 1.5;
        margin: 0;
        padding: 0;
        background: none;
        border: none;
        text-align: left;
        word-break: keep-all; /* 단어 끊김 방지 */
    }
	.timeline-event-content .timeline-event-conttitle {
		width: 100% !important;
	}
	.timeline-event-content p {
		width: 100% !important;
	}

	.timeline-event-content p span {
		font-size: 15px !important;
	}

    /* 제목 강조 */
    .mainsection10_subject {
        font-weight: bold;
        color: #333;
    }
    
    /* 3차 메뉴(Blockquote) 여백 조정 */
    .timeline-event-content blockquote {
        margin: 5px 0 0 0;
        color: #777;
        font-size: 14px;
        width: 100%;
    }

    /* 구조 초기화 (기존 PC 스타일 덮어쓰기) */
    .timeline-wrapper {
        display: block;
        padding: 0;
        margin: 0;
    }
    .timeline-series {
        display: block;
        width: 100%;
        margin: 0;
        gap: 0;
    }
}