#longform {
margin-top: 2em;
overflow: auto
}
#longform a:link {
text-decoration: none !important
}
.longstory {
margin-right: 3%;
height: 20em;
border: 1px solid #000;
margin-bottom: 1em;
float: left;
padding: 1em;
text-align: center;
list-style-type: none;
background-position: 50% 50%;
background-repeat: no-repeat;
background-size: cover;
color: #FFF;
box-sizing: border-box;
}
.secnet {
background-image: url("https://longform.mutigers.com/on-air-hdr.jpg")
}
.poscoach {
background-image: url("https://mutigers.com/images/2015/8/5/7537595.jpeg")
}
.fbreview {
background-image: url("https://longform.mutigers.com/fbyir-lead0.jpg");
background-size: cover
}
.TLI {
background-image: url("https://longform.mutigers.com/TLI-trey.jpg");
background-size: cover
}
.longstory h3 {
width: 100%;
line-height: 8em;
vertical-align: middle;
padding: 0.5em;
margin: 0.5em 0;
font-size: 2em;
color: #000 !important;
background: rgba(256,256,256,.7);
border-radius: 1em;
vertical-align: middle;
line-height: normal;
font-family: 'Roboto', sans-serif;
}
.longstory {
position: relative;
}
.longstory .desc {
visibility: hidden;
}
.longstory:hover h3 {
background: rgba(198,146,20,.67);
-moz-transition: all 0.5s;
-webkit-transition: all 0.5s;
transition: all 0.5s;
top: 0;
left: 0;
color: #000 !important
}
.longstory:after {
content: "";
display: block;
height: 100%;
width: 100%;
opacity: 0;
background: rgba(0,0,0,.67);
-moz-transition: all 0.5s;
-webkit-transition: all 0.5s;
transition: all 0.5s;
top: 0;
left: 0;
position: absolute;
}
.longstory:hover:after {
opacity: 1;
}
.longstory:hover .desc {
visibility: visible;
-moz-transition: all 0.5s;
-webkit-transition: all 0.5s;
transition: all 0.5s;
}
.longstory div {
color: #fff;
z-index: 1;
position: relative
}
@media (min-width: 1280px) {
.longstory {
width: 21.5%
}
}
@media (max-width: 1279px) {
.longstory {
width: 30%
}
}
@media (max-width: 1023px) {
}
@media (max-width: 767px) {
.longstory {
width: 47%
}
}
@media (max-width: 479px) {
.longstory {
width: 47%;
height: 15em
}
.longstory h3 {
font-size: 1.25em;
}
.longstory .desc {
font-size:smaller;
}
}