<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>Delegati alla firma per estrattore</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">Delegati attivi</div>
					<div flex="100" flex-gt-sm="35">Denominazione</div>
					<div flex="100" flex-gt-sm="30">Funzione ordinante</div>
					<div flex="100" flex-gt-sm="25">Importo limite firma</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 delegati" ng-class="{'odd-row':$index%2==1,'even-row':$index%2==0}" 
				  		style="cursor:pointer;font-size:smaller;text-overflow:ellipsis" >
				  		<div flex layout-gt-sm="row" layout="column">
							<div flex="100" flex-gt-sm="10" style="text-align:center">
								<md-checkbox ng-model="item.abilitaDelegatoFirmaEstrattoreDistinte" ng-change="setStatus($index)">
								</md-checkbox>	
							</div>

							<div flex="100" flex-gt-sm="35">{{item.denominazione}}</div>
							<div flex="100" flex-gt-sm="30">{{item.funzioneOrdinante}}</div>
							<div flex="100" flex-gt-sm="25" style="text-align:right">{{item.importoLimiteFirma.toFormattedValue()}}</div>
						</div>
				  </md-list-item>
			  	</md-virtual-repeat-container>
			</div>
      		</md-list>
     	</div>
	</md-dialog-content>
	
	<md-dialog-actions layout="row" >
		<span flex></span>
   		<md-button type="submit" ng-click="cancelDialog()" aria-label="Chiudi" class="md-raised md-primary" title="Chiudi" >
	       	<md-icon md-font-icon="fa-check" class="fa" aria-label="Chiudi"></md-icon>
    	    Chiudi
      	</md-button>
 	</md-dialog-actions>		
  			
</md-dialog>
