﻿.drop-area {
    width: 100%; /*Full width */
    height: 100%; /*Full height */
    /*border: 2px dashed #007bff;*/
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F6F6F6; /* Add background color */
}

.drop-area.dragging {
    background-color: #e9ecef; /* Highlight when dragging */
}

.drop-message {
    font-size: 16px;
    color: #6c757d;
}

.preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

    .preview-container .input-image {
        position: relative;
        width: 100px;
        height: 100px;
        border: 1px solid #ddd;
        border-radius: 5px;
        overflow: hidden;
    }

        .preview-container .input-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .preview-container .input-image button {
            position: absolute;
            top: 5px;
            right: 5px;
            background-color: rgba(0, 0, 0, 0.5);
            border: none;
            color: white;
            border-radius: 50%;
            padding: 5px;
            cursor: pointer;
        }

.img-fluid {
    max-width: 100%;
    height: auto;
   /* margin-bottom: 1rem;*/
}
/* question-post-view*/
/* Center the loader in the modal */
#modal-image-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#modal-video-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/* Loader Styles */
.loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8); /* White blur background */
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 1061;
}


.loader {
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid #007bff; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

textarea.autogrow {
    overflow-y: hidden; /* Prevent scroll bar from appearing */
    resize: none; /* Prevent manual resizing by the user */
    min-height: 50px; /* Optional: Set a minimum height */
    width: 100%; /* Ensure it takes up the full width */
    box-sizing: border-box; /* Ensure padding is included in the width */
}


/* Ensuring the carousel items are centered */
.modal-fullscreen {
    background-color: black;
}

    .modal-fullscreen .btn-close,
    .modal-fullscreen .btn {
        z-index: 1051; /* Ensure buttons are above everything else */
    }

    .modal-fullscreen #btn-image-fullscreen {
        top: 10px;
        right: 10px;
        position: absolute;
    }

    .modal-fullscreen #btn-video-fullscreen {
        top: 10px;
        right: 10px;
        position: absolute;
    }



/* Autocomplete */
/* Style for the suggestion container */
.autocomplete-items {
    /*border: 1px solid #ccc;*/
    background-color: #fff;
    max-height: 200px;
    overflow-y: auto;
    /*position: absolute;*/
    z-index: 1000;
    width: 100%;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Style for each suggestion item */
.suggestion-item {
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

    .suggestion-item:hover {
        background-color: #f1f1f1;
    }

/* Style for the image thumbnail */
.suggestion-thumbnail {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

/* Style for the suggestion details */
.suggestion-details {
    display: flex;
    flex-direction: column;
}

/* Style for the video name */
.suggestion-name {
    font-size: 16px;
    font-weight: bold;
}

/* Style for the category */
.suggestion-category {
    font-size: 14px;
    color: #6c757d;
}

/* Style for the video duration */
.suggestion-duration {
    font-size: 12px;
    color: #6c757d;
}

.preview-container .input-image {
    position: relative;
    width: 100px;
    height: 100px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.preview-container .input-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-container .input-video button {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    border-radius: 50%;
    padding: 5px;
    cursor: pointer;
}

.cursor-pointer {
    cursor: pointer;
}

    .cursor-pointer:hover {
        color: #454E5C; /* Changes text color on hover */
    }

/*.carousel-inner {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 100vh;*/ /* Or adjust height as per your requirement */
/*}

.carousel-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;*/ /* Ensure each item takes full height */
/*}

    .carousel-item img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;*/  /*Maintain the original aspect ratio of the image */
        /*transition: transform 0.5s ease-in-out;*/  /*Smooth transition effect */
    /*}*/

/*new test css code*/
.carousel-item img {
    max-height: 100vh; /* Set a maximum height for the images relative to the viewport */
    width: auto;
    object-fit: contain; /* This ensures the entire image fits inside the modal */
    margin: 0 auto;
}


.carousel-control-next, .carousel-control-prev {
    width: 6% !important;
}

.posted-media {
    width: 100% !important;
    object-fit: cover; /* Ensures that the content covers the container evenly */
    height: -webkit-fill-available;
}

.custom-image {
    position: relative;
    width: 100%; /* Ensure it takes full width of the parent */
}

.custom-image-text {
    word-wrap: break-word; /* Break the URL if it's too long */
    overflow-wrap: break-word; /* Support for breaking long words/URLs */
    white-space: normal; /* Ensure the text wraps within the container */
    max-width: 100%; /* Ensure it doesn't overflow the container */
    display: block; /* Ensure it takes full block space */
}

.custom-padding-single-post {
/*    padding-top: 4px;
    padding-bottom: 4px;*/
}

.custom-padding-odd-post {
/*    padding-right: 4px !important;
    padding-bottom: 8px !important;*/
}

.custom-padding-even-post {
/*    padding-left: 4px !important;
    padding-bottom: 8px !important;*/
}

.custom-video{
    /*width: 960px !important;*/
}

.custom-padding-last-posts {
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
}

/* Default styling */
.like-reply input[type=checkbox] + label {
    position: relative;
    padding-left: 35px;
    display: inline-block;
    font-size: 16px;
}

/* When the checkbox is checked (liked) */
.like-reply input[type=checkbox]:checked + label:after {
    content: "❤";
    font-size: 18px;
    position: absolute;
    top: -1px;
    left: 5px;
    color: red;
    transition: 0.5s ease;
}

/* If the like count is greater than 0, show the red heart without needing to check the box */
.like-reply .liked label:after {
    content: "❤";
    font-size: 18px;
    position: absolute;
    top: -1px;
    left: 5px;
    color: red;
    transition: 0.5s ease;
}

/* Default styling for unliked state */
.like-reply label:after {
    content: "❤";
    font-size: 18px;
    position: absolute;
    top: -1px;
    left: 5px;
    color: grey;
}

/* for new load mor button loader */
.load-btn {
    display: inline-flex;
    align-items: center;
}

.load-btn .loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

/* Ensure the form wrapper uses flexbox to center the button */
.center-button {
    display: flex;
    justify-content: center; /* Horizontally centers the button */
    align-items: center; /* Vertically centers the button */
    width: 100%; /* Ensure it takes full width */
    margin-top: 20px; /* Add some space at the top if needed */
}

/*video css*/
/* Ensure lite-vimeo always displays with a fixed width */
/*lite-vimeo {
    display: block;
    max-width: 960px;*/ /* You can adjust this as needed */
    /*width: 100%;*/ /* Allow it to scale to the parent width */
    /*height: auto;*/ /* Ensure it keeps the aspect ratio */
    /*margin: 0 auto;*/ /* Center the video */
/*}*/

/* Maintain the aspect ratio for the video container */
/* Ensure lite-vimeo always displays with a fixed width */
.col-md-12 lite-vimeo {
    display: block;
    /*min-width: 960px;*/  /*You can adjust this as needed */
    width: 100%;  /*Allow it to scale to the parent width */
    height: auto;  /*Ensure it keeps the aspect ratio */
    margin: 0 auto;  /*Center the video */
}
.col-md-12 embed-responsive-16by9 {
    position: relative;
    padding-bottom: 56.25%;  /*16:9 aspect ratio */
    height: 0;
}
.col-md-12 embed-responsive-16by9 iframe, .col-md-12 embed-responsive-16by9 lite-vimeo {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
}

/*Ensure the lite-vimeo displays for col-md-6 */ 










/*video caraousel*/
/*.carousel-item {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}*/

.video-js {
    width: 100%;
    height: auto;
    max-width: 960px; /* You can adjust this */
}

/*for give circle effect on hover to button*/
.hover-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 35px; /* Adjust the width */
    height: 35px; /* Adjust the height to make it circular */
    border-radius: 50%; /* Ensures the button is round */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.hover-circle:hover {
        background-color: #e0e0e0; /* Grey background on hover */
        transform: scale(1.1); /* Slight scale for hover effect */
    }

.hover-circle i {
        font-size: 16px; /* Adjust icon size */
    }


.mention {
    background-color: transparent;
    color: #2ba6cb;
    text-decoration: none;
    cursor: pointer;
    padding: 0px;
    border-radius: 4px;
    font-size: 14px;
}

.ql-mention {
    color: #007bff; /* Blue color for mentions */
    font-weight: bold;
}


/*.autocomplete-items {
    border: 1px solid #ccc;
    background-color: #fff;
    max-height: 150px;
    overflow-y: auto;
    z-index: 9999;
    position: absolute;
}

.autocomplete-item {
    padding: 5px;
    cursor: pointer;
}*/

.tribute-demo-input {
    outline: none;
    border: 1px solid #eee;
    padding: 3px 5px;
    border-radius: 2px;
    font-size: 15px;
    min-height: 32px;
    cursor: text;
}

    .tribute-demo-input:focus {
        border-color: #d1d1d1;
        background-color: #fbfbfb;
    }

/*[contenteditable="true"]:empty:before {
    content: attr(placeholder);
    display: block;
    color: #ccc;
    pointer-events: none;
}*/

/*classes for mentions*/

.mentionable:empty:before {
    content: attr(placeholder);
    color: #888;
    pointer-events: none; /* Ensure placeholder text is not selectable */
}

.mentionable:focus:before {
    content: ''; /* Remove placeholder on focus */
}


.tribute-container{
    width:30%;
}

.tribute-container li {
    padding: 0px !important;
}

/*test for justify gallery*/

#media-gallery .media-item img {
    width: 100%;
    height: auto;
}

.posted-video {
    margin-top: 5px;
}

/*.embed-responsive {
    position: relative;
    display: contents;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.embed-responsive-16by9 {
    padding-top: 56.25%;
}

.embed-responsive .embed-responsive-item {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}*/

.video-gallery {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    width: 100%; /* Ensures full width for each video */
    /*gap: 10px;*/ /* Space between videos */
}

.embed-responsive {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

    .embed-responsive iframe,
    .embed-responsive video,
    .embed-responsive lite-youtube,
    .embed-responsive lite-vimeo {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.vp-center {
    display: grid !important;
}


/*pohototalk search*/
.modal-fullscreen {
    transform: translateY(-100%);
    transition: transform 0.5s ease-in-out;
    
}

#searchModal .modal-fullscreen {
    height: auto;
}

.modal .show {
    transform: translateY(0);
}

#searchModal .modal-header .logodv a img {
    max-height: 50px; /* Adjust as needed */
    width: auto;
}

#searchModal .modal-header {
    padding: 1rem;
}

/*css style form tabs custom*/
.project-tab {
    /*    padding: 10%;
    margin-top: -8%;*/
}

    .project-tab #tabs {
        background: #007b5e;
        color: #eee;
    }

        .project-tab #tabs h6.section-title {
            color: #eee;
        }

        /*.project-tab #tabs .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {*/
           /* color: var(--c-83C129);*/
            /*color: #4c7cba;
            transition: none;
            background-color: transparent;*/
            /*border: 0px;*/
            /*border-color: transparent transparent #f3f3f3;
            border-bottom: 3px solid !important;
            font-size: 16px;
            font-weight: bold;
        }*/

        /* Default styles for project-tab */
        .project-tab #tabs .nav-tabs .nav-item.show .nav-link,
        .project-tab .nav-tabs .nav-link.active {
            color: var(--c-83C129); /* Default color */
            background-color: transparent;
            border-color: transparent transparent #f3f3f3;
            border-bottom: 3px solid !important;
            font-size: 16px;
            font-weight: bold;
            transition: none;
        }



    .project-tab .nav-tabs .nav-link {
        border: 0px;
    }

    .project-tab nav {
        float: none;
        padding: 0px;
    }

    .project-tab .nav-link {
        /*    border: 1px solid transparent;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;*/
        transition: none;
        color: var(--c-454E5C);
        font-size: 16px;
        font-weight: 600;
    }

        .project-tab .nav-link:hover {
            border: none;
            transition: none;
        }

    .project-tab thead {
        background: #f3f3f3;
        color: #333;
    }

    .project-tab a {
        text-decoration: none;
    }

#inviteMemberModal .project-tab a {
    color: #333;
    font-weight: 600;
}

#allMemberModal .project-tab a {
    color: #333;
    font-weight: 600;
}

/*.comment {
    margin-left: calc(var(--level , 0) * 20px);
}*/

.comment {
    margin-left: calc((var(--level, 1) - 1) * 30px);
    margin-bottom: 1rem !important;
}

p {
    margin-bottom: 0.5rem !important;
}


/*testing form content*/
/*@media (max-width: 1366px) {
    .container {
        padding: 10px;*/  /*Reduce padding for smaller screens */
    /*}

    .content-box {
        font-size: 14px;*/ /* Adjust text size */
    /*}
}*/

/*.container {
    max-width: 100%;*/  /*Ensure it does not exceed the viewport width */
    /*width: 90%;*/  /*Adjust width to occupy 90% of the viewport */
    /*margin: 0 auto;*/ /* Center the content */
    /*overflow-x: hidden;*/ /* Prevent horizontal scrolling */
/*}


.content-box {
    max-width: 100%;
    padding: 1rem;
    box-sizing: border-box;*/  /*Include padding and border in width */
/*}

body {
    overflow-x: hidden;
}*/

.midwhi {
    max-width: 1200px; /* Ensures it doesn't exceed the viewport width */
    width: 100%; /* Allows it to shrink dynamically */
    margin: 0 auto; /* Centers the container */
    padding: 0; /* No unnecessary padding */
    overflow: hidden; /* Prevents content overflow */
}

/*.break-text {
    word-break: break-all;
}*/

.break-text {
    word-break: break-all;
    color: #0d6efd;
    text-decoration: none; /* Ensures no underline by default */
}

    .break-text:hover {
        text-decoration: underline;
    }

.justified-gallery img {
    object-fit: contain; /* Maintain the full image without cropping */
    width: 100%;
    height: auto;
    /*padding: 5px;*/
    background-color: #fff; /* Optional: Set background for padding */
}

.last-row-single {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;  /*Ensure background doesn't spill */
   /* border-radius: 5px;  Optional: Add rounded corners */
}

    .last-row-single::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: inherit;  /*Use the parent div's background */
        filter: blur(10px);
        z-index: 1;
    }

    .last-row-single img {
        position: relative;
        z-index: 2;
        object-fit: contain;  /*Ensure no distortion */
        max-height: 100%;
    }


.notification-wrapper .name {
    display: flex; /* Ensures content stays in a single line */
    align-items: center; /* Aligns items vertically */
    gap: 5px; /* Adds spacing between elements */
    max-width: 100%; /* Full width on bigger screens */
    overflow: hidden;
    white-space: nowrap; /* Prevents wrapping */
}

    /* Style for child elements */
    .notification-wrapper .name .notification-type,
    .notification-wrapper .name .post-snippet {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
    }


/* Show button on hover (For Desktops) */
@media (hover: hover) {
    .notification-wrapper:hover .button-wrapper {
        opacity: 1;
    }
}

@media (max-width: 768px) {
/*    .circletag {
        width: 30px;
        height: 30px;
    }*/

   .circletag i {
            font-size: 1em;
        }

    .notification-wrapper .name {
        max-width: 250px;
        flex-wrap: nowrap; /* Prevents wrapping */
    }
}

.notification-wrapper {
    display: flex;
   /* align-items: center;*/
    /*justify-content: space-between;*/
    padding: 8px 0px 8px 0px;
    position: relative;
    transition: background 0.2s ease-in-out;
}

/* Hide the button initially */
.button-wrapper {
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    pointer-events: none;
}


/* Show button when hovering on desktop */
/*.notification-wrapper:hover .button-wrapper {
    opacity: 1;
    pointer-events: auto;
}*/

/* Show button on mobile when clicked */
/*.notification-wrapper.active .button-wrapper {
    opacity: 1;
    pointer-events: auto;
}*/

/* Ensures button is always clickable */
/*.notification-wrapper .button-wrapper .btn {
    pointer-events: auto;
}*/

/* Ensure tab-content div is positioned correctly */
.tab-pane {
    /*position: relative;*/
    min-height: 100px; /* Prevents collapsing when empty */
}

    /* Black overlay applied only when loading */
    .tab-pane.loading::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3); /* Semi-transparent black */
        z-index: 10;
        border-radius: 5px;
    }

    /* Spinner centered in the loading tab */
    .tab-pane.loading::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 35px;
        height: 35px;
        border: 4px solid rgba(255, 255, 255, 0.8); /* White spinner for visibility */
        border-top: 4px solid transparent;
        border-radius: 50%;
        animation: spin 0.8s linear infinite;
        z-index: 11;
        transform: translate(-50%, -50%);
    }

/* Loader animation */
@keyframes spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}


.notification-wrapper {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between image and content */
    width: 100%;
}

.profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.msg-content-wrapper {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0; /* Prevents overflow */
}

.msg-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.msg-info {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%; /* Ensures it doesn't overflow */
}

#messagesList {
    max-height: 500px; /* Adjust based on your layout */
    overflow-y: auto;
}


.item-avatar img {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    aspect-ratio: 1;
    -o-object-fit: contain;
    object-fit: contain;
    -o-object-position: center;
    object-position: center;
    border: 2px solid rgb(223, 230, 238);
}

.item-avatar {
    flex-shrink: 0; /* Prevents shrinking */
    width: 40px; /* Adjust as needed */
    height: 40px;
}

    .item-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Ensures proper scaling */
    }

.item-content {
    flex-grow: 1;
    min-width: 0; /* Prevents content from expanding too much */
}


    .content-list-item .item-content .item-content-media .file-gallery .input-image {
        position: relative;
        width: 205px;
        height: 240px;
        flex-grow: 0;
        flex-shrink: 0;
        background: var(--c-f6f6f6);
    }

        .content-list-item .item-content .item-content-media .file-gallery .input-image .custom-image {
            position: absolute;
            width: 100%;
            height: 100%;
            flex-grow: 0;
            flex-shrink: 0;
            display: grid;
            place-items: center;
        }

            .content-list-item .item-content .item-content-media .file-gallery .input-image .custom-image img {
                width: 56px;
                height: auto;
            }

            .content-list-item .item-content .item-content-media .file-gallery .input-image .custom-image .custom-image-text {
                text-align: center;
                font-size: 14px;
                font-weight: 400;
                line-height: 20px;
                position: absolute;
                bottom: 8px;
                left: 50%;
                transform: translateX(-50%);
                padding: 0px 4px;
            }


        .content-list-item .item-content .item-content-media .file-gallery .input-image img {
            width: 100%;
            height: 100%;
            -o-object-fit: cover;
            object-fit: cover;
        }

.content-list-item i {
    font-size: 30px;
    -o-object-fit: contain;
    object-fit: contain;
    color: #6c757d;
}

.content-list-item .item-actions i {
    font-size: 16px;

}

.file-gallery {
    display: flex;
    flex-direction: row;
    width: 100%;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-start;
}

.chat-container {
    display: flex;
    flex-direction: column;
    height: 100%; /* or 100vh if full screen */
}

#chatMessages {
    flex: 1;
    overflow-y: auto;
}

/*#chatMessages {
    max-height: 600px;*/ /* or set a fixed height like 500px */
    /*overflow-y: auto;
    padding-right: 8px;*/ /* optional, for scrollbar spacing */
/*}*/















