[data-cattype="223"] {
    background: #e0d4be !important;
}

ul.timeline {
    max-width: 1000px;
    text-align: right;
    margin: 30px auto 0;
    padding-top: 30px;
    background: url('../../../data/ckfinder/images/islamicfinance/timeline-bg.png') top center repeat-y;
    padding-bottom: 15px;
}

ul.timeline li {
    max-width: 50%;
    min-height: 180px;
    height: auto;
    margin: 10px 0px;
    position: relative;
}

ul.timeline li h3 {
    color: #4680c3;
    font-size: 40px;
}

ul.timeline li:nth-child(odd) {
    text-align: right;
    margin-top: 90px;
    padding: 0 60px 0 0;
    /*    border: 1px dotted #fff;*/
}

ul.timeline li:nth-child(odd):before {
    content: "";
    position: absolute;
    width: 100%;
    height: 30px;
    top: 12px;
    right: -7px;
    background: url('../../../data/ckfinder/images/islamicfinance/tag.png') top right no-repeat;
}

ul.timeline li:nth-child(even) {
    text-align: left;
    padding: 0 15px 0 60px;
    margin-top: -45px;
    margin-bottom: 45px;
	min-width: 500px;
    /*    border: 1px dotted #ff0000;*/
}

ul.timeline li:nth-child(even):before {
    content: "";
    position: absolute;
    top: 7px;
    left: -8px;
    width: 100%;
    height: 30px;
    background: url('../../../data/ckfinder/images/islamicfinance/tag.png') top left no-repeat;
}

ul.timeline li.empty {
    visibility: hidden;
}

ul.timeline li.empty:before {
    background: none;
}

[data-cattype="223"] .summary {
    max-height: 80px;
    overflow: hidden;
    margin-bottom: 10px;
    position: relative;
}

[data-cattype="223"] .summary:after {
    content: "";
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 80px;
    left: 0px;
    background: url('../../../data/ckfinder/images/islamicfinance/feather.png') no-repeat;
    overflow: hidden;
}
@media screen and (max-width:980px) {
ul.timeline li:nth-child(even) {
	min-width: auto;
}
}

@media (max-width:767px) {
    [data-cattype="223"] .summary:after {
        left: 5px;
        overflow: hidden;
        bottom: 32px;
        width: 80%;
    }
    @media (min-width:481px) and (max-width:767px) {
        [data-cattype="223"] .summary:after {
            bottom: 22px;
            left: 0px;
        }
    }
}