html {
	--scrollbar-width: 20px;
}

.post .image-container a:hover .image {
	filter: brightness(115%);
	cursor: pointer;
}

body,
html {
	margin: 0;
	padding: 0;
	width: 100%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	color: #00314f;
	font-family: source sans pro, sans-serif;
	font-size: 19px;
	line-height: 27px;
}

p {
	margin: 0 0 40px;
	padding: 0;
	letter-spacing: .2px;
}

a {
	color: inherit;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
}

*,
:after,
:before {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

.container {
	width: 100%;
	max-width: 980px;
	padding: 0 20px;
	margin: 0 auto;
}

.container.page-body {
	padding-top: 20px;
	padding-bottom: 30px;
	position: relative;
    min-height: calc(100vh - 273px);
}

.gform_wrapper.gravity-theme .gform_validation_errors {
	display: none!important;
}

.clear {
	width: 100%;
	display: block;
	clear: both;
}

.header {
	display: block;
}

input:not([type=checkbox]):not([type=radio]) {
    border: none;
    outline: none;
    background: none;
    width: 100%;
    -webkit-appearance: none;
    transition-property: all;
    font-size: 1.125rem;
    color: #0a0908;
    font-weight: 400;
    box-shadow: none;
    border-radius: 0;
    border-width: 0px;
    border-style: solid;
    padding: 1em 2em;
    height: 48px;
    background: #e8efff;
    border: 0px solid #e8efff;
    font-size: 18px;
}
input:not([type=checkbox]):not([type=radio])[type="email"] {
    padding-left: 60px;
    background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxzdmcgZmlsbD0iI2FhYWFhYSIgd2lkdGg9IjgwMHB4IiBoZWlnaHQ9IjgwMHB4IiB2aWV3Qm94PSIwIDAgMTkyMCAxOTIwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPg0KICAgIDxwYXRoIGQ9Ik0wIDE2OTQuMjM1aDE5MjBWMjI2SDB2MTQ2OC4yMzVaTTExMi45NDEgMzc2LjY2NFYzMzguOTRIMTgwNy4wNnYzNy43MjNMOTYwIDExMTEuMjMzbC04NDcuMDU5LTczNC41N1pNMTgwNy4wNiA1MjYuMTk4djk1MC41MTNsLTM1MS4xMzQtNDM4Ljg5LTg4LjMyIDcwLjQ3NSAzNzguMzUzIDQ3Mi45OThIMTc0LjA0MmwzNzguMzUzLTQ3Mi45OTgtODguMzItNzAuNDc1LTM1MS4xMzQgNDM4Ljg5VjUyNi4xOThMOTYwIDEyNjAuNzY4bDg0Ny4wNTktNzM0LjU3WiIgZmlsbC1ydWxlPSJldmVub2RkIi8+DQo8L3N2Zz4=");
    background-position: 10px 50%;
    background-size: 24px 24px;
    background-repeat: no-repeat;
}
input:not([type=checkbox]):not([type=radio])[type="submit"] {
    background-color: #900000;
    text-transform: uppercase;
    cursor: pointer;
    color: #fff;
    width: auto;
    margin: 0 auto;
    padding: 10px 60px 10px 30px;
    font-size: 16px;
    background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IS0tIFVwbG9hZGVkIHRvOiBTVkcgUmVwbywgd3d3LnN2Z3JlcG8uY29tLCBHZW5lcmF0b3I6IFNWRyBSZXBvIE1peGVyIFRvb2xzIC0tPg0KPHN2ZyB3aWR0aD0iODAwcHgiIGhlaWdodD0iODAwcHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxwYXRoIGQ9Ik0xMS41MDAzIDEySDUuNDE4NzJNNS4yNDYzNCAxMi43OTcyTDQuMjQxNTggMTUuNzk4NkMzLjY5MTI4IDE3LjQ0MjQgMy40MTYxMyAxOC4yNjQzIDMuNjEzNTkgMTguNzcwNEMzLjc4NTA2IDE5LjIxIDQuMTUzMzUgMTkuNTQzMiA0LjYwNzggMTkuNjcwMUM1LjEzMTExIDE5LjgxNjEgNS45MjE1MSAxOS40NjA0IDcuNTAyMzEgMTguNzQ5MUwxNy42MzY3IDE0LjE4ODZDMTkuMTc5NyAxMy40OTQyIDE5Ljk1MTIgMTMuMTQ3MSAyMC4xODk2IDEyLjY2NDhDMjAuMzk2OCAxMi4yNDU4IDIwLjM5NjggMTEuNzU0MSAyMC4xODk2IDExLjMzNTFDMTkuOTUxMiAxMC44NTI5IDE5LjE3OTcgMTAuNTA1NyAxNy42MzY3IDkuODExMzVMNy40ODQ4MyA1LjI0MzAzQzUuOTA4NzkgNC41MzM4MiA1LjEyMDc4IDQuMTc5MjEgNC41OTc5OSA0LjMyNDY4QzQuMTQzOTcgNC40NTEwMSAzLjc3NTcyIDQuNzgzMzYgMy42MDM2NSA1LjIyMjA5QzMuNDA1NTEgNS43MjcyOCAzLjY3NzcyIDYuNTQ3NDEgNC4yMjIxNSA4LjE4NzY3TDUuMjQ4MjkgMTEuMjc5M0M1LjM0MTc5IDExLjU2MSA1LjM4ODU1IDExLjcwMTkgNS40MDcgMTEuODQ1OUM1LjQyMzM4IDExLjk3MzggNS40MjMyMSAxMi4xMDMyIDUuNDA2NTEgMTIuMjMxQzUuMzg3NjggMTIuMzc1IDUuMzQwNTcgMTIuNTE1NyA1LjI0NjM0IDEyLjc5NzJaIiBzdHJva2U9IiNmZmZmZmYiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+DQo8L3N2Zz4=");
    background-position: 85% 50%;
    background-size: 24px 24px;
    background-repeat: no-repeat;
}
input:not([type=checkbox]):not([type=radio])[type="submit"]:hover {
    opacity: .8;
}
.gform_wrapper.gravity-theme .gfield {
    margin: 0 0 1em;
}
.gform_wrapper .gform_footer {
    position: relative;
}
.gform_ajax_spinner {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    mix-blend-mode: color-dodge;
}

.header {
	width: 100%;
	height: 75px;
	padding: 15px 0;
	border-bottom: 5px solid #980000;
	background: #00314f;
	position: relative;
}

.header .logo {
	position: absolute;
	left: 50%;
	margin-left: -113px;
	top: 15px;
	width: 226px;
}

.header .logo img {
	width: 100%;
	height: auto;
}

.page-content {
	margin: 0 auto;
    max-width: 590px;
	overflow: hidden;
	height: auto;
}

.page-content .page-title {
	font-family: "source serif pro", sans-serif;
	font-weight: 600;
	color: #00314f;
	font-size: 2.105em;
	line-height: 1.05;
	margin-bottom: 16px;
}

.page-content .body-text {
	font-family: source sans pro, sans-serif;
	font-size: 1em;
}

.page-content .body-text {
	color: #00314f;
	line-height: 27px;
}

.page-content .body-text img {
	max-width: 100%;
	height: auto;
}

.page-content .body-text h1 {
	font-weight: 600;
	font-size: 1.105em;
	line-height: 1.1;
    margin-bottom: 0;
}

.page-content .body-text a {
	text-decoration: none;
	border-bottom: 2px solid #980000;
	-webkit-transition: all .2s ease-in-out;
	transition: all .2s ease-in;
}

.page-content .body-text a:hover {
	color: #980000;
}

.page-content p {
	padding: 0;
	margin: 0 0 25px;
}

.page-content .processing-submission-block {
    text-align: center;
    display: none;
}

.page-content .processing-submission-block.loading {
    display: block;
}

.page-content .processing-submission-block.loading ~ * {
    display: none;
}

.page-content .processing-submission-block.loading ~ .responsive-ad {
	display: block;
}

.loader {
    margin: 2em 0;
}

.footer {
	background: #00314f;
}

.gform_wrapper {
	margin: 0 auto;
    max-width: 400px;
}

body .gform_wrapper .top_label div.ginput_container {
	margin-top: 0 !important;
}

.gform_wrapper .gform_footer {
	padding: 0 !important;
	margin: 0 !important;
}

.footer {
	padding: 30px 0;
	color: #fff;
}

.footer .logo {
	float: left;
	width: 260px;
	display: block;
}

.footer .logo img {
	width: 100%;
	height: auto;
}

.footer .text {
	float: left;
	width: 420px;
	margin-left: 45px;
	font-family: source sans pro, sans-serif;
	font-size: .842em;
	line-height: 1.5;
	font-weight: lighter;
}

.footer .social-links {
	float: right;
}

.footer .social-links ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer .social-links ul li {
	display: inline-block;
	width: 35px;
	margin-left: 3px;
}

.footer .social-links ul li:hover {
	-webkit-transform: translateY(-2px);
	transform: translateY(-2px);
	cursor: pointer;
}

.footer .social-links ul li svg {
	fill: #fff;
}

.bottom-bar {
	padding: 15px 0;
	background: #00253b;
	color: #fff;
	font-size: .736em;
	font-family: source sans pro, sans-serif;
}

.bottom-bar .disclaimer {
	float: left;
}

.bottom-bar .disclaimer a {
	color: #fff;
	text-decoration: none;
}

.bottom-bar .disclaimer a:hover {
	text-decoration: underline;
}

.bottom-bar .footer-menu {
	float: right;
}

.bottom-bar .footer-menu ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.bottom-bar .footer-menu li {
	display: inline-block;
	margin-right: 10px;
}

.bottom-bar .footer-menu li a {
	color: #fff;
	text-decoration: none;
}

.bottom-bar .footer-menu li a:hover {
	text-decoration: underline;
}

@media (min-width:980px) {
	.sidebar-mobile {
		display: none;
	}
}

@media (max-width:979px) {
	.footer {
		padding: 25px 0;
	}

	.footer .logo {
		max-width: 260px;
		float: none;
		display: block;
		margin: 0 auto 15px;
		width: 100%;
	}

	.footer .social-links,
	.footer .text {
		text-align: center;
		width: 100%;
		float: none;
		display: block;
		margin: 0;
	}

	.footer .text {
		margin-bottom: 15px;
	}

	.bottom-bar .disclaimer {
		width: 100%;
		display: block;
		text-align: center;
	}

	.page-with-sidebar-container .sidebar,
	.sidebar-mobile {
		display: block;
	}
	
	.page-with-sidebar-container {
		display: flex;
		flex-direction: column;
	}

	.page-with-sidebar-container .sidebar {
		display: block;
		order: 5;
	}

	.page-content {
		width: 100%;
		margin: 0 0 20px;
		float: none;
	}
}

@media (max-width:600px) {
	.page-content .page-title {
		font-size: 1.79em;
		line-height: 1.118;
	}
}

@media (max-width:450px) {
	.container {
		padding: 0 15px;
	}

	.header .logo {
		width: 160px;
		margin-left: -80px;
		margin-top: 5px;
	}

	.page-content .page-title {
		font-size: 1.578em;
		line-height: 1.133;
	}

	.post .image-container .image {
		height: 180px !important;
	}
}


img.size-large {
	max-width: 100%;
	height: auto;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.primary-button {
    display: block;
    padding: 15px 50px;
    background-color: #981c20;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
    border: none;
    cursor: pointer;
}
.primary-button:hover {
    opacity: .8;
	color: #fff!important;
}

/* Mobile-friendly Gravity Forms radio buttons */
@media only screen and (max-width: 767px) {
    .gform_wrapper .gfield_radio input[type="radio"] {
        width: 24px !important;
        height: 24px !important;
        margin-right: 8px !important;
    }
    .gform_wrapper .gfield_radio label {
        font-size: 16px !important;
        line-height: 24px !important;
		padding: 6px 0;
    }
    .gform_wrapper .gfield_radio .gchoice {
        margin-bottom: 6px !important;
    }
}



.pj-widget-cta {
    display: inline-block;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: clamp(16px, 2.5vw, 20px);
    padding: 16px 32px;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none!important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}
.pj-widget-cta:hover {
    background: linear-gradient(135deg, #15803d 0%, #14532d 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.6);
	color: white!important;
}
.pj-cta-button {
	border: none!important;
}
.pj-cta-button:hover {
	color: #fff!important;
}

.pj-donation-btn,
.pj-subscribe-btn,
.pj-activate-demo,
.pj-subscribe-demo {
    background: #980000; 
    color: #fff; 
    padding: 8px 20px; 
    border-radius: 4px;
    text-decoration: none; 
    font-weight: bold; 
    margin-left: 16px;
    transition: background 0.2s;
}
.pj-donation-btn:hover,
.pj-subscribe-btn:hover,
.pj-activate-demo:hover,
.pj-subscribe-demo:hover { 
    background: #ce1e2b; 
}

/* Membership Try Banner Styles */
#demo-membership-try-banner,
#membership-try-banner {
    background: #980000;
    color: #ffffff;
    border-bottom: 3px solid #660000;
    box-shadow: 0 4px 12px rgba(152, 0, 0, 0.4);
}
#demo-membership-try-banner .pj-donation-content,
#membership-try-banner .pj-donation-content {
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
#demo-membership-try-banner .pj-activate-demo,
#membership-try-banner .pj-subscribe-btn {
    background: #ffffff;
    color: #980000;
    font-weight: 700;
    border: 2px solid #ffffff;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    animation: buttonPulse 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}
#demo-membership-try-banner .pj-activate-demo:before,
#membership-try-banner .pj-subscribe-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}
#demo-membership-try-banner .pj-activate-demo:hover:before,
#membership-try-banner .pj-subscribe-btn:hover:before {
    left: 100%;
}
#demo-membership-try-banner .pj-activate-demo:hover,
#membership-try-banner .pj-subscribe-btn:hover {
    background: #f8f8f8;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    animation: none;
}

@keyframes buttonPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 4px 12px rgba(152, 0, 0, 0.4);
    }
}

.pj-counter-display {
display: flex;
justify-content: center;
gap: 4px;
margin-bottom: 8px;
}

.pj-counter-digit {
background: #2b6cb0;
color: white;
border-radius: 4px;
width: clamp(32px, 5vw, 40px);
height: clamp(40px, 6vw, 50px);
display: flex;
align-items: center;
justify-content: center;
font-size: clamp(20px, 3vw, 28px);
font-weight: 700;
font-family: -apple-system, BlinkMacSystemFont, sans-serif;
box-shadow: 0 1px 4px rgba(43, 108, 176, 0.3);
position: relative;
overflow: hidden;
}

.pj-counter-digit::before {
content: '';
position: absolute;
top: 50%;
left: 4px;
right: 4px;
height: 1px;
background: rgba(255, 255, 255, 0.2);
z-index: 1;
}

/* Live counter animation - makes it look like it's updating */
.pj-counter-digit {
animation: counterFlip 8s ease-in-out infinite;
}

.pj-counter-digit:nth-child(1) { 
animation-delay: 0s; 
}
.pj-counter-digit:nth-child(2) { 
animation-delay: 2.5s; 
}
.pj-counter-digit:nth-child(3) { 
animation-delay: 5s; 
}

@keyframes counterFlip {
0%, 97% { 
	transform: rotateX(0deg);
	background: #2b6cb0;
}
98% { 
	transform: rotateX(90deg);
	background: #1e5a8a;
}
99% { 
	transform: rotateX(-90deg);
	background: #3182ce;
}
100% { 
	transform: rotateX(0deg);
	background: #2b6cb0;
}
}
