/*
 Theme Name:     Ampersand Child Themes
 Theme URI:      https://array.is/themes/ampersand-wordpress-theme/
 Description:    Ampersand Child Theme
 Author:         Liz Karaffa
 Author URI:     zao.is
 Template:       ampersand
 Version:        1.0.0
*/
 
@import url("../ampersand/style.css");
 
/* =Theme customization starts here
------------------------------------------------------- */

input[type=text], 
input[type=email] {
    padding: 5px;
}

#infinite-footer {
	display: none;
}

/* Homepage Logo Grid */

.page-template-homepage-php #primary {
	padding-right: 0;
}

.featured-content-section {
	padding: 4%;
}

.featured-content h2 {
	text-align: center;
}

ul.featured-content-grid{
	font-size: 0px;
	width: 80%;
  	margin: 0 auto;
}

.lg-columns-4 li {
	width: 22.5%; /* this value + 2.5 should = 25% */
	margin: 0 0 2.5% 2.5%;
}

.page-template-homepage-php .featured-item {
	background: #fff;
	display: inline-block;
	max-width: 100%;
	height: auto;
	margin: 0 2.5% 2.5% 0;
	font-size: 16px;
	font-size: 1rem;
}
.page-template-homepage-php .featured-item:nth-child(4),
.page-template-homepage-php .featured-item:nth-child(8),
.page-template-homepage-php .featured-item:nth-child(12) {
	margin-right: 0;
}
.page-template-homepage-php .featured-item:nth-child(9),
.page-template-homepage-php .featured-item:nth-child(10),
.page-template-homepage-php .featured-item:nth-child(11),
.page-template-homepage-php .featured-item:nth-child(12) {
	margin-bottom: 0;
}

.page-template-homepage-php .featured-item h2 a {
	display: none;
}

.page-template-homepage-php .featured-item-image img {
	max-width: 100%;
	height: auto;
}

.desaturate img {
	-webkit-filter: grayscale(100%);
	filter: gray;
	filter: grayscale(100%);
}

/* Homepage Testimonial Section */
div.featured-testimonial-section {
	padding: 2% 0;
	background-color: #4a545a;
}
div.featured-testimonial-inside {
	width: 80%;
	margin: auto;
}
h2.testimonial-title {
	color: #fff;
}
p.testimonial {
	color: #cdcdcd;
}
p.client {
    color: #feae2f;
    margin-bottom: 0;
}
.client_company {
    color: #cdcdcd;
    font-style: italic;
    margin-bottom: 0;

}

/* Subscribe Widget Styling */

#subscribe-submit input[type="submit"],
.zao-button {
	color: #fff;
    font-family: 'Roboto', 'Helvetica Neue', Helvetica, sans-serif;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 10px 20px;
    border: none;
    -webkit-transition: .07s ease-in;
    transition: .07s ease-in;
    -webkit-appearance: none;
    border-radius: 3px;
    background: #ffaf30;
    cursor: pointer;
}

#secondary a.clarity-fm, 
a.clarity-fm, 
.mc4wp-form input[type="submit"],
#subscribe-submit input[type="submit"],
a.zao-button {
	letter-spacing: 2px;
}

a.zao-button {
	color: #fff;
}

/* Gravity Forms Submit Button */
input.gform_button {
    min-height: 40px;
}


/* Media Queries */

@media screen and (max-width: 480px) {

  	div.featured-content-section,
  	div.featured-testimonial-section {
		display: none;
	}
    
}
