/*******************/
/* utility classes */
/*******************/
.mt-20 {
	margin-top: 20px;
}
.mt-40 {
	margin-top: 40px;
}
.mb-30 {
	margin-bottom: 30px;
}
.mb-60 {
	margin-bottom: 60px;
}
.no-mb {
	margin-bottom: 0px;
}
.center {
	text-align: center;
}

.is-hidden {
	display: none !important;
}

/**********/
/* header */
/**********/
header {
	display: grid;
	grid-template-columns: 200px 1fr 220px;
	width: 100%;
	padding: 10px 20px;
	z-index: 99;
	background-size: cover;
	background-position: center center;
	background-color: #14164f;
	text-align: center;
}
@media screen and (max-width: 400px) {
	header {
		padding: 10px;
	}
}
@media screen and (max-width: 700px) {
	header {
		max-height: 100px;
	}

	.custom-logo {
		width: auto;
		max-height: 80px;
	}
}

.custom-logo-link {
	display: flex;
	align-items: center;
	justify-content: center;
}

.home header {
	position: absolute;
	background: transparent;
}
header > nav,
header > .support {
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.header-nav {
	margin: 0 auto;
	padding: 0;
	list-style: none;
}
.header-nav > li {
	display: inline-block;
	padding-left: 20px;
	padding-right: 20px;
	position: relative;
}
.header-nav a {
	margin: 0;
	padding-bottom: 20px;
	color: white;
	font-weight: bold;
	text-transform: uppercase;
	transition: 0.2s;
}
.header-nav a:hover,
.header-nav a:focus-within {
	color: #c2cde2;
}
.menu-item > .sub-menu {
	display: none;
	min-width: 100%;
	margin: 0;
	padding: 5px 0;
	margin-top: 10px;
	list-style: none;
	position: absolute;
	left: 0;
	text-align: left;
	background-color: #303f5d;
}

.menu-item > .sub-menu::before {
	content: ' ';
	height: 0;
	width: 0;
	border: 15px solid transparent;
	border-bottom-color: #303f5d;
	position: absolute;
	left: 15px;
	top: -30px;
	pointer-events: none;
}

.header-nav .sub-menu li {
	padding: 5px 15px;
}

.header-nav ul {
	display: none;
}
.header-nav li:hover ul ul {
	display: none;
}
.header-nav li:hover ul {
	display: block;
}
.header-nav li li:hover ul {
	display: block;
}

.sub-menu {
	z-index: 10;
}
.header-nav .sub-menu li:hover,
.header-nav .sub-menu li:focus-within {
	background-color: rgba(0, 0, 0, 0.1);
}

.header-nav .sub-menu a {
	display: block;
	padding: 0;
	font-weight: 500;
	font-size: 0.8em;
}
.header-nav .sub-menu a:hover,
.header-nav .sub-menu a:focus-within {
	color: white;
}

.sub-menu .sub-menu {
	margin-left: calc(100% + 15px);
	width: 100%;
	display: block; /* shows sub-sublist on hover */
	margin-top: -27px;
}

.sub-menu .sub-menu li {
	position: relative;
}

.header-nav .sub-menu .sub-menu::before {
	z-index: 11;
	content: ' ';
	height: 0;
	width: 0;
	border: 15px solid transparent;
	border-right-color: #303f5d;
	position: absolute;
	left: -27px;
	top: 1px;
	pointer-events: all;
}

.search-toggle {
	display: block;
	margin-right: 1.5em;
	width: 1em;
	font-size: 30px;
	color: white;
	cursor: pointer;
}

.nav-container {
	display: flex;
	align-self: center;
	flex-direction: column;
}

.search-form {
	width: 90%;
	margin-left: auto;
	margin-right: auto;
	border: 1px solid #777;
	display: flex;
	align-items: center;
	background-color: rgba(66, 66, 66, 0.8);
}

.search-form input[type='text'] {
	width: 90%;
	border: 0 none;
	background: none;
	outline: 0;
	color: white;
	position: relative;
}

.search-form form {
	width: 100%;
}

.mobile-menu .search-form {
	margin: 1em auto;
}
.mobile-menu .search-form form {
	display: flex;
}

#searchSubmit {
	font-family: FontAwesome;
	background: none;
}

.donate-and-search {
	display: flex;
	align-items: center;
}

/***************/
/* mobile menu */
/***************/

.mobile-menu {
	display: none;
	margin: 0;
	padding: 0;
	position: absolute;
	width: 100%;
	background-color: #12254b;
	box-shadow: 0 15px 15px 15px rgba(0, 0, 0, 0.5);
	z-index: 1;
}
.mobile-menu.-active {
	display: block;
}
.home .mobile-menu {
	padding-top: 80px;
}

@media screen and (min-width: 400px) {
	.home .mobile-menu {
		padding-top: 100px;
	}
}

.mobile-menu li {
	list-style: none;
}

.mobile-link-container {
	display: flex;
	/* vertical-align: middle; */
}

@media screen and (max-width: 700px) {
	.menu-item-has-children > a {
		pointer-events: none;
	}
}

.sub-menu-toggle {
	display: block !important;
}

.sub-menu .sub-menu {
	display: none;
}

.mobile-sub-dropdown .fa-angle-down {
	color: #e1d6d6;
	font-size: 36px;
	padding: 6px;
	font-weight: 100;
	cursor: pointer;
}

.mobile-sub-dropdown {
	visibility: hidden;
	position: absolute;
	right: 20px;
}

.menu-item-has-children > .mobile-link-container > .mobile-sub-dropdown {
	visibility: visible;
}

.mobile-menu .sub-menu {
	margin: 0;
	padding: 10px;
	position: relative;
	list-style: none;
	font-size: 0.9em;
	line-height: 1em;
	background: #303f5d;
}
.mobile-menu .-active .sub-menu {
	display: block;
}

.mobile-menu .sub-menu .sub-menu {
	margin-top: 5px;
	background-color: #12254b;
}
.mobile-menu .sub-menu .sub-menu::before {
	border-bottom-color: #12254b;
}

.mobile-menu a {
	display: block;
	padding: 12px;
	color: #fff;
}
.mobile-menu a:hover {
	background-color: rgba(0, 0, 0, 0.1);
}

@media screen and (min-width: 700px) {
	.mobile-menu {
		display: none;
	}
}

/***************/
/* splash area */
/***************/

.splash-area {
	display: flex;
	align-items: center;
	/* height: 100vh; */
	height: calc(100vh - 100px);
	background-color: #14164f;
	color: white;

	/* mask-image: linear-gradient(to top, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 50%);
	-webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.8) 0%,rgba(0,0,0,1) 50%); */
}

.splash-area::before {
	content: '';
	display: inline-block;
	position: absolute;
	width: 100%;
	height: calc(100vh - 100px);
	background-image: linear-gradient(
		rgba(0, 0, 0, 0) 0%,
		rgba(0, 0, 0, 0) 50%,
		rgba(0, 0, 0, 0.2) 60%,
		rgba(0, 0, 0, 0.4) 80%,
		rgba(0, 0, 0, 0.5) 90%,
		rgba(0, 0, 0, 0.6) 100%
	);
}

.splash-area > h1 {
	width: 100%;
	text-align: center;
	font-family: 'Oswald', 'proxima nova', sans-serif;
	font-size: 70px;
	padding-right: 1em;
	padding-left: 1em;
}

@media screen and (max-width: 500px) {
	.splash-area > h1 {
		font-size: 50px;
	}
}
@media screen and (max-height: 500px) {
	.splash-area {
		min-height: 250px;
		padding-top: 60px;
	}
	.splash-area > h1 {
		margin-top: 50px;
		font-size: 40px;
	}
	.splash-area::before {
		height: calc(100vh - (100px + 60px));
	}
}

.down-arrow {
	font-size: 100px;
	font-weight: 100;
	position: absolute;
	bottom: 150px;
	width: 100%;
	text-align: center;
	cursor: pointer;
	transition: font 0.25s;
}

.down-arrow:hover {
	font-size: 130px;
}

.down-arrow a {
	color: rgb(255, 248, 248);
	opacity: 0.6;
}

@media screen and (max-height: 600px) {
	.down-arrow {
		display: none;
	}
}

/********/
/* MISC */
/********/

.entry.clearfix li {
	margin-bottom: 0.5em;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Oswald', sans-serif;
}

#main {
	margin: auto;
	max-width: 1400px;
}

#blogposts {
	padding-top: 10px;
}

@media screen and (min-width: 700px) {
	#mobile-nav {
		display: none !important;
	}
}

@media screen and (max-width: 700px) {
	.header-nav {
		display: none;
	}
	header {
		grid-template-columns: repeat(3, 1fr);
	}

	#toggle-menu {
		display: flex;
		align-items: center;
		padding-right: 4vw;
	}

	.donate-and-search .search-toggle,
	header > .nav-container {
		display: none;
	}

	.donate-and-search {
		padding-left: 4vw;
		justify-content: flex-end;
	}
	.donate-and-search .button {
		font-size: 16px;
		padding: 8px 14px;
	}

	.blogPostTitle a {
		font-size: 26px;
		line-height: 1;
	}
	.blogPostBtn {
		position: relative !important;
		left: 0 !important;
		bottom: 0 !important;
		padding: 0 !important;
		text-align: center;
	}

	.tileGridTitle {
		padding-top: 10px;
		padding-bottom: 20px !important;
	}

	.homePageNews {
		width: 85% !important;
	}
}

#donateSocials {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
}

#donateButton {
	font-size: 20px;
}
@media screen and (max-width: 400px) {
	#donateButton {
		font-size: 14px;
	}
}

.whitesocials a {
	color: white;
}

#supportButton a {
	color: white;
	font-size: 20px;
}

#supportButton {
	padding: 20px;
}
@media screen and (max-width: 500px) {
	#supportButton {
		padding: 8px;
		font-size: 14px;
	}
}

#blogposts {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-rows: auto;
	height: 100%;
}

.grid6 {
	width: 100% !important;
	position: relative !important;
	min-height: 1px;
	padding-right: 10px;
	padding-left: 10px;
	float: left;
	display: flex;
	transform: translate3d(0px, 0px, 0px) !important;
}

.tileGridTitle {
	margin: auto;
	margin-top: 10%;
	flex-grow: 1;
}

.tileGridBxTxt {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.blogPostBx {
	flex-grow: 1;
}

.tileGridBx {
	display: flex;
	flex-direction: column;
}

.blogPostBxIn .blogPostBtn {
	position: absolute;
	left: 50%;
	bottom: 30px;
	padding: 10px;
}

@media screen and (max-width: 1130px) and (min-width: 670px) {
	#blogposts {
		grid-template-columns: 1fr 1fr !important;
	}
}

@media (max-width: 670px) {
	#blogposts {
		grid-template-columns: 1fr !important;
	}
}

#skip-nav {
	position: absolute;
	/*top:-100px;*/
	z-index: 100;
	background-color: white;
	padding: 10px;
	transform: translateY(-100%);
	transition: transform 0.3s;
}

#skip-nav:focus {
	transform: translateY(10%);
}

/***********/
/* buttons */
/***********/

input[type='submit'],
button,
.button {
	display: inline-block;
	padding: 12px 22px;
	border: 0;
	background-color: #cf202d;
	color: white;
	text-align: center;
	text-transform: uppercase;
	font-weight: bold;
	line-height: 1.2;
	cursor: pointer;
	transition: 0.3s;
}
input[type='submit']:hover,
input[type='submit']:focus,
button:hover,
button:focus,
.button:hover,
.button:focus {
	background-color: #222;
	color: white;
}

.button.-outline {
	background: none;
	color: white;
	border: 2px solid currentColor;
}
.button.-outline:hover {
	color: #c2cde2;
}

.button.-invisible {
	padding: 0;
	background: none;
	border: 0;
}

.news-alerts-button {
	margin-bottom: 60px;
}

.resource-button {
	margin-top: 30px;
}

/**************/
/* Pagination */
/**************/
.page-numbers {
	display: inline-block;
	margin: 0 3px;
	width: 28px;
	height: 28px;
	font-size: 0.888em;
	text-align: center;
	line-height: 28px;
	font-weight: 700;
	background: rgba(0, 0, 0, 0.05);
}

/**************/
/* candidates */
/**************/

.candidates-list {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	/*grid-gap: 100px*/
	margin-left: 50px;
	margin-right: 50px;
	max-width: 1400px;
}

.candidate-profile {
	display: flex;
	flex-direction: column;
	text-align: center;
	transition: background 0.5s;
	padding: 50px;
	align-items: center;
	height: 100%;
}

.candidate-profile:hover {
	background-color: #f0f0f0;
}

.candidate-profile div {
	padding: 5px;
	color: black;
}

.candidate-image img {
	height: 100%;
	width: 100%;
	border-radius: 100px;
	object-fit: cover;
	flex-grow: 1;
}

.candidate-image {
	height: 190px;
	width: 190px;
}

.candidate-name {
	font-size: 25px;
	font-family: oswald, sans-serif;
}

.full-candidates {
	width: 100%;
	display: flex;
	align-items: center;
	flex-direction: column;
}

@media screen and (max-width: 900px) {
	.candidate-profile {
		padding-top: 10px;
		padding-bottom: 10px;
	}
}

@media screen and (max-width: 1254px) and (min-width: 700px) {
	.candidates-list {
		grid-template-columns: 1fr 1fr 1fr;
	}

	.candidate-profile {
		padding: 20px;
	}
}

@media screen and (max-width: 700px) and (min-width: 454px) {
	.candidates-list {
		grid-template-columns: 1fr 1fr;
	}

	.candidate-profile {
		padding: 19px;
	}
}

@media screen and (max-width: 454px) {
	.candidates-list {
		grid-template-columns: 1fr;
	}
}

/*****************/
/* article cards */
/*****************/

.card-row {
	/* three columns on desktop, one on mobile */

	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 2rem;
	width: 100%;
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}
.article-card {
	display: flex;
	flex-direction: column;
	padding-bottom: 1rem;
	box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.25);
	text-align: center;
	justify-content: center;
}

.article-card .image {
	margin-bottom: 12px;
	object-fit: scale-down;
	position: relative;
	width: 100%;
	height: 220px;
}

.article-card .image img,
.news-cards .image img {
	flex-grow: 1;
	height: 100%;
	width: 100%;
	object-fit: cover;
}
.article-card > .categories,
.card-content > .categories {
	color: #686868;
	text-transform: uppercase;
	font-weight: bold;
	line-height: 1em;
	font-size: 0.777em;
	padding-left: 5px;
	padding-right: 5px;
}
.article-card > .categories a,
.card-content > .categories a {
	color: #686868;
}

.article-card > .article-title,
.card-content > .article-title {
	padding: 10px;
	margin-top: 1rem;
	margin-bottom: 1rem;
	font-size: 26px;
	color: #303030;
	flex-grow: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.article-card > .article-title h3 {
	padding: 0;
	position: relative;
}

@media (max-width: 700px) {
	.card-row {
		grid-template-columns: 1fr;
		width: 95%;
	}
}

/* News Cards */

.article-title:hover {
	color: #cf202d;
}

.news-cards {
	/*padding-bottom: 1rem;*/
	box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.25);
	text-align: center;
	display: flex;
	flex-direction: row;
}

.card-content {
	width: 100%;
	display: flex;
	flex-direction: column;
	padding-top: 20px;
	padding-bottom: 20px;
}

.news-cards .image {
	object-fit: scale-down;
	position: relative;
	width: 50%;
}

.card-content > .article-title h3 {
	padding: 0;
	position: relative;
}

.withoutImg {
	width: 0 !important;
}

@media (max-width: 900px) {
	.news-cards {
		box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.25);
		text-align: center;
		display: flex;
		flex-direction: column;
	}

	.card-content {
		height: 50%;
		flex-grow: 1;
	}

	.card-content .button {
		position: relative;
		bottom: 0;
	}

	.news-cards .image {
		object-fit: scale-down;
		position: relative;
		width: 100%;
		height: 220px;
	}

	.withoutImg {
		height: 0 !important;
	}
}

/****************/
/* Article Page */
/****************/

#containerOfPost {
	flex-grow: 1;
	background: white;
	padding-top: 40px;
}

.single #wholepost {
	width: 100%;
	margin: auto;
	max-width: 800px;
}

.featuredImage {
	max-height: 450px;
	overflow: hidden;
}

.single-format-video #main {
	max-width: 1200px;
}
.single-format-standard #main {
	max-width: 950px;
}

@media screen and (min-width: 700px) {
	.single-format-standard header {
		padding-bottom: 300px;
	}
	.single-format-standard #content {
		margin-top: -270px;
	}
}
@media screen and (max-width: 700px) {
	#containerOfPost {
		padding-left: 0.5rem;
		padding-right: 0.5rem;
	}
}

/*********************/
/* email signup form */
/*********************/

.email-signup label {
	margin-bottom: 1em;
}

.email-signup label,
.email-signup input {
	display: block;
}

/* Give <input> square corners on iOS */
.email-signup input {
	border-radius: 0px !important;
}

/***********/
/* footer */
/***********/
footer {
	padding: 50px;
	display: flex;
	flex-direction: row;
	grid-gap: 4rem;
	justify-content: space-between;
	color: white;
	background: url('../images/footer_bg.jpg') center center / cover no-repeat
		#07132b;
}

footer ul {
	list-style: none;
}
footer ul:not(.sub-menu) {
	margin: 0;
	padding: 0;
}
footer li {
	margin-bottom: 0.5rem;
}

footer a,
footer a:hover {
	color: white;
}

.footer-social {
	text-align: center;
	font-weight: bold;
}
.footer-social .custom-logo {
	max-width: 225px;
	margin-bottom: 1rem;
}
.footer-social > .name {
	margin-bottom: 1rem;
	text-transform: uppercase;
}
.footer-social > .icons {
	margin: 0 auto 1rem;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	max-width: 140px;
	list-style: none;
	font-size: 20px;
}
.icons li img {
	height: 16px;
	width: 20px;
}
.footer-social > .address {
	margin-bottom: 1rem;
	white-space: pre;
	font-size: 14px;
}
.footer-social > .phone {
	margin-bottom: 1rem;
	font-size: 14px;
}
.footer-social > .copyright {
	font-size: 11.5px;
}
.footer-social > .privacy-policy {
	margin-top: 5px;
	font-size: 11.5px;
	line-height: 1.2;
}
.footer-social > .privacy-policy a {
	text-decoration: underline;
}

@media screen and (max-width: 1360px) {
	footer {
		padding: 50px 10px;
		flex-direction: column;
		grid-gap: 3rem;
	}

	footer h2,
	footer h3 {
		text-align: center;
	}

	footer div {
		max-width: 1000px;
		margin-left: auto;
		margin-right: auto;
	}
}
