@media all and (min-width: 1500px) {
    .container {
        max-width: 1380px;
    }
}

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

@media all and (max-width: 1920px) {
}

@media all and (max-width: 1700px) {
    section {
        padding: 60px 0;
    }

    button.btn,
    .btn:not(.close):not(.mfp-close),
    a.btn:not([href]):not([tabindex]) {
        font-size: 16px;
        padding: 12px 18px;
    }
}

@media all and (max-width: 1500px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1300px;
    }
}

@media all and (max-width: 1350px) {
    button.btn,
    .btn:not(.close):not(.mfp-close),
    a.btn:not([href]):not([tabindex]) {
        font-size: 16px;
        padding: 12px 18px;
    }
    .header-extras > ul > li {
        margin: 0 5px;
    }
    #mainMenu nav > ul > li > a {
        font-size: 16px;
        padding: 12px 18px;
    }
    .main-logo a {
        max-width: 200px;
    }
    .section-title,
    .section-title span {
        font-size: 30px;
        padding: 8px 10px;
    }
}

@media all and (max-width: 1200px) {
    .main-logo a {
        max-width: 180px;
    }
    #mainMenu nav > ul > li > a,
    button.btn,
    .btn:not(.close):not(.mfp-close),
    a.btn:not([href]):not([tabindex]) {
        font-size: 15px;
    }
}

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

@media all and (max-width: 991px) {
    .desk-view {
        display: none !important;
    }
    .mob-view {
        display: block !important;
    }
    .header-top ul {
        display: flex;
        justify-content: space-between;
        list-style: none;
        margin: 0;
        border-bottom: solid 1px #d8c4a9;
        padding: 8px 15px;
        margin-bottom: 15px;
    }
    .header .container {
        padding: 0;
    }
    #header {
        padding: 0 0 10px 0;
    }
    #header .header-inner #logo,
    #header #header-wrap #logo {
        margin-left: 15px;
    }
    #mainMenu-trigger {
        height: auto;
    }
    .main-logo a {
        max-width: 230px;
    }
    .mainMenu-open #header .header-inner,
    .mainMenu-open #header #header-wrap {
        background: inherit !important;
    }
    #mainMenu nav > ul > li .dropdown-menu.active {
        display: block !important;
        opacity: 1;
        max-height: 100%;
    }
    #mainMenu:not(.menu-overlay) {
        opacity: 0;
        visibility: hidden;
        position: absolute;
        left: -70%;
        top: 0;
    }
    .full-width {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    .mob-order-1 {
        order: 1;
    }
    .mob-order-2 {
        order: 2;
    }
    .mob-order-3 {
        order: 3;
    }
    .mob-order-4 {
        order: 4;
    }
    .mob-text-center {
        text-align: center !important;
    }
    .mob-b-30 {
        margin-bottom: 30px;
    }
    .half-width {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
    .home-galley .block figure {
        height: 400px;
    }
    .home-galley .block.block-md figure {
        height: 192px;
    }
    .center-arrows .slick-next.slick-arrow {
        right: 46%;
    }
    .center-arrows .slick-prev.slick-arrow {
        right: 54%;
    }
    section {
        padding: 30px 0;
    }
    .inner-page-title {
        position: relative;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        padding: 30px 0;
        text-align: center;
    }
    .inner-banner figure {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
    }
    .home-banner {
        padding: 0;
    }
    .home-banner .container {
        padding: 0;
    }
    .home-banner .description {
        padding: 30px;
    }

    .alert-block {
        display: block !important;
        text-align: center !important;
    }

    .pagetabs .accordion {
        border: none;
    }
    .pagetabs .accordion-item {
        border: none;
        margin-bottom: 10px;
        background: #eee;
        border-radius: 5px;
        border-bottom: none;
    }
    .pagetabs .accordion-button {
        font-size: 18px;
        font-weight: 500;
        color: #333;
        background: #eee;
        border: none;
        border-radius: 5px !important;
        padding: 0px 10px;
        box-shadow: none !important;
        position: relative; /* Required for arrow positioning */
        display: block;
        width: 100%;
        text-align: left;
    }

    .pagetabs .accordion-button:not(.collapsed) {
        color: #07038c; /* Match your primary color */
        background: #fff;
    }
    .pagetabs .accordion-button::after {
        position: absolute;
        right: 10px;
        top: 15px;

        flex-shrink: 0;
        width: 1.25rem;
        height: 1.25rem;
        margin-left: auto;
        content: "";
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-size: 1.25rem;
        transition: transform 0.2s ease-in-out;
    }
    .pagetabs .accordion-button:not(.collapsed)::after {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2307038C'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
        transform: rotate(-180deg);
    }
    .pagetabs .accordion-button:focus {
        z-index: 3;
        border-color: transparent;
        outline: 0;
        box-shadow: none;
    }
    .pagetabs .accordion-body {
        padding: 0px;
        background: #fff;
        border-radius: 0;
    }

    /* Adjust slider for accordion */
    .pagetabs .home_events_slider {
        width: 100%;
    }

    .pagetabs .accordion-header {
        margin-bottom: 0;
    }
    .event-content {
        padding: 15px;
    }

    .copyright-content p {
        float: none !important;
        text-align: center;
    }

    .header-top.mob-view .dropdown .dropdown-menu {
        display: none;
    }
    .header-top.mob-view .dropdown .dropdown-menu.show {
        display: block;
    }
    .dropdown-toggle::after {
        top: 19px;
    }

    .member_profile .tabs .nav-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: scroll;
        white-space: nowrap; /* Ensures text stays on one line */
    }
    .member_profile .all_forms .tabs .nav-tabs {
        display: flex;
    }
    .member_profile .all_forms .tabs .nav-tabs .nav-item {
        display: block !important;
    }
    .member_profile .all_forms .tabs .nav-tabs .nav-link {
        padding: 10px 20px 5px 20px;
        font-size: 13px !important;
        display: block;
        font-weight: 600;
    }
    .member_list li span:first-child {
        display: block;
        min-width: 1px;
    }
    .dynamic_form_content .col-sm-12.form_heading h4 {
        display: block !important;
        text-align: center !important;
    }
    .row.table_form_row .row.form_field_outer_row {
        display: block !important;
    }
    .remove_node_btn_frm_field {
        margin-top: 15px !important;
    }

    .amount p::before {
        display: none !important;
    }

#registerd-events .event_reg_card .card, #partcipated-events .event_reg_card .card{padding: 0 !important; border: none !important;}




.ribbon-container {
        position: absolute;
        top: -126px;
        right: 16px;
        overflow: hidden;
        width: 73px;
        height: 39px;
        z-index: 1;
    }


.ribbon-text {
    position: relative;
    right: 0;
    top: 0px;
    width: 100%;
    padding: 0;

    transform: rotate(0deg);
    font-size: 12px;
}



#registerd-events .event_reg_card .card h4, #partcipated-events .event_reg_card .card h4{text-align: center;}



.new-button-block{display: block;}
.new-button-block .btn, .button-block .btn{width: 100%; text-align: center;}
.event-list-inner figure{height: auto !important;}

.lead, .lead p{font-size: 16px;}
#footer .footer-content{background: #fff !important; padding: 15px 0; border-top: solid 1px #ccc;}
.inner-banner figure img{height: 100% !important; object-fit: cover !important;}
.inner-banner h1{font-size: 26px; text-shadow: none !important;}
.login-row .text-right{margin-bottom: 15px !important; text-align: center !important;}

.pwd-btn {
    right: 5px;
    top: 45px;}
.tab-content .member_list li span:first-child{display: inline-block; vertical-align: top;}
.tab-content .pwd-btn {right: 25px;}

.radio-payment label {
    margin-left: 5px !important;
}
.payment-type-radio-payment .radio-item label {
    background: transparent;
    padding: 2px 15px 2px 30px;
    border-radius: 100px;
    color: #000000;
    position: relative;
    border: solid 1px #000000;
    cursor: pointer;
    font-size: 11px;
}

.payment-type-radio-payment .radio-item {
    margin-right: 3px;
    margin-bottom: 10px;
}

.payment-type-radio-payment .radio-item label::after {
    width: 15px;
    height: 15px;
    border: solid 1px #000000;
    left: 11px;
    top: 10px;
}

.payment-type-radio-payment .radio-item label::before {
    width: 7px;
    height: 7px;
    left: 15px;
    top: 14px;
}

#renewal-form .col-sm-12{padding: 0;}
.recapta_inner{padding-left: 0;}
.dynamic_form_content{text-align: left !important;}

#dynamic_form .dynamic_form_content .col-sm-12.form_heading h4{text-align: left !important;}
.form_sec_outer_task .row, .form_sec_outer_task .col-md-2, .form_sec_outer_task .col{margin: 0 !important; padding: 0 !important; text-align: left !important;}
.child_details-section{position: relative;}
.child_details-section#dynamic_form .add_new_frm_field_btn.fright{
 position: absolute;
        right: -58px;
        top: -28px;
        font-size: 12px;
        padding: 8px 13px !important;
        width: auto;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
}





.child_details-section#dynamic_form .add_new_frm_field_btn.fright.mobile-view{top: auto; bottom: -4px; right: -1px; 
        width: 100%;
        border-radius: 0; display: block;}


ul.ks-cboxtags li label {
    padding: 1px 15px;
    cursor: pointer;
    font-size: 11px;
}

ul.ks-cboxtags li {
    margin: 0 3px 5px 3px;
}
.update-btn, .update-btn #profileBtn, #renew_membership, #event_register_btn{width: 100%;}



.mobile-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #07038c;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

.mobile-footer .mainUl {
    display: flex;
    justify-content: space-between;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-footer .mainli {
    text-align: center;
    flex: 1;
        color: white;
}

.mobile-footer .mainA {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.mobile-footer .mainli .fa {
    display: block;
    font-size: 24px;
    margin-bottom: 0px;
}

/* Style for the middle Donate button with white background and shadow */
.mobile-footer .mainli:nth-child(2) a {
    background: white;
        color: #4caf50;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        line-height: 50px;
        margin: -10px auto -20px auto;
        position: relative;
        top: -20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        text-align: center;
        display: block;
}

/* Adjust spacing for left (Events) and right (Login) */
.mobile-footer .mainli:first-child,
.mobile-footer .mainli:last-child {
    padding-top: 10px;
}


.mobile-footer .mainli:nth-child(2) a i{position: relative; top: 13px;}

.mobile-footer button{background: none !important; padding: 0 !important; border: none !important; color: #fff !important;}

.mobile-footer ul.dropdown-menu{display: none;}

.mobile-footer ul.dropdown-menu.show{display: block;}
.mobile-footer     .dropdown-toggle::after {
        top: 37px;
        color: red;
    }
.mobile-footer a.dropdown-item{color: #000 !important;}

/* 
#footer{margin-bottom: 150px;} 
.header-top.mob-view{display: none !important;}
.header-inner{padding-top: 15px;}*/

.user_login.all_forms.frontend-login .card{border: none; padding: 0 !important; box-shadow: none !important;}


#checkout-form .pwd-btn {right: 28px;}

#page #content h4{font-size: 14px;}
#page #content h4 strong{display: none;}
.about-ian{text-align: center;}

.table-bordered th, .table-bordered td{    font-size: 14px;
    line-height: 20px;}

    #member-profile .card .col-4,  #member-profile .card .col-8,
    #edit-profile .card .col-4, #edit-profile .card .col-8,
    #renew-membership .card .col-4,  #renew-membership .card .col-8{font-size: 12px; line-height: 20px;}

}

@media all and (max-width: 768px) {
}
@media all and (max-width: 600px) {
}
@media all and (max-width: 480px) {
}
@media all and (max-width: 320px) {
}
