/**
* Add your custom style here to overried the theme style
*
*
**/

:root {
	--primary: #c51100;
	--primary-opaque: #c51000b4;
	--dark-grey: #222222;
	--light-grey: #f5f5f5;
	--border-grey: #d7d7d7;
	--date-grey: #74777a;
	--white: #ffffff;
	--black: #000;
	--secondary-blue: #14c5d0;
	--secondary-red: #e94c3d;
	--secondary-pink: #d0149c;
	--secondary-gold: #d0a114;
}

#crm-container.crm-public .content {
	font-size: 1.6rem;
}

.jma__body .crm-container :focus {
	outline: 1.5px solid var(--primary);
	outline-offset: 0;
}

.jma__body .crm-container p,
.jma__body .crm-container a,
.jma__body .crm-container span,
.jma__body .crm-container table {
	font-size: 1.6rem;
}

.jma__body #crm-container .label {
	font-size: 1.8rem;
	font-weight: 600;
}

.jma__body .crm-container .crm-section .label {
	font-size: 1.8rem;
	font-weight: 600;
}

.jma__body .crm-container .crm-submit-buttons {
	display: flex;
	align-items: center;
	margin-bottom: 3rem;
	font-size: 1.8rem;
}

.jma__body .crm-container .crm-submit-buttons .crm-button {
	margin-top: 2rem;
	margin-bottom: 2rem;
	background-color: var(--primary);
	border: 1px solid var(--primary);
	border-radius: 30px;
	padding: 1rem 2rem;
	color: var(--white);
	text-shadow: none;
	font-size: 1.8rem;
}

.jma__body .crm-container .crm-submit-buttons .crm-button:hover,
.jma__body .crm-container .crm-submit-buttons .crm-button:focus {
	background-color: var(--white);
	color: var(--primary);
	text-shadow: none;
}

.jma__body .crm-container .crm-submit-buttons .crm-button .crm-i.fa-chevron-right:before {
	content: "";
}

.crm-container .header-dark {
	background-color: var(--dark-grey);
}

.jma__body .crm-container .messages {
	background-color: var(--light-grey);
	border: none;
	padding: 2rem 3rem;
}

.jma__body .crm-container input[type="text"] {
	width: 200px;
	max-width: 100%;
}

.jma__body #crm-container input[type="text"] {
	font-size: 1.6rem;
}

.jma__body .crm-container a:not(.link__primary) {
	color: var(--primary);
	text-decoration: underline;
}

.jma__body .crm-container a:hover:not(.link__primary) {
	color: var(--dark-grey);
}

.jma__body .crm-container .link__primary {
	color: var(--white);
	text-decoration: none;
}

.jma__body .crm-container .link__primary:hover {
	color: var(--primary);
	text-decoration: none;
	border-color: var(--primary);
}

.jma__body .crm-container .crm-section .content .select2-container a {
	color: var(--dark-grey);
	text-decoration: none;
}

/* .jma__body #crm-container.crm-public .crm-section.email-5-section .label {
	margin-left: -19%;
} */

@media (max-width: 767px) {
	.jma__body .crm-container .email-5-section {
		margin-top: 20px;
	}
}

/* Events Page */
.jma__body .crm-container {
	font-size: 1.6rem;
}

.jma__body .event_map-section .content {
	margin-left: 0;
}

.jma__body .fa-stack {
	color: var(--primary);
	font-size: 1.5rem;
}

.jma__body .crm-container .action-link {
	margin-bottom: 3rem;
}

.jma__body .crm-section.crm-socialnetwork {
	background-color: var(--light-grey);
	border: none;
	padding: 2rem;
}

.jma__body .crm-section.crm-socialnetwork h2 {
	font-size: 2.4rem;
	line-height: 2.6rem;
}

.jma__body .crm-section.crm-socialnetwork a {
	text-decoration: underline;
	font-weight: 400;
	color: var(--primary);
}

.jma__body .crm-section.crm-socialnetwork a:hover {
	color: var(--dark-grey);
}

.jma__body .crm-section.crm-socialnetwork .crm-button {
	background-color: transparent;
	border: none;
	color: var(--primary);
	text-shadow: none;
	text-decoration: underline;
	font-size: 1.8rem;
	margin-bottom: 1rem;
}

.jma__body .crm-section.crm-socialnetwork .crm-button i {
	font-size: 2.4rem;
}

.civicrm.page-template-default .container .jma__content aside,
.civicrm.page-template-default .jma__content .jma__comments {
	display: none !important;
}

/* Updates to Tags */
.campaign-materials__item .tag {
	position: static;
	margin-right: 15px;
}

.campaign-material__tags {
	position: absolute;
	top: 0;
	display: flex;
}

.acorn-videos__permalink {
	width: 100%;
}

/* .news-post-content img{
	width:auto;
	height:auto;
	margin:2rem 0;
	float: none !important;
} */

.jma__sub-section {
	clear: both;
}

.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
/* p {
     clear: both;
} */

.acorn-justified {
	text-align: justify !important;
	text-justify: inter-word !important;
}

.jma__content--image.campaigns {
	height: 600px;
	width: 100%;
}

@media (max-width: 767px) {
	.jma__content--image.campaigns {
		height: 350px;
	}
}

.jma__content--image.campaigns img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.jma__body .crm-container .crm-price-amount-label {
	font-size: 2.5rem;
}

.crm-container div.form-item {
	height: auto !important;
}

.crm-price-amount-label-separator {
	display: none;
}

.jma__body .af-container p,
.jma__body .af-container span {
	font-family: "Source Sans Pro", sans-serif;
	font-size: 1.8rem;
	line-height: 1.5;
}

.jma__body #bootstrap-theme .af-button.btn-primary {
	background-color: var(--primary);
	border: 1px solid var(--primary);
	color: var(--white);
	font-size: 1.9rem;
	font-family: "Source Sans Pro", sans-serif;
	font-weight: bold;
	padding: 0.9rem 1.5rem;
}

.jma__body #bootstrap-theme .af-button.btn-primary:hover,
.jma__body #bootstrap-theme .af-button.btn-primary:active,
.jma__body #bootstrap-theme .af-button.btn-primary:focus {
	background: transparent;
	color: var(--primary);
}

.jma__body #bootstrap-theme .af-field-type-text,
.jma__body #bootstrap-theme .af-field-type-email {
	display: block !important;
	width: 100%;
}

.jma__body #bootstrap-theme .crm-af-field-label {
	display: block;
	font-weight: 500 !important;
	font-family: "Montserrat", sans-serif;
	font-size: 1.8rem;
}

.jma__body #bootstrap-theme .crm-af-field input[type="text"],
.jma__body #bootstrap-theme .crm-af-field input[type="email"] {
	display: block;
	width: 100%;
	border-radius: 10px;
	border: none;
	background-color: var(--light-grey);
	padding: 2.2rem 2rem;
	font-size: 1.8rem;
	box-shadow: none;
}

.af-field-type-text,
.jma__body #bootstrap-theme .af-field-type-email {
	margin-bottom: 2rem;
}

.jma__body #bootstrap-theme .af-field-type-email {
	/* margin-top: 2rem; */
}

.jma__body #bootstrap-theme .crm-af-field label {
	font-size: 1.8rem;
}

.jma__body #bootstrap-theme .af-markup img {
	width: 100%;
	height: auto;
	object-fit: contain;
}
