@media only screen and (min-width: 4501px) and (max-width: 6000px)
/* == 25% == */
    {}


@media only screen and (min-width: 3100px) and (max-width: 4500px)
/* == 33% == */
    {}


@media only screen and (min-width: 2701px) and (max-width: 3100px)
/* == 50% == */
    {
.cont-outer-row .cont-outer-col-1 .contact-form-custom ul li.upload-box .upload-left::before {
    top: 0;
}

.postid-949 .photo-gallery-outer {
    padding-top: 180px !important;
}

.block-style-four-outer-row {
    padding-top: 130px !important;
}
    .our-history-section-outer {
        padding-bottom: 200px !important;
    }

    .adult-learning-sec {
        padding-top: 150px !important;
    }

    div#clergy .team-grid .team-member {
        width: 30.5%;
    }

    .team-member {
        width: 22%;
    }
    .team-popup-content {
        position: relative;
    }
}


@media only screen and (min-width: 2001px) and (max-width: 2700px)
/* == 67% == */
    {

.blue-community-outer {
    margin-bottom: 100px !important;
}

    div#clergy .team-grid .team-member {
        width: 29.5%;
    }

    .team-member {
        width: 21%;
    }
    .team-popup-content {
        position: relative;
    }

}


@media only screen and (min-width: 1801px) and (max-width: 2000px)
/* == 75% == */
    {

    .blue-community-outer {
    margin-bottom: 100px !important;
}
    div#clergy .team-grid .team-member {
        width: 29%;
    }

    .team-member {
        width: 20.5%;
    }
}


@media only screen and (min-width: 1601px) and (max-width: 1800px)
/* == 80% == */
    {

.blue-community-outer {
    margin-bottom: 100px !important;
}
    }


@media only screen and (min-width: 1517px) and (max-width: 1600px)
/* == 90% == */
    {

.custom-gallery-container {
    max-width: 830px;
}

.custom-gallery-thumb {
    width: 130px;
    height: 130px;
}

.custom-gallery-slide img {
    max-height: 550px;
}

    }


@media (min-width: 1801px) {}

@media (max-width: 1400px) {}

@media (max-width: 1370px) {}

@media (max-width: 1340px) {
    .staff-member {
        width: 28%;
    }

    div#clergy .team-grid .team-member {
        width: 27%;
    }

    .team-member {
        width: 28%;
    }

    div#focal-point-results .focal-point-wrapper {
    column-gap: 50px;
}

}

@media (max-width: 1311px) {}

@media (max-width: 1300px) {

    .learning-carousel {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 60px;
    }

    .list-of-learning-outer-row {
        max-width: 90%;
    }
}

@media (max-width: 1285px) {}

@media (max-width: 1260px) {
    #top-menu {
        gap: 10px;
    }

    ul#top-menu li.menu-item>a {
        font-size: 14px;
    }

    div#top-header>.container {
        padding: 0px 25px;
    }

    .desktop-nav .container.clearfix.et_menu_container {
        padding: 20px 25px;
    }

    .upcoming-event-row {
        max-width: 90% !important;
        margin: 0 auto;
    }
    .all-common-banner-outer.focal-banner {
    margin-top: 76px;
}
}

@media (max-width: 1240px) {

    .team-second-grid .team-member {
        width: 44%;
    }

}

@media (max-width: 1200px) {

    .contact-us-add-outer-row {
    flex-direction: column;
}

.contact-us-add-outer-row .contact-us-add-outer-col-1 {
    width: 100% !important;
}

.contact-us-add-outer-row .contact-us-add-outer-col-2 {
    width: 100% !important;
}

.contact-us-add-outer-row .contact-us-add-outer-col-2 iframe {
    width: 100%;
}

    div#clergy .team-grid .team-member {
        width: 44%;
    }

    .team-grid {
        justify-content: center !important;
        ;
    }

    .join-us-row {
        padding: 0 35px !important;
    }

    .team-popup-content {
        width: 97% !important;
        padding: 116px 20px 60px 20px;
        margin-top: 20px !important;
    }

    .team-popup {
        align-items: flex-start;
    }

    .our-history-inner {
        max-width: 95.5% !important;
    }

    .team-member {
        text-align: center;
        width: 43%;
    }

    .staff-member {
        text-align: center;
        width: 42%;
    }

    div#board .team-member {
        text-align: center;
        width: 42%;
    }

    .photo-gallery-outer-row {
        max-width: 94% !important;
    }



    .block-style-1-outer-row {
        padding-top: 0 !important;
        max-width: 87% !important;
        display: flex;
        width: 100% !important;
        justify-content: space-between;
        align-items: flex-start;
        padding-bottom: 7px !important;
        flex-direction: column;
    }

    .block-style-1-outer-col-2 {
        width: 100% !important;
        justify-content: flex-start;
    }

    .block-style-1-outer-col-1 {
        width: 100% !important;
        margin-bottom: 30px !important;
    }

    .block-style-1-outer-col-2 .et_pb_button_module_wrapper {
        margin-top: 0px;
    }


}

@media (max-width: 1170px) {
    .who_we_are_img-2 {
        position: absolute;
        bottom: 40px;
        left: -81px;
        width: 206px;
        height: 164px;
    }
}

@media (max-width: 1160px) {
    .adult-learning-row {
        display: flex;
        max-width: 54% !important;
        gap: 119px;
        flex-direction: column;
    }


    .our-history-inner {
        background: transparent;
        max-width: 100% !important;
        padding: 10px 10px 10px 10px !important;
        flex-direction: column;
    }

    .our-history-inner::before {
        display: none;
    }

    .our-history-content {
        padding: 67px 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 94% !important;
        margin: 0 !important;
        background: #4F5B71;
        position: relative;
        margin: 0 auto !important;
    }

    .our-history-content::before {
        position: absolute;
        content: "";
        width: 100%;
        height: 20px;
        bottom: 0px;
        left: 0;
        background: url(../images/pattern-line.svg);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .our-history-img-right {
        width: 100% !important;
        margin-top: 0;
        margin-bottom: 0;
    }

    .our-history-section-outer .our-history-inner {
        margin-right: auto !important;
        margin-left: auto !important;
        padding: 0 !important;
            border-radius: 0px 0px 15px 15px;
    }

    .our-history-section-outer {
        padding-top: 30px !important;
        padding-bottom: 50px !important;
    }



}

@media (max-width: 1120px) {}

@media (max-width: 1130px) {

    .services-widget {
        width: auto;
    }




}

@media (max-width: 1100px) {
    #secondary-menu li a {
        font-size: 14px;
        padding: 11px 22px;
    }

    .desktop-nav .container.clearfix.et_menu_container {
        padding: 20px 15px;
    }

    div#top-header>.container {
        padding: 0px 15px;
    }

    .desktop-nav .logo_container {
        height: 20px;
        width: 145px;
        position: relative;
    }

    .who_we_are_img-2 {
        bottom: 104px;
    }

    div#focal-point-results .focal-point-wrapper {
        column-gap: 35px;
    }

    div#focal-point-results .focal-point-wrapper .focal-point-item {
    width: 30%;
    }

.focal-container .focal-section {
    margin-top: 0;
}
.focal-section .focal-filter-bar select {
        width: 40%;
}


}

@media (max-width: 1060px) {
    .service-column.left-column .content ul {
        column-count: 1;
        padding-left: 0 !important;
        gap: 58px !important;
    }

    .team-anchors a {
        width: 28%;
    }

    .gallery-lightbox .lightbox-slider img {
    height: 400px;
}

.gallery-lightbox .lightbox-content {
    width: 500px;
}

    .gallery-lightbox .lightbox-close {
        top: -30px;
        right: -75px;
    }

 .media-popup .popup-slider img {
    height: 400px;
}

.media-popup .popup-content {
    width: 500px;
}

.media-popup .popup-close {
        top: -30px;
        right: -75px;
    } 

}

@media (max-width: 1024px) {}

@media (max-width: 1010px) {

    .who_we_are_content::before {
        left: 0;
    }

}

@media (max-width: 1000px) {

.who_we_are_content h1,
.who_we_are_content h2,
.who_we_are_content h3,
.who_we_are_content h4,
.who_we_are_content h5,
.who_we_are_content h6,
.who_we_are_content ol,
.who_we_are_content ul {
    padding-left: 20px !important;
    margin-left: 0px;
}

.contact-us-add-outer-col-1 .who_we_are_content-1 p {
    margin-left: 0;
}

.contact-us-add-outer-col-1 .who_we_are_content-2, 
.contact-us-add-outer-col-1 .who_we_are_content-3, 
.contact-us-add-outer-col-1 .who_we_are_content-6, 
.contact-us-add-outer-col-1 .who_we_are_content-7 {
    width: 46%;
}

.contact-us-add-outer-col-1 .who_we_are_content-5 {
    width: 92%;
}

    body:not(.et-tb) #main-content .container,
    body:not(.et-tb-has-header) #main-content .container {
        padding-top: 0;
    }

.learning-main {
    padding-bottom: 170px !important;
}

    .who_we_are_row {
        flex-direction: column-reverse !important;
        padding-top: 24px !important;
    }

    .who_we_are_col-one {
        width: 100% !important;
        margin-bottom: 5px;
    }

    .who-we-are-pagecontent {
        flex-direction: column !important;
    }

    .who_we_are_col-two {
        width: 100% !important;
        margin-bottom: 66px !important;
        margin-top: 55px;
        padding-left: 0px;
    }

    .who_we_are_img-2 {
        position: absolute;
        bottom: -31px;
        left: -81px;
        width: 267px;
        height: 210px;
    }

    .who-we-are-section-outer {
        padding-top: 0px !important;
    }

    .who_we_are_content p {
        margin-left: 0;
        padding-bottom: 13px !important;
    }

    .who_we_are_col-one .et_pb_button_module_wrapper {
        padding-left: 53px;
    }

    .who-we-are-section-outer {
        padding-bottom: 10px !important;
    }

    .whoweare-team-section-outer {
        padding-top: 20px !important;
    }

    div#clergy {
        padding-top: 32px;
        padding-bottom: 74px;
    }

    div#staff {
        padding: 20px 0 120px 0px;
    }

    .team-section-header {
        padding-bottom: 30px;
    }

    .single-service .service-columns {
        gap: 60px;
        flex-direction: column;
    }

    .service-columns.second-sec .service-column.left-column,
    .service-columns.second-sec .service-column.right-column {
        width: 100% !important;
    }

    .who-we-are-page-section .who_we_are_row {
        padding-top: 32px !important;
        flex-direction: column !important;
    }

    .who-we-are-page-section {
        padding-bottom: 25px !important;
    }
/* 
    .who_we_are_content-2-nd {
    padding-left: 0px;
    margin-left: 0px;
} */


}

@media (min-width: 991px) {}

@media (max-width: 991px) {

    .all-common-banner-outer {
        margin-top: 71px !important;
        margin-left: 7px !important;
        margin-right: 7px !important;
}
.all-common-banner-outer .et_pb_module {
        padding-bottom: 38.5%;
}

.upcoming-event-item {
    flex-direction: column;
    gap: 0px;
}

div#upcoming-events-container {
    gap: 60px;
}

.upcoming-event-item .event-image-extra {
    width: 100%;
}

.upcoming-event-item .event-content {
    width: 100%;
}

    div#events-filter-wrapper {
        margin-top: 0;
        max-width: 94%;
    }

    .cont-outer-row {
    flex-direction: column;
}

.cont-outer-row .cont-outer-col-1 {
    width: 100%;
}

.cont-outer-row .cont-outer-col-2 {
    width: 100%;
}

    .contact-us-add-outer-row h6 {
    padding-left: 0 !important;
}

.contact-us-add-outer-row h5 {
    padding-left: 0 !important;
}

    .who_we_are_content h1,
    .who_we_are_content h2,
    .who_we_are_content h3,
    .who_we_are_content h4,
    .who_we_are_content h5,
    .who_we_are_content h6,
    .who_we_are_content ol,
    .who_we_are_content ul,
    .who_we_are_content a {
        padding-left: 15px ;
    }

    div#clergy .team-grid .team-member {
        width: 100%;
    }

    .who_we_are_content h6.who-we-are-sub {
        padding-left: 15px;
    }

    .who_we_are_content p {
        padding-left: 15px;
    }

    .et_fixed_nav #main-header {
        position: absolute;
    }

    div#page-container {
        margin-top: 0 !important;
        padding-top: 33px !important;
    }

    .who-we-are-ourhistory-outer {
        width: 100%;
        flex-direction: column;
        gap: 35px;
    }

    .who-we-are-ourhistory-outer .et_pb_column_4 {
        width: 100%;
        margin-right: 0px;
    }

    .who-we-are-ourhistory-outer .et_pb_column_5 {
        width: 100%;
    }

    .desktop-nav {
        display: none;
    }

    .footer-inner-cls {
        padding: 0 40px;
    }



    .footer-main-row-two {
        padding: 0 40px;
    }

    .foo-second-col-2 {
        width: 29%;
    }

    .who-we-are-pagecontent {
        margin-top: 0 !important;
    }


    .mobile-outer-recore {
        display: block;
    }

    .mobile-outer-recore {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 20px 17px 23px;
        border-bottom: 0.5px solid #ffffff33;
    }

    .mobile-white .mobile-outer-recore {
        background: white;
    }

    .mobile-menu-mob.active {
        top: 70px;
        display: table;
        border-top: 0.5px solid #ffffff33;
    }

    .mobile-menu-mob {
        position: absolute;
        left: 0;
        width: 100%;
        top: 77px;
        z-index: 0;
        display: none;
        background-color: white;
        z-index: 9999;
        height: 100%;
        padding-top: 18px;
        /* overflow-y: auto; */
        display: none;
        box-shadow: 0px 12px 6px -1px #00000033;
    }

    .organization-small{
    margin-top: 0 !important;
}

    .nav-mobile {
        width: 42px;
        height: 30px;
        position: relative;
    }

    .nav-mobile::before {
        position: absolute;
        content: "";
        width: 100%;
        height: 100%;
        background: url(../images/m_menu.svg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
    }

    .nav-mobile.active::before {
        position: absolute;
        content: "";
        width: 100%;
        height: 100%;
        background: url(../images/m_close.svg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: 70%;
    }

    header .logo_container img#logo {
        width: 100%;
        height: 100% !important;
        object-fit: contain;
        min-height: 100% !important;
        max-width: 100% !important;
    }

    .nav-logo .logo_container span.logo_helper {
        display: none;
    }

    .nav-logo .logo_container {
        position: relative;
        height: 33px;
        width: 163px;
    }

    ul#menu-mobile-menu li a {
        text-decoration: none;
        transition: color 0.3s ease;
        font-size: 16px;
        text-transform: capitalize;
        font-weight: 600;
        color: #003471;
        display: block;
        padding-bottom: 10px !important;
        padding-top: 10px;
        width: 100%;
        border-bottom: 1px solid #b6afa75c;
    }
ul#menu-mobile-menu li a:hover {
    background: transparent !important;
    opacity: 1 !important;
}
    /* ul#menu-mobile-menu>li>a::before{
        position: absolute;
        content: "";
        background-color: #b6afa75c;
        width: 92%;
        height: 1px;
        left: 50.5%;
        bottom: 0;
        transition: 0.3s;
        transform: translateX(-50%);
    }
     */
    .menu-item.plus>a::after {
        display: none;
    }

    header .mob-header ul.nav-list>li span.nav-click {
        padding: 10px 10px 10px 10px;
    }

    header .mob-header ul.nav-list>li span.nav-click::before {
        position: absolute;
        content: "";
        width: 100%;
        height: 100%;
        background: url(../images/menu-dropdown.svg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: 70%;
        left: 0;
        top: 0;
    }

    header .mob-header ul.nav-list li ul.sub-menu {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        border: 0 !important;
        /* padding: 18px 30px 12px 30px !important; */
        gap: 0px;
        width: 100% !important;
        position: relative;
        background: var(--primary-blue) !important;
        opacity: 1;
        visibility: visible;
                padding-bottom: 12px;
    }

    header .mob-header ul.nav-list li ul.sub-menu li a {
        width: 100% !important;
        color: white !important;
        line-height: 26px !important;
        border: 0 !important;
        font-weight: 300 !important;
        padding: 0 0 7px 0 !important;
    }

    header .mob-header ul.nav-list li ul.sub-menu li {
        width: 100% !important;
         padding-left: 60px !important;
    }

    header .mob-header ul.nav-list>li a {
        margin-left: 20px;
        margin-right: 20px;

    }


    header .mob-header ul.nav-list>li {
        width: fit-content;
        display: block;
        flex-direction: row-reverse !important;
        flex-direction: column;
        width: 100% !important;
        position: relative;
        justify-content: flex-end;
        flex-wrap: wrap;
        display: flex;
    }

    .mobile-search-form {
        padding: 36px 20px 20px 20px;
    }

    .search-field {
        padding: 20px 49px 20px 23px !important;
    }

    .mob-secondary-menu {
        padding: 40px 20px 45px 20px;
    }

    #secondary-menu {
        gap: 25px;
    }

    #secondary-menu li a {
        font-size: 16px;
        padding: 11px 30px;
    }

    .top-inner-2-cont {
        display: none;
    }

    div#top-header div#et-info {
        padding-top: 0;
    }

    div#top-header .services-widget {
        margin: 0px !important;
    }

    .membership-widget a {
        font-size: 0;
    }

    div#top-header .services-widget-area a {
        font-size: 0 !important;
    }

    div#top-header>.container {
        padding: 0px 25px;
    }

    .top-inner-1-cont {
        gap: 35px;
    }


    .featured-events-container {
        display: flex;
        gap: 77px;
        align-items: flex-start;
        flex-direction: column;
    }

    .featured-event-left {
        width: 100%;
    }

    .featured-event-right {
        display: flex;
        flex-direction: column;
        gap: 23px;
        width: 100%;
    }

    .small-event-item {
        display: flex;
        gap: 20px;
        align-items: center;
    }

    .who_we_are_content h5 {
        font-weight: 600;
        margin-top: 0;
        font-size: 40px !important;
        line-height: 44px;
    }

    .four-home-sec .owl-nav {
        display: none;
    }

.contact-us-add-outer-col-1 .who_we_are_content-2 h6, 
.contact-us-add-outer-col-1 .who_we_are_content-3 h6, 
.contact-us-add-outer-col-1 .who_we_are_content-5 h6, 
.contact-us-add-outer-col-1 .who_we_are_content-6 h6, 
.contact-us-add-outer-col-1 .who_we_are_content-7 h6{
    padding-left: 15px !important;
}

    .four-home-sec .owl-dots button.owl-dot {
        width: 12px !important;
        height: 12px !important;
        background: var(--whitecolor) !important;
        opacity: 1 !important;
        margin-right: 13px;
        border-radius: 10px;
    }

    .four-home-sec .owl-dots {
        display: flex;
        justify-content: center;
        padding-top: 37px;
    }

    .four-home-sec .owl-dots button.owl-dot.active {
        border: 1px solid white;
        background: transparent !important;
    }

    .four-home-sec {
        padding-bottom: 18px;
    }

    .join-us-row {
        padding: 0 29px !important;
        flex-direction: column-reverse;
    }

    .join-us-col-2 {
        width: 100% !important;
        margin-top: -5%;
        margin-bottom: 66px;
        margin-top: -20%;
    }
    .join-us-sec {
    padding-top: 91px !important;
}

    .join-us-col-1 {
        width: 100% !important;
    }


    /* .join-us-col-1 p::before {
        height: 40%;
    } */

    .join-us-col-1 p {
        margin-left: 25px;
    }

    .join-us-col-1 .et_pb_button_module_wrapper {
        padding-left: 36px;
    }

    .join-us-sec {
        position: relative;
        padding-top: 67px !important;
        padding-bottom: 0 !important;
    }

    .pray-with-us-outer-sec {
        padding-bottom: 0px !important;
    }

    .services-wrapper {
        padding-bottom: 0px;
    }

    .common-banner-outer {
        margin-top: 57px !important;
    }

    .team-member {
        text-align: center;
        width: 100%;
    }

    .staff-member {
        text-align: center;
        width: 100%;
    }

    div#board .team-member {
        text-align: center;
        width: 100%;
    }

    .learning-carousel {
        gap: 20px;
    }

    .list-of-learning-outer-row {
        max-width: 95%;
    }

    .block-style-four-outer-row {
        width: 100% !important;
        display: flex;
        max-width: 87% !important;
        justify-content: space-between;
        flex-direction: column;
    }

    .block-style-four-outer-col-1 {
        width: 100% !important;
    }

    .block-style-four-outer-col-2 {
        width: 100% !important;
        margin-top: 37px;
    }

    .block-style-four-outer-row {
        max-width: 88% !important;
    }

    .add-adult-learning-sec .adult-learning-row {
        width: 100% !important;
        max-width: 93% !important;
        padding-top: 70px !important;
    }

    .blk-three-sec-add .who_we_are_col-two {
        width: 100% !important;
        padding-left: 0;
    }

    .blk-three-sec-add .who_we_are_content-2-nd {
        margin-left: 0;
    }

    .single-learning .photo-gallery-outer {
        padding-bottom: 85px !important;
        padding-top: 50px !important;

    }

    .blk-le-flip-four-row {
        flex-direction: column-reverse;
        padding-top: 0 !important;
    }

.blk-le-flip-four-row .blk-le-flip-four-col-1 {
    width: 100% !important;
}

.blk-le-flip-four-row .blk-le-flip-four-col-2 {
    width: 100% !important;
}

.blk-le-flip-four-sec {
    padding-top: 0 !important;
}
.profile-row {
    padding-left: 11px !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}
.blk-three-sec-add .who_we_are_content-2-nd {
    padding-left: 0;
}


}

@media (max-width: 950px) {}

@media (max-width: 900px) {

        .community-mikava{
    padding-bottom: 60px ;
}

    .foo-first-row {
        gap: 26px;
    }

    .foo-second-row {
        flex-wrap: wrap;
    }

    .foo-second-row-col-1 {
        width: 48%;
    }

    .foo-second-col-2 {
        width: 45%;
    }

    .foo-third-col-3 {
        width: 100%;
    }

    .foo-third-row {
        display: none;
    }

    .photo-gallery-widget p {
        max-width: 340px;
    }

    .footer-logo-add-outer div#et-info {
        text-align: left !important;
        padding-bottom: 20px !important;
    }

    .foo-first-row {
        flex-direction: column;
    }

    .board-list-section ul {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 20px;
        padding-left: 0 !important;
    }

    .board-list-section {
        max-width: 92%;
    }

    .photo-gallery-outer-row {
        flex-direction: column;
    }

    .photo-gallery-outer-col-1 {
        width: 100% !important;
    }

    .photo-gallery-outer-col-2 {
        width: 100% !important;
    }

    .photo-gallery-outer-row {
        padding: 43px 31px 43px 31px !important;
    }

    .photo-gallery-outer-row {
        max-width: 88% !important;
    }

    .photo-gallery-heading h3 {
        padding-left: 0;
        position: relative;
        font-weight: 600;
        margin-top: 22px !important;
        padding-top: 52px;
        font-size: 29px !important;
    }

    
.life_cycle_event-template-default .photo-gallery-heading h5 {
    padding-left: 0 !important;
    font-weight: 600 !important;
    margin-top: 22px !important;
    padding-top: 52px;
    font-size: 29px !important;
}

    .life_cycle_event-template-default .photo-gallery-heading h5 {
    text-align: center !important;
    margin-top: 26px !important;
}
.life_cycle_event-template-default .photo-gallery-heading h5::before {
        position: absolute;
        content: "";
        width: 32px;
        height: 32px;
        top: -2px;
        left: 50%;
        background: url(../images/ftr_camera.svg);
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
        transform: translateX(-50%);
}
.lce-pg-gallery-sec .photo-gallery-heading h5 {
        padding-left: 0 !important;
    font-weight: 600 !important;
    margin-top: 22px !important;
    padding-top: 52px;
    font-size: 29px !important;
}
.lce-pg-gallery-sec .photo-gallery-heading h5 {
        text-align: center !important;
    margin-top: 26px !important;
}
.lce-pg-gallery-sec .photo-gallery-heading h5::before {
        position: absolute;
        content: "";
        width: 32px;
        height: 32px;
        top: -2px;
        left: 50%;
        background: url(../images/ftr_camera.svg);
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
        transform: translateX(-50%);
}

    .photo-gallery-outer-col-1 .gallery-item a {
        position: relative;
        padding-bottom: 67%;
        display: block;
        width: 100%;
    }

    .photo-gallery-outer-col-2 .common-button {
        border: 3px solid white;
        padding: 10px 38px 10px 38px !important;
    }

    .photo-gallery-outer-col-2 .common-button:hover {
        border: 3px solid white;
        padding: 10px 38px 10px 38px !important;
    }

    .photo-gallery-heading h3::before {
        position: absolute;
        content: "";
        width: 32px;
        height: 32px;
        top: -2px;
        left: 50%;
        background: url(../images/ftr_camera.svg);
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
        transform: translateX(-50%);
    }

    .photo-gallery-heading h3 {
        text-align: center;
        margin-top: 26px !important;
    }

    .photo-gallery-outer-col-2 .et_pb_button_module_wrapper {
        text-align: center;
        margin-top: 46px;
    }


    .photo-gallery-outer {
        padding-top: 0px !important;
        padding-bottom: 173px ;
        position: relative;
    }

    .home-outer-mod .et_pb_slides {
        padding-bottom: 70%;
    }

}

@media(max-width: 860px) {
    .custom-next {
    right: -18px;
    padding: 0;
}

.custom-prev {
    left: -18px;
    padding: 0;
}

}

@media (max-width: 850px) {

    .team-popup-content .team-popup-inner .team-popup-left {
        width: 39%;
    }

    .team-popup-content .team-popup-inner .team-popup-right {
        width: 60%;
    }

    .team-second-grid .team-member {
        width: 100%;
    }

    .custom-gallery-thumbs{
        display: none;
    }

    div#focal-point-results .focal-point-wrapper .focal-point-item {
        width: 46%;
    }

}

@media (max-width: 800px) {
    .single-service .date-box {
        margin-right: 40px;

    }

.custom-gallery-btn {
    top: 48%;
}

}

@media (max-width: 790px) {

    .who-we-are-ourhistory-outer {
        gap: 0px;
    }

    .service-column.left-column .left-item {
        width: 100%;
        flex-direction: column;
        gap: 56px;
    }

    .single-service .date-box {
        background: transparent;
        border-right: 0px solid rgba(255, 255, 255, 0.3);
        padding-right: 0px;
        margin-right: 0;
        min-width: 124px;
        text-align: center;
        padding-bottom: 40px;
        border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    }

    .service-column .date-day,
    .service-column .date-month {
        line-height: 20px;
    }

    .date-day {
        margin-top: 6px;
    }

    .service-column .content ul li {
        font-size: 16px;
        line-height: 24px !important;
    }

    .services-wrapper {
        padding: 0px 10px 40px 10px;
    }

    .single-service {
        margin-bottom: 45px;
    }

    .service-columns.second-sec .service-column.right-column .owl-nav button {
        width: 20px;
        height: 20px;
    }

    .service-columns.second-sec .service-column.right-column .owl-prev {
        left: -23px;
    }

    .service-columns.second-sec .service-column.right-column .owl-next {
        right: -23px;
    }

    .services-wrapper {
        width: 100%;
    }



}

@media (max-width: 790px) {}

@media (max-width: 767px) {

    .owl-nav.disabled button {
        color: white !important;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        cursor: pointer;
        transition: background 0.3s ease;
        position: relative;
    }

    .owl-nav.disabled {
        width: 92% !important;
        display: flex !important;
        position: absolute;
        left: 50%;
        transform: translate(-50%, -50%);
        top: 28%;
        justify-content: space-between;
    }

    .owl-prev {
        background: url(../images/icon_arrow_lt.svg) !important;
        background-position: center !important;
        background-size: contain !important;
        background-repeat: no-repeat !important;
        left: -55px;
    }

    .owl-next {
        background: url(../images/icon_arrow_lt.svg) !important;
        background-position: center !important;
        background-size: contain !important;
        background-repeat: no-repeat !important;
        transform: scaleX(-1);
        right: -55px;
    }

    .who_we_are_content::before {
        left: -10px;
    }

    div#clergy .team-grid .team-member {
        width: 100%;
    }

    .four-home-sec-col {
        width: 100% !important;
    }

.join-us-sec {
    padding-top: 89px !important;
}

    .select2-container--default .select2-results>.select2-results__options {
    padding-top: 20px;
}

    .four-home-sec {
        max-width: 87%;
    }

    /* .home-outer-mod .et_pb_slides {
        padding-bottom: 150%;
    } */

    .home-outer-mod .et_pb_slide_description {
        padding: 118px 9% 40px !important;
    }

.home-outer-mod h2.et_pb_slide_title {
        line-height: 42px !important;
    }

.home-outer-mod h2.et_pb_slide_title a {
        font-size: 36px !important;
        line-height: 0 !important;
    }




    .adult-learning-row {
        display: flex;
        max-width: 93% !important;
        gap: 88px;
        flex-direction: column;
    }

.gallery-carousel .owl-nav.disabled button.owl-prev{
        display: none;
    }

    .gallery-carousel .owl-nav.disabled button.owl-next {
        display: none;
    }
    /* .gallery-carousel button{
        display: none;
    } */

    .who-we-are-community-inner {
        flex-direction: column;
    }

    .who-we-are-community-inner .welcome-comm-left-img {
        width: 100% !important;
        margin-bottom: 50px !important;
        margin-top: -30%;
        margin-right: 0px;
    }

    .who-we-are-community-inner .welcome-comm-right-content {
        width: 100% !important;
    }

    .four-home-sec::before {
        display: none;
    }

    .upcoming-event-sec {
        padding-bottom: 35px !important;
    }

    .who_we_are_row {
        display: flex;
        max-width: 93%;
        justify-content: space-between;
    }

    /* .who_we_are_content p:before {
        position: absolute;
        content: "";
        width: 4px;
        height: 55%;
        background: var(--secondary-blue);
        left: -3px;
    } */

.block-style-four-outer-sec {
    margin-bottom: 60px;
}
.postid-380  .block-style-four-outer-sec {
    margin-bottom: 0px;
    padding-bottom: 0px !important;
}

    .who_we_are_content h5 {
        padding-right: 20px;
    }

    .who_we_are_col-one .et_pb_button_module_wrapper {
        padding-left: 0px;
        text-align: center;
    }

    .pray-with-us-outer-text h5 {
        text-align: center;
        font-size: 40px !important;
    }

    .service-columns.second-sec .service-column.left-column {
        padding: 18px 23px 24px 24px;
    }

    .service-column.right-column .owl-stage-outer {
        padding: 18px 23px 24px 24px;
    }

    .pray-with-us-outer-row {
        padding-bottom: 20px !important;
    }

    .team-section h5 {
        position: relative;
        width: fit-content;
        font-weight: 600;
        padding-bottom: 25px;
        padding-right: 10px;
        padding-left: 10px;
        text-align: center;
        font-size: 38px !important;
    }

    .team-section h5::before {
        width: 50%;
    }

    .board-list-section {
        padding-top: 65px;
    }


    .board-list-section ul {
        grid-template-columns: 1fr 1fr;
    }

    .board-list-section ul li {
        padding-left: 0;
        text-align: center;
    }

    .team-section .owl-nav {
        width: 92% !important;
        display: flex;
        position: absolute;
        left: 50%;
        transform: translate(-50%, -50%);
        top: 28%;
        justify-content: space-between;
    }

    .team-section .owl-prev {
        background: url(../images/icon_arrow_lt.svg) !important;
        background-position: center !important;
        background-size: contain !important;
        background-repeat: no-repeat !important;
        left: -33px;
    }

    .team-section .owl-nav button {
        color: white !important;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        cursor: pointer;
        transition: background 0.3s ease;
        position: relative;
    }

    .team-section .owl-nav button span {
        font-size: 0;
    }

    .team-section .owl-next {
        background: url(../images/icon_arrow_lt.svg) !important;
        background-position: center !important;
        background-size: contain !important;
        background-repeat: no-repeat !important;
        transform: scaleX(-1);
        right: -33px;
    }

    .team-img {
        position: relative;
        padding-bottom: 109%;
        display: block;
    }

    div#staff .team-grid {
        max-width: 78% !important;
    }

    div#board .team-grid {
        max-width: 78% !important;
    }

    .learning-outer-section {
        padding-top: 21px !important;
    }

    .learning-outer-text-1 h1 {
        font-size: 40px !important;
    }

    .learning-outer-text-2 {
        margin-left: 0;
    }

    .learning-outer-row {
        max-width: 90.2% !important;
    }

    .learning-outer-text-2:before {
        left: -10px;
        height: 47%;
    }

    .learning-outer-text-2 {
        padding-left: 15px;
    }

    .learning-carousel {
        grid-template-columns: 1fr;
        gap: 31px;
    }

    .learning-item-outer a {
        position: relative;
        padding-bottom: 50%;
        display: block;
    }

    .list-of-learning-outer-row {
        max-width: 84.5%;
    }

    .learning-outer-text-2 {
        padding-bottom: 0;
    }

    .list-of-learning-outer-sec {
        padding-top: 0 !important;
        padding-bottom: 43px !important;
    }

    .learning-outer-section {
        padding-bottom: 1px !important;
    }

    .photo-gallery-outer::before {
    background-size: 100%;
}

    .block-style-1-outer-col-text h5 {
        font-weight: 600;
        margin-top: 0;
        font-size: 40px !important;
        line-height: 42px;
    }

    .block-style-1-outer-row {
        max-width: 89% !important;
    }

    .block-style-1-Second-outer-sec {
        max-width: 89% !important;
    }

    .block-style-2-Second-outer-col .et_pb_button_module_wrapper {
        padding-left: 71px;
        margin-top: 35px;
    }

.who-we-are-ourhistory-outer-outerrow {
    padding-bottom: 130px !important;
}


    .block-style-1-outer-sec {
        padding-top: 20px !important;
        margin-top: 0;
    }

    .blk-three-sec-add .who_we_are_img-1 {
        padding-left: 0;
    }

    .blk-three-sec-add .who_we_are_col-two {
        margin-bottom: 14px !important;
    }

    .single-learning .photo-gallery-outer {
        padding-bottom: 50px !important;
    }

    .acf-owl-carousel .owl-nav {
        justify-content: center;
        bottom: -48px;
        top: auto;
    }

    .Who-we-are-slider-row {
        max-width: 95% !important;
    }

    .contact-us-fourcolum .four-home-sec-row {
        max-width: 87% !important;
    }

    .contact-us-fourcolum {
        max-width: 100%;
    }

    .contact-us-fourcolum::after {
    background-size: 90%;
}

    .gallery-content .gallery-button {
        margin-left: 0;
        margin-top: 30px;
    }
    .single-learning  .block-style-1-outer-sec {
    padding-bottom: 50px !important;
}
.postid-388 .block-style-four-outer-sec {
    margin-bottom: 0px;
}
.who-we-are-community-outer.et_section_regular {
            margin-top: 125px;
            padding-bottom: 40px !important;
}
.all-common-banner-outer.focal-banner {
    margin-top: 69px;
}
.all-common-banner-outer.focal-banner .et_pb_module {
    padding-bottom: 47%;
}
.focal-section .focal-filter-bar select {
        width: 100%;
}
.postid-983 .single-life_cycle_event .who_we_are_content-2-nd {
    margin-left: 22px;
}
.postid-983 .block-style-four-outer-sec {
    margin-bottom: 0;
}
.postid-983 .single-life_cycle_event .who_we_are_content-2-nd {
            padding-left: 0;
}
.block-style-four-outer-sec {
            padding-bottom: 0 !important;
}
}


@media (max-width: 980px) {}

@media (max-width: 740px) {

     .media-popup .popup-close {
        top: -30px;
        right: 0px;
    }

    .gallery-lightbox .lightbox-close {
        top: -30px;
        right: 0px;
    }

    .contact-us-add-outer-col-1 .who_we_are_content-2, 
    .contact-us-add-outer-col-1 .who_we_are_content-3, 
    .contact-us-add-outer-col-1 .who_we_are_content-6, 
    .contact-us-add-outer-col-1 .who_we_are_content-7 {
        width: 94%;
    }

    .focal-section .focal-filter-bar {
    flex-direction: column;
}

}

@media (max-width: 660px) {


        .contact-us-add-outer-col-1 .who_we_are_content-1 p {
        padding-left: 10px;
    }

    .contact-us-add-outer-row .contact-us-add-outer-col-1 {
    margin-bottom: 10px;
}

    .who-we-r-his-past-rabbi-sec.who-we-2-nd-cls .who-we-r-his-past-rabbi-row {
        padding-top: 18px;
    }

    .who-we-r-his-past-rabbi-sec {
        padding-bottom: 0;
    }

    .block-style-four-outer-row {
        padding-top: 0 !important;
    }

    .block-style-1-Second-outer-sec {
        padding-bottom: 0 !important;
    }

    h5,
    h5 a,
    .common-outer h5,
    .common-outer h5 a {
        font-size: 40px !important;
    }

    .join-us-col-1 p::before {
        height: 50%;
    }

    .our-history-rightside-con {
        padding: 38px 20px 55px 20px;
    }

    h1,
    h1 a,
    .common-outer h1,
    .common-outer h1 a {
        font-size: 40px !important;
    }

    .who_we_are_col-two {
        padding-left: 0;
    }

    div#footer-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .designed-hostes {
        line-height: 17px;
        position: relative;
        left: -43px;
    }

    .footer-main-row-two {
        padding: 73px 10px 0 16px;
    }

    .footer-main-row-two div#footer-bottom .current-year {
        justify-content: flex-start;
    }

    .footer-inner-cls {
        padding: 0 8px;
    }

    .foo-second-row {
        padding: 0 47px;
        gap: 0px;
    }

    .foo-second-col-2 {
        width: 100%;
    }

    .foo-second-col-2 {
        width: 100%;
    }

    #main-footer {
        padding: 74px 0 0px 0;
    }

    .services-widget {
        margin-top: 7px;
        margin-bottom: 20px;
    }

    .foo-first-row {
        padding-bottom: 30px;
    }

    .foo-second-row-col-1 ul.et-social-icons {
        float: left;
        margin-top: 19px;
    }

    .foo-second-row-col-1 {
        width: 100%;
    }

    .foo-address-dir-gal h2 {
        margin-top: 18px;
    }

    .photo-gallery h2 {
        margin-top: 18px;
    }

    footer .foo-third-col-3 {
        width: 100%;
        margin-top: 45px;
    }

    /* 
    .footer-main-row-two {
        padding: 92px 10px 0 16px;
    } */

    .small-event-item {
        flex-direction: column;
    }

    .small-event-item a.featured-event-left-img {
        padding-bottom: 100%;
        width: 100%;
    }

    .small-event-item h2 {
        width: 100%;
    }

}

@media (max-width: 640px) {

.media-popup .popup-content {
        width: 270px;
    }

.media-popup .popup-slider img {
        height: 270px;
    }


    .who_we_are_content p {
        padding-bottom: 15px !important;
    }

    .who_we_are_col-one {
        margin-bottom: 75px;
    }



    .team-popup-content .team-popup-inner .team-popup-left {
        width: 100%;
    }

    .team-popup-content .team-popup-inner .team-popup-right {
        width: 100%;
    }

    .team-popup-content .team-popup-inner {
        flex-direction: column;
        row-gap: 20px;
    }

    .team-anchors {
        gap: 20px;
    }

    .team-anchors a {
        font-size: 10px;
        width: 27%;
        line-height: 12px;
        border-radius: 12px;
        padding: 8px 20px;
    }

    .whoweare-team-inner {
        padding-top: 8px;
    }

    .community-mikava {
        margin-top: 40px;
    }

    .gallery-lightbox .lightbox-content {
        width: 270px;
    }

    .gallery-lightbox .lightbox-slider img {
        height: 270px;
    }

}

@media (max-width: 600px) {

div#focal-point-results .focal-point-wrapper .focal-point-item {
    margin-bottom: 50px;
}

div#focal-point-results .focal-point-wrapper .focal-point-item h3.focal-point-title {
    font-size: 26px !important;
}

    div#focal-point-results .focal-point-wrapper .focal-point-item {
        width: 84%;
    }

    .cont-outer-row .cont-outer-col-1 .contact-form-custom ul li.submit-btn p {
    flex-direction: column;
    gap: 10px;
}

    .gallery-content .gallery-button {
        margin-left: 20px;
    }

    .custom-gallery-container {
    max-width: 92%;
}

    .gallery-four-container{
        padding-top: 0 !important;
        padding-bottom: 94px !important;
    }

.post-1032 .et_section_regular {
    padding-bottom: 30px;
}

    .gallery-content{
        padding-top: 106px !important;
        padding-bottom: 20px !important;
    }

.gallery-content .learning-outer-text-2 {
    margin-top: 34px;
}

.cont-outer-row .cont-outer-col-1 .contact-form-custom ul li.upload-box {
        flex-direction: column;
        gap: 15px;
    }

    .cont-outer-row .cont-outer-col-1 .contact-form-custom ul li.upload-box .upload-right {
        width: 80%;
    }
.cont-outer-row .cont-outer-col-1 .contact-form-custom ul li.upload-box .upload-left {
    width: 100%;
    padding-left: 50px;
}

    .cont-outer-row .cont-outer-col-1 .contact-form-custom ul li.upload-box .upload-left::before {
        left: 0px;
        top: 26px;
        width: 35px;
        height: 30px;
    }

.cont-outer-row .cont-outer-col-1 .contact-form-custom ul li.form-row p {
    gap: 10px;
    flex-direction: column;
}

.cont-outer-row .cont-outer-col-1 .contact-form-custom ul li.form-row span.form-group {
    width: 100%;
}

.cont-outer-row .cont-outer-col-1 .contact-form-custom ul li.upload-box .upload-right button {
    width: 100%;
}

    .contact-us-add-outer-sec {
    padding-top: 0;
}

.contact-us-add-outer-col-1 .who_we_are_content-1 p {
    margin-bottom: 0;
    padding-bottom: 12px !important;
}

.contact-us-add-outer-col-1 .who_we_are_content-2 p, 
.contact-us-add-outer-col-1 .who_we_are_content-3 p, 
.contact-us-add-outer-col-1 .who_we_are_content-5 p, 
.contact-us-add-outer-col-1 .who_we_are_content-6 p, 
.contact-us-add-outer-col-1 .who_we_are_content-7 p {
    padding-bottom: 0 !important;
}

.contact-us-add-outer-row {
    padding-top: 15px !important;
}

    .contact-us-add-outer-row h5 {
        margin-bottom: 0;
    }

    .our-history-content {
        width: 100% !important;
        padding-top: 20px;
    }

.our-history-img-right{
        width: 105% !important;
}

    .our-history-img-right .his-img span.et_pb_image_wrap img {
        left: -7px;
        top: 2px;
    }

    .owl-prev {
        left: -34px;
    }

    .owl-next {
        right: -34px;
    }


    .second-sec .left-item {
        align-items: start !important;
    }

    .who_we_are_row {
        max-width: 88%;
    }

    .who_we_are_content {
        margin-bottom: 50px;
    }

    .service-title {
        margin-top: 38px;
    }

    .service-column {
        padding: 40px 20px 60px 8px;
    }

    .featured-event-right {
        gap: 45px;
    }

    .small-event-item h2 {
        margin-top: 25px;
    }

    .who-we-are-pagecontent {
        margin-top: 0px !important;
    }



    .content h6 {
        font-size: 17px !important;
    }

    .service-column.left-column .left-item {
        gap: 33px;
    }

    .home-outer-mod .et_pb_slide_description {
        padding: 0px 9% 0px !important;
    }

    .home-outer-mod .et_pb_slides {
        padding-bottom: 133%;
    }


    .who_we_are_img-2 {
        position: absolute;
        bottom: -31px;
         left: -22px;
        width: 182px;
        height: 144px;
    }

    .who-we-are-ourhistory-outer {
        width: 88%;
    }

    .who-we-are-ourhistory-outer .et_pb_column_5 .who-we-are-ourhistory-section {
        padding-right: 20px !important;
        padding-left: 20px !important;
    }

    .upcoming-event-text h1 {
        text-align: center;
        font-weight: 600;
        font-size: 40px !important;
    }

    .upcoming-event-row {
        max-width: 95% !important;
        margin: 0 auto;
    }

    .upcoming-event-code {
        padding: 8px 22px 0 22px;
    }

    .featured-event-left h2 {
        margin-top: 24px;
    }

    .featured-events-container {
        gap: 46px;

    }

    .small-event-item {
        display: flex;
        gap: 0px;
        align-items: center;
    }

    .profile-row {
        padding-left: 11px !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 9px;
    }

    .profile-img-col {
        width: 157px !important;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
    }

    .profile-img-text {
        margin-top: 0;
    }

    #secondary-menu .menu-item:last-child a {
        padding: 12px 38px;
    }

    #secondary-menu .menu-item:first-child a {
        padding: 12px 37px;
    }

    #secondary-menu {
        justify-content: space-between;
    }

    .join-us-col-1 h5 {
        font-size: 40px !important;
    }

    .adult-learning-sec {
        padding-top: 40px !important;
    }

    .who_we_are_content::before {
        height: 45%;
    }

    .blue-community-outer {
        padding: 0 !important;
    }

    .who-we-r-his-past-pre-sec .who-we-r-his-past-pre-list {
        padding-bottom: 24px !important;
    }

    .who-we-are-ourhistory-outer-outerrow {
        padding-bottom: 100px !important;
    }

    .profile-row {
    padding-bottom: 62px !important;
}

.upcoming .who_we_are_row {
    margin-top: 23px !important;
}

div#events-filter-wrapper .select2-container {
    width: 100% !important;
}

div#events-filter-wrapper {
    gap: 40px;
}


}

@media (max-width: 650px) {}

@media (max-width: 701px) {}

@media (max-width: 580px) {

    .focal-content {
        padding-top: 45px !important;
        padding-bottom: 0 !important;
    }

    .focal-point-wrapper h2.focal-year-heading {
    margin-top: 15px;
}

}

@media (max-width: 550px) {


    .cont-outer-row .cont-outer-col-1 .contact-form-custom ul li.upload-note p {
        padding-top: 10px;
        padding-right: 20px;
        padding-left: 30px;
    }

    .contact-us-add-outer-col-1.who_we_are_content::before{
    top: 100px;
}
    .who-we-are-community-outer.et_section_regular {
        padding-top: 0;
    }

    .adult-learning-sec::before,
    .profile-row::before,
    .our-history-section-outer::before,
    .who-we-r-his-past-rabbi-sec::before {
        background-size: 70% !important;
    }

    .who-we-r-his-past-rabbi-sec.who-we-2-nd-cls {
        padding-bottom: 0;
    }

    .contact-us-add-outer-row .contact-us-add-outer-col-2 iframe {
        height: 320px;
    }

    .team-member h3,
    .team-member h2 {
        height: auto !important;
    }

    .owl-stage-outer .item {
        padding-bottom: 0;
    }

    .Who-we-are-slider-col .item {
        height: 300px;
    }

    .owl-stage-outer .item img {
        position: relative;
    }
}

@media (max-width: 500px) {

    .focal-content {
        padding-top: 0 !important;
        margin-top: -25px;
    }

    .who-we-are-community-inner .welcome-comm-left-img {
        margin-top: -40%;
    }

    .who_we_are_col-one {
        margin-bottom: 30px;
    }

    .who-we-are-inner-ban-sec img {
        height: 200px;
    }

    .services-wrapper {
        padding: 0px 10px 0px 10px;
    }



    .single-service {
        margin-bottom: 42px;
    }

    .who-we-are-ourhistory-outer {
        gap: 10px;
    }

    .mob-secondary-menu {
        padding: 23px 20px 45px 20px;
    }

    .all-common-banner-outer img {
        height: 200px;
    }

}

@media (max-width: 490px) {}

@media (max-width: 480px) {}

@media (max-width: 440px) {}

@media (max-width: 400px) {}

@media (max-width: 380px) {}

@media (max-width: 360px) {}

@media (max-width: 350px) {}

@media (max-width: 330px) {}