/* ============================================================== 
    # Gallery 
=================================================================== */

.magnific-mix-gallery {
	margin: -15px;
	overflow: hidden;
}

.gallery-items.colums-3 .gallery-item {
	float: left;
	padding: 15px;
	width: 33.3333%;
}

.gallery-items.colums-2 .gallery-item {
	float: left;
	padding: 15px;
	width: 50%;
}

.gallery-items.colums-4 .gallery-item {
	float: left;
	padding: 15px;
	width: 25%;
}

/* Mobile Layout: 320px. */
@media only screen and (max-width: 767px) {
	.gallery-items.colums-2 .gallery-item,
	.gallery-items.colums-3 .gallery-item,
	.gallery-items.colums-4 .gallery-item {
		width: 100%;
		padding-left: 0;
		padding-right: 0;
	}
}

  
  /* Max Wide Mobile Layout: 600px. */
@media only screen and (min-width: 600px) and (max-width: 1200px) {
  
	  /* Portfolio */
	.gallery-items.colums-4 .gallery-item {
		width: 50%;
	}
}

.gallery-style-two {
	position: relative;
	z-index: 1;
	overflow: hidden;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gallery-style-two .content-inner {
	display: inline-block;
	position: relative;
	top: -80px;
	margin-bottom: -80px;
	overflow: hidden;
	border-radius: 0 10px 10px;
	margin-right: 30px;
}

.gallery-style-two .overlay {
	display: flex;
	justify-content: space-between;
	bottom: 30px;
	padding: 30px;
	background: var(--white);
	border-radius: 10px;
	transition: all 0.35s ease-in-out;
	position: absolute;
	z-index: 1;
	transform: translateX(60px);
	opacity: 0;
	visibility: hidden;
}

.gallery-item .gallery-style-two:hover .overlay,
.gallery-item.active .overlay {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
}

.gallery-item .gallery-style-two:hover .shape,
.gallery-item.active .shape {
	bottom: 0;
	opacity: 1;
	visibility: visible;
	transition-delay: 300ms;
}

.gallery-style-two .overlay span {
	display: inline-block;
	margin-bottom: 5px;
}

.gallery-style-two h4 {
	margin: 0;
}

.gallery-style-two .overlay .link {
	position: absolute;
	right: -100px;
	background: var(--color-primary);
	height: 100%;
	top: 0;
	width: 80px;
	text-align: center;
	color: var(--white);
	opacity: 0;
	visibility: hidden;
}

.gallery-style-two .overlay .link i {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 20px;
	margin-left: -10px;
}

.gallery-style-two:hover .overlay .link, 
.gallery-style-two.active .overlay .link {
	right: -80px;
	opacity: 1;
	visibility: visible;
}

.gallery-style-two .shape {
	position: absolute;
	left: 0;
	bottom: -30%;
	max-width: 50%;
	transition: all 0.20s ease-in-out;
	opacity: 0;
	visibility: hidden;
}

.gallery-style-two .shape img {
	height: 100%;
}

.gallery-style-two > img {
	-webkit-transition: all 0.35s ease-in-out;
	-moz-transition: all 0.35s ease-in-out;
	-ms-transition: all 0.35s ease-in-out;
	-o-transition: all 0.35s ease-in-out;
	transition: all 0.35s ease-in-out;
}

.gallery-style-two:hover > img {
	-webkit-transform: scale(1.2);
	-moz-transform: scale(1.2);
	-ms-transform: scale(1.2);
	transform: scale(1.2);
}

.load-more-info p {
	margin-bottom: -5px;
}

.load-more-info a {
	text-decoration: underline;
	font-weight: 600;
	color: var(--color-primary);
}

.secondary.load-more-info a {
	color: var(--color-secondary);
}

.load-more-info {
	display: inline-block;
	border: 1px dashed;
	padding: 10px 20px;
	padding-bottom: 15px;
	border-radius: 30px;
}


/* Gallery Style Three */

.gallery-style-three .thumb {
	overflow: hidden;
	position: relative;
	z-index: 1;
}

.gallery-style-three .thumb .item.popup-gallery {
	position: absolute;
	left: 50%;
	top: 50%;
	content: "";
	height: 55px;
	width: 55px;
	text-align: center;
	line-height: 55px;
	transform: translate(-50%, -50%) scale(0);
	background: var(--color-secondary);
	color: var(--white);
	border-radius: 50%;
	z-index: 1;
}

.gallery-style-three .thumb .item.popup-gallery i {
	font-weight: 100;
}

.gallery-style-three:hover .thumb .item.popup-gallery {
	transform: translate(-50%, -50%) scale(1);
	transition: all 0.45s ease-in-out;
}

.gallery-style-three .overlay {
	margin-top: 20px;
}

.gallery-style-three .overlay a:hover {
	color: var(--color-secondary);
}

.gallery-style-three .overlay span {
	display: block;
	margin-bottom: 2px;
}

.gallery-style-three .thumb::after {
	position: absolute;
	left: -200%;
	top: 0;
	content: "";
	height: 200%;
	width: 150%;
	background: #000000;
	transform: skewX(-53deg);
	transition: all 0.25s ease-in-out;
	opacity: 0;
	visibility: hidden;
}

.gallery-style-three .thumb::before {
	position: absolute;
	right: -70%;
	top: 0;
	content: "";
	height: 200%;
	width: 150%;
	background: #000000;
	transform: skewX(-53deg);
	transition: all 0.25s ease-in-out;
	opacity: 0;
	visibility: hidden;
}

.gallery-style-three:hover .thumb::after {
	opacity: 0.7;
	visibility: visible;
	left: -150%;
}

.gallery-style-three:hover .thumb::before {
	opacity: 0.7;
	visibility: visible;
	right: -50%;
}