@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap');

:root {
    --primary-clr: #D45519;
    --background-clr: #FBF7D4;
    --main-text-clr: #0A0A0A;
    --sub-text-clr: #636A79;
    --white: #fff;
    --black: #000;
    --btn-radius: 4px;
    --card-radius: 10px;

}

a {
    text-decoration: none;
}

body {
    font-family: 'Manrope', sans-serif;
}

body::-webkit-scrollbar-track,
.mom-content::-webkit-scrollbar-track,
.overflow-card::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: var(--background-clr);
}

body::-webkit-scrollbar,
.mom-content::-webkit-scrollbar,
.overflow-card::-webkit-scrollbar {
    width: 6px;
    background-color: var(--background-clr);
}

body::-webkit-scrollbar-thumb,
.mom-content::-webkit-scrollbar-thumb,
.overflow-card::-webkit-scrollbar-thumb {
    background-color: var(--primary-clr);
}

/* Button styling */

.btn {
    padding: 5px 7px;
    min-width: 100px;
    font-weight: 500;
    font-size: 14px;
    border-radius: 4px;
    transition: all .3s linear;
}

.btn-main {
    background: var(--primary-clr);
    color: var(--white);
}

.btn-main-outline {
    background: var(--white);
    color: var(--primary-clr);
    outline: 1px solid var(--primary-clr);
}

.btn-main-outline:hover,
.btn-main-outline:focus {
    background: var(--primary-clr);
    color: var(--white);
}

.btn-main:hover,
.btn-main:focus {
    color: var(--white);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
}

/* custom accordion */
.custom-accordion .accordion-item {
    border: 1px solid var(--primary-clr);
    margin-bottom: 1rem;
    border-radius: var(--card-radius);
}

.custom-accordion .accordion-button {
    background-color: var(--primary-clr);
    color: var(--white);
    border-radius: var(--card-radius) var(--card-radius) 0px 0px !important;
}

.custom-accordion .accordion-button.collapsed {
    border-radius: var(--card-radius) !important;
}

.custom-accordion .accordion-button::after {
    filter: grayscale(1) brightness(100);
}

.custom-accordion .accordion-button:focus {
    border: none;
    box-shadow: none;
}

.custom-accordion .accordion-body {
    background: var(--background-clr);
    border-bottom-left-radius: var(--card-radius);
    border-bottom-right-radius: var(--card-radius);
}

.static-img {
    max-width: 500px;
}

.static-img img {
    border-radius: var(--card-radius);
}


/* Pagination styling */
.pagination {
    list-style: none;
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.pagination li {
    margin-right: 5px;
    cursor: pointer;
}

.pagination .active {
    background-color: var(--primary-clr);
    color: #fff;
    border: 1px solid var(--primary-clr);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
}

.pagination a {
    color: var(--primary-clr);
    border: 1px solid var(--primary-clr);
    padding: 6px 12px;
    text-decoration: none;
    border-radius: 4px;

}

.pagination a:hover {
    background-color: var(--primary-clr);
    color: #fff;
    border-color: var(--primary-clr);

}

.pagination svg {
    width: 16px;
    height: 16px;
}

/* Header styling */
header {
    background-color: var(--background-clr);
}

.navbar-brand {
    width: 280px;
    display: inline-block;
}

.offcanvas {
    background: var(--background-clr);
}

.offcanvas-end {
    width: 320px;
}

.offcanvas .navbar-nav .nav-item .nav-link,
.offcanvas .navbar-nav .nav-item .nav-link a {
    color: var(--sub-text-clr);
    font-size: 14px;
    font-weight: 600;
    transition: all .3s linear;
}

.offcanvas .navbar-nav .nav-item .nav-link:hover,
.offcanvas .navbar-nav .nav-item .nav-link a:hover {
    color: var(--primary-clr);
}


.navbar-light .navbar-toggler {
    border: none;
    box-shadow: none;
}

.navbar-light .navbar-toggler-icon {
    background-image: url('../images/menu-icon.svg');
}

.custom-dropdown-menu {
    border-radius: 10px;
}

.custom-dropdown-menu .dropdown-item.active,
.dropdown-item:active {
    background-color: transparent;
}

@media(max-width:992px) {

    .offcanvas .navbar-nav .nav-item .nav-link,
    .offcanvas .navbar-nav .nav-item .nav-link a {
        font-size: 1rem;
    }

    .custom-dropdown-menu {
        background: transparent;
        border: none;
    }
}

@media(max-width:576px) {
    .navbar-brand {
        width: 180px;
    }
}

/* Password eye toggle */
.inpt-pass {
    position: relative;
}

form .inpt-pass i {
    position: absolute;
    top: 30%;
    right: 3%;
    color: var(--primary-clr);
    cursor: pointer;
}

/* To hide default toggle */
input::-ms-reveal {
    display: none;
}

/* Hero section styling */
.hero {
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(255, 255, 255, 0) 100%), url('../images/hero-bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.hero-content {
    justify-content: center;
    align-items: center;
    height: 75vh;
}

.hero-content img {
    width: 200px;
    /* aspect-ratio: 1/1; */
}

.hero-title {
    color: var(--white);
    text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.45);
    font-size: clamp(1.5rem, 1.0714rem + 2.1429vw, 3rem);
    font-style: normal;
    font-weight: 700;
    line-height: normal;

}

.hero-sub-title {
    color: var(--white);
    text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.45);
    font-weight: 500;
    line-height: normal;
    font-size: clamp(1rem, 0.8571rem + 0.7143vw, 1.5rem);
}

@media (max-width:768px) {
    .hero-content img {
        width: 175px;
    }
}

/* notification scroll */

@-webkit-keyframes ticker {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        visibility: visible;
    }

    100% {
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
}

@keyframes ticker {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        visibility: visible;
    }

    100% {
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
}

.ticker-wrapper {
    display: flex;
    overflow: hidden;
    position: relative;
    align-items: center;
    background-color: var(--primary-clr);
    border-top: 1px solid rgba(212, 85, 25, 0.30);
    border-bottom: 1px solid rgba(212, 85, 25, 0.30);


}

.ticker-content {
    display: flex;
    white-space: nowrap;
    padding-left: 100%;
    gap: 2rem;
    position: absolute;
    margin: 0;
    list-style-image: url('../images/star-list.svg');
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-name: ticker;
    animation-name: ticker;
    -webkit-animation-duration: 30s;
    animation-duration: 30s;
}

.ticker-content:hover,
.ticker-content:hover li a {
    animation-play-state: paused;
    color: var(--main-text-clr);
}

.ticker-title {
    padding: 1rem 1rem 1rem 100px;
    z-index: 1;
    background-color: var(--primary-clr);
    border-right: 1px solid rgba(212, 85, 25, 0.30);
}

.ticker-title h6 {
    margin: 0;
    font-weight: 600;
    font-size: clamp(.8rem, 0.9286rem + 0.3571vw, 1rem);
    color: var(--white);
}

.ticker-content li a {
    color: var(--white);
    font-weight: 500;
    font-size: clamp(.8rem, 0.9286rem + 0.3571vw, 1rem);
    transition: all .3s linear;
}

@media(max-width:992px) {
    .ticker-title {
        padding: 1rem;
    }
}

@media(max-width:576px) {
    .ticker-title {
        width: 0;
        overflow: hidden;
        padding: 0;
    }
}

/* App-section styling */
.strip-bg {
    background-image: url('../images/strip-bg.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top;
}

/* .phone-img{
    max-width: 689px; 
} */
.app-title {
    color: var(--main-text-clr);
    font-size: clamp(1.125rem, 0.85rem + 1.375vw, 2.5rem);
    font-style: normal;
    font-weight: 700;
    line-height: normal;

}

.app-title-custom {
    text-transform: uppercase;
    color: var(--primary-clr);
}

.app-title span {
    color: var(--primary-clr);
}

.app-body {
    color: var(--sub-text-clr);
    font-weight: 400;
}

.app-body p {
    color: var(--sub-text-clr);
    font-weight: 400;
    font-family: inherit;
    text-align: center;
}

.msg-content .app-body {
    padding: 1rem;
    border: 2px solid var(--primary-clr);
    border-radius: var(--card-radius);
}

.store-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.playstore-card,
.appstore-card {
    max-width: 150px;
}

@media(max-width:576px) {

    .playstore-card,
    .appstore-card {
        max-width: 150px;
    }
}

/* Spirutal section */
.sp-card {
    height: 100%;
}

.sp-img {
    /* max-width: 170px; */
    margin-inline: auto;
}

.sp-img img {
    border-radius: 50%;
    /* max-width: 170px; */
    aspect-ratio: 1/1;
}

.sp-title {
    font-size: clamp(1rem, 0.9286rem + 0.3571vw, 1.25rem);
    font-weight: 500;
    color: var(--main-text-clr);
    margin-top: 1.5rem;
    line-height: normal;
}

.sp-body {
    color: var(--sub-text-clr);
    font-weight: 400;
    font-size: 14px;
    line-height: normal;
}

@media(max-width:768px) {
    .sp-img {
        max-width: 150px;
    }

    .sp-img img {
        max-width: 150px;
    }
}

/* Footer styling */
.footer {
    background-color: var(--background-clr);
    padding-top: 2rem;
    margin-top: auto;
}

.footer-content {
    /* display: flex;
    justify-content: end;
    align-items: center; */
}

.footer-content h6 {
    margin: 0;
    font-size: clamp(1rem, 0.9643rem + 0.1786vw, 1.125rem);
    color: var(--white);
    font-weight: 700;
    border-bottom: 1px solid #ffffff57;
    padding-bottom: 5px;
    width: fit-content;

}

.footer-content h6 span {
    width: 18px;
    height: 1px;
    background-color: var(--main-text-clr);
    display: inline-block;
    vertical-align: middle;
    margin-left: 1rem;
}

.footer-links {
    /* display: flex;
    flex-wrap: wrap;
    gap: 2rem; */
    padding-inline-start: 0;
    list-style: none;
    margin: 0;
}

.footer-links li a {
    font-size: 14px;
    font-weight: 400;
    color: var(--white);
    transition: all .3s linear;
}

.footer-links li a:hover {
    color: var(--primary-clr);
}

.copy {
    text-align: center;
    margin-top: 1rem;
    font-size: 12px;
    color: var(--white);
    letter-spacing: 2px;
    font-weight: 500;
}

.copy a {
    color: var(--primary-clr);
    transition: all .3s linear;
}

.copy a:hover {
    color: var(--main-text-clr);
}

@media(max-width:768px) {
    .footer-content {
        justify-content: center;
    }

    .copy {
        text-align: center;
    }
}

/* Inner Banner Header styling */
.banner-head {
    background-color: var(--background-clr);
    min-height: 80px;
    border-bottom-left-radius: 30px;
}

.banner-title {
    padding: 1rem;
}

.banner-title a:hover {
    color: var(--primary-clr);
}

.banner-title h4 {
    font-size: clamp(1.5rem, 1.3571rem + 0.7143vw, 2rem);
    color: var(--primary-clr);
    font-weight: 700;
    line-height: normal;
}

.banner-img-wrapper {
    position: relative;
    max-width: 512px;
}

.banner-img-wrapper img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem;
    border-radius: 30px;
}

@media(max-width:768px) {}

/* Content styling */

.content-wrapper {
    margin-top: calc(100% / 150 * 2);
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--white);
}

.border-outline {
    border: 1px solid var(--primary-clr);
    max-width: 500px;
    margin-inline: auto;
    border-radius: var(--card-radius);
}

/* Login Modal styling */

.modal-header {
    border-bottom: none;
    position: relative;
}

.logo-wrapper {
    position: absolute;
    width: 320px;
    background: var(--background-clr);
    text-align: center;
    z-index: -1;
    bottom: 100%;
    left: 50%;
    transform: translate3d(-50%, 100%, 0);
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    animation: animate-up;
    animation-duration: 1s;
    animation-fill-mode: both;
}

@media(max-width:576px) {
    .logo-wrapper {
        width: 250px;
    }
}

.logo-wrapper img {
    padding: 1rem;
}

.modal-title {
    font-size: clamp(1rem, 1.3571rem + 0.7143vw, 1.4rem);
    font-weight: bold;
    color: var(--primary-clr);
}

.modal-content {
    background-color: var(--background-clr);
    border: none;
    border-radius: 10px;
    /* rgb(212 85 25) */
    box-shadow: rgba(212, 85, 25, 0.25) 0px 50px 100px -20px, rgba(212, 85, 25, 0.3) 0px 30px 60px -30px, rgba(212, 85, 25, 0.35) 0px -2px 6px 0px inset;
    padding: 1rem;
}

@keyframes animate-up {
    0% {
        transform: translate3d(-50%, 100%, 0);
        opacity: 0;
    }

    100% {
        transform: translate3d(-50%, 0%, 0);
        opacity: 1;
    }
}

.custom-nav-pills .nav-item .nav-link {
    color: var(--main-text-clr);
    font-weight: 500;
    line-height: normal;
    font-size: clamp(1rem, 0.9286rem + 0.3571vw, 1.25rem);
}

.custom-nav-pills .nav-item .nav-link.active {
    background: transparent;
    color: var(--primary-clr);
    border-bottom: 2px solid var(--primary-clr);
    border-radius: 0;
}

.custom-form .form-label {
    font-weight: 600;
    color: var(--main-text-clr);

}

.custom-form .form-control {
    border-left-color: transparent;
}

.custom-form .input-group-text {
    border-right-color: transparent;
    background-color: var(--white);
}

.custom-form .input-group-text i {
    color: var(--primary-clr);
}


/* Membership form styling */

.tle-btm-line {
    position: relative;
    padding-bottom: 10px;
}

.tle-btm-line:after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-clr);
    position: absolute;
    bottom: 0;
    left: 0;
}

.form-row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px;
}

.form-file input {
    background-color: #fbfbfb;
    border: 1px solid #ced4da;
    padding: 18px;
    margin-bottom: 0.75rem;
    width: 100%;
    outline: 0;
}

.form-input-error {
    width: 100%;
    font-size: 0.875em;
    color: #e51c0d;
}

.mandatory {
    color: #e51c0d;
}


/* Parish Page stlying */

.innerTitle {
    color: var(--primary-clr);
    font-size: clamp(1rem, 0.9286rem + 0.3571vw, 1.25rem);
    font-weight: 700;
    line-height: normal;
    margin: 0;
}

/* Table styling */

.custom-table {
    border-color: var(--primary-clr);
    --bs-table-hover-bg: #FBF7D4;

}

.custom-table>thead {
    border-width: unset;
    background: var(--primary-clr);
    color: var(--white);
}

.custom-table.table-hover>tbody>tr:hover>* {
    cursor: pointer;
}

/* menu tile styling */

.service-tile {
    display: flex;
    gap: 10px;
    background-color: var(--background-clr);
    padding: 1rem 10px;
    border-radius: 10px;
    align-items: center;
    text-decoration: none;
    height: 100%;
    box-shadow: 0px 0px 8px 0px rgba(63, 63, 63, 0);
    transition: all .3s linear;
}

.service-tile:hover {
    box-shadow: 0px 0px 8px 0px rgba(63, 63, 63, 0.15);
}

.service-tile img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    aspect-ratio: 1/1;
}

.tile-des h5 {
    font-size: clamp(.8rem, 0.9286rem + 0.3571vw, 1rem);
    color: var(--main-text-clr);
    margin: 0;
    font-weight: 600;
    /* line limit */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow-wrap: anywhere;

}

.tile-des p {
    font-size: 14px;
    color: var(--sub-text-clr);
    margin: 0;
    font-weight: 500;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow-wrap: anywhere;
}

/* inner page banner styling */
/* .parish-banner {
    min-height: 150px;
    padding: 2rem 0rem;
    background-image: url('../images/bg-3.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.parish-banner-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.parish-banner-content h5 {
    font-size: clamp(1.5rem, 1.3571rem + 0.7143vw, 2rem);
    color: var(--main-text-clr);
    font-weight: 700;
    line-height: normal;
}

.breadcrumb {
    justify-content: center;
}

.crumb-link {
    color: var(--main-text-clr);
    transition: all .3s linear;
}

.crumb-link:hover {
    color: var(--primary-clr);
}
*/
.content-wrapper-bodc {
    margin-top: calc(100% / 150 * 8);
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--background-clr);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    min-height: 200px;
}


/* Gallery Image section styling */

.gallery-item .polaroid {
    background-color: #fff;
    padding: 2em;
    box-shadow: 0 0.25em 1em rgba(0, 0, 0, 0.2);
}

.gallery-item .caption {
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.gallery-item {
    display: inline-block;
    margin-top: 2em;
    -webkit-filter: grayscale(90%);
    filter: grayscale(90%);
}

.gallery-item .polaroid:before {
    content: "";
    position: absolute;
    z-index: -1;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.gallery-item:nth-of-type(4n+1) {
    -webkit-transform: scale(0.8, 0.8) rotate(5deg);
    transform: scale(0.8, 0.8) rotate(5deg);
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.gallery-item:nth-of-type(4n+1) .polaroid:before {
    -webkit-transform: rotate(4deg);
    transform: rotate(4deg);
    bottom: 30px;
    right: 10px;
}

.gallery-item:nth-of-type(4n+2) {
    -webkit-transform: scale(0.8, 0.8) rotate(-5deg);
    transform: scale(0.8, 0.8) rotate(-5deg);
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.gallery-item:nth-of-type(4n+2) .polaroid:before {
    -webkit-transform: rotate(-4deg);
    transform: rotate(-4deg);
    width: 45%;
    height: 20%;
    bottom: 30px;
    right: 10px;
}

.gallery-item:nth-of-type(4n+3) {
    -webkit-transform: scale(0.8, 0.8) rotate(-3deg);
    transform: scale(0.8, 0.8) rotate(-3deg);
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.gallery-item:nth-of-type(4n+3) .polaroid:before {
    -webkit-transform: rotate(-4deg);
    transform: rotate(-4deg);
    width: 45%;
    height: 20%;
    bottom: 30px;
    right: 10px;
}

.gallery-item:nth-of-type(4n+4) {
    -webkit-transform: scale(0.8, 0.8) rotate(3deg);
    transform: scale(0.8, 0.8) rotate(3deg);
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.gallery-item:nth-of-type(4n+1) .polaroid:before {
    -webkit-transform: rotate(-4deg);
    transform: rotate(-4deg);
    width: 45%;
    height: 20%;
    bottom: 30px;
    right: 10px;
}

.gallery-item:nth-of-type(4n+5) {
    -webkit-transform: scale(0.8, 0.8) rotate(0deg);
    transform: scale(0.8, 0.8) rotate(0deg);
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.gallery-item:nth-of-type(4n+1) .polaroid:before {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    width: 45%;
    height: 20%;
    bottom: 30px;
    right: 10px;
}

.gallery-item:hover {
    -webkit-transform: scale(1, 1) rotate(0deg);
    transform: scale(1, 1) rotate(0deg);
    -webkit-filter: none;
    filter: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.gallery-item:hover .polaroid:before {
    content: "";
    position: absolute;
    width: 90%;
    height: 90%;
    bottom: 0%;
    right: 5%;
    z-index: -1;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.hover-scale .gallery-box {
    overflow: hidden;
    width: 200px;
    height: 200px;
}

.hover-scale .gallery-box img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}

.hover-scale:hover .gallery-box img {
    opacity: 1;
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}

.img-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.img-list li {
    border: 1px solid #c3c3c3;
}

/* iframe styling */
iframe {
    width: 100%;
    height: 500px;
    border-radius: var(--card-radius);
}

.app-ad {
    width: 70%;
}

@media(max-width:768px) {
    .app-ad {
        width: 100%;
    }
}

/* New Design styles */
/* footer styling */

.navbar-brand-footer {
    /* display: flex; */
    width: 300px;
}

.footer-title {
    font-size: 20px;
    color: var(--white);
    text-align: center;
}

.footer {
    background-image: linear-gradient(318deg, rgba(23, 11, 4, 0.92) 0%, rgba(23, 11, 4, 0.92) 100%), url('../images/footer-bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.contact-block {
    display: flex;
    gap: 5px;
    /* align-items:center; */
}

.contact-block h6,
.contact-block i {
    color: var(--white);
}

.contact-block h6 {
    font-weight: 400;
    border: none;
    font-size: 14px;
}

.footer-content p,
.footer-content a {
    color: var(--white);
    font-size: 14px;
}

.location-map {
    height: 100%;
}

.custom-form-label {
    color: var(--white);
    font-size: 14px;
    margin-bottom: .25rem;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.custom-form-control {
    padding: .25rem;
    font-size: 14px;
}

hr {
    color: var(--sub-text-clr);
}

/* Home Page styling */
.carousel-item img {
    height: 570px;
    width: 100vw;
    object-fit: cover;
    object-position:top;
}

.main-slide-wrapper {
    position: relative;
}

.main-slide-content {
    position: absolute;
    display: flex;
    background: #000000ad;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-align: center;

}

.carousel-item:not(:first-child) .main-slide-content {
    display: none;
}

.main-slide-content img {
    max-width: 150px;
    max-height: 150px;
    object-fit: contain;
    position: absolute;
    top: 2%;
    right: 2%;
}

.slide-title {
    font-size: clamp(1.125rem, 0.75rem + 1.875vw, 4rem);
    color: var(--white-clr);
    font-weight: 600;
    letter-spacing: 10px;
}

.slide-text {
    /* line limit */
    /* overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical; */
    font-weight: 400;
    font-size: clamp(1.125rem, 0.9rem + 1.125vw, 2.25rem);
}

@media(max-width:768px) {
    .slide-title {
        font-size: 1rem;
        letter-spacing: 0;
    }

    .slide-text {
        font-size: 12px;
    }
}

@media (max-width:992px) {
    .carousel-item img {
        height: auto;
    }
}

/* Live and Gallery section */
.live-section {
    background-color: #F0E9DF;
}

.title-block {
    margin: 0;
    font-size: clamp(1rem, 0.9643rem + 0.1786vw, 1.125rem);
    color: var(--primary-clr);
    font-weight: 700;
    border-bottom: 1px solid #d454193b;
    padding-bottom: 5px;
    width: fit-content;
    margin-bottom: 1rem;
}

.live-video iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
}

@media(max-width:578px) {
    .live-video iframe {
        min-height: unset;
        aspect-ratio: 16/9;
    }
}

/* mom section */
.mom-wrapper {
    display: flex;
    height: 100%;
    max-height: 300px;
    background-image: linear-gradient(318deg, rgba(212, 85, 25, 0.7) 0%, rgba(212, 85, 25, 0.7) 100%), url('../images/mom-bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
}

.mom-wrapper .mom-img {
    width: 100%;
    max-width: 356px;
    flex-shrink: 0;
}

.mom-wrapper .mom-img img {
    width: 100%;
    height: 100%;
}

.mom-wrapper .mom-content {
    padding: 3rem 1rem;
    overflow-y: auto;
    position: relative;
}

.mom-content::before {
    content: url('../images/quote.png');
    position: absolute;
    top: 5px;
}

.mom-content::after {
    content: url('../images/quote.png');
    position: absolute;
    transform: rotateZ(-180deg);
    /* bottom: 0; */
    right: 5px;
}

.mom-content h6 {
    font-size: clamp(1.125rem, 0.95rem + 0.875vw, 2rem);
    color: var(--white);
    text-align: center;
}

@media(max-width:992px) {
    .mom-img {
        display: none;
    }
}

/* services section */
.service-bg {
    background-image: url('../images/service-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.service-card {
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    text-align: left;
    padding: 5px;

}

.service-title {
    /* padding: 1rem; */
    background: var(--white);
    color: var(--main-text-clr);
}

.service-title h6 {
    text-transform: uppercase;
    min-height: 40px;

}
/* service timings and events card styling */
.line-limit-1 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
}

.line-limit-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.line-limit-3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.service-card {
    padding: .5rem;
    border: none;
    /* margin-bottom: .5rem; */
}

.service-title {
    font-size: clamp(0.875rem, 0.8393rem + 0.1786vw, 1rem);
    color: var(--primary-clr);
    font-weight: bold;

}

.service-content {
    font-size: 14px;
    color: var(--sub-text-clr);
    

}

.service-time,
.from-date {
    font-size: 14px;
    font-weight: 400;
    color: #8b8b8b;
    margin-bottom: 0;
}

.event-date {
    text-align: center;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: bold;
    color: var(--white);
    background-color: var(--primary-clr);
    border-bottom-left-radius: .25rem;
    border-bottom-right-radius: .25rem;

}


/* Events, news, calender section */
.index-card {
    height: 100%;
    border: 1px solid #A25C43;
}

/* .overflow-index {
    height: 273px;
} */
@media(min-width:1200px){
    .overflow-index{
        height: 460px;
    }
}
@media(max-width:1199px){
    .overflow-index{
        height: 400px;
    }
}
@media(max-width:992px){
    .overflow-index{
        height: 400px;
    }
}
@media(max-width:768px){
    .overflow-index{
        height: 320px;
    }
}

.index-card .overflow-card {
    overflow-y: auto;
}

.index-card .card-body {
    padding: 10px;
}

.index-card .card-body p {
    font-size: 12px;
    margin-bottom: .25rem;
}

.index-card .card-body h6 {
    font-size: 14px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.index-card .view-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #A25C43;
}

.index-card .view-block h6,
.index-card .view-block i,
.index-card .view-block span {
    margin: 0;
    color: var(--white);
    font-size: 12px;
}

.index-card .c_date {
    font-size: 1rem;
    font-weight: 600;
    padding: 2px;
    width: 28px;
    text-align: center;
    border-radius: 50%;
    background-color: #A25C43;
    color: var(--white);
    height: 28px;
    flex-shrink: 0;
}

.ad-bg {
    background-color: rgba(239, 231, 220, 92%);

}

.fb-link {
    position: fixed;
    top: 60%;
    z-index: 1000;
    right: -35px;
}
.yt-link{
    top: 80%;
}
.fb-link .fb-btn img{
    width: 32px;
}
/* News Page and card stlying */

.news-thumbnail {
    position: relative;

}
.news-thumbnail img{
    aspect-ratio: 2/1;
    object-fit: contain;
}


.post-meta-thumbnail {
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.post-meta-thumbnail span,
.post-meta-thumbnail i {
    font-size: 10px;
    color: var(--white);
}

.post-meta-thumbnail .timestamp,
.post-meta-thumbnail .date {
    padding: 0 5px;
    background: var(--primary-clr);
}

.post-meta-thumbnail .timestamp {
    border-top-right-radius: var(--btn-radius);
}

.post-meta-thumbnail .date {
    border-top-left-radius: var(--btn-radius);
}

.post-meta {
    display: flex;
    justify-content: start;
    align-items: center;
    width: 100%;
    gap: 1rem;
    flex-direction: row-reverse;
}

.post-meta span,
.post-meta i {
    font-size: 14px;
    color: var(--sub-text-clr);
    font-weight: 500;
}

.news-img img {
    /* width: 100%; */
    border-top-right-radius: var(--card-radius);
    border-top-left-radius: var(--card-radius);
}

/*temporary code for demo*/
.custom-image{
    height:100%;
    overflow:hidden;
    object-fit:contain;
}
/* header */

@media(min-width:992px) {
    .custom-menu {
        flex-direction: column;
        max-width: 100% !important;
        padding: 0;
    }

    .offcanvas-end {
        width: 100%;

    }

    .wrapper {
        padding: 0;
    }

    .navbar-brand {
        width: 500px;
    }

    .offcanvas.offcanvas-end {
        background-color: var(--primary-clr);
    }

    .offcanvas .navbar-nav .nav-item .nav-link,
    .offcanvas .navbar-nav .nav-item .nav-link a {
        color: var(--white);
    }

    .offcanvas .navbar-nav .nav-item .nav-link:hover,
    .offcanvas .navbar-nav .nav-item .nav-link a:hover {
        color: var(--white);
    }

    .hover-underline-animation {
        display: inline-block;
        position: relative;
        color: var(--primary-clr);
    }

    .hover-underline-animation:hover:after {
        transform: scaleX(1);
        transform-origin: bottom left;
    }

    .hover-underline-animation:after {
        content: '';
        position: absolute;
        width: 100%;
        transform: scaleX(0);
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: var(--white);
        transform-origin: bottom right;
        transition: transform 0.25s ease-out;
    }

    .custom-dropdown-menu {
        background-color: var(--background-clr);
    }

    .custom-dropdown-menu li .dropdown-item {
        color: var(--primary-clr) !important;
    }
.btn-main-nav{
        outline: 1px solid var(--white);
        color: var(--primary-clr) !important;
    }
    .btn-main-nav:hover,
    .btn-main-nav:focus{
        background: transparent;
        color: var(--white) !important;
        outline: 1px solid var(--white);
    }

    /* footer */
    /* .navbar-brand-footer{
        max-width: 0px;
    } */
}