div.gallery div.first img {
padding: 5px;
+ padding-bottom: 25px;
margin-top: -240px;
margin-left: -320px;
position: absolute;
border-bottom: 1px solid #ccc;
}
+div.gallery span.gallery-legend {
+ display: inline-block;
+ position: absolute;
+ top: 50%;
+ margin-top: 250px;
+ left: 0%;
+ width: 100%;
+ color: #000;
+ z-index: 1000;
+}
+
+div.portrait div.gallery span.gallery-legend {
+ margin-top: 330px;
+}
+
@media screen and (max-width: 640px) {
div.portrait div.gallery div.first img,
div.gallery div.first img {