@import url('https://fonts.googleapis.com/css2?family=Lora:wght@600;700&family=Open+Sans:wght@400;500;600;700&display=swap');

:root {
    --color-main: #353535;
    --hover-main: #D0AC54;
    --maroon: #53221F;
    --brick-red: #8A1E04;
    --green-pastel: #5C704D;
    --yellow-pastel: #D0AC54;
    --charcoal: #353535;
}

main {
    padding: 3.5rem 0 0;
    background: #FBFBFB;
}

main .col-sm {
    min-width: 50%;
    padding-bottom: 3.5rem;
    padding-right: 0;
    padding-left: 0;
}

main .row.notice-explore {
    margin: 0;
    padding: 0 var(--design-padding);
    background: url('../images/leftarch.png') bottom left -355px, url('../images/rightarch.png') bottom right -355px;
    background-repeat: no-repeat;
    display: flex;
    gap: 3.125rem;
}

main .row.notice-explore .col-sm {
    min-width: calc(50% - 3.125rem/2);
}

.frmSearch {
    z-index: 5;
}

main .container h3 {
    padding-bottom: 1rem;
    text-transform: uppercase;
}

#upcomingEventsCont h3 {
    font: normal 700 1.5rem var(--font-secondary);
    text-align: center;
    color: #fff;
    padding: 0;
    margin-bottom: 2.875rem;
    text-transform: uppercase;
}

.homeCatTitle {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: 0;
    margin-top: 0.2rem;
    color: inherit;
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

a.iconPost,
a.iconPost:link {
    position: relative;
    font: bold 1rem var(--font-style);
    color: var(--charcoal);
    display: block;
    padding: 0 1px 1.125rem 4.375rem;
    margin-top: 2.2rem;
}

a.iconPost:first-of-type,
a.iconPost:first-of-type {
    margin-top: 0;
}

a.iconPost:visited {
    color: var(--charcoal);
}

.notice-list-col:first-of-type a.iconPost:hover h4,
.notice-list-col:first-of-type a.iconPost:active h4 {
    /*    color: var(--maroon);*/
    color: var(--brick-red);
}

.notice-list-col:last-of-type a.iconPost:hover,
.notice-list-col:last-of-type a.iconPost:active {
/*    color: var(--maroon);*/
    color: var(--brick-red);
}

a.iconPost h4 {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    font-style: inherit;
    color: inherit;
    margin-bottom: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    letter-spacing: 0;
}

a.iconPost time {
    font: 500 0.875rem var(--font-style);
    color: inherit;
    text-transform: capitalize;
    min-width: fit-content;
}

a.iconPost time span {
    display: inline-block;
    margin-right: 0.5rem;
}

#recentNewsCont a.iconPost > i {
    position: absolute;
    bottom: 1.125rem;
    left: 0;
    font-size: 2.8125rem;
    font-weight: 700;
}

#recentNewsCont a.iconPost:nth-child(4n+1) > i {
    color: var(--brick-red);
}

#recentNewsCont a.iconPost:nth-child(4n+2) > i {
    color: var(--green-pastel);
}

#recentNewsCont a.iconPost:nth-child(4n+3) > i {
    color: var(--maroon);
}

#recentNewsCont a.iconPost:nth-child(4n) > i {
    color: var(--charcoal);
}

#recentNewsCont a.iconPost.postBG,
#recentNewsCont a.iconPost.postBG:link {
    float: left;
    width: 50%;
    height: 200px;
    color: #FFF;
    padding: 1rem;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
}

#recentNewsCont a.iconPost.postBG:visited {
    color: #FFF;
}

#recentNewsCont a.iconPost.postBG:hover,
#recentNewsCont a.iconPost.postBG:active {
    color: #FAC532;
}

#recentNewsCont a.iconPost.postBG:first-of-type,
#recentNewsCont a.iconPost.postBG:first-of-type:link {
    width: 100%;
    height: 250px;
    clear: both;
    margin-bottom: 1px;
}

.empty i {
    font-size: 5rem;
    color: var(--green-pastel);
    margin: 1rem 0;
}

#upcomingEventsCont .empty i {
    color: #fff;
}

.empty p a,
.empty p a:link {
    font-weight: 700;
}

#recentNewsCont .empty a,
#recentNewsCont .empty a:link {
    color: var(--brick-red);
    display: inline-block;
}

#upcomingEventsCont .empty a,
#upcomingEventsCont .empty a:link {
    color: var(--yellow-pastel);
    display: inline-block;
}

.bottomLinks a,
.bottomLinks a:link {
    color: var(--brick-red);
    display: inline-block;
}

#recentNewsCont .empty a:visited {
    color: var(--brick-red);
}

#upcomingEventsCont .empty a:visited {
    color: var(--yellow-pastel);
}


.bottomLinks a:visited {
    color: var(--brick-red);
}

#recentNewsCont .empty a:hover,
#recentNewsCont .empty a:active,
#recentNewsCont .empty a:focus {
    color: var(--green-pastel);
}

#upcomingEventsCont .empty a:hover,
#upcomingEventsCont .empty a:active,
#upcomingEventsCont .empty a:focus {
    color: #fff;
}

#upcomingEventsCont p {
    color: #fff;
}

.bottomLinks {
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0;
    margin-bottom: 0;
}

#recentNewsCont .bottomLinks,
#exploreMelita .bottomLinks {
    position: relative;
    margin-top: 2.25rem;
}

.bottomLinks a,
.bottomLinks a:link {
    float: left;
    font: 700 1rem 'Open Sans';
    text-transform: capitalize;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    width: 190px;
    height: 42px;
    box-shadow: 0px 3px 6px #00000029;
    -webkit-transition: color 300ms ease 0s, background 300ms ease 0s;
    -moz-transition: color 300ms ease 0s, background 300ms ease 0s;
    -o-transition: color 300ms ease 0s, background 300ms ease 0s;
    transition: color 300ms ease 0s, background 300ms ease 0s;
}

.bottomLinks a:hover,
.bottomLinks a:active,
.bottomLinks a:focus {
    color: #fff;
    background: var(--brick-red);
}

.bottomLinks a:last-of-type {
    float: right;
}

a.tabOptLink,
a.tabOptLink:link {
    font: normal 700 1.5625rem var(--font-secondary);
    color: var(--maroon);
    text-align: center;
    text-transform: uppercase;
    display: block;
    padding-bottom: 1rem;
}

.nav-tabs {
    border-bottom: 2px solid rgb(53 53 53 / 15%);
}

.nav-tabs > li {
    width: 50%;
}

a.tabOptLink,
a.tabOptLink:link {
    position: relative;
    margin-bottom: 0;
    padding-bottom: 1.5rem;
    border-bottom: none;
}

a.tabOptLink:visited {
    color: var(--maroon);
}

a.tabOptLink:hover,
a.tabOptLink:focus {
    color: rgb(83 34 31 / 80%);
}

a.tabOptLink.active {
    color: var(--maroon);
}

a.tabOptLink.active:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 3px;
    background: var(--maroon);
}

#recentNewsCont .notice-list-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
/*    gap: 3.125rem;*/
    margin-top: 1.75rem;
    max-height: 22.75rem;
}

#recentNewsCont .notice-list-col {
    width: calc(50% - 3.125rem/2);
}

#recentNewsCont .notice-list-col.empty-col {
    display: none !important;
}

#recentNewsCont .notice-list-col:last-of-type {
    margin-top: -3px;
}

#recentNewsCont .notice-list-col:first-of-type a.iconPost,
#recentNewsCont .notice-list-col:first-of-type a.iconPost:link {
    position: relative;
    top: 0;
    left: 0;
    bottom: 1rem;
    height: 22.75rem;
    font-size: 1.2rem !important;
    padding: 0;
    border-bottom: none;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    overflow: hidden;
    background: #fff;
    border-bottom: 2px solid var(--yellow-pastel);
}

.notice-list-col:first-of-type a.iconPost:hover,
.notice-list-col:first-of-type a.iconPost:active {
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

#recentNewsCont .notice-list-col img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transform: scale(1.025);
    -webkit-transition: transform 300ms ease 0s;
    -moz-transition: transform 300ms ease 0s;
    -o-transition: transform 300ms ease 0s;
    transition: transform 300ms ease 0s;
}

#recentNewsCont .notice-card {
    padding: 2.075rem 1.5rem;
}

#recentNewsCont .notice-card-info {
    display: inline-flex;
    gap: 0.45rem;
    margin-bottom: 3px;
    max-width: 100%;
}

#recentNewsCont .notice-list-col:first-of-type .notice-card-info {
    width: 100%;
    padding-top: 1.45rem;
    border-top: 2px solid rgb(53 53 53 / 10%);
}

#recentNewsCont .notice-card-info i {
    margin-top: 3px;
    font-weight: 300;
    font-size: 0.9rem;
}

#recentNewsCont .notice-list-col:first-of-type a.iconPost h4 {
    font-size: 1.125rem;
    white-space: normal;
    margin-bottom: 1.45rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    height: 3rem;
}

#recentNewsCont .notice-list-col:last-of-type a.iconPost:not(:last-of-type) {
    border-bottom: 2px solid rgb(53 53 53 / 10%);
}

#recentNewsCont .notice-list-col:first-of-type a.iconPost:hover img,
#recentNewsCont .notice-list-col:first-of-type a.iconPost:focus img {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

#upcomingEventsCont {
    min-height: 495px;
    padding: 4.25rem var(--design-padding);
    background: url(../images/events-bg-image.png) center no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
}

#upcomingEventsCont:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgb(53 53 53 / 60%);
    top: 0;
    left: 0;
}

#upcomingEventsCont:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 57px;
    background: url(../images/eventsafter-curve.png) bottom center no-repeat;
    bottom: -2px;
    left: 0;
}

#upcomingEventsCont > * {
    position: relative;
    z-index: 1;
}

#upcomingEventsCont > .bottomLinks {
    position: absolute;
    bottom: 5rem;
    display: flex;
    justify-content: center;
    gap: 3.125rem;
}

#eventsCarousel {
    padding: 0 7.5rem;
}

#eventsCarousel .owl-stage-outer {
    z-index: 1;
}

#eventsCarousel.owl-carousel .owl-nav,
#eventsCarousel.owl-carousel .owl-nav.disabled {
    width: 0;
    height: 0;
    display: inherit;
}

#eventsCarousel.owl-carousel .owl-nav.empty-events {
    display: none !important;
}

#eventsCarousel .owl-nav button.owl-next,
#eventsCarousel .owl-nav button.owl-prev {
    background: #fff;
    color: var(--brick-red);
    width: 2.75rem !important;
    aspect-ratio: 1;
    border-radius: 100%;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.25));
    -webkit-transition: color 300ms ease 0s, background 300ms ease 0s;
    -moz-transition: color 300ms ease 0s, background 300ms ease 0s;
    -o-transition: color 300ms ease 0s, background 300ms ease 0s;
    transition: color 300ms ease 0s, background 300ms ease 0s;
}

#eventsCarousel .owl-nav button.owl-next,
#eventsCarousel .owl-nav button.owl-prev {
    position: absolute;
    top: calc(50% + 20px);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 100%;
    justify-content: space-between;
    padding: 0;
    font-size: 1.075rem;
}

#eventsCarousel .owl-nav button.owl-next {
    right: 0;
}

#eventsCarousel .owl-nav button.owl-prev {
    left: 0;
}

#eventsCarousel .owl-nav button.owl-next:hover,
#eventsCarousel .owl-nav button.owl-prev:hover,
#eventsCarousel .owl-nav button.owl-next:focus,
#eventsCarousel .owl-nav button.owl-prev:focus {
    background: var(--brick-red);
    color: #fff;
}

#upcomingEventsCont a.iconPost {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    padding: 0;
}

#upcomingEventsCont a.iconPost h4 {
    white-space: normal;
    max-width: 180px;
    padding: 0 5px;
    text-align: center;
    letter-spacing: 0.45px;
    font-size: 1.125rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

#upcomingEventsCont a.iconPost > i {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    aspect-ratio: 1;
    font-size: 2.5rem;
    font-weight: 400;
    background: #fff;
    border-bottom: 2px solid var(--yellow-pastel);
    box-shadow: 0px 3px 6px #00000029;
    -webkit-transition: color 300ms ease 0s, background 300ms ease 0s;
    -moz-transition: color 300ms ease 0s, background 300ms ease 0s;
    -o-transition: color 300ms ease 0s, background 300ms ease 0s;
    transition: color 300ms ease 0s, background 300ms ease 0s;
}

#upcomingEventsCont .owl-item:nth-child(3n+1) a.iconPost > i {
    color: var(--brick-red);
}

#upcomingEventsCont .owl-item:nth-child(3n+2) a.iconPost > i {
    color: var(--green-pastel);
}

#upcomingEventsCont .owl-item:nth-child(3n) a.iconPost > i {
    color: var(--maroon);
}

/*----------------------------------------------------------*/

#upcomingEventsCont .owl-item:nth-child(3n+1) a.iconPost:hover > i,
#upcomingEventsCont .owl-item:nth-child(3n+1) a.iconPost:focus > i {
    color: #fff;
    background: var(--brick-red);
}

#upcomingEventsCont .owl-item:nth-child(3n+2) a.iconPost:hover > i,
#upcomingEventsCont .owl-item:nth-child(3n+2) a.iconPost:focus > i {
    color: #fff;
    background: var(--green-pastel);
}

#upcomingEventsCont .owl-item:nth-child(3n) a.iconPost:hover > i,
#upcomingEventsCont .owl-item:nth-child(3n) a.iconPost:focus > i {
    color: #fff;
    background: var(--maroon);
}

#upcomingEventsCont a.iconPost time {
    margin: 1rem 0;
}

/******* Highlights *******/

ul.homeCol3,
ul.homeCol3>li {
    list-style: none;
    margin: 0;
}

ul.homeCol3 {
    margin: 0;
    padding: 0;
}

.post {
    position: relative;
    width: 100%
}

main .post {
    margin: 2.5em 0;
}

ul.homeCol3>li {
    position: relative;
    float: left;
    height: auto;
    min-height: 12em;
    margin-right: 1em;
    width: 32.4%;
}

ul.homeCol3>li:last-child {
    margin-right: 0;
}

ul.homeCol3>li a {
    display: block;
}

main .post h2 {
    font: normal 700 1.375em 'Open Sans', sans-serif;
    text-transform: uppercase;
    margin: 1em 0 0;
    letter-spacing: 2px;
}

.post p {
    font: normal 700 1.063em 'Open Sans', sans-serif;
    color: #002341;
}

.post .post-1 h2 {
    color: #239C7B;
}

.post .post-2 h2 {
    color: #004986;
}

.post .post-3 h2 {
    color: #0094DA;
}

.post .post-1 figure {
    background: #239C7B;
    max-width: 416px;
}

.post .post-2 figure {
    background: #004986;
    max-width: 416px;
}

.post .post-2 img {
    opacity: 1;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.post .post-3 figure {
    background: #0094DA;
    max-width: 416px;
}

.post .post-3 img {
    opacity: 1;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.post .post-1:hover img,
.post .post-2:hover img,
.post .post-3:hover img {
    opacity: 0.3;
}


/******* End *******/


/******* MEDIA QUERY *******/

@media only screen and (max-width: 1680px) {

    .empty i {
        font-size: 4rem;
    }
    .empty p {
        font-size: 1rem;
    }

    #recentNewsCont .notice-list-col {
        width: calc(50% - 2.125rem/2);
    }
}

@media only screen and (min-width: 1101px) and (max-width:1300px) {

    #recentNewsCont .notice-list-col {
        width: calc(50% - 1.5rem/2);
    }

    a.tabOptLink,
    a.tabOptLink:link,
    #exploreMelita.highlightContainer h2 {
        font-size: 1.25rem;
        padding-bottom: 1.25rem;
    }

    main .row.notice-explore {
        gap: 1rem;
    }

    a.iconPost,
    a.iconPost:link {
        padding: 0 1px 1.125rem 3.75rem;
    }
}

@media only screen and (max-width:1190px) {

}

@media only screen and (max-width:1100px) {

    main .col-sm {
        flex-basis: auto;
    }

    main .row.notice-explore {
        gap: 0;
    }

    main .row.notice-explore .col-sm {
        padding: 0 0 3.75rem 0;
    }

    #recentNewsCont .notice-list-row {
        max-height: none;
        flex-direction: column;
        gap: 3.125rem;
    }

    #recentNewsCont .notice-list-col {
        width: 100%;
    }

    .empty i {
        font-size: 3rem;
    }

    .empty p {
        font-size: 0.85rem;
    }

    a.iconPost i {
        font-size: 1.1rem;
    }

    #upcomingEventsCont {
        min-height: 604px;
    }

    #eventsCarousel {
        width: 100%;
        max-width: 100%;
        padding: 0px 3.5rem;
    }

    #recentNewsCont .notice-list-row {
        max-width: var(--nested-width);
        margin: 2rem auto 0;
    }

    #recentNewsCont .bottomLinks {
        max-width: var(--nested-width);
        margin: 1rem auto 0;
    }

    #exploreMelita .bottomLinks {
        max-width: var(--nested-width);
        margin: auto;
        margin-top: 1.875rem;
    }

    #upcomingEventsCont > .bottomLinks {
        bottom: 5.75rem;
        gap: 1.5rem;
        max-width: min(var(--nested-width), calc(100% - 2 * var(--design-padding)));
        margin: auto;
    }

    .bottomLinks {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .bottomLinks a,
    .bottomLinks a:link {
        width: 100%;
    }
}

@media only screen and (max-width:1024px) {
    main .container h3 {
        font-size: 1.2rem;
    }
}

@media only screen and (max-width:1023px) {

}

@media only screen and (max-width:680px) {
    main .container h3 {
        font-size: 1rem;
    }
}

@media only screen and (max-width:630px) {
    a.tabOptLink {
        word-spacing: 100px;
    }
}

@media only screen and (max-width:600px) {

    #recentNewsCont a.iconPost.postBG,
    #recentNewsCont a.iconPost.postBG:link {
        float: none;
        width: 100%;
        margin-bottom: 1px;
    }

    #eventsCarousel .owl-stage-outer {
        z-index: 0;
    }

}

@media only screen and (max-width:450px) {
    a.tabOptLink,
    a.tabOptLink:link,
    .highlightContainer h2,
    #upcomingEventsCont h3 {
        font-size: 1.25rem;
    }
}