/* ======================================================================                                               */
/* Product      :                                                                                                       */
/* Notes        :                                                                                                       */
/*                                                                                                                      */
/* ======================================================================                                               */
/*                                                                                                                      */
/*  (c) 2006 Justsystems Canada Inc. All Rights Reserved                                                                            */
/*                                                                                                                      */
/* ======================================================================                                               */
/* Revision History: (last five changes)                                                                                */
/* Name             Date       Description                                                                              */
/* =========================                                                                                            */
/* |syeo			Feb 19 2010 Changed margins and before-text for navref for consistency with topicref */
/* | syeo			Feb 17 2010 DITA 1.2 additions, topicref before-text refinements */
/* | nhu             3-Dec-07  PROD00000000 ulysses_trunk to main merge (3930 items: 425 dirs, 3505 files)              */
/* | syeo           17-Aug-07  Ulysses fixes                                                                          */
/* | syeo           24-May-07  prod00027808                                                                             */
/* | su-laine.yeo   22-May-07  Adjusted margins, increased font size, styled topicmeta elements */
/* | asmith         22-Feb-07  PROD00000000: Missing proc-inst styling for maps                                         */
/* ======================================================================                                               */

/* XMetaL styles */
$DOCUMENT {
	font-family: "Arial Unicode MS", Verdana, Arial, sans-serif;
	margin-top: 6px;
	margin-left: 0px;
	margin-bottom: 10px;
	padding-top: 6px;
	padding-left: 0px;
	text-align: left;
	font-size: 14px;
	white-space: normal;
	padding-bottom: 6pt;
}

$MARKSEC {
	display: block;
	color: black;
	white-space: normal;
	font-family: "Lucida Sans Unicode", monospace;
	font-weight: normal;
	font-size: 12px;
}

$COMMENT {
	display: inline;
	color: #800000;
	white-space: pre;
	text-align: left;
}

$PROCINS {
	background-color: #F0F8FF;
	color: #000066;
	text-align: left;
	border: 1pt solid;
	font-style: italic;
}

$PROCINS[Pub], $PROCINS[Interwoven], $PROCINS[iw_document], $PROCINS[interwoven], $PROCINS[iw_component] {
	display: none;
}

[status="changed"], [status="changed"] *, [status="new"], [status="new"] * {
	background-color: #FFFFAE;
}

[status="deleted"], [revisionflag="deleted"] * {
	text-decoration: line-through;
	background-color: #FFFFAE;
}

[size="smaller"] {
	font-size: small;
}

[size="normal"] {
	font-size: medium;
}

[size="larger"] {
	font-size: large;
}
/* transclusion */
[conref] {
    background-color: #FFFF99;
}

[_xm-transclusion-hidden] 
{   background-color: #FFFF99;
    }

[_xm-transclusion-hidden]:before 
{	content: " "; 
	display: inline;
}

[_xm-transclusion-visible], [_xm-transclusion-visible] [conref] {
    background-color: #E5E5E5;        
}

[conkeyref] {
    background-color: #FFFF99;
}

[_xm-transclusion-visible], [_xm-transclusion-visible] [conkeyref] {
    background-color: #E5E5E5;        
}

/* map {*/
[class~="map/map"] {
	font-family: "Arial Unicode MS", Verdana, Arial, sans-serif;
}

/* anchor {*/
[class~="topic/anchor"] {
	display: inline;
}



[class~="map/anchor"][id]:after{
	content: " " attr(id) " ";
	background-color: E0E0E0;
	display: inline;
}

/* audience - cascades from main stylesheet, modify the bg color */
[class~="topic/audience"]{ 
	display: inline;
}

[class~="topic/audience"]:before{ 
        content: " " attr(name) "  ";
   
	color:black;
}



/* author */
[class~="topic/author"]{ 
	display: inline;
}

/* category */
[class~="topic/category"]{ 
	display:inline;
}

[class~="topic/category"] keyword{ 
        display: inline;
}


/* copyright */
[class~="topic/copyright"]{
	display: inline;
}
/* copyryear */
[class~="topic/copyryear"]{
	display: inline;
	
}
/* copyrholder */
[class~="topic/copyrholder"]{
	display: inline;
}

/* copyryear */
[class~="topic/copyryear"]:before{
	content: " " attr(year) " ";
	display: inline;
	color:black;
}

/* created {*/
[class~="topic/created"] {
	display: inline;
}

[class~="topic/created"]:before{
	content: " " attr(date) " ";
	background-color: #F2F2F2;
	display: inline;
}


/* critdates */
[class~="topic/critdates"] {
	display: inline;
}


[class~="topic/critdates"] * {
	display: inline;
}


/* keyword */
[class~="topic/keyword"]{ 
	display:inline;
}


/* linktext {*/
[class~="topic/linktext"] {
	display: inline;
}



/* map */
[class~="map/map"] {
	display: block;
	/*background-color: white;*/
	margin-top: 5pt;
	margin-bottom: 5pt;
	padding-top: 5pt;
	padding-bottom: 5pt;
}


[class~="map/map"][title]:before{
	content: " " attr(title) " ";
	background-color: #F2F2F2;
	display: inline;
}

[class~="map/map"]:before{
	content: " Map ";
	background-color: #F2F2F2;
	display: inline;
}


/* navref {*/
[class~="map/navref"] {
	display: block;
	margin-left: 0pt;
	padding-left: 12pt;
	margin-top: 5pt;
	padding-top: 5pt;
	margin-bottom: 5pt;
	padding-bottom: 5pt;
}


*[class~="map/navref"] *[class~="map/navref"] {
	display: block;
	background-color: #F2F2F2;
	display: inline;

}

[class~="map/navref"]:before
{
	content: "  Eclipse navigation reference  ";
	background-color: #F2F2F2;
	display: inline;
}

[class~="map/navref"][mapref]:after
{
	content: ":" attr(mapref)  ;
	background-color: #F2F2F2;
	display: inline;
}


/* othermeta {*/
[class~="topic/othermeta"] {
	display: inlinie;
}

/* othermeta:before {*/
[class~="topic/othermeta"]:before {
	content: attr(name) "=" attr(content) " ";
	color: black;
	background-color: #F2F2F2;
}


/* permissions {*/
[class~="topic/permissions"] {
	display: inline;
}

/* permissions:before {*/
[class~="topic/permissions"]:before {
	content: " " attr(view) " ";
	background-color: #F2F2F2;
	color:black;
}

/* prodinfo {*/
[class~="topic/prodinfo"] {
	display: inline;
}

/* prodname {*/
[class~="topic/prodname"] {
	display: inline;
}


/* RELTABLE STYLING */

relcell {
	display: table-cell;
}

relcell * {
	margin-left: 0pt;
	padding-left:0pt;
}
/*Single att values */

relcolspec[type]:before {
	 font-weight: bold;
	content: 'Type = "' attr(type) '"';
	
}


relcolspec[linking]:before {
	 font-weight: bold;
	content: 'Linking = "' attr(linking) '"';
	
}


relcolspec[importance]:before {
	 font-weight: bold;
	content: 'Importance = "' attr(importance) '"';
	
}



relcolspec[scope]:before {
	 font-weight: bold;
	content: 'Scope = "' attr(scope) '"';
	
}

relcolspec[collection-type]:before {
	 font-weight: bold;
	content: 'Collection-type = "' attr(collection-type) '"';
	
}

/* Duals*/

relcolspec[type][linking]:before {
	 font-weight: bold;
	content: 'Type = "' attr(type) '"\000aLinking = "' attr(linking) '"' ;
}


relcolspec[type][importance]:before {
	 font-weight: bold;
	content: 'Type = "' attr(type) '"\000aImportance = "' attr(importance) '"' ;
}



relcolspec[type][scope]:before {
	 font-weight: bold;
	content: 'Type = "' attr(type) '"\000aScope = "' attr(scope) '"' ;
}

relcolspec[linking][importance]:before {
	 font-weight: bold;
	content: 'Linking = "' attr(linking) '"\000aImportance = "' attr(importance) '"' ;
}


relcolspec[linking][scope]:before {
	 font-weight: bold;
	content: 'Linking = "' attr(linking) '"\000aScope = "' attr(scope) '"' ;
}


relcolspec[importance][scope]:before {
	 font-weight: bold;
	content: 'Importance = "' attr(importance) '"\000aScope = "' attr(scope) '"' ;
}


relcolspec[type][collection-type]:before {
	 font-weight: bold;
	content: 'Type = "' attr(type) '"\000aCollection-type = "' attr(collection-type) '"';
	
}


relcolspec[linking][collection-type]:before {
	 font-weight: bold;
	content: 'Linking = "' attr(linking) '"\000aCollection-type = "' attr(collection-type) '"';
	
}


relcolspec[scope][collection-type]:before {
	 font-weight: bold;
	content: 'Scope = "' attr(scope) '"\000aCollection-type = "' attr(collection-type) '"';
	
}

relcolspec[importance][collection-type]:before {
	 font-weight: bold;
	content: 'Importance = "' attr(importance) '"\000aCollection-type = "' attr(collection-type) '"';
	
}
/* Triples */

/* TYPE -> LINKING -> IMPORTANCE -> SCOPE */

relcolspec[type][linking][importance]:before {
	 font-weight: bold;
	content: 'Type = "' attr(type) '"\000aLinking = "' attr(linking) '"\000aImportance = "' attr(importance) '"' ;
}


relcolspec[type][linking][scope]:before {
	 font-weight: bold;
	content: 'Type = "' attr(type) '"\000aLinking = "' attr(linking) '"\000aScope = "' attr(scope) '"' ;
}


relcolspec[type][importance][scope]:before {
	 font-weight: bold;
	content: 'Type = "' attr(type) '"\000aImportance = "' attr(importance) '"\000aScope = "' attr(scope) '"' ;
}

relcolspec[linking][importance][scope]:before {
	 font-weight: bold;
	content: 'Linking = "' attr(linking) '"\000aImportance = "' attr(importance) '"\000aScope = "' attr(scope) '"';
}


relcolspec[linking][importance][collection-type]:before {
	 font-weight: bold;
	content: 'Linking = "' attr(linking) '"\000aImportance = "' attr(importance) '"\000aCollection-type = "' attr(collection-type) '"';
}


relcolspec[linking][scope][collection-type]:before {
	 font-weight: bold;
	content: 'Linking = "' attr(linking) '"\000aScope = "' attr(scope) '" \000aCollection-type = "' attr(collection-type) '"';
}


relcolspec[type][importance][collection-type]:before {
	 font-weight: bold;
	content: 'Type = "' attr(type) '"\000aImportance = "' attr(importance) '"\000aCollection-type = "' attr(collection-type) '"';
}


relcolspec[type][scope][collection-type]:before {
	 font-weight: bold;
	content: 'Type = "' attr(type) '"\000aScope = "' attr(scope) '"\000aCollection-type = "' attr(collection-type) '"';
}


relcolspec[type][linking][collection-type]:before {
	 font-weight: bold;
	content: 'Type = "' attr(type) '"\000aLinking = "' attr(linking) '"\000aCollection-type = "' attr(collection-type) '"';
}


relcolspec[scope][importance][collection-type]:before {
	 font-weight: bold;
	content: 'Scope = "' attr(scope) '"\000aImportance = "' attr(importance) '"\000aCollection-type = "' attr(collection-type) '"';
}

/* Quads */

/* TYPE -> LINKING -> IMPORTANCE -> SCOPE -> COLLECTION-TYPE*/

relcolspec[type][linking][importance][scope]:before {
	 font-weight: bold;
	content: 'Type = "' attr(type) '"\000aLinking = "' attr(linking) '"\000aImportance = "' attr(importance) '"\000aScope = "' attr(scope) '"' ;
}

relcolspec[type][linking][importance][collection-type]:before {
	 font-weight: bold;
	content: 'Type = "' attr(type) '"\000aLinking = "' attr(linking) '"\000aImportance = "' attr(importance) '"\000aCollection-type = "' attr(collection-type) '"' ;
}


relcolspec[type][linking][scope][collection-type]:before {
	 font-weight: bold;
	content: 'Type = "' attr(type) '"\000aLinking = "' attr(linking) '"\000aScope = "' attr(scope) '"\000aCollection-type = "' attr(collection-type) '"' ;
}

relcolspec[type][importance][scope][collection-type]:before {
	 font-weight: bold;
	content: 'Type = "' attr(type) '"\000aImportance = "' attr(importance) '"\000aScope = "' attr(scope) '"\000aCollection-type = "' attr(collection-type) '"' ;
}


relcolspec[linking][importance][scope][collection-type]:before {
	 font-weight: bold;
	content: 'Linking = "' attr(linking) '"\000aImportance = "' attr(importance) '"\000aScope = "' attr(scope) '"\000aCollection-type = "' attr(collection-type) '"' ;
}

/* Quints */

/* TYPE -> LINKING -> IMPORTANCE -> SCOPE -> COLLECTION-TYPE*/

relcolspec[type][linking][importance][scope][collection-type]:before {
	 font-weight: bold;
	content: 'Type = "' attr(type) '"\000aLinking = "' attr(linking) '"\000aImportance = "' attr(importance) '"\000aScope = "' attr(scope) '"\000aCollection-type = "' attr(collection-type) '"';
}



relcolspec {
	display: table-cell;
}

relheader {
	display: table-row;
	font-weight: bold;
	background-color: #E5E5E5;
}

relrow {
	display: table-row;
}


reltable {
	display: table;
}

/* resourceid {*/
[class~="topic/resourceid"] {
	display: inline;
}

[class~="topic/resourceid"]:before {
	content: attr(id);
	background-color: #F2F2F2;
	color:black;
}

/* revised {*/
[class~="topic/revised"] {
	display: inline;
}

[class~="topic/revised"]:before{
	content: " " attr(modified) " ";
	background-color: #F2F2F2;
}



/* searchtitle {*/
[class~="topic/searchtitle"]{
	display:block;
}

/* topicmeta */
[class~="map/topicmeta"] {
	display: block;
	padding-left: 5pt;
	margin-top: 5pt;
	margin-bottom: 5pt;
	border-color: #D6D6D6;
	border: 1pt solid;
}


/* topicmeta */
[class~="map/topicmeta"]:before {
	content:" \a";
}

[class~="map/topicmeta"] * {
	display: block;
	margin-left: 0pt;
	padding-left: 5pt;
	margin-top: 5pt;
	padding-top: 5pt;
	margin-bottom: 5pt;
	padding-bottom: 5pt;
}


/* topicref */
[class~="map/topicref"] {
	display: block;
	margin-left: 0pt;
	padding-left: 12pt;
	margin-top: 5pt;
	padding-top: 5pt;
	margin-bottom: 5pt;
	padding-bottom: 5pt;
}

relcell > [class~="map/topicref"] {
	display: block;
	margin-left: 5pt;
	padding-left: 5pt;
	margin-top: 5pt;
	padding-top: 5pt;
	margin-bottom: 5pt;
	padding-bottom: 5pt;
}




*[class~="map/topicref"] *[class~="map/topicref"] {
	display: block;
}


reltable>topicmeta {
	display: table-row;
}

/* vrm {*/
[class~="topic/vrm"] {
	display: inline;
}

[class~="topic/vrm"]:before{
	content: " " attr(version) " ";
	background-color: #F2F2F2;
	display: inline;
}


/* vrmlist {*/
[class~="topic/vrmlist"] {
	display: inline;
}

/* END FORCE CASCADE RULES */
/* keywords */
*[class~="topic/keywords"]{ 
	display: block;
	
}

