/* General */
@media screen and (max-width: 575px) {
	#sp-main-body {
		padding: 30px 0 45px 0;
	}
}

@media screen and (min-width: 576px) and (max-width: 767px) {
	#sp-main-body {
		padding: 35px 10px 55px 10px;
	}
}

@media screen and (min-width: 768px) {
	#sp-main-body {
		padding: 50px 20px 75px 20px;
	}
}

#sp-main-body > .container {
	animation-duration: 800ms;
    animation-name: fadeIn;
}

hr {
	border-top: 1px solid #ccc!important;
	margin-top: 35px !important;
    margin-bottom: 35px !important;	
	opacity: 1;
}

.sp-pagebuilder-page-edit {
	display: none!important;
}

.article-list .article .featured-article-badge, 
.article-details .featured-article-badge,
.article-can-edit {
    display: none!important; 
}

.com-finder p {
    margin-bottom: 1rem!important;
}



/* Fonts */
a {
	font-weight: 600;
}

a:focus, a:active {
	color: #404040;
}

::selection {
  background-color: #032157;
  color: #fff; 
}

.error-code, .coming-soon-number {
    color: #D30000!important;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
	margin-bottom: 0.75rem;
	font-weight: 700;
	line-height: 1.2;
}

body.view-article .h2:not([itemprop="headline"]), body.view-article .h3, body.view-article .h4, body.view-article .h5, body.view-article .h6, body.view-article h2:not([itemprop="headline"]), body.view-article h3, body.view-article h4, body.view-article h5, body.view-article h6 {
	margin-top: 1.75rem;
}

@media screen and (max-width: 399px) {
	.h1, h1, .article-details .article-header h1 {
		font-size: 26px;
	}

	.h2, h2, .article-details .article-header h2 {
		font-size: 25px;
	}

	.h3, h3, .article-details .article-header h3 {
		font-size: 24px;
	}

	.h4, h4, .article-details .article-header h4 {
		font-size: 22px;
	}

	.h5, h5, .article-details .article-header h5 {
		font-size: 20px;
	}

	.h6, h6, .article-details .article-header h6 {
		font-size: 18px;
	}
}

@media screen and (min-width: 400px) and (max-width: 767px) {
	.h1, h1, .article-details .article-header h1 {
		font-size: 30px;
	}

	.h2, h2, .article-details .article-header h2 {
		font-size: 28px;
	}

	.h3, h3, .article-details .article-header h3 {
		font-size: 26px;
	}

	.h4, h4, .article-details .article-header h4 {
		font-size: 24px;
	}

	.h5, h5, .article-details .article-header h5 {
		font-size: 22px;
	}

	.h6, h6, .article-details .article-header h6 {
		font-size: 20px;
	}
}

@media screen and (min-width: 768px) {
	.h1, h1, .article-details .article-header h1 {
		font-size: 42px;
	}

	.h2, h2, .article-details .article-header h2 {
		font-size: 36px;
	}

	.h3, h3, .article-details .article-header h3 {
		font-size: 30px;
	}

	.h4, h4, .article-details .article-header h4 {
		font-size: 28px;
	}

	.h5, h5, .article-details .article-header h5 {
		font-size: 24px;
	}

	.h6, h6, .article-details .article-header h6 {
		font-size: 22px;
	}
}



/* Buttons, links and forms */
.form-control, .form-select {
	border-radius: 4px!important;
	padding: 18px;
	font-size: 1.1rem;
	border-color: #ccc!important;
}

input::placeholder,
textarea::placeholder {
  color: #404040!important;
}

.form-control:focus {
	border-color: rgba(3, 33, 87, 0.4);
	box-shadow: 0 0 25px 5px rgba(3, 33, 87, 0.1)!important;
}

.form-select:focus {
	border-color: rgba(3, 33, 87, 0.4);
    box-shadow: 0 0 25px 5px rgba(3, 33, 87, 0.1)!important;
}

select.form-control:not([multiple]), select.inputbox:not([multiple]), select:not([multiple]) {
    height: auto!important;
	border-radius: 4px!important;
}

textarea {
	border-radius: 0!important;
	border-color: #ccc!important;
}

input[type="text"]:not(.form-control), input[type="email"]:not(.form-control), input[type="url"]:not(.form-control), input[type="date"]:not(.form-control), input[type="password"]:not(.form-control), input[type="search"]:not(.form-control), input[type="tel"]:not(.form-control), input[type="number"]:not(.form-control), select:not(.form-select):not(.form-control) {
    padding: 14px!important;
	border-radius: 4px!important;
	border-color: #ccc!important;
}

input[type="text"]:not(.form-control):focus, input[type="email"]:not(.form-control):focus, input[type="url"]:not(.form-control):focus, input[type="date"]:not(.form-control):focus, input[type="password"]:not(.form-control):focus, input[type="search"]:not(.form-control):focus, input[type="tel"]:not(.form-control):focus, input[type="number"]:not(.form-control):focus, input[type="tel"]:not(.form-control):focus, select:not(.form-select):not(.form-control):focus {
	border-color: rgba(3, 33, 87, 0.8);
    box-shadow: none;
}

.btn, .btn-primary, .sppb-btn-primary {
	display: inline-block!important;
	white-space: nowrap!important;
	color: #fff!important;
	background-color: #032157!important;
	font-size: 22px!important;
	font-weight: 700!important;
	text-decoration: none!important;
	text-transform: uppercase;
	border: none!important;
	border-radius: 4px!important;
	padding: 20px 55px!important;
}

.btn:hover, .btn-primary:hover, .sppb-btn-primary:hover,
.btn:active, .btn-primary:active, .sppb-btn-primary:active,
.btn:focus, .btn-primary:focus, .sppb-btn-primary:focus {
	color: #fff!important;
	background-color: #B32F2E!important;
}


.btn-secondary, .sppb-btn-secondary {
	display: inline-block!important;
	white-space: nowrap!important;
	color: #fff!important;
    background-color: #303030!important;
	font-size: 22px!important;
	font-weight: 700!important;
	text-decoration: none!important;
	text-transform: uppercase;
	border: none!important;
	border-radius: 4px!important;
	padding: 20px 55px!important;
}

.btn-secondary:hover, .sppb-btn-secondary:hover,
.btn-secondary:active, .sppb-btn-secondary:active,
.btn-secondary:focus, .sppb-btn-secondary:focus {
	color: #fff!important;
	background-color: #606060!important;	
}

@media screen and (max-width: 575px) {
	.btn, .btn-primary, .sppb-btn-primary,
	.btn-secondary, .sppb-btn-secondary	{
		font-size: 20px!important;
		padding: 20px 45px!important;
	}
}



/* Convert Forms */
#sp-main-body .convertforms {
	background-color: transparent;
}

#sp-main-body .cf-control-group[data-type="heading"] {
    margin-bottom: 0;
}

#sp-main-body .convertforms .cf-control-input-desc {
    font-size: 18px;
	font-weight: 300;
    line-height: 1.4;
    opacity: 1;
	text-align: center;
}

#sp-main-body .convertforms input, .convertforms textarea {
	color: #252525!important;
}

#sp-main-body .convertforms .cf-content-wrap, #sp-main-body .convertforms .cf-form-wrap {
    padding: 0!important;
}

#sp-main-body .cf-control-input h1, #sp-main-body .cf-control-input h2, #sp-main-body .cf-control-input h3, #sp-main-body .cf-control-input h4, #sp-main-body .cf-control-input h5, #sp-main-body .cf-control-input h6 {
	margin-top: 0!important;
	margin-bottom: 0!important;
	line-height: 1.2!important;
}

.convertforms .cf-label {
    margin-bottom: 4px!important;
}

.cf-fields input, .cf-fields textarea {
	border-color: rgba(3, 33, 87, 0.4)!important;
}

.cf-fields input:focus, .cf-fields textarea:focus {
	border-color: rgba(3, 33, 87, 0.4)!important;
    box-shadow: 0 0 25px 5px rgba(3, 33, 87, 0.1)!important;
}

.cf-fields input:focus::placeholder,
.cf-fields textarea:focus::placeholder {
  color: #fff!important;
}

@media screen and (max-width: 399px) {
	#sp-main-body .cf-control-input h1 {
		font-size: 30px!important;
	}

	#sp-main-body .cf-control-input h2 {
		font-size: 26px!important;
	}
}

@media screen and (min-width: 400px) and (max-width: 767px) {
	#sp-main-body .cf-control-input h1 {
		font-size: 32px!important;
	}

	#sp-main-body .cf-control-input h2 {
		font-size: 28px!important;
	}
}

@media screen and (min-width: 768px) {
	#sp-main-body .cf-control-input h1 {
		font-size: 42px!important;
	}

	#sp-main-body .cf-control-input h2 {
		font-size: 36px!important;
	}
}

#sp-main-body .cf-btn, #sp-footer-section .cf-btn {
	display: inline-block!important;
	white-space: nowrap!important;
	color: #fff!important;
	background-color: #032157!important;
	font-size: 22px!important;
	font-weight: 700!important;
	text-decoration: none!important;
	text-transform: uppercase!important;
	border: none!important;
	border-radius: 4px!important;
	padding: 25px 35px!important;
	width: 100%;
	transition: all 0.3s;
}

#sp-main-body .cf-btn:hover, #sp-footer-section .cf-btn:hover,
#sp-main-body .cf-btn:active, #sp-footer-section .cf-btn:active,
#sp-main-body .cf-btn:focus, #sp-footer-section .cf-btn:focus {
	color: #fff!important;
	background-color: #B32F2E!important;
	opacity: 1!important;
}

@media screen and (max-width: 575px) {
	#sp-main-body .cf-btn, #sp-footer-section .cf-btn {
		font-size: 20px!important;
		padding: 20px 30px!important;
	}
}

#sp-main-body .convertforms .cf-response span {
	font-size: 18px!important;
}

#sp-main-body .convertforms .cf-response p:last-child {
	margin-top: 10px!important;
	margin-bottom: 12px!important;
}

#sp-main-body .convertforms .cf-recaptcha-v3-text-badge {
	color: #757575!important;
}

#sp-main-body .convertforms .cf-recaptcha-v3-text-badge a {
    color: #032157!important;
}



/* Section - hero */
#section-hero {
	z-index: 99!important;
}

#section-hero .hero-heading .sppb-addon-title {
    font-size: clamp(3rem, 1.8rem + 4.6vw, 7.5rem)!important;
    line-height: 1.05!important;
}

@media screen and (max-width: 575px) {
	#section-hero .hero-heading .sppb-addon-title {
		font-weight: 500!important;
	}
}

#section-hero .hero-subheading .sppb-addon-content {
    font-size: clamp(1.625rem, 1.4231rem + 0.8974vw, 2.5rem)!important;
    line-height: 1.3!important;
}



/* Section - veteran care options */
#section-veteran-care-options {
	position: relative;
	z-index: 99!important;
}

#section-veteran-care-options::before {
	content: '';
	position: absolute;
	top: -1px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: clamp(80px, 8.33vw, 160px) solid transparent;
    border-right: clamp(80px, 8.33vw, 160px) solid transparent;
    border-top: clamp(25px, 2.6vw, 50px) solid #fff;
}

#section-veteran-care-options .phone-link a {
	transition: all 0.3s;	
}

#section-veteran-care-options .phone-link a:hover .sppb-addon-title {
	color: #B32F2E;
}

#section-veteran-care-options ul {
    padding-left: 1.5rem;
}

#section-veteran-care-options ul li {
    padding: 5px 0;
}



/* Section - footer */
#section-footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap; 
	justify-content: flex-start; 
}

#section-footer ul li {
	display: flex;
	align-items: center; 
	padding: 0 15px 0 10px;
	position: relative;
	white-space: nowrap;
}

#section-footer ul span,
#section-footer ul li a {
	position: relative;
	font-size: 15px;
	color: #252525;
	font-weight: 300!important;
}

#section-footer ul li a:hover {
	color: #58121A;
}

#section-footer ul li:not(:last-child)::after {
	content: "|";
	position: absolute;
	right: 0;
	color: #252525; 
	font-weight: 300!important;
}

@media screen and (max-width: 991px) {
	#section-footer ul {
		flex-direction: column;
		align-items: center;
	}

	#section-footer ul li {
		padding: 7px 0;
		white-space: normal;
		text-align: center;
	}

	#section-footer ul li:not(:last-child)::after {
		content: none;
	}
}

#section-footer li a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 2px;
    left: 0;
    background-color: rgba(88, 18, 26, 0.5);
    transition: width 0.3s ease;
}

#section-footer ul li a:hover::after {
    width: 100%;
}



/* Scroll up button */
.sp-scroll-up {
    right: 15px;
    bottom: 15px;
    width: 45px;
    height: 45px;
    font-size: 20px;
    line-height: 45px;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    border-radius: 4px;
}

.sp-scroll-up:hover, .sp-scroll-up:focus, .sp-scroll-up:active {
	background-color: #032157;
}