/* ======================================================================                                               */
/* Product      :                                                                                                       */
/* Notes        :                                                                                                       */
/*                                                                                                                      */
/* ======================================================================                                               */
/*                                                                                                                      */
/*  (c) 2006 Justsystems Canada Inc. All Rights Reserved                                                                            */
/*                                                                                                                      */
/* ======================================================================                                               */
/* Revision History: (last five changes)                                                                                */
/* Name             Date       Description                                                                              */
/* =========================                                                                                            */
/* |syeo			Feb 18 2010 Refined before-text, removed extra margins for topichead and topicgroup elements *|
/* |syeo					30-May-07 Changed before-text for <topichead> and <topicgroup> */
/* | nhu             3-Dec-07  PROD00000000 ulysses_trunk to main merge (3930 items: 425 dirs, 3505 files)              */
/* | syeo           30-May-07  PROD00027826                                                                             */
/* | syeo				22-May-07 Changed margins and lightened background grey */
/* | asmith          7-Feb-07  PROD00027303: Fix CSS as per IDD                                                         */
/* | asmith          6-Feb-07  PROD0000000: Missed topicgroup:before CSS                                                */
/* ======================================================================                                               */



/*New content for DITA 1.2 */

/*Topicref before-text variations*/

[class~="map/topicref"]:before{
	content: " Topic or map reference ";
	background-color: #F2F2F2; 
	display: inline;
	}
[class~="mapgroup-d/keydef"]:before{
	content: " Key definition ";
}

[class~="mapgroup-d/anchorref"]:before{
	content: " Anchor reference ";
}

[class~="mapgroup-d/mapref"]:before{
	content: " Map reference ";
}

[class~="mapgroup-d/topicgroup"]:before{
	content: " Topic group ";
}

[class~="mapgroup-d/topichead"]:before{
	content: " Topic heading ";
}

[class~="mapgroup-d/topicset"]:before{
	content: " Topic set ";
}

[class~="mapgroup-d/topicsetref"]:before{
	content: " Topic set reference";
}


[class~="glossref-d/glossref"]:before{
	content: " Glossary reference ";
}


/*Always use navtitle as before-text if it exists*/

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

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

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

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

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

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

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

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

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