﻿
/* SEE SPECIFIC COMPANY COLOUR FILE FOR COLOURINGS RELATED TO THE TIMELINE */


.timeline-footer {
    position: relative;
    z-index: 99999;
    background-color: #f2f5f5;
    border: 1px solid #808080;
    border-radius: 4px;
    text-align: center;
    padding: 3px;
    font-size: 14px;
}



.main-caseTimeline {
    position: relative;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}

    .main-caseTimeline:before {
        content: "";
        width: 3px;
        height: 100%;
        /*background: #237554;*/
        position: absolute;
        top: 0;
        left: 50%;
    }

    .main-caseTimeline .caseTimeline {
        margin-bottom: 50px;
        position: relative;
    }

        .main-caseTimeline .caseTimeline:before,
        .main-caseTimeline .caseTimeline:after {
            content: "";
            display: block;
            width: 100%;
            clear: both;
        }

    .main-caseTimeline .caseTimeline-icon {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        /*background: #237554;*/
        overflow: hidden;
        margin-left: -23px;
        position: absolute;
        top: 0;
        left: 50%;
        text-align: center;
        /*color: #FFF;*/
    }

        .main-caseTimeline .caseTimeline-icon i {
            font-size: 30px;
            line-height: 50px;
            /*color: #fff;*/
        }
        .main-caseTimeline .caseTimeline-icon span {
            line-height: 50px;
            /*color: #fff;*/
        }

    .main-caseTimeline .caseTimeline-content {
        width: 45%;
        padding: 10px;
        border-width:1px;
        border-style:solid;
        /*border: 1px solid #237554;*/
        border-radius: 10px;
        /*background: #fff;*/
        -webkit-transition: all 0.3s ease 0s;
        -moz-transition: all 0.3s ease 0s;
        -ms-transition: all 0.3s ease 0s;
        transition: all 0.3s ease 0s;        
    }

        .main-caseTimeline .caseTimeline-content:before {
            content: "";
            border-left-width:7px;
            border-left-style:solid;
            /*border-left: 7px solid #237554;*/
            border-top: 7px solid transparent;
            border-bottom: 7px solid transparent;
            position: absolute;
            left: 45%;
            top: 20px;
        }

        .main-caseTimeline .caseTimeline-entry-deleted {
            border-width:2px;
            border-style:solid;
            /*border: 2px solid red;*/
            /*background-color: #fcebeb; */
            /*color: red; */
            text-align:center;
        }

    .main-caseTimeline .title {
        /*color: #808080;*/
        padding: 2px 10px 10px 10px;
        /*background: #e1e1e1;*/
        border-radius: 10px 10px 0 0;
        margin: -10px -10px 10px;
        overflow: auto;
        word-break: break-word;
        overflow-wrap: break-word;
    }

        .main-caseTimeline .title .date {
            font-size:12px;
        }

    .main-caseTimeline .description {
        color: inherit;
        max-height: 200px;
        overflow: auto;
    }


    .main-caseTimeline .caseTimeline-content.right {
        float: right;
    }

        .main-caseTimeline .caseTimeline-content.right:before {
            content: "";
            right: 45%;
            left: inherit;
            border-left: 0;
            border-right-width: 7px;
            border-right-style: solid;
            /*border-right: 7px solid #237554;*/
        }

@media only screen and (max-width: 990px) {

    .main-caseTimeline .caseTimeline-content::before {
        top: 16px;
    }
}

@media only screen and (max-width: 990px) {
    .main-caseTimeline {
        margin-left: 20px;
    }

        .main-caseTimeline:before {
            left: 0;
        }

        .main-caseTimeline .caseTimeline-content {
            width: 90%;
            float: right;
        }

            .main-caseTimeline .caseTimeline-content:before,
            .main-caseTimeline .caseTimeline-content.right:before {
                left: 10%;
                right: inherit;
                margin-left: -6px;
                border-left: 0;
                border-right-width: 7px;
                border-right-style: solid;
                /*border-right: 7px solid #237554;*/
            }

        .main-caseTimeline .caseTimeline-icon {
            left: 0;
        }
}

@media only screen and (max-width: 479px) {
    .main-caseTimeline .caseTimeline-content {
        width: 85%;
    }

        .main-caseTimeline .caseTimeline-content:before,
        .main-caseTimeline .caseTimeline-content.right:before {
            left: 15%;
        }

    .main-caseTimeline .caseTimeline-content:before {
        top: 13px;
    }
}
