/*Video gallery*/
div.video-post > a img {
    width: 200px;
    height: 200px;
}

div.video-post {
    position: relative;
    z-index: 5;
    width: 200px;
    height: 200px;
    padding-left: 0;
    margin: 20px;
    border: 1px solid #37b4c2;
}

div.video-post div.video-content {
    position: absolute;
    top: 0px;
    width: 200px;
    height: 200px;
    z-index: 10;
    text-align: center;
    background: rgba(0, 0, 0, 0);
    opacity: 1;
    transition: all linear 200ms;
}
.video-play-icon {
    border-radius: 50%;
    font-size: 45px !important;
    width: 45px;
    height: 45px;
    position: absolute;
    color: #fff;
    line-height: 0;
    top: 50%;
    left: 50%;
    margin-top: -22.5px;
    margin-left: -22.5px;
    transition: all cubic-bezier(.18,-0.54,.68,1.47) 300ms;
    -webkit-transition: all cubic-bezier(.18,-0.54,.68,1.47) 300ms;
    transform: scale(1,1);
    -webkit-transform: scale(1,1);
    opacity: 0.8;
}

.inner-project h2,
.inner-project h3 {
    opacity: 0;
    transform: translateY(50px);
    -webkit-transform: translateY(50px);
}

.inner-project h2 {
    padding-top: 10px;
    margin-bottom: 5px;
    font-size: 18px;
    color: #fff;
    text-transform: none;
    transition: all cubic-bezier(.18,-0.54,.68,1.47) 200ms;
}
.inner-project h3 {
    margin-top: 0;
    font-size: 16px;
    color: #37b4c2;
    transition: all cubic-bezier(.18,-0.54,.68,1.47) 300ms;
}

/*HOVERS*/
div.video-post:hover div.video-content {
    background: rgba(0,0,0,.5);
    opacity: 1;
}
div.video-post:hover div.video-content .video-play-icon {
    transform: scale(1.2, 1.2);
    -webkit-transform: scale(1.2, 1.2);
}
div.video-post:hover div.video-content .inner-project h2,
div.video-post:hover div.video-content .inner-project h3 {
    transform: translateY(0px);
    -webkit-transform: translateY(0px);
    opacity: 1;
}

@media (max-width: 1599px) {
	.video-play-icon {
	    font-size: 45px !important;
	    width: 45px;
	    height: 45px;
	}
    .inner-project h2 {
        padding-top: 5px;
        margin-bottom: 2px;
        font-size: 22px;
    }
    .inner-project h3 {
        font-size: 18px;
    }
}

@media (max-width: 1419px) {
    .inner-project h2 {
        padding-top: 22px;
        margin-bottom: 15px;
        font-size: 30px;
    }
    .inner-project h3 {
        font-size: 22px;
    }
}

@media (max-width: 1199px) {
    .inner-project h2 {
        padding-top: 12px;
        margin-bottom: 5px;
        font-size: 25px;
    }
    .inner-project h3 {
        font-size: 20px;
    }
}

@media (max-width: 969px) {
	.video-play-icon {
	    font-size: 45px !important;
	    width: 45px;
	    height: 45px;
	}
    .inner-project h2 {
        padding-top: 2px;
        margin-bottom: 2px;
        font-size: 22px;
    }
    .inner-project h3 {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
	.video-play-icon {
	    font-size: 30px !important;
	    width: 30px;
	    height: 30px;
	}
    .inner-project h2 {
        padding-top: 0;
        margin-bottom: 0;
        font-size: 18px;
    }
    .inner-project h3 {
        font-size: 14px;
    }
}

@media (max-width: 519px) {
    .video-play-icon {
        font-size: 45px !important;
        width: 45px;
        height: 45px;
    }
    .inner-project h2 {
        padding-top: 2px;
        margin-bottom: 2px;
        font-size: 16px;
    }
    .inner-project h3 {
        font-size: 13px;
    }
}
