@import "./bootstrap.min.less";
@import  "./jquery.jqplot.min.less";
@import  "./colorpicker.less";

@import "variables.less";

@infoVulnerability:#0080FF;
@lowVulnerability:#019127;
@middleVulnerability:#d7ac00;
@highVulnerability:#b00700;
@criticalVulnerability:#B40A9D;


*{
	/*border-radius: 0px !important;*/
	box-shadow: none !important;
}

body{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	line-height: 23px;
	background:@colorBase;  
	color: black;
	
}

.navbar-inverse{
	background-color: @colorHead;
	border-radius: 0px;
	.logo{
		padding:5px;
	}
	.navbar-brand{
		color:@darkYellow;
		line-height: 40px;
		font-size: 18pt;
		&:focus,&:hover{
			color:@darkYellow;
		}
	}
	.navbar-nav>li>a{
		font-size: 13pt;
		line-height: 40px;
	}

}

.lateralNavbar{
	width: 20px;
	height: 100%;
	position: fixed;
	top: 0px;
	left: 0px;
	cursor: pointer;
	background: @colorHead;
	z-index: 99999;
	display:none;
	ul{
		list-style-type: none;
		padding:0px;
		display:none;
		
		li {
			text-align: center;
			span{
				font-size: 25pt;
				color:#999;				
				&:hover{
					color:#fff;
				}
			}
		}

	}
	&.showLateralMenu{
		ul{
			display:block;
		}
		span.text{
			display:none;
		}
	}
	span.text{
		margin-top: 20px;
		color: #fff;
		display:block;
		-webkit-transform: rotate(-90deg); 
		-moz-transform: rotate(-90deg);	
	}
}

.quickInfo{
	min-height: 130px;
	.info-links{
		width: 77%;
		margin-left: 23%;
		ul{
			margin: 0;
			overflow-y: auto;
			height: 160px;
			overflow-x: hidden;
			li{
				display: inline-block;
				padding-right: 4px;
			}
		}
	}
	>span{
		font-size: 50pt;
		color:@darkYellow;
		position: absolute;
		top: 25px;
	}
	p{
		font-size: 15pt;
		font-weight: bold;
		margin: 0px;
		color:@colorHead;
		&.info{
			color:#000000;
			font-size: 10pt;
			font-weight: normal;
			margin: 0px;
		}
	}
	ul{
		li{
			list-style: none;
		}
	}
	
	-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,1),0 2px 4px rgba(0,0,0,0.08),inset 0 -1px 0 rgba(0,0,0,0.25);
	-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,1),0 2px 4px rgba(0,0,0,0.08),inset 0 -1px 0 rgba(0,0,0,0.25);
	box-shadow: inset 0 1px 0 rgba(255,255,255,1),0 2px 4px rgba(0,0,0,0.08),inset 0 -1px 0 rgba(0,0,0,0.25);

	.table-summary{
		border:1px solid #000 !important;
		th{
			background:@darkYellow;
			border:1px solid #000 !important;
		}
		tbody{
			background: #fff;
			td{
				border:1px solid #000 !important;
			}
		}
		.total{
			background: @lightYellow;
			font-weight:bold;
		}
	}
}

#chartVulnerabilities{
	float:right;
	margin: 10px;
	height:30%;
	width:40%;
}

/* Back to top */

.totop {
	position: fixed;
	bottom: 0px;
	right: 0px;
	z-index: 104400;
	i{
		margin: 0px;
	}
	a,a:visited{
		display: block;
		width: 30px;
		height: 30px;
		color: #fff;
		text-align: center;
		line-height: 30px;
		background: @darkYellow ;
	}
	a:hover{
		color: #fff;
	text-decoration: none;
	}
}


span{
	&.bold{
		font-weight: bold;
		padding-right: 5px;
	}
	&.infoVulnerability{
		color:@infoVulnerability;
	}
	&.lowVulnerability{
		color:@lowVulnerability;
	}
	&.middleVulnerability{
		color:@middleVulnerability;
	}
	&.highVulnerability{
		color:@highVulnerability;
	}
	&.criticalVulnerability{
		color:@criticalVulnerability;
	}
}

h3{
	color:@darkYellow;
	&.bold{
		font-weight: bold;
	}
}


tr.targetRow, tr.resourceRow, tr.vulnerabilityRow,{
	cursor: pointer;
	font-weight: bold;
	span.glyphicon{
		margin-right: 10px;
	}
}
.table-hover>tbody>tr.openResourceRow>td{
	background-color: fade(@lightYellow, 30%);
	&:hover{
		background-color: fade(@lightYellow, 30%);
	}
}
/*.table-hover>tbody>tr:hover>td, 
.table-hover>tbody>tr:hover>th{
	background-color: lighten(@lightYellow, 10%);
}*/

.break-after{

   page-break-after:always; 
}

.headerPrint{
	display:none;
}
.openVulnerabilitiesRow {
	.well{
		white-space: normal;
	}
	ul{
		list-style-type: none;
	}
}
.headData, .anchor{
	cursor: pointer;
}

#tableTechnicalReport{
	
	td{
		word-wrap:break-word;	
	}
}
#tableVulnerabilities, #tableTechnicalReport{
	table-layout:fixed;
	th {
		cursor: pointer;
		background: @darkYellow;
		border:1px solid #000;
		font-weight: bold;
		font-size: 11pt;
		overflow: hidden;
		text-overflow: ellipsis;
		.glyphicon-chevron-down,.glyphicon-chevron-up{
			display: none;
			float:right;
		}
	}
	.filter th{
		background: @lightYellow;
	}
	td{
		border:1px solid #000;
		background: white;	
		white-space:normal;
			overflow:hidden;
			text-overflow: ellipsis; 
		p.large{
			white-space:nowrap;
			overflow:hidden;
			text-overflow: ellipsis; 
			
		}
		.tooltip-inner{
			max-width: 100%;
		}
	}
	th.sort.asc{
		.glyphicon-chevron-down{
			display:none;
		}
		.glyphicon-chevron-up{
			display:block;
		}
	}
	.sort.logicaldesc{
		.glyphicon-chevron-down{
			display:block;
		}
		.glyphicon-chevron-up{
			display:none;
		}
	}
}
.headData{
	&.contracted{
		span.contracted{
			display:block;
		}
		span.expanded{
			display:none;
		}
	}
	&.expanded{
		span.expanded{
			display:block;
		}
		span.contracted{
			display:none;
		}
	}
}



#hideShowAll{
	font-weight: bold;
	cursor: pointer;
	font-style: italic;
}

.item-form{
	padding:5px;
	margin:0px;
	span.bold{
		margin-right: 10px;
	}
}

.moreInfo{
	text-decoration: underline;
	cursor: pointer;
}

.table-row{
	table-layout: fixed;
	margin-bottom: 0;
	border-bottom: 0;
	background:#fff;
	tbody>tr>td{
		border-bottom: 0;
		vertical-align: middle;
		white-space: normal;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.tdRowTechCollapse{
		width: 30px;
	}
	.tdRowTechIdentity{
		width:60px;
	}
	.tdRowTechTarget{
		width:40%;
	}
	.tdRowTechVuln{
		width:60%;
	}
	.tdRowTechLevel{
		width:80px;
	}
}

select{
	width:100%;
}

.editable-wrap{
	width: 100%;
	.editable-input{
		width: 100%;
	}
}

.modal-body{
	padding:10px;
	.tab-content{
		padding-top: 10px;
	}
	.submenu{
		padding-left: 10px; 
	}
	.img-logo {
		height:120px;
		margin-bottom: 10px;
	}

}
.modal-footer{
	margin-top:0;
	padding: 8px 20px;
}
.modal-header{
	padding: 8px;
}

.nav-tabs>li>a{
	cursor: pointer;
}

.table thead>tr>th, .table tbody>tr>th, .table tfoot>tr>th, .table thead>tr>td, .table tbody>tr>td, .table tfoot>tr>td{
	padding:4px;
}

.dataStyle{
	width: 133px;
	display:inline-table;
	margin: 5px;

	legend{
		font-size:17px;
		margin-bottom:0;
		.description{
			float:right;
		}
	}
	.contentlegend{
		border-right:1px solid #e5e5e5;
		border-bottom:1px solid #e5e5e5;
		border-left:1px solid #e5e5e5;
		padding:5px;
		.dataStyleRow{
			input, select{
				width: 47%;
				display:inline-table;			
			}
			div{
				width: 50%;
				display:inline-table;
			}
		}
	}
	
}

.trash{
	background:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAMAAAC6V+0/AAAAAXNSR0IArs4c6QAAAmpQTFRFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////QCcQKAAAAAF0Uk5TAEDm2GYAAAABYktHRACIBR1IAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gUbEA8sAn5bTQAAADdJREFUGNNjYMALGBkZMQRgAJsYunKiwO4VcIAsyLAChjAFNwxJwSMrVuxdsWIzso8YsHgdHQAAfldKXEP+UvIAAAAASUVORK5CYII=');
}



[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
  display: none !important;
}

#loading{
	z-index: 999999999;
	position:absolute;
	top:72px; 
	left:0;
	right:0;
	bottom:0;
	width:100%;
	height:100%;
	background: url('data:image/png;base64,[encoded data, 52020 characters]') 50% 50% #fff no-repeat;
}


@import  "./styles_new_lookandfeel.less";

@tabletLandscape:    ~"only screen and (max-width: 1024px)";
@mobilePortrait:    ~"only screen and (max-width: 768px)";

/*tablets*/
@media @tabletLandscape{
	h3{
		font-size: 22px; 
	}
}

@media @mobilePortrait{
	h4{
		font-size: 17px;
	}

	.table-row{
		.tdRowTechCollapse{
			padding: 4px;
			width: 4%;
		}
		.tdRowTechIdentity{
			width:8%;
		}
		.tdRowTechTarget{
			width:58%;
		}
		.tdRowTechVuln{
			width: 0;
		}
		.tdRowTechLevel{
			width:30%;
		}
	}
	.table-responsive>.table-bordered>thead>tr>th:first-child, .table-responsive>.table-bordered>tbody>tr>th:first-child, .table-responsive>.table-bordered>tfoot>tr>th:first-child, .table-responsive>.table-bordered>thead>tr>td:first-child, .table-responsive>.table-bordered>tbody>tr>td:first-child, .table-responsive>.table-bordered>tfoot>tr>td:first-child{
		border-left: 1px solid #ddd;
	}

	.vulnsWell{
		&.quickInfo{
			.info-links{
				padding:0;
			}
		}
		.table-responsive{
			padding:0;
		}
		
	}
}



@media print {
  	@page {
		margin: 0.5cm;
	}
	.container{
		width:100%;
		max-width: 100%;
	}
	.filter{
		display:none;
	}
	body{
		background:@colorBase; 
		padding-top: 0px;
	}
	.headerPrint{
		text-align: center;
		color: @darkYellow;
		display:block;
	}
	
	.jqplot-table-legend{
		right:-20px !important;
	}
	.jqplot-grid-canvas, .jqplot-series-shadowCanvas, .jqplot-series-canvas, .jqplot-pieRenderer-highlight-canvas, 
	.jqplot-event-canvas{
		width: 410px !important;

		background: inherit;
	}
	#hideShowAll{
		display: none;
	}
}


.editable-buttons{
	display: block !important;
}

@import  "./xeditable.less";