/* Remove bottom margin when paragraph is the last child in a given container */
p:last-child {margin-bottom: 0;}

/* No Underline */
.no-ul, .no-ul a {
	text-decoration: none;
}

/* Paragraph Spacing */
p {
    margin-bottom: 1rem;
}

/* Container image background */
.image-background {
 position: relative;
 isolation: isolate;

  & img:first-of-type{
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
 }
}

.bg-fade-wrapper {
	position: relative;
	overflow: hidden;
}

.bg-fade {
	position: absolute; 
	width: 100%;
	height: 100%; 
        inset: 0;
	background-size: cover; 
	background-position: center center;
	opacity: 0;
	animation-name: fade-zoom;
	animation-duration: 24s;
	animation-iteration-count: infinite;
}


.bg-fade:nth-child(2){
	animation-delay: 0s;
}

.bg-fade:nth-child(3){
        animation-delay: 6s;
}

.bg-fade:nth-child(4){
	animation-delay: 12s;
}

.bg-fade:nth-child(5){
	animation-delay: 18s;
}


@keyframes fade-zoom {
	0% {
        opacity:0;
	transform: scale(100%);
    }
	16.66% {
        opacity:1
    }
	33.33% {
        opacity:1
    }
	48.66% {
        opacity:0
    }
	100% {
        opacity:0; 
	transform: scale(110%);
    }
}

/* Use this if you want to pause the animation on hover */ 
.bg-fade-wrapper:hover .bg-fade {
	animation-play-state: paused;
}

/* Dots background */ 
.bg-dots-offset {
  background-color: #101014;
  opacity: 0.8;

  background-image:
    radial-gradient(#402d78 30px, transparent 1px),
    radial-gradient(#402d78 30px, #101014 30px);

  background-size: 120px 120px;
  background-position: 0 0, 60px 60px;
}

/* Masonry layout */ 
.masonry-container .gb-loop-item {
  margin-bottom: 2rem; 
}



.popup-col {
	margin-left: auto !important;
	margin-right: auto !important;
}