.nl-genealogy-search {
    border: 1px solid #AAA;
    padding: 20px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.nl-total-entries,
.nl-search-limit {
    flex: 0 0 100%;
    text-align: center;
}

.field-container {
	position: relative;
}

.field-container .clear-field {
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	cursor: pointer;
}

.field-container-text {
	flex-basis: 30%;
}

input[type="text"].nl-search-family-name {
    width: 100%;
    margin-bottom: 0;
}

.nl-genealogy-search input,
.nl-genealogy-search select {
    min-height: 30px;
}

.nl-genealogy-search select option {
    padding: 10px 0;
}

.field-container-gubernija {
    flex-basis: 100%;
}

.nl-search-gubernija {
	width: 50%;
	margin: 0 auto;
	display: block;
}

.nl-search-submit {
    flex: 0 0 100%;
}

.nl-people-found .nl-people-info {
    text-align: center;
}

.nl-people-found .nl-search-filters {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 20px 0;
}

.nl-people-found .nl-search-results {
    width: 100%;
}

.nl-people-found .nl-search-results th {
    white-space: nowrap;
    background-color: #f2f2f2;
}

.nl-people-found .header-mobile {
    font-weight: bold;
    display: none;
}

.hidden-by-family,
.hidden-by-name {
	display: none;
}

.nl-people-pages {
	display: flex;
	gap: 20px;
	justify-content: center;
}

.change-page.disabled {
	opacity: 0.7;
	pointer-events: none;
}

.change-page:not(.disabled) {
	cursor: pointer;
}

.change-page:not(.disabled):hover {
	filter: drop-shadow(1px 1px 0 black);
}

@media (max-width: 600px) {
	.field-container-text,
	.field-container-select {
		flex-basis: 100%;
	}

/*     .nl-genealogy-search input,
    .nl-genealogy-search select {
        flex: 0 0 100%;
    } */

	.field-container-select select {
		width: 100%;
	}
	
    .nl-people-found thead {
        display: none;
    }

    .nl-people-found .header-mobile {
        display: block;
    }

    .nl-people-found tr {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
}
