/***********************************

Time LIne

***********************************/
.timeline-item .date i {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px;
    width: 30px;
    text-align: center;
    border-top: 1px solid #e7eaec;
    border-bottom: 1px solid #e7eaec;
    border-left: 1px solid #e7eaec;
    background: #f8f8f8;
}
.timeline-item .date {
    text-align: right;
    width: 110px;
    position: relative;
    padding-top: 30px;
}
.timeline-item .content {
    border-left: 1px solid #e7eaec;
    border-top: 1px solid #e7eaec;
    padding-top: 10px;
    min-height: 100px;
	    width: calc(100% - 110px);
    float: right;
}
.no-top-border {
    border-top: 0 !important;
}
.timeline-item .date {
    text-align: right;
   
    position: relative;
    padding-top: 40px;
	    float: left;
}

/****************************************

Message Widget

*****************************************/

.message-content {
    border-bottom: 1px solid #e7eaec;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

.teal-text {
    color: #009688 !important;
}

/*********************************************

Chat

********************************************/
.pad-all {
    padding: 0px;
}
.mar-btm {
    margin-bottom: 15px;
}
.media-block .media-left {
    display: block;
    float: left;
}
.img-sm {
    width: 46px;
    height: 46px;
}
.media-block .media-body {
    display: block;
    overflow: hidden;
    width: auto;
	    text-align: left;
}
.pad-hor {
    padding-left: 15px;
    padding-right: 15px;
}
.speech {
    position: relative;
    background:#fafafa;
    color: #000;
    display: inline-block;
    border-radius: 0;
    padding: 12px 20px;
}
.speech:before {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    left: 0;
    top: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-right: 7px solid #fafafa;
    margin: 15px 0 0 -6px;
}
.speech-right>.speech:before {
    left: auto;
    right: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 7px solid #f5f5f5;
    border-right: 0;
    margin: 15px -6px 0 0;
}
.speech .media-heading {
    font-size: 1.2em;
    color: #fff;
    display: block;
    border-bottom: 1px solid #fff;
    margin-bottom: 10px;
    padding-bottom: 5px;
    font-weight: 300;
}
.speech-time {
    margin-top: 0px;
    margin-bottom: 0;
    font-size: .8em;
    font-weight: 300;
}
.media-block .media-right {
    float: right;
}
.speech-right {
    text-align: right !important;
}
.pad-hor {
    padding-left: 15px;
    padding-right: 15px;
}
.speech-right>.speech {
    background: #f5f5f5 ;
    color: #000;
    text-align: right;
}
.speech-right>.speech .media-heading {
    color: #fff;
}
.chat-user .list-group-item:first-child, .chat-user .list-group-item:last-child {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
	    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}
.chat-user .panel-footer {
    padding: 15px 15px;
	padding-bottom:16px;
    background-color: #fff;
    border-top: 1px solid #ddd;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
    margin-left: -15px;
    margin-right: -15px;
    margin-bottom: -16px;
    border-bottom: 1px solid #ddd;
}
.sq-8 {
    display: inline-block;
    font-size: 4px;
    height: 8px;
    line-height: 8px;
    text-align: center;
    width: 8px;
}
.bg-success {
    background-color: #469408;
    border-color: #469408;
    color: #fff;
}
.circle {
    border-radius: 50%;
}
.bg-danger {
    background-color: #d9831f;
    border-color: #d9831f;
    color: #fff;
}
.bg-warning {
    background-color: #9b479f;
    border-color: #9b479f;
    color: #fff;
}

/****************** Tabs************************/

.tag-list a{
    display: inline-block;
    margin: 3px;
    padding: 1px 5px;
    color: #666;
    border: 1px solid  rgba(0,0,0,0.1);
    font-size: 12px;
    font-weight: 400;
    text-transform: capitalize;
    border-radius: 2px;
    -webkit-border-radius: 2px;
}
.tag-list a:hover{
    color:#01a8fe;
    border-color: #01a8fe;
}
.tabs-container .tabs-left > .nav-tabs {
    float: left;
    margin-right: 0px;
}
.tabs-container .tabs-left > .nav-tabs > li{
    float: none;
}
.tabs-container .tabs-left > .nav-tabs .active > a{
        border-color: #01a8fe transparent #01a8fe #01a8fe;
}
.tabs-container .tabs-left .tab-content{
    overflow: hidden;
    background-color:transparent;
}

.tabs-container .tabs-right > .nav-tabs {
    float: right;
    margin-right: 0px;
}
.tabs-container .tabs-right > .nav-tabs > li{
    float: none;
}
.tabs-left li a{
    margin-bottom: 3px;
    display: block;
}
.tabs-container ul{
    margin-bottom: 10px;
}
.tab-content .panel-body{
    background-color:#fff;
}
.tabs-right ul{
    padding-left: 10px;
}
.tabs-left ul{
    padding-right: 10px;
}
.nav-tabs>li>a{
    border-radius: 4px;
    background-color:  #fff;
    display: block;
    margin: 3px;
}
.nav-tabs>li>a:hover {
    border-color: transparent;
}
.tabs-container .tabs-right > .nav-tabs .active > a{
        border-color: #01a8fe #01a8fe #01a8fe transparent;
}
.tabs-container .tabs-right .tab-content{
    overflow: hidden;
    background-color: transparent;
}
.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
    color: #fff;
    cursor: default;
    background-color:  #01a8fe;
    border: 1px solid rgba(0,0,0,0.1);
    border-bottom-color: transparent;
}
.nav>li>a:focus, .nav>li>a:hover {
    text-decoration: none;

}
.nav-tabs {
    border-bottom: 0px;
}
/* timeline */

#timeline {
  width: 90%;
  margin: 30px auto;
  position: relative;
  padding: 0 10px;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
#timeline:before {
  content: "";
  width: 3px;
  height: 100%;
  background: #8BC34A ;
  left: 50%;
  top: 0;
  position: absolute;
}
#timeline:after {
  content: "";
  clear: both;
  display: table;
  width: 100%;
}
#timeline .timeline-item {
  margin-bottom: 50px;
  position: relative;
      clear: both;
}
#timeline .timeline-item .timeline-icon {
  background: #8BC34A ;
  width: 50px;
  height: 50px;
  position: absolute;
  top: 0;
  left: 50%;
  overflow: hidden;
  margin-left: -23px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%;
}
#timeline .timeline-item .timeline-icon svg {
  position: relative;
  top: 14px;
  left: 14px;
}
#timeline .timeline-item .timeline-content {
  width: 45%;
  background: #f5f5f5;
  padding: 20px;


}
#timeline .timeline-item .timeline-content h2 {
  padding: 15px;
  background: #03a9f4 ;
  color: #fff;
  margin: -20px -20px 0 -20px;
  font-weight: 300;
  -webkit-border-radius: 3px 3px 0 0;
  -moz-border-radius: 3px 3px 0 0;
  -ms-border-radius: 3px 3px 0 0;
  border-radius: 3px 3px 0 0;
      font-size: 17px;
}
#timeline .timeline-item .timeline-content:before {
  content: '';
  position: absolute;
  left: 45%;
  top: 20px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 7px solid #03a9f4 ;
}
#timeline .timeline-item .timeline-content.right {
  float: right;
}
#timeline .timeline-item .timeline-content.right:before {
  content: '';
  right: 45%;
  left: inherit;
  border-left: 0;
  border-right: 7px solid #03a9f4 ;
}


@media screen and (max-width: 768px) {
  #timeline {
    margin: 30px;
    padding: 0px;
    width: 90%;
  }
  #timeline:before {
    left: 0;
  }
  #timeline .timeline-item .timeline-content {
    width: 90%;
    float: right;
	    margin-bottom: 20px;
  }
  #timeline .timeline-item .timeline-content:before, #timeline .timeline-item .timeline-content.right:before {
    left: 10%;
    margin-left: -6px;
    border-left: 0;
    border-right: 7px solid #FFCA28;
  }
  #timeline .timeline-item .timeline-icon {
    left: 0;
  }
}
