/* Flipping Cards */
.flipping-cards {
	background: $pestrequest-blue;
	color: #fafafd;

	.flex-box {

		@media only screen and (min-width: $large-screen) {
			display: flex;
			align-items: center; // flex-start, flex-end, center, stretch, baseline (for vertical alignment of all individual items)
			flex: 0 0 50%; // shorthand of flex-grow, flex-shrink, flex-basis
			text-align: left;
		}

		padding: 1rem;

		//	Items
		> div.item {

			text-align: center;

			@media only screen and (min-width: $large-screen) {
				flex: 0 0 50%; // shorthand of flex-grow, flex-shrink, flex-basis
				text-align: left;
			}

			p {
				margin-bottom: 10px;
			}

			img {
				display: block;
				margin: 0 auto 1rem;
				border: 6px solid white;
			}

			.title {
				color: #fff;
				font-size: 1.45em;
				font-weight: bold;
				line-height: 1;
				margin-bottom: 4px;
			}

			.subtitle {
				color: #ff0;
				font-size: .9em;
				font-weight: bold;
				text-transform: uppercase;
			}

			.review-stars i {
				color: $flat-yellow;
				margin-right: 0;
			}

			.affordable i {
				color: $pestrequest-blue;
			}

			i {
				font-size: 1.25em;
				margin-right: 4px;

				&.fa-thumbs-up {
					color: $pestrequest-blue;
				}

				&.fa-heart {
					color: $flat-red;
				}
			}
		}
	}
}