/**
 * Plugin front end scripts
 *
 * @package Pootle_Business_Pack
 * @version 1.0.0
 */

/**
 * Plugin front end scripts
 *
 * @package Pootle_Business_Pack
 * @version 1.0.0
 */

/* Testimonials */
.ppb-biz-testimonial {
	position: relative;
	background: rgba(160,160,160,0.25);
	padding: 35px 25px 25px;
	margin-top: 35px;
	border-radius: 5px;
}

.ppb-biz-testimonial:after {
	content: '';
	display: block;
	clear: both;
}

.ppb-biz-testimonial > .fa {
	position: absolute;
	top: -25px; /* 2px extra for border*/
	left: 50%;
	margin-left: -25px;
	width:50px;
	height: 50px;
	line-height: 50px;
	text-align: center;
	border: 2px solid;
	font-size: 25px;
	color: rgba(25,25,25,0.88);
	background: rgba(160,160,160,0.25);
	border-radius: 50%;
}

.ppb-biz-testimonial img {
	display: block;
	margin: auto;
}

/* Number counter */
.ppb-biz-number-counter {
	text-align: center;
	font-size: 2.5em;
}

/* Google maps */
#ppb-biz-gmap iframe {
	display: block;
	margin: auto;
}

/* Tabs and accordions */

.ppb-biz-link {
	display: inline-block;
	padding: 1em 1.6em;
	margin: 0 2px 0 0;
	background: rgba(255, 255, 255, 0.5);
	border: 1px solid rgba(0,0,0,0.25);
	border-bottom: 0;
	border-radius: 3px 3px 0 0;
}

.ppb-biz-link.active {
	border-color: rgba(0,0,0, 0.7);
	background: #fff;
	border-bottom:1px solid #fff;
	margin-bottom:-1px;
}

.ppb-biz-tabs .ppb-biz-content {
	display: none;
	border: 1px solid rgba(0,0,0,0.7);
}

.ppb-biz-content {
	background: #fff;
	padding: 1em;
}

.ppb-biz-content.active {
	display: block;
}

.ppb-biz-accordion .ppb-biz-link {
	display: block;
	padding: 1em 1.6em;
	background: rgba(255, 255, 255, 0.07);
	margin: 0;
	border: none;
	border-top: 1px solid rgba(0,0,0,0.1);
	position: relative;
}
.ppb-biz-accordion .ppb-biz-link.active .fa:before {
	content: "\f068";
}
.ppb-biz-accordion .ppb-biz-link .fa {
	position: absolute;
	right: 0;
	top: 50%;
	line-height: 20px;
	margin: -9px 1.6em 0;
}

.ppb-biz-accordion .ppb-biz-link:first-of-type {
	border-top: none;
}

.ppb-biz-accordion {
	border: 1px solid rgba(0,0,0,0.1);
}