

img { border: 0; max-width: 100%; }

.page-header h1 {
  font-size: 3.26em;
  text-align: center;
  color: #efefef;
  text-shadow: 1px 1px 0 #000;
}

/** timeline box structure **/
.timeline {
  list-style: none;
  padding: 0px 0 20px;
  position: relative;
}

.timeline:before {
  top: 0;
  bottom: 0;
  position: absolute;
  content: " ";
  width: 5px;
  background-color:none;
  left: 50%;
  margin-left: -1.5px;
}

.tldate {
  display: block;
  width: 200px;
  background: #414141;
  border: 3px solid #212121;
  color: #ededed;
  margin: 0 auto;
  padding: 3px 0;
  font-weight: bold;
  text-align: center;
  -webkit-box-shadow: 0 0 11px rgba(0,0,0,0.35);
}

.timeline li {
  margin-bottom: 25px;
  position: relative;
}

.timeline li:before, .timeline li:after {
  content: " ";
  display: table;
}
.timeline li:after {
  clear: both;
}
.timeline li:before, .timeline li:after {
  content: " ";
  display: table;
}
.timeline li.timeline-dot{
	float: left;
	width: 20px;
	text-align: center;
	margin-left: 50%;
}
.timeline li.timeline-time{
	float: left;
	top: -30px;
	left: 18px;
	margin-left: 22%;
	width: 50%;
	
	
}
.timeline-one{
	position: relative;
}
.tl-one-line,.tl-two-line{
	position: absolute;
	left: 49.8%;
	top: 27px;
	display: inline-block;
	width: 5px;
	height: 97%;
	background:#00A0EA;
	border-radius: 10px;
}
.tl-two-line{
	background:#dedcdd;
}

/** timeline panels **/
.timeline li .timeline-panel {
  width: 46%;
  float: left;
  margin-left: 2%;
  background: #fff;
  border: 1px solid #d4d4d4;
  padding: 20px;
  position: relative;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
}
.timeline li.timeline-time .timeline-panel,.timeline li.timeline-time .tl-panel{
	padding: 0;
	height: 30px;
	line-height: 30px;
	text-align: center;
	background: #00A0EA;
}
.timeline li.timeline-time .tl-panel{
	background: #dedcdd;
	color: #999;
}
.timeline li.timeline-time .timeline-panel h4{
	line-height: 30px;
	color: #fff;
	font-size: 14px;
}
.timeline li.timeline-time .tl-heading{width: 100%;}
.tl-end{
	position: absolute;
	right: 0;
	top: 100px;
	background: url(../../images/studentWallet_015.png) no-repeat center center;
	width: 70px;
	height: 60px;
	text-align: center;
	line-height: 50px;
	font-size: 16px;
	z-index: 99;
}



/** panel arrows **/
.timeline li .timeline-panel:before,.timeline li.timeline-time .tl-panel:before {
  position: absolute;
  top: 26px;
  right: -15px;
  display: inline-block;
  border-top: 15px solid transparent;
  border-left: 15px solid #ccc;
  border-right: 0 solid #ccc;
  border-bottom: 15px solid transparent;
  content: " ";
}

.timeline li.timeline-time .timeline-panel:before {
  position: absolute;
  top: 6px;
  right: -10px;
  display: inline-block;
  border-top: 6px solid transparent;
  border-left: 10px solid #00A0EA;
  border-right: 0 solid #00A0EA;
  border-bottom: 6px solid transparent;
  content: " ";
}
.timeline li.timeline-time .tl-panel:before{
	border-left: 10px solid #dedcdd;
  border-right: 0 solid #dedcdd; 
}


.timeline li .timeline-panel:after {
  position: absolute;
  top: 27px;
  right: -14px;
  display: inline-block;
  border-top: 14px solid transparent;
  border-left: 14px solid #fff;
  border-right: 0 solid #fff;
  border-bottom: 14px solid transparent;
  content: " ";
}

.timeline li.timeline-time .timeline-panel:after,.timeline li.timeline-time .tl-panel:after{
	top: 6px;
	right: -9px;
	border-top: 6px solid transparent;
  border-left: 10px solid #00A0EA;
  border-right: 0 solid #00A0EA;
  border-bottom: 6px solid transparent;
}
.timeline li.timeline-time .tl-panel:after{
	border-left: 10px solid #dedcdd;
  border-right: 0 solid #dedcdd;
}
.timeline-table .tl-week{
	background:#00A0EA;
	color: #fff;
}
.tl-open,.tl-tobegin,.tl-open-two{
	display: inline-block;
	padding: 2px;
	background: #3ed42d;
	position: absolute;
	left: 0;
	top: 0;
	height: 50%;
	color: #fff;
	line-height: 100%;
	border-radius: 5px;
	z-index: 10;
}

.tl-open-two{
	background: #dedcdd;
	color: #999;
}
.tl-body p span.tl-two{
	color: #999;
}
.tl-tobegin{
	background: #00A0EA;
}
.tl-date{
	z-index: 20;
	position: absolute;
	right: 13%;

}

.timeline-table td{
	position:relative;
	height: 36px;
}


.timeline-table{
	margin-bottom: 0;
}
.timeline-table th{
	background: #f1f5f8;
}
.timeline-table th,.timeline-table td{
	border-right: 1px solid #e6e6e6;
	text-align: right;
}
.timeline-table th:nth-of-type(7n),.timeline-table td:nth-of-type(7n){
	border-right: none;
}
.timeline li .timeline-panel.noarrow:before, .timeline li .timeline-panel.noarrow:after {
  top:0;
  right:0;
  display: none;
  border: 0;
}

.timeline li.timeline-inverted .timeline-panel {
  float: left;
  margin-left: 53%;
  margin-top: -20%;
  padding: 0;
}

.timeline li.timeline-inverted .timeline-panel:before {
  border-left-width: 0;
  border-right-width: 15px;
  left: -15px;
  right: auto;
  top: 74px;
}

.timeline li.timeline-inverted .timeline-panel:after {
  border-left-width: 0;
  border-right-width: 14px;
  left: -14px;
  right: auto;
  top: 75px;
}


/** timeline circle icons **/
.timeline li .tl-circ,.timeline li .tl-two-circ{
  position: absolute;
  top: 0px;
  left: 40%;
  text-align: center;
  background: red;
  color: #fff;
  width: 18px;
  height: 18px;
  line-height: 35px;
  margin-left: -16px;
  /*border: 3px solid #90acc7;*/
  border-top-right-radius: 50%;
  border-top-left-radius: 50%;
  border-bottom-right-radius: 50%;
  border-bottom-left-radius: 50%;
  z-index: 99999;
}
.timeline li .tl-two-circ{
	background: #dedcdd;
}

/** timeline content **/
.tl-heading{
	float: left;
	width:20%;
	margin-right: 10px;
	text-align: center;
}
.tl-body{
	float: left;
	width:77%;
}
.tl-heading h4 {
  margin: 0;
  color: #c25b4e;
  width: 100%;
}

.tl-body p, .tl-body ul {
  margin-bottom: 0;
}

.tl-body > p + p {
  margin-top: 5px;
}
.tl-body p span{
	color: red;
}

.tl-img{
	{
		width: 74px;
		height: 77px;
	}
}




/** media queries **/
@media (max-width: 991px) {
  .timeline li .timeline-panel {
    width: 44%;
  }
}

@media (max-width: 700px) {
  .page-header h1 { font-size: 1.8em; }
  
  ul.timeline:before {
    left: 40px;
  }
  
  .tldate { width: 140px; }

  ul.timeline li .timeline-panel {
    width: calc(100% - 90px);
    width: -moz-calc(100% - 90px);
    width: -webkit-calc(100% - 90px);
  }

  ul.timeline li .tl-circ {
    top: 22px;
    left: 22px;
    margin-left: 0;

  }
  ul.timeline > li > .tldate {
    margin: 0;
  }

  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;
  }
}