 /* `xs` returns only a ruleset and no media query */

/* Sky Mega Menu Customize */

menu {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    margin-left: -36px;
}

#site-navigation{
    /* margin-top: -6px; */
    padding-top: 8px;
}

.sky-mega-menu li{
    line-height: 28px;
}

/* .sky-mega-menu li:first-child a {
    padding-left: 0;
} */

.sky-mega-menu li a {
    padding: 0 17px;
    /* font-weight: bold; */
}

.sky-mega-menu .right a{
    color: #000!important;
    text-transform:none;
    font-size: 1.1rem; 
    /* width: 115px; */
    text-align: center;
    font-weight: bold;
}

.sky-mega-menu li a{
    text-transform: capitalize;
    /* font-size: 16px;  */
    font-size: 1.05rem; 
}

.sky-mega-menu li.current a.menu, .sky-mega-menu li a.menu:hover{
    color: #805CA0 !important;
    /* font-weight: bold; */
}

.sky-mega-menu li li a{
    font-size: 1rem!important; 
    padding-top: 8px;
    padding-bottom: 8px;
}

.sky-mega-menu li li a:hover{
    /* color: #ffcc00!important; */
    color: #4F1450 !important;
}

.sky-mega-menu li li:last-child{
    border-bottom: 0;
}

.sky-mega-menu .grid-container3{
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

/* Menu */

.sky-mega-menu li.all-services{
    display: none;
}

.main_mobile, .main_mobile_s, .main_mobile_xs, .bible_quote_s{
    display: none!important;
}

.main .logo img {
    width: 160px;
}

.photo-gallery-section .header{
    height: 42px; margin-top: 40px;
 }

.title.text-center.header {
    height: auto;
}

.title.text-center.header .read-more {
    margin-top: 0px;
}

#footer .main_pic2{
    display: none;
}


.bg-color{
    background-color: #fff;
    height: 100%;
    padding: 25px;
    z-index: 5000;
    /* box-shadow: -3px 0 10px rgba(0, 0, 0, 0.7); */
    box-shadow: -3px 3px 9px rgba(0, 0, 0, .3);
  }

  /* Close Button */
  #close-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 24px; /* Large enough for touch */
    color: #fff;
    background-color: #444;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  #close-btn:hover {
    background-color: #555;
  }

  #menuAccordion li a {
    text-decoration: none;
    color: #333;
  }

  #menuAccordion .accordion-button,
  #menuAccordion .accordion-button:not(.collapsed) {
    background-color: #fff;
    font-weight: bold;
  }

  .accordion-button::after{
    display: none;
  }

  .profile_table .member-photo.askofuu_mkuu_profile_photo{
    margin-bottom: 30px;
    width: 360px; 
    height: 390px;
    background-position: center -19px;
  }

  .profile_table .askofuu_mkuu_profile_photo_grid{
    display: grid;
    grid-template-columns: 450px auto;
  }

  .profile_table .profile_photo_grid {
    display: grid;
    grid-template-columns: 255px auto 200px;
    align-items: stretch;
    /* gap: 20px; */
  }

  .profile_table .profile_photo_grid div.td {
    border-right: 1px solid #ccc;
    padding-top: 10px;
  }

  .profile_table .profile_photo_grid div.td:last-child {
    border: 0;
  }

  .profile_table .askofuu_mkuu_profile_photo_info_container {
    display: flex; 
    flex-direction: column; 
    flex-wrap: nowrap; 
    align-items: flex-start; 
    justify-content: space-between;
  }

  .profile_table .read_more, .profile_table a.read_more {
    height: 35px;
}

.profile_table .profile_photo_grid div.td .read_more_s{
    display: none;
}

/* ------- Mpango Mkakati -------- */

.strategic-item .cover {
    border-radius: 15px;
    height: 330px;
    max-width: 270px;
    box-shadow: 0px 3px 10px #00000026;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 180px 220px;
}

.strategic-item .info {
    margin-left: 50px;
}

.strategic-item .info .title {
    font-size: 25px;
    font-weight: bold;
    color: #805CA0;
    margin-top: auto;
    margin-bottom: auto;
}

.strategic-item .info .entity {
    font-size: 20px;
    color: #707070;
    text-transform: uppercase;
}

.strategic-item .info .date-duration {
    font-size: 20px;
    color: #805CA0;
}

.strategic-item .info .description {
    margin-top: 10px;
    color: #707070;
}


.strategic-item .action-bar {
    display: flex;
    border-radius: 20px;
    border: 1px solid #EDEDED;
    width: fit-content;
    line-height: 33px;
    padding: 0 25px;
    box-shadow: 0px 0px 6px #00000026;
}

.strategic-item .icon{
    background-position: center center;
    background-repeat:no-repeat;
    background-size: contain;
}

.strategic-item .icon.icon-pdf {
    width: 64px;
    height: 54px;
    margin: -16px 10px;
    background-image: url(../images/file-icons/pdf-icon.png);
}

.strategic-item .file-size, .download {
    color: #4F1450;
    padding-left: 12px;
    padding-right: 12px;
    text-decoration: none;
}

.strategic-item .file-view {
    background-color: #4F1450;
    color: #fff;
    padding-left: 25px;
    padding-right: 25px;
    border-radius: 20px;
}

.strategic-item .file-view:hover{
    background-color: #805CA0;
}

.strategic-item .actions {
    margin-top: 50px;
    margin-bottom: 40px;
}

#parish_priests{
    margin: 0 3px;
}

#parish_priests .profile-item,
#parish_leaders .profile-item {
    grid-template-columns: 215px auto;
    min-height: 190px;
}

#parish_leaders .profile-item .email,
#parish_priests .profile-item .email {
    word-break: break-all;
}

#elibrary-documents .book-list .book-item,
#elibrary-darwalei .book-list .book-item {
    gap: 25px;
    grid-template-columns: 80px auto;
}

#elibrary-documents .book-list .book-item .book-cover,
#elibrary-darwalei .book-list .book-item .book-cover {
    height: 100px !important;
    width: 80px !important;
    background-size: contain !important;
}

#elibrary-darwalei .book-list .book-item .info {
    /* margin-top: 10px; */
}

a.vyama-mini-item .cover {
    min-width: 245px!important;
}


/* `sm` applies to x-small devices (portrait phones, less than 576px) */
/* @media (min-width: 360px) { */
@media all and (min-width: 360px) and (max-width: 575.98px) {
    #elibrary-darwalei .book-list {
        grid-template-columns: auto;
    }

    #elibrary-darwalei .latest-book .book-item {
        display: grid;
        gap: 25px;
        grid-template-columns: 150px 1fr !important;
        grid-template-rows: auto;
    }

    #elibrary-darwalei .latest-book .book-item .book-cover{
        height: 190px;
        width: 150px;
        margin-top: 0;
    }

    #elibrary-darwalei .latest-book .book-item .info {
        margin-top: 14px;
    }

    .sky-mega-menu li.hide-for-mobile,
    #site-navigation{
        display: none!important;
    }

    #menu i {
        margin-top: 10px!important;
    }

    .slide-text-container .title {
        line-height: normal;
    }

    .special-tabs {
        min-height: inherit;
        margin-top: 0;
    }

    .shadow-bottom::after {
        background-size: 130%;
    }

    #header .top-nav {
        height: inherit;
        text-align: left;
        margin: 0 20px;
    }

    #header .top-nav .social{
        float: none;
    }

    #header .main .phone{
        display: none;
    }

    #header .main {
        height: 110px;
        margin: 0 10px;
    }

    /* #header .main .logo img {
        height: 75px;
        margin-top: 14px;
        margin-left: -10px;
    } */

    #header .main .logo img {
        height: 90px;
        margin-top: 20px;
        /* margin-left: -10px;*/
    }

    #header .menu-nav{
        display: none;
    }

    .stats-counter .stat-panel {
        padding-left: 10px;
        padding-right: 20px;
    }
    

    .main-section .stats-counter{
        margin: 0 25px;
        margin-top: -30px;
        padding: 18px 27px;
    }
    
    .main-section .content-section,
    .main-section .services,
    .main-section .online-shop,
    .main-section .partners {
        margin: 10px 25px;
    }

    .main-section .testimonials{
        padding: 50px 25px;
    }

    .main-section .action-banner{
        height: inherit;
    }


    #footer-btm .disclaimer {
        color: #fff;
        margin: 0px 24px;
        height: 60px;
        padding-top: 10px;
    }

    #footer .main_pic2{
        display: inline-block;
        float: right;
        margin-bottom: -100px;
        margin-top: -35px;
        width: 200px;
    }

    #footer .main_pic{
        display: none;
    }

    #footer .main {
        min-height: 318px;
        margin: 0 20px;
    }

    #footer .main .logo img {
        margin-top: 37px!important;
    }

    #footer .main .title {
        margin-top: 25px;
        margin-bottom: 35px;
    }

    #footer .disclaimer {
        text-align: center;
        margin-bottom: 23px;
    }

    #footer .disclaimer-links {
        float: none;
        display: none;
    }

    .testimonials .local-btn {
        display: none;
    }

    .testimonials .dark {
        text-align: center;
    }

    .cars-categories {
        justify-content: flex-start;
    }

    #header {
        box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.11);
        z-index: 999 !important;
        position: relative;
    }

    .main-pic {
        float: none;
        /* margin-bottom: 28px; */
    }

    .main-pic::after {
        content: "";
        display: block;
        height: 40px;
        /* border: 1px solid #ccc; */
        background-image: url(../../assets/images/shadow_bottom.png);
        background-repeat: no-repeat;
        background-position: top center;
        opacity: 0.25;
    }

    .main_desktop, .main_desktop_s{
        display: none!important;
    }

    .main_mobile{
        display: block!important;
    }

    .main_mobile_s, .main_mobile_xs{
        display: inline-block!important;
    }

    #header .top-nav .social {
        border-left: 1px solid #D6D6D6;
        border-right: 0;
        padding-left: 20px;
        margin-left: 20px;
        padding-right: 0;
        margin-right: 0;
    }

    .main .logo img {
        width: auto;
    }

    .header-title {
        font-size: 18px;
    }

    .header-title2 {
        font-size: 18px;
    }

    .d-phone{
        display: none;
    }

    .events-sections,
    .action-banner,
    .library-section,
    .photo-gallery-section,
    .news-sections {
        padding: 10px 30px;
    }

    .event-container table {
        margin-bottom: 30px;
    }

    .event-list .event-item {
        grid-template-columns: 115px auto;
    }

    .events-sections .read-more {
        margin-top: 12px;
    }

    .event-item .event-date {
        max-width: 115px;
    }

    .event-item .info {
        padding-right: 5px;
    }

    .event-container table tr.cdates td {
        height: 50px;
    }

    .news-sections .title .main,
    .title .main {
        font-size: 1.62rem;
    }

    .action-banner {
        height: auto;
        padding-left: 40px;
        padding-right: 40px;
        padding-top: 32px;
        padding-bottom: 40px;
    }

    .action-banner .text {
        line-height: normal;
    }

    .mobile-grid {
        /* display: flex; */
        margin-top: 20px;
    }

    .app-btn .info {
        padding: 4px 0;
    }

    .app-btn {
        max-width: 263px;
        margin-left: 0;
        margin-right: auto;
    }

    .book-list {
        grid-template-columns: auto;
    }

    .library-section fieldset {
        padding: 25px;
        padding-top: 0;
    }

    .news-sections ul {
        padding-left: 0;
        padding-right: 0;
        margin-top: 15px;
        display: grid;
        grid-template-columns: auto auto;
        border: 1px solid #fff;
        border-radius: 10px;
        overflow: hidden;
        align-items: stretch;
        justify-content: center;
    }

    .news-sections ul li.current{
        border-radius: 0;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        -ms-border-radius: 0;
        -o-border-radius: 0;
    }

    .news-sections ul li:last-child {
        border-bottom: 0;
    }

    .news-sections ul li {
        border-bottom: 1px solid #fff;
        border-radius: 0;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        -ms-border-radius: 0;
        -o-border-radius: 0;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .news-sections ul li a {
        padding: 0 19px;
        margin: 6px 0px !important;
        display: inline-block !important;
    }

    .news-sections ul li.readmore {
        margin-top: 0;
    }

    .news-sections {
        padding-bottom: 40px;
    }

    .book-list .book-item .icon-pdf {
        width: 60px;
    }

    .book-list .book-item {
        grid-template-columns: 60px auto;
        margin-bottom: 15px;
        gap: 20px;
    }

    .photo-gallery-section .pic, .photo-gallery-section .pic2 {
        height: 350px;
    }

    .special-panels .title {
        margin-top: 17px;
    }

    #header .main .side-bar {
        width: 50px;
        height: 50px;
        padding: 10px;
        padding-top: 11px;
        margin-top: 20px;
    }

    #banners {
        height: 360px;
    }

    .profile_table .member-photo.askofuu_mkuu_profile_photo {
        width: 85%;
        height: 285px;
        max-width: 300px;
    }
    
    .profile_table .askofuu_mkuu_profile_photo_info_container {
        margin-left: 23px;
        margin-right: 20px;
    }

    .profile_table .askofuu_mkuu_profile_photo_grid {
        grid-template-rows: 285px auto;
        grid-template-columns: auto;
        gap: 20px;
    }

    .profile_table .profile_photo_grid {
        /* grid-template-rows: 200px auto auto;
        grid-template-columns: auto;
        gap: 20px; */
    }

    .profile_table .full-name {
        font-size: 1.45em;
    }

    .profile_table .sno_td {
        display: none;
    }


    .profile_table .profile_photo_grid {
        display: grid;
        grid-template-rows: 250px auto;
        grid-template-columns: auto;
        align-items: stretch;
        gap: 20px;
    }

    .profile_table .profile_photo_grid div.td {
        border-right: 1px solid #ccc;
        padding-top: 10px;
    }
    .profile_table .profile_photo_grid div.td:nth-child(1),
    .profile_table .profile_photo_grid div.td:nth-child(2){
        border: none;
    }
    .profile_table .profile_photo_grid div.td:last-child{
        display: none;
    }

    .profile_table .profile_photo_grid .profile_photo{
        width: 85%;
        height: 250px;
        max-width: 300px;
    }

    .profile_table .profile_photo_grid div.td .read_more_s{
        display: inline-block;
    }

    .profile_table .profile_photo_info_container{
        margin-left: 20px;
        margin-right: 20px;
    }
    .profile_table .profile_photo_grid .profile-info{
        margin-left: 10px;;
    }

    .table-nav-tabs-btn .nav-item a {
        /* padding: 0 20px!important; */
    }

    .justify-content-center{
        justify-content: normal;
    }

    ul.nav.nav-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        border-radius: 10px;
        box-shadow: 0 0 13px -4px #ccc;
        overflow: hidden;
    }

    .table-nav-tabs-btn .nav-item:first-child a {
        border-radius: 0;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        -ms-border-radius: 0;
        -o-border-radius: 0;
    }

    .profile-detail {
        margin-left: 20px!important;
    }

    .profile-detail .full-name {
        font-size: 21px!important;
        margin-top: 0px!important;
    }

    .banners_mini canvas {
        margin-top: -200px!important;
    }

    .page-header-section .title {
        font-size: 22px!important;
        margin-top: 80px!important;
    }

    .strategic-item .info {
        margin-left: 0;
        margin-top: 30px;
    }

    .strategic-item .action-bar{
        padding: 0;
    }

    .strategic-item .action-bar {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .strategic-item .info .title {
        font-size: 23px;
    }

    .strategic-item .file-size {
        display: none;
    }

    .strategic-item .cover {
        width: 100%;
        height: 430px;
        max-width: 100%;
        background-size: cover;
    }

    .deanery-item .cover, .parish-item .cover {
        background-color: #E8E7E7;
        border-radius: 15px 15px 0 0!important;
        -webkit-border-radius: 15px 15px 0 0!important;
        -moz-border-radius: 15px 15px 0 0!important;
        -ms-border-radius: 15px 15px 0 0!important;
        -o-border-radius: 15px 15px 0 0!important;
    }

    .deanery-item {
        grid-template-columns: auto!important;
        grid-template-rows: 250px auto!important;
    }

    .parish-item {
        grid-template-columns: auto!important;
        grid-template-rows: 250px auto!important;
    }

    .parish-list{
        margin-right: 0!important;
    }

    .strategic-item .info {
        margin-left: 10px;
    }

    .strategic-item .action-bar{
        padding: 0;
    }


    #dekania-leaders .profile-group .profile-item .info{
        padding-top: 10px;
        padding-bottom: 25px;
    }

    #dekania-leaders .profile-group .profile-item .cover {
        height: 265px;
    }
    #dekania-leaders .profile-group .profile-item {
        border-radius: 10px;
        border: 1px solid #D6D6D6;
        grid-template-columns: auto;
        grid-template-rows: 265px auto;
        gap: 20px;
    }

    .dean-information-sections {
        padding: 10px 25px!important;
    }

    .share-documents {
        margin: 5px auto!important;
    }

    #parish_priests, 
    #parish_leaders{
        margin: 0;
    }

    #parish_priests .profile-item, 
    #parish_leaders .profile-item {
        grid-template-rows: 270px auto;
        grid-template-columns: auto;
    }

    #parish_priests .profile-item .cover,
    #parish_leaders .profile-item .cover {
        border-radius: 10px 10px 0 0;
        border-right: 0;
        border-bottom: 1px solid #ededed;
        -webkit-border-radius: 10px 10px 0 0;
        -moz-border-radius: 10px 10px 0 0;
        -ms-border-radius: 10px 10px 0 0;
        -o-border-radius: 10px 10px 0 0;
    }

    #parish_priests .col-lg-6,
    #parish_leaders .profile-card-list {
        padding: 0!important;
    }

    .chama-item {
        border: 1px solid #E8E4E4;
        border-radius: 15px;
        display: grid;
        grid-template-rows: 320px auto!important;
        grid-template-columns: auto!important;
        overflow: hidden;
    }

    .chama-item .cover{
        width: 100% !important;
        height: 100% !important;
        border-right: 0;
        border-bottom: 1px solid #D6D6D6;
    }

    .chama-item .info {
        margin: 20px 30px!important;
    }

    .panel-item .info {
        padding: 13px 30px!important;
    }

    .chama-item .action-btn a{
        min-height: auto!important;
    }

    .vyama-list .action-btn {
        display: none;
    } 
    .vyama-list .info .action-btn{
        display: grid;
        grid-template-columns: auto auto;
        padding: 0;
        margin-top: 20px;
        gap: 10px;
        grid-template-rows: auto auto;
    }
    .chama-item .info .action-btn a{
        margin-bottom: 0;
        padding: 6px 2px;
    }

    #mass_sacrament_schedule{
        border-radius: 0;
    }
    
    #mass_sacrament_schedule tr:first-child {
        display: none;
    }
    
    #mass_sacrament_schedule tr {
        display: grid;
        grid-template-columns: auto;
        border-bottom: 0;
    }
    
    #mass_sacrament_schedule tr td {
        border-bottom: 0;
    }
    
    #mass_sacrament_schedule tr td:first-child {
        font-weight: bold;
        background-color: #f4f4f4;
    }


    #parish_detail_tabs ul.nav.nav-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        border-radius: 10px;
        box-shadow: 0 0 13px -4px #ccc;
        overflow: hidden;
    }

    #parish_detail_tabs .nav-item a{
        border-radius: 0;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        -ms-border-radius: 0;
        -o-border-radius: 0;
        border: 0;
    }

    .kamati-item {
        padding: 15px 30px!important;
    }

    .responsibilities ul {
        flex-direction: column;
    }

    .vyama-mini-item {
        grid-template-columns: auto!important;
        grid-template-rows: 250px auto 65px!important;
    }

    a.vyama-mini-item .cover {
        border-right: 0!important;
        border-bottom: 1px solid #E8E4E4!important;
    }

    .vyama-mini-item .read_more {
        margin: 0 30px!important;
        width: 150px!important;
    }

    .event-announcements,
    .event-activities {
        padding: 0;
    }

    .news-list .news-item.latest-item {
        grid-template-columns: auto!important;
    }

    .news-list .news-item.latest-item .cover {
        height: 320px!important;
        border-radius: 15px 15px 0 0!important;
        -webkit-border-radius: 15px 15px 0 0!important;
        -moz-border-radius: 15px 15px 0 0!important;
        -ms-border-radius: 15px 15px 0 0!important;
        -o-border-radius: 15px 15px 0 0!important;
    }

    .news-section-nav ul li a {
        padding: 0 10px!important;
    }

    .news-section-nav li {
        padding: 5px 0px!important;
    }


    .event-list {
        grid-template-columns: auto!important;
        column-gap: 30px;
    }

    .photo-gallery-section .title {
        height: inherit!important;
    }

    .news-container{
        padding-left: 26px!important;
        padding-right: 26px!important;
    }

    .button-links {
        flex-direction: column!important;
    }

    .button-links a:first-child {
        border: 0;
    }

    .news-container .top {
        flex-direction: column!important;
        align-items: center!important;
    }

    .section-header-social-page {
        margin-left: auto;
        margin-right: auto;
    }

    .strategic-item .file-view {
        padding-left: 15px;
        padding-right: 15px;
        border-radius: 20px;
    }

    .strategic-item .icon.icon-pdf{
        width: 46px;
        height: 38px;
        margin: -9px 10px;
    }

    .strategic-item .file-size {
        display: inline;
        padding-left: 0;
    }

    .strategic-item .file-view span{
        display: none;
    }

    .profile-item .info {
        min-height: auto!important;
        height: auto!important;
    }

}

/* `md` applies to small devices (landscape phones, less than 768px) */
/* @media (min-width: 576px) { */
@media all and (min-width: 576px) and (max-width: 767.98px) {

    .news-container{
        padding-left: 26px!important;
        padding-right: 26px!important;
    }

    #elibrary-darwalei .book-list {
        grid-template-columns: auto;
    }

    .sky-mega-menu li.hide-for-mobile,
    #site-navigation{
        display: none!important;
    }

    .bible_quote_s{
        display: block!important;
    }

    #header .menu-nav,
    .mobile-menu{
        display: none;
    }


    #header .main .phone{
        display: none;
    }

    .testimonial-item {
        max-width: 380px;
    }

    .special-tabs {
        min-height: inherit;
        margin-top: 0;
    }

    .shadow-bottom::after {
        background-size: 130%;
    }

    #footer .main .logo img {
        margin-top: 37px!important;
    }

    #footer .main .title {
        margin-top: 30px;
    }

    .main-section .content-section,
    .main-section .services,
    .main-section .online-shop,
    .main-section .partners {
        margin: 10px 40px;
    }

    .main-section .testimonials{
        padding: 50px 40px;
    }
    .main-section .action-banner {
        height: 129px;
    }

    .main-section .action-banner img {
        margin-top: 11px;
        height: 134px;
    }

    .main-section .action-banner .line1,
    .main-section .action-banner .line2 {
        font-size: 26px;
    }

    #header {
        box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.11);
        z-index: 999 !important;
        position: relative;
    }


    .special-panels {
        display: grid;
        grid-template-columns: auto 224px;
    }

    
    .special-panels .title {
        margin-top: 20px;
    }
    
    .special-panels img {
        margin-top: 60px;
        width: 210px;
    }
    
    .special-panels .bible-verse {
        margin-top: 14px;
        margin-bottom: 20px;
    }

    .main_desktop, .main_desktop_s, .main_mobile_xs{
        display: none;
    }

    .main_mobile{
        display: block;
    }

    .main_mobile_s{
        display: inline-block;
    }

    #header .main .side-bar{
        display: inline-block!important;
    }

    .d-phone{
        display: none;
    }

    .profile-item .info {
        min-height: auto!important;
        height: auto!important;
    }


  /* .profile_table .profile_photo_grid {
    display: grid;
    grid-template-columns: 255px auto;
    align-items: stretch;
    gap: 20px;
  }

  .profile_table .profile_photo_grid div.td {
    border-right: 1px solid #ccc;
    padding-top: 10px;
  } */

    /* .profile_table .member-photo.askofuu_mkuu_profile_photo {
        width: 245px;
        height: 260px;
    }
    
    .profile_table .askofuu_mkuu_profile_photo_grid {
        grid-template-rows: 260px auto;
        grid-template-columns: auto;
    } */

    .profile-photo-bg {
        background-color: #fff;
        background-position: center -26px;
        height: 220px !important;
        max-width: 450px !important;
        max-height: 300px !important;
        margin-top: 20px;
    }

    .event-list {
        grid-template-columns: auto!important;
        column-gap: 30px;
    }

    .event-container tr.cdates td {
        height: 55px;
    }
    
    .event-container table {
        margin-bottom: 20px;
    }

}

/* `lg` applies to medium devices (tablets, less than 992px) */
/* @media (min-width: 768px) { */
@media all and (min-width: 768px) and (max-width: 991.98px) {

    #elibrary-darwalei .book-list {
        grid-template-columns: 1fr 1fr;
    }

    .profile_table .askofuu_mkuu_profile_photo_grid{
        grid-template-columns: 260px auto;
    }

    .profile_table .member-photo.askofuu_mkuu_profile_photo{
        width: 200px;
        height: 275px;
    }

    #header .main .side-bar.main_mobile{
        display: inline-block!important;
    }

    .news-sections .readmore.main_desktop_s {
        display: none!important;
    }
    .news-sections .readmore.main_mobile_s {
        display: inline-block!important;
    }

    .news-sections ul li{
        margin-bottom: 12px;
    }

    #header .main .logo img {
        width: 130px;
        height: auto;
        margin: auto;
        margin-bottom: -6px;
    }

    .sky-mega-menu li.hide-for-mobile,
    #site-navigation{
        display: none!important;
    }

    #header .menu-nav,
    .mobile-menu{
        display: none;
    }

    .testimonial-item {
        max-width: 380px;
    }

    .main-section .content-section,
    .main-section .services,
    .main-section .online-shop,
    .main-section .partners {
        margin: 10px 40px;
    }

    .main-section .testimonials{
        padding: 50px 40px;
    }

    .special-tabs {
        min-height: inherit;
        margin-top: 0;
    }

    .shadow-bottom::after {
        background-size: 130%;
    }

    #footer .main .logo img {
        margin-top: 56px;
    }

    .main-section .action-banner .line1{
        font-size: 29px;
    }

    #header .main .phone{
        display: none;
    }

    .special-panels {
        display: grid;
        grid-template-columns: auto 224px;
    }

    
    .special-panels .title {
        margin-top: 20px;
    }
    
    .special-panels img {
        margin-top: 60px;
        width: 210px;
    }
    
    .special-panels .bible-verse {
        margin-top: 14px;
        margin-bottom: 20px;
    }

    .news-sections,
    .events-sections,
    .library-section,
    .photo-gallery-section {
        padding: 10px 44px;
    }

    .action-banner {
        height: 240px;
        padding: 25px 44px;
    }

    .action-banner .phone {
        /* height: 280px; */
        display: none;
    }

    .event-container {
        margin-top: 35px;
    }
    
    .event-container table {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .mobile-grid {
        /* display: flex; */
    }

    .action-banner {
        height: 265px;
    }

    .app-btn .info {
        padding: 4px 0;
    }

    .latest-book .book-item .book-cover {
        height: 200px;
        width: 185px;
    }

    .latest-book .book-item {
        display: grid;
        grid-template-columns: 185px auto;
        gap: 35px;
    }

    .latest-book .book-item .info {
        margin-top: 34px;
    }

    .latest-book .book-item .book-name {
        font-size: 27px;
    }

    #footer .main {
        margin: 0 15px;
    }

    .main_desktop, .main_desktop_s, .main_mobile_xs{
        display: none;
    }

    .main_mobile{
        display: block;
    }

    .main_mobile_s{
        display: inline-block;
    }

    #footer .main .social-links {
        margin-bottom: 10px;
    }

    #footer-btm .disclaimer {
        margin: 0 20px;
    }

    .bible_quote{
        display: none;
    }

    .bible_quote_s{
        display: block!important;
    }

    .d-phone{
        display: none;
    }

    .profile_table .profile_photo_grid {
        display: grid;
        grid-template-columns: 255px auto;
        align-items: stretch;
        gap: 20px;
    }

    .profile_table .profile_photo_grid div.td {
        border-right: 1px solid #ccc;
        padding-top: 10px;
    }
    .profile_table .profile_photo_grid div.td:nth-child(2){
        border: none;
    }
    .profile_table .profile_photo_grid div.td:last-child{
        display: none;
    }

    .profile_table .profile_photo_grid div.td .read_more_s{
        display: inline-block;
    }

    .profile_table .profile_photo_grid .profile-info{
        margin-left: 10px;
    }

    .profile-photo-bg {
        background-color: #fff;
        background-position: center -26px;
        height: 220px !important;
        max-width: 450px !important;
        max-height: 300px !important;
        margin-top: 20px;
    }

    .strategic-item .info {
        margin-left: 10px;
    }

    .strategic-item .action-bar{
        padding: 0;
    }


    #dekania-leaders .profile-group .profile-item .info{
        padding-top: 10px;
        padding-bottom: 25px;
    }

    #dekania-leaders .profile-group .profile-item .cover {
        height: 220px;
    }
    #dekania-leaders .profile-group .profile-item {
        border-radius: 10px;
        border: 1px solid #D6D6D6;
        grid-template-columns: auto;
        grid-template-rows: 220px auto;
        gap: 20px;
    }

    .dean-information-sections {
        padding: 10px 42px!important;
    }

    .chama-item {
        border: 1px solid #E8E4E4;
        border-radius: 15px;
        display: grid;
        grid-template-rows: 320px auto!important;
        grid-template-columns: auto!important;
        overflow: hidden;
    }

    .chama-item .cover{
        width: 100% !important;
        height: 100% !important;
        border-right: 0;
        border-bottom: 1px solid #D6D6D6;
    }

    .chama-item .action-btn a{
        min-height: auto!important;
    }

    .vyama-list .action-btn {
        display: none;
    } 
    .vyama-list .info .action-btn{
        display: grid;
        grid-template-columns: auto auto;
        padding: 0;
        margin-top: 20px;
        gap: 10px;
        grid-template-rows: auto auto;
    }
    .chama-item .info .action-btn a{
        margin-bottom: 0;
    }

    a.vyama-mini-item .info .description {
        max-height: 120px !important;
        overflow: hidden;
        margin-bottom: 20px;
    }

    a.vyama-mini-item .read_more{
        display: none;
    }


    .vyama-mini-item {
        grid-template-columns: 250px auto!important;
        grid-template-rows: auto!important;
    }

    .news-list .news-item.latest-item .cover {
        height: 100%!important;
        width: 315px!important;
    }

    .news-list .news-item.latest-item {
        grid-template-columns: 315px auto!important;
    }

    .event-list {
        grid-template-columns: auto!important;
        column-gap: 30px;
    }

    .event-list {
        grid-template-columns: auto!important;
        column-gap: 30px;
    }

    .event-container tr.cdates td {
        height: 55px;
    }
    
    .event-container table {
        margin-bottom: 20px;
    }
}

/* `xl` applies to large devices (desktops, less than 1200px) */
/* Large devices (desktops, 992px and up) */
@media all and (min-width: 992px) and (max-width: 1199.98px) {
/* @media (min-width: 992px) { */

    #header .main{
        margin: 0 20px;
    }

    #header .main .phone{
        margin-right: 25px;
        font-size: 17px;
    }

    .side-menu, #navSidebar, #menu{
        display: none;
    }

    /* Menu */
    .sky-mega-menu li.single-service{
        display: none;
    } 

    .sky-mega-menu li.all-services{
        display: inline-block;
    }

    .sky-mega-menu li{
        padding-left: 0;
    }

    .sky-mega-menu li a {
        padding: 0 15px;
    }

    .mobile-menu{
        display: none;
    }

    .menu-hide{
        display: none;
    }

    .portal-btn a {
        margin-right: 0;
    }

    .main-section .content-section .main-pic {
        width: 280px;
        margin-top: 45px;
    }

    .main-section .content-section,
    .main-section .services,
    .main-section .online-shop,
    .main-section .partners {
        margin: 10px 40px;
    }

    .main-section .testimonials{
        padding: 50px 40px;
    }

    .special-tabs .item-content {
        display: none;
        padding: 15px;
    }

    .special-tabs .tab-item {
        padding: 0 13px;
    }

    .main-section .action-banner .line1 {
        font-size: 25px;
    }
    .main-section .action-banner .line2 {
        font-size: 27px;
    }

    .news-sections,
    .events-sections,
    .library-section,
    .photo-gallery-section {
        padding: 10px 44px;
    }

    .action-banner {
        height: 240px;
        padding: 25px 44px;
    }

    .action-banner .phone {
        height: 280px;
    }

    .news-sections ul li.readmore {
        margin-top: -40px;
    }

    .book-list .book-item {
        margin-bottom: 0;
    }

    .special-panels {
        display: grid;
        grid-template-columns: auto 224px;
    }

    
    .special-panels .title {
        margin-top: 20px;
    }
    
    .special-panels img {
        margin-top: 60px;
        width: 210px;
    }
    
    .special-panels .bible-verse {
        margin-top: 14px;
        margin-bottom: 20px;
    }

    .parokia-panel-detail .parokia-item .cover {
        width: 385px;
    }

    .parokia-sections ul li a {
        padding: 0 19px;
    }

    .news-sections ul li a {
        padding: 0 21px;
    }

    .news-item .info .news-desc {
        max-height: 74px;
        overflow: hidden;
    }

    .event-list .event-item {
        grid-template-columns: 115px auto;
    }

    .book-list {
        grid-template-columns: 1fr;
        height: 510px;
        overflow: hidden;
    }

    .action-banner .text {
        font-size: 24px;
    }
    .action-banner .descr {
        font-size: 15px;
    }

    .event-item .read-more {
        display: none;
    }

    #footer .main .logo img {
        height: 56px;
    }

    #footer .main .social-links a.social-item{
        width: 43px;
        height: 43px;
    }

    #footer .main ul.main_desktop{
        display: none;
    }

    #footer .main {
        min-height: 318px;
        margin: 0 20px;
    }

    .stats-counter .stat-panel {
        padding-left: 10px;
        padding-right: 25px;
    }

    #footer .main .logo img {
        margin-top: 56px;
    }


    .bible_quote{
        display: none;
    }

    .bible_quote_s{
        display: block!important;
        border-top: 1px solid #f8f8f8;
    }

    #slide-panel{
        display: none;
    }

    .profile-photo-bg {
        background-color: #fff;
        background-position: center -26px;
        height: 300px !important;
        max-width: 450px !important;
        max-height: 300px !important;
    }

    .strategic-item .info {
        margin-left: 0;
    }


    .deanery-item {
        grid-template-columns: 200px auto!important;
    }

    #parish_priests .short_bio{
        display: none;
    }


    #parish_priests .profile-item,
    #parish_leaders .profile-item {
        grid-template-columns: 175px auto!important;
    }

    .vyama-list .action-btn {
        display: none;
    } 
    .vyama-list .info .action-btn{
        display: grid;
        grid-template-columns: auto auto;
        padding: 0;
        margin-top: 20px;
        gap: 10px;
        grid-template-rows: auto auto;
    }
    .chama-item .info .action-btn a{
        margin-bottom: 0;
    }

    a.vyama-mini-item .cover {
        width: 245px!important;
    }

    .news-list .news-item.latest-item .cover {
        height: 360px!important;
    }

    .news-item .cover {
        height: 320px!important;
    }
}

/* `xxl` applies to x-large devices (large desktops, less than 1400px) */
@media all and (min-width: 1200px) {
/* @media (min-width: 1200px) { */
    .side-menu, #navSidebar, #menu{
        display: none;
    }

    .bottom-news-view-btn{
        display: none;
    }

    .mobile-menu{
        display: none;
    }

    #footer .main .logo img {
        margin-top: 56px;
    }

    #slide-panel{
        display: none;
    }

    .profile-photo-bg{
        background-color:#fff; 
        background-position: center -26px; 
        height: 450px !important; 
        max-width: 450px!important; 
        max-height: 423px !important;
    }

    #parish_priests .profile-item .cover{
        min-height: 280px;
    }

    .vyama-list .info .action-btn{
        display: none;
    }
}



/* ---------------------- */

.slick-slide {
    margin: 0 15px; /* Adjust the margin as needed */
  }

  .slick-list {
    margin: 0 -1px; /* Adjust to match the margin of .slick-slide */
  }

  @media (max-width: 1024px) {
    .slick-slide {
      margin: 0 8px;
    }

    .slick-list {
      margin: 0 -8px;
    }
  }

  @media (max-width: 600px) {
    .slick-slide {
      margin: 0 6px;
    }

    .slick-list {
      margin: 0 -6px;
    }
  }

  @media (max-width: 480px) {
    .slick-slide {
      margin: 0 4px;
    }

    .slick-list {
      margin: 0 -4px;
    }
  }

/* ============================================
   HIJA HOMEPAGE SECTION - RESPONSIVE
   ============================================ */

@media (min-width: 360px) and (max-width: 575.98px) {
    .hija-section {
        padding: 10px 30px;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .hija-section {
        padding: 10px 30px;
    }

    .hija-spotlight-image {
        height: 240px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .hija-section {
        padding: 10px 44px;
    }

    .hija-spotlight-image {
        height: 240px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .hija-section {
        padding: 10px 44px;
    }
}

@media (max-width: 767.98px) {
    .hija-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .hija-view-all-header {
        font-size: 15px;
    }

    .hija-spotlight-image {
        height: 220px;
    }

    .hija-spotlight-carousel .hija-spotlight-image {
        height: 220px;
    }

    .hija-spotlight-content {
        padding: 18px 20px;
    }

    .hija-spotlight-title {
        font-size: 19px;
    }

    .hija-area-list {
        margin-top: 20px;
    }

    .hija-area-list-item {
        grid-template-columns: 80px 1fr;
        gap: 12px;
    }

    .hija-area-list-thumb {
        width: 80px;
        height: 68px;
    }
}

@media (max-width: 480px) {
    .hija-section {
        padding: 10px 20px;
    }

    .hija-spotlight-image {
        height: 180px;
    }

    .hija-spotlight-carousel .hija-spotlight-image {
        height: 180px;
    }

    .hija-spotlight-carousel .swiper-button-next,
    .hija-spotlight-carousel .swiper-button-prev {
        width: 32px;
        height: 32px;
    }

    .hija-spotlight-carousel .swiper-button-next:after,
    .hija-spotlight-carousel .swiper-button-prev:after {
        font-size: 13px;
    }

    .hija-spotlight-title {
        font-size: 17px;
    }

    .hija-area-list-item {
        grid-template-columns: 60px 1fr;
        gap: 10px;
    }

    .hija-area-list-thumb {
        width: 60px;
        height: 52px;
    }

    .hija-area-list-title {
        font-size: 15px;
    }
}