body {
    font-family: 'Roboto', sans-serif;
    background-color: #e9e9e9;
    margin: 0;   /* Remove default margin */
    padding: 0;  /* Remove default padding */
}

h2 {
    font-size: 24px;
    color: #000000;
}
h1 {
    font-size: 16px;
    color: #000000;
}    

.no-scroll {
    overflow: hidden;
}

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

.no-message {
    display: flex; /* Hidden by default */
    position: relative;
    /*width: 100%;*/
    /*height: 100%;*/
    /*background-color: pink;*/
    /*z-index: 570; */
    justify-content: center;
    align-items: center;
}













/* ==================== Popup Container ==================== */
.mgMessagePopup {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Dark transparent background */
    z-index: 570; /* Higher z-index to ensure it's above all other content */
    justify-content: center;
    align-items: center;
}

.mgMessagePopupContent {
    background-color: #ffffff;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    height: 80%;
    max-height: 600px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.mgMessagePopupHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2196f3;
    padding: 15px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}

.mgMessagePopupTitle {
    flex: 1;
    text-align: center;
}

.mgMessageBackArrow {
    cursor: pointer;
    font-size: 20px;
    color: #ffffff;
}

.mgClosePopupIcon {
    font-size: 18px;
    cursor: pointer;
    color: #ffffff;
}

/* ==================== Message Thread ==================== */
.mgMessageThread {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background-color: #f1f1f1;
}

.mgMessageItem {
    background-color: #e2e2e2;
    border-radius: 8px;
    padding: 10px 15px;
    margin-bottom: 10px;
    font-size: 14px;
    word-wrap: break-word;
}

.mgMessageItem strong {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.mgMessageItem.sent {
    background-color: #d1ffd1;
    text-align: right;
}

.mgMessageItem.received {
    background-color: #f7d1d1;
    text-align: left;
}

.mgLoadingMessage {
    text-align: center;
    font-size: 14px;
    color: #666;
}

.mgErrorMessage {
    text-align: center;
    font-size: 14px;
    color: red;
}

/* ==================== Input and Send Button ==================== */
.mgMessageInputContainer {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ddd;
    background-color: #ffffff;
}

.mgMessageInput {
    flex: 1;
    padding: 10px 15px;
    border-radius: 20px;
    border: 1px solid #ccc;
    outline: none;
    font-size: 14px;
}

.mgMessageInput:focus {
    border-color: #2196f3;
}

.mgSendMessageButton {
    background-color: #2196f3;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-left: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    cursor: pointer;
}

.mgSendMessageButton:hover {
    background-color: #1e88e5;
}

/* ==================== Back Arrow ==================== */
.mgBackArrow {
    font-size: 22px;
    cursor: pointer;
    color: #ffffff;
}

.mgBackArrow:hover {
    color: #f1f1f1;
}

/* ==================== No Scroll Class ==================== */
.no-scroll {
    overflow: hidden !important;
}








































/* Parent container for the report popup */
.popupReportContainer {
    display: none; /* Initially hidden */
    position: absolute;
    right: 1px;
    top: 1px; /* Adjust based on placement */
    align-items: center;
    justify-content: center;
    width: 0; /* Start with no width */
    height: 100px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 5px;
    color: #fff;
    z-index: 501;
    transition: all 0.4s ease; /* Smooth expand effect */
    overflow: hidden; /* Hide contents until fully expanded */
}

/* Visible state */
.popupReportContainer.active {
    display: flex;
    width: 150px; /* Expand horizontally */
}

/* Trigger inside the popup */
.popupTrigger {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}









































/* Initial popup styling */
.popup {
    position: absolute;
    width: 0; /* Start with no width */
    height: 0; /* Start with no height */
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0; /* Invisible initially */
    transition: all 0.4s ease; /* Smooth expand transition */
}

/* Expanded popup */
.popup.active {
    width: 200px;
    height: 200px;
    opacity: 1;
}

/* Report link */
.popup a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}
.popup a:hover {
    text-decoration: underline;
}































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





/* General popup styling */
#usersProfilePopup {
  display: none;  
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%; 
  z-index: 550;
  justify-content: center;
  /*align-items: center;*/
}
#usersProfilePopupBox {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;    
  position: relative;
  width: 100%;
  max-width:500px;
  height: 100%;
  background: white;
}
        /* Popup header styling */
            #popupHeader {
                display: flex;
                position: fixed;
                align-items: center;
                justify-content: flex-start;
                width: 100%;
                max-width: 500px;
                height: 70px;
                background: #f8f8f8;
                border-bottom: 1px solid #ddd;
                padding: 0 10px;
                box-sizing: border-box;
                z-index: 551;
            }
        
        /* Back arrow styling */
            #backArrow {
              font-size: 18px;
              cursor: pointer;
              color: #333;
            }

/* Content area styling */
#popupContent {
    display:flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-top:80px;
    /*background: pink; */
    width: 100%;
    max-width: 700px;
    height:800px;
    /*padding: 10px;*/
    overflow-y: auto;
    box-sizing: border-box;
}

























/*THIS ABOVE IS FOR NEW REDUE*/

.MainTable {
    /*background-color: pink; */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 45px; /* Prevent collapsing */
}
.InnerMainContainer {
    display: flex;
    justify-content: center;
    align-items: flex-start;  
    /*background-color: green; */
    max-width: 500px;
    width: 100%; /* Ensure it can shrink to fit the parent container */
    margin: 0 auto; /* Center horizontally within the parent */
    min-height: 1500px; /* Prevent collapsing */
}

.InnerMainTable {
    background-color: #ffffff;
    /*background-color: #befafa;*/
    max-width: 500px;
    width: 100%; /* Ensure it can shrink to fit the parent container */
    margin: 0 auto; /* Center horizontally within the parent */
    min-height: 1500px; /* Prevent collapsing */
}

.loading {
    text-align: center;
    margin: 20px 0;
}








/*writepost*/
.fixed-post-button {
    display:flex;
    justify-content: center;
    align-items: center;    
    position: fixed;
    bottom: 55px;
    /*left: 50%;*/
    /*transform: translateX(-50%);*/
    height: 80px;
    width: 100%;
    /*background-color: pink;*/
    color: white;
    text-align: center;
    font-size: 18px;
}
.fixed-post-buttonC {
    display:flex;
    justify-content: flex-end;
    align-items: center;    
    position: relative;

    height: 70px;
    max-width: 500px;
    width: 100%;
    /*background-color: green;*/
    color: white;
    text-align: center;
    font-size: 18px;
}


                    
.fixed-post-buttonB {
    display:flex;
    justify-content: center;
    align-items: center;    
    position: relative;
    margin-right: 15px;
    height: 50px;
    width: 50px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    /*padding: 5px;*/
    font-size: 18px;
    text-decoration: none;
    border-radius: 50%;
}















                    
 .pfProfilePicture {    
    display:flex;
    position: relative;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 150px;
    border-radius: 50%;
}                   
.pfProfileImage{
  width: 150px;
  height:150px;
  border-radius: 50%;
  /*margin-right: 10px;  */
} 
.pfProfileImageB{
  width: 60px;
  height:60px;
  border-radius: 50%;
  /*margin-right: 10px;  */
}
.pfUsername {    
    display:flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-top:5px;
    /*background-color: #818181;*/
    width: 100%;
    height: 40px;
}
.pfUsername1 {
    /*margin-top:4px;*/
    font-family: 'arial', sans-serif;
    color: #000000;
    font-size: 20px;
    font-weight: 400;
}                    
                    
.pfFollowStats {    
    display:flex;
    flex-direction:row;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-top: 10px;
    /*background-color: gold;*/
    width: 70%;
    height: 40px;
}
.pfFollowStats1 {    
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    /*margin-right:40px;*/
    /*background-color: #a1a1a1;*/
    width: 100px;
    height: 45px;
}
.pfA1 {    
    font-family: 'arial', sans-serif;
    color: #000000;
    font-size: 18px;
    font-weight: 600;
}
.pfA1B {    
    font-family: 'arial', sans-serif;
    color: #000000;
    font-size: 18px;
    font-weight: 600;
}
.pfA2 {
    margin-top:4px;
    font-family: 'arial', sans-serif;
    color: #000000;
    font-size: 14px;
    font-weight: 400;
}                    
                    
                    
.pfInformation {    
    display:flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-top:20px;
    /*background-color: #818181;*/
    width: 100%;
}
.pfInformation1 {    
    display:flex;
    /*flex-direction: column;*/
    align-items: center;
    position: relative;
    /*background-color: #a1a1a1;*/
    width: 50%;
    height: 25px;
}
.pfInformationA {    
    font-family: 'arial', sans-serif;
    color: #000000;
    font-size: 16px;
    font-weight: 600;
}
.pfInformationB {
    margin-left:5px;
    font-family: 'arial', sans-serif;
    color: #000000;
    font-size: 16px;
    font-weight: 400;
}                    
.pfInformationC {
    margin:5px 0 0 0;
    font-family: 'arial', sans-serif;
    color: #000000;
    font-size: 14px;
    font-weight: 400;
}                     
.pfFollowContainer {    
    display:flex;
    flex-direction:row;
    /*justify-content: space-between;*/
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top:20px;
    /*background-color: black;*/
    width: 100%;
    height: 40px;
}

.pfFollowbuttonsqueeze1 {
    display:flex;
    justify-content: center;
    align-items: center;
    position: relative;
    /*background-color: green;*/
    width: 82%;
    height: 30px;
}


.pfFollowbutton1 {    
    display:flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: red;
    /*background-color: #2196F3;*/
    font-family:  Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    width: 100px;
    height: 30px;
    border-radius: 6px;
    cursor: pointer;
}

.pfFollowbutton1.unfollow {
    background-color: #87CEFA; /* Lightblue for Unfollow */
}




















.pfFollowbutton2 {    
    display:flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-left:40px;
    /*margin-right:40px;*/
    background-color: #d1d1d1;
    width: 100px;
    height: 30px;
    border-radius: 6px;
    cursor: pointer;
} 


.pfFollowbutton2:hover {
    background-color: #b8b8b8;
}

/* The hidden popup covering the entire screen */
.message-popup {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
    z-index: 570;
    justify-content: center;
    align-items: center;
}

.message-popup-content {
    background-color: #fff;
    width: 100%;
    max-width: 500px;
    height: 100%;
    /*border-radius: 10px;*/
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.popup-header {
    background-color: #007bff;
    color: white;
    padding: 10px;
    text-align: center;
    position: relative;
}

.back-arrow {
    position: absolute;
    top: 10px;
    left: 10px;
    cursor: pointer;
    font-size: 20px;
}

.user-image-container {    
    display:flex;
    flex-direction: column;
    margin:10px 0 0 0;
    padding:5px;
    justify-content: center;
    align-items: center;
    position: relative;
    /*margin-right:40px;*/
    /*background-color: pink;*/
    border-bottom: 1px solid #ddd;
    width: 100%;
    height: 130px;
} 











.message-thread {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: #f9f9f9;
}

.message-input-container {
    display: flex;
    /*margin-bottom: 50px;*/
    border-top: 1px solid #ddd;
    height: 110px;
}
.message-input-container-spacer {
    display: flex;
    border-top: 1px solid #ddd;
    height: 25px;
    background-color: #f9f9f9;
}
#messageInput {
    flex-grow: 1;
    padding: 10px;
    border: none;
    outline: none;
}

#sendMessageButton {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

#sendMessageButton:hover {
    background-color: #0056b3;
}












.messages-container {
  display: flex;
  flex-direction: column; /* Maintain the order */
  overflow-y: auto; /* Enable scrolling */
  height: 400px; /* Adjust as needed */
  max-height: 100%; /* Prevent overflowing */
  border: 1px solid #ccc; /* Optional: for visualization */
}


.sender-message {    
    display:flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
    margin:10px 0 0 0;
    position: relative;
    width: 100%;
    min-height: 80px;
}

.receiver-message {    
    display:flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
    margin:10px 0 0 0;
    position: relative;
    width: 100%;
    min-height: 80px;
}






.messageTimeContainer {
    display:flex;  
    display: inline-block;
    text-align:center;
    padding: 0 0 5px 0;
    width: 98%;
    color: #707070;
    font-size: 12px;
}

.messageAcontainer {
  display:flex;  
  display: inline-block; 
  width: 98%;
  border-radius: 5px; 
  white-space: nowrap; 
}
.messageA {
  display: inline-block; 
  background-color: white; 
  padding: 10px; 
  border-radius: 10px;
  max-width: 100%;
  white-space: normal;
        color: #424242;
    font-size: 15px;
}


.messageAcontainerSender {
  display:flex;  
  justify-content: flex-end; 
  width: 98%;
  border-radius: 5px; 
  white-space: nowrap; 
}
.messageASender {
   display:flex; 
  justify-content: flex-end;
  max-width: 100%;
  background-color: #5b91c7; 
  padding: 10px; 
  border-radius: 10px;
  white-space: normal;
      color: #ffffff;
    font-size: 14px;
}






























                   
                    
.pfSubTitle {    
    display:flex;
    /*flex-direction: column;*/
    align-items: center;
    position: relative;
    margin-top: 44px;
    /*background-color: red;*/
    width: 90%;
    height: 30px;
}

.pfSubTitleText {
    display:flex;
    /*flex-direction: column;*/
    /*justify-content: center;*/
    align-items: center;
    position: relative;
    /*margin-top:4px;*/
    /*background-color: blue;*/
    width: 120px;
    height: 30px;
    /*margin-left:5px;*/
    font-family: 'arial', sans-serif;
    color: #000000;
    font-size: 20px;
    font-weight: 500;
}

.pfSubTitleLine {
    display:flex;
    /*flex-direction: column;*/
    /*justify-content: center;*/
    align-items: center;
    position: relative;
    /*margin-top:4px;*/
    /*background-color: gold;*/
    width: 76%;
    height: 2px;
    border-bottom-style: solid;
    border-width: 1px;
    border-color: #c9c9c7;
}                    
                    
.pfProposalsContainer {    
    display:flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-top:15px;
    /*background-color: pink;*/
    width: 95%;
    /*min-height: 150px;*/
    /*height:100%;*/
}

.pfProposalsTitleContainer {    
    display:flex;
    /*flex-direction: column;*/
    align-items: center;
    position: relative;
    
    /*background-color: tan;*/
    width: 90%;
    height: 25px;
}
        .pfProposalsTitleBox1 {    
            display:flex;
            /*flex-direction: column;*/
            align-items: center;
            position: relative;
            
            /*background-color: pink;*/
            width: 90%;
            height: 25px;
        }
        
                .pfProposalsTitleText {
                    display:flex;
                    /*flex-direction: column;*/
                    /*justify-content: center;*/
                    align-items: center;
                    position: relative;
                    /*margin-top: 10px;*/
                    /*background-color: tan;*/
                    /*width: 80%;*/
                    height: 25px;
                    /*margin-left:5px;*/
                    font-family: 'arial', sans-serif;
                    color: #454545;
                    font-size: 16px;
                    font-weight: 600;
                    padding:0 10px 0 0;
                    box-sizing: border-box; 
                }        
                .pfProposalsTitleDate {
                    display:flex;
                    /*flex-direction: column;*/
                    /*justify-content: center;*/
                    align-items: center;
                    position: relative;
                    /*margin-top: 10px;*/
                    /*background-color: pink;*/
                    /*width: 70%;*/
                    height: 25px;
                    /*margin-left:5px;*/
                    font-family: 'arial', sans-serif;
                    color: #219fd1;
                    font-size: 12px;
                    font-weight: 400;
                }       
       
        .pfProposalsTitleBox2 {    
            display:flex;
            justify-content: flex-end;
            align-items: center;
            position: relative;
            
            /*background-color: gold;*/
            width: 10%;
            height: 25px;
        }
                .pfProposalsTitleStats {    
                    font-family: 'arial', sans-serif;
                    color: #219fd1;
                    font-size: 12px;
                    font-weight: 400;
                }






.pfProposalsContent {
    display:flex;
    /*flex-direction: column;*/
    /*justify-content: center;*/
    align-items: center;
    position: relative;
    /*margin-top:4px;*/
    /*background-color: tan;*/
    width: 90%;
    /*height: 25px;*/
    margin-top:3px;
}
.pfProposalsContentText {
    margin-left:15px;
    font-family: 'arial', sans-serif;
    color: #454545;
    font-size: 16px;
    font-weight: 400;
}                    
                    
                    
.comment-item {
   
    display: flex;
    width: 100%;
    max-width: 480px;
    margin-bottom: 20px;
    /*background-color: pink;*/
    /*border-style: solid;*/
    /*border-width: 1px;*/
    /*border-color: #d9d9d9;*/
    /*border-top-left-radius: 15px;*/
    /*border-top-right-radius: 15px;*/
}

.cmt-pic {
   
    /*display: flex;*/
    width: 12%;
    min-width: 45px;

    /*background-color: red;*/
    /*border-style: solid;*/
    /*border-width: 1px;*/
    /*border-color: #d9d9d9;*/
    /*border-top-left-radius: 15px;*/
    /*border-top-right-radius: 15px;*/
}                    
                    
.profile-pic-comments {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}                    
                    
.cmt-content {
    width: 88%;
    /*max-width: 50px;*/

    /*background-color: pink;*/
}

        .cmt-user {
            width: 100%;
            min-height: 22px;
            font-family: 'Roboto', sans-serif;
            color: #696969;
            font-size: 14px;
            font-weight: 500;
            
            /*background-color: #f1befa;*/
        }
        
        .cmt-commenttext {
            width: 100%;
            min-height: 30px;
        
            /*background-color: #d1fabe;*/
        }
        
        .cmt-pTime {
            display: flex;
            
            width: 100%;
            min-height: 22px;
            
                
            border-bottom: 1px solid #ededed;
            font-family: 'Roboto', sans-serif;
            color: #696969;
            font-size: 14px;
            font-weight: 500;
            
        
            /*background-color: #faeebe;*/
        }                    
                    
                     .cmt-pTime1 {
                        display: flex;
                        width: 60%;
                        /*min-height: 30px;*/
                        /*background-color: #baa038;*/
                    }
                    
                    
                    
                    /*xxxx*/
                    .clicked {
                    cursor: not-allowed;
                        color: #92a2a6;
                        font-size: 19px;
                    }                    
                    
                    
            
                    .cmt-pTime2 {
                        display: flex;
                         justify-content: flex-end;
                        width: 20%;
                        font-family: 'Roboto', sans-serif;
                        color: #92a2a6;
                        font-size: 18px;
                        /*min-height: 30px;*/
                        /*background-color: #73d3eb;*/
                    }
                    
                    .cmt-pTime2span {
                        margin-left: 10px;
                        font-family: 'Roboto', sans-serif;
                        color: #696969;
                        font-size: 12px;
                        font-weight: 500;
            
                    }                    
                    
                    
                    
                    
                    .thumbs-up-active {
                        color: #219fd1;
                        font-size: 18px;
                    } 
                    
                    .thumbs-up-notactive {
                        color: #c0cccf;
                        font-size: 18px;
                        cursor: pointer;

                    }
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
.cmt-pTime3 {
    display: flex;
    justify-content: flex-end;
    width: 20%;
    font-family: 'Roboto', sans-serif;
    color: #92a2a6;
    font-size: 18px;
    /*font-weight: 100;*/
    /*min-height: 30px;*/
    /*background-color: #b2e9f7;*/
}

.cmt-pTime3span {
    margin-left: 10px;
    font-family: 'Roboto', sans-serif;
    color: #696969;
    font-size: 12px;
    font-weight: 500;

}                    
                    
                    .thumbs-down-active {
                        color: #219fd1;
                        font-size: 18px;
                    } 
                    
                    .thumbs-down-notactive {
                        color: #c0cccf;
                        font-size: 18px;
                        cursor: pointer;

                    }
                    /*xxxx*/
                    .thumbs-down {
                        color: #92a2a6;
                        font-size: 18px;
                        cursor: pointer;

                    }                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
.rateDivSizer {
    /*background-color: lightyellow;*/
    
    display:flex;
    flex-direction: column;
    position: absolute;
    top: 2px; bottom: 2px;
    left: 2px; right: 2px;
}

.ratingStatsPrinted {
    /*background-color: pink;*/
    
    margin-top: auto;
    position: relative;
}

.lineCase {
    /*background-color: tan;*/
    
    display:flex;
    flex-direction: column;
    margin-bottom:15px;
    align-items: center;
    width: 99%;
}                    
                    
                    
 .line1 {
    /*background-color: lightgreen;*/
    
    display:flex;
    justify-content: center;
    margin-top:2px;
    margin-bottom:5px;
    width: 99%;
    /*color: #cfcfcf;*/
}                   

.line1B {
    /*background-color: lightgreen;*/
    
    display:flex;
    justify-content: center;
    margin-top:2px;
    margin-left:10px;
    width: 95%;
}

.line2A {
    /*background-color: yellow;*/
    
    text-align: center;
    width:43px;
    font-family:  Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #cfcfcf;
}

.line2B {
    /*background-color: pink;*/
    
    width:117px;
    font-family:  Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #cfcfcf;
}

.linePercentCasing {
    /*background-color: purple;*/
    
    display:flex;
    justify-content: center;
    margin-top:15px;
    margin-left:10px;
    width: 95%;
}

.linePercentInnerCasing {
    /*background-color: grey;*/
    background-color: #cfcfcf;
    /*background-color: #a2a2a3;*/
    display:flex;
    flex-direction: column;
    justify-content: center;
    border-style: solid;
    border-width: 1px;
    border-radius: 5px;
    border-color: #d9d9d9;
    width: 150px;
}

/*percentage word*/
.line3 {
    /*background-color: lightgreen;*/
    
    margin-top: 2px;
    margin-left: 8px;
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 500;
    /*color: #696969;*/
    color: #000000;
    width: 80%;
}


.line4 {
    /*background-color: yellow;*/
    
    display: flex;
    position: relative;
    justify-content: center;
    margin-left: 8px;
    width:90%;
    height: 90%;
    min-height: 50px;
}

.line4Block {
    /*background-color: pink;*/
    
    font-size: 30px;
    font-weight: 700;
    color: #000000;
    text-align: center;
}

                    
.line1SpanHa {
    /*background-color: white;*/
    
    font-family:  Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #cfcfcf;
}

.line1Span {
    /*background-color: white;*/
    
    font-family:  Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #cfcfcf;
}                    
                    
                    
                    
                    
.line5 {
    /*background-color: black;*/
    
    margin-top:10px;
    /*margin-left:25px;*/
    font-size: 20px;
    font-weight: 500;
    color: #45a7d9;
}

.line5Red {
    /*background-color: black;*/
    
    margin-top:10px;
    /*margin-left:25px;*/
    font-size: 20px;
    font-weight: 500;
    color: #c46e6e;
}                    
                    
/*---------------------- CSS for the load_more_posts.php -------------------------*/


.postContainer {    
    display:flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin: 0 auto;
    margin-top: 10px;
    padding: 5px 0 0 0;
    background-color: white;
    max-width: 480px;
    width: 96%;
    min-height: 100px;
    border-style: solid;
    border-color: #d9d9d9;
    border-width: 1px;
    border-radius: 10px;
}
        
.profileInfo {    
    display: flex;
    width:95%;
    align-items: flex-start;
    /*background-color:pink;*/
}

.followTag1 {    
    /*display:flex;*/
    /*flex-direction: column;*/
    /*justify-content: center;*/
    /*align-items: center;*/
    position: absolute;
    /*margin: 0 auto;*/
    top: 30px;

    left:35px;
    /*padding: 5px 0 0 0;*/
    background-color: white;
    
    /*width: 25px;*/
    /*height: 25px;*/
    /*border-style: solid;*/
    /*border-color: #d9d9d9;*/
    /*border-width: 1px;*/
    border-radius: 50%;
}

.followTag3 {    
    /*display:flex;*/
    /*flex-direction: column;*/
    /*justify-content: center;*/
    /*align-items: center;*/
    position: absolute;
    /*margin: 0 auto;*/
    top: 30px;

    left:35px;
    /*padding: 5px 0 0 0;*/
    background-color: white;
    
    /*width: 25px;*/
    /*height: 25px;*/
    /*border-style: solid;*/
    /*border-color: #d9d9d9;*/
    /*border-width: 1px;*/
    border-radius: 50%;
}









.followTag2 {    
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    /*margin: 0 auto;*/
    top: 30px;

    left:35px;
    /*padding: 5px 0 0 0;*/
    background-color: black;
    
    width: 20px;
    height: 20px;
    border-style: solid;
    border-color: #ffffff;
    border-width: 2px;
    border-radius: 50%;
}

/*#0492cf*/

.followTag6 {    
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    /*margin: 0 auto;*/
    top: 30px;

    left:35px;
    /*padding: 5px 0 0 0;*/
    background-color: black;
    
    width: 20px;
    height: 20px;
    border-style: solid;
    border-color: #000000;
    border-width: 1px;
    border-radius: 50%;
}
.followTagClick {    
    display:flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    
 
    /*background-color: tan;*/

    width: 100px;
    height: 48px;
cursor:pointer;
z-index: 11;
}

.profileImage{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;  
}

.nameDate {
    /*background-color: tan;*/
    width: 83%;
    height: 45px;
    position: relative;
}
.ellipse3 {
    /*background-color: pink;*/
    width: 12%;
    height: 45px;
    position: relative;
    cursor: pointer;
}
.topLine {
    font-size: 16px;
    font-weight: bold;
    color: black;
    position: absolute;
    top: 0;
    left: 0;
}

.bottomLine {
    font-size: 12px;
    font-weight: normal;
    color: #20a8f7;
    position: absolute;
    bottom: 10px;
    left: 0;
}

.endTop {
    font-size: 22px;
    font-weight: normal;
    color: #ccc;
    position: absolute;
    top: 5px;
    right: 10px;
}

.postedImage {    
    display:flex;
    flex-direction: column;
    align-items: center;
    /*position: relative;*/
    /*margin: 0 auto;*/
    /*margin-top: 10px;*/
    margin: 5px 1px 1px 1px;
    /*padding: 5px 0 0 0;*/
    /*background-color: red;*/
    /*max-width: 580px;*/
    width: 95%;
    min-height: 200px;

}        
        
 .imgCase { 
    border-radius: 3%; 
    width: 95%;
}


/*THIS IS THE POPUP with boarder radius*/
.ratingStatsPopup {
    
    /*background-color: #f5f7fa;*/
     background-color: #000000;
    display: none;
    flex-direction: column;
    color: #000000;
    font-size: 20px;
    position: absolute;
    bottom: 10%; 
    left: 3%; 
    width: 94%;
    min-height: 280px;
    border-style: solid;
    border-width: 1px;
    border-radius: 5px;
    border-color: #5c5c5c;
    /*box-shadow: 16px 2px 16px rgba(0, 0, 0, 0.6);*/
    align-items: center;
    overflow: hidden; /* Disable scrolling */
    z-index: 10; /* Ensure it sits above other elements */
    transition: height 0.3s ease; 
}

 .postText {
    margin: 15px 1px 20px 1px;
    text-align: left;
    width: 95%;
}




 .spanText {
    word-wrap: break-word; /* Break long words */
    word-break: break-word; /* Break words for older browsers */
    overflow-wrap: break-word; /* Modern equivalent of word-wrap */
    font-family: 'arial', sans-serif;
    font-size: 20px;
    width: 95%;
} 

.extras {    
    display:flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    min-height: 40px;
    /*height:100%;*/

} 

.fireStatus {
    color: #219fd1;
    cursor: pointer;
    font-size: 18px; /* Increase size by 5px or as desired */
}

.fireStatus.unfireStatus {
    cursor: pointer;
    color: blue; /* New color after rating */
    font-size: 25px; /* Increase size by 5px or as desired */
}





.like-container1 {    
    display:flex;
    position: relative;
    overflow: visible;
    justify-content: center;
    align-items: center;
    /*background-color: yellow;*/
    width: 19%;
    min-height: 25px;

}

.like-container2 {    
    display:flex;
    /*flex-direction: column;*/
    /*align-items: center;*/
    /*position: relative;*/
    /*margin: 0 auto;*/
    margin-right: 2px;
    justify-content: center;
    align-items: center;
    /*margin: 0 2px 0 2px;*/
    /*padding: 5px 0 0 14px;*/
    /*background-color: red;*/
    /*border-radius: 10%; */
    width: 20%;
    min-height: 25px;

} 


.like-container3 {    
    display:flex;
    /*flex-direction: column;*/
    /*align-items: center;*/
    /*position: relative;*/
    /*margin: 0 auto;*/
    margin-right: 2px;
    justify-content: center;
    align-items: center;
    /*margin: 0 2px 0 2px;*/
    /*padding: 5px 0 0 14px;*/
    /*background-color: red;*/
    /*border-radius: 10%; */
    width: 20%;
    min-height: 25px;

}

.like-heart {
    cursor: pointer;
    font-size: 20px;
    margin-right: 5px;  
    color: #ccc;
}

/*from posts.php in ajax call*/
 .like-heart.liked {
    cursor: pointer;
    font-size: 20px;
    margin-right: 5px;
    color: red;
} 

.like-container4 {
    display:flex;
    justify-content: center;
    align-items: center;
    position: relative; /* Necessary to anchor the absolutely positioned popup */
    overflow: visible; /* Allow the popup to extend beyond the boundaries */
    /*background-color: pink;*/
    
    color: #ccc;
    /*color: #219fd1;*/
    font-size: 20px;    
    
       width: 15%;
    min-height: 25px;
}

.rating-icon {
    cursor: pointer;
    color: #ccc; /* New color after rating */
    font-size: 18px; /* Increase size by 5px or as desired */
}

.rating-icon.rated {
    cursor: pointer;
    color: #219fd1; /* New color after rating */
    font-size: 25px; /* Increase size by 5px or as desired */
}

.rating-popup {
    /*display: flex;*/
    flex-direction: column;
    align-items: center;
    color: #ffffff;
    font-size: 20px;
    position: absolute;
    bottom: 150%; 
    left: 45%; /* Center horizontally within the container */
    transform: translateX(-50%); /* Adjust to center perfectly */
    max-width: 70px;
    max-height: 700px; /* Set max height for expansion */
    background-color: rgba(0, 0, 0, 0.6); /* Black background with 60% opacity */
    border: none; /* No border */
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 10px;

    overflow: hidden; /* Disable scrolling */
    z-index: 10; /* Ensure it sits above other elements */
    transition: max-height 0.3s ease; /* Smooth expansion */
}

.rating-option {
    cursor: pointer;
    padding: 5px;
    text-align: center;
    width: 100%;
}

.rating-option:hover {
    background-color: #f0f0f0;
}










.like-container5 {    
    display:flex;
    /*flex-direction: column;*/
    /*align-items: center;*/
    /*position: relative;*/
    /*margin: 0 auto;*/
    margin-right: 2px;
    justify-content: center;
    align-items: center;
    /*margin: 0 2px 0 2px;*/
    /*padding: 5px 0 0 14px;*/
    /*background-color: tan;*/
    /*border-radius: 10%; */
    width: 21%;
    min-height: 25px;

}

.comment-icon {
    cursor: pointer;
    color: #219fd1; /* New color after rating */
    font-size: 22px; /* Increase size by 5px or as desired */
}


.comment-popup {
    z-index: 20;
    display: none;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 98%;
    max-width: 480px;
    height: 75vh; /* Covers 70% of the viewport height */
    background-color: white;
    border-style: solid;
    border-width: 1px;
    border-color: #d9d9d9;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    /*box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.2);*/
    overflow-y: auto; /* Enables scrolling if content exceeds the height */
}

.comment-popup-header {
   position: sticky;
    top: 0;
    padding: 10px 5px;
    height: 35px;
    background-color: #f1f1f1; /* Light background for the header */
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    text-align: center;
    font-weight: bold;
}

.new-comment {
    display: none;
    padding: 15px;
        overflow: auto;
    /*max-height: 600px; */
    /* Set the max height or adjust as needed */

}

.new-comment::-webkit-scrollbar {
    display: none; /* For Chrome, Safari, and Opera */
}

.comment-popup-content{
    padding: 15px;
        overflow: auto;
    /*max-height: 600px; */
    /* Set the max height or adjust as needed */

}

.comment-popup-content::-webkit-scrollbar {
    display: none; /* For Chrome, Safari, and Opera */
}

.comment-popup-footer {
    display: flex;
    /*align-items: center;*/
    background: #ffffff;
    /*background: green;*/
    height: 110px;
    
    border-top: 1px solid #ccc;
    position: sticky;
    bottom: 30px;
    width: 100%;
}

.flex-form {
  display: flex;
  /*background: red;*/
  padding: 10px;
  width: 98%;
  flex-direction: column; /* Or 'row' if you prefer horizontal alignment */
  gap: 10px; /* Space between elements */
}

.picAndInputWrap {
    display: flex;
    /*background: pink;*/

    width: 98%;
}

.profile-pic-container {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.profile-pic {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.input-container {
    flex-grow: 1;
}

#commentInput {
    width: 100%;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
}

.submit-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 90px;
    margin-left: 10px;
    /*background: pink;*/
    /*padding-bottom: 100px;*/

    width: 98%;
}

.submit-button {
    display: flex;
      position: absolute;
  top: 45px;
  right: 20px;
    
    justify-content: center;
    
    width: 70px;
    height: 30px;
    background: red;
    font-size: 20px;
    color: white;

    border-radius: 10px;
    cursor: pointer;
}
.submit-button.disabled {
    
        display: flex;
      position: absolute;
  top: 45px;
  right: 20px;
    
    justify-content: center;
    
    width: 70px;
    height: 30px;
    background: red;
    font-size: 20px;
    color: white;

    border-radius: 10px;
    
    opacity: 0.5; /* Make it look disabled */
    cursor: none; /* Change the cursor to indicate non-clickable */
}



@media (max-width: 450px) {
    

.line3 {

    font-size: 15px;
    font-weight: 500;
    /*min-height: 15px;*/
}
.line4 {
    /*background-color: yellow;*/
    min-height: 40px;
}
.line4Block {
    font-size: 25px;
}

}








                    
                    
                    
                    
                    
                    
                    
                    
                    