body {
    height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
}

#logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

#logo-container img {
    width: clamp(140px, 20vw, 200px);
    height: auto;
}

#logo-container span {
    font-size: clamp(14px, 2vw, 20px);
}

header {
    display: flex;
    background-color: rgb(19, 29, 54);
    align-items: center;
    padding: 8px;
    justify-content: space-between;
}

header > * {
    color: white;
}

main {
    flex: 1;
}

nav > ul {
    display: flex;
    gap: 1vw;
    padding: 0;
    margin: 0;
}

nav ul li {
    list-style-type: none;
    padding: 4px;
}

nav ul li:hover {
    background-color: #aaa5;
}

a {
    color: white;
    text-decoration: none;
    font-size: 2vw;
}

#profileContainer {
    position: relative;
    padding: 10px;
}

#profile-sub-container {
    display: flex;
    align-items: center;
    gap: 0.6em;
}

#profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 8px;
    text-align: center;
    align-content: center;
}

#profileContainer:hover {
    background-color: #aaa5;
}

#profileContainer > span {
    cursor: pointer;
}

#profileContainer > button,
#profileDropdown > button {
    padding: 4px 8px;
    border: none;
    color: white;
    background-color: #003976;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
}

#profileContainer > button:hover,
#profileDropdown > button:hover {
    background-color: #0049b8;
}

#profileDropdown {
    position: absolute;
    background-color: #aaaa;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    right: 0;
    top: 100%;
}

/* Footer */

footer {
  background-color: #ddd;
  padding: clamp(10px, 10vw, 30px);
  text-align: center;
}

.disclaimerText {
  font-size: clamp(12px, 1vw, 16px);
  color: #666;
  margin: 0 0 20px 0;
}

hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 30px 0;
}

.copyright,
#version {
  font-size: clamp(12px, 1vw, 16px);
  color: #666;
  margin: 0;
}

section#title h2 {
    margin: 15px;
    color: #002b58;
    justify-self: center;
    font-size: 3vw;
}

section#introduction {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#intro-text-container {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 3vw;
}

#intro-text-container p {
    margin: 0;
}

#instructions-container {
    flex: 1;
    background-color: #002b58;
    color: white;
    margin: 0 3vw;
}

#instructions-container h3 {
    margin: 0;
    padding: 1vw;
    justify-self: center;
}

#instructions-list {
    display: flex;
    flex-direction: column;
    gap: 2vw;
    padding: 2vw;
    padding-top: 1vw;
    margin: 0;
    list-style-type: disclosure-closed;
}

section#table-section {
    padding: 20px;
}

.close-button {
    position: absolute;
    top: 0;
    right: 0;
    align-self: flex-end;
    margin: 0;
    padding: 0.2em;
    z-index: 2;
    background: #fff;
    border: none;
    cursor: pointer;
    background-color: transparent;
}

.close-button img {
    width: 20px;
    height: 20px;
}

.close-button:hover {
    opacity: 0.7;
    background-color: #002b5844;
}
#photoOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

#photoContainer {
    position: fixed;
    display: flex;
    flex-direction: column;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 0;
    width: 80%;
    height: 80%;
    max-width: 600px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
    background-size: contain;
    background-color: dimgray;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 0.5s ease-in-out;
    overflow: hidden;
}

#photoContainer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.06) 0%, 
        rgba(0, 0, 0, 0.12) 50%, 
        rgba(0, 0, 0, 0.18) 100%);
    z-index: 1;
}

#noPhotosDisclaimer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.2em;
    text-align: center;
    z-index: 2;
}

.presentation-functions {
    position: absolute;
    display: flex;
    flex-direction: row;
    align-items: center;
    top: 10px;
    left: 10px;
    font-size: 0.8em;
}

.presentationPhotoLabel {
    display: flex;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    align-items: center;
    gap: 4px;
}

.presentationPhotoLabel img {
    filter: invert(1);
}

.photoIndicator {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
}

.expandedPhotoContainer {
    width: 100%;
    height: fit-content;
    display: flex;
    align-items: flex-start;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    min-height: 400px;
}

.uploadButtonsContainer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
    gap: 10px;
}

.uploadButton {
    background-color: #a25200;
    font-size: 0.8em;
    white-space: nowrap;
    padding: 4px 10px;
    color: white;
    border: none;
    cursor: pointer;
}

.uploadButton:hover {
    background-color: #a25200bb;
}

#saveButton {
    background-color: #075000;
}
#saveButton:hover {
    background-color: #075000bb;
}

#removeButton {
    background-color: #750000;
}
#removeButton:hover {
    background-color: #750000bb;
}

#setPresentationButton {
    background-color: rgba(0, 0, 0, 0.7);
}
#setPresentationButton:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

.chevronsContainer {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: row;
    width: -webkit-fill-available;
    justify-content: space-between;
    
}

button.chevrons {
    background: none;
    width: fit-content;
    height: fit-content;
    border: none;
    padding: 0;
    cursor: pointer;
    filter: invert();
}

button.chevrons:hover {
    filter: invert(0.7);
}

button.chevrons img {
    width: 4em;
    height: 4em;
}

.aircraft-photo {
    width: 100%;
    height: auto;
    cursor: pointer;
}

#enlargedPhotoOverlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
}

#enlargedPhotoOverlay img {
    max-width: 92vw;
    max-height: 92vh;
    object-fit: contain;
}

button#add-photos {
    width: fit-content;
    padding: 8px 16px;
    background-color: #075000;
    color: white;
    border: none;
}

button#add-photos:hover {
    background-color: #075000bb;
}

#bulletins {
    min-height: 320px;
    margin-bottom: 1em;
    display: flex;
    flex-direction: column;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 2rem;
}

.bulletin-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8em;
    flex: 1;
    min-height: 100%;
    justify-content: space-between;
}

.bulletin-section > h2 {
    margin: 0;
    color: #002b58;
    justify-self: center;
    font-size: 2em;
}

.bulletin-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8em;
    position: relative;
    width: -webkit-fill-available;
    width: -moz-available;
    width: fill-available;
}

.bulletin-container {
    min-width: auto;
    min-height: auto;
    width: 80%;
    height: max-content;
    background-color: #dddddd;
    display: flex;
    flex-direction: column;
    gap: 0.8em;
    align-items: center;
    padding: 0.6em;
    border-radius: 0.4em;
    position: relative;
    transition: opacity 0.6s ease;
}

.bulletin-container.fade-in {
    opacity: 1;
}
.bulletin-container.fade-out {
    opacity: 0;
}


button.chevrons-dark {
    background: none;
    width: fit-content;
    height: fit-content;
    border: none;
    padding: 0;
    cursor: pointer;
    filter: invert(0.7);
}

#carouselIndicators {
    display: flex;
    flex-direction: row;
    gap: 0.4em;
    position: absolute;
    bottom: 0.4em;
}
    .indicator {
        width: 8px;
        height: 8px;
        background-color: #ccc;
        border-radius: 50%;
        transition: background-color 0.3s ease;
    }
    .indicator.active {
        background-color: #666;
    }

#left-chevron,
#right-chevron {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

#left-chevron {
    left: -3em;
}

#right-chevron {
    right: -3em;
}

button.chevrons-dark:hover {
    filter: invert(0.9);
}

button.chevrons-dark img {
    width: 4em;
    height: 4em;
}

#bulletin-form {
    display: flex;
    flex-direction: column;
    gap: 0.8em;
    width: 100%;
}

label {
    display: flex;
    flex-direction: row;
    gap: 0.2em;
    justify-content: space-between;
}

.title-author,
.date-inputs {
    display: flex;
    flex-direction: column;
    gap: 0.2em;
}

#bulletin-form input,
#bulletin-form select,
#bulletin-form textarea {
    width: auto;
    padding: 0.2em;
    border-radius: 0.4em;
    border: 1px solid #cccccc;
    text-align: center;
}

#bulletin-form textarea {
    text-align: left;
}

#bulletin-author {
    width: fit-content !important;
}

#bulletin-content {
    width: 100%;
    min-height: 3em;
    resize: none;
}

#bulletin-inputs {
    display: flex;
    flex-direction: column;
    width: -webkit-fill-available;
    width: -moz-available;
    width: fill-available;
    gap: 0.4em;
}

#bulletin-header-inputs {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 0.4em;
    width: 100%;
}

.bulletin-data {
    display: flex;
    flex-direction: column;
    gap: 1em;
    padding: 1em;
}

.bulletin-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    height: 3em;
}

.title-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 0.2em;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
}
.bulletin-title {
    margin: 0;
}
.bulletin-author {
    font-size: 0.8em;
}

.bulletin-content {
    font-size: 1em;
    margin: 0;
}

.button-container {
    display: flex;
    width: fit-content;
    justify-content: space-between;
    gap: 8px;
}

.button-container button {
    width: fit-content;
    padding: 8px 16px;
    background-color: #002b58;
    color: white;
    border: none;
}


.add-bulletin-button {
    width: fit-content;
    padding: 8px 16px;
    background-color: #002b58;
    color: white;
    border: none;
}

.button-container button:hover,
.add-bulletin-button:hover {
    background-color: #002b58bb;
}

.flex-col {
    flex-direction: column;
    justify-content: flex-start;
}
#welcome {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 50vw;
    justify-self: center;
    background-color: #002b58;
    color: white;
    margin: 2rem;
    padding: clamp(1rem, 1vw, 3rem);
}

#welcome-header {
    margin: 0;
    padding: 1vw;
    justify-self: center;
}

#welcome-text {
    margin: 0;
    padding: 1vw;
    justify-self: center;
}

#welcome-instructions-list {
    display: flex;
    flex-direction: column;
    gap: 2vw;
    padding: 2vw;
    padding-top: 1vw;
    margin: 0;
    list-style-type: disclosure-closed;
}

.welcome-instruction-item {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.welcome-instruction-header {
    margin: 0;
    font-size: 1em;
}

.welcome-instruction-text {
    margin: 0;
    font-size: 0.8em;
    width: 80%;
}

#summary {
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: -webkit-fill-available;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#summary-header {
    font-size: 2em;
    margin: 0.2em;
    color: #002b58;
}

#summary-data {
    display: flex;
    flex-direction: column;
    gap: 0.8em;
    background-color: #dddddd;
    padding: 0.8em;
    border-radius: 0.4em;
}

.count-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.count-container > h4 {
    font-size: 20px;
    margin: 0.2em;
}

.count-sub-container {
    display: flex;
    flex-direction: row;
    gap: 0.8em;
}

.count-data-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.count-data-container > h5 {
    font-size: 1em;
    margin: 0.2em
}

.count-data {
    font-size: 16px;
    margin: 0.2em;
}



/*# sourceMappingURL=summary.css.map*/