/* Testimonial System General */

.testimonial-system {
}

.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 {
	text-align: center;
}

.testimonial-system header h1 em {
}

/* End Testimonial System General */

/* Testimonial System Review Form */

.testimonial-system .add-review {
	display: block;
	margin: 0 auto;
	cursor: pointer;
	color: #2D5399; /* $tertiary */
	font-size: 1.111em;
	font-weight: 600;
	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: #F0AE1F; /* $secondary */
}

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

.testimonial-system .add-review-form {
	margin: 2em auto;
	display: none;
}

.testimonial-system .add-review-form .auth {
	text-align: center;
	margin-top: 1em;
}

.testimonial-system .add-review-form h2 {
	margin-bottom: .5em;
	color: #F0AE1F; /* $secondary */
	font-size: 1.6667em;
}

.testimonial-system .add-review-form .cancel {
	position: absolute;
	top: .25em;
	right: .25em;
	font-size: 2em;
	color: #FFFFFF; /* $white */
}

.testimonial-system .add-review-form .cancel:hover {
	color: #F0AE1F; /* $secondary */
}

.add-review-form fieldset ul li:first-child {
	border: none;
}

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

.add-review-form fieldset .input-text ul.star-rating > li {
	border: none;
}

.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 {
}

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

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

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

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

.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 icon {
	content: '\f32d';
	font-family: 'icomoon-ult';
	font-size: 1.5em;
	color: #896109; /* darken($secondary,46%) */
}

.testimonial-system .star-rating .active label.ui-star icon,.testimonial-system .star-rating input:checked + label.ui-star icon,.testimonial-system .star-rating li:hover input + label.ui-star icon,.testimonial-system .star-rating li:hover ~ li input + label.ui-star icon {
	color: #F0AE1F; /* $secondary */
}

/* End Testimonial System Review Form */

/* Testimonial System Reviews List */

.testimonial-system .testimonial-list {
	-ms-flex-align: stretch;
	align-items: stretch;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	display: -ms-flexbox;
	display: flex;
}

.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 {
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
	width: 32%;
	position: relative;
	-ms-flex-align: stretch;
	align-items: stretch;
	display: -ms-flexbox;
	display: flex;
	opacity: 1;
	transition: opacity .5s ease 0s;
	margin: .5em .5%;
}

.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: -ms-flexbox;
	display: flex;
	position: relative;
	margin: 0;
	padding: 2em 2em 1.5em;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-ms-flex-direction: column;
	flex-direction: column;
	width: 100%;
	left: 0;
	transition: .5s ease 0s;
	background-color: rgba(0,0,0,0.537);
}

.testimonial-system .testimonial-list li.test-expand blockquote {
	position: fixed;
	width: 60%;
	left: 20%;
	z-index: 91;
	background-color: rgba(0,0,0,0.827);
	box-shadow: 0 0 1em rgba(0,0,0,.1);
	top: 50%;
	transform: translateY(-50%);
	max-height: 100%;
	display: block;
	overflow: auto;
}

.testimonial-system .testimonial-list li .review {
	-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(0,0,0,0),#000000);
	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 > em {
	position: relative;
	font-weight: bold;
	line-height: 1.2;
	margin: 0;
	display: block;
	color: #005076;
	font-size: 1.333em;
	font-style: normal;
}

.testimonial-system .testimonial-list li .review > em span {
}

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

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

.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 #D7D7D7;
}

.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: #F0AE1F; /* $secondary */
	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 {
}

.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: #D9D9D9;
}

.testimonial-system .testimonial-list .expander .open:hover {
	color: #2D5399; /* $tertiary */
}

.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: #005076;
}

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

.testimonial-system .testimonial-list .test-expand .cancel-5 {
	opacity: 1;
}

/* End Testimonial System Reviews List */

/* 1300px Responsive */

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

/* End 1300px Responsive */

/* 1000px Responsive */

@media screen and (max-width:1000px) {
	.testimonial-system .testimonial-list li {
		width: 49%;
	}
}

/* End 1000px Responsive */

/* 800px Responsive */

@media screen and (max-width:800px) {
	.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;
		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 800px Responsive */

/* 550px Responsive */

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

	.testimonial-system .add-review-form h2 {
		font-size: 1.333em;
	}
}

/* End 550px Responsive */
