/* Custom styles for home page calls to action */

.call-to-a {
  position: relative;
  width: 100%;
  height: auto;
  margin-top: 15px;
  text-align: center;
}

.call-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0 15px;
}

/* Purple - darker than logo, but not as dark as footer */
.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(75,35,109,0.8);
  overflow: hidden;
  width: 100%;
  height: 40%;
  transition: .5s ease;
  border-bottom-left-radius: 15px;
}

.overlayShort {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(75,35,109,0.8);
  overflow: hidden;
  width: 100%;
  height: 20%;
  transition: .5s ease;
  border-bottom-left-radius: 15px;
}

/* ISPD Turquoise */
.overlayturquoise {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,174,189,0.8);
  overflow: hidden;
  width: 100%;
  height: 40%;
  transition: .5s ease;
  border-bottom-left-radius: 15px;
}

.overlayturquoiseShort {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,174,189,0.8);
  overflow: hidden;
  width: 100%;
  height: 20%;
  transition: .5s ease;
  border-bottom-left-radius: 15px;
}

/* Slightly Lighter Turquoise, same as carousel caption background */
.overlayturquoise2 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(66,196,207,0.8);
  overflow: hidden;
  width: 100%;
  height: 40%;
  transition: .5s ease;
  border-bottom-left-radius: 15px;
}

.overlayturquoise2Short {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(66,196,207,0.8);
  overflow: hidden;
  width: 100%;
  height: 20%;
  transition: .5s ease;
  border-bottom-left-radius: 15px;
}

/* Teal from old WS menu */
.overlayteal {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,145,158,0.8);
  overflow: hidden;
  width: 100%;
  height: 40%;
  transition: .5s ease;
  border-bottom-left-radius: 15px;
}

.overlaytealShort {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,145,158,0.8);
  overflow: hidden;
  width: 100%;
  height: 20%;
  transition: .5s ease;
  border-bottom-left-radius: 15px;
}

.call-to-a:hover .overlay, .call-to-a:hover .overlayShort {
  height: 100%;
  text-decoration: none !important;
  border-top-right-radius: 15px;
}

.call-to-a:hover .overlayturquoise, .call-to-a:hover .overlayturquoiseShort {
  height: 100%;
  text-decoration: none !important;
  border-top-right-radius: 15px;
}

.call-to-a:hover .overlayturquoise2, .call-to-a:hover .overlayturquoise2Short {
  height: 100%;
  text-decoration: none !important;
  border-top-right-radius: 15px;
}

.call-to-a:hover .overlayteal, .call-to-a:hover .overlaytealShort {
  height: 100%;
  text-decoration: none !important;
  border-top-right-radius: 15px;
}

.overlay-link {
  color: #fff !important;
  font-size: 13pt;
  font-weight: 500;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: auto;
	padding-top: 0; 
        padding-left: 10px;
	padding-right: 10px;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
    text-decoration: none !important;
  border-top: 100px solid transparent;
  border-bottom: 100px solid transparent;
  background-clip: padding-box;
    border-bottom-left-radius: 15px;
}

