

/* results table styling */
.pzcc-list-table table {
	width: 100%;
	border: none;
}
.pzcc-list-table table thead th {
	padding: 10px;
	text-align: left;
	border: none;
}
.pzcc-list-table table tbody td {
	border: none;
	border-top: 1px solid #ccc;
	padding: 10px;
}
.course .pzcc-list-table table .column-attendees { text-align: center; }

.course .pzcc-list-table table thead th.column-location { width: auto; }
.course .pzcc-list-table table thead th.column-trainer { width: 20%; }
.course .pzcc-list-table table thead th.column-date { width: 17%; }
.course .pzcc-list-table table thead th.column-attendees { width: 10%; }

.attendee .pzcc-list-table table thead th.column-trainee { width: auto; }
.attendee .pzcc-list-table table thead th.column-certno { width: 20%; }
.attendee .pzcc-list-table table thead th.column-actions { width: 17%; }

.pzcc-list-table td.noitems {
	text-align: center;
	font-weight: 600;
	padding: 20px 0;
	color: #666;
}
.pzcc-list-table a:not(:last-child) {
	margin-right: 20px;
}
.pzcc-list-table a:not(:hover) {
	text-decoration: none;
}
.pz-client-certificates .notice {
	font-weight: 600;
	margin: 20px 0;
}
.pz-client-certificates .row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 10px 0;
	flex-wrap: wrap;
}
.pz-client-certificates .row .header {
	padding-right: 20px;
	min-width: 175px;
	line-height: 2em;
}
.pz-client-certificates .row .content {
	flex-grow: 1;
}

/* pagination styling */
.pz-client-certificates .row .navigation {
	display: inline-block;
	padding: 0;
	margin: 0;
}
.pz-client-certificates .row .navigation li {
	display: inline;
}
.pz-client-certificates .row .navigation li a {
	color: black;
	float: left;
	padding: 3px 9px;
	text-decoration: none;
	transition: background-color .3s;
	border: 1px solid #ddd;
	margin: 0 2px;
	border-radius: 5px;
	background-color: #f8f8f8;
}
.pz-client-certificates .row .navigation li.active a {
	background-color: #4CAF50;
	color: white;
}
.pz-client-certificates .row .navigation li a:hover:not(.active) {
	background-color: #f0f0f0;
}
.pz-client-certificates .row .navigation li.active a:hover {
	background-color: #666;
}


/* <select> styling */
.pz-client-certificates .select {
	position: relative;
	display: inline-block;
	width: 100%;
}

.pz-client-certificates .select select {
	display: inline-block;
	width: 100%;
	cursor: pointer;
	padding: 5px 10px;
	outline: 0;
	border: 0;
	border-radius: 0;
	background: #f4f4f4;
	color: #000;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}

.pz-client-certificates .select select::-ms-expand {
	display: none;
}

.pz-client-certificates .select select:hover,
.pz-client-certificates .select select:focus {
	color: #000;
	background: #f0f0f0;
}

.pz-client-certificates .select select:disabled {
	opacity: 0.5;
	pointer-events: none;
}

.pz-client-certificates .select__arrow {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 0;
	height: 0;
	pointer-events: none;
	border-style: solid;
	border-width: 8px 5px 0 5px;
	border-color: #7b7b7b transparent transparent transparent;
}

.pz-client-certificates .select select:hover ~ .select__arrow,
.pz-client-certificates .select select:focus ~ .select__arrow {
	border-top-color: #000;
}

.pz-client-certificates .select select:disabled ~ .select__arrow {
	border-top-color: #ccc;
}





/* search input and button styling */
.pz-client-certificates .row input {
	transition: all 0.3s;
	margin-right: 5px;
	border: 1px solid #ddd;
	border-radius: 5px;
	color: #000;
	cursor: pointer;
	padding: 3px 15px;
	background-color: #f8f8f8;
}

.pz-client-certificates .row input:hover {
	background-color: #e8e8e8;
	color: #000;
}

.pz-client-certificates .row input:focus {
	border-color: #333;
}



/* certificate checker styling */
.pz-client-certificates .cert-check {
	display: flex;
	margin: 10px 0;
}

.pz-client-certificates .cert-check .search {
	flex-shrink: 0;
	width: 200px;
}

.pz-client-certificates .cert-check .search input {
	display: block;
	width: 100%;
	padding: 5px;
	border: 1px solid #000;
	margin-bottom: 10px;
}

.pz-client-certificates .cert-check .search input:last-of-type { margin-bottom: 0; }

.pz-client-certificates .cert-check .results {
	margin-left: 20px;
	font-size: 1.2em;
}

