/******************************************************************************
 * This file should contain all css applicable to content nodes.
 * The file should be loaded by the page displaying the document content.
 *
 * There are 3 versions of this file depending on the screen size.
 */

/* redefine defaults for p elements */
/* Most nodes are simply surrounded by a <p> element without class name */
/* specific class names override these */
.nodechain-document p {
	padding-top: 3px;
	padding-left: 0px;
	padding-right: 0px;
	padding-bottom: 3px;
	margin-top: 12px;
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 2px;
	font-size: 100%;
	line-height: 1.4em;
	text-align: left;
	text-decoration: none;
	/*border: 1px solid black;*/
}

/* simple indent to shift content to the right */
.nodechain-document .indent1 { padding-left: 20px; /*background-color: red;*/}
.nodechain-document .indent2 { padding-left: 40px; }
.nodechain-document .indent3 { padding-left: 60px; }
.nodechain-document .indent4 { padding-left: 80px; }
.nodechain-document .indent5 { padding-left: 100px; }
.nodechain-document .indent6 { padding-left: 120px; }
.nodechain-document .indent7 { padding-left: 140px; }
.nodechain-document .indent8 { padding-left: 160px; }
.nodechain-document .indent9 { padding-left: 180px; }

/* reduce margin and padding for a list of items */
.nodechain-document .listing {
	padding-top: 1px;
	padding-bottom: 1px;
	margin-top: 0px;
	margin-bottom: 1px;
	line-height: 1.3em;
}

/* bullet see generic */

/* footnotes, smaller than the rest */
.nodechain-document .footnote {
	font-size: 0.95em;
}

/******************************************************************************
 * css classes used with 'title' nodes
 * the index page has the same classes but with a different appearence
 */
/* titel of a document, appears on top of most pages, can be big on PC's, small on mobiles */
.nodechain-document .title_document {
	padding-top: 20px;
	padding-left: 0px;
	padding-right: 0px;
	padding-bottom: 5px;
	font-size: 125%;
	line-height: 1.5em;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
	border-bottom: 2px solid black;
	}
.nodechain-document .title_titel {
	padding-top: 10px;
	padding-left: 0px;
	padding-right: 0px;
	padding-bottom: 5px;
	font-size: 150%;
	line-height: 1.3em;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
	border-bottom: 1px solid grey;
	}
.nodechain-document .title_hoofdstuk {
	padding-top: 10px;
	padding-left: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	margin-top: 20px;
	margin-bottom: 0px;
	font-size: 130%;
	font-weight: bold;
	text-align: left;
	text-decoration: none;
	}
.nodechain-document .title_afdeling {
	padding-top: 20px;
	padding-bottom: 3px;
	font-size: 120%;
	font-weight: bold;
	text-align: left;
	text-decoration: none;
	}
.nodechain-document .title_artikel {
	padding-top: 10px;
	padding-bottom: 0px;
	font-size: 110%;
	font-weight: bold;
	text-align: left;
	}
.nodechain-document .title_bijlage {
	padding-top: 5px;
	padding-bottom: 0px;
	font-size: 125%;
	text-align: left;
	text-decoration: underline;
	}
.nodechain-document .title_bijlage_sub {
	padding-top: 5px;
	padding-bottom: 0px;
	font-size: 130%;
	text-align: left;
	text-decoration: none;
}

/* width of traffic signs images ! under revision !  */
.nodechain-document .signs_v		{	height:	120px;	width:	 60px; }
.nodechain-document .signs_h		{	height:	 60px;	width:	120px; }
.nodechain-document .signs_vh		{	height:	120px;	width:	120px; }

.nodechain-document .signs_v60		{	height:	60px; }
.nodechain-document .signs_h60		{	width:	60px; }
.nodechain-document .signs_vh60		{	height:	60px;	width:	60px; }
.nodechain-document .signs_v90		{	height:	90px; }
.nodechain-document .signs_h90		{	width:	90px; }
.nodechain-document .signs_vh90		{	height:	90px;	width:	90px; }
.nodechain-document .signs_v120		{	height:	120px; }
.nodechain-document .signs_h120		{	width:	120px; }
.nodechain-document .signs_vh120	{	height:	120px;	width:	120px; }
.nodechain-document .signs_v150		{	height:	150px; }
.nodechain-document .signs_h150		{	width:	150px; }
.nodechain-document .signs_vh150	{	height:	150px;	width:	150px; }
.nodechain-document .signs_v180		{	height:	180px; }
.nodechain-document .signs_h180		{	width:	180px; }
.nodechain-document .signs_vh180	{	height:	180px;	width:	180px; }
.nodechain-document .signs_v220		{	height:	220px; }
.nodechain-document .signs_h220		{	width:	220px; }
.nodechain-document .signs_vh220	{	height:	220px;	width:	220px; }

.nodechain-document .fighor500		{	width:	500px; height: auto; }
.nodechain-document .figver400		{	width:	auto;  height: 400px; }
.nodechain-document .fighor650		{	width:	650px; height: auto; }
.nodechain-document .figver850		{	width:	auto;  height: 850px; }

/******************************************************************************
 * Used for adding editor notes to the texts.
 * These settings must exist as they override the template values
 */
.nodechain-document .legend {
	display: block;
	padding: 0;
	padding-left: 2px;
	padding-right: 2px;
	border: none;
	width: auto;
	margin-bottom: 0px;
	font-size: 1em;
	line-height: 1em;
	color: black;
}
.nodechain-document .fieldset {
	display: block;
	margin-left: 2px;
	margin-right: 2px;
	padding-top: 0.35em;
	padding-bottom: 0.625em;
	padding-left: 0.75em;
	padding-right: 0.75em;
	border:1px solid black;
}

/******************************************************************************
 * Used for document Overtredingen to display the data in a 3 column table
 * Maybe rename to more generic name for use with other documents as well.
 */
#kbo_table td.nr {
	display: table-cell;
	width: 5%;
	vertical-align: top;
	padding-left: 5px;
	padding-right: 5px;
	/*border-style: solid;
	border-width: thin;*/
}
#kbo_table td.txt {
	display: table-cell;
	vertical-align: top;
	padding-left: 5px;
	padding-right: 5px;
	/*border-style: solid;
	border-width: thin;*/
}
#kbo_table td.ref {
	display: table-cell;
	width: 15%;
	vertical-align: top;
	padding-left: 15px;
	padding-right: 5px;
	/*border-style: solid;
	border-width: thin;*/
}
/*
 *
 *****************************************************************************/

/******************************************************************************
 * Used with nodes that have timing indication,
 * nodes that become valid in the future or have recently become invalid.
 * Also used for nodes that have a reference to a violation.
 *
 * Small devices should have a little more padding so there is more
 * room to touch and call up the tooltip.
 */
.date_or_violation {
	float: right;
	padding-top: 2px;
	padding-left: 10px;
	padding-right: 2px;
	padding-bottom: 2px;
}
.violation_title {
	font-weight: bold;
	text-decoration: underline;
}
/*
 *
 *****************************************************************************/
 
 /******************************************************************************
 * Used for document selftest page to display the data in a 2 column table
 * Maybe rename to more generic name for use with other documents as well.
 */
.nodechain-document-selftest-row {
	display:flex;
	align-items:center !important;
}
.nodechain-document-score-box {
	width:20%;
	text-align:center;
}
.nodechain-document-score {
	border:1px solid #000;
}
.nodechain-document-question-num-box {
	width:80%;
	text-align:left;
	padding-left:30px;
}
 /*
 *
 *****************************************************************************/
