/*--- Shortcode Ultimate ---*/
[class*='su-'] {
	&.nxm {
		margin: 0 !important;
	}
}

/* List */
.su-list {
	&.nxm ul {
		margin: 0 !important;
	}
}
/* Map */
.su-gmap {
	&:after {
		content: ''; 
		display: table; 
		clear: both;
	}
	iframe { 
		float: left; 
	}
	&.full-gmap {
		iframe {
			width: 100%;
			height: 300px;
		}
	}
}

/* Lightbox */
.su-lightbox { 
	outline: 0; 

	&[data-mfp-type="image"] { 
		cursor: pointer; 
	}
}
.su-lightbox-content {
	@media (max-width: 991px){
		width: 95% !important;
	}
	.mfp-close {
	    border-radius: 50%;
	    background-color: #ddd;
	    width: 35px;
	    height: 35px;
	    line-height: 35px;
	    top: 7px !important;
	    right: 7px;
	}
}
.mfp-bg {
	opacity: 0.95;
}
.mfp-bottom-bar {
	.mfp-title {
		padding-right: 0;
	}
	.mfp-counter {
	    position: static;
	    margin-top: 5px;
	    font-style: italic;
	}
}

/* Gallery */
.su-custom-gallery {

	&[class*='grid-']{
		&:before, &:after {
			content: none !important;
		}

		.su-custom-gallery-slide {
			margin: 0;
		}
	}

	.su-clear {
		display: none;
	}

	.su-custom-gallery-slide {
	    float: none;
	    display: inline-block;
	    position: relative;

	    &:before, &:after {
			pointer-events: none;
			position: absolute;
			top: 0; 
			left: 0;
			right: 0;
			opacity: 0; 
			@include transition( opacity 0.5s );
		}

		&:before {
			content: "";
			background: rgba(#333, .85);
			width: 100%; 
			height: 100%;
		}

		&:after {
			content: unicode("f0fe");
			@include fas;
			font-size: 250%;
			color: #fff;
			top: 50%;
			text-align: center; 
			@include transform( translateY(-50%) );
		}

		&:hover {
			&:before, &:after {
				opacity: 1;
			}
		}

		a {
	    	outline: 0;
	    }

	    img {
		    padding: 0;
	        border-radius: 0;
		    border: 0 !important;
		    outline: 0;
		    width: 100%;
		}
	}
}