<md-dialog aria-label="Selezione conto corrente" style="height:450px;min-height:450px;width:80%" layout="column">
		<md-toolbar class="small-toolbar" layout="row">
		   <div class="md-toolbar-tools small-toolbar">
		     <h3>Selezione conto corrente</h3>
		     <span flex></span>
		     <md-icon ng-click="cancelDialog()" md-font-icon="fa-times" class="fa button-icon" style="color:white">
					<md-tooltip>Chiudi</md-tooltip>
			 </md-icon>
		   </div>
		 </md-toolbar>

<!-- 	<md-content layout="column" style="padding-left:14px;padding-right:14px;min-height:750px" flex> -->
	<md-dialog-content style="min-height:350px">
      <div class="md-dialog-content">
       	<md-list flex style="margin-top:10px">
			<md-subheader class="md-no-sticky">
				<div flex layout-gt-sm="row" layout="column">
					<div flex="100" flex-gt-sm="10">Abi</div>
					<div flex="100" flex-gt-sm="10">Cab</div>
					<div flex="100" flex-gt-sm="20">Conto</div>
					<div flex="100" flex-gt-sm="5">Divisa</div>
					<div flex="100" flex-gt-sm="5">C. cassa</div>
					<div flex="100" flex-gt-sm="25">Coordinate IBAN</div>
					<div flex="100" flex-gt-sm="15">Descrizione conto</div>
				</div>
			</md-subheader>
		
			<div flex-gt-sm class="virtualRepeatVerticalUsage" id="container" style="height:230px">
				<md-virtual-repeat-container id="vertical-container">
					
				  	<md-list-item  md-virtual-repeat="item in conti" ng-class="{'odd-row':$index%2==1,'even-row':$index%2==0}" 
				  		style="cursor:pointer;font-size:smaller;text-overflow:ellipsis" ng-click="selectConto(item)">
				  		<div flex layout-gt-sm="row" layout="column">
		        			<div flex="100" flex-gt-sm="10">{{item.abi}}</div>
							<div flex="100" flex-gt-sm="10">{{item.cab}}</div>
							<div flex="100" flex-gt-sm="20">{{item.conto}}</div>
							<div flex="100" flex-gt-sm="5">{{item.divisa}}</div>
							<div flex="100" flex-gt-sm="5" style="text-align:center">
								<md-checkbox ng-model="item.contoPerCassa" disabled="disabled">
								</md-checkbox>	
							</div>
							<div flex="100" flex-gt-sm="25">{{item.coordinateIban}}</div>
							<div flex="100" flex-gt-sm=15">{{item.descrizioneConto}}</div>
						</div>
				  </md-list-item>
			  	</md-virtual-repeat-container>
			</div>
      		</md-list>
     	</div>
	</md-dialog-content>
	
	<md-dialog-actions layout="row" ng-if="abilitaCancellaConto">
		<span flex></span>
   		<md-button type="submit" ng-click="cancelDialog()" aria-label="Ok" class="md-raised md-warn" title="Elimina l'assegnazione" >
	       	<md-icon md-font-icon="fa-trash" class="fa" aria-label="Ok"></md-icon>
    	    Elimina assegnazione
      	</md-button>
 	</md-dialog-actions>		
  			
</md-dialog>
