  /* photo box */
.photo-box-widget {
    width: auto;
    max-width: 300px;
    margin: 10px auto;
    position: relative;
}
.photo-box-widget a,
.photo-box-widget a:hover,
.photo-box-widget a:focus {
	color: white;
	text-decoration: none;
}
.photo-box-widget:hover,
.photo-box-widget:focus {
	box-shadow: 3px 3px 30px gray;
	text-decoration: none;
	color:white;
}

.photo-box-widget img {
	margin: 0 !important;
	width: 100%;
}

.photo-box-widget:hover img,
.photo-box-widget:focus img {
	opacity: 0.9;
}
.right-photo-box {
float: right;
}
.left-photo-box {
float: left;
}
.center-photo-box {
float: none;
margin: 10px auto;
display: table;
}

.photo-box-widget .photobox-text {
   position: absolute;
    bottom: 0px;
    left: 0px;
    padding: 10px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.84);
}


.photo-box-widget .photobox-text p {
    margin-bottom: 0px;
    text-transform: uppercase;
    color: white !important;
    font-family: 'Oswald';
    letter-spacing: 0.04em;
    font-size: 25px;
    text-shadow: black 2px 2px 20px;
}
.photo-box-widget .photobox-text p .fa {
    float: right;
    line-height: 1.4;
}
/* different styles for photobox row */
.photobox-row {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
}
.photobox-row .widget {
	margin: 10px;
}
.photobox-row .photo-box-widget {
	max-width: 450px;
}
.photobox-row .photo-box-widget .photobox-text {
	top:0;
	right:0;
	display: flex;
	text-align:center;
	background-color: rgba(0, 0, 0, 0.14);
	padding:0;
	position: relative;
}
.photobox-row.photobox-centertext .photo-box-widget .photobox-text {
	position: absolute;
}
.photobox-row .photo-box-widget .photobox-text p {
	font-size: 23px;
	font-weight: 100;
	margin:auto;
	text-shadow:none;
	background: #000000b3;
	background: linear-gradient(to right, #dcdcdceb 50%, #000000eb 50%);
	background-size: 200% 100%;
	background-position: right bottom;
	transition: all 0.3s ease;
	padding: 5px;
	width: 100%;
}
.photobox-row .photo-box-widget a:hover .photobox-text p,
.photobox-row .photo-box-widget a:focus .photobox-text p {
	background-position: left bottom;
	color:black !important;
}
@media(min-width: 800px) {
	.photobox-row {
		flex-direction: row;
	}
}