@charset "UTF-8";

.printonly {
    display: none !important;
}


.th-color-50  { background-color: #ffebee; color: #000; }
.th-color-100 { background-color: #ffcdd2; color: #000; }
.th-color-200 { background-color: #ef9a9a; color: #000; }
.th-color-300 { background-color: #e57373; color: #000; }
.th-color-400 { background-color: #ef5350; color: #000; }
.th-color-500 { background-color: #f44336; color: #fff; }
.th-color-600 { background-color: #e53935; color: #fff; }
.th-color-700 { background-color: #d32f2f; color: #fff; }
.th-color-800 { background-color: #c62828; color: #fff; }
.th-color-900 { background-color: #b71c1c; color: #fff; }
.th-color-A100 { background-color: #ff8a80; color: #000; }
.th-color-A200 { background-color: #ff5252; color: #000; }
.th-color-A400 { background-color: #ff1744; color: #000; }
.th-color-A700 { background-color: #d50000; color: #000; }

body,h1,h2,h3,h4,h5,h6 {font-family: sans-serif}
.w3-bar,h1,button {font-family: sans-serif}
.fa-chart-line {font-size:200px}

 h1{font-size:24px} 
 h2{font-size:20px}
 h3{font-size:16px} 
 h4{font-size:14px} 
 h5{font-size:12px} 
 h6{font-size:10px} 


/* Word-Break for Responsive Design */
h1,h2,h3,h4,h5,h6,p { 
    word-break: break-word; 
}

/*
We define a style for the s tag, to make sure that it is always interpreted/displayed correctly. 
The <s> element was deprecated in HTML 4.01, and was used to define strikethrough text.
The <s> element is redefined in HTML5, and is now used to define text that is no longer correct.
*/
s {
  text-decoration: line-through;
}




/* For debugging or search engine */
.invisibleText {
    color: transparent;
    background-color: transparent;
}

/* For debugging */
.lightInvisibleText {
    opacity: 0.1;
    color: #000;
    background-color: transparent;
}



#menu .w3-bar {
    background-color: #333;
    color: #d4a346;
}


header {
    padding: 3em 0em;
    margin-top: 50px;    
    background-color: #f8f9fa;
    color: #333;
}

div.content {
    min-height: 800px;
}

footer {
    min-height: 25em;
    background-color: #d1d1d1;
}


header#startpageheader {
    padding: 6em 0em;
}

header#documentViewHeader {
    padding-top: 1em;
    padding-bottom: 0;
}


.documentHeader {
    background-color: #f8f9fa;
}


#btnShowConversation {
    margin-block-end: 0.5em;
    margin-bottom: 0.5em;
}



.conversationNavigation { background-color: #fff; }


#conversationItemList .w3-table-all{border: 0 none #fff; }
#conversationItemList .w3-table-all tr{border-bottom:0px none #ddd}
#conversationItemList .w3-table-all tr:nth-child(odd){background-color:#f4fff4}.w3-table-all tr:nth-child(even){background-color:#f1fff1}



.documentListTable ul {
    list-style-type: none;
    list-style-position: inside;
    -webkit-padding-start: 0;
    padding: 0;
}

.documentListTable ul li {
    padding-left: 2em;
    padding-right: 2em;
}

.documentTabView-active,.documentTabView-active-hover:hover{
    border-color: #d4a346 !important;
}


.documentViewHeaderButtons {

}



.documentAuthors ul {
    list-style-type: none;
    list-style-position: inside;
    -webkit-padding-start: 0;
    padding: 0;
}
.documentAuthors ul li {
    padding-left: 2em;
    padding-right: 2em;
    font-weight: bold;
}
.documentAuthors .documentSender {
    text-align: left;
}
.documentAuthors .documentRecipient {
    text-align: right;
}


.documentViewTextArea {
    margin-bottom: 2em;
    min-height: 300px;
}

.documentViewTextArea + .documentInformation {
    padding-top: 0;
    margin-top: 0;
}

/* Clean design with subtle alternating backgrounds for section distinction */
.documentInformation {
    background-color: #f8f9fa; /* Very light gray */
    color: #212529;
    padding: 2rem 0;
    border: none; /* Remove all borders */
}

/* Alternate section backgrounds for visual distinction */
.documentInformation:nth-of-type(odd) {
    background-color: #f8f9fa; /* Very subtle gray */

}

.documentInformation:nth-of-type(even) {
    background-color: #ffffff; /* White */
}

/* Document header - clean, no border */
#documentViewHeader {
    background-color: #ffffff;
    padding: 1.5rem 0;
    border: none;
}

/* Tab area - white background */
.documentViewTextArea {
    background-color: #ffffff;
    padding: 2rem 0;
}

/* Tab control area - very subtle gray */
.documentViewTabArea {
    padding: 1rem 0;
}

/* Remove old backgrounds */
.documentInformation div.mx-auto {
    background-color: transparent;
}

.documentInformation .documentInformationInnerBox {
    background-color: transparent;
    border: none;
    padding: 0;
}




/* TIME LINE */
.timeline {
    display: table;
    width: 100%;
    table-layout: fixed;
    margin: 0;
    margin-bottom: 0.5em;
    break-inside: avoid;
}
.timeline li {
    display: table-cell;
    border-top: 4px solid #ccc;

    -webkit-transform: translate(+50%, +50%);
    -moz-transform: translate(+50%, +50%);
    -ms-transform: translate(+50%, +50%);
    -o-transform: translate(+50%, +50%);
    transform: translate(+50%, +50%);
}
.timeline li::before {
    content: '';
    top: -12px;
    left: -6px;

    display: block;
    width: 6px;
    height: 6px;
    border: 10px solid #31708F;
    border-radius: 10px;
    background: #fff;
    position: absolute;
}
.timeline li:last-child {
    border-top: 0px solid #ccc;
}
.timeline li:last-child::before {  	
    top: -8px;	
}
.timeline li div {
    display: block;
    text-align: center;
    cursor: pointer;

    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.timeline li div .status {
    display: none;
}
.timeline li div:hover .status {
    color: #48A4D2;
    z-index: 1;    
    display: inline;
}
.timeline li div h4 {
    margin-top: 15px;
}
.timeline li div p {
    margin-top: 40px;
}


/* SLIDE SHOW */
.image_fitframe {
    width: auto;    
    max-height: 600px;
    text-align: center;
    margin-left: 40px;
    margin-right: 40px;
}




/* Custom max-width utilities for wide screen readability */
.max-w-screen-xl {
    max-width: 1200px !important;
}

/* Tab styling improvements */
#documentViewTabButtons {
    border-bottom: 1px solid var(--surface-border, #dee2e6);
}

#documentViewTabButtons a {
    text-decoration: none !important;
    color: inherit;
}

#documentViewTabButtons .border-primary {
    border-color: var(--primary-color, #3B82F6) !important;
}

#documentViewTabButtons .text-primary {
    color: var(--primary-color, #3B82F6) !important;
}

/* Ensure smooth transition */
#documentViewTabButtons > a > span {
    transition: all 0.2s ease-in-out;
}

/* Mobile responsive: stack tabs on very small screens */
@media screen and (max-width: 576px) {
    #documentViewTabButtons {
        flex-direction: column;
    }

    #documentViewTabButtons > a {
        flex: none;
        width: 100%;
    }
}

/* Clean section headings - no borders */
.documentInformation h2 {
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    margin-top: 0;
    color: #212529;
    font-weight: 600;
    font-size: 1.5rem;
    border: none; /* Remove bottom border */
}

/* Very simple timeline - minimal styling */
ul.timeline {
    border-left: 2px solid #dee2e6;
    padding-left: 2rem;
    margin-left: 0.5rem;
}

ul.timeline li {
    margin-bottom: 1.5rem;
    position: relative;
}

ul.timeline li::before {
    content: '';
    position: absolute;
    left: -2.4rem;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #6c757d;
    border: 2px solid #ffffff;
}

/* Print-friendly */
@media print {
    .documentInformation {
        background-color: white !important;
    }

    .documentInformation:nth-of-type(even) {
        background-color: white !important;
    }
}



.table-notsorted:before{
    content: '\29D6';
}

.table-sort-ascent:before{
    /*content: '\25B2';*/
    content: '\22C0';
}

.table-sort-descent:before{
    /*content: '\25BC';*/
    content: '\22C1';
}

/* Correspondence Dialog - Full-screen on mobile */
@media screen and (max-width: 768px) {
    .correspondence-dialog {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        margin: 0 !important;
        top: 0 !important;
        left: 0 !important;
    }

    .correspondence-dialog .ui-dialog-content {
        height: calc(100% - 60px) !important;
    }
}




/* Custom max-width utilities for wide screen readability */
.max-w-screen-xl {
    max-width: 1200px !important;
}





