@adminAccessPopupMinHeight: 475px;

form.form {
	position: relative;
	min-height: @adminAccessPopupMinHeight;
	
	>table.formField-container-columns {
		>tbody >tr {
			>td {
				>fieldset {
					padding: 0px;
					>div {
						margin-top: 26px;
						display: block;
						
						width: 99.5%;
						position: absolute;
						top: 0;
						bottom: 0;
						overflow: auto;
						min-height: @adminAccessPopupMinHeight - 60px;
					}
					
					fieldset {
						>legend {
							color: #759dcb;
							background-color: transparent;
							font-size: 1.2em;
						}
					}
				}
			}
			
			>td.column-1 {
				width: 40%;
				>fieldset >div >table.formField-container-table >tbody >tr >td {
					padding-left: 20px;
				}
				
				label {
					text-transform: uppercase;
					&.selected {
						background-color: #91b4da !important;
					}
					&.changed, &.changed-fake {
						color: #181f50;
						font-weight: bold;
					}
					&.selected-fake {
						background-color: #91b4da !important;
					}
					&.search-matched {
						background-color: #e5eef7;
					}
				}
			}
			
			>td.column-2 {
				>fieldset {
					>div >table >tbody >tr {
						display: none;
						&.visible {
							display: table-row;
						}
						
						>td {
							width: 100%;
							>fieldset {
								tr {
									&.selected {
										>td {
											background-color: #91b4da !important;
										}
									}
									&.changed {
										>td {
											color: #181f50;
											font-weight: bold;
										}
									}
									&.search-matched {
										>td {
											background-color: #e5eef7;
										}
									}
								}
								
								td.label {
									width: 65%;
								}
							}
						}
					}
				}
			}
		}
	}
	
	td.column-1 {
		label {
			display: block;
			
			/* butonul cu rotita */
			a.showOptions {
				height: 16px;
				width: 16px;
				min-width: 16px;
				display: inline-block;
				position: relative;
				padding: 0;
				margin: 0;
				top: 2px;
				
				background-image: url("options.embed.png");
				
				&.disabled {
					visibility: hidden;
				}
			}
			
			/* div-ul cu tot circul asta */	
			div.formField-tree-childContainer, div.formField-tree-childs {
				line-height: 20px;
			}
			
			&.selected {
				a.showOptions {
					background-image: url("options.hover.embed.png");
				}
			}
		} /* end:label */
		/* liniuta din stanga arborelui */
		div.formField-tree-preElement {
			height: 10px !important;
		}
	}
	
	
	/*seach input*/
	>div.formField-container-VL {
		text-align: center;
		div.inputElement {
			display: inline-block;
		}
		
		div.optionsBox.sectionInputs {
		    position: relative;
		    left: -45px;
		    top: 5px;
		    li.menuItem {
		    	width: 20px;
		    	height: 20px;
		    }
		}
	}
}
