.grid {
	padding-bottom: 50px;
}

.grid .cols {
	display: flex;
	flex-direction: column;
}

.grid .slide {
	margin: 0 20px 15px 20px;
}

.grid, .grid .slide {
	position: relative;
	display: block;
	height: 100%;
}

.grid .img-cont picture {
	width: 100%;
}

.grid .img-cont img{
	border-radius: 5px;
}

.grid .img-cont::after {
	content: "";
	position: relative;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 70%;
	background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
	pointer-events: none;
	border-radius: 5px;
}

.grid .content-section {
	position: absolute;
	bottom: 12px;
	width: 100%;
	padding-left: 10px;
	padding-right: 10px;
}

.grid .content-section h3 {
	font: 600 18px "montserrat", sans-serif;
	color: white;
	text-align: center;
	line-height: 1em;
	letter-spacing: 5px;
	text-transform: uppercase;
}

.grid .slide.quote {
	display: flex;
	justify-content: flex-end;
}

.grid .slide.quote .inner {
	margin: 10px 10px 10px 20px;
	float: none;
	width: auto;
	margin-top: auto;
	margin-bottom: auto;
}

.grid .slide.quote h1 {
	color: #1895b4;
	font: 600 70px 'montserrat', sans-serif;
	margin-left: -7px;
	margin-bottom: 35px !important;
}

.grid .slide.quote h4, .grid .slide.quote h4 a {
	color: #df4c33;
	font: 600 18px 'montserrat', sans-serif;
	letter-spacing: 1.5px;
	line-height: 1.3em;
	margin-top: -80px;
	margin-bottom: 10px;
}

.grid .slide.quote p {
	color: #f0a539;
	font: 600 14px 'itc-officina-sans-pro', sans-serif;
	letter-spacing: 1px;
	padding-top: 5px;
}
.grid  a.view-all {
	background-color: #df4c33;
	padding: 13px 35px;
	color: white;
	font: 700 24px 'itc-officina-sans-pro', sans-serif;
	letter-spacing: 1px;
	border-radius: 5px;
	display: inline-block;
	margin-top: 25px;
	margin: 25px auto;
}
.grid .view-all {
	width: 242px;
	margin: 0 auto;
}
.grid .view-all:hover a {
	background-image: url('https://res.cloudinary.com/simpleview/image/upload/v1569269747/clients/brunswickcountync/title-back.png');
	background-size: cover;
}
@media (max-width: 40em) {
	.grid .view-all {
		width: 100%;
		padding: 0 15px;
	}
	.grid  a.view-all {
		text-align: center;
		font-size: 20px;
	}
}
@media (min-width: 40em) {
	.grid .cols {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: flex-start;
	}

	.grid .slide {
		margin-left: 5px;
		margin-right: 5px;
		flex-basis: calc(50% - 5px);
	}

	.grid .content-section {
		bottom: 20px;
	}

	.grid .slide.quote h1 {
		font-size: 95px;
		margin-bottom: 30px !important;
	}

	.grid .slide.quote h4, .grid .slide.quote h4 a {
		font-size: 22px;
	}

	.grid .slide.quote p {
		font-size: 15px;
	}
}

@media (min-width: 40em) and (max-width: 63.99em) {
	.grid .slide:nth-child(2n) {
		margin-right: 0px; /*The even grid items are at the right edge of the screen */
	}

	.grid .slide:first-child, .grid .slide:nth-child(3n) {
		margin-left: 0px; /*The odd grid items are at the left edge of the screen */
	}
}

@media (min-width: 64em) {
	.grid .slide {
		flex-basis: calc(33.33% - 6.67px);
	}

	.grid .slide:nth-child(3n) {
		margin-right: 0px; /*Every third grid item is at the right edge of the screen */
	}

	.grid .slide:first-child, .grid .slide:nth-child(4n) {
		margin-left: 0px; /*Every fourth grid item (plus the first) is at the left edge of the screen */
	}

	.grid .content-section h3 {
		font-size: 30px;
		font-weight: 600;
	}

	.grid .slide.quote .inner {
		max-width: 280px;
		margin-right: 15%;
	}

	.grid .slide.quote h1 {
		font-size: 130px;
		margin-bottom: 15px !important;
	}

	.grid .slide.quote h4, .grid .slide.quote h4 a {
		font-size: 30px;
	}

	.grid .slide.quote p {
		font-size: 20px;
	}

	.grid .slide:hover .img-cont:after {
		background: rgb(0,102,128);
		background: linear-gradient(0deg, rgba(0,102,128,1) 0%, rgba(0,102,128,0) 100%);
		content: "";
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 50%;
	}
}

@media screen and (min-width: 1024px) and (max-width: 1430px) {
	.grid .slide.quote h1 {
		font-size: 8.9vw;
	}

	.grid .slide.quote h4 {
		font-size: 2vw;
	}

	.grid .slide.quote p {
		font-size: 1.2vw;
	}
}

@media (min-width: 110em) {
	.grid .content-section h3 {
		font-size: 40px;
		letter-spacing: 7px;
	}

	.grid .slide.quote .inner {
		margin-right: 25%;
	}
}
