/* Links */
.entry-content a {
	color: #5472D1;
}
.wpnbha .cat-links a {
	color: #5472D1;
}
/* Header */
.h-sb .middle-header-contain {
	padding-top: 1em;
	padding-bottom: 1em;
}

.bottom-header-contain .wrapper {
	border: 0;
}
.h-dh .top-header-contain, .bottom-header-contain {
	border-bottom: 1px solid #ccc;
}

.h-dh .top-header-contain {
	background-color: #fff;
	color: #000;
}
/* Donate button header */
.h-sb .site-header .nav3 .menu-highlight a {
	background-color: #5472D1;
	border: 0;
	color: #fff;
	padding: .75em 1.5em;
}
/* Buttons */
.wp-block-button__link {
	border-radius: 0;
}

/* Accent headers */
.accent-header:not(.widget-title):before, .article-section-title:before, .cat-links:before, .page-title:before, .site-breadcrumb .wrapper > span::before {
	border-radius: 10px;
}

/* Category flags */
.cat-links a {
	border: 1px solid;
	border-radius: 4px;
	padding: .25em .5em;

}

/* Homepage value blocks */
/*
.home .wp-block-columns.home-values .wp-block-column {
	margin: 0;
}
.home .wp-block-columns.home-values .wp-block-cover {
	height: 100%;
}
*/

.wp-block-govpack-profile__line {
  padding-top: .0rem;
  padding-bottom: .0rem;
  border-bottom: 0px solid;
}

/*email button styling*/ 
.newspack-newsletters-subscribe input[type=submit] {
	background-color: #fa2742 !important;
	color: white !important;
	border-radius: 0px !important;
}

/*padding around email banner*/
.email_banner{
	padding: 20px !important;
}

/*Controls height of lines below section titles*/
.section_divider {
	height: 2px !important;
}

/*Reverses stacking order of text block and image block on candidate detail page*/
@media (max-width: 782px) {
    .mobile-reverse-column-direction {
        flex-direction: column-reverse;
    }
}

/*Remove space around text in banner on candidate detail page*/
.add-remove-bottom-space {
 margin-top: 0 !important;
 margin-bottom: 0 !important;
}

/*Remove button styling to create text-only button link on candidate list page*/
.remove_outline a{
	border: none !important;
}

.remove_outline .wp-block-button__link:hover {
	color: #fa2742 !important;
	text-decoration: underline !important;
	border: none !important;
	background-color: transparent !important;
}

/*Change color of background on main banner of posts when image is to the side of post title*/
.featured-image-beside {
		background-color: #e8eae3 !important;
	}

/*Change spacing between elements in candidate info on candidate detail posts*/
.candidate-info-space {
	margin-top: 0px !important;
	margin-bottom: 4px !important;
}

/*Change color of date background in event listing widget*/
.mec-bg-color {
	background-color: #fa2742 !important;
}

/*Change color of detail button in event listing widget*/
.mec-detail-button, .mec-detail-button:hover {
		color: #373833 !important;
	background-color: #e8eae3 !important;
}

/*Explainer module on homepage*/
.explainer_separator .wp-block-separator, hr{
	margin: 0px !important;
}

.explainer_button_column .wp-block-buttons {
	margin-top: 0px ;
	margin-bottom: 0px ;
}

.explainer_button .wp-block-button__link{
	margin-top: 0px ;
		margin-bottom: 0px ;
	padding-left: 8px;
	text-align: left;
	border-left: 1px solid;
	border-right: 1px solid;
	border-bottom: 1px solid;
	border-color: #ccccc3;
}

.explainer_button .wp-block-button__link:hover {
	color: #373833 ;
	background-color: #ccccc3 !important;
}

@media only screen and (max-width: 780px) {
	.entry-header {
		padding: 1rem !important;
	}
}

/*Style category label on news posts*/

.entry-header .cat-links {
	color: #fa2742 !important;
	padding: 2px ;
}

.entry-header .cat-links a:hover{
	padding: 4px ;
	border-radius: 0px ;
	background-color: #fa2742 !important;
	border-color: #fa2742 ;
	color: white !important;
}

.entry-header .cat-links a:active {
	color: white !important;
}

.entry-header .cat-links a{
	padding: 4px ;
	border-radius: 0px ;
	background-color: #e8eae3 !important;
	color: #fa2742;
}

/*Style category label on Homepage post widgets on home page*/
.wpnbha .cat-links a{
	color: #fa2742;
	border-radius: 0px ;
	padding: 4px ;
	border-color: #fa2742;
}

.wpnbha .cat-links a:hover{
	color: #fff;
	border-radius: 0px ;
	padding: 4px ;
	border-color: #fa2742;
	background-color: #fa2742;
	text-decoration: none !important;
}

/*Remove padding from important dates text*/
.important_dates {
	padding: 0px !important;
	margin: 0px !important;
}

/*Adjusts space between important dates widgets*/
.important_dates_column {
	margin-top: 12px !important;
	margin-bottom: 12px !important;
}

/*Controls width of email field on home page. Without CSS, field was extending beyond column*/
.email_home.newspack-newsletters-subscribe input[type="email"], .newspack-newsletters-subscribe input[type="text"] {
	width: 100% !important;
}

/*Controls space between header and event module on APS landing page*/
.mec-event-list-minimal .mec-event-article {
	padding-top: 0px !important;
}

/*Style post links on Candidate news module on candidate profile page*/
.candidate_posts.wp-block-latest-posts li > a {
	color: #373833;
}

.candidate_posts.wp-block-latest-posts li > a:hover {
	color: #fa2742;
}

/*Text hover color for candidate names on Candidate Overview page*/
.text_hover_color:hover{
	color: #fa2742 !important;	
}

/*Controls appearance of donate button in non-mobile header*/
.menu-highlight a{
	color: white !important;
	background-color: #fa2742 !important;
	border-radius: 0px;
	font-size: var(--newspack-theme-font-size-md) !important;
}

.menu-highlight a:hover{
	color: white !important;
	background-color: #000 !important;
	border-radius: 0px;
	font-size: var(--newspack-theme-font-size-md) !important;
}

.button.mb-cta {
	border-radius: 0px !important;
}

/*Removes underline on banner text*/
.remove_underline a{
	text-decoration: none !important;
}

.remove_underline a:hover{
	text-decoration: underline !important;
}

.winner-label {
	margin-top: 13px !important;
	margin-bottom:0px !important;
}

.winner-name {
	margin-top: 0px !important;
}

.winner-photo.wp-block-image.is-style-rounded img {
	border-color: #fa2742;
	border-width: 8px;
	border-style: solid;
}

.winner-photo {
	margin-bottom: 0px !important;
}

.runoff-photo.wp-block-image.is-style-rounded img {
	border-color: #ff8f8f;
	border-width: 8px;
	border-style: dashed;
}

.runoff-photo {
	margin-bottom: 0px !important;
}

/*Font for RSS feed post titles*/
.wpra-grid-item__title {
font-family: barlow semi condensed;
	font-size: 24px !important;
	margin-bottom: 24px !important;
}

/*Font for RSS feed post metadata*/
.wpra-grid-item__information:not(.block) > div {
	font-family: barlow semi condensed;
	font-size: 14px !important;
}

/*Adjust spaicing above RSS feed post titles*/
.wpra-grid-item--fill-image .wpra-grid-item__image:not(:last-child) {
	margin-bottom: 24px !important;
}

/*Remove underline for RSS feed post titles*/
.wpra-grid-item__title a {
	color: black !important;
	text-decoration: none;
}

.wpra-grid-item__title a:hover {
	color: black !important;
	text-decoration: none;
}

/*Change color links for RSS feed post exerpts*/
.wpra-grid-item__excerpt a{
	color: #5472D1;
	text-decoration: none;
}

.wpra-grid-item__excerpt a:hover{
	color: #5472D1;
	text-decoration: underline;
}

/*Adjust spacing between label and title for Cost of Living Special Reporting section on homepage*/
.col-label {
	margin-bottom: 0px !important;
}

.col-section-title {
	margin-top: 0px !important;
}