/* Teaser Box 12
-------------------------------------------------- */

.teaser-box12 {
    background-color: #f5f5f5;
    padding: 45px 30px 0 30px;
    margin-bottom: 40px;
}

.teaser-box12 .teaser-content {
    position: relative;
}

.teaser-box12 .teaser-image {
    margin-bottom: -30px;
}

.teaser-box12:hover .teaser-image {
    -webkit-box-shadow: 0px 0px 0px 10px rgba(67, 125, 249, 1);
    -moz-box-shadow: 0px 0px 0px 10px rgba(67, 125, 249, 1);
    box-shadow: 0px 0px 0px 10px rgba(67, 125, 249, 1);
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

#wrap .teaser-box12 .teaser-title {
    top: 23%;
    opacity: 0;
    color: #2f2f2f;
    font-size: 33px;
    width: 100%;
    text-align: center;
}

.teaser-box12 .teaser-subtitle {
    top: 150px;
    opacity: 0;
    color: #444444;
    font-size: 14px;
    text-transform: uppercase;
}

.teaser-box12 .teaser-subtitle:after {
    content: "\e628";
    top: 58px;
    right: 50%;
    width: 75px;
    height: 75px;
    line-height: 20px;
    text-align: center;
    padding-top: 27px;
    color: #437df9;
    font-size: 38px;
    position: absolute;
    border-radius: 50%;
    font-family: 'themify';
    background-color: #fff;
    -webkit-transform: translateX(50%);
    transform: translateX(50%);
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.teaser-box12 .teaser-title,
.teaser-box12 .teaser-subtitle {
    left: 50%;
    padding: 10px 15px;
    position: absolute;
    display: inline-table;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.teaser-box12 .teaser-subtitle {
    top: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}

#wrap .teaser-box12:hover .teaser-title,
#wrap .teaser-box12:hover .teaser-subtitle {
    opacity: 1;
}

.teaser-box12 .bgc-overlay {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    display: block;
    margin-bottom: -30px;
    visibility: hidden;
    position: absolute;
    background-color: #f5f2ee;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.teaser-box12:hover .bgc-overlay {
    margin-bottom: -30px;
    visibility: visible;
    opacity: 0.9;
}

@media(max-width: 1560px) {
    .teaser-box12 .teaser-title {
        top: 20px;
        font-size: 22px;
    }

    .teaser-box12 .teaser-subtitle:after {
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
}

@media(max-width: 991px) {
    .teaser-box12 .teaser-title {
        top: 4px;
    }

    .teaser-box12 .teaser-subtitle:after {
        font-size: 25px;
        background-color: inherit;
    }
}

@media(max-width: 767px) {
    .teaser-box12 {
        text-align: center;
        margin-bottom: 60px;
    }

    .teaser-box12 .teaser-content {
        width: 80%;
        margin: 0 auto;
    }

    .teaser-box12 .teaser-title {
        font-size: 40px;
    }

    .teaser-box12 .teaser-subtitle:after {
        font-size: 35px;
        background-color: #fff;
        width: 70px;
        height: 75px;
    }
}

@media(max-width:479px) {
    .teaser-box12 .teaser-content {
        width: inherit;
    }

    .teaser-box12 .teaser-title {
        top: 30px;
        font-size: 28px;
    }

    .teaser-box12 .teaser-subtitle {
        top: 100px;
    }
}

@media(max-width: 420px) {
    .teaser-box12 .teaser-title {
        top: 8px;
        font-size: 22px;
    }

    .teaser-box12 .teaser-subtitle {
        top: 53px;
    }

    .teaser-box12 .teaser-subtitle:after {
        top: 30px;
        font-size: 30px;
        background-color: inherit;
    }
}