:root {
	--coral: #DB5461;
	--yellow: #ffc800;
	--lilac: #d7cde8;
	--lilac-rgb: 215, 205, 232;
	--pale-grey: #f7f7f7;
	--grey: #e2e2e2;
	--white: #ffffff;
}

a {
	color: var(--coral);
	text-decoration: none;
}

header h1 {
	font-size: 22px;
}

header {
	width: 100%;
}

.hp-panel {
	padding-bottom: 50px;
}

.fixed-top {
	padding: 20px 20px 10px;
	background-color: #fff;
	position: fixed;
	top: 0;
	z-index: 999;
	width: 100%;
}

body {
	margin: 0;
	font-family: 'Helvetica', arial, sans-serif;
	margin-top: 0;
	padding-top: 70px;
}


h1, h2, h3 {
	margin-top: 0;
}

.menu-switch {
	position: absolute;
	right: 20px;
	top: 20px;
	width: 40px;
	height: 60px;
}

.menu-switch .bar {
	width: 100%;
	border: radius: 5px;
	background: #000;
	height: 4px;
	margin-bottom: 10px;
}

.menu-switch .bar-one {

}

nav {
	position: fixed;
	top: 0;
	bottom: 0;
	width: 80%;
	max-width: 800px;
	left: -100%;
	background: #fff;
	z-index: 1000;
	padding: 20px;
	transition: all 0.2s ease;
}

.menu-open nav {
	left: 0;
}

* {
	box-sizing: border-box;
}

.content-wrapper {
	background: var(--grey);
	padding: 20px 0 0;
}

.pink {
	background: var(--lilac) !important;
}

.content {
	width: 100%;
	padding: 20px;
	max-width: 1200px;
	margin: 0 auto;
	background-color: #fff;
}

.primary {
	min-height: 400px;
}

.secondary {

}

.search-header {
	width: 100%;
	margin: 0 0 20px !important;
}

.secondary .widget {
	margin-bottom: 20px;
	background: var(--pale-grey);
	padding: 20px;
	min-height: 200px;
}

.directory-header-widget {
	padding: 20px;
	max-width: 1200px;
	margin: 0 auto;
}

nav ul {
	padding: 0;
	margin: 0;
}

nav ul li {
	list-style: none;
	padding: 0;
	margin: 0;
}

nav ul li a {
	padding: 10px 0;
	display: block;
}

input {
	padding: 10px 15px;
	margin-right: 10px;
	font-size: 1rem;
	border-radius: 3px;
	border: 1px solid grey;
	appearance: none;
	-webkit-appearance: none;
}
input[type=submit] {
	margin-right: 0;
	background: var(--pale-grey);
}

input[type=text] {
	max-width: 60%;
}

.counties {
	margin: 0;
	padding: 0;
}

.county {
	display: block;
	border: 0;
	margin-bottom: 5px;
	background: var(--pale-grey);
}

.county a {
	display: block;
	padding: 10px;
}

.county a:hover {
	background: var(--coral);
	color: white;
}

.sticky {
/*	position: sticky;
	position: -webkit-sticky;*/
	top: 98px;
}

.widget hr {
	margin: 30px 0;
	border: 0;
	height: 1px;
	background: white;
}

a.chosen {
	color: #000 !important;
}

label {
	display: block;
}

.pagination {
	text-align: center;
	display: block;
	margin: 20px 0;
}

.pagination a {
	margin: 0 10px;
	display: inline-block;
}

.pagination a.pagination-box {
	padding: 5px 10px;
	border: 1px solid var(--coral);
}

.pagination a.pagination-box.active {
	border-color: var(--grey);
	color: #000;
}

.results-page .primary h2 {
	margin: 20px 0 40px;
}

.results {
	margin: 20px 0 0;
}

i {
	font-size: 1.5rem;
	margin-right: 5px;
}

.socials {
	display: block;
	margin-top: 10px;
}

.result {
	border: 2px solid var(--pale-grey);
	padding: 20px;
	margin-bottom: 20px;
	display: block;
	color: #000;
	background: #fff;
	transition: all 0.3s ease-in-out;
	box-shadow: 0 0 0 var(--grey);
}

.result:hover {
	box-shadow: 0 0 10px var(--grey);
}

h1.page-title {
	font-size: 2rem;
	margin: 16px 0;
}

.result h4 {
	margin-top: 0;
}

.result span {
	display: block;
}

.result.premium {
	border-color: var(--coral);
}

.result.partner {
	border-color: var(--lilac);
}

.result.premium, .result.partner {
	padding-right: 100px;
	background: url(../images/fda-logo.png) no-repeat right 20px top 20px transparent;
	background-size: 80px;
}

.details img {
	display: block;
	margin-bottom: 20px;
	max-width: 100%;
}

.cta {
	display: table;
	padding: 10px 20px;
	border-radius: 5px;
	background: var(--coral);
	color: var(--white);
	margin-top: 10px;
}

.cta a {
	color: var(--yellow);
}

#breadcrumblist {
	margin: 0;
	padding: 0;
}

#breadcrumblist li {
	list-style: none;
	padding: 0;
	display: inline-block;
}

.review {
	padding-top: 20px;
}

.review h2 select {
	float: right;
}

.review label {
	width: 100%;
	display: block;
	margin-bottom: 20px;
}

.review label input, .review label textarea {
	width: 100%;
	max-width: 500px;
	border: 1px solid var(--grey);
	margin-top: 5px;
}

.review label textarea {
	height: 200px;
	max-width: 100%;
}

.review input[type="submit"] {
	margin-bottom: 32px;
	background: var(--coral);
	appearance: none;
	-webkit-appearance: none;
	color: white;
	border: 0;
}

.ad {
	
}

footer {
	width: 100%;
	height: 400px;
	background: var(--grey);
	border-top: 1px solid black;
	text-align: center;
	padding: 100px 20px;
}

@media all and (min-width: 768px) {
	label {
		display: inline-block;
		margin-right: 20px;
	}

	header h1 {
		font-size: 2rem;
		margin-bottom: 0;
	}
}

@media all and (min-width: 1024px) {

	.ctas {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.ctas .cta {
		max-width: 32%;
	}

	.hp-panel.center {
		text-align: center;
		margin: 0 auto;
		max-width: 800px;
	}

	.flex-panel {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.flex-panel div {
		width: 48%;
		padding: 0 0 60px 0;
	}


	.directory-header-widget {
		margin: 60px auto;
		text-align: center;
		padding: 80px 20px;
	}
	.content {
		display: flex;
		flex-wrap: wrap;
		padding: 40px;
	}

	.primary {
		width: calc(70% - 20px);
	}

	.home-page .primary {
		width: 100%;
	}

	.full .primary {
		width: 100%;
	}

	.secondary {
		width: 30%;
		margin-left: 20px;
	}

	.menu-switch {
		display: none;
	}

	nav {
		position: absolute;
		top: 20px;
		right: 20px;
		width: auto;
		max-width: auto;
		left: auto;
		bottom: auto;
		box-shadow: none;
		padding: 0;
	}

	nav ul li {
		display: inline-block;
	}

	nav ul li a {
		padding-left: 20px;
	}

	.counties {
		display: flex;
		flex-wrap: wrap;
	}
	.county {
		width: 50%;
	}
	.county:nth-child(odd) {
		width: 49%;
		margin-right: 1%;
	}
}