
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,700');

body{
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -ms-text-size-adjust: 100%;
}

a, a:hover{
    -webkit-transition: all .3s;
    transition: all .3s;
    text-decoration: none;
}

/*-----------------------------------
hover effect 1
-----------------------------------*/

.eg-hover1 {
    position: relative;
}

.eg-hover1 .eg-hover-overlay{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 30px;
    -webkit-transition: all .3s;
    transition: all .3s;
    opacity: 0;
    background-color: rgba(0, 0, 0, .8);
    text-align: center;
}


.eg-hover1 .eg-hover-content{
    position: absolute;
    top: 60%;
    left: 0;
    width: 100%;
    -webkit-transition: all .3s;
    transition: all .3s;
    -webkit-transform: translateY(-55%);
    -ms-transform: translateY(-55%);
    transform: translateY(-55%);
    text-align: center;
    color: #fff;
}

.eg-hover1 .eg-hover-overlay:hover{
    opacity: 1;
}

.eg-hover1 .eg-hover-overlay:hover .eg-hover-content{
    top: 50%;
}

.eg-hover1 .eg-hover-content .eg-pre-title{
    font-size: 14px;
}

.eg-hover1 .eg-hover-content .eg-pre-title span{
    margin: 0 5px;
}

.eg-hover1 .eg-hover-content .eg-title{
    font-size: 18px;
    font-weight: bold;
}

/*-----------------------------------
hover effect 2
-----------------------------------*/


.eg-hover2 {
    position: relative;
}

.eg-hover2 .eg-hover-overlay{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 30px;
    -webkit-transition: all .3s;
    transition: all .3s;
    opacity: 0;
    background-color: rgba(65, 65, 65, .8);
    text-align: center;
}


.eg-hover2 .eg-hover-content{
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    -webkit-transition: all .3s;
    transition: all .3s;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.eg-hover2 .eg-hover-overlay:hover{
    opacity: 1;
}

.eg-hover2 .eg-hover-overlay .eg-action-link{
    display: inline-flex;
    margin: 0 auto 10px;
    width: 100px;

}
/*action link*/

.eg-hover2 .eg-hover-content .eg-action-link a{
    width: 50px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(37,37,37,.7);
    color: #fff;
    display: inline-block;
    margin-right: 1px;
    text-decoration: none;
}

.eg-hover2 .eg-hover-content .eg-action-link a i:before{
    color: #fff;
    font-weight: bold;
}

/*action  link hover*/

.eg-hover2 .eg-hover-content .eg-action-link a:hover{
    background: rgba(37,37,37,1);
}

/*lightbox icon*/

.eg-hover2 .eg-hover-content .eg-action-link .eg-lightbox-icon{
    border-radius: 4px 0 0 4px;
     -webkit-transform: translate3d(-50px,0,0);
    -moz-transform: translate3d(-50px,0,0);
    -ms-transform: translate3d(-50px,0,0);
    -o-transform: translate3d(-50px,0,0);
    transform: translate3d(-50px,0,0);
    -webkit-transition: all .3s;
    transition: all .3s;
    opacity: 0;
}


/*link icon*/

.eg-hover2 .eg-hover-content .eg-action-link .eg-link-icon{
    border-radius: 0 4px 4px 0;
    -webkit-transform: translate3d(50px,0,0);
    -moz-transform: translate3d(50px,0,0);
    -ms-transform: translate3d(50px,0,0);
    -o-transform: translate3d(50px,0,0);
    transform: translate3d(50px,0,0);
    -webkit-transition: all .3s;
    transition: all .3s;
    opacity: 0;
}

/*title*/

.eg-hover2 .eg-hover-content .eg-title {
    font-size: 18px;
    font-weight: normal;
    line-height: 25px;
    -webkit-transition: all .3s;
    transition: all .3s;
    -webkit-transform: translateY(70%);
    -ms-transform: translateY(70%);
    transform: translateY(70%);
    opacity: 1;
}


/*hover icons*/

.eg-hover2 .eg-hover-overlay:hover .eg-hover-content .eg-action-link .eg-lightbox-icon,
.eg-hover2 .eg-hover-overlay:hover .eg-hover-content .eg-action-link .eg-link-icon{
    -webkit-transform: translate3d(0px,0,0);
    -moz-transform: translate3d(0px,0,0);
    -ms-transform: translate3d(0px,0,0);
    -o-transform: translate3d(0px,0,0);
    transform: translate3d(0px,0,0);
    opacity: 1;
}

/*hover title*/

.eg-hover2 .eg-hover-overlay:hover .eg-hover-content .eg-title{
    opacity: 1;
    -webkit-transition: all .3s;
    transition: all .3s;
    -webkit-transform: translateY(0%);
    -ms-transform: translateY(0%);
    transform: translateY(0%);
}


/*-----------------------------------
hover effect 3
-----------------------------------*/

.eg-hover3 {
    position: relative;
    overflow: hidden;
}

.eg-hover3 .eg-hover-content{
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    -webkit-transition: all .3s;
    transition: all .3s;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.eg-hover3 .eg-info-wrap {
    position: absolute;
    bottom: 0px;
    color: #fff;
    padding: 20px;
    background: rgba(0,0,0,.8);

    -webkit-transition: all .3s;
    transition: all .3s;
    -webkit-transform: translateY(100%);
    -ms-transform: translateY(100%);
    transform: translateY(100%);
}

.eg-hover3 .eg-action-link .eg-lightbox-icon {
    font-size: 1px;
    font-weight: bold;
    color: #fff;
    opacity: 0;
    /*background: #333;*/
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    display: inline-block;
}

.eg-hover3 .eg-info-wrap .eg-title,
.eg-hover3 .eg-info-wrap .eg-title a {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}
.eg-hover3 .eg-info-wrap .eg-description {
    font-size: 14px;
    line-height: normal;
    color: #a5aab0;
}


.eg-hover3 .eg-hover-content .eg-action-link a i:before{
    color: #fff;
    font-weight: bold;
}

/*hover*/
.eg-hover3:hover .eg-info-wrap {
    -webkit-transition: all .3s;
    transition: all .3s;
    -webkit-transform: translateY(0%);
    -ms-transform: translateY(0%);
    transform: translateY(0%);
}

.eg-hover3:hover .eg-action-link .eg-lightbox-icon {
    font-size: 18px;
    opacity: 1;
}


/* Custom */
.eg-hover3 .eg-info-wrap {
    width: 100%;
}

.eg-hover2 .eg-hover-content .eg-title{
    font-size: 14px;
}

.eg-hover3 .eg-info-wrap .eg-title,
.eg-hover3 .eg-info-wrap .eg-title a {
    font-size: 14px;
    font-weight: normal;
    color: #a5aab0;
    line-height: normal;

    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

}

.eg-hover1 .eg-hover-content .eg-title {
    font-size: 14px;
    font-weight: bold;
    padding: 1rem;
    line-height: normal;
    height: 55px;

    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/*-----------------------------------
hover effect 1
-----------------------------------*/

.eg-hover4 {
    position: relative;
}

.eg-hover4 .eg-hover-overlay{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 30px;
    -webkit-transition: all .3s;
    transition: all .3s;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0);
    text-align: center;
}