/* select_donation_category_newest.blade.php*/
.membership-dropdown {
    position: relative;
    display: inline-block;
}

.membership-dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 150px;
    max-width: fit-content;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.membership-dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.membership-dropdown-content a:hover {background-color: #ddd;}

.membership-dropdown:hover .membership-dropdown-content {display: block;}

.img-thumbnail{
    width: 100%;  border-radius: 8px !important; background-size: cover; padding: 4px; margin-bottom: 0 !important; padding-bottom: 0 !important;
}
.img-thumbnail2{
    height: 124px; width: 100%;  border-radius: 5%; background-size: cover; padding: 4px; margin-bottom: 0 !important; padding-bottom: 0 !important;
}
.SideImage{
    border-radius: 17px;
    gap: 30px;
    height: 950px;
    width: 100%;
    background-size: cover;
    background-attachment: fixed;
    /*padding-right: 8px;*/
}
.no-outline{
    border: none;
    background-color: transparent;
    width:50px;
}
.pseudolink {
    color:blue;
    cursor:pointer;
}
.donation_footer{
    padding: 16px 24px;
    gap: 3px;
    align-self: stretch;
    border-top: 0.5px solid rgba(110, 121, 140, 0.30);
    background-blend-mode: hard-light;
}
.fa_icon i{
    font-size: x-large;
}
.btn>i {
    line-height: 0;
    margin-bottom: 4px;
}
fieldset {
    border: solid 1px gray;
    padding: 2px 12px 10px 12px;
}
legend {
    float: none;
    width: inherit;
    color: #6E798C;
    font-feature-settings: 'clig' off, 'liga' off;
    font-size: 14px !important;
    font-style: normal;
    line-height: 100%;
}
.add_message{
    display: flex;
    padding: 8px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px; border-radius: 100px;
    background: rgba(110, 121, 140, 0.06);
}
/*  new css     */

.category-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}

.category-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    box-shadow: 5px 5px 30px 5px #f2f2f3;/*10px 10px 15px 12px #f2f2f3*/
}

.category-card >img {
    width: 100%;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.text-img {
    border-radius: 8px;
    align-items: center;
    height:120px;
}
.text-img_ {
    border-radius: 8px;
    align-items: center;
    height:227px;
}
.first-letter-text {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-top: 15%;
}
.cat-button {
    width: 100% !important;
    border-radius: 25px !important;
}

.category-card-content {
    padding: 15px;  /* previous 20px*/
}

.card-content {
    padding: 20px;
    display: block;
}

/*  donation side card css     */

.card-toggle-button {
    display: none;
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 5px 10px;
    color: white;
}
.secure-donation-icon {
    display: none;
}

/* end donation side card css */

.card-image-title {
    display: none;
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    font-size: 10px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem !important;
}

.category-card-title {
    max-width: 200px;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: .4rem;
    margin-top: 0;
    color: black;
}

.pinned-all-category {
    font-size: 20px;
    font-weight: 500;
    color: black;
}

.select-category-text {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.2;
    color: inherit;
}
/*.online-menue-vavbar {
    padding: 0 !important;
}*/
.advance-main-container-bg {
    /*display: table-row;*/
    background-color: #f2f2f3 !important; /*#f2f2f3  #e9e9ec #f2f2f3 #eaeaea #f2f2f3*/
}
.pinned-all-category-separator {
    background-color: black !important;
    width: -webkit-fill-available !important;
    margin-left: 17px;
}
.back-btn {
    display: none !important;
}
.back-link {
    display: block !important;
}
/*  icon div css */
.custom-icon-div {
    position: relative !important;
    display: inline-block !important;
    width: 1.5em !important;
    height: 1.5em !important;
}
/* modal message body css */
.error-message-body {
    inline-size: 700px;
    overflow-wrap: break-word !important;
    width: 55rem;
}
.custom-modal-footer {
    padding: 0 !important;
}
/*  share icon css */
.custom-share-icon-div {
    margin-right: 1rem !important;
}
.st-btn[data-network] {
    display: inline-block !important; /* Display all icons */
}
.st-btn {
    display: inline-block !important; /* Ensure each icon is displayed */
    visibility: visible !important; /* Make sure the icons are visible */
    opacity: 1 !important; /* Ensure full visibility */
}
.sharethis-inline-share-buttons {
    width: 100%; /* Ensures the container takes full width */
    display: flex; /* Align icons in a row */
    flex-wrap: wrap; /* Allows icons to wrap to the next line if needed */
    justify-content: center; /* Center the icons */
}

/*.mobile-view {
    display: none;
}
.desktop-view {
    display: block;
}*/
@media (max-width: 765px) {
    .category-card {
        width: calc(50% - 40px);
    }
}
/* adding dots to main screen category description  */
.main-screen-category-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.m-portlet .m-portlet__body {
    padding: 0.8rem 0.3rem 0.8rem 0.5rem !important;
}
/*.container {
    max-width: 1246px !important;
}*/
/*.card-image {
    width: -webkit-fill-available !important;
}*/
.colored-div{
    height:288px  !important;
    /*border-radius: 5% !important;*/
    background-size: cover !important;
}
.footer_copyright {
    display: block;
}
.frequency_section {
    margin-top: 3rem !important;
}
.choose_amount_section {
    margin-top: 0.8rem !important;
}
.extra-text {
    display: flex !important;
}
.category-list-mob {
    margin-bottom: 1.5rem !important;
}
.membership-dropdown-mobile {
    display: none !important;
}
.membership-dropdown {
    display: block !important;
}
.page-content-wrapper {
    margin-top: 1.7rem !important;
    /*padding-right: 15px !important;*/
}
.recurring_no_of_months {
    margin: 1.5rem !important;
}
.sub_label {
    padding-left: 0 !important;
}

.specified_amount {
    width: 90px;
}
apple-pay-button {
    --apple-pay-button-width: 665px !important;
    --apple-pay-button-height: 40px !important;
    --apple-pay-button-border-radius: 5px !important;
    --apple-pay-button-padding: 4px 5px !important;
    --apple-pay-button-box-sizing: border-box !important;
}
.gpay-button{
    width:  310px; !important;
}

.payment-section-border {
    border: 1px solid #dee2e6 !important;
    padding: .5rem 1.5rem 1.5rem 1.5rem !important;
}
.vfr_mobile_view_color {
    background-color: #0000000f !important;
}

@media (max-width: 600px) { /* old 480px */
    /*The viewport is less than 600 pixels wide*/
    .category-card {
        width: calc(100%);
        flex-direction: row;
        align-items: center;
        background-color: #FBFBFB;
        border: none;
        height: 46.5px !important;
        box-shadow: none !important;
    }
    .category-card >img {
        width: 47px;
        height: 41px;
        border-radius: 50% !important;
        margin: 0px;
    }
    .text-img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        margin: 10px;
        justify-content: center;
        align-items: center;
        position: relative;

    }
    .text-img_ {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        margin: 10px;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    .category-card-content {
        padding: 10px;
        flex: 1;
    }
    .first-letter-text {
        font-size: 16px;
        font-weight: normal;
        text-align: center;
        margin-top: 22%;
    }

    .cat-button {
        float: right;
        width: 25% !important;
        border-radius: 25px !important;
        padding: 3px !important;
        margin-right: 2.7rem !important;
    }
    .category-card-title {
        /*margin-top: 4px;*/
        float: left;
        max-width: 130px;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        font-size: 1.0rem;
        font-weight: 400;
        color: black;
        line-height: 0.9;
    }

    .card-content {
        height: 100% !important;
        display: none; /* Hide content by default */
    }
    .donation-card {
        height: 100% !important;
    }

    .card-toggle-button {
        display: block;
    }

    .card-title {
        bottom: 20px;
        left: 20px;
        font-size: 20px;
    }

    .colored-container {
        justify-content: center;
        align-items: center;
        position: static;
        word-break: break-all;
        background-size: cover !important;
    }
    .card-image-title {
        display: block;
        /*bottom: 20px;*/
        left: 20px;
        font-size: 12px;
        color: white;
    }

    .masjid-logo {
        max-width: 95px !important;
        /*padding-top: 30px;*/
        justify-content: center !important;
        align-items: center !important;
    }
    .masjid-logo-anchor-tag {
        align-content: center; !important;
    }

    .masjid-detail {
        max-width: 180px !important;
    }
    .top-main-heading {
        margin-top: 15px;
    }
    .m-portlet .m-portlet__body{
        padding: 0 !important;
    }
    .pinned-all-category {
        font-size: 15px;
    }
    .select-category-text {
        font-size: 1.7rem;
        font-weight: 500;
        line-height: 1.2;
        color: black;
    }
    .SideImage{
        /*height: 50%;*/
    }
    .SideImage-div {
        /*max-height: 50%;*/
        padding: 0 !important;
        display: none;
        /*display: flex;
        align-items: flex-end !important;
        position: unset !important;*/
    }
    .pinned-all-category-separator {
        background-color: transparent !important;
    }
    .specified_amount {
        margin-bottom: 0.4rem !important;
    }
    .donate-outline-label {
        text-align: center; display: none; padding: 0; margin: 0;
    }
    .back-btn {
        display: block !important;
        margin-top: .5rem !important;
    }
    .back-link {
        display: none !important;
    }
    .back-btn-style {
        display: flex !important;

    }
    .main-screen-category-title {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 1rem !important;
    }
    .donate-outline-label {
        margin-top: 10px;
    }
    .donor-info {
        word-wrap: break-word;
    }
    .custom-error-modal {
        position: fixed;
        height: 100% !important;
        overflow: auto;
        width: 100%;
    }
    /* hide share icon */
    .custom-share-icon-div {
        display: none !important;
    }
    .custom-share-icon-mob {
        display: block !important;
        margin-top: 0.8rem !important;
        margin-right: 0.8rem !important;
    }
    .sharethis-inline-share-buttons {
        flex-direction: column !important; /* Stack icons vertically on small screens */
    }
    .error-message-body {
        inline-size: 0px;
        width:320px !important;
    }
    .content-modal {
        padding: 0px !important;
    }

    /*.mobile-view {
        display: block;
    }
    .desktop-view {
        display: none;
    }*/
    .gpay-button{
        width: 100% !important;
    }
    .img-thumbnail2{
        /*padding: 0px 3px 3px 0px;*/
    }
    .colored-div{
        height:221px !important;
    }
    .frequency_section {
        margin-top: 0.5rem !important;
    }
    .choose_amount_section {
        margin-top: 0.3rem !important;
    }
    /*.frequency_heading {
        display: block !important;
    }*/
    .footer_copyright {
        display: none !important;
    }
    .SideImage{
        padding-right: 0 !important;
    }
    .category_button {
        /*margin-top: 0.3rem !important;*/
    }
    /*.category-card-content-heading {
        display: inline-grid !important;
    }*/
    .extra-text {
        display: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .mobile-category-card-title {
        margin-top: 6px !important;
    }
    .category-list-mob {
        margin-bottom: 0.5rem !important;
        /*margin-bottom: 0.75rem !important;*/
        /*background-color: #0000000f !important;*/
    }
    .page-content-wrapper {
        /*margin-top: 0 !important;*/
        margin: 0 !important;
        padding: 0 !important;
        /*padding-right: 15px !important;*/
    }
    .membership-dropdown-mobile {
        display: block !important;
    }
    .membership-dropdown {
        display: none !important;
    }
    #category {
        padding: 0 !important;
        margin: 0 !important;
    }
    .container {
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 0 0.5rem 0  !important;
    }
    .donation_first_col {
        margin: 0 1rem 0 1rem !important;
    }
    .recurring_no_of_months {
        margin: 0 !important;
    }
    .sub_label {
        padding-left: 1.2rem !important;
    }
    apple-pay-button {
        --apple-pay-button-width: 340px !important;
    }
    .payment-section-border {
        border: 0 !important;
        /*padding: 0 !important;*/
        padding: 0 0rem 0 1.5rem !important;;
    }
    .vfr_mobile_view_color {
        background-color: white !important;
    }
    .payment-section-border {
        padding: 0 0 0 .5rem !important;
    }
    .form-control-feedback {
        width: max-content !important;
    }
    .success_outline_label {
        text-align: center; padding: 0; margin: 10px 0 0 0;
    }
}

@media (max-width: 380px) {
    /*.cat-button {*/
    /*    width: 100% !important;*/
    /*    border-radius: 25px !important;*/
    /*}*/
    .masjid-detail {
        max-width: 153px !important;
    }
    .pinned-all-category {
        font-size: 13px;
    }
    .SideImage-div {
        padding: 0 !important;
        /*display: flex;
        align-items: self-end !important;
        position: unset !important;*/
    }
    .specified_amount {
        margin-bottom: inherit;
    }
    .donate-outline-label {
        text-align: center;
    }
    .back-btn {
        display: block !important;
        margin-top: .5rem !important;
    }
    .back-link {
        display: none !important;
    }
    .back-btn-style {
        display: flex !important;
    }
    .donate-outline-label {
        margin-top: 10px;
    }
    .donor-info {
        word-wrap: break-word;
    }
    .custom-error-modal {
        position: fixed;
        height: 100% !important;
        overflow: auto;
        width: 100%;
    }
    /* hide share icon */
    .custom-share-icon-div {
        display: none !important;
    }
    .custom-share-icon-mob {
        display: block !important;
        margin-top: 0.8rem !important;
        margin-right: 0.7rem !important;
    }
    .sharethis-inline-share-buttons {
        flex-direction: column; /* Stack icons vertically on small screens */
    }
    .error-message-body {
        inline-size: 0px;
        width:320px !important;
    }
    .content-modal {
        padding: 0px !important;
    }
    /*.mobile-view {
        display: block;
    }
    .desktop-view {
        display: none;
    }*/
    .gpay-button{
        width: 100% !important;
    }
    .colored-div{
        height:221px !important;
    }
    .footer_copyright {
        display: none !important;
    }
    .frequency_section {
        margin-top: 0.5rem !important;
    }
    .choose_amount_section {
        margin-top: 0.3rem !important;
    }
    .category-list-mob {
        margin-bottom: 0.75rem !important;
    }
    .membership-dropdown-mobile {
        display: none !important;
    }
    .membership-dropdown {
        display: block !important;
    }
    apple-pay-button {
        --apple-pay-button-width: 305px !important;
    }
    .payment-section-border {
        border: 0 !important;
        padding: 0 !important;
    }

}
/*@media (max-width: 1025px) {
    !*The viewport is less than 1025 pixels wide*!
    apple-pay-button {
        --apple-pay-button-width: 433px !important;
    }
}
/* end  */

/* donation_newest*/
.header_label{
    color: var(--Primary-Black, #313E4E);
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
}
.donation_footer{
    padding: 16px 24px;
    gap: 3px;
    align-self: stretch;
    border-top: 0.5px solid rgba(110, 121, 140, 0.30);
    background-blend-mode: hard-light;
}
.form-control-feedback
{
    margin-right: 25px;
}
.pseudolink {
    color:blue;
    cursor:pointer;
}
.fa_icon i{
    font-size: x-large;
}

@media (max-width: 1000px){
    .left-side-card {
        min-width: -webkit-fill-available;
        min-width: -moz-available;
        min-width: fill-available;
    }
    .right-side-form {
        min-width: fit-content;
    }
    .donor-info {
        word-wrap: break-word;
    }
}

/* The Modal (background) */

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 5% auto; /* 5% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-radius: 8px;
    text-align: center;
    min-width: max-content;
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    border-bottom: 0;
    display: contents;
}
.modal-footer {
    padding: 0;
    border-top: 0;
}
/*   general */
.advance-main-container-bg {
    background-color: #FBFBFB !important;
    max-width: 1225px !important;
}
.donation-card {
    height: 100% !important;
}

.frequency-button-bg {
    background-color: #f0f1f2 !important;
}

.lifetime-label-font-size {
    font-size: 0.9rem !important;
}

.frequency-button-style {
    border: 0px !important;
    border-right: 1px solid black !important;
}
.frequency-button-noborder {
    border: 0px !important;
}

/*  new custom payment method */
.hr-lines{
    position: relative;
    text-align: center;
    color: #c4c4c4;
}

.hr-lines:before{
    content:" ";
    height: 1px;
    width: 44%;
    background: #e0e0e0;
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
}

.hr-lines:after{
    content:" ";
    height: 1px;
    width: 44%;
    background: #e0e0e0;
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
}

.payment_method_btn {
    padding-bottom: inherit;
}

.list-group {
    list-style-type: none;
    padding: 0;
    margin: 0;

}

.list-group li {
    border: 1px solid #ddd;
    margin-top: -1px; /* Prevent double borders */
    padding: 15px 12px 8px 24px;
}
.form-check-label {
    padding-left: 8px;
}

/* If the grid has 5+ items, change the --item-size width to 150px */
.list-group:has(li:nth-last-child(2)) {border-radius:10px;}
.list-group:has(li:nth-last-child(n + 3)) li:first-child {border-top-right-radius:10px; border-top-left-radius:10px;}
.list-group:has(li:nth-last-child(n + 3)) li:nth-child(3) {border-bottom-right-radius:10px; border-bottom-left-radius:10px;}

/*  end new custom payment method */

/*  */

/*
  separate slides
  PR and FR integration (will provide link in database)

  */