/* Custom styles for home page calls to action */

.call-to-a {
  position: relative;
  width: 100%;
  height: auto;
  margin-top: 15px;
}

.call-image {
  display: block;
  width: 100%;
  height: auto;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(38,34,100,0.75);
  overflow: hidden;
  width: 100%;
  height: 40%;
  transition: .5s ease;
}

.overlay-gray {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(109,111,113,0.75);
  overflow: hidden;
  width: 100%;
  height: 40%;
  transition: .5s ease;
}

.call-to-a:hover .overlay {
  height: 100%;
}

.call-to-a:hover .overlayteal {
  height: 100%;
}

.overlay-link {
  color: #fff !important;
  font-size: 13pt;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: auto;
	padding-top: 10px; 
        padding-left: 10px;
	padding-right: 10px;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
    text-decoration: none;
  border-top: 100px solid transparent;
  border-bottom: 100px solid transparent;
  background-clip: padding-box;
}

