@import url('https://fonts.googleapis.com/css?family=Muli:400,800');

body{
	font-family: 'Muli', sans-serif;
	background-image: url(../image5.html);
	background-size: cover;
}

img {
	max-width: 100%;
}

#banner.agency-partnership {
    padding: 150px 0 0 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../jpg/image5.jpg) no-repeat;
    background-size: cover;
    width: 100%;
    background-color: #8dc63f;
    background-position: center;
}

#banner.agency-partnership h1 {
    font-size: 2.5rem;
    color: #fff;
    font-weight: 700;
    margin-top: 0;
}

#ap-hed{
	padding: 35px 0 !important;
}

#banner.agency-partnership p {
    font-size: 1.2rem;
    color: #fff;
    text-align: center;
    margin-top: 20px;
}

section#banner {
	padding: 50px 0 50px 0;
}

section#banner h1 {
	font-size: 56px;
    color: #222222;
    font-weight: 700;
    margin: 0 0 20px;
}

section#banner p {
	font-size: 24px;
    color: #222222;
    text-align: center;
    margin-bottom: 0;
}

section#form{
	padding:0 0 70px 0;
}

section#form .form-wrapper {
	background-color: #ffffff;
	padding: 50px;
	border-radius: 3px;
    	-webkit-border-radius: 3px;
    	-moz-border-radius: 3px;
    	-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.25);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.25);
}

section#form .form-wrapper h4 {
	line-height: 1.5em;
	margin: 0 0 20px;
	font-size: 1.6rem;
}

section#form .form-wrapper h4 strong {
	color: #72a428;
}

#form .formHeader p {
	font-size: 28px;
	text-align: center;
	padding-bottom: 50px;
}

#form span {
	text-transform: uppercase;
	font-size: 1.1rem;
	font-weight: 800;
}

#form .company {
	font-size: 0.9rem;
	padding-top: 10px;
	color: #999;
}

#form .form1 input {
	font-size: 1rem;
	background-color: #F7F7F7;
    border: 1px solid #E3E3E3;
    border-radius: 3px;
    color: #565656;
    padding: 8px 12px;
    width: 100%;
    box-shadow: none;
    margin-bottom: 10px;
    -webkit-box-shadow: inset 0px 0px 5px 0px rgba(237,237,237,1);
	-moz-box-shadow: inset 0px 0px 5px 0px rgba(237,237,237,1);
	box-shadow: inset 0px 0px 5px 0px rgba(237,237,237,1);
}

#form .form1 button {
	height: 50px;
    width: 100%;
    text-transform: uppercase;
	font-size: 1rem;
	background-color: #ed1c24;
	border: none;
	color: #fff;
	border-radius: 3px;
}

#form .form2 button:hover {
	background-color: #d01920;
}


.testimonial-wrapper {
	background-color: #ffffff;
	background-image: url("data:image/svg+xml,%3Csvg width='16' height='20' viewBox='0 0 16 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%238dc63f' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M8 0v20L0 10M16 0v10L8 0M16 10v10H8'/%3E%3C/g%3E%3C/svg%3E");
	padding: 50px;
	color: #000;
	margin-bottom: 30px;
	line-height: 1.5em;
	border-radius: 3px;
    	-webkit-border-radius: 3px;
    	-moz-border-radius: 3px;
    	-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.25);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.25);
}

#banner.agency-partnership .testimonial .quote {
    color: #222222;
    padding-left: 0 !important;
    font-size: 1.1rem;
	line-height: 1.5em;
	width: 60%;
    margin: 0 auto;
}

#banner.agency-partnership .testimonial .quote:before {
    position: absolute;
    filter: grayscale(100%) opacity(0.15);
    -webkit-filter: grayscale(100%) opacity(0.15);
	left: -4%;
    top: 0%;
}

#banner.agency-partnership .testimonial .quote:after {
    filter: grayscale(100%) opacity(0.15);
    -webkit-filter: grayscale(100%) opacity(0.15);
}
.quote:after {
    position: absolute;
    content: "";
    background-image: url('../svg/right-quote.svg');
    width: 50px;
    height: 50px;
	background-size: 50px 50px;
	right: 3%;
    bottom: -4%;
}



.testimonial-wrapper img {
	max-width: 100%;
}

.testimonial .quote {
	font-size: 16px;
	line-height: 1.5em;
}

.testimonial .quote:before {
	position: absolute;
	content: "";
	width: 50px;
	height: 50px;
	background-size: 50px 50px;
	filter: grayscale(100%) opacity(0.15);
	-webkit-filter: grayscale(100%) opacity(0.15);
	left: 0;
	right: 0;
	background-image: url('../svg/left-quote.svg');
}

.testimonial h5 {
	margin-top: 20px;
}

.testimonial h5 span {
	display: block;
}

.light {
	color: #000;
}

label.error, .error {
	color: #FB404B;
	font-size: 12px;
	font-weight: 400;
}

.success {
	color: #87CB16;
	font-size: 12px;
	font-weight: 400;
}

/* Large desktop */
@media (min-width: 1200px) {

}

/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {
	section#form .form-wrapper {
		margin-bottom: 30px;
	}

}

/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
	section#banner h1 {
		font-size: 30px;
	}
	section#form .form-wrapper {
		margin-bottom: 30px;
	}
	section#banner p{
		font-size: 18px;
	}
	#ap-hed {
		padding-bottom: 20px !important;
	}
	.testimonial-wrapper img {
		max-width: 100%;
		width: 30%;
		margin-top: 30px;
	}
	#banner.agency-partnership .testimonial .quote:before {
		left: 2%;
	}
}
@media (max-width: 550px) {
	#ap-hed {
		padding-bottom: 10px !important;
	}
}
@media (max-width: 450px) {
	#ap-hed {
		padding-bottom: 10px !important;
		margin-bottom: -35px;
	}
	#ap-cont .quote:after {
		right: -5%;
	}
	#banner.agency-partnership .testimonial .quote:before {
		left: -5%;
	}
}

/* Landscape phones and down */
@media (max-width: 480px) {

}