//start -----------------------------------------
@-webkit-keyframes myanimation {
  from {
    left: 0;
  }
  to {
    left: 50%;
  }
}

.trigger-progress-wrap {
  color: #444;
  font-family: 'PT Sans Caption', sans-serif;
  margin: 40px auto;
  max-width: 1200px;
	padding: 0;
  position: relative;
}

ul#trigger-progress-bar li {
  color: #ccc;
  display: block;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 20px 14px 80px;
  position: relative;
	vertical-align: top;
}
ul#trigger-progress-bar li:before {
  -webkit-box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
  box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
  background: #ddd;
  border: 2px solid #FFF;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  left: 20px;
  line-height: 37px;
  height: 35px;
  position: absolute;
  text-align: center;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
  top: 4px;
  width: 35px;
  z-index: 11;
}
ul#trigger-progress-bar li.active {
  color: #8bc53f;
  font-weight: bold;
}
ul#trigger-progress-bar li.active:before {
  background: #8bc53f;
  z-index: 12;
}
ul#trigger-progress-bar li.visited {
  //background: #ECECEC;
  color: #57aed1;
  z-index: 12;
}
ul#trigger-progress-bar li.visited:before {
  background: #57aed1;
  z-index: 12;
}
ul#trigger-progress-bar li:nth-child(1):before {
  content: "1";
}
ul#trigger-progress-bar li:nth-child(2):before {
  content: "2";
}
ul#trigger-progress-bar li:nth-child(3):before {
  content: "3";
}
ul#trigger-progress-bar li:nth-child(4):before {
  content: "4";
}
ul#trigger-progress-bar li:nth-child(5):before {
  content: "5";
}
ul#trigger-progress-bar li:nth-child(6):before {
  content: "6";
}
ul#trigger-progress-bar a {
  color: #57aed1;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

@media all and (min-width: 800px) {
  #trigger-progress-bar li.active:after {
    -webkit-animation: myanimation 3s 0;
    background-size: 35px 35px;
    background-color: #8bc53f;
    background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    -webkit-box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
    box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
    content: "";
	  border-radius: 15px;
    height: 15px;
    width: 100%;
    left: 50%;
    position: absolute;
    top: -50px;
    z-index: 0;
  }

	#trigger-progress-bar li:last-child.active:after {
		width: 69%;
	}

  .trigger-progress-wrap {
    margin: 70px 0 auto;
  }

  ul#trigger-progress-bar {
    -webkit-box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
    box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
    background-size: 35px 35px;
    background-color: #EcEcEc;
    background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.4) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.4) 75%, transparent 75%, transparent);
    background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.4) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.4) 75%, transparent 75%, transparent);
    border-radius: 15px;
    height: 15px;
    margin: 0 auto;
    padding: 0;
    position: absolute;
    width: 100%;
  }
  ul#trigger-progress-bar:before {
    background-size: 35px 35px;
    background-color: #57aed1;
    background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    -webkit-box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
    box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    content: " ";
    height: 15px;
    left: 0;
    position: absolute;
    width: 10%;
  }
  ul#trigger-progress-bar li {
    display: inline-block;
    margin: 50px 0 0;
    padding: 0;
    text-align: center;
    width: 19%;
  }
  ul#trigger-progress-bar li:before {
    height: 45px;
    left: 40%;
    line-height: 45px;
    position: absolute;
    top: -65px;
    width: 45px;
    z-index: 10;
  }
  ul#trigger-progress-bar li.visited {
    background: none;
  }
  ul#trigger-progress-bar li.visited:after {
    background-size: 35px 35px;
    background-color: #57aed1;
    background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    -webkit-box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
    box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
    content: "";
    height: 15px;
    left: 50%;
    position: absolute;
    top: -50px;
    width: 100%;
    z-index: 10;
  }
} //end -------------------------------

.smooth-transition {
	transition: .4s;
	-webkit-transition: .4s;
	-moz-transition: .4s;
}

.btn{
        .smooth-transition;
}
.draft-selected{
  background-color: #54CBFF;
}
#trigger-definition section.trigger-section {
  margin-top: 100px;
  margin-bottom: 10px;
  }

@media  all and (max-width: 990px){
  #trigger-definition section.trigger-section{
    margin-top: 180px !important;
  }
}

  #trigger-definition section.trigger-section:first-child {
    display: block;
   }

/* #trigger-progress-bar {
  list-style: none;
  padding: 0; 
  
  li {
	display: inline-block;
	vertical-align: top;
	
	background: #fefefe;
	border: 1px solid #efefef;
	margin-bottom: 4px;
	padding-left: 10px; 
	padding-right: 10px;

	&:before {
	    content: '\2610';
	    font-size: 2em;
	    vertical-align: -5px;
	    margin-right: 3px; 
	}
	
	&.completed {
		background: #C4F5E3;
		transition: 1s;
		border-color: #cccccc; 

		&:before {
		        content: '\2611';
		        color: green; 
        	}
        	
        	a.return-link {
			display: inline; 
		}
	}
	
	&.editing {
		background: #54cbff;
	}
	
	> span {
		padding-right: 10px;
	}
	
	a.return-link {
		display: none;
		text-decoration: underline;
		color: blue;
		/*position: absolute;
		right: 3px;
		bottom: 20%;
	}
  }
} */

#trigger-list {
	margin-top:20px;
}

#trigger-list .header {
		background: #000;
	color:#fff;
}

.bottom-margin {
	margin-bottom: 60px;
}

@media (max-width: 479px) {
	#trigger-progress-bar li &.editing > span {
		display: inline;
		padding-right: 10px;
	}

	#trigger-progress-bar li > span, > div {
		display: none;
	}
}
@media (min-width: 480px) {
	#trigger-progress-bar li {
		min-height: 65px;
	}
}

.legend-header-footer{
  clear: both;
  float: none;
  margin-top: 11px;
  width: 100%;
  height: 1px;
  border: none;
  background: #ddd;
  background-image: -webkit-gradient(
      linear,
      left bottom,
      right bottom,
      color-stop(0, rgb(255,255,255)),
      color-stop(0.1, rgb(221,221,221)),
      color-stop(0.9, rgb(221,221,221)),
      color-stop(1, rgb(255,255,255))
  );
  background-image: -moz-linear-gradient(
      left center,
      rgb(255,255,255) 0%,
      rgb(221,221,221) 10%,
      rgb(221,221,221) 90%,
      rgb(255,255,255) 100%
  );
}