@keyframes anim {
  0% { background-position: 0 0; }
  100% { background-position: 50px 50px; }
}    

.bar {
  overflow: hidden;
  background-size:100px 100px;
  background-image: linear-gradient(-45deg,
     #33c9ff 25%, #00b2f2 25%, 
     #00b2f2 50%, #33c9ff 50%,
     #33c9ff 75%, #00b2f2 75%);
  animation: anim 1s linear infinite;
  font-size:12px;
  font-weight:bold;
  line-height:35px;
  height:35px;
  padding-left:10px;
  padding-right:10px;
  width:100%;
  text-align:center;
  color:white;
}

.practice h3{text-shadow:1px 1px 0 rgba(0,0,0,.5);text-transform: capitalize;}
.practice h3,.ribbon{text-align:center;}

.practice,
.practice-overlay{max-height:280px;height:280px}
.practice{
margin:10px;
transition:.5s;
-webkit-background-size:cover;
-moz-background-size:cover;
-o-background-size:cover;
background-size:cover;
position:relative;
}
.practice:first-child{}
.practice:last-child{}
.practice-overlay{
  width:100%;
  background:-moz-linear-gradient(top,rgba(255,10,255,0) 0,rgba(255,255,255,0) 50%,rgba(0,0,0,.5) 100%);
  background:-webkit-gradient(linear,left top,left bottom,color-stop(0,rgba(255,255,255,0)),color-stop(50%,rgba(255,255,255,0)),color-stop(100%,rgba(0,0,0,.5)));
  background:-webkit-linear-gradient(top,rgba(255,255,255,0) 0,rgba(255,255,255,0) 50%,rgba(0,0,0,.5) 100%);
  background:-o-linear-gradient(top,rgba(255,255,255,0) 0,rgba(255,255,255,0) 50%,rgba(0,0,0,.5) 100%);
  background:-ms-linear-gradient(top,rgba(255,255,255,0) 0,rgba(255,255,255,0) 50%,rgba(0,0,0,.5) 100%);
  background:linear-gradient(to bottom,rgba(255,255,255,0) 0,rgba(255,255,255,0) 50%,rgba(0,0,0,.5) 100%);
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffffff', endColorstr='#80000000', GradientType=0 );
  position:absolute;left:0;z-index:1;transition:.6s ease
	}
.practice h3{color:#FFF;margin-top:140px;transition:.4s;z-index:2;position:relative}
.practice:hover>.practice-overlay{
	background:-moz-linear-gradient(top,rgba(5,0,20,1.5) 0,rgba(0,0,0,.75) 100%);
	background:-webkit-gradient(linear,left top,left bottom,color-stop(0,rgba(112,66,20,.5)),color-stop(100%,rgba(0,0,0,.75)));
	background:-webkit-linear-gradient(top,rgba(112,66,20,.5) 0,rgba(0,0,0,.75) 100%);
	background:-o-linear-gradient(top,rgba(112,66,20,.5) 0,rgba(0,0,0,.75) 100%);
	background:-ms-linear-gradient(top,rgba(112,66,20,.5) 0,rgba(0,0,00.75) 100%);
	background:linear-gradient(to bottom,rgba(112,66,20,.5) 0,rgba(0,0,0,.75) 100%);
	filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#40704214', 
	endColorstr='#bf38210a', GradientType=0)
}
.practice:hover h3{margin-top:110px}
.practice:hover .small-line{width:100%;height:4px;z-index:2;position:relative;background-color: white}
