/* Set: Header */

.page-header {
    box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0px;
    width: 100%;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 1.00), rgba(126, 126, 126, 1.00),rgba(126, 126, 126, 1.00));
    z-index: 100;
}

.headerBar {
    width: 100%;
    height: 8px;
    background-color: rgba(126, 126, 126, 1.00);
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.20), rgba(0, 0, 0, 0.00), rgba(0, 0, 0, 0.40));
}

nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.header-link {
    color: #FFF;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 2px;
    margin-top: 6px;
    border-radius: 10px;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.20), rgba(0, 0, 0, 0.00), rgba(0, 0, 0, 0.30));
    background-color: rgba(126, 126, 126, 1.00);
    padding-top: 4px;
    padding-bottom: 4px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
    font-size: 12px;
    padding-left: 5px;
    padding-right: 5px;
}

.header-link:hover {
    color: rgba(255, 255, 0, 1.00);
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.20), rgba(255, 255, 255, 0.30), rgba(255, 255, 0255, 0.10));
    transform: translate(0px, 2px);
    text-shadow: 1px 1px 2px #000;
}

.headerNote-container, .headerNote-background {
    position: fixed;
    justify-content: center;
    align-items: center;
    width: 100%;
    z-index: 12;
    text-align: center;
    top: 0px;
    box-shadow: 0px 8px 12px rgba(0,0,0,0.3);
    border: solid 1px rgba(255, 255, 255, 0.40);
    border-radius: 0px 0px 10px 10px;
    left: 0px;
    background: rgba(60, 60, 60, 0.9);
}

.headerNote-text {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 5px;
    padding-top: 5px;
    color: rgba(189, 189, 189, 1.0);
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 1.0);
}

.HeaderNoteTitle {
    height: 24px;
    top: 0px;
    left: 0px;
    width: 100%;
    font-size: 22px;
}

.HeaderNoteContactInfo {
    height: 16px;
    padding-top: 5px;
    font-size: 14px;
}

/* Set: Content */

.container {
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
    margin-left: auto;
    margin-right: auto;
    padding-top: 45px;
    padding-bottom: 20px;
    background-color: rgb(50,50,50,1.0);
    margin-top: 30px;
}

.image-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.image_container {
    width: 220px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: rgb(225, 225, 225, 1.0);
    padding: 10px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
}

.imageIO_cb {
    margin-bottom: 10px;
}

#mainbody {
    font-family: Arial, sans-serif;
    margin-bottom: 35px;
    background-color: #222;
    margin-top: 0px;
}

#cssbody {
    font-family: Arial, sans-serif;
    margin: 0px;
    padding-right: 10px;
    padding-top: 10px;
}

.thumb {
    width: 200px;
    height: 200px;
    object-fit: cover;
    display: block;
    margin: 0 auto 10px;
    border-top: 2px solid rgba(0,0,0,0.5);
    border-left: 2px solid rgba(0,0,0,0.5);
    border-bottom: 2px solid rgba(255,255,255,0.5);
    border-right: 2px solid rgba(255,255,255,0.5);
}

/* Set: Footer */

.page-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
    background-color: rgba(126, 126, 126, 1.00);
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.20), rgba(0, 0, 0, 0.00),rgba(0, 0, 0, 0.40));
    box-shadow: 0px -8px 12px rgba(0, 0, 0, 0.5);
}

.footerText {
    color: #FFF;
    font-size: 12px;
}

/* Set: Modal Popup Windows */

.modal-content {
    background-color: #444;
    padding: 20px;
    margin: 15% auto;
    width: 300px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    position: relative;
}

#editModal .modal-content {
    display: flex;
    flex-direction: column;
    width: 90%;
    max-width: 800px;
    height: 90vh;
    margin: 5vh auto;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

#editModal .modal-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.modal-editor {
    padding: 10px;
    border-top: 1px solid #ccc;
    background: rgba(225, 225, 225, 1.0);
    border-radius: 10px;
    box-shadow: 0px 6px 4px rgba(0,0,0,0.3);
}

.modal-editor table {
    width: 95%;
    border-collapse: collapse;
    border: none;
    margin: 0 auto;
}

.modal-editor table tr td:first-child {
    text-align: left;
    width: 33%;
}

.modal-editor table tr td:last-child {
    text-align: right;
    width: 33%;
}

.modal-editor table tr td[colspan="3"] {
    text-align: center;
}

.modal-buttons {
    text-align: center;
    margin-top: 10px;
}

.modal-buttons button {
    padding: 10px 20px;
    background: #007BFF;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 0 10px;
}

.modal-buttons button:hover {
    background: #0056b3;
}

#editModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 10000;
}

.close-modal {
    position: absolute;
    background: none;
    border: 1px solid #F00;
    cursor: pointer;
    font-size: 20px;
    bottom: 25px;
    right: 25px;
    border-radius: 3px;
    color: #F00;
}

#modalTitle {
    display: none;
}

.modal-image {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 45px;
    margin-bottom: 15px;
    box-shadow: 0px 6px 4px rgba(0,0,0,0.3);
    background: rgba(225, 225, 225, 1.0);
    border-radius: 10px;
}

.image-bevel {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    max-height: 100%;
    width: fit-content;
    height: fit-content;
    overflow: hidden;
}

#modalImage {
    display: block;
    max-width: 100%;
    max-height: calc(90vh - 260px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-top: 4px solid rgba(0,0,0,0.5);
    border-left: 4px solid rgba(0,0,0,0.5);
    border-right: 4px solid rgba(255,255,255,0.5);
    border-bottom: 4px solid rgba(255,255,255,0.5);
}

