﻿/* Smooth transition for sliding effect */
.collapse {
    transition: max-height 0.7s ease-out, padding 0.7s ease-out;
    overflow: hidden;
}

.collapse.show {
    height: auto;
}

.cursor-pointer {
    cursor: pointer;
}

.cursor-default {
    cursor: default;
}

.left-align {
    margin-right: auto;
}

.right-align {
    margin-left: auto;
}

.center-align {
    margin: 0 auto;
}

.index-main {
    width: 95%;
    margin: 0 auto;
    padding-bottom: 1rem !important;
}

.index-text-center {
    width: 95%;
    margin: 0 auto;
}

.index-image-container {
    text-align: center;
}

.index-logo {
    display: block;
    margin: 0 auto;
    object-fit: cover;
}

.index-title-column {
    width: 20%;
}

.table-header {
    background-color: #7b6a55;
    color: white;
}

.day-header {
    background-color: #9c9587;
    color: white;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

.day-footer {
    background-color: #9c9587;
    height: 18px;
    cursor: pointer;
}


.event-header {
    background-color: #cecac3;
    color: #000000;
    font-weight: bold;
    margin: 0;
    padding: 0;
}

.event-row:nth-child(odd) {
    background-color: #e7e5e1; /* light brown */
}

.event-row:nth-child(even) {
    background-color: #ffffff; /* White */
}



.description-container {
    position: relative; /* Ensure the full-description is positioned relative to this container */
}

.event-row.expanded .description {
    -webkit-line-clamp: unset; /* Remove the line clamp */
    max-height: none; /* Remove the max-height */
}

.event-row.expanded .full-description {
    display: none; /* Hide the full-description when expanded */
}

.description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 3em; /* Adjust based on line height */
}

.full-description {
    display: none; /* Initially hidden */
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    white-space: pre-wrap; /* Preserve whitespace and line breaks */
    top: 100%;
    z-index: 1000;
}

.flex-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.date-input {
    width: 150px;
}

/*.keyword-input {
    width: 250px;
}*/

/* Rotateable chevron icon */
.collapse-icon {
    transition: transform 0.3s;
    width: 18px;
    height: 18px;
    margin-left: 2px; /* Space between the icon and the left edge */
    vertical-align: middle; /* Align the icon vertically with the text */
    cursor: pointer; /* Change cursor to pointer to indicate it's clickable */
}

.bottom-collapse-icon {
    width: 12px;
    height: 12px;
    vertical-align: middle; /* Align the icon vertically with the text */
    cursor: pointer; /* Change cursor to pointer to indicate it's clickable */
}

.collapse-icon.rotate {
    transform: rotate(-90deg); /* Rotate -90 degrees to point to the left */
}

.interactable-label {
    cursor: pointer;
}

.eventTypeTable {
    color: white;
}

.modal-dialog.modal-lg {
    max-width: 95%;
    width: 95%;
}

.modal-header {
    display: flex;
    justify-content: center;
    background-color: #9c9587;
    color: white;
    text-align: center;
}

.modal-title {
    flex: 1;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
}

.modal-content {
    height: 90vh;
}

.details-container {
    max-height: 90vh;
    overflow-y: hidden;
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}