
ol.rule {
    position: relative;
    display: block;
    margin: 40px;
    height: 2px;
    max-width: 1920px;
    background: #fff;
    -webkit-box-shadow: 0px 0px 50px 20px rgba(159, 174, 204, 1);
    -moz-box-shadow: 0px 0px 50px 20px rgba(159, 174, 204, 1);
    box-shadow: 0px 0px 50px 20px rgba(159, 174, 204, 1);
    white-space: nowrap;
    word-wrap: normal;
    text-align: center;
}

/* ---- Timeline elements ---- */

li.rule {
    position: relative;
    top: -55px;
    display: inline-block;
    width: 75px;
    height: 100px;
    font: bold 16px arial;
    text-align: center;
    margin-right: 5px;
    color: #fff;
/*    -webkit-box-shadow: 0px 0px 50px 20px rgba(159, 174, 204, 1),
0 px 0 px 10 px 0 px rgba(159, 174, 204, 1) inset;;
    -moz-box-shadow: 0px 0px 50px 20px rgba(159, 174, 204, 1),
0 px 0 px 10 px 0 px rgba(159, 174, 204, 1) inset;;
    box-shadow: 0px 0px 50px 20px rgba(159, 174, 204, 1),
    0px 0px 10px 0px rgba(159, 174, 204, 1) inset;;*/

}

.triangle {
    display: none;
    content: url(img/icon.svg);
    position: absolute;
    width: 15px;
    height: 30px;
    z-index: 100;
    left: 50%;
    top: 38px;
}

li.rule::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 50%;
    display: block;
    height: 25px;
    width: 1px;
    border: none;
    border-left: 1px solid #fff;
    background: #eee;
}

/* ---- Details ---- */

.details.rule {
    display: none;
    position: absolute;
    left: 3px;
    top: -60px;
    padding: 15px;
    border-radius: 3px;
    /*border-bottom: 2px solid rgba(0, 0, 0, .1);*/
    font: bold 15px arial;
    background: rgb(255, 252, 0) !important;

    -webkit-box-shadow: 0px 0px 14px 7px rgb(255, 252, 0);
    -moz-box-shadow: 0px 0px 14px 7px rgb(255, 252, 0);
    box-shadow: 0px 0px 14px 7px rgb(255, 252, 0);
}

.details.rule::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 44px;
    display: block;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-top-color: rgb(255, 252, 0) !important;;
    border-bottom: 0;
}

/* ---- Hover effects ---- */

li.rule:hover, li.rule:hover:before {
    cursor: pointer;
    /*color: #28e;*/
    color: #fff;
}

li.rule:hover .details.rule {
    display: block;
    color: #444;
}