body {
    padding-top: 10px;
    color: #555353;
    font-weight: 200;
}
p {
    font-weight: 300;
}

.navbar-brand {
    font-size: 1.8em;
}

/* .container {
    margin-top: 20px;
} */

.footer {
    margin-top: 50px;
    padding: 20px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.rounded-circle {
    border-radius: 50%;
    /* Makes the image round */
    border: 3px solid #306f35;
    /* Adds a 2px solid black border */
    width: 50px;
    /* Ensures the image is 50px wide */
    height: 50px;
    /* Ensures the image is 50px high */
}

.large-circle {
    border-radius: 50%;
    /* Makes the image round */
    border: 3px solid #306f35;
    /* Adds a 2px solid black border */
    width: 100px;
    /* Ensures the image is 50px wide */
    height: 100px;
    /* Ensures the image is 50px high */
}

.searchbar {
    border-radius: 20px;
    /* Makes the image round */
    background: #ebecee;
    /* Sets the background color to light grey */
    width: 50%;
    /* Ensures the image is 50px wide */
    height: 50px;
    /* Ensures the image is 50px high */
}

.header-padding {
    padding-left: 7rem !important;
    padding-right: 7rem !important;
    padding-bottom: 2rem;
}

.container-fluid {
    border-bottom: 2px solid #b6b6b6;
    /* Dark grey border with 2px thickness */
    box-shadow: 0 2px 4px rgba(143, 143, 143, 0.2);
    /* Adds a shadow below the line */
}


.announcement-section {
    background-color: #f0f0f0;
    padding: 20px;
}

.announcement-header {
    margin-bottom: 10px;
}

.announcement-line {
    border-top: 1px solid #333;
    margin: 0;
}

.vertical-line {
    border-right: 1px solid #c1c1c1;
    margin: 0;
}

.announcement-messages {
    padding: 10px;
    border-radius: 5px;
}

.btn-green {
    --bs-btn-color: #000;
    --bs-btn-bg: #018000;
    --bs-btn-border-color: #018000;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #3aa63a;
    --bs-btn-hover-border-color: #2e952e --bs-btn-focus-shadow-rgb: 1, 128, 0;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #5cc55c;
    --bs-btn-active-border-color: #4bb84b;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #000;
    --bs-btn-disabled-bg: #018000;
    --bs-btn-disabled-border-color: #018000;
}

.text-green {
    color: #018000;
}


.box {
    border: 3px solid #ecececfe;
    padding: 10px;
}

.card-image-container {
    height: 150px;
    overflow: hidden;
}

.card-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dredgewire-logo {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 100px;
    height: 50px;
}

.dredgewire-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-text-truncate {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #8ec0ff;
}

.card-text-truncate:hover {
    text-decoration: underline;
}

/* Custom CSS for carousel control icons */

button.carousel-control-next {
    right: -15px;
    width: 3%;
}

button.carousel-control-prev {
    left: -15px;
    width: 3%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23007bff' viewBox='0 0 16 16'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
    width: 20px;
    height: 20px;
}

.carousel-control-next-icon {
    transform: rotate(180deg);
}

/* calendar */

.calendar-container {
    display: flex;
    justify-content: space-around;
}

.event-date {
    background-color: green !important;
    color: white !important;
    border-radius: 50%;
}

.navigation {
    text-align: center;
    margin-top: 20px;
}

.navigation button {
    padding: 10px 20px;
    margin: 5px;
}

.highlight {
    background-color: green !important;
    color: white !important;
    border-radius: 90% !important;
}

/* .jsCalendar tbody td.jsCalendar-current {
    color: inherit !important;
    background-color: transparent !important;
} */

.jsCalendar tbody td.jsCalendar-past {
    background-color: #f0f0f0 !important;
    /* Gray background for past dates */
    color: #ccc !important;
    /* Gray text color for past dates */
}

.current-day {
    background-color: rgba(255, 255, 141, 0.932) !important;
    font-weight: bold !important;
    border-radius: 0 !important;
    position: relative !important;
    color: #000 !important;
}

.current-day-first {
    background-color: green !important;
    font-weight: bold !important;
    border-radius: 90% !important;
    position: relative !important;
    color:#fff !important;
}



.today-text {
    position: absolute !important;
    bottom: -12px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    font-size: 8px !important;
    font-weight: normal !important;
}

/* event list */

.event-row {
    display: flex;
    border: 1px solid #ccc;
    border-left: 15px solid green;
    border-radius: 15px !important;
    overflow: hidden;
    cursor: pointer;
    /* Ensure pointer cursor for feedback */
    width: 100%;
    /* Ensure it spans the full width */

}

.past {
    border-left: 15px solid darkgrey;
}

.left-col {
    flex: 0 0 16.666%;
    text-align: center;
    border-right: 1px solid #ccc;
    padding: 10px;
}

.right-col {
    flex: 0 0 83.334%;
    padding: 10px;
    font-size: 25px;
    align-content: center;
    font-weight: 500;
}

.day {
    font-size: 2.5rem;
    font-weight: bold;
}

.month {
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: bold;
}

.bg-white {
    background-color: #fff;
    border-radius: 5px;
}

.p-3 {
    padding: 1rem;
}

#event-details {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 10px;
}

/* home page */

@media (min-width: 1920px) {
    .flex {
        padding-left: 100px;
        padding-right: 100px;
    }
}

@media (min-width: 2000px) {
    .flex {
        padding-left: 200px;
        padding-right: 200px;
    }
}

@media (min-width: 2400px) {
    .flex {
        padding-left: 300px;
        padding-right: 300px;
    }
}

@media (max-width: 1600px) {
    .shrink {
        width: 597px;
        height: auto;
        transform: scale(0.9);
        position: relative;
        left: -30px;
    }
}

@media (min-width: 1400px) and (max-width: 1439px) {
    .shrink {
        width: 597px;
        height: auto;
        transform: scale(0.85);
        position: relative;
        left: -30px;
    }
}

@media (min-width: 1200px) and (max-width: 1400px) {
    .shrink {
        width: 597px;
        height: auto;
        transform: scale(0.8);
        position: relative;
        left: -50px;
    }
}

@media (min-width: 500px) and (max-width: 1200px) {
    .shrink {
        width: 597px;
        height: auto;
        transform: scale(0.7);
        position: relative;
        left: -50px;
    }
}

@media (max-width: 500px) {
    .shrink {
        width: 597px;
        height: auto;
        transform: scale(0.65);
        position: relative;
        left: -124px;

    }
}

@media (max-width: 767px) {
    .left-column {
        order: 2;
    }

    .right-column {
        order: 1;
    }

    .mobile-circle {
        border-radius: 50%;
        border: 3px solid #306f35;
        width: 50px;
        height: 50px;
    }

    .mobile-hide {
        display: none;
    }
}

@media (min-width: 767px) {

    .desktop-hide {
        display: none;
    }
}


/* Line clamping styles */
.title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    /* Limiting to 2 lines */
}

.summary {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 4;
    /* Limiting to 4 lines */
}

/* Modal styles */
.secure-modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    /* Black with opacity */
}

.secure-modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    /* Could be more or less, depending on screen size */
    max-width: 500px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.secure-modal-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.secure-modal-content p {
    font-size: 18px;
    color: #333;
}

.secure-modal-content .fa-lock {
    color: #4CAF50;
    /* Green lock icon */
    font-size: 50px;
    margin-bottom: 15px;
}

/* Spinner styles */
.secure-spinner {
    margin: 20px auto;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #4CAF50;
    /* Green color for the spinner */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.limited-paragraph {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.2em * 5);
    /* Adjust the line height as necessary */
}

/* index blade */

.spinner-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    /* display: none; Initially hidden */
}

.spinner {
    width: 40px;
    height: 40px;
    margin: 10px auto;
    background-color: #333;
    border-radius: 100%;
    animation: scale 1.5s infinite ease-in-out;
}

@keyframes scale {

    0%,
    100% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Scrollable paragraphs */
.paragraphs-scroll {
    max-height: 240px;
    /* Adjust as needed */
    overflow-y: auto;
}


/* home page */
 /* Ensure spacing between events */
 .event-container {
    margin-bottom: 1rem;
}

/* Style for event titles and details */
.event-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 20px;
}

.event-detail,
.event-summary {
    margin-bottom: 0.5rem;
    font-size: 18px;
}

/* Enhanced Tab Navigation Styles */
.nav-tabs {
    border-bottom: none;
    padding-left: 25px;
}

.nav-tabs .nav-item {
    margin-bottom: -1px;
}

.nav-tabs .nav-link {
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
    border: 1px solid #ddd;
    border-radius: 8px 8px 0 0;
    padding: 5px 10px;
    margin-right: 5px;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.2s ease;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    position: relative;
}

.nav-tabs .nav-link:hover {
    background: linear-gradient(to bottom, #e9ecef, #f8f9fa);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.nav-tabs .nav-link.active {
    background: white;
    border-color: #ddd #ddd transparent;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    color: #000;
    z-index: 2;
}

/* Remove border around tab content */
.tab-content {
    padding-top: 4px;
}

/* Facebook-like Wall Styles */
.create-post,
.post,
.comment {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.user-post {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

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

.post-input,
.comment-input .post-input {
    width: 100%;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid #ccc;
    outline: none;
    font-size: 14px;
}

.upload-btn {
    margin-left: 3rem;
}

.upload-btn img.upload-icon {
    width: 150px;
    height: 55px;
}

.comment {
    background: #f0f0f0;
}

.post-header,
.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.post-info {
    margin-left: 10px;
}

.user-name {
    font-weight: bold;
    display: block;
}

.post-date {
    font-size: 12px;
    color: #777;
}

.post-content,
.comment-content {
    margin-bottom: 10px;
}

.post-content {
    padding-left: 3rem;
    padding-right: 3rem;
}

.post-img,
.post-video {
    max-width: 100%;
    border-radius: 8px;
    margin-top: 10px;
}

.post-footer {
    display: flex;
}

.like-btn,
.comment-btn,
.share-btn {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    font-weight: bold;
}

.comments-section {
    margin-left: 1rem;
}

/* Add a border above and below the post-footer section */
.with-border {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

/* Style the collage */
.post-collage {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 100px);
    grid-gap: 5px;
    margin-top: 10px;
}

.collage-item {
    overflow: hidden;
    position: relative;
}

.collage-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Define different size classes */
.collage-item.small {
    grid-column: span 1;
    grid-row: span 1;
}

.collage-item.medium {
    grid-column: span 2;
    grid-row: span 2;
}

.collage-item.large {
    grid-column: span 2;
    grid-row: span 3;
}

/* Make adjustments for different screen sizes */
@media screen and (max-width: 768px) {
    .post-collage {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(5, 100px);
    }

    .collage-item.large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .collage-item.medium {
        grid-column: span 1;
        grid-row: span 1;
    }

    .collage-item.small {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media screen and (max-width: 480px) {
    .post-collage {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 100px);
    }

    .collage-item {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Style the input box for comments */
.comment-input {
    margin-top: 15px;
}

.comment-input .post-input {
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.submit-btn {
    background-color: green;
    color: white;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #0056b3;
}

.submit-btn:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}

/* Skills search styles */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skills-search-container {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 10px;
    background-color: #fff;
}

.skill-tag {
    display: inline-block;
    padding: 0.1rem 0.3rem;
    background-color: #f0f0f0;
    color: #333;
    border-radius: 15px;
    font-size: 0.675rem;
    font-weight: 500;
}

/* Highlight matching skills */
.highlight-skill {
    background-color: yellow;
    font-weight: bold;
}