/*
Theme Name:   DEY
Theme URI:    http://cornershopcreative.com
Description:  Child theme of The Gem Theme
Author:       Cornershop Creative
Author URI:   https://cornershopcreative.com
Template:     thegem
Version:      1.0.0
Text Domain:  thegem-child
*/

#vc_row-archive-header {
	position: relative; width: 1600px; padding-left: 194px; padding-right: 194px; box-sizing: border-box; margin: 0px; padding-top: 12%; padding-bottom: 12%; background-position: center; background-repeat: no-repeat; background-size: cover; opacity: 1;
}

#vc_row-archive-header .title-h4 span {
	color: #fdb515; background-color: #1e3160; padding-left: 10px; padding-right: 10px;
	text-transform: uppercase;
}

.facet label {
	font-weight: bold;
	padding-bottom: 1rem;
	display: inline-block;
}
.facet .facetwp-facet {
	padding-left: 1rem;
}

.facetwp-facet-states .fs-wrap .fs-label-wrap > .fs-label  {
	padding: 12px 10px;
	color: #178CCB;
}

.facetwp-facet-states .fs-label-wrap {
	border: none;
	background: #F9F9F9;
	box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.14), 0px 1px 10px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.2);
	border-radius: 2px;
}

.facetwp-facet-states .fs-arrow {
	border-top-color: rgba(0, 0, 0, 0.6);
}

.facetwp-facet-states:focus,
.facetwp-facet-states *:focus {
	outline: none !important;
}

.facetwp-facet-states .fs-dropdown {
	margin-top: -1px;
	border-radius: 5px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	background: #F9F9F9;
	box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.14), 0px 1px 10px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.2);
}

.facetwp-facet-states .fs-label,
.facetwp-facet-states .fs-option .fs-option-label {
	font-size: 14px;
	font-weight: 400;
	font-family: 'Roboto', sans-serif;
	padding: 5px 10px;
}

.facetwp-facet-states .fs-option {
	padding: 5px 0;
}

.facetwp-facet-states .fs-option {
	border-bottom: 1px solid rgba(33, 33, 33, 0.08);
}

.facetwp-facet-states .selected .fs-option-label {
	color: #178CCB;
}

.facetwp-facet-states .fs-options .fs-option:first-child,
.facetwp-facet-states .fs-search {
	display: none;
}

.post-type-archive-ch_resource .panel-center,
.facetwp-template.post-type-archive-ch_resource{
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	flex-wrap: wrap;
}
.post-type-archive-ch_resource article {
	position: relative;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-flex-wrap: nowrap;
	-ms-flex-wrap: nowrap;
	flex-wrap: nowrap;
	-webkit-justify-content: flex-start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	-webkit-align-content: stretch;
	-ms-flex-line-pack: stretch;
	align-content: stretch;
	-webkit-align-items: flex-start;
	-ms-flex-align: start;
	align-items: flex-start;
	padding: 1rem;
	flex: 0 0 auto;
	color: #000000;
}
.post-type-archive-ch_resource article .inner-article-block {
	width: 100%;
	flex: 1 1 auto;
	border: 1px solid #1F3160;
	background-color: #ffe696;
	padding: 1rem;
	-webkit-justify-content: space-evenly;
	justify-content: space-evenly;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
}
.post-type-archive-ch_resource article a {
	color: #1F3160;
	font-weight: bold;
}
.post-type-archive-ch_resource article .top a {
	color: #c82929;
}
.post-type-archive-ch_resource article .top:after,
.post-type-archive-ch_resource article .center:after,
.post-type-archive-ch_resource article .bottom:after {
	content: ' ';
	display: block;
	clear: both;
	width: 100%;
}
.post-type-archive-ch_resource article .center {
	text-align: center;
	padding: 2rem 0;
	font-weight: bold;
	font-size: 20px;
	flex: 1 1 auto;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
}
.post-type-archive-ch_resource article .left,
.post-type-archive-ch_resource article .right {
	width: 50%;
}
.post-type-archive-ch_resource article .left {
	float: left;
}
.post-type-archive-ch_resource article .right {
	float: right;
	text-align: right;
}
.post-type-archive-ch_resource article .small {
	font-size: 12px;
}
.post-type-archive-ch_resource article .hover {
	position: absolute;
	opacity: 0;
	transition: all 0.5s ease-in;
	background-color: #ffffff;
	padding: 1rem;
	border: 1px solid #000000;
	flex: 1 1 auto;
	-webkit-justify-content: space-evenly;
	justify-content: space-evenly;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	top: 0;
	left: 0;
	right: 0;
	bottom: 100%;
	margin: 1rem;
	
}
.post-type-archive-ch_resource article:hover .hover {
	opacity: 1;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	bottom: 0;
}
.single-ch_resource .resource-list,
.single-ch_resource .resource-list li{
	list-style: none;
	padding-left: .5rem;
}

/* Hide facetwp counters */
body .facetwp-counter {
	display: none;
}

/* Advocacy Map Styles */
.ad-resource-wrap {

}

.ad-resource-inner-wrap {

}

.ad-resource-content {
	float: left;
	width: 64%;
}

.ad-resource-sidebar {
	float: right;
	max-width: 378px;
}

.clearfix:before,
.clearfix::after {
	display: table;
	content: ' ';
	clear: both;
}

#advocacy-map-heading h1 {
	font-size: 80px;
	margin-bottom: 60px;
}

.ad-resource-header {
	position: relative;
}

.ad-resource-header .left-side {
	width: 100%;
}

.ad-resource-header .right-side {
	max-width: 220px;
	margin-left: 20px;
}

h2#selected-state {
	font-family: 'Montserrat', sans-serif;
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 24px;
	font-weight: 700;
	text-transform: none;
	color: #1F3160;
}

#selected-state,
#selected-state-description {
	display: none;
}

#selected-state-description {
	font-size: 24px;
	line-height: 1.4;
}

#selected-state-description *:last-child {
	margin-bottom: 0;
}

@media screen and (min-width: 760px) {
	#selected-state  {
		padding-right: 180px;
	}
	.ad-resource-header .right-side {
		position: absolute;
		right: 0;
		top: 0;
	}
}

.ad-resource-interests {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ad-resource-interests li {
	display: inline-block;
	margin: 0 0 10px;
	padding: 0;
}

.ad-resource-interests li span {
	display: block;
	padding: 10px 15px;
	line-height: 1;
	border-radius: 16px;
	color: #000;
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	background-color: rgba(33, 33, 33, 0.08);
}

.ad-resource-pager .facetwp-pager {
	margin: 40px auto;
}

.ad-resource-pager .facetwp-page {
	display: inline-block;
	width: 40px;
	height: 40px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	line-height: 1;
	border-radius: 50%;
	color: #000;
	font-family: 'Roboto', sans-serif;
	background-color: rgba(33, 33, 33, 0.08);
}

.ad-resource-pager .facetwp-page.active {
	font-weight: 400;
}

.ad-resource-pager .facetwp-page.next,
.ad-resource-pager .facetwp-page.prev {
}

.ad-resource-results {
	margin-top: 80px;
}

.ad-resource-results .ad_resource {
	margin-bottom: 40px;
}

.ad-resource-results .ad_resource h2 {
	margin: 0 0 20px;
	line-height: 1.2;
}

.ad-resource-results .ad_resource h2 a {
	font-weight: 400;
	font-size: 28px;
	color: #333433;
	font-family: 'Montserrat', sans-serif;
	display: block;
}

.ad-resource-results .ad_resource .excerpt {
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	color: #525252;
	font-size: 18px;
}

.use-light-text,
.use-light-text h1,
.use-light-text h2 {
	color: #fff;
}

.ad-sidebar-widget {
	background: #F9F9F9;
	box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.14), 0px 1px 10px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.2);
	border-radius: 5px;
}
.ad-sidebar-widget.filters {

}
.ad-sidebar-widget .filter-heading {
	padding: 30px 25px 20px;
	font-size: 30px;
	font-weight: 700;
	text-transform: none;
	margin: 0;
	line-height: 1.2;
	color: #1F3160;
}
.ad-sidebar-widget.filters .facetwp-radio[data-value=""] {
	display: none;
}
.ad-sidebar-widget.filters .facetwp-radio {
	position: relative;
	background: none;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	padding: 10px 58px 10px 20px;
	border-top: 1px solid rgba(33, 33, 33, 0.08);
	min-height: 76px;
}
.ad-sidebar-widget.filters .facetwp-radio:after {
	content: '\2022';
	font-size: 48px;
	line-height: 19px;
	color: transparent;
	text-indent: 0;
	display: block;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 2px solid #000;
	position: absolute;
	top: 50%;
	right: 0;
	transform: translate(-20px, -50%);
}

.ad-sidebar-widget.filters .facetwp-radio.checked:after {
	border-color: #FDB515;
	color: #FDB515;
}

.facetwp-radio .icon-wrap {
	display: block;
	padding: 8px;
	background-color: #178CCB;
	width: 40px;
	height: 40px;
	min-width: 40px;
	min-height: 40px;
	border-radius: 50%;
	display: inline-block;
	margin-right: 15px;
}
.facetwp-radio .icon {
	display: block;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	width: 100%;
	height: 100%;
}

.facetwp-radio.checked .icon-wrap {
	background-color: #FDB515;
}

/* Modify  state legislation icon (too big) */
[data-value="state_legislation"] .icon-wrap {
	padding: 10px;
}

.ad-sidebar-widget.cta {
	background-color: #178CCB;
	color: #fff;
	padding: 25px;
}

.ad-sidebar-widget.cta h3 {
	font-size: 28px;
	color: #fff;
	line-height: 1.4;
	text-align: center;
	text-transform: uppercase;
	font-weight: 700;
	margin: 0 0 10px;
}

.ad-sidebar-widget.cta h3:after {
	content: " ";
	display: block;
	margin: 15px auto 25px;
	border-bottom: 4px solid #FDB515;
	width: 100px;
	font-weight: normal;
}

.ad-sidebar-widget.cta a {
	display: block;
	margin-top: 30px;
	text-align: center;
	font-size: 18px;
	font-size: 1.8rem;
	font-weight: 700;
	background: #1F3160;
	text-transform: uppercase;
	box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.14), 0px 1px 10px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.2);
	border-radius: 28px;
	padding: 12px 20px 12px 16px;
	color: #fff;
}

.ad-sidebar-widget.cta .icon-plus {
	margin-right: 12px;
	display: inline-block;
	width: 14px;
	height: 14px;
	position: relative;
}
.ad-sidebar-widget.cta .icon-plus:before,
.ad-sidebar-widget.cta .icon-plus:after {
	content: '';
	display: block;
	width: 14px;
	height: 2px;
	background-color: #fff;
	transform-origin: center;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}

.ad-sidebar-widget.cta .icon-plus:before {
	transform: translate(-50%,-50%) rotate(90deg);
}

.author-org {
	font-size: 1.4rem;
}

@media screen and (max-width: 1120px) {
	.ad-resource-header .right-side {
		margin: 40px auto -60px;
	}
	#advocacy-map-heading h1 {
		line-height: 1.4;
		font-size: 46px;
	}
	.ad-resource-content {
		width: 100%;
	}
	.ad-resource-content,
	.ad-resource-sidebar {
		float: none;
		margin: 0 auto;
	}
}

/**
 * Podcast Info shortcode
 */
.podcast-terms,
.podcast-terms li {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	padding: 0 !important;
}
.podcast-terms li {
	margin: 0 1px 1px 0 !important;
	max-width: 100%;
}
.podcast-terms li::before {
	display: none; /* Hide pseudo-bullets */
}
.podcast-terms a {
	max-width: 100%;
	padding: 7px 5px;
	background-color: #178ceb;
	color: #fff;
	font-size: 12px;
	line-height: 15px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.podcast-terms a:hover,
.podcast-terms a:focus,
.podcast-terms a:active {
	background-color: #1f3160;
	color: #fff;
}
