﻿
.banner-gallery .rsliderholder .specialer-banner-box {
    width: 31.902%;
    float: left;
}

@media only screen and (max-width: 1024px) {

    .banner-gallery .rsliderholder .specialer-banner-box {
        width: 50%;
    }
}

@media only screen and (max-width: 767px) {

    .banner-gallery .rsliderholder .specialer-banner-box {
        width: 100%;
        float: none;
    }
}


.specialer-banner-box {
    margin: 0 9px;
    display: block;
    position: relative;
    text-decoration: none;
    overflow: hidden;
    height: 236px;
}

@media only screen and (max-width: 767px) {
    .specialer-banner-box {
        height: auto;
        margin: 0 3px;
        max-height:236px;
    }

        .specialer-banner-box .fade-box {
            display: none;
        }
}

.specialer-banner-box:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 69, 124, 0.6);
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    visibility: hidden;
    opacity: 0;
}

.specialer-banner-box .img-holder {
    text-align: center;
    display: block;
}

.specialer-banner-box img.special-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    width: auto;
    max-width: 10000px;
    z-index: 1000;
    width: 89px;
    height: 89px;
}

.specialer-banner-box img.background-image {
    height: 100%;
    width: auto;
    max-width: 10000px;
}


.EmployeePage .specialer-banner-box img.background-image {
    width: 100%;
    height: auto;
    min-height: 236px;
}

@media only screen and (max-width: 1024px) {
    .specialer-banner-box img.background-image {
        width: 100%;
        height: auto;
        min-height: 236px;
    }
}

@media only screen and (max-width: 767px) {
    .specialer-banner-box img.background-image {
        min-height: 0;
        width: 100%;
        height: auto;
    }

    .specialer-banner-box img.special-icon {
        width: 50px;
        height: 50px;
    }
}

.specialer-banner-box:hover:after {
    opacity: 1;
    visibility: visible;
}

.specialer-banner-box:hover .fade-box {
    visibility: visible;
    opacity: 1;
}

.specialer-banner-box .text-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 14px;
    line-height: 21px;
    text-align: left;
    color: #fff;
    z-index: 5;
    padding: 14px 23px 56px;
}

.specialer-banner-box .fade-box {
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    float: left;
    padding: 0 7px 0 0;
    visibility: hidden;
    opacity: 0;
}

    .specialer-banner-box .fade-box span {
        display: block;
    }

.specialer-banner-box .text {
    position: absolute;
    bottom: 19px;
    left: 22px;
    font-size: 18px;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
}

@media only screen and (max-width: 767px) {
    .specialer-banner-box .text {
        font-size: 14px;
        bottom: 4px;
        left: 8px;
    }
}
