/*  
 * Copyright (c) 2024 YiDing, all rights reserved. 
 *  
 * This is an example file of the site. You can freely copy,
 * fork, clone and download the file to your local machine.
 * But attention to replace it by your own file before you
 * deploying the site.
 */

/* ----------- 自定义时间轴      -------------- */
/*                                             */

.outerBox:after {
    /* 竖线末尾文字样式 */
    /*   content: "未完待续"; */
    width: 300px;
    color: rgb(84, 84, 85);
    position: absolute;
    margin-left: -48px;
    text-align: center;
    bottom: -30px;
    -webkit-animation: showIn 5.5s ease;
    animation: showIn 5.5s ease;
}

.outerBox .dateBox,
.outerBox .dateLeftBox {
    /* 球球的样式 */
    position: absolute;
    margin-left: -1px;
    margin-top: -10px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 1px solid rgb(0, 0, 0);
    background: rgb(255, 255, 255);
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    -webkit-animation: showIn ease;
    animation: showIn ease;
}

@-webkit-keyframes showIn {
    /* 球球、竖线、左右的模块的动画 */
    0%,
    70% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.outerBox .dateBox:hover,
.outerBox .dateLeftBox:hover {
    /* 触摸事件后球球的样式 */
    border: 1px solid rgb(0, 0, 0);
    background: rgb(61, 51, 243);
    box-shadow: 0 0 2px 2px rgba(255, 255, 255, 0.4);
}

.outerBox .dateLeftBox div,
.outerBox .dateBox div {
    /* 左右边事件的样式 */
    left: 30px;
    margin-top: -16px;
    top: 50%;
    text-align: center;
    position: absolute;
    width: 300px;
    height: 30px;
    border: 2px solid rgb(84, 84, 85);
    border-radius: 6px;
    z-index: 2;
    overflow: hidden;
    cursor: pointer;
    /*   -webkit-animation: showIn 2s ease;
  animation: showIn 2s ease; */
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    max-height: 40px;
}

.outerBox .dateLeftBox div {
    /* 左边事件的样式 */
    left: -337px;
    margin-top: -10px;
}

.outerBox .dateBox div:hover,
.outerBox .dateLeftBox div:hover {
    /* 触摸事件后的高度 */
    height: auto;
    max-height: 100px; /* 此行为动画关键语句 */
}

.outerBox .dateBox:before,
.outerBox .dateLeftBox:before {
    /* 左右事件的角标样式 */
    left: 15px;
    content: "";
    position: absolute;
    top: -7px;
    margin-top: 1px;
    width: 0px;
    height: 0px;
    border: 8px solid transparent;
    border-right: 8px solid rgb(84, 84, 85);
    z-index: -1;
    -webkit-animation: showIn ease;
    animation: showIn ease;
}

.outerBox .dateLeftBox:before {
    /* 左边事件的角标样式 */
    left: -38px;
    margin-top: 7px;
    border: 8px solid transparent;
    border-left: 8px solid rgb(84, 84, 85);
}

.outerBox .dateBox div ul,
.outerBox .dateLeftBox div ul {
    /* 左右事件触摸展开后内容的样式 */
    list-style: none;
    text-align: left;
    line-height: normal;
    margin-top: 2px;
    width: 300px;
    padding: 1px 1px 0px 3px;
    border-top: 2px solid rgb(84, 84, 85);
    color: rgb(84, 84, 85);
    font-size: 13px;
}

.outerBox .dateBox div tl-title,
.outerBox .dateLeftBox div tl-title {
    /* 左右事件的标题样式 */
    /*     list-style: none; */
    width: 250px;
    padding: 5px;
    /*     border-top: 10px solid rgb(84, 84, 85); */
    color: rgb(25, 25, 25);
    font-size: 14px;
    font-weight: bold;
}

.timeline-list {
    margin: 0;
    font-size: 14px;
    list-style: none;
}
.timeline-item:last-child .timeline-item_tail {
    display: none;
}
.timeline-item {
    position: relative;
}
.timeline-item_tail {
    position: absolute;
    left: 5px;
    height: 100%;
    border-left: 2px solid rgb(228, 231, 237);
}

.timeline-item_tail_add {
    position: absolute;
    left: 5px;
    height: 100%;
    border-left: 2px solid rgb(228, 231, 237);
}

.timeline-item_node {
    position: absolute;
    background-color: #e4e7ed;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    left: -2px;
    width: 15px;
    height: 15px;
    background: #fff;
    border: 3px solid rgb(38, 59, 246);
}
.timeline-item_wrapper {
    position: relative;
    padding-left: 20px;
    top: 0px;
}
.timeline-item_timestamp {
    margin-bottom: 8px;
    padding-top: 0px;
    color: rgb(38, 59, 246);
    line-height: 1;
    font-weight: 700;
    font-size: 16px;
}
.tbox {
    padding: 10px;
    height: 94px;
    margin-left: -27px;
    margin-top: -40px;
}
/*                                             */
/* ----------- 自定义时间轴      -------------- */
