/**
 * style for tabula.js + fix for bootstrap 337
 * @author: Federica Sibella
 * @date: 2023.11.09
 * @version: 0.1
 */

table.responsa-table, 
table.responsa-table tr, 
table.responsa-table tr th, 
table.responsa-table tr td {
	border: 1px solid transparent;
}

table.responsa-table {}
		
table.responsa-table tr {}

table.responsa-table th,
table.responsa-table td {
  	position: relative;
  	min-height: 2.5em;
}

table.responsa-table th {}

/**
 * hidden-td
 */
table.responsa-table th.responsa-hidden-td {
	display: none;
}

table.responsa-table td.responsa-hidden-td {
    border-bottom: 1px solid #ddd;
    display: none;
    text-align: right;
}

table.responsa-table td.responsa-hidden-td::before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
    text-align: left;
    font-size: 0.85em;
}

table.responsa-table td.responsa-trigger-td {
	padding-right: 2em;
}

table.responsa-table td.responsa-trigger-td span.responsa-trigger-span {
	/*content: '\21A9';*/
	cursor: pointer;
	position: absolute;
	right: 0.5rem;
	bottom: 0.5rem;
	font-size: 1.5rem;
	line-height: 1;
}

/** 
 * extra tr
 */  
table.responsa-table tr.responsa-extra {}
  
table.responsa-table tr.responsa-extra table td.responsa-hidden-td {
	display: block;
	padding: 0.5em;
}

table.responsa-table tr.responsa-extra table td.responsa-hidden-td:last-of-type {
	border-bottom: none;
}
  
table.responsa-table tr.responsa-extra td {
	position: relative;
	width: 100%;
}
  
table.responsa-table tr.responsa-extra table {
	position: relative;
	width: 100%;
	border: 1px solid #ddd;
}

/**
 * style for sorta.js
 */
.sorta-table > thead {
	vertical-align: middle;
}
 
.sorta-trigger {
	background-image: url('../img/tabula/sortable.png');
	background-position: right center;
	background-repeat: no-repeat;
	background-size: 20px 20px;
	padding-right: 25px !important;
	cursor: pointer;
}

/**
 * style for pagina.js and finda.js
 */
.finda-hidden, .pagina-hidden {
	display: none;
} 

#finda-not-found {
	display: none;
}

#finda-not-found.finda-not-found-active {
	display: block;
}

/**
 * fix for bootstrap 337
 */
*, ::after, ::before {
  box-sizing: border-box;
}

.table-wrapper > .navbar {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
}

.table-wrapper > .navbar::before, .table-wrapper > .navbar::after,
.table-wrapper > .navbar .container-fluid::before, .table-wrapper > .navbar .container-fluid::after {
	display: none;
	content: none;
}
 
.justify-content-between {
	justify-content: space-between !important;
}

.justify-content-center {
	justify-content: center !important;
}

.d-none {
	display: none !important;
}

.d-flex {
	display: flex !important;
}

.table-wrapper > .navbar > .container-fluid {
	width: 100%;
	display: flex;
	flex-wrap: inherit;
	align-items: center;
	justify-content: space-between;
	margin-right: auto;
	margin-left: auto;
}

.me-2 {
	margin-right: .5rem !important;
}

.pagina-navigation .pagination {
	margin-top: 0;
}

.pagina-navigation .pagination .page-link.active {
	background-color: #337ab7;
	color: #fff;
}

.pagina-counter {
	margin-bottom: 0;
}