/******* Do not edit this file *******
Woody ad snippets CSS and JS
Saved: Sep 08 2020 | 10:19:49 */
/* Leadership Post Grid by Chords Agency */

@media screen and (min-width: 1041px) {
	.rwi-leadership-grid .post-grid {
		padding: 0 !important;
		margin-left: -40px;
		margin-right: -40px;
	}
}

.rwi-leadership-grid .post-grid .grid-items .item:nth-of-type(1) { grid-area: staff1; }
.rwi-leadership-grid .post-grid .grid-items .item:nth-of-type(2) { grid-area: staff2; }
.rwi-leadership-grid .post-grid .grid-items .item:nth-of-type(3) { grid-area: staff3; }
.rwi-leadership-grid .post-grid .grid-items .item:nth-of-type(4) { grid-area: staff4; }
.rwi-leadership-grid .post-grid .grid-items .item:nth-of-type(5) { grid-area: staff5; }
.rwi-leadership-grid .post-grid .grid-items .item:nth-of-type(6) { grid-area: staff6; }
.rwi-leadership-grid .post-grid .grid-items .item:nth-of-type(7) { grid-area: staff7; }
.rwi-leadership-grid .post-grid .grid-items .item:nth-of-type(8) { grid-area: staff8; }
.rwi-leadership-grid .post-grid .grid-items .item:nth-of-type(9) { grid-area: staff9; }
.rwi-leadership-grid .post-grid .grid-items .item:nth-of-type(10) { grid-area: staff10; }
.rwi-leadership-grid .post-grid .grid-items .item:nth-of-type(11) { grid-area: staff11; }
.rwi-leadership-grid .post-grid .grid-items .item:nth-of-type(12) { grid-area: staff12; }

.rwi-leadership-grid .post-grid .grid-items  {
	display: grid;
	grid-template-areas:
		'staff1 staff2 staff3'
		'staff4 staff5 staff6'
		'staff7 staff8 staff9'
		'staff10 staff11 staff12';
	grid-gap: 30px;
}

@media screen and (max-width: 1040px) {
	.rwi-leadership-grid .post-grid .grid-items  {
		grid-template-areas:
			'staff1 staff2'
			'staff3 staff4'
			'staff5 staff6'
			'staff7 staff8'
			'staff9 staff9';
		grid-template-columns: 315px auto;
	}

	.rwi-leadership-grid .post-grid .grid-items .item {
		max-width: 315px;
	}
}

@media screen and (max-width: 740px) {
	.rwi-leadership-grid .post-grid .grid-items  {
		grid-template-areas:
			'staff1'
			'staff2'
			'staff3'
			'staff4'
			'staff5'
			'staff6'
			'staff7'
			'staff8'
			'staff9'
			'staff9';
		grid-template-columns: auto;
	}
}

.rwi-leadership-grid .post-grid .grid-items {
    padding: 40px;
}

.rwi-leadership-grid .post-grid .grid-items .item {
	margin: 0 0 45px 0 !important;
	width: unset !important;
	-webkit-box-shadow: 0 5px 40px 0 rgba(0,0,0,.1);
	box-shadow: 0 5px 40px 0 rgba(0,0,0,.1);
}

@media screen and (max-width: 740px) {
	.rwi-leadership-grid .post-grid .grid-items .item {
		margin: 0 auto !important;
	}
}

.rwi-leadership-grid .post-grid .grid-items .layer-wrapper {
    padding: 15px;
}

.rwi-leadership-grid .post-grid .grid-items .layer-wrapper .element-media {
	width: 285px;
	height: 380px;
	overflow: hidden;
	margin-bottom: 20px;
}

.rwi-leadership-grid .post-grid .grid-items .layer-wrapper .element-media img {
	position: relative !important;
	height: 410px;
	width: auto;
	-webkit-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	left: 50%;
	top: 50%;
	position: absolute;
	max-width: unset;
	max-height: unset;
}

.rwi-leadership-grid .post-grid .grid-items .layer-wrapper .layer-content {
	margin: 0 0 5px 0;
}

.rwi-leadership-grid .post-grid .grid-items .layer-wrapper .layer-content .title {
	font-family: "Roboto", sans-serif;
	font-size: 1.6em;
	margin: 0 0 1em;
}

.rwi-leadership-grid .post-grid .grid-items .layer-wrapper .layer-content .excerpt {
	font-size: .9rem;
	line-height: 1.8;
}

.rwi-leadership-grid .post-grid .grid-items .layer-wrapper .layer-content .excerpt a {
	display: none;
}
