/* Media Queries */
/* Card sizing */
/* Colors */
/* Calculations */
/* Placeholders */


/* -------------------------------------------------------------------- 
3.	Timeline Component
-------------------------------------------------------------------- */

/* 3.1	timeline class	*/
.timeline {
  position: relative;
  width: 100%;
  margin: 0 auto;
  margin-top: 10px;
  padding: 2em 0;
  list-style-type: none;
}

.timeline:before {
  position: absolute;
  left: 50%;
  top: 0;
  content: ' ';
  display: block;
  width: 6px;
  height: 90%;
  margin-left: -3px;
  background: rgb(80,80,80);
  background: -moz-linear-gradient(top, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(30,87,153,1)), color-stop(100%,rgba(125,185,232,1)));
  background: -webkit-linear-gradient(top, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
  background: -o-linear-gradient(top, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
  background: -ms-linear-gradient(top, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
  background: linear-gradient(to bottom, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
  
  z-index: 5;
}

.timeline li {
	padding:7px 0;
}

.timeline li:after {
  content: "";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

/* 3.2 direction-l class (direction left)	*/

.direction-l {
  position: relative;
  width: 46.7%;
  float: left;
  text-align: right;
}

/* 3.3 direction-r class (direction right)	*/

.direction-r {
  position: relative;
  width: 46.7%;
  float: right;
}

/* 3.4 Flag	*/

.flag-wrapper {
  position: relative;
  display: inline-block;
  
  text-align: center;
}

.flag {
  position: relative;
  display: inline;
  background: rgb(248,248,248);
  padding: 6px 10px;
  border-radius: 5px;
  
  font-weight: 600;
  text-align: left;
  	font-size:25px;

}

.direction-l .flag {
  -webkit-box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  -moz-box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
}

.direction-r .flag {
  -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  -moz-box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
}

.direction-l .flag:before,
.direction-r .flag:before {
  position: absolute;
  top: 50%;
  right: -44px;
  content: ' ';
  display: block;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  background: #fff;
  border-radius: 100%;
  border: 4px solid #CC0000;
  z-index: 10;
}

.direction-r .flag:before {
  left: -44px;
}

.direction-l .flag:after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  height: 0;
  width: 0;
  margin-top: -8px;
  border: solid transparent;
  border-left-color: rgb(248,248,248);
  border-width: 8px;
  pointer-events: none;
}

.direction-r .flag:after {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  height: 0;
  width: 0;
  margin-top: -8px;
  border: solid transparent;
  border-right-color: rgb(248,248,248);
  border-width: 8px;
  pointer-events: none;
}

/* 3.5 Time wrapper	*/

.direction-r:hover .time-wrapper,
.direction-l:hover .time-wrapper{
	width: 120px;
}

.time-wrapper {
	visibility: visible;
	opacity: 1;
	width: 0px;
	height: 30px;
	display: inline;
	margin-top: -2px;
	line-height: 1em;
	font-size: 0.66666em;
	color: rgb(250,80,80);
	vertical-align: middle;
	 -webkit-transition: width 1s; /* For Safari 3.1 to 6.0 */
    transition: width 1s;
	overflow: hidden;
}

.direction-l .time-wrapper {
  float: left;
}

.direction-r .time-wrapper {
  float: right;
}

.time {
	display: inline-block;
	padding:	0px 6px 0px 6px;
	background: rgb(248,248,248);
	min-height: 30px;
	line-height: 30px;
    margin-left: -40px;
    padding-left: 25px;
	border-radius: 5px;
}
.direction-l .time {
	margin-right: -40px;
    padding-right: 25px;
	margin-left: 0px;
    padding-left: 5px;
}
.timeline_scrollbar{
	overflow: hidden;
}

/* 3.6 desc (Description)	*/

.desc {
	font-size: 14.4px;
	line-height: 1.3em;
	text-align:left;
    padding-top: 10px;
	    border-top: 1px solid #151712;

}
.desc::-webkit-scrollbar { 
    display: none; 
}
.desc img {
	max-width: 100%;
}
.desc iframe {
	width: 100%;
	max-width: 100%;
}
.direction-r .desc {
  margin: 1em 0 0 0.75em;
}
.direction-l .desc {
  margin: 1em 0 0 0.75em;
}

.intro {
	margin: 1em 0.75em 0 0;
	font-size: 1em;
	line-height: 1.09em;
	text-align:left;
}
.direction-r .intro {
  margin: 1em 0 0 0.75em;
}

/* 3.7 Gallery	*/

.gallery{
	-moz-column-count: 3;
	-moz-column-gap: 4px;
	-webkit-column-count: 3;
	-webkit-column-gap: 4px;
	column-count: 3;
	column-gap: 0px;
	width: 100%;
	margin: 0 auto;
}
.gallery ul li {
  display: inline-block;
  padding: 0;
  margin: 0 4px;
  width: 100%;
}

.gallery ul li img {
  width: 100%;
}

#liitem1{
	background-image:url(img/storesr.jpg);
	background-position:left;
	 background-repeat:no-repeat;
	  padding:50px 0px;
	  background-size:50%;
	  
    box-shadow: 5px 5px #1a2c70;
   
}
#liitem3{
	background-image:url(img/alerts.jpg);
	 background-position:left;
	  background-repeat:no-repeat;
	  padding:10px 0px;
	  background-size:50%;
    box-shadow: 5px 5px #1a2c70;

}

#liitem5{
	background-image:url(img/court.jpg);
	 background-position:left; 
	 background-repeat:no-repeat; 
	 padding:10px 0px;
	
	  background-size:50%;
    box-shadow: 5px 5px #1a2c70;

}



#liitem2{
	background-image:url(img/about-plan.jpg);
	 background-position:right;
	  background-repeat:no-repeat; 
	  background-size:50%;
	  padding:10px 0px;
	    box-shadow: -5px 5px #1a2c70;

}

#liitem4{
	background-image:url(img/answer.jpg); 
		  background-size:50%;

	background-position:right; 
	background-repeat:no-repeat; 
	padding:10px 0px;
    box-shadow: -5px 5px #1a2c70;

}


#liitem6{
	background-image:url(img/action1.jpg); 
	background-position:right;
	 background-repeat:no-repeat; 
	 padding:10px 0px;

	  background-size:50%;
    box-shadow: -5px 5px #1a2c70;

	
}

/* -----------------------------------------------------------------
4. Responsiveness Component (2 category)
-------------------------------------------------------------------- */

/* 4.1 Media screen Screen size is < 728 */
	
@media screen and (max-width: 728px) {

.timeline {
	width: 100%;
	padding: 1em 0 1em 0;
}
#liitem1{
	background-image:url(img/storesr.jpg);
	background-position:left;
	 background-repeat:no-repeat;
	  padding:10px 0px;
	      background-size: 100%;
}

#liitem3{
	background-image:url(img/alerts.jpg);
	 background-position:left;
	  background-repeat:no-repeat;
	  padding:10px 0px;
    background-size: 100%;
}

#liitem5{
	background-image:url(img/court.jpg);
	 background-position:left; 
	 background-repeat:no-repeat; 
	 padding:10px 0px;
	    background-size: 100%;

}



#liitem2{
	background-image:url(img/about-plan.jpg);
	 background-position:right;
	  background-repeat:no-repeat; 
	/*  background-size:50%;*/
	  padding:10px 0px;
	    background-size: 100%;
}

#liitem4{
	background-image:url(img/answer.jpg); 
	    background-size: 100%;
	background-position:right; 
	background-repeat:no-repeat; 
	padding:10px 0px;
}


#liitem6{
	background-image:url(img/action1.jpg); 
	background-position:0% 110%;
/* 	background-position:right; */
	background-repeat:no-repeat; 
	padding:10px 0px;
    background-size: 100%;
    min-height:700px;

	
}






.timeline li {
	padding: 0.5em 0;
}

.direction-l,
.direction-r {
	float: none;
	width: 100%;
	text-align: center;
}

.flag-wrapper {
	text-align: center;
}

.flag {
	background: rgb(255,255,255);
	z-index: 15;
}

.direction-l .flag:before,
.direction-r .flag:before {
	position: absolute;
	top: -30px;
	left: 49%;
	content: ' ';
	display: block;
	width: 20px;
	height: 20px;
	margin-left: -9px;
	background: #fff;
	border-radius: 10px;
	border: 4px solid #cc0000;
	z-index: 10;
}

.direction-l .flag:after,
.direction-r .flag:after {
	content: "";
	position: absolute;
	left: 50%;
	top: -8px;
	height: 0;
	width: 0;
	margin-left: -8px;
	border: solid transparent;
	border-bottom-color: rgb(255,255,255);
	border-width: 8px;
	pointer-events: none;
}

.time-wrapper {
	width: 100%;
	display: block;
	position: relative;
	margin: 4px 0 0 0;
	z-index: 14;
}

.time {
	margin-left: 0px;
	padding-left: 5px;
	border-radius: 5px;
}

.direction-l .time {
	margin-right: 0px;
	padding-right: 5px;
	margin-left: 0px;
	padding-left: 5px;
}

.direction-r:hover .time-wrapper,
.direction-l:hover .time-wrapper{
	width: 100%;
}

.direction-l .time-wrapper {
	float: none;
}

.direction-r .time-wrapper {
	float: none;
}

.intro ,
.desc {
	position: relative;
	margin: 1em 0 0 0;
	padding: 1em;
	background: rgb(245,245,245);
	-webkit-box-shadow: 0 0 1px rgba(0,0,0,0.20);
	-moz-box-shadow: 0 0 1px rgba(0,0,0,0.20);
	box-shadow: 0 0 1px rgba(0,0,0,0.20);
	z-index: 15;
}

.direction-l .desc,
.direction-r .desc {
	position: relative;
	margin: 1em 1em 0 1em;
	padding: 1em;
	z-index: 15;
}

}	

/* 4.2 Media screen Screen size is 729>< 1049 */

@media screen and (min-width: 729px) and (max-width: 1049px) {
.direction-l .flag:before,
.direction-r .flag:before {
	right: -33px;
}
.direction-r .flag:before {
	left: -33px;
}

}	



@media (min-width: 1000px) {
  #timeline .demo-card:nth-child(odd) .head::after, #timeline .demo-card:nth-child(even) .head::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
  }

  #timeline .demo-card:nth-child(odd) .head::before, #timeline .demo-card:nth-child(even) .head::before {
    position: absolute;
    content: "";
    width: 9px;
    height: 9px;
    background-color: #bdbdbd;
    border-radius: 9px;
    box-shadow: 0px 0px 2px 8px #f7f7f7;
  }
}
/* Some Cool Stuff */
.demo-card:nth-child(1) {
  order: 1;
}

.demo-card:nth-child(2) {
  order: 4;
}

.demo-card:nth-child(3) {
  order: 2;
}

.demo-card:nth-child(4) {
  order: 5;
}

.demo-card:nth-child(5) {
  order: 3;
}

.demo-card:nth-child(6) {
  order: 6;
}

/* Border Box */
* {
  box-sizing: border-box;
}


#timeline {
  padding: 100px 0;
  background: #f7f7f7;
  border-top: 1px solid rgba(191, 191, 191, 0.4);
  border-bottom: 1px solid rgba(191, 191, 191, 0.4);
}
#timeline h1 {
  text-align: center;
  font-size: 3rem;
  font-weight: 200;
  margin-bottom: 20px;
}
#timeline p.leader {
  text-align: center;
  max-width: 90%;
  margin: auto;
  margin-bottom: 45px;
}
#timeline .demo-card-wrapper {
  position: relative;
  margin: auto;
}
@media (min-width: 1000px) {
  #timeline .demo-card-wrapper {
    display: flex;
    flex-flow: column wrap;
    width: 1170px;
    height: 1650px;
    margin: 0 auto;
  }
}
#timeline .demo-card-wrapper::after {
  z-index: 1;
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 1px solid rgba(191, 191, 191, 0.4);
}
@media (min-width: 1000px) {
  #timeline .demo-card-wrapper::after {
    border-left: 1px solid #bdbdbd;
  }
}
#timeline .demo-card {
  position: relative;
  display: block;
  margin: 10px auto 80px;
  max-width: 94%;
  z-index: 2;
}
@media (min-width: 480px) {
  #timeline .demo-card {
    max-width: 60%;
    box-shadow: 0px 1px 22px 4px rgba(0, 0, 0, 0.07);
  }
}
@media (min-width: 720px) {
  #timeline .demo-card {
    max-width: 40%;
  }
}
@media (min-width: 1000px) {
  #timeline .demo-card {
    max-width: 450px;
    height: 400px;
    margin: 90px;
    margin-top: 45px;
    margin-bottom: 45px;
  }
  #timeline .demo-card:nth-child(odd) {
    margin-right: 45px;
  }
  #timeline .demo-card:nth-child(odd) .head::after {
    border-left-width: 15px;
    border-left-style: solid;
    left: 100%;
  }
  #timeline .demo-card:nth-child(odd) .head::before {
    left: 491.5px;
  }
  #timeline .demo-card:nth-child(even) {
    margin-left: 45px;
  }
  #timeline .demo-card:nth-child(even) .head::after {
    border-right-width: 15px;
    border-right-style: solid;
    right: 100%;
  }
  #timeline .demo-card:nth-child(even) .head::before {
    right: 489.5px;
  }
  #timeline .demo-card:nth-child(2) {
    margin-top: 180px;
  }
}
#timeline .demo-card .head {
  position: relative;
  display: flex;
  align-items: center;
  color: #fff;
  font-weight: 400;
}
#timeline .demo-card .head .number-box {
  display: inline;
  float: left;
  margin: 15px;
  padding: 10px;
  font-size: 35px;
  line-height: 35px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.17);
}
#timeline .demo-card .head h2 {
  text-transform: uppercase;
  font-size: 1.3rem;
  font-weight: inherit;
  letter-spacing: 2px;
  margin: 0;
  padding-bottom: 6px;
  line-height: 1rem;
}
@media (min-width: 480px) {
  #timeline .demo-card .head h2 {
    font-size: 165%;
    line-height: 1.2rem;
  }
}
#timeline .demo-card .head h2 span {
  display: block;
  font-size: 0.6rem;
  margin: 0;
}
@media (min-width: 480px) {
  #timeline .demo-card .head h2 span {
    font-size: 0.8rem;
  }
}
#timeline .demo-card .body {
  background: #fff;
  border: 1px solid rgba(191, 191, 191, 0.4);
  border-top: 0;
  padding: 15px;
}
@media (min-width: 1000px) {
  #timeline .demo-card .body {
    height: 315px;
  }
}
#timeline .demo-card .body p {
  font-size: 14px;
  line-height: 18px;
  margin-bottom: 15px;
}
#timeline .demo-card .body img {
  display: block;
  width: 100%;
}
#timeline .demo-card--step1 {
  background-color: #46b8e9;
}
#timeline .demo-card--step1 .head::after {
  border-color: #46b8e9;
}
#timeline .demo-card--step2 {
  background-color: #3ee9d1;
}
#timeline .demo-card--step2 .head::after {
  border-color: #3ee9d1;
}
#timeline .demo-card--step3 {
  background-color: #ce43eb;
}
#timeline .demo-card--step3 .head::after {
  border-color: #ce43eb;
}
#timeline .demo-card--step4 {
  background-color: #4d92eb;
}
#timeline .demo-card--step4 .head::after {
  border-color: #4d92eb;
}
#timeline .demo-card--step5 {
  background-color: #46b8e9;
}
#timeline .demo-card--step5 .head::after {
  border-color: #46b8e9;
}
