.plugin_imagegallery {
	
}

.plugin_imagegallery a{
	border:none !important;
	color: #f56a6a !important;
	border-bottom: none !important;
}

.plugin_imagegallery_item {
	width: 24%;
    float: left;
    padding: 0 0 0 0;
	position:relative;
	margin-right:1%;
	margin-bottom:1%;
}

.plugin_imagegallery_item .top-left{
	position: absolute;
	top: 0px;
	left: 0px;
	width:100%;
	background: rgb(0,0,0);
	background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 82%);
	padding: 5px 5px 5px 5px;
}
.plugin_imagegallery_item .top-left b{
	color:#ffffff;
}

@media only screen and (max-width: 1024px) {
	.plugin_imagegallery_item {
		width: 48%;
	}
}

@media only screen and (max-width: 767px) {
	.plugin_imagegallery_item {
		width: 100%;
		margin-right:0px;
	}
}




/* ------------------------------------------------------------------------------ Modals -------------------------------------------------------------------------------------------- */

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 4px;
    border: 0px solid #000000;
    width: 40%;
}

@media only screen and (max-width: 1024px) {
	.modal-content {
		width: 80%;
	}
}

@media only screen and (max-width: 767px) {
	.modal-content {
		width: 80%;
	}
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

