﻿/*
Generazione nuove schede adesione
*/
[ML_PageControl_WrapperKey=AttachmentsGeneratePanel] {
}

	[ML_PageControl_WrapperKey=AttachmentsGeneratePanel] [ML_PageControl_Key=VisualizeLegalRepresentativePanel] > table {
		width: 100%;
	}

		[ML_PageControl_WrapperKey=AttachmentsGeneratePanel] [ML_PageControl_Key=VisualizeLegalRepresentativePanel] > table > tbody > tr:first-of-type {
			border-bottom: 1px solid var(--border-color-container);
		}

			[ML_PageControl_WrapperKey=AttachmentsGeneratePanel] [ML_PageControl_Key=VisualizeLegalRepresentativePanel] > table > tbody > tr:first-of-type > th {
				display: flex;
				height: 30px;
			}

				[ML_PageControl_WrapperKey=AttachmentsGeneratePanel] [ML_PageControl_Key=VisualizeLegalRepresentativePanel] > table > tbody > tr:first-of-type > th > span {
					font-size: 14px;
					color: var(--label-color-containerHeader);
					margin: auto;
					padding-left: 3%;
				}

				[ML_PageControl_WrapperKey=AttachmentsGeneratePanel] [ML_PageControl_Key=VisualizeLegalRepresentativePanel] > table > tbody > tr:first-of-type > th > div {
					margin-left: 0px;
				}

	[ML_PageControl_WrapperKey=AttachmentsGeneratePanel] [ML_PageControl_Key=VisualizePreviewPanel] > table {
		width: 100%;
	}

		[ML_PageControl_WrapperKey=AttachmentsGeneratePanel] [ML_PageControl_Key=VisualizePreviewPanel] > table > tbody > tr:first-of-type {
			border-bottom: 1px solid var(--border-color-container);
		}

			[ML_PageControl_WrapperKey=AttachmentsGeneratePanel] [ML_PageControl_Key=VisualizePreviewPanel] > table > tbody > tr:first-of-type > th {
				display: flex;
				height: 30px;
			}

				[ML_PageControl_WrapperKey=AttachmentsGeneratePanel] [ML_PageControl_Key=VisualizePreviewPanel] > table > tbody > tr:first-of-type > th > span {
					font-size: 14px;
					color: var(--label-color-containerHeader);
					margin: auto;
					padding-left: 3%;
				}

				[ML_PageControl_WrapperKey=AttachmentsGeneratePanel] [ML_PageControl_Key=VisualizePreviewPanel] > table > tbody > tr:first-of-type > th > div {
					margin-left: 0px;
				}

	[ML_PageControl_WrapperKey=AttachmentsGeneratePanel] [ML_PageControl_Key=VisualizePreviewPanel] [ML_PageControl_Key=DocumentItemsContainer] {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
		justify-content: space-around;
		padding-bottom: 15px;
	}

		[ML_PageControl_WrapperKey=AttachmentsGeneratePanel] [ML_PageControl_Key=VisualizePreviewPanel] [ML_PageControl_Key=DocumentItemsContainer] > div {
			height: 200px;
			display: flex;
			flex-direction: column;
			padding: 10px;
		}

			[ML_PageControl_WrapperKey=AttachmentsGeneratePanel] [ML_PageControl_Key=VisualizePreviewPanel] [ML_PageControl_Key=DocumentItemsContainer] > div > img {
				height: 160px;
				width: auto;
				padding-bottom: 7px;
			}

	/*Seleziona il contatto*/
	[ML_PageControl_WrapperKey=AttachmentsGeneratePanel][ML_PageControl_Key=SelectContactList] [ML_PageControl_Key=VisualizeLegalRepresentativePanel] {
		display: none;
	}

	[ML_PageControl_WrapperKey=AttachmentsGeneratePanel][ML_PageControl_Key=SelectContactList] [ML_PageControl_Key=VisualizePreviewPanel] {
		display: none;
	}

	/*Inserisci parametri per generazione*/
	[ML_PageControl_WrapperKey=AttachmentsGeneratePanel][ML_PageControl_Key=ViewContactParams] [ML_PageControl_Key=SelectLegalRepresentativePanel] {
		display: none;
	}

	[ML_PageControl_WrapperKey=AttachmentsGeneratePanel][ML_PageControl_Key=ViewContactParams] [ML_PageControl_Key=VisualizeLegalRepresentativePanel] [ML_PageControl_Key=Btn_PreviewsSave] {
		display: none;
	}

	[ML_PageControl_WrapperKey=AttachmentsGeneratePanel][ML_PageControl_Key=ViewContactParams] [ML_PageControl_Key=VisualizePreviewPanel] {
		display: none;
	}

	[ML_PageControl_WrapperKey=AttachmentsGeneratePanel][ML_PageControl_Key=ViewContactParams] [ML_PageControl_Key=VisualizeLegalRepresentativePanel] > [ML_PageControl_Type=DataInfo] {
		display: block !important;
	}

	/*Visualizza anteprime*/
	[ML_PageControl_WrapperKey=AttachmentsGeneratePanel][ML_PageControl_Key=ViewPreviewPDF] [ML_PageControl_Key=SelectLegalRepresentativePanel] {
		display: none;
	}

	[ML_PageControl_WrapperKey=AttachmentsGeneratePanel][ML_PageControl_Key=ViewPreviewPDF] [ML_PageControl_Key=VisualizeLegalRepresentativePanel] {
	}

		[ML_PageControl_WrapperKey=AttachmentsGeneratePanel][ML_PageControl_Key=ViewPreviewPDF] [ML_PageControl_Key=VisualizeLegalRepresentativePanel] [ML_PageControl_Key=Btn_PreviewsView] {
			display: none;
		}

		[ML_PageControl_WrapperKey=AttachmentsGeneratePanel][ML_PageControl_Key=ViewPreviewPDF] [ML_PageControl_Key=VisualizeLegalRepresentativePanel] input[ML_PageControl_EntityField=BadgeType] {
			display: block !important;
		}

		[ML_PageControl_WrapperKey=AttachmentsGeneratePanel][ML_PageControl_Key=ViewPreviewPDF] [ML_PageControl_Key=VisualizeLegalRepresentativePanel] table[ML_PageControl_EntityField=BadgeType] {
			display: none;
		}

		[ML_PageControl_WrapperKey=AttachmentsGeneratePanel][ML_PageControl_Key=ViewPreviewPDF] [ML_PageControl_Key=VisualizeLegalRepresentativePanel] input[ML_PageControl_EntityField=AdditionalFee] {
			display: block !important;
		}

		[ML_PageControl_WrapperKey=AttachmentsGeneratePanel][ML_PageControl_Key=ViewPreviewPDF] [ML_PageControl_Key=VisualizeLegalRepresentativePanel] table[ML_PageControl_EntityField=AdditionalFee] {
			display: none;
		}

	[ML_PageControl_WrapperKey=AttachmentsGeneratePanel][ML_PageControl_Key=ViewPreviewPDF] [ML_PageControl_Key=VisualizePreviewPanel] {
	}

		[ML_PageControl_WrapperKey=AttachmentsGeneratePanel][ML_PageControl_Key=ViewPreviewPDF] [ML_PageControl_Key=VisualizePreviewPanel] img {
			width: 100px;
		}
