/*
Theme Name: ABRPO 2018
Theme URL: abrpo.org
Description: Theme for ABRPO
Author: CMS Web Solutions
*/

* {
	box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
	margin: 0 auto;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 400;
	position: relative;
	color: #010101;
	background-color: #fffefe;
}

article, aside, details, embed, figcaption, figure, footer, header, iframe, main, nav, section, summary {
	display: block;
	position: relative;
	margin: 0 auto;
}

.inner {
	margin: 0 auto;
	padding: 1em;
	max-width: 1200px;
}

h1 {
	color: #236292;
	font-weight: 300;
	margin-bottom: .25em;
	padding-bottom: .25em;
	font-size: 2em;
	position: relative;
}

.home h1 {
	color: #666;
}

h2 {
	font-weight: 400;
	color: #000;
	margin: 1.5em 0 .75em;
	font-size: 1.5em;
}

h1 + h2 {
	margin: 0 0 .75em;
}

h2 a {
	color: #000;
	-webkit-text-decoration-color: #aaa;
	text-decoration-color: #aaa;
}

h2 a:hover,
h2 a:focus {
	color: #236292;
	-webkit-text-decoration-color: #236292;
	text-decoration-color: #236292;
}

h3 {
	font-weight: 400;
	color: #333;
	margin: 1.5em 0 .75em;
	font-size: 1.2em;
}

h4 {
	font-weight: 400;
	color: #333;
	margin: 1.5em 0 .75em;
	font-size: 1.1em;
}

hr {
	margin:  1em 0;
	color: transparent;
	border-bottom: 1px solid #eee;
}

p, li, dt, dd {
	line-height: 1.5;
}

li, p + p, dt, dd {
	margin-top: 0;
}

p * {
	margin-top: 0;
}

ul,ol {
	padding-left: 1.5em;
}

blockquote {
    background-color: #eee;
    border-left: 10px solid #ddd;
    margin: 0 0 1.5em;
    padding: 1em;
}

cite {
	margin: 1em 0;
	display: block;
}

img {
	max-width: 100%;
	height: auto;
	border-style: none;
}

a {
	color: #236292;
	transition: color .1s;
}

a[href^="tel:"] {
	text-decoration: none;
}

a:hover,
a:focus {
	color: #666;
}

a:active {
	transition: color 2s;
	color: blue;
}

a img {
	border: none;
	outline: none;
}

iframe,embed {
	max-width: 100%;
}

button,input,select,textarea {
	font: inherit;
	margin: 0;
}

button,
.button a {
	padding: .25em .75em;
	font-size: 1.1em;
	font-weight: 500;
	color: #236292;
	border: 2px solid #236292;
	border-radius: 6px;
	text-decoration: none;
	text-transform: uppercase;
}

button:hover,
button:focus,
.button a:hover,
.button a:focus {
	color: #fff;
	background-color: #C2576B;
	border: 2px solid #C2576B;
}

table {
	border-collapse: collapse;
	margin: 1em auto 2em;
	padding: 0;
	width: 100%;
	max-width: 100%;
	overflow-x: scroll;
}

table caption {
	font-weight: 500;
	text-align: left;
	font-size: 125%;
	padding-bottom: .25em 0;
}

table thead,table tbody {
	max-width: 100%;
}

table thead {
	text-align: left;
}

table th {
	font-weight: 700;
	font-size: 1.05em;
}

table tr {
	border-bottom: 1px solid #eae4de;
}

table tr:hover,table tr:focus {
	background-color: #eae4de;
}

table tr td,table tr th {
	padding: .25em;
	text-align: left;
}

.hidden {
	position: absolute;
	left: -1000em;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
	margin: -1px;
	padding: 0;
	clip: rect(0,0,0,0);
	border: 0;
}

@-webkit-keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

a.skip {
	position: absolute;
	top: 0;
	left: -1000em;
	background-color: #354c65;
	color: #fff;
	text-decoration: none;
	border-radius: 0 0 3px 3px;
}

a.skip:focus,
a.skip:hover {
	left: 1em;
	top: 0;
	padding: .5em 1em;
}
/*
header {
	color: #fff;
	background-color: #236292;
}
 */
.logo {
	max-width: 300px;
	height: auto;
	margin: .5em auto;
	display: block;
	text-align: center;
}

nav {
	margin-bottom: 1em;
	color: #020000;
	border-bottom: 2px solid #ccc;
}

nav .inner {
	padding: 0;
}

nav button {
	transition: none;
	text-transform: uppercase;
	display: block;
	width: 100%;
	margin: 0 auto;
	padding: .25em 0;
	font-size: 1.25em;
	font-weight: 600;
	text-align: center;
	background-color: #236292;
	border: none;
	border-radius: 0;
}

nav button:hover,
nav button:focus {
	color: #fff;
	background-color: #ccc;
	border: none;
}

nav ul {
	width: 100%;
	margin: 0;
	padding-left: 0;
	display: none;
}

nav ul [aria-haspopup="true"] + ul[aria-hidden="false"] {
	display: block;
	position: static;
	top: auto;
}

nav ul [aria-haspopup="true"] + ul[aria-hidden="false"] li {
	flex: unset;
    display: block;
    width: 100%;
}

nav ul [aria-haspopup="true"] + ul[aria-hidden="false"] a {
    text-align: center;
}

nav .open + ul {
	display: block;
}

nav .open + ul li {
	padding: .5em;
	text-align: center;
}

nav .open + ul li:hover,
nav .open + ul li:focus {
	color: #fff;
	background-color: #ccc;
}

nav a {
	text-decoration: none;
	text-align: center;
	color: #222;
	padding: .25em 0;
}

nav li:hover a,
nav li:focus a {
	color: #fff;
	background-color: #1F6194;
}

nav li {
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	border-bottom: 1px solid #4F4F4F;
}

main .inner {
	display: block;
	padding: 1em 2em;
}

.programs {
	padding-left: 0;
}

.programs li {
	list-style: none;
	margin-bottom: 1em;
}

.programs a {
	text-decoration: none;
}

.programs li img {
	width: 50px;
	height: auto;
	display: inline-block;
	margin-right: .5em;
}

.programs p {
	display: inline-block;
	margin: 0;
	font-size: 1.1em;
}

.programs .excerpt {
	font-size: .9em;
	display: block;
}

.programs a .excerpt {
	color:  #000;
}

.wp-post-image {
	width: 100%;
	height: auto;
}

/* Collapsible content */

.buttons {
	text-align: right;
}

.buttons button {
	margin-bottom: 1em;
}

.collapsible {
	margin: 1em 0;
}

.collapsible h3 {
	margin: 0;
	color: #fff;
	width: 100%;
	position: relative;
	text-align: left;
}

.collapsible h3 [aria-expanded] {
	width: 100%;
	text-align: left;
}

.collapsible h3 [aria-expanded] .state {
	margin-right: .25em;
	border-right: 2px solid #fff;
	display: inline-block;
	width: 1.75em;
	height: 1.75em;
	vertical-align: middle;
}

.collapsible h3 [aria-expanded="false"] .state {
	background: #1F6194 url(img/plus.svg) center center no-repeat;
	background-size: 1em;
}

.collapsible h3 [aria-expanded="true"] .state {
	background: #1F6194 url(img/minus.svg) center center no-repeat;
	background-size: 1em;
}

.collapsible button[aria-expanded] {
	padding: 0;
	color: #fff;
	background-color: #1F6194;
	border: none;
	border-radius: 0;
	font-weight: 300;
	text-transform: none;
}

.collapsible button[aria-expanded="true"] {
	color: #fff;
	background-color: #1F6194;
}

.collapsible h3 + [aria-hidden] {
	display: none;
  -webkit-animation: fadeIn ease-in 1;
          animation: fadeIn ease-in 1;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
  -webkit-animation-duration: .4s;
          animation-duration: .4s;
  -webkit-animation-delay: .1s;
          animation-delay: .1s;
}

.collapsible h3 + [aria-hidden="false"] {
	display: block;
    -webkit-animation: fadeIn 1s ease;
            animation: fadeIn 1s ease;
}

.collapsible .details {
	padding: 1em;
	background-color: #DCE4EF;
}

.hilite {
	margin: 1em 0;
	padding: .5em 1.5em;
	font-size: 1.1em;
	background-color: #C2576B;
	display: inline-block;
}

.hilite > h2 {
	margin-top: .5em;
}

.post {
	margin-bottom: 1em;
	padding-bottom: 1em;
	border-bottom: 1px solid #ddddde;
	display: block;
}

.post h2 {
	margin: 0 0 .25em;
}

.time-authored {
	margin: .1em 0 1em;
	font-size: .75em;
	text-transform: uppercase;
}

.post .wp-post-image {
	height: auto;
}

.row {
	margin: 2em 0;
	display: flex;
}

.blog .row {
	margin: 0;
}

.row:last-of-type {
	border-bottom: none;
}

.row a {
	text-decoration: none;
}

.row a.read-more {
	text-decoration: underline;
}

.row .img {
	display: inline-block;
	flex-basis: 25%;
	margin: 0 1em 1em 0;
	vertical-align: top;
}

.row a:hover img,
.row a:focus img {
	border: 4px solid #222;
}

.row .details {
	display: inline-block;
	flex-basis: 70%;
}

.row .details h2 {
	margin: 0;
	padding: 0 0 .25em 0;
	font-size: 1.1em;
	font-weight: 500;
	color: #333;
	border-bottom: 1px solid #333;
	display: inline-block;
}

.row .details > p {
	margin-top: 0;
}

.sectionnav {
	padding: 1em 0;
}

.sectionnav h3 {
	margin-top: 0;
	font-size: 1.1em;
}

.blog .sectionnav h3,
.single .sectionnav h3,
.category .sectionnav h3 {
	padding: .5em;
}

.sectionnav a {
	text-decoration: none;
}

.sectionnav h3 a {
	padding: .5em;
	color: #1A6096;
	border-bottom: 2px solid transparent;
}

.sectionnav h3 a:hover,
.sectionnav h3 a:focus {
	border-bottom: 2px solid #1A6096;
}

.sectionnav ul {
	padding-left: 0;
}

.sectionnav li {
	list-style: none;
	margin: .5em 0;
	padding: .25em .5em;
}

.sectionnav li a {
	color: #333;
	border-bottom: 1px solid transparent;
}

.sectionnav li a:hover,
.sectionnav li a:focus,
.sectionnav li.current_page_item a{
	color: #1A6096;
	border-bottom: 1px solid #1A6096;
}

/* Default gallery */
.gallery {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.gallery-item {
	margin: 1em;
}

@supports ((display: -ms-grid) or (display: grid)) {
	.gallery {
		display: -ms-grid;
		display: grid;
		-ms-grid-columns: (minmax(260px, 1fr))[auto-fit];
		grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
		grid-gap: 1em;
	}

	.gallery-item {
		margin: 0;
		text-align: center;
	}
}

.gallery-caption {
	margin: 0;
	text-align: center;
}

.gallery br {
	display: none;
}

.alignleft,img.alignleft {
	display: inline-block;
	float: left;
	margin: 1em 2.5em 2.5em 0;
}

.alignright,img.alignright {
	display: inline-block;
	float: right;
	margin: 1em 0 2.5em 2.5em;
}

.aligncenter,img.aligncenter {
	display: block;
	clear: both;
	margin: 1.5em auto;
}
/* 
.wp-caption {
	max-width: 100%;
	position: relative;
	display: block;
}

.wp-caption img {
	display: block;
	max-width: 100%;
	height: auto;
}

.wp-caption p.wp-caption-text {
	display: block;
	position: absolute;
	width: 100%;
	margin: 0;
	padding: .5em;
	left: 0;
	bottom: 0;
	color: #fff;
	background: #222;
	background: rgba(0,0,0,0.7);
} */

ul.navigation {
	margin: 0;
	padding: 0 !important;
	list-style-type: none;
}

ul.navigation li {
	float: right;
}

ul.navigation li.newer {
	float: left;
}

footer {
	padding: 1em 0;
	position: relative;
	bottom: 0;
	width: 100%;
	color: #fff;
	background-color: #236292;
}

footer h3 {
	margin-top: 0;
	color: #C2576B;
}

@media screen and (min-width: 769px) {
	html {
		font-size: 18px;
	}

	header .inner {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	main .inner {
		padding: 1em;
		display: flex;
		justify-content: space-between;
	}

	.logo {
		max-width: 500px;
		margin: .5em 0;
		text-align: left;
	}

	nav button {
		display: none;
	}

	nav ul {
		display: flex;
		justify-content: space-between;
	}

	nav li {
		margin: auto;
		width: auto;
		border-bottom: none;
	}

	nav a {
		display: block;
		text-decoration: none;
		text-align: center;
		padding: .5em;
	}

	:not(.home) > nav .current-menu-item a,
	:not(.home) nav .current-page-ancestor a {
		color: #fff;
		background-color: #1F6194;
	}

	.sidebar {
		flex-basis: 35%;
		margin-right: 1em;
	}

	.blog .sidebar,
	.single .sidebar,
	.category .sidebar {
		margin-right: 1em;
	}

	.post {
		display: flex;
		justify-content: space-between;
	}

	.post .img {
		flex-basis: 28%;
	}

	.post .details {
		flex-basis: 68%;
	}

	.content {
		flex: 1;
	}

	#subscription-toggle {
		float: right;
	}

	.collapsible h3 {
		display: flex;
	    justify-content: flex-start;
	}

	.collapsible h3 [aria-expanded] {
		display: flex;
	    justify-content: flex-start;
	    align-items: center;
	}

	footer {
		font-size: 1em;
	}
}