.red-under {
    text-decoration: underline;
    text-decoration-color: #be0000;
    text-decoration-thickness: 10%;
    text-underline-offset: .25em;
}

h1, h2, h3, h4, h5, h6 {
		font-family: Industry !important;
		letter-spacing: 0.5px;
}

h2.heading-h2{
    font-size: 50px !important;
    font-family: Factoria !important;
    line-height: 55px;
    letter-spacing: 0.5px;
}
/*
h3 {
    font-size: 36px !important;
    font-family: Factoria !important;
    line-height: 45px;
    letter-spacing: 0.5px;
}
*/
/* White navigation/content link */
.white-hover-link,
.white-hover-link:visited {
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
}

.white-hover-link:hover,
.white-hover-link:focus {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: #ffffff;
}

.black-gradient-overlay {
    position: relative;
}

.black-gradient-overlay::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 1) 0%,
				rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: 10;
    pointer-events: none;
}

/* reduce icon size for card widget*/
.small-icon .umc-icon{
	height:50px!important;
}

/*Change bullet of guidelines section to u red*/
#guidelines ul li::marker {
    color: #be0000;
		font-size:24px;
}

/*Change Marquee button to red*/
.red-btn-marquee a.uu-btn.white{
		background-color:#be0000!important;
		color:white!important;
}
.red-btn-marquee a.uu-btn.white:hover{
		background-color:white!important;
		color:#be0000!important;
}

/*change accordion*/

.custom-accordion ul{
	border:none;
		background-color: transparent !important;
		-webkit-box-shadow: none;
		box-shadow:none;
}

/*Dark Theme Cards to match with U Research*/
.dark-theme-cards .uu-card-widget-card{
	background-color:#202020!important;
		box-shadow: 0px 15px 20px 0px rgba(256, 256, 256, 0.1);
}

.dark-theme-cards  .uu-card-widget-card .uu-card-widget-card-title-black {
	color:white!important;
}
.dark-theme-cards .uu-card-widget-card:hover{
box-shadow: 0px 15px 20px 0px rgba(256, 256, 256, 0.5);
}
.dark-theme-cards .uu-card-widget-card-body {
		color:white!important;
}


/* fix hover card*/ 
.three-card .uu-global-card-hover-grid{
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 30%))!important;
		gap: clamp(15px, 2vw, 30px)!important;
}
@media screen and (max-width: 900px) {
		.three-card .uu-global-card-hover-grid{
		 	grid-template-columns: 100% !important;
		}
}

.custom-card .hover-container{
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(30%, 1fr));
  grid-gap: 1rem;
}
.custom-card .hover-card{
  position: relative;
  padding: 2% 5%;
  justify-self: center;
  
  .card-content{
    color:white;
    font-size:18px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: space-between;
    justify-content: space-between;
		padding: 3% 0;
  }
  .card-title{
    font-size: 26px;
    flex: 1; 
    margin-bottom: 5%;
			color:white!important;
  }
  .visit-btn{
    flex-shrink: 0;
    margin-bottom: 5%;
  }
  .card-description{
    opacity: 0;
    visibility: hidden;
    padding-bottom:4%;
  }
  .card-background {
    position:absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    
    overflow: hidden;
    z-index: -1;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    .bg-img{
       width: 100%;
  height: 100%;
  object-fit: fill;
      filter: brightness(0.45);
      
      vertical-align: middle;
    }
  }
  .card-link{
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1; /* Less than the inner interactive elements */
  pointer-events: auto; 
  }
  a{
    position: relative;
    z-index: 2;
    text-decoration:none;
    color:white;
  }
}
.custom-card .card-bottom{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-direction: row;
	margin-top:2%;
}
.custom-card .hover-card:hover{
   background: rgba(0, 0, 0, 0.50);
   
  
  .card-description{
    opacity: 1;
    visibility: visible;
    transform: translateY(15px);
    transition: opacity 300ms ease-in-out, transform 300ms ease-in-out, visibility 300ms ease-in-out;
  }
}
@media screen and (max-width: 768px) {
  .custom-card .hover-container{
    grid-template-columns: repeat(1, 1fr);
  }
}