body,html{
	margin: 0;padding: 0;
}
.content{
	width: 1200px;
	margin: auto;
}
.content .box{
	margin: 5px 50px;
}
.content .box p{
	background: #f1f2f3;
	padding: 5px 10px;
	border-radius: 5px;
	-webkit-border-radius: 5px;
}
.time-line li{
    list-style-type: none;
}

.time-line .tl-header{
    margin: 8px;
    cursor: pointer;
}

/*鼠标移动到 年月 的效果*/
.time-line .tl-header:hover{
    -webkit-filter:brightness(.9);
}


.time-line .tl-header{
    margin: 8px;
    background-color: #009688;
    color: white;
    text-align: center;
    display: inline-block;
    padding: 0 10px;
    border-radius: 8px;
}
.time-line .tl-header h2{
    font-size: 14px;
    line-height: 8px;
}


/*时间垂直线*/
.time-line .tl-body{
    border-left: 4px solid #009688;
    margin-left: 52px;
    min-height: 88px;
    margin-top: -10px;
    padding-top: 1px;
    margin-bottom: -8px;
    position: relative;
    padding-bottom: 1px;
}
/*时间线左侧，日 样式*/
.time-line .tl-body span{
    position: absolute;
    left: -60px;
    top: 16px;
    font-weight: 400;
    font-size: 14px;
    opacity: 0.7;
}

.time-line .tl-body li{
    display: block;
    position: relative;
    left: -24px;
    margin: 8px 0;
}
.time-line .tl-body li:before{
    position: absolute;
    content: "";
    top: 22px;
    left: -22px;
    width: 4px;
    height: 4px;
    background: #fff;
    border: 2px solid #009688;
    border-radius: 50%;
    box-shadow: 0 0 0 3px #fff;
}


/*设置时间线内容样式*/
.time-line .tl-body li h3{
    font-size: 15px;
    background-color: #23b7e5;
    display: inline-block;
    margin: 8px 0;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: normal;
    max-width: 1000px;
}
.time-line .tl-body li h3:before{
    content: "";
    position: absolute;
    z-index: -1;
    left: -8px;
    border: 10px solid rgba(0, 0, 0, 0);
    border-right-color: #23b7e5;
    border-left: 0;
}

.time-line .tl-body li a{
    text-decoration: none;
    color: white;
}



/*设置时间线开始样式*/
.tl-header.start{
    position: relative;
    left: 18px;
    background: white!important;
    border-color: #dee5e7;
    border-bottom-color: #d8e1e3;

    /*-webkit-box-shadow: 0 1px 1px rgba(90,90,90,.1);*/
    /*box-shadow: 0 1px 1px rgba(90,90,90,.1);*/

    -webkit-box-shadow: 0 3px 5px -1px rgba(0,0,0,.2), 0 5px 8px 0 rgba(0,0,0,.14), 0 1px 14px 0 rgba(0,0,0,.12);
    box-shadow: 0 3px 5px -1px rgba(0,0,0,.2), 0 5px 8px 0 rgba(0,0,0,.14), 0 1px 14px 0 rgba(0,0,0,.12);

    color: black;
    padding: 0 16px;
}
.tl-header.start > h2{
    font-weight: 500;
}


/*大事件*/
.big-event{
    background-color: #f05050!important;
}
.big-event:before{
    border-right-color: #f05050!important;
}

/*出生*/
.born{
    background-color: #7266ba!important;
}
.born:before{
    border-right-color: #7266ba!important;
}

/*逝世*/
.die{
    background-color: #1c2b36!important;
}
.die:before{
    border-right-color: #1c2b36!important;
}

.date-picker {
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.date-picker input,
.date-picker button {
    padding: 10px;
    margin-right: 30px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    min-width: 60px;
    text-align: center;
}

.date-picker button {
    padding: 8px 25px;
    background-color: #009688;
    border-color: #009688;
    color: white;
    cursor: pointer;
}

.date-picker span{
    font-size: 15px;
    margin-right: 10px;
    color: #333;
}

.date-picker .error-message {
    color: red;
    font-size: 12px;
    margin-left: 10px;
}