@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&display=swap');

#upcomingEventsCont .readMore:before,
a.iconPost time:before,
.homeCatTitle:before {
    content: "\f111";
    font-family: 'Font Awesome 5 Pro';
    font-style: normal;
    font-variant: normal;
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}


main article > h2 {
    font-family: 'Gotham Book';
    font-style: normal;
    font-size: 1rem;
    text-align: center;
    color: #083253;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
main article > h2 span {
    font-family: "Gotham Bold";
    display: block;
}
main article > h2:after {
    content: "";
    width: 35px;
    height: 2px;
    display: block;
    margin: 0.8rem auto 0;
    background: #BE1E2D;
}

main article.container {
    max-width: 100%;
    padding-top: 2rem;
    padding-bottom: 2rem;
    text-align: center;
    background: #F8F8F8;
    box-shadow: 0px 3px 6px #00000029;
}

main article .article-text {
    display: flex;
    align-items: center;
    justify-content: center;
}

main section {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

figure.container{
    max-width: 1662px;
}
ul.customHighlights,
ul.customHighlights > li {
    list-style: none;
    padding: 0;
    margin: 0;
}
ul.customHighlights > li {
    float: left;
    width: 25%;
    padding: 1rem;
}

ul.customHighlights a,
ul.customHighlights a:link {
    position: relative;
    min-height: 200px;
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    -webkit-border-radius: 0.3rem;
    -moz-border-radius: 0.3rem;
    border-radius: 0.3rem;
    overflow: hidden;
    box-shadow: 0px 3px 6px #00000029;
}
ul.customHighlights a:visited {
    color: #fff;
}
ul.customHighlights img {
    -webkit-transition: transform 300ms ease 0s;
    -moz-transition: transform 300ms ease 0s;
    -o-transition: transform 300ms ease 0s;
    transition: transform 300ms ease 0s;
}
ul.customHighlights a:hover img {
    -webkit-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -o-transform: scale(1.5);
    -ms-transform: scale(1.5);
    transform: scale(1.5);
}


ul.customHighlights > li:nth-child(1n) a figcaption{
    border-bottom: 5px solid #BE1E2D;
}
ul.customHighlights > li:nth-child(2n) a figcaption {
    border-bottom: 5px solid #FFD100;
}
ul.customHighlights > li:nth-child(3n) a figcaption {
    border-bottom: 5px solid #BE1E2D;
}
ul.customHighlights > li:nth-child(4n) a figcaption {
    border-bottom: 5px solid #FFD100;
}
ul.customHighlights > li:nth-child(5n) a figcaption {
    border-bottom: 5px solid #FFD100;
}
ul.customHighlights > li:nth-child(6n) a figcaption {
    border-bottom: 5px solid #BE1E2D;
}
ul.customHighlights > li:nth-child(7n) a figcaption {
    border-bottom: 5px solid #FFD100;
}
ul.customHighlights > li:nth-child(8n) a figcaption {
    border-bottom: 5px solid #BE1E2D;
}

ul.customHighlights > li:nth-child(1n) a:hover figcaption{
    background: #BE1E2D;
    color: #fff;
}
ul.customHighlights > li:nth-child(2n) a:hover figcaption {
    background: #FFD100;
    color: #002c48;
}
ul.customHighlights > li:nth-child(3n) a:hover figcaption {
    background: #BE1E2D;
    color: #fff;
}
ul.customHighlights > li:nth-child(4n) a:hover figcaption {
    background: #FFD100;
    color: #002c48;
}
ul.customHighlights > li:nth-child(5n) a:hover figcaption {
    background: #FFD100;
    color: #002c48;
}
ul.customHighlights > li:nth-child(6n) a:hover figcaption {
    background: #BE1E2D;
    color: #fff;
}
ul.customHighlights > li:nth-child(7n) a:hover figcaption {
    background: #FFD100;
    color: #002c48;
}
ul.customHighlights > li:nth-child(8n) a:hover figcaption{
    background: #BE1E2D;
    color: #fff;
}


ul.customHighlights figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    /*padding: 1.1rem 1rem 1rem;*/
    min-height: 85px;
    border-bottom: 5px solid #083253;
    -webkit-transition: background 300ms ease 0s;
    -moz-transition: background 300ms ease 0s;
    -o-transition: background 300ms ease 0s;
    transition: background 300ms ease 0s;
    background: #002c48db;
    box-shadow: 0px 3px 6px #00000029;
    display: flex;
    justify-content: center;
    align-items: center;
}
ul.customHighlights h3,
ul.customHighlights p {
    font-family: 'Inter', sans-serif; 
    font-weight: 600;
    font-style: inherit;
    color: inherit;
    margin-bottom: 0;
    text-transform: capitalize;
    font-size: 18px;
}

@media only screen and (max-width:1097px) {
    ul.customHighlights > li {
        width: 33.33%;
    }
}

/*@media only screen and (max-width:1047px) {
    .masterFooter {
        padding-bottom:3rem;
    }
}*/

@media only screen and (max-width:777px) {
    ul.customHighlights > li {
        width: 50%;
        padding: 0.5rem;
    }
}

@media only screen and (max-width:427px) {
    ul.customHighlights > li {
        width: 100%;
        float: none;
    }
}