﻿/* OMC HTML / main CSS FILE */
/* Created by E J Belala, 08 NOV 2024 */
/* Derived from the original EJND LLC main CSS file. */

/* --------------------- Basic HTML element styles. ----------------- */
body {
    background-color: #ffffff;
}

h1 {
    color: darkblue;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 200;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}

h2 {
    color: darkblue;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 200;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}

h4 {
    color: darkblue;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 200;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}

h5 {
    color: darkblue;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 200;
    font-size: small;
    font-weight: bold;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}

h6 {
    color: darkblue;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 200;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}

p {
    color: darkblue;
    border-width: thin;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 200;
    font-weight: normal;
    font-size: medium;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.td {
    background-color: #ffffff;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.table {
    background-color: #f9f9f9;
}

.label-style {
    color: darkblue;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: normal;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}

/*  -- **********************************  CSS for tabs & menu stuff ****************** --  */
ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #ffffff;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    display: flex; /* Aligns items in a row */
    justify-content: flex-start; /* Aligns to the left */
    font-family: Arial, Helvetica, sans-serif;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}

li {
    float: left;
    margin-right: 20px;
}

    li a {
        display: block;
        color: darkblue;
        text-align: center;
        padding: 5px 10px;
        text-decoration: none;
    }

        li a:hover:not(.active) {
            background-color: lightcyan;
        }

    li.active {
        background-color: lightcyan;
    }


/* ------------- CHAT MESSAGE STYLES EXAMPLES BELOW HERE ---------------- */

/* Style for the chat container (<div>) */
#txtMessageDisplay {
    height: 300px;
    overflow-y: scroll;
    border: 1px solid #ccc;
    padding: 10px;
    background-color: #ffffff;
    white-space: pre-wrap; /* Preserve whitespace and wrap lines */
}

#memberTalkContainer {
    height: 300px;
    overflow-y: scroll;
    border: 1px solid #ccc;
    padding: 10px;
    background-color: #ffffff;
    white-space: pre-wrap; /* Preserve whitespace and wrap lines */
}

.requesterID {
    text-align: right;
    color: darkblue; /* Adjust color as needed */
}

.responderID {
    text-align: left;
    color: darkgreen; /* Adjust color as needed */
}

.mbrTalkRequesterID {
    text-align: right;
    color: darkblue; /* Adjust color as needed */
}

.mbrTalkResponderID {
    text-align: left;
    color: darkgreen; /* Adjust color as needed */
}

/* ------------- VIDEO PLAYER STYLE HERE ---------------- */
#omcVideoPlayer {
    max-width: 100%;
    max-height: 100%;
}

/* -----------   styles for div experiment for maintain size of div during events   ----------------- */

/*.container {
    display: flex;
    justify-content: space-between;*/ /* Adjust spacing between items */
    /*width: 80%;
    height: 25%;
}*/

.row {
    white-space: nowrap; /* Ensures items in the row stay inline */
    margin-bottom: 10px; /* Space between rows */
    display: flex; /* Aligns items in a row */
    justify-content: flex-start; /* Aligns to the left */       /* THESE TWO LINES ARE AN EXPERIEMENT */
}

.box {
    display: inline-block;
    width: 100px;
    height: 100px;
    background-color: lightgreen;
    margin: 5px;
    text-align: center;
    line-height: 100px; /* Center text vertically */
}

/* *****        Element Size Position Control       ***** */

.fixed-dimensions {
    width: 50%; /* 50% of the parent or viewport width */
    height: 30vh; /* 30% of the viewport height */
    min-width: 300px;
    min-height: 200px;
}

.fixed-dimensions-LEFT {
    width: 25%; /* 50% of the parent or viewport width */
    height: 30vh; /* 30% of the viewport height */
    min-width: 300px;
    min-height: 200px;
}

.fixed-dimensions-RIGHT {
    width: 75%; /* 50% of the parent or viewport width */
    height: 30vh; /* 30% of the viewport height */
    min-width: 300px;
    min-height: 200px;
}

/* THIS IS THE COLUMN AND ROW INFO FOR THAT DEFAULT PAGE TYPE LAYOUT EXPERIMENT I'M DOING */

/* Parent container for column layout */
.column-layout {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Aligns items horizontally (centered in the column) */
    gap: 20px; /* Spacing between rows */
    padding: 20px;
    max-width: 800px;
    margin: 0 auto; /* Centers the layout on the page */
    background-color: #ffffff;
    text-align:left;
}

.column-layout00 {
    display: inline-block;
    flex-direction: column;
    align-items: center; /* Aligns items horizontally (centered in the column) */
    gap: 20px; /* Spacing between rows */
    padding: 20px;
    max-width: 800px;
    margin: 0 auto; /* Centers the layout on the page */
    border: 1px solid #007BFF; /* Blue border for distinction */
    background-color: #ffffff;
    text-align: left;
}

/* Styling for individual sections */
.section-box, .div-box {
    width: 100%; /* Adjusts to fill the width of the parent container */
    max-width: 400px; /* Limits the width for better readability */
    /*padding: 1px;*/
    border: 1px solid #007BFF; /* Blue border for distinction */
    /*border-radius: 5px;*/
    text-align: left;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
}

.section-box0, .div-box0 {
    display: inline-block;
    width: 100%; /* Adjusts to fill the width of the parent container */
    max-width: 400px; /* Limits the width for better readability */
    /*padding: 1px;*/
    border: 1px solid #007BFF; /* Blue border for distinction */
    /*border-radius: 5px;*/
    text-align: left;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
}

/* Styling for individual sections */
.section-box00 {
    width: 100%; /* Adjusts to fill the width of the parent container */
    max-width: 400px; /* Limits the width for better readability */
    padding: 10px;
    /*border-radius: 5px;*/
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

/* Parent container for row layout */
.row-layout {
    display: flex;
    flex-direction: row; /* Arrange items in a horizontal row */
    justify-content: center; /* Centers items horizontally within the row */
    gap: 10px; /* Spacing between columns */
    padding: 10px;
    max-width: 100%; /* Allows the layout to stretch across the screen */
    overflow-x: auto; /* Ensures horizontal scrolling if items exceed the screen width */
}

.row-layout0 {
    display: flex;
    flex-direction: row; /* Arrange items in a horizontal row */
    justify-items: left;
    justify-content: center; /* Centers items horizontally within the row */
    gap: 10px; /* Spacing between columns */
    padding: 10px;
    max-width: 100%; /* Allows the layout to stretch across the screen */
    overflow-x: auto; /* Ensures horizontal scrolling if items exceed the screen width */
}

.row-layoutTwo {
    display: flex;
    justify-content: space-between; /* Space out the elements evenly */
    align-items: center; /* Align items vertically */
    gap: 20px; /* Add spacing between the div-boxes */
    flex-wrap: nowrap; /* Allow wrapping if the screen is too narrow */
}

.div-box img {
    border-radius: 50%;
    width: 150px; /* Fixed width for circular images */
    height: 150px; /* Fixed height for circular images */
    object-fit: cover; /* Ensures image scales well inside the circle */
    display: block;
    margin: 0 auto;
}

/* Text styling */
.content-text {
    line-height: 1.8;
    font-size: 1rem;
    color: #333;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    word-wrap:normal;
}

.content-image {
    display: block;
    max-width: 200px; /*Images scale with container*/
    height: auto; /*Maintain aspect ratio*/
    border: 2px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.content-image02 {
    display: block;
    max-width: 100%; /*Images scale with container*/
    height: auto; /*Maintain aspect ratio*/
    border: 2px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.content-image-slideshow {
    width: auto; /* Maintain aspect ratio */
    height: 100%; /* Fill full height of the container */
    object-fit: contain; /* Ensures entire image is visible */
    border: 2px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.slideshowContainer {
    margin: 10px;
    height: 400px; /* Fixed height */
    width: 45%;
    overflow: hidden; /* Prevents scrolling */
    border: 1px solid #ccc;
    padding: 10px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.videoShowContainer {
    /*display: none;*/ /* Hidden until video is selected */
    /*position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    max-width: 800px;
    background: black;
    padding: 15px;
    border-radius: 15px;*/

    margin: 10px;
    height: 312px; /* Increased height by 25% */
    width: 45%;
    overflow: hidden; /* Prevents scrolling */
    /*border: 1px solid #ccc;*/
    padding: 10px;
    background-color: #ffffff;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    position: relative; /* Ensure the flexbox works correctly */
    text-align: center; /* Ensure video itself is centered */
}

.video-player video {
    width: 100%;
    border-radius: 10px;
}

.videoList {
    /*width: 250px;
    float: left;
    padding: 10px;
    background: #f4f4f4;
    height: 100vh;
    overflow-y: auto;*/

    margin-top: 15px;
    width: 100%;
    max-height: 200px;  /*Prevents excessive list size*/ 
    width: 100%;
    max-height: 100%;  /*Prevents excessive list size*/ 
    overflow-y: auto;
    text-align: center;
}

    .videoList a {
        display: block;
        padding: 5px;
        text-decoration: none;
        color: #007bff;
        border-bottom: 1px solid #ccc;
    }

        .videoList a:hover {
            background-color: #f0f0f0;
        }

.ejnVideoPlayer {
    height: 0px;
    max-width: 100%; /* Makes video responsive */
    max-height: 100%; /* Ensures video doesn't overflow container */
    object-fit: contain; /* Prevents cropping, keeps aspect ratio */
    visibility: visible;
    display: inline-block; /* Aligns video properly in the container */
}

/* THIS IS THE ASP LABEL STYPLE ELEMENT */
.message-label {
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}

/*      MOBILE APP CSS BELOW HERE        */

/* === Responsive Layout for Login Page === */

/*@media only screen and (max-width: 768px) {
    body {
        padding: 10px;
        font-size: 16px;
    }

    #loginhder table,
    #loginhder td,
    #loginhder ul {
        width: 100% !important;
        display: block;
    }

    #loginhder ul {
        padding: 0;
        margin: 0;
        text-align: center;
    }

    #loginhder li {
        display: inline-block;
        margin: 0 10px;
    }

    .content-image01 {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 10px auto;
    }

    .row-layout {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .column-layout {
        width: 100%;
        max-width: 400px;
        padding: 10px;
        box-sizing: border-box;
    }

    .section-box00 {
        margin-bottom: 15px;
    }

    input[type="text"],
    input[type="password"] {
        width: 100%;
        padding: 10px;
        font-size: 16px;
        box-sizing: border-box;
    }

    input[type="button"] {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }
}*/
