/**
 * Dogs Revelation - Club rankings
 * Front office styles (club space and public rankings). Everything is prefixed
 * with .pdhpc to stay clear of the theme.
 */
.pdhpc .pdhpc-box {
	margin: 0 0 25px;
	padding: 15px 18px;
	border: 1px solid #e3e3e3;
	border-radius: 4px;
	background: #fff;
}
.pdhpc .pdhpc-box h3 {
	margin: 0 0 12px;
	font-size: 18px;
	font-weight: 600;
}
.pdhpc .pdhpc-box h4 {
	margin: 20px 0 10px;
	font-size: 15px;
	font-weight: 600;
}
.pdhpc .pdhpc-sub {
	margin: -8px 0 18px;
	color: #777;
}
.pdhpc .pdhpc-help {
	margin: 6px 0 0;
	font-size: 12px;
	line-height: 1.5;
	color: #777;
}
.pdhpc .pdhpc-tabs,
.pdhpc .pdhpc-clubs {
	margin-bottom: 20px;
}
.pdhpc fieldset {
	margin: 0 0 18px;
	padding: 0;
	border: 0;
}
.pdhpc fieldset legend {
	margin-bottom: 12px;
	padding-bottom: 6px;
	border-bottom: 1px solid #e3e3e3;
	font-size: 15px;
	font-weight: 600;
}
.pdhpc .checkbox-inline {
	margin: 0 14px 6px 0;
}
.pdhpc .checkbox-inline + .checkbox-inline {
	margin-left: 0;
}
.pdhpc .form-inline .form-group,
.pdhpc .form-inline .checkbox {
	margin: 0 12px 8px 0;
}
.pdhpc .pdhpc-table {
	margin-bottom: 12px;
}
.pdhpc .pdhpc-table th {
	white-space: nowrap;
}
.pdhpc .pdhpc-col-rank,
.pdhpc .pdhpc-col-pts,
.pdhpc .pdhpc-col-expos {
	width: 70px;
	text-align: center;
}
.pdhpc .pdhpc-actions {
	white-space: nowrap;
	text-align: right;
}
.pdhpc .pdhpc-inline {
	display: inline-block;
	margin: 0 0 0 4px;
}
.pdhpc .pdhpc-off td {
	color: #999;
}
.pdhpc .pdhpc-coef {
	width: 70px;
}
.pdhpc .pdhpc-sex {
	margin-left: 6px;
	font-size: 12px;
	color: #888;
}
.pdhpc .pdhpc-group {
	margin-bottom: 30px;
}
.pdhpc .pdhpc-group-title {
	margin: 0 0 10px;
	padding-bottom: 6px;
	border-bottom: 2px solid #333;
	font-size: 18px;
	font-weight: 600;
	text-transform: uppercase;
}
.pdhpc .pdhpc-winner {
	margin: 0 0 10px;
	padding: 8px 12px;
	border-left: 4px solid #c9a227;
	background: #fbf6e3;
}
.pdhpc .pdhpc-details {
	margin-top: 4px;
	font-size: 12px;
}
.pdhpc .pdhpc-details summary {
	cursor: pointer;
	color: #777;
}
.pdhpc .pdhpc-details ul {
	margin: 6px 0 0;
	padding-left: 18px;
}
.pdhpc .pdhpc-details li {
	margin-bottom: 6px;
}
.pdhpc .pdhpc-items {
	color: #666;
}
.pdhpc .pdhpc-out td,
.pdhpc .pdhpc-out td a {
	color: #999;
}
.pdhpc .pdhpc-out-title td {
	background: #f3f3f3;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	color: #666;
}
.pdhpc .pdhpc-section-title {
	margin: 30px 0 8px;
	padding-top: 20px;
	border-top: 1px solid #e3e3e3;
	font-size: 18px;
	font-weight: 600;
}
.pdhpc .pdhpc-section-title + .pdhpc-help {
	margin: 0 0 18px;
}
.pdhpc .pdhpc-copy-members {
	margin-top: 15px;
}
.pdhpc .pdhpc-copy-members .pdhpc-help {
	display: inline-block;
	margin-left: 10px;
}
.pdhpc .pdhpc-not-counted {
	color: #aaa;
	text-decoration: line-through;
}
.pdhpc .pdhpc-intro {
	line-height: 1.6;
}
.pdhpc .pdhpc-trophy-title {
	margin: 10px 0 14px;
	font-size: 22px;
}
.pdhpc .pdhpc-trophy-title .label {
	margin-left: 8px;
	font-size: 12px;
	vertical-align: middle;
}

/* Club logo */
.pdhpc .pdhpc-club-head.pdhpc-has-logo {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
}
.pdhpc .pdhpc-club-head .pdhpc-logo {
	flex: 0 0 auto;
	max-width: 160px;
	max-height: 90px;
	margin-right: 18px;
}
.pdhpc .pdhpc-club-head.pdhpc-has-logo .page-heading {
	flex: 1 1 auto;
	min-width: 0;
	margin-bottom: 0;
}
.pdhpc .pdhpc-club-item {
	display: flex;
	align-items: center;
}
.pdhpc .pdhpc-club-logo {
	display: flex;
	flex: 0 0 96px;
	align-items: center;
	justify-content: center;
	width: 96px;
	height: 64px;
	margin-right: 16px;
}
.pdhpc .pdhpc-club-logo img {
	max-width: 96px;
	max-height: 64px;
}
.pdhpc .pdhpc-club-initials {
	max-width: 96px;
	overflow: hidden;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .5px;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #999;
}
.pdhpc .pdhpc-club-text {
	flex: 1 1 auto;
	min-width: 0;
}
.pdhpc .pdhpc-logo-form {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
}
.pdhpc .pdhpc-logo-form .pdhpc-logo {
	flex: 0 0 auto;
	max-width: 180px;
	max-height: 110px;
	margin: 0 20px 12px 0;
}
.pdhpc .pdhpc-logo-form .pdhpc-logo-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 180px;
	height: 90px;
	border: 1px dashed #ccc;
	border-radius: 4px;
	font-size: 12px;
	color: #999;
}
.pdhpc .pdhpc-logo-actions {
	flex: 1 1 280px;
	min-width: 0;
}
.pdhpc .pdhpc-logo-actions form {
	margin-bottom: 8px;
}
.pdhpc .pdhpc-logo-actions input[type=file] {
	display: inline-block;
	max-width: 100%;
}
@media (max-width: 480px) {
	.pdhpc .pdhpc-club-head .pdhpc-logo {
		max-width: 90px !important;
		max-height: 60px !important;
		margin-right: 12px;
	}
	.pdhpc .pdhpc-club-logo {
		flex-basis: 64px;
		width: 64px;
		height: 48px;
		margin-right: 12px;
	}
	.pdhpc .pdhpc-club-logo img,
	.pdhpc .pdhpc-club-initials {
		max-width: 64px !important;
		max-height: 48px !important;
	}
}

/* Folded rankings: one line per breed with an orange "Voir le classement complet" button */
.pdhpc .pdhpc-fold-tools {
	margin: 0 0 12px;
	text-align: right;
}
.pdhpc details.pdhpc-fold {
	margin-bottom: 8px;
	border: 1px solid #ddd;
	border-radius: 4px;
	background: #fff;
}
.pdhpc .pdhpc-fold-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	padding: 10px 14px;
	list-style: none;
	cursor: pointer;
}
.pdhpc .pdhpc-fold-head::-webkit-details-marker {
	display: none;
}
.pdhpc .pdhpc-fold-head:hover,
.pdhpc details[open] > .pdhpc-fold-head {
	background: #f7f7f7;
}
.pdhpc details[open] > .pdhpc-fold-head {
	border-bottom: 1px solid #ddd;
}
.pdhpc .pdhpc-fold-head:focus {
	outline: 2px solid #ff582c;
	outline-offset: -2px;
}
.pdhpc .pdhpc-fold-text {
	flex: 1 1 260px;
	min-width: 0;
	padding-right: 14px;
}
.pdhpc .pdhpc-fold-title {
	display: inline;
	margin: 0 14px 0 0;
	padding: 0;
	border: 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	text-transform: uppercase;
}
.pdhpc .pdhpc-fold-info {
	font-size: 13px;
	color: #777;
}
.pdhpc .pdhpc-fold-info strong {
	color: #333;
}
/* The orange of the site (--orange in the theme) */
.pdhpc .pdhpc-fold-action {
	flex: 0 0 auto;
	display: inline-block;
	padding: 6px 14px;
	border: 1px solid #ff582c;
	border-radius: 3px;
	background: #ff582c;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	white-space: nowrap;
	color: #fff;
}
.pdhpc .pdhpc-fold-action::after {
	content: '';
	display: inline-block;
	margin: 0 2px 3px 9px;
	padding: 3px;
	border: solid currentColor;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.pdhpc .pdhpc-fold-head:hover .pdhpc-fold-action {
	border-color: #e2441b;
	background: #e2441b;
	color: #fff;
}
.pdhpc details[open] > .pdhpc-fold-head .pdhpc-fold-action {
	background: #fff;
	color: #ff582c;
}
.pdhpc details[open] > .pdhpc-fold-head:hover .pdhpc-fold-action {
	border-color: #e2441b;
	background: #fff;
	color: #e2441b;
}
.pdhpc details[open] > .pdhpc-fold-head .pdhpc-fold-action::after {
	margin-bottom: -1px;
	transform: rotate(-135deg);
}
.pdhpc details[open] > .pdhpc-fold-head .pdhpc-fold-show {
	display: none;
}
.pdhpc details[open] > .pdhpc-fold-head .pdhpc-fold-hide {
	display: inline !important;
}
.pdhpc .pdhpc-fold-body {
	padding: 14px 14px 4px;
}
.pdhpc details.pdhpc-fold + .pdhpc-box,
.pdhpc details.pdhpc-fold + .pdhpc-trophy-title,
.pdhpc details.pdhpc-fold + .pdhpc-section-title {
	margin-top: 28px;
}
.pdhpc .pdhpc-breeder-name {
	display: block;
	font-size: 12px;
	color: #888;
}
.pdhpc .pdhpc-out .pdhpc-kennel {
	font-weight: 600;
}
@media (max-width: 600px) {
	.pdhpc .pdhpc-fold-text {
		flex-basis: 100%;
		padding-right: 0;
	}
	.pdhpc .pdhpc-fold-title {
		display: block;
		margin-right: 0;
		font-size: 15px;
	}
	.pdhpc .pdhpc-fold-action {
		margin-top: 8px;
	}
}
@media (max-width: 480px) {
	.pdhpc .pdhpc-fold-body {
		padding: 10px 8px 0;
	}
}

/* Photos of the dog and breeder records, as on the Dogs Revelation rankings (round, purple ring) */
.pdhpc .pdhpc-table td.pdhpc-has-photos {
	position: relative;
	height: 62px;
	padding-left: 66px;
}
.pdhpc .pdhpc-table td.pdhpc-has-photos .pdhpc-photo {
	position: absolute;
	top: 8px;
	left: 10px;
}
.pdhpc .pdhpc-photo {
	display: block;
	width: 46px;
	height: 46px;
	overflow: hidden;
	border-radius: 50%;
	background: #ccc;
	box-shadow: 0 0 0 2px #5a0072;
}
.pdhpc .pdhpc-photo img {
	display: block;
	width: 46px;
	height: 46px;
	max-width: none;
	object-fit: cover;
}
.pdhpc .pdhpc-photo-empty {
	border: 2px dashed #ccc;
	background: #f5f5f5;
	box-shadow: none;
}
.pdhpc .pdhpc-table tr.pdhpc-out .pdhpc-photo {
	box-shadow: 0 0 0 2px #bbb;
}
.pdhpc .pdhpc-table tr.pdhpc-out .pdhpc-photo-empty {
	box-shadow: none;
}
.pdhpc .pdhpc-table tr.pdhpc-out .pdhpc-photo img {
	opacity: .75;
}

/* Shows tab: dogs of each breed of the club */
.pdhpc .pdhpc-expo-dogs {
	min-width: 190px;
	white-space: nowrap;
}
.pdhpc .pdhpc-race-counts {
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
	font-size: 12px;
	line-height: 1.5;
	color: #555;
}
.pdhpc .pdhpc-race-counts .pdhpc-race-name {
	display: inline-block;
	min-width: 0;
	margin-right: 4px;
	color: #888;
	text-transform: uppercase;
}

/* List of the clubs: invitation to the clubs that are not there yet */
.pdhpc .pdhpc-join {
	margin: 30px 0 10px;
	padding: 20px 22px;
	border: 1px solid #e3e3e3;
	border-left: 4px solid #ff582c;
	border-radius: 4px;
	background: #fff;
}
.pdhpc .pdhpc-join p {
	line-height: 1.6;
}
/* a paragraph, not a heading: the theme forces every h2 to 55 px */
.pdhpc .pdhpc-join p.pdhpc-join-title {
	margin: 0 0 10px;
	font-family: Lexend, "Open Sans", sans-serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
	color: #5a0072;
}
.pdhpc .pdhpc-join-action {
	margin: 16px 0 8px;
}
.pdhpc a.pdhpc-join-btn,
.pdhpc a.pdhpc-join-btn:visited {
	display: inline-block;
	padding: 9px 18px;
	border: 1px solid #ff582c;
	border-radius: 3px;
	background: #ff582c;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	color: #fff;
}
.pdhpc a.pdhpc-join-btn:hover,
.pdhpc a.pdhpc-join-btn:focus {
	border-color: #e2441b;
	background: #e2441b;
	text-decoration: none;
	color: #fff;
}
