/*** GALLERY ***/

.prodgallery, .entryimg, .prodtext  {
display: block;
width: 100%;
}

.entry {
width: 40%;
display: block;
margin: 24px 20px 24px 0px;
opacity: 0.4;
transform: scale(0.95);
box-shadow: 0 4px 20px 1.35px var(--white); 
-webkit-transition: transform 0.5s, opacity 0.5s, box-shadow 0.5s;
-moz-transition: transform 0.5s, opacity 0.5s, box-shadow 0.5s;
-o-transition: transform 0.5s, opacity 0.5s, box-shadow 0.5s;
transition: transform 0.5s, opacity 0.5s, box-shadow 0.5s;
border-radius: 5px;
overflow: hidden;
}

.entry.is-selected { opacity: 1; transform: scale(1); box-shadow: 0 4px 20px 1.35px var(--xlightgrey); }

.prodtext {
padding: 20px;
}

a.prevnext {
position: absolute;
text-decoration: none;
z-index: 15;
}

a.prevnext-pg { top: 50%; }
a.prevnext-cc { top: 180px; }

a.prevbutton {
left: 30%;
transform: translateY(-50%) translateX(-50%);
}

a.nextbutton {
right: 30%;
transform: translateY(-50%) translateX(50%);
}

a.prevbuttoncc {
left: 180px;
transform: translateY(-50%) translateX(-50%);
}

a.nextbuttoncc {
right: 20px;
transform: translateY(-50%) translateX(50%);
}

.sfullwidth { padding-left: 0 !important; padding-right: 0 !important; }


/*** RESPONSIVE ***/

@media only screen and (max-width: 1440px) {
    /* GALLERY */
		.entry { width: 45%; }
		a.prevbutton { left: 27.5%; }
		a.nextbutton { right: 27.5%; }
}


@media only screen and (max-width: 1080px) {
	/* GALLERY */
		.entry { width: 50%; }
		a.prevbutton { left: 25%; }
		a.nextbutton { right: 25%; }
}


@media only screen and (max-width: 768px) {
	/* GALLERY */
		a.prevnext { display: none; }
		a.prevnext-pg { top: calc((100% - 85px) / 2); }
		.entry { width: 60%; }
		a.prevbutton { left: 20%; }
		a.nextbutton { right: 20%; }
		.proftext { padding: 16px; }
}


@media only screen and (max-width: 480px) {
	/* GALLERY */
		.entry { width: 70%; }
		a.prevbutton { left: 15%; }
		a.nextbutton { right: 15%; }
}


@media only screen and (max-width: 380px) {
	/* GALLERY */
		.entry { width: 75%; }
		a.prevbutton { left: 12.5%; }
		a.nextbutton { right: 12.5%; }
}