*, *:after, *:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.clearfix:before, .clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.imdexproj .wrap {
    padding: 0 10px
}

.grid {
    padding: 20px 10px 20px 10px;
    max-width: 1440px;
    margin: 0 auto;
    list-style: none;
    text-align: center;
}

.imdexproj .grid {
    padding: 0
}

.grid li:nth-child(1) {
    background: url(/skin/images/ind-lybg1.png) no-repeat bottom;
    background-size: cover;
}

.grid li:nth-child(2) {
    background: url(/skin/images/ind-lybg2.png) no-repeat bottom;
    background-size: cover;
}

.grid li:nth-child(3) {
    background: url(/skin/images/ind-lybg3.png) no-repeat bottom;
    background-size: cover;
}

.grid li:nth-child(4) {
    background: url(/skin/images/ind-lybg4.png) no-repeat bottom;
    background-size: cover;
}

.grid li:nth-child(5) {
    background: url(/skin/images/ind-lybg5.png) no-repeat bottom;
    background-size: cover;
}

.grid li {
    display: block;
    float: left;
    width: 18.5%;
    margin: 0;
    margin-right: 1.875%;
    margin-bottom: 1.475%;
    text-align: left;
    position: relative;
    background-color: #fff;
    background-size: 100%;
}

.grid li:nth-child(5n) {
    margin-right: 0;
}

.grid li:hover {
    border-bottom-right-radius: 15%;
    transition: all .3s;
}

.grid li:hover:before {
    opacity: 0;
    transition: all .2s;
}

.grid li:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    opacity: .5;
    transition: all .2s;
}

.grid li:nth-child(1):before {
    background: #56e0ff;
}

.grid li:nth-child(2):before {
    background: #b38dff;
}

.grid li:nth-child(3):before {
    background: #ffd087;
}

.grid li:nth-child(4):before {
    background: #b38dff;
}

.grid li:nth-child(5):before {
    background: #56e0ff;
}

.grid a {
    display: block;
    padding: 100px 0;
}

.grid figure img {
    max-width: 100%;
    display: block;
    position: relative;
    margin: 0 auto;
}

.grid figure p {
    text-align: center;
    color: #fff;
    font-size: 18px;
    line-height: 1.3em;
    margin-top: 20px;
}

.grid figure p em {
    display: block;
    font-size: 12px;
    line-height: 1.5;
    color: #fff;
    height: 46px;
    padding-top: 8px;
    text-transform: uppercase;
    font-weight: normal;
    font-style: normal;
}

.grid figure span {
    display: block;
    text-align: center;
    color: #fff;
    font-size: 16px;
}

.grid figcaption {
    position: absolute;
    top: 0;
    left: 0;
    padding: 13px;
    background: #2c3f52;
    color: #ed4e6e;
}

.grid figcaption h3 {
    margin: 0;
    padding: 0;
    color: #fff;
}

.grid figcaption h3:after {
    content: '';
    width: 1.5rem;
    height: 2px;
    background: #fff;
    display: block;
    left: 0;
    right: 0;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Individual Caption Styles */
/* Caption Style 1 */
.cs-style-1 figcaption {
    height: 100%;
    width: 100%;
    opacity: 0;
    text-align: center;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
    -moz-transition: -moz-transform 0.3s, opacity 0.3s;
    transition: transform 0.3s, opacity 0.3s;
}

.no-touch .cs-style-1 figure:hover figcaption, .cs-style-1 figure.cs-hover figcaption {
    opacity: 1;
    background-color: #06247b;
}

.pa12 {
    border: #fff 1px solid;
    height: 100%;
}

.cs-style-1 figcaption h3 {
    margin-top: 28px;
    font-size: 22px;
}

.cs-style-1 figcaption h4 {
    font-size: 16px;
    color: #fff;
    font-weight: 400;
}

.cs-style-1 figcaption span {
    display: block;
}

@media screen and (max-width: 31.5em) {
    .grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .grid a {
        padding: 30px 0 20px 0;
    }

    .grid li {
        width: 32%;
        float: left;
        margin-right: 0;
        margin-bottom: 0;
    }

    .grid li:nth-child(2n) {
        margin-left: 0
    }

    .grid li:nth-child(-n+2) {
    	width: 49%;
    	margin-bottom: 2%
    }

    .grid li:nth-child(n+4) {
    	margin-left: 2%;
    }

    .cs-style-1 figcaption h3 {
        margin-top: 22px;
        font-size: 16px;
    }

    .cs-style-1 figcaption h4 {
        font-size: 14px;
    }

    .grid figure img {
    	width: 50px
    }

    .grid figure p {
    	padding: 0 5%;
        font-size: 16px;
    }

    .grid figure p em {
        display: none;
    }

    .grid figure span {
        margin-top: 15px;
        font-size: 14px;
    }
}