/* stylelint-disable */
/**************************************************************

	THE USE OF NEW COLOURS ARE NOT PERMITED. ONLY THE COLOURS LISTED IN THE BRAND IDENTITY ARE ALLOWED TO BE USED. 
    REFER BRAND IDENTITY POLICY. 
    /**************************************************************

	COLOUR STYLESHEET INDEXING
	|
	|
	|___ Backgrounds
	|___ Hyperlinks
    |___ Gold hyperlinks when used on smaller font
	|___ Table borders, Table headers
	    |___Grey
        |___Gold
        |___Copper
        |___Teal
	|___ Error Message Colours

**************************************************************/
/* ALLOWED TO BE USED ONLY AS BACKGROUND COLOURS */
/* USE THIS ONLY FOR HYPERLINKS */
/* GOLD HYPERLINKS HYPERLINKS - WHEN USED ON SMALLER FONT TO PASS AA */
/* USE THIS ONLY TO HIGHLIGHT'S IN TABLE */
/* USE THIS FOR TABLE BORDERS, TABLE HEADERS */
/* GREY */
/* GOLD */
/* COPPER */
/* TEAL */
/* COLOURS ALOOWED FOR ERROR MESSAGES ON FORMS */
/* GRID LAYOUT BREAKPOINTS */
/* ANCHOR mixins */
/* ANCHOR Customisation */
/* text overlay hover with additional information */
.card-item-wrapper {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  width: 100%;
}

.card-item-wrapper:hover {
  border-radius: 10px;
  transition: all 0.5s ease-in-out;
}

.card-item-wrapper:hover img {
  /* scale: 1.1; */
  transform: scale(1.1);
  transition: all 0.7s ease-in-out;
}

.card-item-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
  opacity: 0.7;
}

.card-item-wrapper:hover::after {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.9) 100%);
  opacity: 1;
  transition: all 0.5s ease-in-out;
}

.card-item-wrapper:hover .text-overlay {
  animation: fade-in 0.3s ease-in-out;
}

@keyframes fade-in {
  0% {
    opacity: 0.5;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.card-item-wrapper:hover > .text-overlay .overlay-content a:nth-of-type(2) {
  display: block !important;
  transition-property: display;
  transition-duration: 1s;
  transition-timing-function: linear;
}

.text-overlay {
  position: absolute;
  left: 0;
  padding: 0;
  bottom: 0;
  z-index: 1;
}

.text-overlay a {
  display: block;
  color: #fff;
  text-decoration: none;
}

.overlay-content a:nth-of-type(1) {
  overflow: hidden;
  text-overflow: ellipsis;
}

.overlay-content a:nth-of-type(2) {
  overflow: hidden;
  text-overflow: ellipsis;
  display: none;
}

/* for whole box clickable */
.card-item-wrapper:hover > .text-overlay .overlay-content p:nth-of-type(2) {
  display: block !important;
  transition-property: display;
  transition-duration: 1s;
  transition-timing-function: linear;
}

.text-overlay p {
  display: block;
  color: #fff;
  text-decoration: none;
}

.overlay-content p:nth-of-type(1) {
  overflow: hidden;
  text-overflow: ellipsis;
}

.overlay-content p:nth-of-type(2) {
  overflow: hidden;
  text-overflow: ellipsis;
  display: none;
}

/*# sourceMappingURL=cards.css.map */
