/* This is needed to remove border around EnSoft logo in IE */
a img {
	border-width: 0px;
}

div.imageGrouping {
	border: 3px solid #999999;
	margin: 0 0 50px;
	padding-top: 25px;
	padding-right: 15px;
	padding-bottom: 25px;
	padding-left: 15px;
}

div.wrapper {
	margin: auto;
}
/* Only set the specific width when viewing on screen. This allows the report to be printed in landscape mode. */
@media screen {
	div.wrapper {
		width: 1000px;
	}
	div.printGuarantee {
        display:none;
    }
	div.printOnly{
		display:none;
	}
	div.screenOnly{
		display:block
	}
}

@media print {
    div.printGuarantee {
        display:block!important;
    }
	div.printOnly{
		display:block;
	}
	div.screenOnly{
		display:none
	}
}

.metrics-table-img{
	width:650px
}

div.metrics {
page-break-before: always;
}

td {
	padding: 2px;
}

.content-link {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	line-height: 18px;
	color: #22618A;
}

a.content-link:link,a.content-link:visited,a.content-link:active {
	text-decoration: none;
}

a.content-link:hover {
	color: #5989A7;
	text-decoration: none;
}

table.changes-paths-table td {
	width: 440px;
}

td.centered img {
	border: medium none;
	display: block;
	margin-left: auto;
	margin-right: auto;
	max-width: 440px;
	/*	width: expression(this.width > 289 ? 289 : true);*/
}

.right-bordered {
	border-right: 3px ridge #999999;
}

ul.A,ol.A {
	list-style-type: upper-alpha;
}

ul.I,ol.I {
	list-style-type: upper-roman;
}

th {
	text-align: left;
}

body,table,tr,td {
	font: 11px Verdana, 'Lucida Grande', Geneva, Arial, sans-serif;
	line-height: 16.9167px;
}

.indent {
	padding-left: 2em;
}

.model-name {
	color: #b6121b;
	font-weight: bold;
}

.additional-model-info {
	padding-left: 2em;
}

h1 {
	color: #00395A;
	font: Tahoma, Arial, Verdana, serif;
	text-align: center;
	font-size: 26px;
	margin-top: 2em;
}

h2 {
	font: Tahoma, Arial, Verdana, serif;
	color: white;
	background-color: #00395A;
	font-weight: bold;
	padding: 5px;
	border-bottom-style: solid;
	border-color: #00395A;
}

h3 {
	font-size: 14px;
	line-height: 16.9167px;
	margin: 0;
	color: #00395A;
	margin-top: 1em;
	margin-bottom: 1em;
}

h4 {
	color: #00395A;
	border-bottom: 1px solid;
	margin-bottom: 0em;
}

#created-with {
	text-align: center;
	font-size: 10px;
	color: #00395A; /*simdiff_blue*/
	margin-top: 5em;
}

#custom-section {
	margin-top: 6em;
}

#custom-company {
	text-align: center;
	font-size: 10px;
}

#creation-date {
	text-align: center;
	font-size: 10px;
}

div.legend {
	page-break-before: always;
}

div.legend th {
	text-align: center;
	color: #00395A;
	text-decoration: underline;
}

#legend-table {
	margin-left: auto;
	margin-right: auto;
	margin-top: 2em;
	margin-bottom: 2em;
	border-style: outset;
	border-width: 2px;
	border-color: #00395A
}

table.legend-elem-type-table {
	vertical-align: top;
	margin-left: auto;
	margin-right: auto;
	margin-top: 1em;
}

table.legend-elem-status-table {
	vertical-align: text-top;
	margin-left: auto;
	margin-right: auto;
	margin-top: 3em;
}

table.legend-elem-color-table {
	vertical-align: text-top;
	margin-left: auto;
	margin-right: auto;
	margin-top: 3em;
}

table.legend-report-interpretation-table {
	vertical-align: top;
	margin-left: auto;
	margin-right: auto;
	margin-top: 3em;
}

div.legend img {
	border: medium none;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

div.legend td {
	vertical-align: top;
}

.align-center {
	display: block;
	margin: 0 auto;
}

div.changes {
	page-break-before: always;
}

/*div.table-of-contents {
	page-break-before: always;
}*/
div.general-info { /*background-color:#d0e4fe;*/
	margin-top: 5em;
}

div.general-info table {
	margin-top: 2em;
}

div.general-info th {
	font-weight: bold;
}

div.legend-section {
	border-style: solid;
	border-width: 5px;
}

/* == Metrics Table section(<IE9.0 doesn't support n-th child so have to trivially use first-child+..  ) == */
table.metrics-table td:first-child ,
table.metrics-table td:first-child + td ,
table.metrics-table td:first-child + td +td , 
table.metrics-table td:first-child + td +td + td , 
table.metrics-table td:first-child + td +td + td + td  
{
    border-right:1px solid #E8E8E8;
    border-collapse:collapse;
}

table.metrics-table, table.metrics-table th
{
    border:1px solid #000000;
    border-collapse:collapse;
}

table.metrics-table tr:first-child+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr td
{
    border-bottom:1px solid #000000;
}

table.metrics-table th:first-child 
{
    width:180px;
}
table.metrics-table th:first-child +th,
table.metrics-table th:first-child + th + th,
table.metrics-table th:first-child + th +th+ th, 
table.metrics-table th:first-child + th +th + th +th
{
    width:70px;
}

table.metrics-table th:first-child + th +th + th + th+ th,
table.metrics-table th:first-child + th +th + th + th+ th+ th
{
    width:84px;
}

table.metrics-table tr:first-child +tr ,
table.metrics-table tr:first-child +tr+tr ,
table.metrics-table tr:first-child +tr+tr+tr , 
table.metrics-table tr:first-child +tr+tr+tr+tr , 
table.metrics-table tr:first-child +tr+tr+tr+tr+tr 
{
     text-align:left;
     font: bold;
}

table.metrics-table tr:first-child +tr+tr+tr+tr+tr+tr 
{
     text-align:left;
     font: bold;
     background:#F0F0F0 ;          

}
table.metrics-table tr:first-child
{
	 text-align:left;
       background:#E0E0E0;          
}


table.metrics-table tr:first-child +tr+tr+tr+tr+tr+tr+tr,
table.metrics-table tr:first-child +tr+tr+tr+tr+tr+tr+tr+tr,
table.metrics-table tr:first-child +tr+tr+tr+tr+tr+tr+tr+tr+tr,
table.metrics-table tr:first-child +tr+tr+tr+tr+tr+tr+tr+tr+tr+tr
{
     text-align:center;
     font: normol;
     background:#E0E0E0;          	
}

table.metrics-table tr:first-child +tr+tr+tr+tr+tr+tr+tr td:first-child,
table.metrics-table tr:first-child +tr+tr+tr+tr+tr+tr+tr+tr td:first-child,
table.metrics-table tr:first-child +tr+tr+tr+tr+tr+tr+tr+tr+tr td:first-child,
table.metrics-table tr:first-child +tr+tr+tr+tr+tr+tr+tr+tr+tr+tr td:first-child
{
     text-align:right;
     background:#F0F0F0 ;          
}



table.changes-paths-table {
	width: 100%;
	border: 0px;
	border-collapse: collapse;
	border-bottom: 3px ridge #999999;
	margin-bottom: 1em;
}

table.left-element-changes-table,table.left-empty-element-changes-table
	{
	width: 50%;
	margin-bottom: 1em;
}

table.right-element-changes-table,table.right-empty-element-changes-table
	{
	width: 50%;
	margin-bottom: 1em;
	margin-left: 50%;
}

table.justified-element-changes-table {
	width: 100%;
	margin-bottom: 1em;
}

table.justified-element-changes-table > tbody > tr > td:not(:last-child) {
    
	white-space: nowrap;

} 

table.justified-element-changes-table > tbody > tr > td:last-child {

    	width: 99%;

}

table.left-element-changes-table,table.left-element-changes-table td,table.left-element-changes-table th,table.right-element-changes-table,table.right-element-changes-table td,table.right-element-changes-table th,table.justified-element-changes-table,table.justified-element-changes-table td,table.justified-element-changes-table th
	{
	border: 1px solid #d4d4d4;
	border-collapse: collapse;
}

table.left-element-changes-table th,table.right-element-changes-table th,table.justified-element-changes-table th
	{
	border-color: #585858;
	background-color: #C8C8C8;
}

table.left-empty-element-changes-table,table.right-empty-element-changes-table
	{
	border: 1px solid black;
	background-color: #C8C8C8;
	border-collapse: collapse;
}

table.applied-filters-table,table.applied-filters-table td{
	border: 1px solid #cccccc;
	border-collapse: collapse;
	vertical-align: top;
}
table.applied-filters-table th{
	border: 1px solid #000000;
	background-color: #C8C8C8;
	border-collapse: collapse;
	vertical-align: top;
}
table.applied-filters-table tr:first-child th {
    border-top: 1px solid #000000;
}
table.applied-filters-table tr:last-child td {
    border-bottom: 1px solid #000000;
}
table.applied-filters-table tr td:first-child,
table.applied-filters-table tr th:first-child {
    border-left: 1px solid #000000;
}
table.applied-filters-table tr td:last-child,
table.applied-filters-table tr th:last-child {
    border-right: 1px solid #000000;
}


table.attribute-changes-table,table.attribute-changes-table td,table.attribute-changes-table th
	{
	border: 1px solid #d4d4d4;
	border-collapse: collapse;
	vertical-align: top;
}

table.attribute-changes-table th {
	border-color: #585858;
	background-color: #C8C8C8;
	color: black;
	font-weight: normal;
}

table.attribute-changes-table td {
	vertical-align: top;
	/*FIXME: could not make Text align with top part of icon*/
	/*padding-top:0*/
	/*margin-top:0px;*/
}

table.attribute-changes-table {
	width: 95%;
	margin: 1em 0em 0em 2em;
}

.th-status {
	width: 5em; /* 5 is the minimum needed for Japanese version*/
}

.th-type {
	width: 8em;
}
/*
It's better to let the browser automtaically adjust column width. 
Otherwise, diffs with long attribute and small values will use multiple lines.
.th-attribute {
	width:9em;
}*/
td.img-status,td.img-type {
	vertical-align: top;
}

td.text-diffnum {
	vertical-align:top;
}

td.img-status img,td.img-type img {
	vertical-align: middle;
}

wbr {
	display: inline-block;
}

/*Taken from MERGE_BAR_COLOR* constants in ThemeColorUtils.java*/
.status-conflict {
	color: white;
	background-color:#c91a1b;
	font-weight: bold;
}

.status-change {
	color: black;
}

.status-no-change {
	color: black;
}

.status-container-change {
	color: #7aa2ff;
}

.status-container-conflict {
	color: black;
	background-color:#f08080;
}

/* ========= Auditing section ========== */
div.auditing-data {
	width: inherit;
	white-space: normal;
	/*
    background-color:#C8C8C8;
    padding: 1em;
    */
}

.auditing-comment {
	float: left;
}

table.auditing-comment,table.auditing-comment td,table.auditing-comment tr,table.auditing-comment tbody
	{
	border: 0px solid;
	padding: 0px;
	margin: 0px;
}

div.auditing-data p {
	clear: both;
}

div.auditing-data img,img.auditing-tag {
	vertical-align: middle;
}

.auditing-label {
	font-weight: bold;
}

div.auditing-data div {
	margin: 5px;
}

.auditing-float {
	float: left;
}

.image-link {
	text-decoration: none;
}

div.auditing-tag-info {
	border: 0px;
	margin: 10px 0px 10px 0px;
	padding-bottom: 10px;
	padding-right: 5px;
	padding-left: 5px;
}
