.vendor-credits {
	margin-bottom: 2.0em;
}

.vendor-credits h2 {
	text-align: center;
}

.vendor-credits p {
	text-align: center;
    font-size: .8em;
}

.vendor_section {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-column-gap: 20px;
    grid-row-gap: 30px;
}
.vendor_section ul {
	list-style: none;
	padding: 0 !important;
	margin: 0 !important;
}
.vendor_section ul li:first-child {
	list-style: none;
	background: none; 
	padding: 0 0 0 0 !important; 
	font-style:italic;
	margin-bottom:5px;
}
.vendor_section ul li + li, .vendor_section ul li + li a, .vendor_section ul li + li a:hover, .vendor_section ul li + li a:visited {
	background: none; 
	padding: 0 0 0 0 !important; 
	list-style: none;
	font-weight:bold;
	margin-bottom:5px;
	text-decoration:none;
	text-decoration: none !important;
}
.vendor_section ul li + li + li, .vendor_section ul li + li + li a, .vendor_section ul li + li + li a:visited {
	background: none; 
	padding: 0 0 0 0 !important; 
	list-style: none;
	text-transform:uppercase;
	margin-bottom:5px;
	text-decoration: none !important;
}

@media screen and (max-width: 768px) {
	.directory_vendors {
		display: grid !important;
		grid-template-columns: 1fr !important;
	}
	.vendor_section {
		display: grid !important;
		grid-template-columns: repeat(2, 1fr) !important;
	}
}
.directory_vendors {
	overflow: hidden;
	clear: both;
	padding: 15px 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 20px;
}

.post-guide-vendor {
    border: 1px solid #dedede;
    float: left;
    position: relative;
    list-style: none;
}

.post-guide-vendor a {
	text-decoration: none !important;
}

.post-guide-vendor-header {
	margin: 0 0 10px 0;
	line-height: 1.5em;
	max-width: 600px;
}

.post-guide-vendor-header h4 {

}

.post-vendor-thumb {
	width: 100%;
    height: 300px;
    object-fit: cover;
	margin-bottom: 15px;
}

.post-vendor-name {
	font-weight: bold;
	letter-spacing: 1px;
	text-align: center;
	font-size: 1.2em;
}

.post-vendor-name a, .post-guide-vendor a:hover {
	text-decoration: none;
}

.vendor-buttons {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 20px;
}

.post-vendor-portfolio {
	text-align: center;
	font-size: 14px;
	font-style: normal;
	padding: 10px;
	width: 70%;
	margin: 20px auto;
	transition: background-color .25s ease-in-out;
    -moz-transition: background-color .25s ease-in-out;
    -webkit-transition: background-color .25s ease-in-out;
}

.post-guide-vendor a, .post-vendor-portfolio a, .post-vendor-portfolio a:visited, .post-vendor-portfolio a:hover {
	color: unset !important;
	text-decoration: none !important;
}

.post-vendor-type {
    list-style: none;
    background: none;
    padding: 15px 0 0;
    font-style: italic;
    margin-bottom: 10px;
    text-align: center;
}

@media screen and (max-width: 768px) {
	.post-vendor-type {
		padding: 0;
	}
}

.vendor-guide-name {
	text-transform: uppercase;
	text-align: center;
}

.vendor-guide-info {
	text-transform: capitalize;
	text-align: center;
	margin-top: 5px;
}

.return-nav-link {
	text-align: center;
	margin: 40px 0;
}

/* =Single Vendor Page
----------------------------------------------- */

.single-wed_vendor .entry-content {
	margin: 0 auto;
    padding: 0 20px;
    max-width: 1160px;
    line-height: 1.75;
}

.vendor-header {
	display: flex; 
	justify-content: center;
	align-items: center;
	background: #fafafa;
}

.post-header-image {
	display: grid;
    height: 300px;
    overflow: hidden;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    grid-gap: 5px;
}

.post-header-image li.highlight {
	height: 300px;
	list-style: none;
}

.highlight img {
	object-fit: cover;
	width: 100%;
	max-width: 100%;
	height: 300px;
}

.vendorlogo {
	margin-top: -50px;
	height: 255px;
	width: 315px;
	border: 1px solid #ddd;
	background: #fff;
	position: relative;
	overflow: hidden;
}

.vendorlogo img {
	max-width: 215px;
	height: auto;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.vendorinfo {
	width: 100%;
    margin-left: 30px;
    display: flex;
    flex-direction: column;
}

.vendorinfo h1 {
	font-size: 1.8em;
	margin-bottom: 10px;
}

.vendor-meta {
	font-size: .8em;
}

#vendorgallery {
	margin-left: 300px;
}

#vendoricons {
	margin-top: 20px;
	display: flex;
	font-size: 75%
}

.vendoricon {
	padding-right: 20px;
}

.smallcaps {
	font-size: .8em;
	text-transform: uppercase; 
	letter-spacing: 1px;
}

#vendoricons .fa, #vendoricons .fab {
	color: #000;
	margin-bottom: 10px;
}

.vendor-sidebar {
    float: left;
    width: 25%;
    background: #fafafa;
    margin-top: 30px;
}

.vendor-widget {
	padding: 5%;
	text-align: center;
	word-wrap: break-word;
	font-size: .9em;
}

.vendor-widget .link-row {
	overflow: hidden;
	padding: 5%;
}

.vendor-main {
	margin: 30px 0;
	max-width: 65%;
  margin-left: calc(25% + 50px);
}

.thumb {
	width: 106px;
	height: 106px;
	margin-right: 10px;
	margin-bottom: 10px;
	list-style:none;
	max-height: 400px;
	max-width:600px;
	float: left;
}

.thumb img {
	object-fit: cover;
	height: 100px;
	width: 100px;
}

.thumbs {
	overflow: hidden;
	margin: 0 !important;
	padding: 0 !important;
	display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    grid-gap: 10px;
}

.thumbs li {
	list-style: none;
}

#slideshow {
	max-height: 450px;
	width: 100%;
	text-align: center;
	margin: 0 auto;
	overflow: hidden;
}

#slideshow a {
	text-decoration: none;
}

#slideshow img {
	max-height: 400px;
}

#outerholder {
	width: 100%;
	height: 430px;
	overflow: hidden;
}

div.controls {
	position: relative;
	top: 47%;
}

div.controls a {

}

div.controls a:hover {

}

div.controls a.prev {
	float: left;
	background: url('images/left-arrow.png') bottom;
	width: 25px;
	height: 25px;
	display: block;
	text-indent: -99999px;
}

div.controls a.next {
	float: right;
	background: url('images/right-arrow.png') bottom;
	width: 25px;
	height: 25px;
	display: block;
	text-indent: -99999px;
}


#slideshow-container {
	width: 100%;
	height: 430px;
}

#widethumblist {
	width: 100%;
	overflow: hidden;
	position: relative;
}

#widethumblist_inner {
	width: 100%;
	margin-top: 30px;
	overflow: hidden;
}

.small-video {
	float: left;
	margin: 0 15px 25px 0;
}

.vendor-details {
	margin-bottom: 30px;
}

.vendor-sidebar h3 {
	margin-bottom: 30px;
}

.vendor-details h5:after {
	content: '';
    height: 1px;
    background: #F78B8E;
    display: block;
    margin: 10px auto;
    width: 40px;
}

.acf-form-submit {
	margin-bottom: 40px;
}

.acf-button {
	padding: 10px 20px;
	background: #eee;
	font-size: 12px;
}

@media screen and (max-width: 768px) {
	
	.vendor-header {
		justify-content: normal;
    	align-items: normal;
		background: none;
	}

	.block img {
		width: 100%;
		object-fit: cover;
	}
	.vendor-guide-name, .vendor-guide-info {
		margin: 0 auto;
	}
	
	#guide-navigation #nav-dropdowns {
		width: 100%;
	}	
	.post-header-info {
		width: 90%;
		max-width: 90%;
	}

	.post-header-image {
		height: 200px;
		overflow: hidden;
	}

	.post-header-image li.highlight {
		height: 200px;
		float: left;
		padding-right: 0 !important;
		list-style: none;
	}

	.highlight img {
		object-fit: cover;
		width: 100%;
		max-width: 100%;
		height: 200px;
	}

	.vendorlogo {
		margin: -50px auto 0 auto;
		height: 125px;
		width: 125px;
		border: 1px solid #ddd;
		background: #fff;
		position: absolute;
		left: 50%;
		overflow: hidden;
		float: none !important;
		transform: translatex(-50%);
	}

	.vendorlogo img {
		max-width: 100px;
		height: auto;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	}

	.vendorinfo {
		float: none !important;
		padding: 0 !important;
		overflow: hidden;
		height: auto !important;
		background: #ffffff;
		width: 100%;
		margin: 100px 0 0 0;
		text-align: center;
	}

	.vendorinfo h1 {
		margin-bottom: 5px;
		font-size: 1.8em;
	}

	#vendorgallery {
		margin-left: 300px;
	}

	#vendoricons {
		margin: 10px auto 0 auto;
		height: 50px;
		text-align: center;
		width: fit-content;
	}

	.vendoricon {
		padding: 0 10px;
		display: inline-block;
	}

	.vendoricon .upper {
		display: none;
	}

	.smallcaps {
		font-size: .9em;
	}

	#vendoricons .fa {
		margin-bottom: 10px;
	}

	.vendor-sidebar {
		float: none !important;
		width: 100%;
		max-width: calc(100% - 30px);
		margin: 0 15px;
		padding-top: 0;
	}

	.vendor-widget {
		margin-top:10px;
	}

	.vendor-widget .link-row {
		overflow: hidden;
		padding: 5%;
	}

	.vendor-main {
		margin: 30px 15px;
		float: none;
		max-width: calc(100% - 30px);
		width: 100%;
	}
	
	.thumbs {
		grid-template-columns: repeat(auto-fit, minmax(75px, 1fr));
	}

	.thumb {
		width: 75px;
		height: 75px;
		margin-right: 10px;
		margin-bottom: 10px;
		list-style:none;
		max-height: 400px;
		max-width: 100%;
		float: left;
	}

	a.thumb img {
		max-width: 75px;
		height: auto;
	}

	#slideshow {
		max-height: 250px;
		width:100%;
		text-align: center;
		margin: 0 auto;
	}

	#slideshow img {
		max-height: 250px;
	}

	#outerholder {
		width: 100%;
		height: 250px;
		overflow: hidden;
		float: left;
	}

	#slideshow-container {
		width: 100%;
		height: 250px;
	}

	#widethumblist {
		font-size: 1.1em; 
		line-height: 1.53846em; 
		margin: 10px 0 15px 8px;
		width: 100%;
		overflow: hidden;
		position: relative;
	}

	#widethumblist_inner {
		width: 100%;
		float: right;
		margin-top: 10px;
		overflow: hidden;
		position: relative;
	}
}