/**
 * @author: Niek Adam
 * @UI: 	Logeion 2013
 * @about: 	publicRelationLists.css - Layout and markup of the public list of relations
 */

/**
 * Pager
 */

#pager1 {
	display: none;
}

.pbuic-pager-container ul.pbuic-pager {
	text-align: center;
}

/**
 * Relation list
 */

.flexbox .relation-list {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	flex-wrap: wrap;
	-ms-flex-wrap: wrap;
}

.relation-list {
	width: 100%;
	margin: 0;
	overflow: hidden;
}

.relation-list li {
	position: relative;
	display: block;
	float: left;
	width: 48.5%;
	margin: 0 3% 1.2em 0;
	background-color: #fff;
	box-shadow: 0 0 10px #bbb;
}

.relation-list li:hover {
	box-shadow: 0 4px 15px 2px #bbb;
}

.relation-list li h3 {
	display: block;
	padding: 1em 1em 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-size: 1em;
	font-weight: 600;
	border-bottom: 0;
	text-transform: none;
	text-align: center;
	color: #231f20;
}

.relation-list li:hover h3 {
	color: #00ade5;
}

.relation-list .pd-logo-wrapper {
	float: none;
	width: 100%;
	border: 0;
}

.relation-list .pd-logo-wrapper div {
	display: table-cell;
	vertical-align: middle;
}

.relation-list .pd-logo-wrapper img {
	width: 100%;
}

.relation-list li:nth-of-type(2n+2) {
	margin-right: 0;
}

@media screen and (min-width: 480px) {
	.relation-list li:nth-of-type(1n),
	.relation-list li {
		width: 31%;
		margin: 0 3% 1.2em 0;
		clear: none;
	}

	.relation-list li:nth-of-type(3n+3) {
		margin-right: 0;
		clear: right;
	}

	.relation-list li:nth-of-type(3n+4) {
		clear: left;
	}
}

@media screen and (min-width: 800px) {
	.relation-list li:nth-of-type(1n),
	.relation-list li {
		width: 22.5%;
		margin: 0 3% 1.2em 0;
		clear: none;
	}

	.relation-list li:nth-of-type(4n+4) {
		margin-right: 0;
	}

	.relation-list li:nth-of-type(4n+5) {
		clear: left;
	}
}

/**
 * Detail page
 */

/** Hide other articles */
.plor-relation-details .page-intro,
.plor-relation-details .content .article_1 > h2 {
	display: none;
}

/** Markup for details */
.plor-back-link {
	display: inline-block;
	margin-bottom: 1em;
	text-decoration: none;
}

.plor-back-link:hover {
	color: #000;
}

.icon-down:before {
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	transform: rotate(90deg);
}

@media screen and (min-width: 1024px) {
	.plor-details-wrapper {
		max-width: 80%;
	}
}

.pd-logo-wrapper {
	float: left;
	display: table;
	width: 170px;
	height: 170px;
	margin: 0 1em 1em 0;
	padding: 1em;
	box-sizing: border-box;
	vertical-align: middle;
	text-align: center;
	border: 1px solid #ccc;
}

.pd-logo-wrapper div {
	display: table-cell;
	vertical-align: middle;
}

.pd-logo-wrapper img {
	width: 100%;
}

.plor-details-wrapper h3 {
	font-size: 2em;
	font-weight: 600;
}

.plor-details-wrapper dl {
	font-size: .9em;
	color: #999;
}

.plor-details-wrapper dl dt {
	float: left;
	margin-right: 0.5em;
}

.pd-contact-details {
	clear: left;
	margin: 0 0 3em;
	padding: 0;
	list-style: none;
}

.pd-contact-details li {
	margin-bottom: 1em;
}

.pd-contact-details .icon-mail:before,
.pd-contact-details .icon-location:before,
.pd-contact-details .icon-phone:before,
.pd-contact-details .icon-site:before {
	margin: 0 .5em 0 0;
	font-size: 1.5em;
	color: #00ade5;
}

.pd-contact-details a {
	color: inherit;
}