/* Timeline */
.timeline {
    position: relative;
    width: 1000px;
    padding: 0 12px;
    margin: auto;
}

.timeline__year {
    position: relative;
    width: 436px;
    height: 40px;
    font-size: 32px;
    color: #3A3086;
    line-height: 38px;
    margin: 30px 0 20px;
    text-align: right;
    padding-right: 20px;
    clear: both;
}

.timeline__line {
    display: block;
    width: 436px;
    height: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 5px 0 10px;
    position: relative;
}

.timeline__line:after {
    content: '';
    display: block;
    border-bottom: 1px solid #0D146D;
    width: 100%;
    margin-left: -6px;
    padding-right: 6px;
    box-sizing: content-box;
    position: relative;
    z-index: 2;
}

.timeline__year:before,
.timeline__line:before {
    content: '';
    display: block;
    width: 9px;
    height: 9px;
    position: absolute;
    z-index: 1;
    left: 100%;
    top: 50%;
    margin-top: -4.5px;
    margin-left: -1px;
    background: #0D146D;
    border: 1px solid #F2F2F2;
    border-radius: 50%;
}

.posts {
    width: 920px;
    min-height: 700px;
    padding: 0 20px 20px;
    margin-left: -20px;
    position: relative;
    overflow: hidden;
}

.posts__central-line {
    width: 0;
    height: 100%;
    border-right: 1px solid #0D146D;
    position: absolute;
    z-index: 1;
    left: 459px;
    top: 0;
}

.posts__section {
    position: relative;
    z-index: 2;
    clear: both;
}

.post {
    width: 100%;
    padding: 20px 20px 15px;
    margin-bottom: 10px;
    background: #FFFFFF;
    transition: box-shadow 300ms linear;
}

.posts__section .post {
    width: 420px;
    margin-top: 20px;
}

.post.post_flash {
    box-shadow: 0 0 20px #BC07FE;
}

.post__title {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 18px;
    font-weight: normal;
    color: #0D146D;
    line-height: 21px;
    margin: 0;
}

.post_flash .post__title,
.post__title:hover {
    color: #BC07FE;
}

.posts__section_special .post__title {
    font-size: 24px;
    color: #E15050;
    line-height: 28px;
    margin-bottom: 20px;
}

.posts__section_special .post_flash .post__title,
.posts__section_special .post__title:hover {
    color: #E15050;
}

.posts__section_special .timeline__line {
    display: none;
}

.posts__col {
    float: left;
    width: 50%;
}

.posts__col_1 .post {
    margin-left: 20px;
}

.posts__col_1 .post:first-child {
    margin-top: 50px;
}

.posts__col_0 .post .timeline__line {
    margin-left: -20px;
}

.posts__col_0 .post .timeline__line:after {
    margin-left: 0;
    margin-right: -6px;
    padding-right: 0;
    padding-left: 6px;
}

.posts__col_1 .post .timeline__line {
    margin-left: -36px;
}

.posts__col_1 .post .timeline__line:before {
    left: -8px;
}

.timeline .posts__section_special .post {
    clear: both;
    border-top: 3px solid #F2F2F2;
    border-bottom: 3px solid #F2F2F2;
    padding: 30px 80px 25px;
    margin-left: 0;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 0;
}

.timeline .posts__section_same .post:first-child {
    margin-top: 20px;
}

.post_flash .timeline__line:after,
.post:hover .timeline__line:after {
    border-color: #BC07FE;
}

.post_flash .timeline__line:before,
.post:hover .timeline__line:before {
    background: #BC07FE;
}

.post__thumbnail {
    position: relative;
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: 20px;
    text-align: center;
    overflow: hidden;
}

.post__thumbnail img {
    max-width: 420px;
}

.posts__section_special .post__thumbnail {
    margin-left: 0;
    text-align: center;
}

.posts__section_special .post__thumbnail img {
    max-width: 720px;
}

.post__icon {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    width: 67px;
    height: 67px;
    margin-top: -33.5px;
    margin-left: -33.5px;
}

.post_flash .post__icon ellipse,
.post__thumbnail:hover .post__icon ellipse {
    stroke: #BC07FE;
}

.post_flash .post__icon path,
.post__thumbnail:hover .post__icon path {
    fill: #BC07FE;
}

.post__excerpt {
    display: block;
    font-size: 16px;
    color: #1D1D1D;
    line-height: 28px;
    margin-bottom: 20px;
}

/* Years/months sidebar */
.calendar {
    position: absolute;
    z-index: 1;
    left: 920px;
    top: 0;
    padding-top: 90px;
    -webkit-user-select: none;
    user-select: none;
}

.calendar ul {
    padding-left: 0;
    margin-left: 0;
}

.calendar li {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.calendar li ul {
    margin-bottom: 20px;
}

.calendar__year {
    font-weight: bold;
    font-size: 18px;
    color: #6F6F6F;
    line-height: 32px;
    cursor: pointer;
}

.calendar__opened .calendar__year,
.calendar__year:hover {
    color: #CA3BFF;
}

.calendar__months {
    display: none;
}

.calendar__opened .calendar__months {
    display: block;
}

.calendar__month {
    font-weight: normal;
    font-size: 14px;
    color: #5C5C5C;
    line-height: 23px;
    cursor: pointer;
}

.calendar__month:hover {
    color: #CA3BFF;
}
