.dir li .inner {
padding:30px 40px 80px;
/* background:#f8f8f8; */
text-align:center;
display: flex;
justify-content: center;
flex-direction: column;
border-radius:6px;
position:relative;
transition: all .2s;
box-shadow:
  0 0px 2.2px rgba(0, 0, 0, 0.006),
  0 0px 5.3px rgba(0, 0, 0, 0.008),
  0 0px 10px rgba(0, 0, 0, 0.01),
  0 0px 17.9px rgba(0, 0, 0, 0.012),
  0 0px 33.4px rgba(0, 0, 0, 0.014),
  0 0px 80px rgba(0, 0, 0, 0.02)
}
.dir li .inner:hover {
box-shadow:
  0 0px 2.2px rgba(0, 0, 0, 0.012),
  0 0px 5.3px rgba(0, 0, 0, 0.016),
  0 0px 10px rgba(0, 0, 0, 0.02),
  0 0px 17.9px rgba(0, 0, 0, 0.024),
  0 0px 33.4px rgba(0, 0, 0, 0.028),
  0 0px 80px rgba(0, 0, 0, 0.04)
}
.dir li .inner:before {
display: block;
position: absolute;
width: 100%;
height: 100%;
content: "";
left: 0;
top: 0;
}
.dir li a {
z-index:2;
}
.dir li h4 {
margin:1rem;
position:relative;
bottom:-25px;
}
.dir li .img + h4 {
position: absolute;
bottom: 15px;
width: 91%;
left: 0;
text-align: center;
}
.dir li img.dir-logo {
max-width: 70%;
max-height: 150px;
width: auto;
}

/* 
.dir li .meta {
margin-top:30px;
}
 */
.dir li .meta .states {
position:absolute;
top:0;
right:-1px;
}
.dir li .meta .cats a[rel="tag"], .dir li .meta .states a[rel="tag"] {
margin: 0 2px 0 0;
padding: 3px 6px 4px;
font-size: 11px;
border-radius: 2px;
}
.dir li .meta .states a[rel="tag"] {
border-radius:0 6px 0 6px;
font-size:13px;
padding:5px 10px;
}

/* single */
.single-directory .large-4.leftcol .inner {
box-shadow: 0 0px 2.2px rgb(0 0 0 / 1%), 0 0px 5.3px rgb(0 0 0 / 1%), 0 0px 10px rgb(0 0 0 / 1%), 0 0px 17.9px rgb(0 0 0 / 1%), 0 0px 33.4px rgb(0 0 0 / 1%), 0 0px 80px rgb(0 0 0 / 2%);
padding:0 !important;
border-radius:6px;
}
.single-directory .large-4.leftcol .img {
padding:50px 30px;
border-bottom:1px solid #eee;
}
.single-directory .large-4.leftcol .img img {
max-width:80%;
display:block;
margin:0 auto;
}
.single-directory .large-4.leftcol .contacts {
padding:20px 25px;
}
.contacts a {
word-break:break-word;
}
@media only screen and (min-width:640px) {
	.single-directory .large-8.rightcol {
	padding-left:50px;
	}
}
.single-directory .taxonomies {
overflow:auto;
margin-bottom:20px;
}
.taxonomies .states, .taxonomies .cats {
float:left;
}
.cats a[rel="tag"], .states a[rel="tag"] {
background: #05347a;
display: inline-block;
margin: 0 5px 5px 0;
color: #fff;
padding: 7.5px 15px;
text-transform: uppercase;
font-size: 14px;
border-radius: 3px;
transition:all .2s;
}
.cats a[rel="tag"]:hover, .states a[rel="tag"]:hover {
text-decoration:none;
background:#032352;
}
.states a[rel="tag"] {
background:#f79021;
}
.states a[rel="tag"]:hover {
background:#e28119;
}
.meta.social-icons {
text-align:center;
}
.social-icons svg { 
width:40px; 
position: relative;
top: 5px;
margin-right: 7px;
}
@media only screen and (max-width: 1280px) and (min-width: 1024px) {
	.contacts table tr td, .contacts table tbody tr td, .contacts table tbody tr th, .contacts table tr th { display:block !important; }
	.contacts table tr th { padding:0 8px 4px !important; }
	.contacts table tr th + td { padding: 0 0 15px 8px !important; }
	}
}
@media only screen and (max-width: 880px) and (min-width: 640px) {
	.contacts table tr td, .contacts table tbody tr td, .contacts table tbody tr th, .contacts table tr th { display:block !important; }
	.contacts table tr th { padding:0 8px 4px !important; }
	.contacts table tr th + td { padding: 0 0 15px 8px !important; }
}
@media only screen and (max-width: 480px) {
	.contacts table tr td, .contacts table tbody tr td, .contacts table tbody tr th, .contacts table tr th { display:block !important; }
	.contacts table tr th { padding:0 8px 4px !important; }
	.contacts table tr th + td { padding: 0 0 15px 8px !important; }
}
@media only screen and (max-width: 640px) {
	.single-directory .large-4.leftcol { margin-bottom:25px; }
}

.acf-map {
border-radius:6px;
border:1px solid #eee !important;
margin-bottom:60px !important;
}
.acf-map button  {
color:inherit !important;
}

.slick ol {
margin-left: -5px;
}

div.carousel {
margin-top: 40px;
}

.slick-slide {
padding: 0 5px 0 5px;
}

.slick-slide p {
text-align: center;
}

/* search and filter */
.searchandfilter {
text-align:center;
padding:0 2%;
}
.searchandfilter ul {
display:flex !important;
width:100%;
padding:0 ;
margin:0;
list-style:none;
}
.searchandfilter ul li {
padding:0;
}
.searchandfilter ul li:first-of-type {
flex: 1 1 auto;
}
.searchandfilter li.sf-field-search label {
display:inherit;
}
.searchandfilter li input, .searchandfilter li select {
width:100%;
border:1px solid #ccc;
border-right:none;
box-shadow: none;
font-size: 18px;
padding: 20px;
height: 60px;
}
.searchandfilter li select {
padding:10px 15px;
font-size:16px;
line-height:1.4;
}
.searchandfilter li input[type="submit"] {
background:#05347a;
color:#fff;
border:none;
padding:0 20px;
font-weight:700;
}
.searchandfilter li input[type="submit"].search-filter-reset {
background:#f79021;
border-left:10px solid #f8f8f8;
font-weight:400;
}

@media only screen and (min-width:640px) {

	.image {
	padding-right:40px !important;
	}

}
