.date-heading {
	left: calc(50% - 6px);
	position: relative;
	width: 14px;
    height: 14px;
    border-radius: 7px;
	background-color: rgb(152, 152, 152);
	cursor:pointer;
}

.date-heading span {
    position: absolute;
    top: -3px;
    left: 32px;
    white-space: nowrap;
    font-weight: bold;
}

.date-heading .dot {
    left: calc(50% - 5px);
    top: 2px;
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: #fdfdfd;
    cursor:pointer;
}

.timeline-badge i.fonticon {
    cursor: pointer;
}

.animate-moment.ng-leave{
  -webkit-animation:0.4s collapse;
  -moz-animation:0.4s collapse;
  -o-animation:0.4s collapse;
  animation:0.4s collapse;
  overflow: hidden;
}
.date-header.ng-leave{
  -webkit-animation:0.4s collapse;
  -moz-animation:0.4s collapse;
  -o-animation:0.4s collapse;
  animation:0.4s collapse;
  overflow: hidden;
}
.customer-options-list {
    padding: 0px 5px;
}
.customer-options-list tr {
    cursor: pointer;
}

@-webkit-keyframes collapse {
	from{
	height:115px;
	opacity: 1;
	}
	to{
	height:0px;
	opacity: 0;
	}
}

@keyframes collapse {
	from{
	height:115px;
	opacity: 1;
	}
	to{
	height:0px;
	opacity: 0;
	}
}

.animate-moment.ng-enter{
  -webkit-animation:0.4s open;
  -moz-animation:0.4s open;
  -o-animation:0.4s open;
  animation:0.4s open;
  overflow: hidden;
}

.date-header.ng-enter{
  -webkit-animation:0.4s open;
  -moz-animation:0.4s open;
  -o-animation:0.4s open;
  animation:0.4s open;
  overflow: hidden;
}

@-webkit-keyframes open {
	from{
	height:0px;
	opacity: 0;
	}
	to{
	height:115px;
	opacity: 1;
	}
}

@keyframes open {
	from{
	height:0px;
	opacity: 0;
	}
	to{
	height:115px;
	opacity: 1;
	}
}

.label.label-moment {
    display: inline;
    margin: 2px;
    padding: .1em .3em .1em;
    font-size: 11px;
    font-weight: bold;
    line-height: 16px;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
}
.timeline {
    list-style: none;
    margin-bottom: 0px;
    position: relative;
}

.main-timeline {
	height: 800px;
	overflow: hidden;
    padding-left:0;
    padding-right: 16px;
}
.timeline > li {
    position: relative;
    height: 115px;
}
.main-timeline > li:before {
    top: 0;
    height: 115%;
    position: absolute;
    content: " ";
    border-color: #e9e9e9;
    border-width:2px;
    left: 50%;
    border-style: solid;
    margin-left: -1.5px;
}

.bottom-timeline > li:before {
    top: 0;
    height: -85px;
    position: absolute;
    content: " ";
    border-color: #eeeeee;
    border-width:2px;
    left: 50%;
    border-style: solid;
    margin-left: -1.5px;
}

.timeline .dotted-line:before {
    border-style: dashed;
}
.timeline > li:after {
    clear: both;
}

.timeline > li > .moment .timeline-panel.completed {
    border: 1px solid #445882;
}

.timeline > li > .moment .timeline-panel.active {
    border: 1px solid #445882;
}

.timeline > li > .moment .timeline-heading {
    width: 44%;
    float: left;
    position: relative;
    text-align: left;
    padding: 16px;
    padding-bottom: 6px;
    border-radius: 2px;
    text-align: center;
    background-color: #f4f6f8;
}

.timeline > li > .moment .timeline-heading:hover {
	background-color: #fff;
}

.stateClicked{
	background-color: #445882 !important;
    box-shadow: 2px 2px #B5B5B5;
    border-color: #fff !important;
}

.stateClicked h4{
	color: #fdfdfd;
}

.stateClicked p small{
	color: #d2d2d2;
}

.stateClicked .additionalInfo{
    color: #fdfdfd;
}

.stateClicked:after{
	border-left: 0px solid #445882 !important;
	border-right: 0px solid #445882 !important;
}

.stateClickedActive{
	background-color: #445882 !important;
    box-shadow: 2px 2px #B5B5B5;
    border-color: #fff !important;
}

.stateClickedActive h4{
	color: #fdfdfd;
}

.stateClickedActive p small{
	color: #fdfdfd;
}

.stateClickedActive .additionalInfo{
    color: #fdfdfd;
}

.stateClickedActive:after{
	border-left: 0px solid #445882 !important;
	border-right: 0px solid #445882 !important;
}

.timeline > li > .moment .timeline-heading:before {
    position: absolute;
    top: 5px;
    right: -10px;
    display: inline-block;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    content: "";
}

.timeline > li > .moment .timeline-heading.active {
    border: 1px solid #C0C0C0;
}

.timeline > li > .moment .timeline-heading.completed {
    border: 1px solid #C0C0C0;
}

.timeline > li > .moment .timeline-heading.active:before {
    border-left: 10px solid #C0C0C0;
    border-right: 0px solid #C0C0C0;
}

.timeline > li > .moment .timeline-heading.completed:before {
    border-left: 10px solid #C0C0C0;
    border-right: 0px solid #C0C0C0;
}

.timeline > li > .moment .stateClicked.timeline-heading.completed:before {
    border-left: 10px solid #445882;
    border-right: 0px solid #445882;
}

.timeline > li.timeline-inverted > .moment .stateClicked.timeline-heading.completed:before {
    border-left: 0px solid #445882;
    border-right: 10px solid #445882;
}

.timeline > li > .moment .stateClickedActive.timeline-heading.active:before {
    border-left: 10px solid #445882;
    border-right: 0px solid #445882;
}

.timeline > li.timeline-inverted > .moment .stateClickedActive.timeline-heading.active:before {
    border-left: 0px solid #445882;
    border-right: 10px solid #445882;
}

.timeline > li > .moment .timeline-heading:after {
    position: absolute;
    top: 6px;
    right: -9px;
    display: inline-block;
    border-top: 9px solid transparent;
    border-left: 9px solid #f4f6f8;
    border-right: 0 solid #f4f6f8;
    border-bottom: 9px solid transparent;
    content: "";
}

.timeline > li > .moment .status-line {
    width: 50%;
    height: 1px;
    position: absolute;
    background: #2E69DB;
    margin-top: -5px;
    display: none;

}

.timeline > li > .moment .progress {
    margin: 10px 5%;
    width: 90%;
}

.timeline > li > .moment .status-dot {
    width: 7px;
    height: 7px;
    position: absolute;
    background: #2E69DB;
    border-radius: 3px;
    margin-top: -8px;
    display: none;
}

.timeline > li > .moment .timeline-xpanel {
    width: 50%;
    float: right;
    position: relative;
    margin-top: -15px;
    padding-left: 25px;
}

.timeline > li > .moment .timeline-badge {
    color: #fff;
    width: 30px;
    height: 30px;
    font-size: 1.4em;
    text-align: center;
    position: absolute;
    top: 0px;
    left: 50%;
    margin-left: -15px;
    background-color: #999999;
    z-index: 100;
    border-top-right-radius: 50%;
    border-top-left-radius: 50%;
    border-bottom-right-radius: 50%;
    border-bottom-left-radius: 50%;
}
.timeline > li.timeline-inverted > .moment .timeline-heading {
    float: right;
}

.timeline > li.timeline-inverted > .moment .timeline-heading:before {
    border-left-width:0;
    border-right-width: 10px;
    left: -10px;
    right: auto;
}

.timeline > li.timeline-inverted > .moment .timeline-heading:after {
    border-left-width:0;
    border-right-width: 9px;
    left: -9px;
    right: auto;
}

.timeline > li.timeline-inverted > .moment .status-line {
    left: 50%;
}

.timeline > li.timeline-inverted > .moment .status-dot {
    left: calc(100% - 7px);
}

.timeline > li.timeline-inverted > .moment .timeline-xpanel {
    float: left;
    text-align: right;
    padding-right: 25px;
    padding-left: 0px;
}

.timeline-badge.primary {
    background-color: #2e6da4 !important;
}
.timeline-badge.success {
    background-color: #3f903f !important;
}
.timeline-badge.warning {
    background-color: #f0ad4e !important;
}
.timeline-badge.danger {
    background-color: #d9534f !important;
}
.timeline-badge.info {
    background-color: #5bc0de !important;
}
.timeline-title {
    margin-top: 0;
    margin-bottom: 0px;
    color: inherit;
    font-size: 12px;
    font-weight: bold;
}
.timeline-body > p, .timeline-body > ul {
    margin-bottom: 0;
}
.timeline-body > p + p {
    margin-top: 5px;
}
.shift-bottom {
    margin-left:-42px !important;
}
.additionalInfo{
	margin:0px;
	font-size: 11px;
	color: #fff;
	float: left;
    width: 125%;
}
.green{
    background-color: #13C33F;
    border-radius: 2px;
    margin-bottom: 4px;
    width: 65%;
    float: left;
}
.blue{
    background-color: #4770DE;
    border-radius: 2px;
    margin-bottom: 4px;
    padding-left: 5px;
    width: 65%;
    float: left;
}

.red {
    background-color: #EA4F6B;
    border-radius: 2px;
    margin-bottom: 4px;
    padding-left: 5px;
    width: 65%;
    float: left;
}

.li-date{
    height: 40px !important;
}
@media (max-width: 1050px) {
    .timeline > li {
        position: relative;
        height: 200px;
    }
    @-webkit-keyframes open {
        from{
            height:0px;
            opacity: 0;
        }
        to{
            height:200px;
            opacity: 1;
        }
    }

    @keyframes open {
        from{
            height:0px;
            opacity: 0;
        }
        to{
            height:200px;
            opacity: 1;
        }
    }
    @-webkit-keyframes collapse {
        from{
            height:200px;
            opacity: 1;
        }
        to{
            height:0px;
            opacity: 0;
        }
    }

    @keyframes collapse {
        from{
            height:200px;
            opacity: 1;
        }
        to{
            height:0px;
            opacity: 0;
        }
    }   

}
@media (max-width: 830px) {
    .timeline > li > .moment .timeline-heading {
        width: 80%;
    }
	.shift-bottom{
		margin-left:-52px !important;
	}
	.date-heading {
		left: calc(8% - 6px);
	}
	
	.main-timeline > li:before {
		left: 8%
	}
	
	.bottom-timeline > li:before {
		left: 8%
	}
	
	.timeline > li > .moment .timeline-badge {
		left: 8%
	}
	
	.timeline > li.timeline-inverted > .moment .timeline-heading {
	    float: left;
	    margin-left:12%;
	}
	
	.timeline > li.timeline-inverted > .moment .timeline-xpanel {
	    float: right;
	    text-align: right;
	    padding-right: 0%;
	    padding-left: 22%;
	}
    ul.timeline:before {
        left: 40px;
    }
    ul.timeline > li > .timeline-panel.active {
        width: calc(100% - 90px);
        width: -moz-calc(100% - 90px);
        width: -webkit-calc(100% - 90px);
    }
    ul.timeline > li > .timeline-panel.completed {
        width: calc(100% - 90px);
        width: -moz-calc(100% - 90px);
        width: -webkit-calc(100% - 90px);
    }
    ul.timeline > li > .timeline-panel {
        width: calc(100% - 90px);
        width: -moz-calc(100% - 90px);
        width: -webkit-calc(100% - 90px);
    }
    ul.timeline > li > .timeline-badge {
        left: 25px;
        margin-left: 0;
        top: 16px;
    }
    ul.timeline > li > .timeline-panel {
        float: right;
    }
    ul.timeline > li > .timeline-panel:before {
        border-left-width: 0;
        border-right-width: 15px;
        left: -15px;
        right: auto;
    }
    ul.timeline > li > .timeline-panel:after {
        border-left-width: 0;
        border-right-width: 14px;
        left: -14px;
        right: auto;
    }
    ul.timeline > li > .timeline-panel.active:before {
        border-left-width: 0;
        border-right-width: 15px;
        left: -15px;
        right: auto;
    }
    ul.timeline > li > .timeline-panel.active:after {
        border-left-width: 0;
        border-right-width: 14px;
        left: -14px;
        right: auto;
    }
    ul.timeline > li > .timeline-panel.completed:before {
        border-left-width: 0;
        border-right-width: 15px;
        left: -15px;
        right: auto;
    }
    ul.timeline > li > .timeline-panel.completed:after {
        border-left-width: 0;
        border-right-width: 14px;
        left: -14px;
        right: auto;
    }
}
