.imgContainer{
  float:left;
}

.sa_img:hover{
  -moz-box-shadow: 0 0 20px #7a7a7a;
  -webkit-box-shadow: 0 0 20px #7a7a7a;
  box-shadow: 0 0 20px #7a7a7a;
  cursor: pointer;
}

/*  */

/* Float four columns side by side */
.column_portal {
  float: left;
  width: auto%;
  padding: 0 10px;
}

/* Clear floats after the columns */
.row_portal:after {
  content: "";
  display: table;
  clear: both;
}

/* Style the counter cards */
.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); /* this adds the "card" effect */
  padding: 16px;
  text-align: center;
}

/*  */

.btn-group a {
  width: 50%; /* Set a width if needed */
  display: block; /* Make the buttons appear below each other */
}

.collection-item:hover{
  background-color: #8D1436;
  color:white;
}

.collection-item:hover a{
  color:white;
}

.overlay-container,
.overlay-container * {
	box-sizing: border-box;
}
.overlay-container {
	position: relative;
	display: inline-block;
	overflow: hidden;
	max-width: 100%;
	height: auto;
	border-style: solid;
	border-width: 5px;
	border-color: rgb(149, 33, 33);
	border-radius: 10px;
  padding: auto;
}
.overlay-container img {
	max-width: 100%;

}
.overlay-container {
    display: block;
    cursor: pointer;
}
.overlay-container .overlay {
	opacity: 0;
    position: absolute;
    cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	padding: 15px;
	-moz-transition: all 0.4s ease-in-out 0s;
	-webkit-transition: all 0.4s ease-in-out 0s;
	-ms-transition: all 0.4s ease-in-out 0s;
	transition: all 0.4s ease-in-out 0s;
}
.overlay-container:hover .overlay,
.overlay-container.active .overlay {
	opacity: 1;
}

.overlay-container:hover {
	border-color: rgb(48, 43, 43);
}
.overlay-container .hover-text {
	text-align: center;
	display: inline-block;
	position: absolute;
	top: 50%;
    left: 50%;
    width: 90%;
	-moz-transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}
.overlay-container .hover-text_mobile {
	font-size: 15px;
	border-top: 1px solid rgb(179, 179, 179); /* for old browsers */
	border-top: 1px solid rgba(179, 179, 179, 0.7);
	margin-top: 5px;
	padding-top: 2px;
	display: none;
}
.overlay-container.active .hover-text_mobile {
	display: block;
}

.overlay-container img {
	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
.overlay-container:hover img {
	-webkit-transform: scale(1.3);
	transform: scale(1.3);
}

.responsive-img {
    width: 100%;
    height: auto;
    max-width: 100%; /* Prevents the image from exceeding its container */
    display: block;  /* Removes any inline-block gap */
    margin: 0 auto;  /* Centers the image if needed */
}
