/* ELENCHI */

.sddownload_rows {
	margin: 40px 0;
	list-style: none;
}

/* NESSUN FILE NELLA CATEGORIA */

.sddownload_rows .no_files {
	text-align: center;
	font-weight: bold;
	padding: 20px 0 40px 0;
}

/* RIGHE */

.sddownload_row {
	min-height: 60px;
	border-top: 1px solid #F0F0F0;
	padding: 4px 0;
}
.sddownload_row:first-child {
	border-top: none;
}

.sddownload_row {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.sddownload_row .icon {
	width: 50px;	
	height: 50px;	
	text-align: center;
	min-width: 50px;
	background: url("icons/icon_empty.png") center center no-repeat;
}
.sddownload_row .icon.icon_folder {
	background: url("icons/icon_folder_open.png") center center no-repeat;
}
.sddownload_row .icon.icon_pdf {
	background: url("icons/icon_pdf.png") center center no-repeat;
}
.sddownload_row .icon.icon_doc, .sddownload_row .icon.icon_docx, .sddownload_row .icon.icon_odt, .sddownload_row .icon.icon_ott, .sddownload_row .icon.icon_rtf {
	background: url("icons/icon_document.png") center center no-repeat;
}
.sddownload_row .icon.icon_xls, .sddownload_row .icon.icon_xlsx, .sddownload_row .icon.icon_ods, .sddownload_row .icon.icon_ots, .sddownload_row .icon.icon_csv {
	background: url("icons/icon_spreadsheet.png") center center no-repeat;
}
.sddownload_row .icon.icon_odg, .sddownload_row .icon.icon_otg {
	background: url("icons/icon_drawing.png") center center no-repeat;
}
.sddownload_row .icon.icon_ppt, .sddownload_row .icon.icon_pptx, .sddownload_row .icon.icon_odp,
.sddownload_row .icon.icon_pps, .sddownload_row .icon.icon_ppsx, .sddownload_row .icon.icon_otp {
	background: url("icons/icon_presentation.png") center center no-repeat;
}
.sddownload_row .icon.icon_jpg, .sddownload_row .icon.icon_jpeg, .sddownload_row .icon.icon_gif, .sddownload_row .icon.icon_png {
	background: url("icons/icon_img.png") center center no-repeat;
}
.sddownload_row .icon.icon_mp3, .sddownload_row .icon.icon_wave, .sddownload_row .icon.icon_wma {
	background: url("icons/icon_audio.png") center center no-repeat;
}
.sddownload_row .icon.icon_mp4, .sddownload_row .icon.icon_avi, .sddownload_row .icon.icon_wmv, .sddownload_row .icon.icon_mkv, .sddownload_row .icon.icon_mov {
	background: url("icons/icon_video.png") center center no-repeat;
}
.sddownload_row .icon.icon_zip {
	background: url("icons/icon_zip.png") center center no-repeat;
}
.sddownload_row .icon.icon_jar {
	background: url("icons/icon_jar.png") center center no-repeat;
}
.sddownload_row .icon.icon_gzip {
	background: url("icons/icon_gzip.png") center center no-repeat;
}
.sddownload_row .icon.icon_rar {
	background: url("icons/icon_rar.png") center center no-repeat;
}
.sddownload_row .icon.icon_7zip {
	background: url("icons/icon_7zip.png") center center no-repeat;
}
.sddownload_row .icon.icon_xml {
	background: url("icons/icon_xml.png") center center no-repeat;
}
.sddownload_row .icon.icon_sql {
	background: url("icons/icon_sql.png") center center no-repeat;
}
.sddownload_row .icon.icon_php {
	background: url("icons/icon_php.png") center center no-repeat;
}
.sddownload_row .icon.icon_htm, .sddownload_row .icon.icon_html {
	background: url("icons/icon_html.png") center center no-repeat;
}
.sddownload_row .icon.icon_txt {
	background: url("icons/icon_txt.png") center center no-repeat;
}

.sddownload_row .icon.icon_folder_gdr {
	background: url("icons/icon_folder_gdr.png") center center no-repeat;
}
.sddownload_row .text {
	text-align: left;
	flex-grow: 1;
}
.sddownload_row .text h3 {
	font-size: 1rem !important;
	line-height: 1.2rem !important;
}
.sddownload_row .text .description, .sddownload_row .text .file_name {
	margin-top: -8px;
	font-size: 0.9em;
	word-break: break-all;
	word-wrap: break-word;
}
.sddownload_row .labels {
	padding: 8px 0 8px 20px;
	text-align: right;
}
.sddownload_row .buttons {
	padding-left: 20px;
	padding-right: 10px;
	white-space: nowrap;
	text-align: right;
}
.sddownload_row .buttons .btn {
	text-decoration: none !important;
	color: #FFF !important;	
}

/* UTILITY */

.table_utility {
	width: 100%;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding-bottom: 20px;
}
.table_utility > #limit_labels_select {
	margin-left: auto;
}

@media (max-width: 1025px)
{
	.table_utility {
		flex-direction: column;
		justify-content: center;
		align-items: stretch;
		gap: 12px;
	}
}

/* RICERCA INTERNA */

#limit_search_input {
	margin-top: 17px;
	margin-bottom: -20px;
	display: flex;
	justify-content: flex-end;
	align-items: stretch;
}
#limit_search_input input {
	width: 250px;
	margin-right: 4px;
	height: auto;
	box-sizing: border-box;
}
#limit_search_input button {
	display: flex;
	justify-content: center;
	align-items: center;
}
#limit_search_input button svg {
	width: 20px;
	height: 20px;
	fill: #FFF;
}
#limit_search_input .btn-clear {
	margin-left: 5px;
}
#limit_search_input .clean-input {
	display: none !important;
	visibility: hidden !important;
}
#limit_search_input input {
	min-height: 38px;
	margin-bottom: 0;
}

@media (max-width: 700px)
{
	#limit_search_input {
		justify-content: flex-start;
		width: 100%;
	}
	#limit_search_input .limit_seach {
		flex: 1 1 auto;
		min-width: 0;
	}
	#limit_search_input input
	{
		width: auto;
		flex: 1 1 auto;
		min-width: 0;
	}
	#limit_search_input button {
		flex: 0 0 auto;
	}
}

/* FILTRO LABEL */

#limit_labels_select {
	display: flex;
	justify-content: flex-end;
	margin-top: 20px;
	margin-bottom: -20px;
}
#limit_labels {
	width: auto;
	height: 34px !important;
	padding: 0 32px 0 10px;
	line-height: 34px !important;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: #FFF url("../com_sdform/images/arrow_down.svg") top -4px right -3px no-repeat;
	background-size: 43px 43px;
}

/* AMMINISTRAZIONE TRASPARENTE */

.sddownload_ammtsp_col1, .sddownload_ammtsp_col2 {
	margin-left: 5%;
	float: left;
	text-align: left;
}
.sddownload_ammtsp_col1 {
	width: 38%;
}
.sddownload_ammtsp_col2 {
	width: 52%;
}
.sddownload_ammtsp_col {
	width: 90%;
	margin: 0 auto;
}
.sddownload_ammtsp_col1 h3, .sddownload_ammtsp_col2 h3 {
	font-size: 0.9rem !important;
}

/* BANDI */

#sddownload_bando h4 {
	width: 95% !important;
	margin-left: auto !important;	
	margin-right: auto !important;	
	font-size: 1rem !important;
	padding-bottom: 0.8rem !important;
}

.sddownload_bando_rows {
	width: 95%;
	margin: 20px auto;
	list-style: none;
}
.sddownload_bando_row {
	border-top: 1px solid #F0F0F0;
	padding: 8px 0;
}
.sddownload_bando_row:first-child {
	border-top: none;
}

.sddownload_bando_row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}
.sddownload_bando_row .bando_label {
	width: 30%;
}
.sddownload_bando_row .bando_value {
	width: 70%;
	text-align: left;
}

/* MODAL */

#infos_modal {
	display: none;
}
#infos_modal.modal-custom {
	position: fixed;
	z-index: 1050;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background-color: rgba(0, 0, 0, 0.8);
	display: flex;
	justify-content: center;
	align-items: center;
}
#infos_modal .modal-dialog-custom {
	background-color: #fff;
	width: 100%;
	max-width: 400px;
	padding: 20px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	position: relative;
	border-radius: 0;
}
#infos_modal .modal-header-custom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}
#infos_modal .modal-header-custom h5 {
	margin: 0;
	font-size: 1rem;
	font-weight: bold;
	text-transform: uppercase;
}
#infos_modal .modal-body-custom {
	line-height: 1.5;
	font-size: 1rem;
	color: #333;
}
#infos_modal .modal-body-custom br {
	/*margin-bottom: 10px;*/
}
#infos_modal .modal-body-custom span {
	font-weight: bold;
}
#infos_modal .modal-footer-custom {
	text-align: right;
	margin-top: 20px;
}
#infos_modal .btn-custom-close {
	display: inline-block;
	font-weight: 400;
	color: #19191a;
	text-align: center;
	vertical-align: middle;
	user-select: none;
	background-color: transparent;
	border: 0 solid transparent;
	padding: 0.375rem 0.75rem;
	font-size: 0.9rem !important;
	line-height: 1.5;
	border-radius: 4px;
	transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;	padding: 12px 24px;
	font-size: 16px;
	white-space: initial;
	text-decoration: none;
	color: white;
	background-color: #5c6f82;
	border-color: #5c6f82;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
	text-transform: uppercase;
}
#infos_modal .btn-custom-close:hover {
	color: white;
	background-color: #4c5c6c;
	border-color: #475664;
}
#infos_modal .close {
	font-size: 0.75rem;
	color: #333;
	cursor: pointer;
	border: none;
	background: none;
	outline: none;
	position: absolute;
	top: 21px;
	right: 18px;
	transition: color 0.3s ease;
	opacity: 1
}
#infos_modal .close:hover {
	color: #444;
}

.modal-header, .modal-header h5, .modal-header-custom, .modal-header-custom h5 {
	font-size: clamp(15px, 1rem, 20px) !important;
}
.modal-body, .modal-body p, .modal-body-custom, .modal-body-custom p {
	font-size: clamp(13px, 1rem, 15px) !important;
}

@media (max-width: 900px) {
	.sddownload_ammtsp_col1 {
		display: none;
		visibility: hidden;
	}
	.sddownload_ammtsp_col2 {
		width: 98%;
		margin: 0 auto;
	}
	.sddownload_ammtsp_col2 h3 {
		line-height: 1.3rem;
	}
	.sddownload_ammtsp_col {
		width: 98%;
	}

	#limit_labels_select {
		margin-bottom: -20px;
	}
	#limit_labels {
		width: 100%;
	}

	.sddownload_row {
		flex-direction: column;
		justify-content: space-between;
		align-items: center;
		padding: 15px 0;
	}
	.sddownload_row .icon {
		display: none;
		visibility: hidden;
	}
	.sddownload_row .text, .sddownload_row .text h3 {
		text-align: center !important;
	}
	.sddownload_row .labels {
		width: 100%;
		max-width: 100% !important;
		text-align: center;
		padding: 10px 0;
	}
	.sddownload_row .buttons {
		width: 100%;
		max-width: 100%;
		text-align: center;
		padding: 10px 0;
	}

	#sddownload_bando h4 {
		width: 100% !important;
		text-align: center;
	}
	.sddownload_bando_rows {
		width: 100%;
		margin: 20px 0;
	}
	.sddownload_bando_row {
		flex-direction: column;
		justify-content: space-between;
		align-items: center;
		padding: 15px 0;
		text-align: center;
	}
	.sddownload_bando_row .bando_label {
		width: 100%;
	}
	.sddownload_bando_row .bando_value {
		width: 100%;
		text-align: center;
	}
}

/* EXTRA AMMINISTRAZIONE TRASPARENTE */

.ammtsp_list {
	width: 100%;
	border-collapse: collapse;
	font-family: Arial, sans-serif;
	font-size: 14px;
	margin: 3rem 0;
}
.ammtsp_list caption {
	display: none;
}
.ammtsp_list th,
.ammtsp_list td {
	border: 1px solid #ccc;
	padding: 0.5em 1em;
	text-align: left;
}
.ammtsp_list th {
	height: 40px;
}
.ammtsp_list thead, .ammtsp_list th {
	background-color: #4A4A4A;
	color: white;
}
.ammtsp_list tbody tr:nth-child(even) {
	background-color: #f2f2f2;
}
.ammtsp_list .bandi_cig {
	white-space: nowrap;
}
.ammtsp_list .bandi_amount, .ammtsp_list .bandi_work_start, .ammtsp_list .bandi_work_end, .ammtsp_list .bandi_details, .ammtsp_list .bandi_bdncp,
.ammtsp_list .datipagamenti_date, .ammtsp_list .datipagamenti_quarter, .ammtsp_list .datipagamenti_amount, .ammtsp_list .datipagamenti_details,
.ammtsp_list .consulenti_amount, .ammtsp_list .consulenti_albo, .ammtsp_list .consulenti_53, .ammtsp_list .consulenti_15, .ammtsp_list .consulenti_cv, .ammtsp_list .consulenti_at,
.ammtsp_list .incarichi_cv, .ammtsp_list .incarichi_in, .ammtsp_list .incarichi_20,
.ammtsp_list .provvedimenti_ac, .ammtsp_list .provvedimenti_url,
.ammtsp_list .bilanci_pr, .ammtsp_list .bilanci_cs, .ammtsp_list .bilanci_p3, .ammtsp_list .bilanci_c3,
.ammtsp_list .tpagamenti_num, .ammtsp_list .tpagamenti_amount, .ammtsp_list .tpagamenti_value {
	text-align: center;
	white-space: nowrap;
}
.ammtsp_list .datipagamenti_details .btn, .ammtsp_btn.btn {
	text-decoration: none;
	line-height: 1.5rem !important;
}
.ammtsp_list .bilanci_p3 a, .ammtsp_list .bilanci_c3 a {
	margin-top: 2px;
	margin-bottom: 2px;
}

.ammtsp_table_subtitle {
	margin-bottom: -30px !important;
	margin-top: 40px !important;
}

@media (max-width: 900px)
{
	.ammtsp_list thead {
		position: absolute;
		left: -9999px;
	}
	.ammtsp_list tbody tr {
		display: block;
		margin-bottom: 1rem;
		border: 1px solid #DDD;
		overflow: hidden;
		box-shadow: 0 2px 4px rgba(0,0,0,0.05);
	}
	.ammtsp_list tbody td {
		display: flex;
		padding: 0.50rem 0.7rem;
		align-items: center;
		justify-content: space-between;
		border: none;
		border-top: 1px solid #DDD;
		text-align: right;
	}
	.ammtsp_list tbody td:first-child {
		border-top: none;
	}
	.ammtsp_list tbody td::before {
		content: attr(data-header) ": ";
		flex: 0 0 40%;
		font-weight: 600;
		color: #555;
		text-align: left;
	}
	.ammtsp_list tbody td > *  { 
		flex: 1 1 auto; 
	}
	.ammtsp_list tbody td:not(:first-child)::before {
		padding-left: 0;
	}
	.ammtsp_list tbody tr:nth-child(odd) {
		background: #F9F9F9;
	}
	.ammtsp_list .datipagamenti_details .btn, .ammtsp_btn.btn {
		max-width: 100px;
	}
}

.ammtsp_details_heading {
	font-size: 1rem !important;
	padding-bottom: 0.1rem !important;
	border-bottom: 3px solid #e5e5e5;
	margin-bottom: 2rem;
	padding-left: 1rem
}
.ammtsp_details_list {
	width: 90%;
	margin: 2rem auto;
	font-family: "Helvetica Neue", Arial, sans-serif;
	color: #333;
}
.ammtsp_details_list ul {
	margin: 0
}
.ammtsp_details_row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px;
	padding: .75rem 1rem;
	border-top: 1px solid #e5e5e5;
}
.ammtsp_details_row:first-child {
	border-top: 0
}
.ammtsp_details_row_icon {
	align-items: center;
}
.ammtsp_details_title {
	flex: 1 1 200px;
	font-weight: 600;
}
.ammtsp_details_value {
	flex: 2 1 320px;
	text-align: left;
	word-break: break-word;
}
.ammtsp_details_icon {
	width: 50px;
	align-items: center;
}
.ammtsp_details_url {
	flex: 1 1 auto;
	text-align: left;
	word-break: break-word;
}
.ammtsp_details_icon img {
	width: 36px;
}

@media (max-width: 480px) {
	.ammtsp_details_title, .ammtsp_details_value {
		flex: 1 1 100%;
		text-align: left;
	}
	.ammtsp_details_row {
		padding: .75rem .5rem;
	}
}

.perlapa {
	text-align: center;
	margin: -30px 0 40px 0
}