﻿


#MasterPlaceholder {
}

#site-header {
    top: 0px !important;
    background-color: #b2bf00; /*#d4ea0f; bisque*/
    position: fixed !important;
}

input {
    outline: none;
    border: solid 1px rgba(8, 128, 128, 128);
    padding: 10px;
    border-radius: 5px;
}

    input:focus {
        border: solid 1px rgb(255, 106, 0);
    }

textarea {
    outline: none;
    border: solid 1px rgba(8,128, 128, 128);
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    height: 150px;
}

    textarea:focus {
        border: solid 1px rgb(255, 106, 0);
    }



/* Blog Comments Section - Facebook-like, mobile friendly */
.comments-section {
    background: #f9f9f9;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    margin: 20px 0 0 0;
    padding: 18px 20px;
}

.comment {
    display: flex;
    align-items: center;
    padding: 12px 0 0 0;
   
}
.commentwrapper {
    border-bottom: 1px solid #e2e2e2;
}

.comment:last-child {
    border-bottom: none;
}

.comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e4e6eb;
    margin-right: 10px;
    flex-shrink: 0;
    object-fit: cover;
}

.comment-content {
    background: #f0f2f5;
    border-radius: 18px;
    padding: 8px 14px;
    max-width: 85vw;
    word-break: break-word;
    font-size: 1em;
    display: inline-block;
}

.comment-author {
    font-weight: 600;
    color: #050505;
    font-size: 1em;
    margin-right: 6px;
    display: inline;
}

.comment-date {
    color: #65676b;
    font-size: 0.85em;
    margin-left: 8px;
    display: inline;
}

.comment-body {
    margin-top: 2px;
    font-size: 0.98em;
    color: #050505;
}

.no-comments {
    color: #888;
    font-style: italic;
    padding: 10px 0;
    text-align: center;
}

.show-comments-link {
    cursor: pointer;
    color: #1877f2;
    text-decoration: none;
    font-weight: 500;
}
.show-comments-link:hover {
    color: #145db2;
    text-decoration: underline;
}

.autogrid{
    display:flex;
    justify-content:center;
   flex-wrap:wrap;  
}

    .autogrid .area-box{
        text-align:center;
    }

.autogrid2 {
    display: flex;
   justify-content: center;
    width:100%;
    flex-wrap:wrap;
    /*background-color:red;*/
    gap:1em;
}

.row1{
    display:flex;
   
    
}

.FpageTitle{
    color:white;
    background-color:black;
    padding:10px;
    position:relative;
  font-size:larger;
    text-align:center;
    bottom:42px;
    border-bottom-left-radius:15px;
    border-bottom-right-radius:15px;
    opacity:0.8;
}

.fpagimg {
    width: 350px;
}

.FpageVideo {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    height: 90%;
    width:100%;
}
/* Add Comment Form */
.add-comment-form {
    display: flex;
    align-items: flex-start;
    margin-top: 10px;
    padding: 0 0 0 0;
}

.add-comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e4e6eb;
    margin-right: 10px;
    flex-shrink: 0;
    object-fit: cover;
}

.add-comment-input {
    flex: 1;
    border: none;
    border-radius: 18px;
    background: #f0f2f5;
    padding: 8px 14px;
    font-size: 1em;
    outline: none;
    margin-right: 6px;
}

.add-comment-btn {
    background: #ff7b0a ;/*#1877f2;*/
    color: #fff;
    border: none;
    border-radius: 18px;
    padding: 8px 16px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.add-comment-btn:active,
.add-comment-btn:hover {
    background:#ad5a14 /*#145db2*/;
}

.fg-red {
    color: red;
}

/*for modal alert*/

.modal {
    display: flex;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    align-items:center;
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 300px;
    border-radius: 8px;
    text-align: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

    .close:hover,
    .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }
/*modal alert ends*/


.causes-grid {
    max-height: 500px;
    overflow: auto;
    /* IE and Edge */
    -ms-overflow-style: none;
    /* Firefox */
    scrollbar-width: none;
    cursor:pointer;
}

.counter-inherit {
    max-height: 80px;
    white-space: nowrap; /* Keep text on one line */
    overflow: hidden; /* Hide text that overflows the container */
    text-overflow: ellipsis; /* Add the "..." */
  /* width: 200px; *//* Must have a width or max-width */
}

.Projdetailcontainer{
    margin-top:200px;
    display:flex;
    justify-content:center;
    align-items:center;
    width:90%;

}

.Projectdetailmedia{
    width:80%;
    object-fit:contain;
}
.fordimg{
    width:100%;
    object-fit:contain;
}
.projdetatiltext{
    max-width:450px;
    
}

.icon span {
    color: #28a745!important;
}
/*consent*/

/* CSS: Floating footer banner */
.consent-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background:#fff /*#222*/;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
   /* display: flex;*/
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    width:450px;
}

.hidden {
    display: none !important;
}

.consent-buttons {
    display: flex;
    gap: 10px;
}

.btn-accept {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-reject {
    background: #555;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
}
/*consent*/
/*privacy policy*/
.pdf-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.mypvcpolicy {
    width: 100%;
    height: 80vh; /* Sets height to 80% of the screen height */
    border: 1px solid #ccc;
}

.smalltext{
    font-size:large;
}


/*privacy policy*/

@media screen and (max-width:800px) {
    .row1 {
        display: flex;
        flex-wrap: wrap;
        gap: 2em;
    }

    .fpagimg {
        width: 95%;
        border-radius: 10px;
    }

    .FpageTitle {
        font-size:large;
    }

    .FpageVideo {
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
        height:350px!important;
        width: 100%;
    }

    .causes-grid {
        max-height: 500px;
        overflow: auto;
        /* IE and Edge */
        -ms-overflow-style: none;
        /* Firefox */
        scrollbar-width: none;
    }

    .Projdetailcontainer {
        padding:20px;
        margin-top: 200px;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .Projectdetailmedia {
        width: 100%;
        object-fit: contain;
        border-radius:10px;
    }

    .consent-banner {
        position: fixed;
        bottom: 20px;
        left: 20px;
        right: 20px;
        background: #fff /*#222*/;
        color: #fff;
        padding: 20px;
        border-radius: 8px;
        /* display: flex;*/
        justify-content: space-between;
        align-items: center;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        z-index: 1000;
        width: 90%;
    }
}

/* Responsive for mobile */
@media (max-width: 600px) {
    .comment-content, .add-comment-input {
        max-width: 70vw;
        font-size: 0.98em;
    }
    .comment-avatar, .add-comment-avatar {
        width: 32px;
        height: 32px;
    }
    .add-comment-btn {
        padding: 7px 12px;
        font-size: 0.95em;
    }
}
