/*
 * Reviews Archive
*/

h1 {
	margin-top: 0;
	text-align: center;
}

.desc {
	margin-bottom: 1.8em;
	text-align: center;
}

.cta-message{
	font-size: 1.4em;
	line-height: 1.8;
	color:#0070C0;
}
.cta-message h2{
	line-height: inherit;
}

.cta-message a{
	font-size: inherit;
	color: #fff;
	text-decoration: none;
	margin-left: 10px;
	padding: 5px 10px;
	background-color: #0070C0;
}

#main .col-md-4 {
	margin-bottom: 30px;
}

.reviews-item {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	height: 100%;
	padding: 3em 1.57em;
	background: #F0F0F0;
	text-align: center;
}

.attachment-reviews.size-reviews.wp-post-image {
	margin-bottom: 1em;
	border-radius: 50%;
}

#main h3 {
	max-width: 80%;
	margin: 0 auto 0.5em;
}

.testimonials-date {
	margin-bottom: 0.7em;
	font-family: Futura PT;
	text-transform: uppercase;
	color: #5E6F7B;
}

.testimonials-rating {
	margin-bottom: 1.4em;
}

.star {
	margin: 0 0.15em;
}

.testimonials-text {
	-webkit-box-flex: 1;
	    -ms-flex-positive: 1;
	        flex-grow: 1;
}

.testimonials-text p {
	margin-bottom: 1em;
}

hr {
	margin-bottom: 3.5em;
}

.form-container h2,
.form-container .subtitle {
	text-align: center;
}

.preview {
	width: 11.43em;
	height: 11.43em;
	margin-bottom: 0.5em;
	background-image: url(/corporate/wp-content/themes/maxcanvas_child/img/review.svg);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
	border: 2px dashed #a7afb5;
}

.preview img{
   display: none;
   width: 100%;
   height: 100%;
   -o-object-fit: cover;
      object-fit: cover;
   -o-object-position: center;
      object-position: center;
}

#file {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

.change-image {
	display: none;
	font-weight: 700;
	margin: 0 0 2em;
	text-transform: uppercase;
	border: 2px dashed #a7afb5;
	padding: 0.5em;
	cursor: pointer;
	color: #a7afb5;
}

#reviewform label {
	display: block;
	font-size: 0.9em;
	line-height: 1.38;
	color: #000;
	margin-bottom: 0.45em;
}

#reviewform input[type="text"] {
	background: #FFFFFF;
	border: 1px solid #C5D3D6;
	width: 100%;
	padding: 0.65em;
	margin-bottom: 1.2em;
}

#reviewform input.error {
	border-color: red;
}

#reviewform #content {
	width: 100%;
	height: 11em;
	margin-bottom: 2em;
	padding: 0.65em;
	resize: none;
	border: 1px solid #C5D3D6;
}

.rating-input {
	font-family: Futura PT;
	font-style: normal;
	font-weight: 450;
	font-size: 1.14em;
	line-height: 1;
	text-transform: uppercase;
	color: #000000;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.rating-stars {
	margin-left: 2em;
	margin-top: -0.2em;
}

.form-bottom {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	margin-bottom: 5.7em;
}

.rating-stars .star {
	cursor: pointer;
}

.rating-stars .star.hover svg path {
	fill: #FFCC36;
}

.rating-stars .star.selected svg path {
	fill: #FBC011;
}

.form-error-message {
	color: red;
	font-size: 12px;
	position: relative;
	bottom: 16px;
}


/* Change the white to any color */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active,
input:-internal-autofill-selected
{
 -webkit-box-shadow: 0 0 0 30px #fff inset !important;
}

.thank-you-review {
	font-weight: 450;
	font-family: Futura PT;
	text-transform: uppercase;
	margin-bottom: 1.5em;
	border-bottom: 3px solid #FBC011;
	display: inline-block;
}

@media (max-width: 480px){
	.form-bottom {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
		-webkit-box-align: start;
		    -ms-flex-align: start;
		        align-items: flex-start;
	}

	.rating-input {
		margin-bottom: 1em;
	}
}