/* 모든 스타일은 css 충돌방지를 위해 .history을 기준으로 작성 하시면 됩니다. 예) .history .box {} */
.history {}

:root {
  --main-color:                   #0089cf;
}

.container-fluid--- {
    max-width: 1366px
}
.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;
}
@media (max-width:768px) {
    .contenttitle  {
        font-size: 30px
    }
}


.history_hpea {
    position: relative;
    padding: 45px 0 15px 0
}

.history_hpea .hitimeline {
    position: relative;
    width: 100%
}

.history_hpea .hitimeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--main-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px
}

.history_hpea .hitimeline .hitimeline-item {
    position: relative;
    background: inherit;
    width: 50%;
    margin-bottom: 30px
}

.history_hpea .hitimeline .hitimeline-item.left {
    left: 0;
    padding-right: 30px
}

.history_hpea .hitimeline .hitimeline-item.right {
    left: 50%;
    padding-left: 30px
}

.history_hpea .hitimeline .hitimeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 48px;
    right: -8px;
    background: #fff;
    border: 2px solid var(--main-color);
    border-radius: 16px;
    z-index: 1
}

.history_hpea .hitimeline .hitimeline-item.right::after {
    left: -8px
}

.history_hpea .hitimeline .hitimeline-item::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    top: 46px;
    right: 10px;
    z-index: 1;
    border: 10px solid;
    border-color: transparent transparent transparent #ddd
}

.history_hpea .hitimeline .hitimeline-item.right::before {
    left: 10px;
    border-color: transparent #ddd transparent transparent
}

.history_hpea .hitimeline .hitimeline-date {
    position: absolute;
    width: 100%;
    top: 44px;
    font-size: 16px;
    font-weight: 600;
    color: var(--main-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 1
}

.history_hpea .hitimeline .hitimeline-item.left .hitimeline-date {
    text-align: left;
    left: calc(100% + 55px)
}

.history_hpea .hitimeline .hitimeline-item.right .hitimeline-date {
    text-align: right;
    right: calc(100% + 55px)
}

.history_hpea .hitimeline .hitimeline-text {
    padding: 30px;
    background: #fff;
    position: relative;
    border-right: 5px solid #ddd;
    box-shadow: 0 0 60px rgba(0, 0, 0, .08)
}

.history_hpea .hitimeline .hitimeline-item.right .hitimeline-text {
    border-right: none;
    border-left: 5px solid #ddd
}

.history_hpea .hitimeline .hitimeline-text .h2 {
    margin: 0 0 5px 0;
    font-size: 22px;
    font-weight: 600
}

.history_hpea .hitimeline .hitimeline-text p {
    margin: 0;
    font-size: 16px
}

@media (max-width:768px) {
    .history_hpea .hitimeline::after {
        left: 8px
    }

    .history_hpea .hitimeline .hitimeline-item {
        width: 100%;
        padding-left: 38px
    }

    .history_hpea .hitimeline .hitimeline-item.left {
        padding-right: 0
    }

    .history_hpea .hitimeline .hitimeline-item.right {
        left: 0;
        padding-left: 38px
    }

    .history_hpea .hitimeline .hitimeline-item.left::after,
    .history_hpea .hitimeline .hitimeline-item.right::after {
        left: 0
    }

    .history_hpea .hitimeline .hitimeline-item.left::before,
    .history_hpea .hitimeline .hitimeline-item.right::before {
        left: 18px;
        border-color: transparent #ddd transparent transparent
    }

    .history_hpea .hitimeline .hitimeline-item.left .hitimeline-date,
    .history_hpea .hitimeline .hitimeline-item.right .hitimeline-date {
        position: relative;
        top: 0;
        right: auto;
        left: 0;
        text-align: left;
        margin-bottom: 10px
    }

    .history_hpea .hitimeline .hitimeline-item.left .hitimeline-text,
    .history_hpea .hitimeline .hitimeline-item.right .hitimeline-text {
        border-right: none;
        border-left: 5px solid #ddd
    }
}
