/*  TITLE:          byodo.css
 *  VERSION:        1-001
 *  FACILITY:       CSS expression for the Build Your Own Domain Ontology
 *  AUTHOR(S):      Hlaszny, Edit PhD (+36 30 3116516, edithlaszny@gmail.com) - HED
 *  SUPERVISED BY:  -
 *  CREATION DATE:  30-OCT-2025
 *
 *  ENVIRONMENT:    Firefox V.82.0.2 (64 bit)
 *                  Google Chrome Version 86.0.4240.111 (Official Build) (x86_64)
 *                  Safari Version 13.1 (15609.1.20.111.8)
 *                  on iMAC macOS Catalina (10.15.4)
 *
 *  SUBSYSTEM:      none
 *  MODIFICATION HISTORY:
 *      date        modified by
 *      30-OCT-2025 HED   1-001 first draw
 */

*
{
    margin:  0;
    padding: 0;
    box-sizing: border-box;
}

body
{
    font-family: Arial, sans-serif;
    padding: 10px;
    background-color: #white; /* #ecf0f1; */
}

/* THE CONTAINER */
.ontology-container
{
    position: relative;  /* CRITICAL: Damit position:absolute der Kinder sich darauf beziehen */
    width: 100%;
    top:   0px;
    left:  20px;
    right:  20px;
    max-width: 1000px; /* 1200px; */
    height: 840px;  /* Feste Höhe oder min-height */
    margin: 0 auto;
    background-color: white;
    border: 0px solid #AAA ;   /* e74c3c; Rote Border wie im Screenshot */
    overflow: hidden;             /* Verhindert, dass Content rausragt */
}

/* ------------------------------------------------------------------------------
   FIXED HEADER WITHIN THE CONTAINER --------------------------------------------
   ------------------------------------------------------------------------------ */

.ontology-container header
{
    position: absolute;  /* NON fixed, BUT absolute! */
    top: 0;
    left: 0;
    width: 100%;

    /*                      transition   from        to
    background: linear-gradient(135deg, #f4a460 0%, #f0c89f 100%); */
    color: white;
    padding: 1.5rem 2rem;
    z-index: 100;
}

.ontology-container header h1
{
    font-size:     2.0rem;
    font-weight:   200;
    color:         #1e5ba8;
    margin-bottom: 0.5rem;
}

.ontology-container navHeader
{
    display: flex;
    gap: 2rem;
}

.ontology-container navHeader a
{
    color: #1e5ba8; /* black; */
    text-decoration: none;
    font-size: 1.3em;
    transition: color 0.3s;
}

.ontology-container navHeader a:hover
{
    color: #1e5ba8;
    font-weight: bold;
}

hr.header
{
    margin-top: 8px;
    height: 1px;
    background-color: #1e5ba8;
    border: none;
}

/* ------------------------------------------------------------------------------
   SCROLLBARER CONTENT AREA -----------------------------------------------------
   ------------------------------------------------------------------------------ */
.ontology-container .content-area
{
    position: absolute;
    top: 120px;    /* Höhe des Headers */
    bottom: 60px;  /* Höhe des Footers */
    left: 32px;
    right: 20px;
    padding-right: 12px;

    overflow-y: auto;  /* Nur dieser Bereich scrollt! */
}

.ontology-container .content-area h2
{
    font-size:     1.6rem;
    font-weight:   200;
    color:         #1e5ba8;
    margin-top:    0.5rem;
    margin-bottom: 0.5rem;
}

.ontology-container .content-area h3
{
    font-size:     1.3rem;
    font-weight:   200;
    color:         #1e5ba8;
    margin-top:    0.7rem;
    margin-bottom: 0.5rem;
    margin-left:   1.5rem;
/*
    font-size:     1.1rem;
    color:         #1e5ba8;
    margin-top:    0.7rem;
    margin-bottom: 0.5rem;
    margin-left:   1.5rem;
*/
}

.ontology-container .content-area h4
{
    font-size:     1.2rem;
    font-weight:   200;
    color:         #1e5ba8;
    margin-top:    0.2rem;
    margin-bottom: 0.5rem;
}

.ontology-container .content-area h5
{
    margin-bottom: 0.6rem;
    text-align:    justify;
    font-weight:   300;
    color:         #1e5ba8;
    line-height:   1.1rem;
    font-size:     1.0rem;
    margin-left:   3.0rem;
}

.ontology-container .content-area p
{
    margin-bottom: 0.6rem;
    text-align:    justify;
    line-height:   1.1rem;
    font-size:     1.0rem;
    margin-left:   3.0rem;
}

.ontology-container .content-area ul
{
    margin:          0.4rem 0;
    padding-left:    6em;
    list-style-type: disc;
}

.ontology-container .content-area ol
{
    margin:          0.4rem 0;
    padding-left:    5em;
    list-style-type: disc;
}

.ontology-container .content-area li
{
    margin-bottom: 0.3rem;
    line-height:   1.2;
    padding-left:  0.3rem;
}

.ontology-container .content-area .table
{
    padding-left:  3.2rem;
}

.ontology-container .content-area span
{
    font-size:      1.2rem;
    vertical-align: 5%;
    color:          #FF0000;

}

/* ------------------------------------------------------------------------------
   FIXED FOOTER WITHIN THE CONTAINER --------------------------------------------
   ------------------------------------------------------------------------------ */
.ontology-container footer
{

    top: 766px;    /* Höhe des Headers */


    position: absolute;  /* NON fixed, BUT absolute! */
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;

    /*                      transition   from        to
    background: linear-gradient(135deg, #f4a460 0%, #f0c89f 100%); */
    color: white;
    padding: 1.5rem 2rem;

    height: 120px;  /* Feste Höhe oder min-height */

/*
    padding: 1rem 2rem 0.5rem 0.5;
 */
    z-index: 100;
}

hr.footer
{
    margin-top: 1px;
    margin-bottom: 8px;
    height: 1px;
    background-color: #1e5ba8;
    border: none;
}

/* ------------------------------------------------------------------------------
   CUSTOM SCROLLBAR -------------------------------------------------------------
   ------------------------------------------------------------------------------ */
.ontology-container .content-area::-webkit-scrollbar
{
    width: 10px;
}

.ontology-container .content-area::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.ontology-container .content-area::-webkit-scrollbar-thumb
{
    background: #DDD;
    border-radius: 5px;
}

.ontology-container .content-area::-webkit-scrollbar-thumb:hover
{
    background: #AAA;
}

.nonpareille
{
    font-size:    14px;
    color:        #1e5ba8;
    line-height:  16px;
    vertical-align:8px;
    font-stretch: ultra-condensed;
}

ul.intern
{
    margin:          0.2rem 0;
    padding-left:    2em;
    list-style-type: disc;
}

li.intern
{
    margin-bottom: 0.3rem;
    line-height:   1.2;
    padding-left:  0.1rem;
}
