﻿.testimonial-area.style-three.topper .testimonial_list2 .owl-prev {
    left: -70px;
}
.grid-thumb img{
    width:100% !important;
}

.service-area.style-four {
    background-image: url('../images/banner/backgroundrtl.png') !important;
}
.case-section-area {
    background-image: none;
    background-color: #1a4264;
    padding: 80px 0 80px;
}

#parishcleargy {
    ul{
        margin-bottom:50px;
        background:none;
        border-left: none;
        border-top: none;
        border-right: none;
    }
    li {
        background: #CB7931;
    }

    li.ui-state-active {
        background: #1C3B57 !important;
    }

    li .text-primary-2{
        color: #FFF !important;
        margin-top:10px !important;
        font-size:32px;
        padding-left:100px;
        padding-right:100px;
    }
    .team-title h2{
        font-size:20px;
        margin-top:20px;
        margin-bottom:5px;
    }

}

.no-border{
    border: none !important;
}

.banner-area.style-four {
    background-position: center !important;
    background: url(../images/banner/banner1.png);
    background-repeat: no-repeat;
}

.banner-area.style-three {
    background-position: center !important;
    background: url(../images/banner/banner2.png);
    background-repeat: no-repeat;
}

.sticky-nav{
    z-index: 999 !important;
}



.vertical-tabs {
    /* Style the tab */
    .tab
    {
        float: left;
        border: 1px solid #ccc;
        background-color: #f1f1f1;
        width: 30%;
        height: 300px;
    }

    /* Style the buttons inside the tab */
    .tab button {
        display: block;
        background-color: inherit;
        color: black;
        padding: 22px 16px;
        width: 100%;
        border: none;
        outline: none;
        text-align: left;
        cursor: pointer;
        transition: 0.3s;
        font-size: 17px;
    }

        /* Change background color of buttons on hover */
        .tab button:hover {
            background-color: #ddd;
        }

        /* Create an active/current "tab button" class */
        .tab button.active {
            background-color: #ccc;
        }

    /* Style the tab content */
    .tabcontent {
        float: left;
        padding: 0px 12px;
        border: 1px solid #ccc;
        width: 70%;
        border-left: none;
        height: 300px;
    }
}



.Family-Group
{
    .service-icon img{
        height:250px !important;
    }
    .padding-top-10px {
        padding-top: 10px !important;
    }
    .padding-bottom-10px {
        padding-bottom: 10px !important;
    }
    .single-service-box{
        background-color: #2A466B !important;
    }
}

.FamilyUnit {
    .LeftPannel{
        border:1px solid #1C3B57;
        padding:25px;
    }

    .unit-title{
        color: #232323;
        font-size:18px;
        font-weight:bold;
        display:inline;
    }
    .unit-text {
        color: #33336E;
        font-size: 14px;
        display:inline;
    }

    .text-align-center{
        text-align:center !important;
    }
    .text-align-left{
        text-align:left !important;
    }

}

.ContactWrapper {
    color:#FFF;
    background-color: rgba(27,59,85,0.7);
}

.ContactWrapper {
    table {
        border: 1px solid #2A466B;
    }

    table caption {
        background-color: #2A466B;
        border: 1px solid #2A466B;
        color:#FFF;
        caption-side: top; 
        font-weight: bold; 
        text-align: center;
    }
    th{
        border-bottom: 1px solid #2A466B;
    }
    th,td{
        padding:4px;
        padding-left:10px;
    }
}


.margin-top-50px {
    margin-top: 50px;
}
.margin-top-15px {
    margin-top: 15px;
}
.margin-top-5px {
    margin-top: 5px;
}
.mySwiper{
    overflow:hidden;
}
.mySwiper img{
    width:100% !important;
}


.OfficeBearers-table{
    width:100%;
    font-size:14px;
    align-content:start
}
.OfficeBearers-table td{
    color:#1C3B57;
    align-content:start;
    padding-bottom:5px;
}
.OfficeBearers-table td:first-child {
    color: #333 !important;
    font-weight:bold;
}


/* Loading - starts  */
.cross-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 50px auto;
}

/* Cross */
.cross-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cross-vertical {
    position: absolute;
    width: 20px;
    height: 140px;
    background-color: #5b4636;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4px;
    z-index: 2;
}

.cross-horizontal {
    position: absolute;
    width: 80px;
    height: 20px;
    background-color: #5b4636;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4px;
    z-index: 2;
}

/* Animated Sun Rays */
.sun-rays {
    position: absolute;
    top: 75%;
    left: 50%;
    width: 160px;
    height: 160px;
    background: repeating-conic-gradient( rgba(255, 223, 0, 0.6) 0deg 2deg, transparent 2deg 10deg );
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spinRays 4s linear infinite;
    z-index: 1;
}

/* Animation */
@keyframes spinRays {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Loading - ends  */


/*  Model Popup  - Starts   */

.modal-overlay {
    display: none; /* hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
}

.modal1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: 80%;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: fadeIn 0.3s ease-in-out;
}

.close-btn {
    float: right;
    font-size: 18px;
    font-weight: bold;
    border: none;
    background: none;
    cursor: pointer;
}

.modal-overlay p {
    color: #1C3B56 !important;
}
.modal-overlay strong {
    color: #1C3B56 !important;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}
/*  Model Popup  - Ends   */


#TodaysReading {
    .TodaysReadingWrapper{
            z-index: 555; 
            background-repeat: no-repeat; 
            margin-bottom: -120px; 
            padding-right: 0px !important;
        }

    li{
          font-weight:bold !important;
          cursor:pointer
      }
    li b{
        font-weight: 100 !important;
    }

    #TodaysReadingLinks li b {
        color: #FFF !important;
        margin-left:10px;
    }

    #TodaysReadingLinks div:hover{
        text-decoration:underline;
    }
}

.subtitle {
    font-size: 23px;
    font-weight:bold;
    color: #1C3B57 !important
}

.ParishCouncil {
    width: 70%;
    padding: 10px;
    table{
        color:#FFF;
        background-color: rgba(27,59,85,0.7);
    }
    thead{
        background-color: #2A466B;
    }
    th, td{
        font-size:17px;
        padding:10px;
        padding-top: 3px;
        padding-bottom: 3px;
    }
    th{
        padding:10px;
    }
}


#NotificationPopup {
    : root
    {
        --radius: 14px;
    }

    /* Prevent background scroll when modal open */
    body.modal-open {
        overflow: hidden;
    }

    /* Overlay */
    .modal-overlay1 {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.6);
        display: none;
        z-index: 1000;
    }

        .modal-overlay1.show {
            display: block;
        }

    /* Modal */
    .modal {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        background: #fff;
        width: min(92vw, 560px);
        border-radius: var(--radius);
        box-shadow: 0 20px 50px rgba(0,0,0,.25);
        overflow: hidden;
        animation: fadeIn .25s ease-out;
    }

    .modal-header, .modal-footer {
        padding: 14px 16px;
        background: #f7f7f8;
    }

    .modal-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .modal-title {
        margin: 0;
        font-size: 1.05rem;
    }

    .modal-body {
        padding: 14px 16px;
    }

        .modal-body img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 10px;
            background: #eee;
        }

    .close-btn {
        appearance: none;
        border: 0;
        background: transparent;
        font-size: 1.5rem;
        line-height: 1;
        cursor: pointer;
    }

    .btn-row {
        display: flex;
        gap: 10px;
        justify-content: flex-end;
    }

    .btn {
        appearance: none;
        border: 1px solid #ddd;
        background: white;
        padding: 10px 14px;
        border-radius: 10px;
        cursor: pointer;
        font-weight: 600;
    }

    .btn.primary {
        background: #CB7931;
        color: white;
        border-color: #CB7931;
    }

    .btn:hover {
        filter: brightness(.97);
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translate(-50%,-46%);
        }

        to {
            opacity: 1;
            transform: translate(-50%,-50%);
        }
    }
}



/* Popup background overlay */
#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 999;
}
/* Popup box */
#popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    z-index: 1000;
    width: 58%;
    text-align: center;
}

#popup button {
    margin-top: 10px;
    padding: 5px 10px;
    cursor: pointer;
}

#popup img{
    width: 100%;
}

#popup i{
    display:inline-block;
    color:#1C3B57;
    width: 20px;
    padding:5px;
    cursor:pointer;
    padding-bottom:10px;
    font-weight:bold;
    margin-left:10px;
    font-size:18px;
}
#popup i:hover {
    color:#000;
}
.floatRight{
    float:right;
}
.floatLeft{
    float:left;
}

.dreamit-filepx-area .flip-icon img {
    width: 128px !important;
    height: 128px !important;
}
.dreamit-filepx-area .flip-box-front, .dreamit-filepx-area .flip-box-back {
    height: auto !important;
}
.feature-single-box {
    padding-bottom:40px !important;
}

.dreamit-filepx-area{
    padding-bottom:0px !important;
}

.banner-subheader{
    font-size:50px !important;
}



/* mobile portrait: use tall image */
@media (max-width: 767px) and (orientation: portrait) {
    #popup {
        width: 98% !important;
    }
    .todays-reading-wrapper {
        padding: 0 10px !important;
    }

    .call-do-action-area.style-three .row.margin-topper {
        background: #CB7931 !important;
    }
    #modalOverlay {
        .modal1{
                   width:90% !important;
                       height: 95vh;
                       overflow:scroll;
               }
    }
}

/* mobile landscape: use wide image */
@media (max-width: 767px) and (orientation: landscape) {
    #popup {
        width: 78% !important;
    }
    .todays-reading-wrapper {
        padding: 0 10px !important;
        margin-top: 50px;
    }
    .call-do-action-area.style-three .row.margin-topper{
        background: #CB7931 !important;

    }
    #modalOverlay {
        .modal1{
                   width:90% !important;
                       height: 95vh;
                       overflow:scroll;
               }
    }
}


/* Hide by default */
.mobile-only {
    display: none !important;
}

@media (max-width: 990px) {
    .mobile-only {
        display: block !important; 
    }
    .banner-subheader {
        font-size: 28px;
    }
}

@media only screen and (min-width: 600px) and (max-width: 990px) {
    .header-area {
        padding: 10px !important;
        padding-bottom: 5px !important;
    }

    .banner-subheader {
        font-size: 28px !important;
    }
}

@media only screen and (min-width: 320px) and (max-width: 599px) {
    .menu-wrapper {
        width: 250px !important;
    }
    .banner-subheader {
        font-size: 30px !important;
    }
}

@media only screen and (min-width: 320px) and (max-width: 599px) {
    .header-area {
        padding: 10px !important;
        padding-bottom: 5px !important;
    }

    .banner-subheader {
        font-size: 28px;
    }
}
