
.effects {
    padding-left: 0px;
}
.effects .img {
    float: left;
    overflow: hidden;
    position: relative;
    width: 33%;
}
.effects .img:nth-child(n) {
    margin-right: 0px;
	    margin-top: 10px;
}
.effects .img:first-child {
    margin-left: 0px;
}
.effects .img:last-child {
    margin-right: 0;
}
.effects .img img {
    display: block;
    height: auto;
    margin: 0;
    max-width: 100%;
    padding: 0;
}
.overlay {
    background: rgba(0, 0, 0, 0.8) none repeat scroll 0 0;
    display: block;
    overflow: hidden;
    position: absolute;
    text-align: center;
    transition: all 0.5s ease 0s;
    z-index: 20;
}
.overlay p {
    color: #fff;
	margin-top: 105px;
	font-family:Abbeyline;
	font-size:18px;
}
a.close-overlay {
    background-color: #000;
    color: #fff;
    cursor: pointer;
    display: block;
    font-size: 20px;
    font-weight: 700;
    height: 45px;
    line-height: 45px;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    width: 45px;
    z-index: 100;
}
a.close-overlay.hidden {
    display: none;
}
a.expand {
    border: 1px solid #fff;
    color: #fff;
    display: block;
    font-size: 30px;
    font-weight: 700;
    height: 200px;
    line-height: 50px;
    position: absolute;
    text-align: center;
    width: 200px;
    z-index: 100;
}
#effect-1 .overlay {
    bottom: 0;
    height: 0;
    left: 0;
    right: 0;
    width: 100%;
}
#effect-1 .overlay a.expand {
    bottom: 50%;
    left: 0;
    margin: 0 auto -30px;
    right: 0;
}
#effect-1 .img.hover .overlay {
    height: 100%;
}
#effect-2 .overlay {
    height: 0;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
}
#effect-2 .overlay a.expand {
    left: 0;
    margin: -30px auto 0;
    right: 0;
    top: 50%;
}
#effect-2 .img.hover .overlay {
    height: 100%;
}
#effect-3 .overlay {
    bottom: 0;
    height: 100%;
    left: 0;
    top: 0;
    width: 0;
}
#effect-3 .overlay a.expand {
    bottom: 0;
    left: 50%;
    margin: auto 0 auto -30px;
    top: 0;
}
#effect-3 .img.hover .overlay {
    width: 100%;
}
#effect-4 .overlay {
    bottom: 0;
    height: 100%;
    right: 0;
    top: 0;
    width: 0;
}
#effect-4 .overlay a.expand {
    bottom: 0;
    margin: auto -30px auto 0;
    right: 50%;
    top: 0;
}
#effect-4 .img {
    overflow: hidden;
}
#effect-4 .img.hover .overlay {
    width: 100%;
}
#effect-5 .overlay {
    bottom: 0;
    left: 0;
    opacity: 0;
    padding: 10px;
    right: 0;
    top: 0;
}
#effect-5 .overlay a.expand {
    border-radius: 0;
    bottom: 0;
    height: 100%;
    left: 0;
    margin: auto;
    right: 0;
    top: 0;
    transition: all 0.5s ease 0s;
    width: 100%;
}
#effect-5 .img.hover .overlay {
    opacity: 1;
}
#effect-5 .img.hover .overlay a.expand {
    height: 91%;
    width: 95%;
}
#effect-6 .overlay {
    bottom: 0;
    left: 0;
    opacity: 0;
    right: 0;
    top: 0;
}
#effect-6 .overlay a.expand {
    left: 0;
    margin: 0 auto;
    opacity: 0;
    right: 0;
    top: 0;
    transition: all 0.5s ease 0s;
}
#effect-6 .img.hover .overlay {
    opacity: 1;
}
#effect-6 .img.hover .overlay a.expand {
    margin-top: -30px;
    opacity: 1;
    top: 50%;
}
@media only screen and (max-width: 1100px) {
.effects {
    padding-left: 5px;
}
.effects .img {
    width: 50%;
}
.effects .img:nth-child(n) {
    margin-right: 5px;
}
.effects .img:first-child {
    margin-left: 0;
}
.effects .img:nth-child(2n-1) {
    margin-left: -5px;
}
.effects .img:nth-child(2n) {
    margin-right: 0;
}
.effects .img:last-child {
    margin-right: 0;
}
}
@media only screen and (max-width: 520px) {
.effects .img {
    width: 100%;
}
.effects .img:nth-child(n) {
    margin-right: 0;
}
.effects .img:first-child {
    margin-left: 0;
}
.effects .img:nth-child(2n-1) {
    margin-left: 0;
}
.effects .img:nth-child(2n) {
    margin-right: 0;
}
.effects .img:last-child {
    margin-right: 0;
}
.effects .img img {
    margin: 0 auto;
}
}
