.grid {
    max-width: 100%;
    width: 100%;
    list-style: none;
    margin: 0 auto 2%;
    padding: 0;
}


.grid-div {
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.grid li.shown,
.no-js .grid li,
.no-cssanimations .grid li {
    opacity: 1;
}

/*.grid li a,*/
.grid li img {
    outline: none;
    border: none;
    display: block;
    max-width: 100%;
    opacity: 1;
}


.content {
    top: 0;
    bottom: 0;
    margin-top: 0;
    font-size: 0;
    width: 100%;
    left: 0;
    right: 0;
    text-align: center;
    padding: 20px;
    display: block;
    height: 100%;
    position: absolute;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.7);
}


.content {
    -ms-opacity: 0;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    -webkit-transition: opacity 0.35s ease-in-out;
    -moz-transition: opacity 0.35s ease-in-out;
    -ms-transition: opacity 0.35s ease-in-out;
    -o-transition: opacity 0.35s ease-in-out;
    transition: opacity 0.35s ease;
}


.grid li a:hover .content {
    -ms-opacity: 1;
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

.grid-div h2 {
    width: 100%;
    margin: 0;
    padding: 5px 0 12px;
    margin-bottom: 0;
    font-size: 22px;
    font-weight: normal;
    position: relative;
    z-index: 2;
    line-height: 1.3;
    color: #fff;
}

.grid-div p {
    font-size: 18px;
    color: #ccc;
    clear: both;
    font-weight: lighter;
    padding-top: 10px;
}

.separate {
    width: 15%;
    float: left;
    border-bottom: solid 2px #ccc;
    margin: 10px 0;
}


