/* -------------------------------------
 * timeline
 * ------------------------------------- */
#timeline-con {
    padding: 0 100px;
}
#timeline {
    list-style: none;
    margin: 50px 0 30px 120px;
    padding-left: 30px;
    border-left: 12px solid #B71C22;
}
#timeline li {
    margin: 40px 0;
    position: relative;
}
#timeline p {
    margin: 0 0 15px;
}

.date {
    margin-top: -10px;
    top: 50%;
    left: -158px;
    font-size: 0.95em;
    line-height: 20px;
    position: absolute;
}

.circle {
    margin-top: -10px;
    top: 50%;
    left: -41px;
    width: 10px;
    height: 10px;
    background: #B71C22;
    border: 5px solid #FFFFFF;
    border-radius: 50%;
    display: block;
    position: absolute;
}

.content {
    /*max-height: 20px;*/
    padding: 50px 20px 0;
    /*border-color: transparent;*/
    border-width: 2px;
    border-style: solid;
    border-radius: 0.5em;
    position: relative;

    max-height: 180px;
    border-color: #B71C22;
    margin-right: 20px;
    transform: translateX(20px);
    transition: max-height 0.4s linear, border-color 0.5s linear, transform 0.2s linear;
}
.content:before, .content:after {
    content: "";
    width: 0;
    height: 0;
    border: solid transparent;
    position: absolute;
    pointer-events: none;
    right: 100%;
}
.content:before {
    border-right-color: inherit;
    border-width: 20px;
    top: 50%;
    margin-top: -20px;
}
.content:after {
    border-right-color: #B71C22;
    border-width: 17px;
    top: 50%;
    margin-top: -17px;
}
.content p {
    /*max-height: 0;*/
    /*color: transparent;*/
    text-align: justify;
    word-break: break-word;
    hyphens: auto;
    overflow: hidden;

    max-height: 200px;
    color: #333333;
    transition: color 0.3s linear 0.3s;
}

label {
    font-size: 1.3em;
    position: absolute;
    z-index: 100;
    /*cursor: pointer;*/
    top: 16px;
    transition: transform 0.2s linear;
    margin-left: 10px;

    cursor: auto;
    transform: translateX(42px);
}

.radio {
    display: none;
}

/*.radio:checked + .relative label {*/
/*    cursor: auto;*/
/*    transform: translateX(42px);*/
/*}*/
/*.radio:checked + .relative .circle {*/
/*    background: #B71C22;*/
/*}*/
/*.radio:checked ~ .content {*/
/*    max-height: 180px;*/
/*    border-color: #B71C22;*/
/*    margin-right: 20px;*/
/*    transform: translateX(20px);*/
/*    transition: max-height 0.4s linear, border-color 0.5s linear, transform 0.2s linear;*/
/*}*/
/*.radio:checked ~ .content p {*/
/*    max-height: 200px;*/
/*    color: #333333;*/
/*    transition: color 0.3s linear 0.3s;*/
/*}*/

/* -------------------------------------
 * mobile phones (vertical version only)
 * ------------------------------------- */
@media screen and (max-width: 1200px) {
    #footer-con {
        z-index: 20;
    }
    .ad-con, .hl-cate {
        display: none;
    }
    .time-line-con {
        margin: 0 auto;
    }
    .hl-main-con {
        margin-top: 0;
    }
    #timeline-con {
        padding: 10px 20px;
    }



    #timeline {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
    }
    #timeline li {
        margin: 50px 0;
    }

    label {
        width: 85%;
        font-size: 1.1em;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        display: block;
        transform: translateX(18px);
        z-index: 9;
    }

    .content {
        padding-top: 45px;
        border-color: #eee9dc;
    }
    .content:before, .content:after {
        border: solid transparent;
        bottom: 100%;
    }
    .content:before {
        border-bottom-color: inherit;
        border-width: 17px;
        top: -16px;
        left: 50px;
        margin-left: -17px;
    }
    .content:after {
        border-bottom-color: #FFFFFF;
        border-width: 20px;
        top: -20px;
        left: 50px;
        margin-left: -20px;
    }
    .content p {
        font-size: 0.9em;
        line-height: 1.4;
    }

    .circle, .date {
        display: none;
    }
}