/*----------------------------------------
    Global 
-----------------------------------------*/

body{
}
body, table {
    font-family:arial, helvetica, sans-serif;
    font-size:12px;
}

@media print{
    body, table {
        font-size:10px;
    }
}

/*--------------------------------------------
    Source code in the instance, source or 
    annotations.
--------------------------------------------*/
span.tEl {
    color: #000096;
    background-color:inherit;
}
span.tXSLEl {
    color: #0064C8;
    background-color:inherit;
}
span.tAN {
    color: #F5844C;
    background-color:inherit;
}
span.tAV {
    color: #993300;
    background-color:inherit;
}
span.tI {
    color: #000000;
    background-color:inherit;
}
span.tT {
    color: #000000;
    background-color:inherit;
}
span.tC {
    color: #006400;
    background-color:inherit;
}
span.tCD {
    color: #008C00;
    background-color:inherit;
}
span.tPI {
    color: #8B26C9;
    background-color:inherit;
}
span.tEn {
    color: #969600;
    background-color:inherit;
}
span.qname{
    color:#000096;
    background-color:inherit;
}

/*-----------------------------------------
    Documentation sections.
------------------------------------------*/

div.componentTitle, p.sHierarchyTitle {
    font-size:1.4em;
    font-weight:bold;
    text-align:left;
    margin-top:1.4em;
    margin-bottom:0.7em;
}
div.componentTitle{
/*    color:rgb(255, 160, 100);*/
    color:#333333;
    background-color:inherit;
}


/* Tables. */

td, th {
    padding:2px 2px 2px 5px;
    text-align:left;
    vertical-align:top;
}

tr > th {
    background-color:#C4DAF4;
    color:inherit;
}

/* Contrast for the titles*/
table.component {
    width:100%;
    border-spacing:1px;
}

@media print{
    table.component{
        border:1px solid gray;
        border-collapse:collapse;
    }
    
    table.component td{
        border:1px solid gray;
    }
}



table.component td.firstColumn{
/* pink */
    /*background-color:#FFC0C0;*/
/*green */
    /* background-color:#C0F0A0;*/
/*bleu*/
    /*background-color:#89C6E2;*/
/*orange*/
    /*background-color:#FFD697;*/
/*brown*/
    /*background-color:#D5BC8E;*/
/*lilla*/    
    /*background-color:#DDDDFF;*/
/*gray-bleu*/
    /*background-color:#CAD0DD;*/
/*brown-light*/
    /*background-color:#DECFB8;*/
/*gray-green*/
    /*background-color:#C6D0CD;*/
/*bleu-2*/
    /*background-color:#B5D5FF;*/
/*gray*/
    /*background-color:#CCCCCC;*/


/*bleu */
background-color:#C4DAF4;
    
     

    color:black;
    width:12%;
}

table.component table td.firstColumn{
    border:none;
    background-color:#EAF1FB;
    color: inherit;
}

td.firstColumn b{
    font-weight:normal;
}


/* The Name and Expand/Collapse control are on the same line
 but at different ends.*/
td.firstColumn div.floatLeft{
    float:left;
}
td.firstColumn div.floatRight{
    float:right;
}

/* Subtables */
table.component table{
    width:100%;
}
table.component table,
table.component table td,
table.component table th{
    border:0;
}


/* Properties table */
table.propertiesTable {
    border-spacing:1px;
}
table.propertiesTable td.firstColumn{
    width:140px;
    text-transform:capitalize;        
}
/* Used by table */
table.usedByTable {
    border-spacing:1px;
}
table.usedByTable td.firstColumn{
    width:140px;
    text-transform:capitalize;        
}

/* Facets table*/
table.facetsTable {
    border-spacing:1px;
}
table.facetsTable td.firstColumn{
    width:140px;
    text-transform:capitalize;        
}

/* Attributes table */
table.attributesTable {
    border-spacing:1px;
}
table.attributesTable th{
    font-weight:normal;
}
table.attributesTable tr:hover{
    color:inherit;
    background-color:#EAF1FB;
}


/* Identity constraints table */
table.identityConstraintsTable {
    border-spacing:1px;
}
table.identityConstraintsTable th{
    font-weight:normal;
}
table.identityConstraintsTable tr:hover{
    color:inherit;
    background-color:#EAF1FB;
}



/*---------------------------------------
    The diagram.    
----------------------------------------*/

table.component td.diagram {
    background-color:white;
    color:inherit;
}


/* This table is a workaround for an IE bug regarding pre-wrap */
table.preWrapContainer,
table.preWrapContainer td{
    border:0;
    margin:0;
    padding:0;
}


/* Annotations. */
div.annotation{    
}
div.annotation pre{
    font-family:arial, helvetica, sans-serif;
    margin:0;
}
div.annotation,
div.annotation table,
div.annotation table td{
    margin:0;
    padding:0;
}

/*  Hierarchy */
ul > li.internal, ul > li.schemaHierarchy {
    list-style:none;
}

ul.internal {
    margin:2px;
    padding:0;
}

ul ul li.internal {
    padding-left:10px;
    
    list-style-image:url('img/hierarchy_arrow.gif');
    list-style-position:inside;
}

ul ul li.schemaHierarchy {
    padding-left:20px;
    
    list-style-image:none;
    list-style-position:inside;
}

ul.schemaHierarchy {
    margin:2px;
    padding-left:20px;
}

/*-------------------------------------
    Rounded tables.
---------------------------------------*/

table.rt,
table.rt_with_bg{
    border-collapse:collapse;
    border-spacing:0;
    width:100%;
} 
table.rt_with_bg{
    /*background-color:#C0F0A0;*/
    background-color:white;
    color:inherit;
}


.rt_cornerTopLeft{
    background-color:transparent;
    background-repeat:no-repeat;
    background-position:right;    
    width:8px;
    height:8px;
    margin:0;
    padding:0;
}
.rt_cornerTopLeft{
    background-image:url('img/cTL.gif');
}


.rt_cornerBottomLeft{
    background-color:transparent;
    background-repeat:no-repeat;
    background-position:right;    
    width:8px;
    height:8px;
    margin:0;
    padding:0;
}
.rt_cornerBottomLeft{
    background-image:url('img/cBL.gif');
}


.rt_cornerTopRight{
    background-color:transparent;
    background-repeat:no-repeat;
    width:8px;
    height:8px;
    margin:0;
    padding:0;

}
.rt_cornerTopRight{
    background-image:url('img/cTR.gif');
}


.rt_cornerBottomRight{
    background-color:transparent;
    background-repeat:no-repeat;
    width:8px;
    height:8px;
    margin:0;
    padding:0;

}
.rt_cornerBottomRight{
    background-image:url('img/cBR.gif');    
}


.rt_content{
    background-color:white;
    color:inherit;
    width:auto;
    margin:0;
    padding:0;
}


.rt_lineLeft{
    background-color:transparent;
    background-repeat:repeat-y;
    background-position:right;    
    width:8px;
    margin:0;
    padding:0;

}
.rt_lineLeft{
    background-image:url('img/lL.gif');
}


.rt_lineRight{
    background-repeat:repeat-y;
    width:8px;
    margin:0;
    padding:0;
}
.rt_lineRight{
    background-image:url('img/lR.gif');
}


.rt_lineTop{
    background-color:transparent;
    background-repeat:repeat-x;
    height:8px;
    width:auto;
    margin:0;
    padding:0;
}
.rt_lineTop{
    background-image:url('img/lT.gif');        
}

.rt_lineBottom{
    background-color:transparent;
    background-repeat:repeat-x;
    height:8px;
    width:auto;
    margin:0;
    padding:0;
}
.rt_lineBottom{
    background-image:url('img/lB.gif');
}


/* -------------------------------------- 
    Controls for bulk showing/hidding sections 
    from the documentation.
----------------------------------------*/

.globalControls h3{
    margin:0.1em;
    font-size:1.2em;
}

.globalControls table td{
    padding:0;
    margin:0;
}

.globalControls{
    position:fixed;
    right:0;
    background-color:transparent;
    padding-left:0.5em;
    padding-right:0.5em;
    padding-bottom:0.5em;
    width:190px;
}

@media print{
    .globalControls{
        display:none;
    }
}

/* Expand/collapse of a single section. */
input.control {
    text-align:center;
    vertical-align:middle;
    padding:0;
    padding-right:3px;
    padding-bottom:2px;
    
}


/* close button */
td.rt_content div span input{
    font-size:0.8em;
}

@media print{
    input.control{
        display:none;
    }
}




/*-----------------------------------------
    Navigation.
------------------------------------------*/
a, a:visited {
    color:rgb(0, 0, 150);
    background-color:inherit;
}

a:link, a:visited {
    text-decoration:none; 
}
a:hover {
    text-decoration:underline;
}

div.toTop{
    text-align:right;
}
div.toTop a{
    font-weight:normal;
}




/*------------------------------------------
  The second level of index. Floating DIVs
-------------------------------------------*/
.toc {
}
.toc div.verticalLayout, div.horizontalLayout{
    float:left;
    display:block;

    background-color:white;
    color:inherit;

    min-width:130px;
    min-height:50px;
    
    padding:0.5em;
}
/* This is not used. */
.toc div.verticalLayout {
    clear:left;
}

/* Hack for the IE - acts like a minimum height.*/
* html .toc div.horizontalLayout, 
* html .toc div.verticalLayout {
    width:120px;
    height:60px;
}

/* Namespacces or system ids in the TOC. */
.toc .indexGroupTitle {
    font-weight:bold;
    margin-bottom:0.5em;
}

/* Components group*/

div.componentGroupTitle {
    font-weight: bold;
    color: black;
    background-color: inherit;
}

div.componentGroup {
    padding-top: 4px;
}

table.componentGroup {
    border-spacing: 1px;
}

td.componentGroup {
    padding: 0px 0px 0px 0px;
}



/*----------------
    The footer. 
-----------------*/
.footer{
    margin-top:3em;
}
.redX{
    color:red;
    background-color:inherit;
    font-size:1.2em;
}
.oXygenLogo{
    color:#1166DD;
    background-color:inherit;
    font-weight:bold;
    font-size:1.2em;
}


/*  List item from documentation format */
ul > li.doc{
    list-style:disc;
    margin-left:10px;
}

/* No margin for pre from the table.*/
td > pre {
    margin:0px;
}

/* Wrap the long lines in the 'pre' section. */
pre {
    white-space: pre-wrap;       /* css-3 */
    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    word-wrap: break-word;       /* Internet Explorer 5.5+ */

}

/*--------------------------------------------
    Modern SDC4 Design System Overrides
    Applied when viewed in iframe wrapper
---------------------------------------------*/

/* Use Inter font family when available */
body, table {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333333;
}

@media print{
    body, table {
        font-size: 11px;
    }
}

/* Improved component titles */
div.componentTitle {
    color: #0a2342;
    font-size: 1.75em;
    border-bottom: 2px solid #2ca58d;
    padding-bottom: 0.5em;
    margin-bottom: 1em;
}

/* Modern table styling */
table.component {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

tr > th {
    background-color: #0a2342;
    color: white;
    font-weight: 600;
    padding: 0.75rem 1rem;
}

table.component td.firstColumn {
    background-color: #e8f5f2;
    color: #0a2342;
    font-weight: 600;
}

table.component table td.firstColumn {
    background-color: #f7f9fb;
}

/* Improved hover effects */
table.attributesTable tr:hover,
table.identityConstraintsTable tr:hover {
    background-color: #e8f5f2;
    transition: background-color 0.2s ease;
}

/* Modern link colors */
a, a:visited {
    color: #2ca58d;
    text-decoration: none;
}

a:hover {
    color: #248a73;
    text-decoration: underline;
}

/* Better code blocks */
pre {
    background-color: #f8f9fa;
    border: 1px solid #e1e6ea;
    border-radius: 0.375rem;
    padding: 1rem;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Improved diagram area */
table.component td.diagram {
    background-color: #f7f9fb;
    padding: 1rem;
    border-radius: 0.375rem;
}

/* Modern rounded corners (replace GIF-based) */
.rt_cornerTopLeft,
.rt_cornerTopRight,
.rt_cornerBottomLeft,
.rt_cornerBottomRight,
.rt_lineLeft,
.rt_lineRight,
.rt_lineTop,
.rt_lineBottom {
    /* Disable old GIF-based rounded corners */
    background-image: none !important;
}

table.rt,
table.rt_with_bg {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Improved collapse/expand buttons */
input.control {
    background-color: #2ca58d;
    color: white;
    border: none;
    border-radius: 0.25rem;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

input.control:hover {
    background-color: #248a73;
}

/* Better hierarchy visualization */
ul ul li.internal {
    border-left: 2px solid #2ca58d;
    padding-left: 1rem;
    margin-left: 0.5rem;
}

/* Improved section headers */
.globalControls h3 {
    color: #0a2342;
    font-weight: 700;
}

/* Enhanced annotations */
div.annotation {
    background-color: #f7f9fb;
    padding: 1rem;
    border-left: 3px solid #2ca58d;
    margin: 1rem 0;
    border-radius: 0.375rem;
}

/* Footer improvements */
.footer {
    border-top: 1px solid #e1e6ea;
    padding-top: 2rem;
    color: #666;
    font-size: 0.875rem;
}

/* Responsive tables for mobile */
@media (max-width: 768px) {
    table.component {
        font-size: 0.875rem;
    }

    td, th {
        padding: 0.5rem;
    }

    div.componentTitle {
        font-size: 1.5em;
    }
}

/* Accessibility improvements */
:focus {
    outline: 2px solid #2ca58d;
    outline-offset: 2px;
}

/* Better print styles */
@media print {
    body {
        background: white;
    }

    a {
        color: #0a2342;
    }

    table.component {
        box-shadow: none;
        border: 1px solid #e1e6ea;
    }
}