/*
Theme Name:   Havis for Senate
Theme URI:    https://havisforsenate.com
Description:  Child theme for Havis for Senate campaign website
Author:       Havis for Senate
Author URI:   https://havisforsenate.com
Template:     twentytwentyone
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  havisforsenate
*/

#page {
	background-color: black;
}
#content {
	background-image: url('http://havisforsenate.com/wp-content/uploads/2026/03/MD-state-star_crop.png');
  background-size: cover;
  background-attachment: fixed;
	padding-top: 75px;
}
#site-navigation {
	margin-right:auto;
	margin-top: 20px;
  margin-bottom: 20px;
}
.primary-navigation > div > .menu-wrapper {
	justify-content: center;
}
.primary-navigation .primary-menu-container > ul > .menu-item > a {
	color: #4E5AC3;
	text-transform: uppercase;
	font-weight:bold;
	text-decoration: none;
}
.primary-navigation .primary-menu-container > ul > .menu-item  a:focus {
	background-color: #0002 !important;
	color: #4E5AC3 !important;
}
.primary-navigation .primary-menu-container > ul > .current-menu-item > a {
	color: #1D67CD;
}
.primary-navigation .primary-menu-container > ul > .menu-item > a::before,
.primary-navigation .primary-menu-container > ul > .menu-item > a::after {
  content: '';
  height: 14px;
  width: 14px;
  position: absolute;
  transition: all .35s ease;
  opacity: 0;
}

.primary-navigation .primary-menu-container > ul > .menu-item > a::before {
  content: '';
  right: 0;
  top: 0;
  border-top: 3px solid #1D67CD;
  border-right: 3px solid #1D67CD;
  transform: translate(-100%, 50%);
}
.primary-navigation .primary-menu-container > ul > .menu-item > a:after {
  content: '';
  left: 0;
  bottom: 0;
  border-bottom: 3px solid #1D67CD;
  border-left: 3px solid #1D67CD;
  transform: translate(100%, -50%)
}
.primary-navigation .primary-menu-container > ul > .menu-item:not(.menu-item-has-children) > a:hover:before,
.primary-navigation .primary-menu-container > ul > .menu-item:not(.menu-item-has-children) > a:hover:after{
  transform: translate(0,0);
  opacity: 1;
}
.primary-navigation .primary-menu-container > ul > .menu-item > a:hover {
  color: #1D67CD;
}
.primary-navigation .primary-menu-container > ul > .menu-item:first-child > a {
	margin-right: 1.5em;
	content: url('http://havisforsenate.com/wp-content/uploads/2026/03/Havis-logo-page-crop.png');
	padding: 0;
	height: 2.5em;
}
.primary-navigation .primary-menu-container > ul > .menu-item:nth-child(2) > a {
	/*margin-right: 1.5em;*/
	content: url('https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif');
	padding: 0;
	height: 2.5em;
}
.site-header {
	background-color: aliceblue;
	padding: 0;
	margin: 0;
	max-width: none;
	position: fixed;
  width: 100%;
}
body:not(.home) .site-content {
	background-color: #fff;
}
body.home .entry-content > :not(:first-child) h2 {
	text-transform: uppercase;
	font-weight: bold;
}
body.home .entry-content > :nth-child(2) {
    margin-top: 0;
}
body.home .entry-content > :not(:first-child, .no_home_bg) {
	/*background-color: #008afc;*/
	background-color: white;
	/*color: #fff;*/
	font-size: 20px;
	padding: 40px 100px;
}
body.home .entry-content div.no_home_bg {
	background-color: unset;
}
body.home .message {
	margin-bottom: 0;
}
body.home #signature {
	margin-top: 0;
}
body:not(.home) .entry-content{
	padding-top: var(--global--spacing-vertical);
	margin-top: 0 !important;
}
body:not(.home):not(.singular) .entry-content > * {
    background-color: white;
    font-size: 20px;
    padding: 40px 100px;
}
body.home .wp-block-image figcaption {
	line-height: 1.5em;
  font-size: 0.75em;
}
.singular .has-post-thumbnail .entry-header {
    margin-bottom: calc(3 * var(--global--spacing-vertical));
}
body.single-post .entry-content {
	background-color: white;
	max-width: var(--responsive--alignwide-width);
}
#lee_havis_head figcaption {
	font-size:1.2em;
}
.site-main {
	padding-top: 0px
}
#front-banner {
	margin-bottom: 0px;
	display: flex;
	align-items: end;
justify-content: space-evenly;
	/*background-image: url('http://havisforsenate.com/wp-content/uploads/2026/03/MD-state-star_crop.png');
	background-repeat: no-repeat;
	background-size: cover;*/
}
#front-banner > div {
display: flex;
	flex-direction:column;
	align-self: stretch;
justify-content: end;
}
#lee-cutout {
  align-self: end;
}
#lee-cutout > img {
	box-shadow: 0 0 0 #000;
}
#front-tag {
	height: auto;
--min-height: 340px;
text-align: start;
pointer-events: none;
}
#front-tag h1 {
	line-height: 0.9em;
	font-size: 82px;
	letter-spacing:normal;
	display: flex;
	flex-direction:column;
}
#front-tag h1 > span {
	display: flex;
	flex-direction: column
}
.font_3 {
	font: var(--font_3);
	color: rgb(var(--color_15));
letter-spacing: 0em;
}
#front-logo {
	--contentPaddingLeft: 0px;
--contentPaddingRight: 0px;
--contentPaddingTop: 0px;
--contentPaddingBottom: 0px;
--height: 191px;
--width: 350px;
width: 350px;
	cursor: pointer;
	margin-bottom: 30px;
}
#front-logo > a {
overflow: hidden;
display: block;
width: 100%;
height: 100%;
box-sizing: border-box;
text-decoration: none;
}
#front-logo > a > img {
	overflow:hidden;
}
#front-logo > a:focus {
	background-color: #fff2;
}
body:not(.blog, .archive) .entry-header, .page-header {
background-image: url("http://havisforsenate.com/wp-content/uploads/2026/03/statehouse-flag-2_cutout.png");
	background-position: right;
	background-repeat: no-repeat;
	background-size: contain;
	background-color: #d4d8df;
margin-left: 0;
margin-right: 0;
max-width: none;
padding-bottom: 0 !important;
padding-top: 4px;
text-align: center;
/*color: #008afc;*/
	display: flex;
	align-items: flex-end;
	padding-right: 310px;
}
body:not(.blog, .archive) .entry-header .entry-title, .page-header .page-title {
	color: #4E5AC3;
font-weight: bold;
	font-size: 3em;
	flex-grow: 1;
	margin-bottom: 10px;
	font-family: "DejaVu Serif", "Times New Roman", Georgia, serif;
}
body:not(.blog, .archive) .entry-header::before, .page-header::before {
	content: '';
	background-image: url('http://havisforsenate.com/wp-content/uploads/2026/03/Havis-logo-page-crop.png');
	background-repeat: no-repeat;
	background-size: contain;
	height: 188px;
	width: 310px;
	flex-shrink: 0;
	background-position: center;
}
body:not(.blog) .entry-header .entry-title::before, .page-header .page-title::before {
	/*content: '';
	background-image: url('http://havisforsenate.com/wp-content/uploads/2026/03/Lee-Logo.png');
	background-repeat: no-repeat;
	background-size: contain;
	height: 196px;
	width: 310px;
	margin-left: 15px;*/
}
body:not(.blog) .entry-header .post-thumbnail{
	display: none;
}
body:not(.home) .entry-content p {
	font-size: 20px;
}
.home .main_issue:not(:last-child), .h_separators ul li:not(:last-child) {
  border-bottom: solid 3px #4E5AC3;
  padding-bottom: 12px;
}
.home .main_issue img {
	border-radius: 20px;
}
.home .main_issue {
	color: #4E5AC3;
}
.home .main_issue p {
	margin-top: 1px;
}
.home .main_issue h3 {
	margin-bottom: 1px;
}
.issues {
	padding: 30px !important;
}
.issues li {
	text-align:center;
	padding: 15px;
}
.issues li img {
	border-radius: 50%;
}
.issues li a, .frontnews li a {
	/*color: #fff;*/
}
.issues li a:not(.more-link), .frontnews li a:not(.more-link) {
	text-decoration: none;
}
.issues li a:not(.more-link)::after {
	content: " ";
border: solid 2px #ea3744;
display: block;
width: 50px;
margin: 25px auto;
}
.testimonials {
	background: #fffd !important;
}
.testimonials .entry-content p {
	font-style: italic;
	margin: 0;
	padding: 0;
	background-color: initial;
	font-family: Georgia, "Palatino Linotype", "Book Antiqua", Palatino, "Times New Roman", serif;
	text-align: center;
	line-height: 1.65;
  letter-spacing: 0.02em;
  text-rendering: optimizeLegibility;
}
.testimonials ul li .entry-content {
	margin-bottom: 0;
}
.testimonials ul li h5 {
	margin-top: 0;
}
form.wpcf7-form > p {
	margin-bottom: 20px;
}
.volunteer_actions {
	display: flex;
	flex-direction: column;
}
.site-main .navigation, .site-main > article > .entry-footer, .site-main > .comments-area {
	background-color: white;
}
.site-main > article > .entry-footer, .site-main > .comments-area {
  padding: 40px 100px !important;
}
.site-main .navigation a, .post-navigation .meta-nav {
	color: #fff !important;
}
.widget-area {
	margin-top: 0 !important;
	max-width: none;
	color: white !important;
}
.widget-area .widget_block {
	display: flex;
	align-items: center;
}
.site-name {
	text-transform: none !important;
	white-space: pre-line;
	display: inline-block;
	font-family: DejaVu Serif;
	color: white;
}
.privacy-policy > a {
	color: white !important;
}
.site-name::after {
	content: "by authority, Havis for Senate, Glenn Davis, Treasurer";
	font-size: 0.5em;
}
.site-name::before {
	content: "HAVIS FOR SENATE • Lee Havis, Republican Candidate, LD 21 • Maryland State Senate • lee@havisforsenate.com";
	font-size: 0.5em;
}
.powered-by {
	display: none;
}
@media (max-width: 780px) {
    .mobile-readable {
        font-size: 1.125rem;
        line-height: 1.6;
    }
}
@media (max-width: 600px) {
    .wp-block-button .wp-block-button__link {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1rem;
    }
}
@media (max-width: 600px) {
    .wp-block-post-title {
        font-size: 1.25rem !important;
        margin-bottom: 0.5rem;
    }
    .wp-block-post-excerpt p {
        font-size: 1rem;
    }
    .wp-block-post-template li {
        margin-bottom: 2rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #eee;
    }
}
@media (max-width: 835px) {
	.site-header {
		position: initial;
	}
	#site-navigation {
		margin-top: 0;
		margin-bottom: 0;
	}
	#content {
		padding-top: initial;
	}
	#front-logo {
		display:none;
	}
	#front-tag h1 {
		font-size: 70px;
	}
	#front-banner {
		max-width: var(--wp--style--global--wide-size, 90vw);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--wp--style--root--padding-left, 2rem);
  padding-right: var(--wp--style--root--padding-right, 2rem);
	}
	#front-banner > div {
		align-self: end;
	}
	body.home .entry-content > :not(:first-child, .no_home_bg) {
		padding: 20px 20px;
	}
}