@import url('https://fonts.googleapis.com/css?family=Raleway:300,400,600,700');



.overlay-img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.simple-effect {
    padding: 1em .4em;
    display: block;
    font-size: 1.95em;
}

.simple-effect span {
    color: #1e92ea;
}


/*-- global css --*/

.overlay,
.overlay-text,
.simple-text,
.overlay-sim-text-2,
.overlay-text-effect-3,
.zoom-effect-1 img,
.zoom-effect-2 img,
.opacity-effect img,
.blur-effect img,
.grayscale-effect img {
    transition: all .4s linear;
    -webkit-transition: all .4s linear;
    -moz-transition: all .4s linear;
    -o-transition: all .4s linear;
}

.image-wrapper {
    margin-bottom: 35px;
    margin-top: 35px;
}

.effect-image-1 {
    position: relative;
    display: block;
    vertical-align: middle;
    align-items: center;
    justify-content: center;
}


.overlay-text p,
.overlay-sim-text-2 p,
.overlay-text-effect-3 p {
    text-align: center;
    font-family: 'Raleway', sans-serif;
    color: #333333;
    padding: 20px 20px;
}

.overlay {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: #ffcc00;
    opacity: 0;
    visibility: hidden;
}

/*-- simple overlay css --*/

.simple-overlay {
    opacity: 0;
    visibility: hidden;
}

.effect-image-1:hover .simple-overlay {
    visibility: visible;
    opacity: .95;
}

/*-- left to right overlay --*/

.simple-overlay-1 {
    width: 0px;
    visibility: hidden;
}

.effect-image-1:hover .simple-overlay-1 {
    visibility: visible;
    opacity: .95;
    width: 100%;
}

/*-- right to left overlay --*/

.simple-overlay-2 {
    width: 0px;
    right: 0;
    left: initial;
}

.effect-image-1:hover .simple-overlay-2 {
    visibility: visible;
    opacity: .95;
    width: 100%;
}

/*-- right corner to left overlay --*/

.simple-overlay-3 {
    height: 0px;
    right: 0;
    left: initial;
    width: 0px;
}

.effect-image-1:hover .simple-overlay-3 {
    visibility: visible;
    opacity: .95;
    width: 100%;
    height: 100%;
}

/*-- ovarlay text effect-1 --*/
.overlay-text {
    position: absolute;
    left: 5px;
    top: 5px;
    width: 100%;
    height: 100%;
    background: #ffcc00;
}

.overlay-text-1 {
    opacity: 0;
    visibility: hidden;
}

.effect-image-1:hover .overlay-text-1 {
    opacity: .95;
    visibility: visible;
}

.overlay-text-2 {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
}

.effect-image-1:hover .overlay-text-2 {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

/*-- overlay text effect 2 --*/

.overlay-sim-text-2 {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background: #ffcc00;
    opacity: 0;
}

.simple-text {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    background: #1e92ea;
    color: #fff;
}

.simple-text p {
    margin-bottom: 0px;
    padding: 2px 8px;
}

.effect-image-1:hover .overlay-xs-1 {
    opacity: 1;
    visibility: visible;
    display: block;
}

.effect-image-1:hover .simple-text {
    visibility: hidden;
    opacity: 0;
}

/*-- overlay text effect 3 --*/

.overlay-text-effect-3 {
    width: 85%;
    height: 80%;
    left: 20px;
    top: 20px;
    background: #ffcc00;
    position: absolute;
    outline: 5px solid #ffcc00;
    outline-offset: 3px;
}

/*!-- ovarlay radious effect --*/
.radious-effect img {
    border-radius: 0%;
    width: 176px;
    height: 176px;
    margin: 0 auto;
    display: block;
    transition: all .95s ease;
    -webkit-transition: all .95s ease;
    -moz-transition: all .95s ease;
    -o-transition: all .95s ease;
}

.radious-effect:hover img {
    border-radius: 100%;
}

.radius-effct-next img {
    border-radius: 100%;
    transition: all .95s ease;
    -webkit-transition: all .95s ease;
    -moz-transition: all .95s ease;
    -o-transition: all .95s ease;
}

.radius-effct-next:hover img {
    border-radius: 0%;
}


/*!-- ovarlay zoom in effect --*/

.zoom-effect-1 {
    overflow: hidden;
}

.zoom-effect-1 img {
    transform: scale(1);
    -webkit-transform: scale(1);
}

.zoom-effect-1:hover img {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
}

/*!-- ovarlay zoom out effect --*/

.zoom-effect-2 {
    overflow: hidden;
}

.zoom-effect-2 img {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
}

.zoom-effect-2:hover img {
    transform: scale(1);
    -webkit-transform: scale(1);
}

/*--overlay opacity effect --*/

.opacity-effect img {
    opacity: 1;
    width: 100%;
    overflow: hidden;
}

.opacity-effect:hover img {
    opacity: .5;
}

/*-- overlay blur effect --*/

.blur-effect img {
    filter: blur(2px);
    -webkit-fliter: blur(2px);
}

.blur-effect:hover img {
    filter: blur(0);
    -webkit-filter: blur(0);
}

/*-- overlay grayscle effect --*/

.grayscale-effect img {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
}

.grayscale-effect:hover img {
    filter: grayscale(0);
    -webkit-filter: grayscale(0);
}


@media (max-width: 767px) {
    .effect-image-1 {
        margin: 30px 0px;
    }
}



.center-align {
    justify-content: center;
    vertical-align: middle;
    margin-top: 200px;
    align-content: center;
    align-items: center;
    align-self: center;
    font-size: 16px;
}

.cta-btn-2 {
    background-color: #333333;
    color: #ffcc00;
    opacity: 1;
}