/* @import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&family=Philosopher:ital,wght@0,400;0,700;1,400;1,700&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Mulish:ital,wght@0,200..1000;1,200..1000&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');


:root {
    --primary-clr: #A40001;
    --white-clr: #fff;
    --main-text-clr: #1e1e1e;
    --background-clr: #EBECE6;
}

body{
    font-family: "Poppins", sans-serif;
}

body {
    background-color: var(--white-clr);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body::-webkit-scrollbar-track,
.custom-dropdown-submenu::-webkit-scrollbar-track,
.custom-card-content::-webkit-scrollbar-track,
.vicar-msg .timing-content::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: var(--background-clr);
}

body::-webkit-scrollbar,
.custom-dropdown-submenu::-webkit-scrollbar,
.custom-card-content::-webkit-scrollbar,
.vicar-msg .timing-content::-webkit-scrollbar {
    width: 6px;
    background-color: var(--background-clr);
}

body::-webkit-scrollbar-thumb,
.custom-dropdown-submenu::-webkit-scrollbar-thumb,
.custom-card-content::-webkit-scrollbar-thumb,
.vicar-msg .timing-content::-webkit-scrollbar-thumb {
    background-color: var(--primary-clr);
}

/* header styling */
.topnav-container {
    /* background-color: var(--background-clr); */
}

.topnav-main {
    /* background-image: unset; */
}

.brand-title h5 {
    font-family: "Lora";
    color: var(--main-text-clr);
    margin: 0;
    padding-top: 10px;
}
.brand-title p{
    font-family: "Lora";
    font-size: 20px;
    font-weight: 500;
}

@media(max-width:992px) {
    .brand-title h5 {
        font-size: clamp(0.75rem, 0.6786rem + 0.3571vw, 1rem);
    }

    .brand-title p {
        font-size: clamp(0.5rem, 0.3571rem + 0.7143vw, 1rem);
    }
}

/* Flash News styling */

.marquee_container .title h6 {

    color: var(--white-clr);
    font-weight: bold;
}

.marquee_container .title {
    border-right: 1px solid var(--main-text-clr);
}

.flash_news_sec {
    -webkit-box-shadow:  0px 1px 8px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow:  0px 1px 8px 0px rgba(0, 0, 0, 0.2);
    box-shadow:  0px 1px 8px 0px rgba(0, 0, 0, 0.2);
   

}

/* About us section styling */

.about-title h6 {
    font-size: clamp(1rem, 0.9643rem + 0.1786vw, 1.125rem);
    text-transform: capitalize;
}
.about-title p{
    font-size: clamp(1.125rem, 1.0179rem + 0.5357vw, 1.5rem);
    font-weight: 500;
    color: #032C3E;
}

.about-title h5 {
    font-family: "Mulish";
    color: var(--primary-clr);
    font-size: clamp(1.25rem, 0.8929rem + 1.7857vw, 2.5rem);
}

.about {
    background-color: var(--white-clr);
    background-image: url("../images/about-bg.png");
    background-repeat: no-repeat;
    background-size: 100% 75%;
    /* -webkit-box-shadow: 0px 10px 8px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 10px 8px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 10px 8px 0px rgba(0, 0, 0, 0.2); */
}

/* calandar brief */

.main-title{
    font-size: clamp(1.25rem, 1.1786rem + 0.3571vw, 1.5rem);
    color: var(--white-clr);
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: .2rem;
    line-height: 1.5;
}
.our-service .service-img{
    aspect-ratio: 3/2;
    border-radius: 10px;
}

/* Prayer group styling */

.vicar-data{
    background-repeat: no-repeat;
    background-size: cover;
    /* color: #5f564b80; */
}

/* gallery section styling */
.card-gallery{
    margin-bottom: 1rem;
    outline: 4px solid var(--white-clr);
    outline-offset: -4px;
    transition: all .3s linear;
    height: 100%;
}
.card-gallery:hover{
    text-decoration: none;
    background-color: var(--primary-clr);
}
.card-gallery:hover .gallery-content h5,
.card-gallery:hover .gallery-content p{
    color: var(--white-clr);
}
.card-gallery img{
    border-radius: 10px;
}
.gallery-content h5{
    font-size: clamp(1rem, 0.9286rem + 0.3571vw, 1.25rem);
    text-transform: uppercase;
    font-weight: 500;
    color: var(--primary-clr);
    letter-spacing: .2rem;
    line-height: 1.5;
    transition: all .3s linear;
}
.gallery-content p{
    font-size: 14px;
    font-weight: 400;
    transition: all .3s linear;
}

.footer-bottom{
    margin-top: auto;
}

.image-fluid img{
    max-width: 100%;
    height: auto !important;
    width: auto !important;
}

/* Gallery frame */
.gallery-img-wrapper {
    max-width: 720px;
    border-image: url('../images/frame.png') 53 60 53 60 stretch stretch;
    border-color: #f4be52;
    border-style: inset;
    border-width: 30px;
    margin-inline: auto;
}

.gallery-img-wrapper img {
    border-radius: 10px;
}
.custom-post-box {
    text-align: center;
}
.custom-post-box img{
    object-fit: cover;
}

.overflow-menu{
    max-height: 50vh;
    overflow-y: auto;
}

.overflow-menu::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: var(--background-clr);
}

.overflow-menu::-webkit-scrollbar {
    width: 6px;
    background-color: var(--background-clr);
}
.overflow-menu::-webkit-scrollbar-thumb {
    background-color:#f4be52;
}
/* New styles for SIMOC */

/* About us section */
.btn-outline-dark{
    font-weight:600;
}
.btn-outline-dark:hover{
    background-color: var(--primary-clr);
    border-color: var(--primary-clr);
}

.about-sub-title{
    color: var(--primary-clr);
    text-transform: capitalize;
}
.card-bg{
    background-image: url('../images/card-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    border: 4px solid var(--white-clr);
}
.church-img{
    height: 450px;
    transform: translateY(-50px);
    
}
.church-img img{
    height: 100%;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
    object-fit: cover;
    border: 10px solid #D9AC75;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2);
}
@media(max-width:992px){
    .church-img{
        height: 400px;
    }
}
@media(max-width:768px){
    .church-img{
        height: 100%;
        transform: translateY(0);
    }
}
a.latest-event{
    text-decoration: none;
}
.latest-event .card{
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}
.event-card .event-img{
    height: 350px;
    width: 100%;
    object-fit: cover;
}
.event-title-content{
    display: flex;
    gap:5px;
}
.event-title-content .date-container{
    width: 120px;
    text-align: center;
    flex-shrink: 0;
    background: #F1E7D9;
    border-radius: 10px;
    margin: 5px;
}
.event-title-content .date-content{
    position: relative;
}
.event-title-content .date-content img{
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
}
.event-title-content .date-content p{
    margin: 0;
}
.event-title-content .event-title{
    padding: 10px;
    color: var(--main-text-clr);
}

.service-bg{
    background-image: url('../images/service-bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.bx-img{
    background: #000;
}
.bx-img i{
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    color: red;
}