/*
Theme Name: Polk
Description:
Author: Greg Hauenstein
Author URI: https://www.greghauenstein.com/
Version: 1.0
Tags:
*/

/* Colors
 * 
 * Frosty Breeze: #C8D3E6 rgba(200, 211, 230, 1)
 * Intitutional Blue: #657FAD rgba(101, 127, 173, 1)
 * Deep Blue: #002566 rgba(0, 37, 102, 1)
 * Harvard Red: #AC0000 rgba(172, 0, 0, 1)
 * 
 */

@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,700,700i|Work+Sans:700');

body {
  font: 400 18px/1.75 "Source Sans Pro", Helvetica, Arial sans-serif; 
  background: #fafafa;
  color: #39393b;
}

a {
  color: #005798;
}

a:hover {
  color: #AC0000;
  text-decoration: none;
}

/* ------- Typography ------- */

p, input, li {
  font-family: "Source Sans Pro", Helvetica, Arial sans-serif; 
}

h1,h2,h3,h4,h5,h6, .btn, .nav li, .navbar-toggler, .vc_btn3 {
	font-family: 'Work Sans', serif; 
	font-weight: 700;
}

.post-meta {
	font-family: 'Work Sans', serif; 
	font-weight: 400;
}

.section-title {
	width: 90%;
	max-width: 320px;
	display: block;
	font-size: 32px;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-family: 'Work Sans', serif; 
	font-weight: 700;
	text-align: center;
	padding-bottom: 15px;
	border-bottom: 3px solid #005798;
	margin: 0 auto 25px auto;
}

/* ------- Layout ------- */

@media (min-width: 992px) {
	#header {
		position: fixed;
		top: 0;
		right: 0;
		bottom: auto;
		left: auto;
		z-index: 50;
		width: 300px;
		height: 100%;
		background-color: #fff;
	}

	.logged-in #header {
		top: 32px;
	}

	#main,
	#footer {
		width: calc(100% - 300px);
	}
}

section {
	position: relative;
	z-index: 1;
}

/* ------- Header ------- */

.header-inner {
	width: 100%;
	max-width: 840px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
  -webkit-box-align: center;
	   -ms-flex-align: center;
  			align-items: center;
  -ms-flex-wrap: wrap;
  		flex-wrap: wrap;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.brand {
	display: block;
	width: 50px;
	margin: 0 auto 5px auto;
}
@media (min-width: 992px) {
	.brand {
		width: 80px;
	}
}

.brand svg {
	width: inherit;
}

.navbar-toggler {
	text-transform: uppercase;
	color: #0082ca
}

#main-nav ul {
	margin-top: 0;
  margin-bottom: 0;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

#main-nav .nav-link {
	font-family: 'Work Sans', serif; 
	font-weight: 700;
	font-size: 18px;
	color: #39393b;
	text-align: center;	
}

#main-nav .nav-link:hover,
#main-nav .nav-link:focus {
	color: #CC003D;
}

#main-nav .donate .nav-link {
	background-color: #CC003D;
	color: #ffffff;
}

#main-nav .donate .nav-link:hover,
#main-nav .donate .nav-link:focus {
	background-color: #DD004E;
	color: #ffffff;
}

#social-nav {
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 5;
	width: 100%;
	background: #ffffff;
}

#social-nav ul {
	list-style: none;
	display: table;
	margin: 0;
	padding: 0;
	text-align: center;
}

#social-nav li {
	display: table-cell;
	width: 1%;
}

#social-nav .nav-link {
	font-size: 0px;
}

#social-nav .nav-link:before {
  color: #39393b;
  font-family: FontAwesome;
  font-size: 24px;
  display: inline-block;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

#social-nav .menu-item.facebook .nav-link:before {
  content: '\f230';
}

#social-nav .menu-item.twitter .nav-link:before {
  content: '\f099';
}

#social-nav .menu-item.youtube .nav-link:before {
  content: '\f16a';
}

#social-nav .menu-item.instagram .nav-link:before {
  content: '\f16d';
}

#social-nav .menu-item.snapchat .nav-link:before {
  content: '\f2ac';
}

@media (min-width: 992px) {
	.header-inner {
		position: relative;
		min-height: 100%;
	}

	.brand {
		position: absolute;
		top: 30px;
		left: 120px;
		z-index: 51;
	}

	#main-nav {
		width: 200px;
		position: absolute;
		top: 50%;
		-webkit-transform: translateY(-50%);
			 -moz-transform: translateY(-50%);
						transform: translateY(-50%);
		left: 50px;
		z-index: 51;
	}

	#main-nav.collapse {
		display: block;
	}

	#main-nav .nav-link {
		text-align: center;
		display: block;
		width: 100%;
	}

	#main-nav .donate {
		margin-top: 5px;
	}

	#social-nav {
		width: 200px;
		position: absolute;
		top: auto;
		bottom: 45px;
		left: 50px;
		z-index: 51;
	}

	#social-nav li {
	}
}

/* ------- Blog ------- */

.blog .hentry,
.search .hentry,
.archive .hentry {
	background-color: #fff;
	border: 1px solid #dadada;
	padding: 1.5rem;
}

.hentry#post-nope {
	border: none;
	background: none;
}

.post h1 {
	letter-spacing: -1px;
	margin: 2rem 0 1rem 0;
}

.post-meta {
	font-size: 16px;
	margin-bottom: 1rem;
}

.post-meta,
.post-meta a {
	color: #aaa;
}

.pagination {
  width: 100%;
  margin: 25px 0;
}

.page-numbers {
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.pagination li {
  display: inline-block;
  width: auto;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pagination li:last-of-type {
  border: none;
}

.pagination li>* {
  text-align: center;
  display: block;
  padding: 12px;
  margin: 0;
  color: #39393b;
}

.pagination .page-numbers.current {
  color: #39393b;
}

.pagination li>*:hover,
.pagination li>*:focus,
.pagination .page-numbers.current:hover,
.pagination .page-numbers.current:focus {
  color: #aa0000;
  text-decoration: none;
}

.pagination .page-numbers.current:hover,
.pagination .page-numbers.current:focus {
  cursor: pointer;
}

.post footer {
  margin: 40px 0 0 0;
}

.post-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: table;
}

.post-nav li {
  display: table-cell;
  width: 1%;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.post-nav li:not(:last-of-type) {
  border-right: 1px solid #f1f1f1;
}

.post-nav li a {
  padding: 10px 0;
  display: block;
  width: 100%;
}

.post-nav li a:hover,
.post-nav li a:focus {
  text-decoration: none;
  color: #aa0000;
}

.deets {
	border: 2px dashed #aaa;
	background: #fafafa;
	padding: 15px;
	margin: 15px 0;
}

.acf-map {
	width: 100%;
	height: 400px;
	border: #ccc solid 1px;
	margin: 25px 0 0 0;
	display: block;
}

/* fixes potential theme css conflict */
.acf-map img {
   max-width: inherit !important;
}

.page .post-header {
	margin: 25px 0;
}
@media (min-width: 768px) {
	.page .post-header {
		margin: 50px 0;
	}
}

/* ------- Sidebar ------- */

.widget + .widget {
	margin-top: 25px;
}
@media (min-width: 768px) {
	.widget + .widget {
		margin-top: 50px;
	}
}

/* ------- Footer ------- */

#footer {
	color: #fff;
	background: #003778;
	padding: 35px 0 15px 0;
	position: relative;
	z-index: 55;
	text-align: center;
}

#footer a {
	color: #fff;
	text-decoration: underline;
}

#disclaimer {
	display: block;
	text-align: center;
	width: 90%;
	max-width: 400px;
	margin: 15px auto;
	padding: 10px 15px;
	border: 2px solid #ffffff;
	line-height: 1;
}

#disclaimer p {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	font-family: 'Work Sans', serif;
}

#footer small {
	font-size: 14px;
}

/* ------- Misc ------- */

.searchform {
  max-width: 400px;
  margin-bottom: 25px;
}

.btn-primary {
	background-color: #005798;
	border-color: #005798;
}

.btn-primary:hover,
.btn-primary:focus {
	background-color: #0067a8;
	border-color: #0067a8;
}

.btn-outline-primary {
	border-color: #005798;
	color: #005798;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
	background-color: #0067a8;
	border-color: #0067a8;
	color: #ffffff;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
	color: #0082ca;
}

.btn-facebook {
  background: #3b5998;
  border-color: #324a80;
  color: #fff!important;
  text-shadow: none;
}

.btn-facebook:hover {
  background: #5774b3;
  border-color: #3b5998;
  color: #fff!important;
  text-shadow: none;
}

.btn-twitter {
  background: #4099FF;
  border-color: #398ae5;
  color: #fff!important;
  text-shadow: none;
}

.btn-twitter:hover {
  background: #66adff;
  border-color: #4099FF;
  color: #fff!important;
  text-shadow: none;
}

.aligncenter,
.alignright,
.alignleft {
	display: block;
	margin: 15px auto;
	clear: both;
}

@media (min-width: 768px) {
	.aligncenter {
		display: block;
		margin: 15px auto;
	}
	.alignleft {
		float: left;
		margin: 0 15px 15px 0;
		max-width: 50%;
	}
	.alignright {
		float: right;
		margin: 0 0 15px 15px;
		max-width: 50%;
	}
}
