/* Testimonial System General */
.testimonial-system {
	padding: 4em 0;
}

.testimonial-system .main {
}

.testimonial-system header {
	padding-bottom: 0;
	opacity: 1;
	transition: opacity .4s ease 0s;
	text-align: center;
}

.no-touch .test-expand .testimonial-system header {
	opacity: .5;
}

.testimonial-system header h1 {
}

.testimonial-system header h1 em {
	display: block;
	font-size: 1.35em;
	font-style: normal;
	color: #0845A2; /* $primary */
	line-height: 1.25;
}
/* End Testimonial System General */

/* Testimonial System Review Form */
.testimonial-system .add-review {
	display: block;
	margin: 0 auto;
	cursor: pointer;
	color: #31251C; /* $dark */
	font-size: 1.111em;
	transition: color .5s ease 0s, opacity .5s ease 0s;
	padding: 1em 0;
	text-align: center;
	width: 100%;
	max-width: 400px;
}

.test-expand .testimonial-system .add-review {
	opacity: .5;
}

.testimonial-system .add-review .no-reviews {
	display: none;
}

.testimonial-system.no-reviews .add-review .no-reviews {
	display: inline;
}

.testimonial-system .add-review:hover {
	color: #0845A2; /* $primary */
}

.testimonial-system .add-review icon {
	color: #0066FF; /* $tertiary */
	font-size: 1.5em;
	position: relative;
	padding-right: .3em;
	vertical-align: middle;
}

.testimonial-system .add-review-form {
	background-color: #FFFFFF; /* $white */
	padding: 2.5em 3%;
	margin: 2em auto;
	box-shadow: 0 0.25em 2em rgba(0,0,0,0.2);
	display: none;
	position: relative;
}

.testimonial-system .add-review-form h2 {
	margin-bottom: .5em;
	color: #31251C; /* $dark */
	font-size: 1.6667em;
	margin-top: 0;
}

.testimonial-system .add-review-form .cancel {
	position: absolute;
	top: .25em;
	right: .25em;
	font-size: 2em;
	color: #31251C; /* $dark */
	cursor: pointer;
	z-index: 1;
}

.testimonial-system .add-review-form .cancel:hover {
	color: #0845A2; /* $primary */
}

.add-review-form fieldset .input-text ul.star-rating {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-direction: row-reverse;
	-ms-flex-direction: row-reverse;
	flex-direction: row-reverse;
	-webkit-justify-content: flex-end;
	-ms-flex-pack: end;
	justify-content: flex-end;
	margin-bottom: 0;
}

.no-flexbox .add-review-form fieldset .input-text ul.star-rating {
	width: 180px;
	overflow: hidden;
}

.no-flexbox .add-review-form fieldset .input-text ul.star-rating li {
	float: right;
}

.testimonial-system .add-review-form input, .testimonial-system .add-review-form select, .testimonial-system .add-review-form textarea {
	text-align: left;
	background-color: #0845A2; /* $primary */
	color: #FFFFFF !important; /* $white */
	width: 100%;
}

.testimonial-system fieldset li:first-of-type .validation {
	right: auto;
	left: 0;
}

.testimonial-system .add-review-form .input-text ::-webkit-input-placeholder {
	color: #31251C; /* $dark */
}

.testimonial-system .add-review-form .input-text :-moz-placeholder {
	color: #31251C; /* $dark */
	opacity: 1;
}

.testimonial-system .add-review-form .input-text ::-ms-input-placeholder {
	color: #31251C; /* $dark */
}

.testimonial-system .star-rating input {
	width: 2em;
	height: 2em;
	box-shadow: none;
	padding: 0;
	margin: 0;
	line-height: 1;
	display: inline-block;
	opacity: 0;
}

.testimonial-system .star-rating label.ui-star {
	display: inline-block;
	height: 1.5em;
	width: 2em;
	margin-left: -2em;
	line-height: 1;
}

.testimonial-system .star-rating label.ui-star:before {
	content: '\f32d';
	font-family: 'icomoon-ult';
	font-size: 1.5em;
	color: #70B6FF; /* darken($light,5%) */
}

.testimonial-system .star-rating .active label.ui-star:before,.testimonial-system .star-rating input:checked + label.ui-star:before,.testimonial-system .star-rating li:hover input + label.ui-star:before,.testimonial-system .star-rating li:hover ~ li input + label.ui-star:before {
	color: #E7C311;
}

.full {
	width: 100%;
}

.testimonial-system .add-review-form fieldset {
	border: none;
	margin: 0;
	padding: 0;
}

.testimonial-system .add-review-form fieldset .flex {
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}

.testimonial-system .add-review-form ul {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-bottom: 1.5em;
}

.testimonial-system .add-review-form .input-text {
	position: relative;
}
/* End Testimonial System Review Form */

/* Testimonial System Reviews List */
.testimonial-system .testimonial-list {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-align-items: stretch;
	-ms-flex-align: stretch;
	align-items: stretch;
}

.no-flexbox .testimonial-system .testimonial-list {
	display: block;
}

.no-flexbox .testimonial-system .testimonial-list:after {
	content: ' ';
	display: block;
	clear: both;
}

.testimonial-system .testimonial-list li {
	-webkit-flex: 1 1 auto;
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
	width: 32%;
	position: relative;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-align-items: stretch;
	-ms-flex-align: stretch;
	align-items: stretch;
	opacity: 1;
	transition: opacity .5s ease 0s;
	margin: .5em .5%;
	background-color: #FFFFFF; /* $white */
	box-shadow: 0 0.25em 2em rgba(0,0,0,0.2);
}

.no-flexbox .testimonial-system .testimonial-list li {
	display: block;
	float: left;
	width: 49%;
}

.no-flexbox .testimonial-system .testimonial-list li:nth-child(2n+1) {
	clear: left;
}

.test-expand .testimonial-system .testimonial-list li:not(.test-expand) {
	opacity: .4;
}

.testimonial-system .testimonial-list li.test-expand {
	position: static;
}

.testimonial-system .testimonial-list li blockquote {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	position: relative;
	margin: 0;
	padding: 2em 2em 1.5em;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;
	width: 100%;
	left: 0;
	transition: top .5s ease 0s, transform .5s ease 0s;
	box-shadow: 0 0 1em rgba(0,0,0,0);
	background-color: rgba(255,255,255,0);
	border: solid 1px rgba(219,219,219,0);
}

.testimonial-system .testimonial-list li.test-expand blockquote {
	position: fixed;
	width: 60%;
	left: 20%;
	z-index: 91;
	background-color: #FFFFFF; /* $white */
	border: solid 1px #70B6FF; /* darken($light,5%) */
	box-shadow: 0 0 1em rgba(0,0,0,.1);
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	max-height: 100%;
	display: block;
	overflow: auto;
}

.testimonial-system .testimonial-list li .review {
	-webkit-flex: 1 1 auto;
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
	position: relative;
	overflow: hidden;
	max-height: 14em;
	min-height: 14em;
}

.testimonial-system .testimonial-list li.test-expand .review {
	max-height: 30em;
	transition: max-height .5s ease 0s;
	overflow: auto;
}

.testimonial-system .testimonial-list li.expander .review:after {
	content: ' ';
	position: absolute;
	width: 100%;
	height: 25%;
	left: 0;
	bottom: 0;
	background-image: linear-gradient(to bottom,rgba(255,255,255,0),#FFFFFF);
	opacity: 1;
	transition: opacity .5s ease 0s;
}

.testimonial-system .testimonial-list li.expander.test-expand .review:after {
	opacity: 0;
}

.testimonial-system .testimonial-list li .review h3 {
	position: relative;
	margin-top: 0;
}

.testimonial-system .testimonial-list li .review h3 span {
}

.testimonial-system .testimonial-list li .review p {
	margin: .75em 0 0;
}

.testimonial-system .testimonial-list li .info {
	-webkit-flex: 0 1 auto;
	-ms-flex: 0 1 auto;
	flex: 0 1 auto;
	padding-top: 1.5em;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
}

.no-flexbox .testimonial-system .testimonial-list li .info {
	display: table;
}

.no-flexbox .testimonial-system .testimonial-list li .info > * {
	display: table-cell;
}

.testimonial-system .testimonial-list li .info p {
	margin: 0;
}

.testimonial-system .testimonial-list li .info .author {
	padding-right: .75em;
}

.testimonial-system .testimonial-list li .info .location {
}

.testimonial-system .testimonial-list li .info .author + .location {
	padding-left: .75em;
	border-left: solid 1px #70B6FF; /* darken($light,5%) */
}

.testimonial-system .testimonial-list .open {
	position: absolute;
	display: none;
}

.testimonial-system .testimonial-list .expander .open {
	display: block;
	right: 6%;
	bottom: 0;
	padding-bottom: 1.2em;
	color: #0845A2; /* $primary */
	transition: color .5s ease 0s, opacity .5s ease 0s;
	opacity: 1;
	cursor: pointer;
}

.testimonial-system .testimonial-list .expander .open .more {
	display: inline-block;
}

.testimonial-system .testimonial-list .expander .open .less {
	display: none;
}

.testimonial-system .testimonial-list .expander.test-expand .open {
	opacity: 0;
}

.testimonial-system .testimonial-list .expander.test-expand .open .more {
	display: none;
}

.testimonial-system .testimonial-list .expander.test-expand .open .less {
	display: inline-block;
}

.testimonial-system .testimonial-list .expander .open:after {
	content: ' ';
	display: block;
	position: absolute;
	bottom: 0;
	left: calc(50% - .5px);
	width: 1px;
	height: 1.1em;
	background-color: #70B6FF; /* darken($light,5%) */
}

.testimonial-system .testimonial-list .expander .open:hover {
	color: #31251C; /* $dark */
}

.testimonial-system .testimonial-list .cancel-5 {
	position: absolute;
	display: none;
	top: .25em;
	right: .25em;
	cursor: pointer;
	font-size: 1.75em;
	opacity: 0;
	transition: opacity .5s ease 0s, color .5s ease 0s;
}

.testimonial-system .testimonial-list .cancel-5:hover {
	color: #0845A2; /* $primary */
}

.testimonial-system .testimonial-list .expander .cancel-5 {
	display: block;
}

.testimonial-system .testimonial-list .test-expand .cancel-5 {
	opacity: 1;
}
/* End Testimonial System Reviews List */

/* Responsive - 1536px */
@media screen and (max-width: 1536px) {
}
/* End Responsive - 1536px */

/* Responsive - 1120px */
@media screen and (max-width: 1120px) {
	.testimonial-system .testimonial-list li.test-expand blockquote {
		width: 90%;
		left: 5%;
	}
}
/* End Responsive - 1120px */

/* Responsive - 875px */
@media screen and (max-width: 875px) {
	.testimonial-system .testimonial-list li {
		width: 49%;
	}
}
/* End Responsive - 875px */

/* Responsive - 800px (Mobile) */
@media screen and (max-width: 800px) {
}
/* End Responsive - 800px (Mobile) */

/* Responsive - 683px */
@media screen and (max-width: 683px) {
	.testimonial-system .testimonial-list {
		display: block;
	}

	.testimonial-system .testimonial-list li {
		width: 100%;
		margin: .75em 0;
	}

	.test-expand .testimonial-system .testimonial-list li:not(.test-expand) {
		opacity: 1;
	}

	.testimonial-system .testimonial-list li .review {
		min-height: 0;
	}

	.testimonial-system .testimonial-list li.test-expand .review {
		max-height: none;
	}

	.testimonial-system .testimonial-list li.test-expand blockquote {
		width: 100%;
		left: auto;
		top: auto;
		-webkit-transform: none;
		-ms-transform: none;
		transform: none;
		position: relative;
		box-shadow: none;
		border: none;
		background-color: transparent;
		z-index: 0;
	}

	.testimonial-system .testimonial-list .expander.test-expand .open {
		opacity: 1;
	}

	.testimonial-system .testimonial-list .test-expand .cancel-5 {
		display: none;
	}
}
/* End Responsive - 683px */

/* Responsive - 532px */
@media screen and (max-width: 532px) {
	.testimonial-system .testimonial-list li blockquote {
		padding: 1.5em 3%;
	}

	.testimonial-system .add-review-form h2 {
		font-size: 1.333em;
	}
}
/* End Responsive - 532px */

/* Responsive - 414px */
@media screen and (max-width: 414px) {
}
/* End Responsive - 414px */

/* Responsive - 323px */
@media screen and (max-width: 323px) {
}
/* End Responsive - 323px */
