.grid {
    padding: 0;
    max-width: 1300px;
    margin: 0 auto;
    list-style: none;
    text-align: center;
}

@media (min-width:992px) {
    .grid {
        /*padding: 20px 20px 100px 20px;*/
    }
}

.grid li {
    display: inline-block;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: left;
    position: relative;
}

@media (min-width:768px) {
    .grid li {
        /*padding: 15px;*/
        max-width: 353px;
    }
}

.grid figure {
    margin: 0;
    position: relative;
}

.grid figure img {
    width: 92px;
    margin: 30px auto 20px;
    display: block;
    position: relative;
}

.grid figcaption {
    position: absolute;
    font-size: 12px;
    top: 0;
    left: 0;
    padding: 20px;
    /*background: #2c3f52;*/
    color: #FFF;
}

@media (min-width:768px) {
    .grid figcaption {
        font-size: 14px;
    }
}

.grid figcaption h3 {
    font-size: 1.2em;
    margin: 0 0 10px;
    padding: 0;
    color: #fff;
}

.grid figcaption a {
    text-align: center;
    padding: 5px 10px;
    border-radius: 2px;
    display: inline-block;
    background: #ed4e6e;
    color: #fff;
}


/* Caption Style 3 */

.cs-style-3 figure {
    overflow: hidden;
    height: 200px;
}

.cs-style-3 figure img {
    -webkit-transition: -webkit-all 0.4s;
    -moz-transition: -moz-all 0.4s;
    transition: all 0.4s;
}

.cs-style-3 .active img {
    -webkit-transform: translateY(-25px);
    -moz-transform: translateY(-25px);
    -ms-transform: translateY(-25px);
    transform: translateY(-10px);
    width: 64px;
    margin-bottom: 0;
}

.cs-style-3 figcaption {
    height: 95px;
    width: 100%;
    top: auto;
    bottom: 0;
    opacity: 0;
    -webkit-transform: translateY(100%);
    -moz-transform: translateY(100%);
    -ms-transform: translateY(100%);
    transform: translateY(100%);
    -webkit-transition: -webkit-transform 0.4s, opacity 0.1s 0.3s;
    -moz-transition: -moz-transform 0.4s, opacity 0.1s 0.3s;
    transition: transform 0.4s, opacity 0.1s 0.3s;
}

.cs-style-3 .active figcaption {
    opacity: 1;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    transform: translateY(0px);
    -webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
    -moz-transition: -moz-transform 0.4s, opacity 0.1s;
    transition: transform 0.4s, opacity 0.1s;
}

.cs-style-3 figcaption a {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.cs-style-3 figure h1 {
    font-size: 20px;
    color: #FFF;
    text-align: center;
    padding: 0 15px;
    margin: 0;
    -webkit-transition: -webkit-all 0.4s;
    -moz-transition: -moz-all 0.4s;
    transition: all 0.4s;
}

.cs-style-3 .active figure h1 {
    font-size: 16px;
}

.teal {
    background-color: #98dcca;
}

.red {
    background-color: #f1877d;
}

.sky {
    background-color: #94cee6;
}

.sunset {
    background-color: #ea9e89;
}

.lavender {
    background-color: #b1bcde;
}

.orange {
    background-color: #F4B589;
}

.green {
    background-color: #98dca4;
}

.sea {
    background-color: #90a3b9;
}

:root {
    --main-color: #6564DB;
    --background-light-btn: #6564db0a;
    --banner-white: #ffffff;
    --background-navy-box: #304460;
}