/** AMP CSS **/

body {
	font-family: 'ff-scala-sans-pro', sans-serif;
	color: #0a0a0a;
	text-rendering: optimizeLegibility;
}

body.single-post amp-accordion header {
    margin-bottom: 0;
	border: none;
}

body amp-accordion header {
	background-color: #999;
}

header .grid-x, aside.related, .row.comments_section {
    max-width: 75rem;
}

aside p {
  font-size: 18px;
  line-height: 1.5;
}

.amp article#single, .page.amp .content {
  padding-top: 105px;
}

.archive.amp .content {
  padding-top: 105px;
}

@media screen and (max-width: 480px) {
	.amp article#single, .page.amp .content {
	  padding-top: 70px;
	}
	.archive.amp .content {
	  padding-top: 70px;
	}
}

.amp .essb_links {
	clear: both;
	margin: 1em 0;
}

.amp article#single, .row.comments_section  {
    margin-left: 5%;
    margin-right: 5%;
}

ul.topics_list amp-img {
	display: none;
}

ul {
	z-index: 10;
}
ol, ul {
	list-style-position: inside;
}
p, ol, ul, figure {
	margin: 0 0 1em;
	padding: 0;
}
p {
	line-height: 1.6;
	margin-bottom: 17px;
	text-rendering: optimizeLegibility;
}

a, a:hover, a:active, a:focus {
	color: #15599d;
}

h2.haven-tag a {
  color: #333;
}

a.read_more {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

pre{ white-space: pre-wrap;}
.left{float:left}
.right{float:right}
.hidden{ display:none }
.clearfix{ clear:both }
.text-center {text-align: center;}
blockquote{ margin: 10px 0 20px 0; padding: 15px;}
blockquote p:last-child {margin-bottom: 0;}
.amp-wp-unknown-size img {object-fit: contain;}
.amp-wp-enforced-sizes{ max-width: 100% }

hr {
  border: solid #ddd;
  border-width: 1px 0 0;
  clear: both;
  margin: 22px 0 21px;
  height: 0;
}

.fixed {
    position: fixed;
}
.flex {
    display: flex;
}
.justify-start {
    justify-content: flex-start;
}
.justify-end {
    justify-content: flex-end;
}
.inline-block {
    display: inline-block;
}
.text-decoration-none {
    text-decoration: none;
}
.top-0 {
    top: 0;
}
.right-0 {
    right: 0;
}
.left-0 {
    left: 0;
}

.pr10 {padding-right: 10%;}
.pl10 {padding-left: 10%;}

.pr4 {
    padding-right: 2.5rem;
}
.pl2 {
    padding-left: 2%;
}
.pr2 {
    padding-right: 2%;
}
.mx-auto {
    margin-right: auto;
}

.ml-auto, .mx-auto {
    margin-left: auto;
}
.my0 {
    margin-top: 0;
    margin-bottom: 0;
}

.my1 {
    margin-top: 1em;
    margin-bottom: 1em;
}

/* Image Alignment */
.alignright {
	float: right;
}
.alignleft {
	float: left;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.video-wrapper {
    margin-bottom: 40px;
}
.gform_body {
    padding: 10px;
}
amp-iframe { max-width: 100%; margin-bottom : 20px; }

/* Captions */
.wp-caption {
	padding: 0;
}
.wp-caption-text {
	font-size: 14px;
	line-height: 1.5em;
	margin: 0;
	padding: .66em 10px .75em;
	text-align: center;
}

/* AMP Media */
amp-iframe,
amp-youtube,
amp-instagram,
amp-vine {
	margin: 0 -16px 1.5em;
}
amp-carousel > amp-img > img {
	object-fit: contain;
}

amp-sidebar {
	font-family: 'ff-scala-sans-pro-condensed', sans-serif;
	list-style-type: none;
	background-color: #efefef;
	margin: 0;
}

amp-sidebar ul {
	margin-left: 0;
}

amp-sidebar ul li a {
	margin: 0;
	color: #000;
	padding: .5rem 0;
	text-transform: uppercase;
	font-weight: 400;
	font-size: 1rem;
}

amp-sidebar ul li ul li a {
	color: #000;
	padding-left: 0;
}

amp-sidebar a:hover,
amp-sidebar a:active,
amp-sidebar a:focus {
	color: #b5121b;
}

.container {
	max-width: 600px;
	margin: 0 auto;
	padding: 0px 10px;
}

amp-sidebar {
	width: 300px;
	padding: 10px;
}

amp-sidebar ul {
	list-style-type: none;
	max-width: 90%;
}
amp-sidebar ul li {
    display: block;
    margin: 0;
    font-weight: 700;
    padding: .5rem .5625rem .5rem .75rem;
}
amp-sidebar .current-menu-item a, amp-sidebar .current-menu-ancestor a {
	color: #15599d;
}

.i-amphtml-accordion-header {
	border: none;
}

amp-accordion>section>header:after {
    display: inline-block;
    content: "+";
    padding: 0 0 0 1.5rem;
	font-size: 1rem;
}

amp-accordion>[expanded]>header:after {
    content: "–";
}

.ampstart-navbar-trigger.items-start {
	font-size: 1rem;
	cursor: pointer;
  	text-decoration: none;
	float:right;
	color: #000;
}

.ampstart-headerbar {
    background-color: #fff;
    z-index: 999;
    box-shadow: 0 0 5px 2px rgba(0,0,0,.1);
}

.ampstart-headerbar img, .ampstart-headerbar amp-img {
	width: 100%;
	max-width: 600px;
	height: 88px;
}

@media screen and (max-width: 480px) {
	.ampstart-headerbar img, .ampstart-headerbar amp-img {
		margin: auto;
		width: 100%;
		max-width: 300px;
		height: 44px;
	}
}

/* AMP Sidebar Toggle button */

#site-navigation button {
	padding-top: .5rem;
	padding-bottom: .5rem;
	font-size: 2rem;
}

button {
  padding: 0;
  padding-top: 0px;
  padding-bottom: 0px;
  appearance: none;
  border: 0;
  border-radius: 0;
  background: 0 0;
  line-height: 1;
  cursor: pointer;
}

/* AMP Sidebar close button */
.amp-sidebar-close{
	background: #333;
	display: inline-block;
	padding: 5px 10px;
	font-size: 14px;
	color: #fff;
}

/* AMP Navigation Menu with Dropdown Support */
.toggle-navigation ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: inline-block;
	width: 100%
}
.toggle-navigation ul li {
	font-size: 14px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.11);
	padding: 11px 0px;
	width: 25%;
	float: left;
	text-align: center;
	margin-top: 6px
}
.toggle-navigation ul ul{
	display: none
}
.toggle-navigation ul li a{
	color: #eee;
	padding: 15px;
}
.toggle-navigation{
	display: none;
	background: #444;
}


/* Header */
.amp-logo {
	width:190px;
	height:36px;
	margin-top: 12px;
}

article .header {
	background-color: #eff2f4;
	border-bottom: 1px solid #879fac;
	padding-bottom: 12px;
}

article header h1.single-title {
	font-size: 28px;
}

article header p.meta, .events-meta p.meta {
	color: #999;
	font-size: 13px;
	font-style: normal;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
}

.events-meta {
	margin: 20px 0;
}

article header .right{
	margin: 16px 5px 0px 5px;
}
.amp-phone, .amp-social, .amp-sidebar-button{
	display:inline-flex
}
.amp-phone{
	top: 4px;
}
article header .amp-social{
	margin: 0px 19px;
}
.amp-sidebar-button{
	top: 6px;
}

.amp #main {
	border-right: none;
	padding: 0 1.25rem;
}

.amp #main article a.read_more amp-img {
	display: none;
}

/* Loop */
.amp-post-title {
	color: #204c64;
	line-height: 1.2;
	margin-top: 0.5rem;
}
.loop-post {
	display: inline-block;
	width: 100%;
	margin: 6px 0px;
}
.loop-post .loop-img {
	float: left;
	margin-right: 15px;
}
.loop-post h2 {
	font-size: 1.2em;
	margin: 0px 0px 8px 0px;
}
.loop-post p {
	font-size: 16px;
	color: #333;
	margin-bottom:6px;
}
.loop-post ul {
	list-style-type: none;
	display: inline-flex;
	margin: 0px;
	font-size: 16px;
	color: #666;
}
.loop-post ul li {
	margin-right:2px;
}
.loop-date{
	font-size:14px;
}


/* Single */
.amp-category span {
	display: none;
}
.amp-category span.amp-cat {
	display: block;
	font-family: sans-serif;
	font-size: 1.2rem;
	margin-top: 0.5rem;
}
.amp-category span.amp-cat a {
	color: #287fc1;
}
/** Related Posts **/
.amp-related-posts ul{
	list-style-type: square;
	list-style-position: outside;
	margin-left: 1rem;
}
.amp-related-posts-title {
	color: #204c64;
	margin-left: -1rem;
	margin-bottom: 0.75rem;
	text-transform: uppercase;
}
.amp-tags-title {
	color: #204c64;
	margin-bottom: 0.75rem;
	text-transform: uppercase;
}
.amp-related-posts ul li{
	line-height: 1.3;
	margin-bottom: 5px;
}
.amp-related-posts ul li a{
	color: #287fc1;
}
.amp-related-posts amp-img{
	float: left;
	width: 100px;
	margin: 0px 10px 0px 0px;
}
.inline-text-ad {
	border-top: 1px solid #cdcdcd;
	border-bottom: 1px solid #cdcdcd;
	line-height: 1.3;
	font-size: 0.95rem;
	margin-bottom: 1rem;
	padding-bottom: 1rem;
	padding-top: 1rem;
}
.inline-text-ad a.button {
	color: #287fc1;
	font-family: 'Allerta', sans-serif;
	text-transform: uppercase;
}

.text-ad-wrapper {
  padding: 20px;
  margin: 20px 0;
  border: 1px solid #ccc;
  clear: both;
}

.sticky_social {
	text-align: center;
}
.content-wrapper.container p a {
	color: #287fc1;
}

.amp-tags a {
	color: #15599d;
}
#pagination {
	margin-top: 1rem;
	font-family: 'Allerta', sans-serif;
}
#pagination .next {
	float: right;
}
#pagination a {
	color: #287fc1;
}

.related_post amp-img, .related_post img {
	display: none;
}

ul.related_post {
	margin-left: 0;
	list-style-position: outside;
	padding-left: 1rem;
}

.tags .label.success {
    background: transparent;
    color: #15599d;
		padding: 0;
}

p.tags {
	font-style: normal;
	color: #777;
	padding: 1em 0;
}

.tags-title {
  font-weight: 700;
}

/* Comments */
.comments_list ul{
	margin:0;
	padding:0
}
.comments_list ul.children{
	padding-bottom:10px;
	margin-left: 4%;
	width: 96%;
}
.comments_list ul li p {
	margin: 0;
	font-size: 16px;
	clear: both;
	padding-top: 5px;
}
.comments_list ul li .says{
	margin-right: 4px;
}
.comments_list ul li .comment-body{
	padding: 10px 0px 15px 0px;
}
.comments_list li li{
	margin: 20px 20px 10px 20px;
	background: #f7f7f7;
	box-shadow: none;
	border: 1px solid #eee;
}
.comments_list li li li{
	margin:20px 20px 10px 20px
}


/* Footer */
.footer {
	margin-top: 2rem;
	padding: 30px 10px 20px 10px;
	font-size: 14px;
	text-align: center;
	background-color: #204c64;
}
.inline-list li {
	display: inline-block;
	font-family: sans-serif;
	font-size: 1rem;
}
.footer a, .footer p {
	color: #fff;
}
.inline-list li.divider {
	width: 4px;
	height: 4px;
	background: #ccc;
	border-radius: 50%;
	display: inline-block;
	margin-right: .6rem;
	margin-left: .4rem;
	position: relative;
	bottom: 3px;
}
li.divider:first-child {
	display: none;
}
.sticky_social {
	background-color: #204c64;
	padding-bottom: 2rem;
}

/* WP-Page Navi */
@media screen and (max-width: 480px) {
	.wp-pagenavi span.pages, .wp-pagenavi a.last {
		display: block;
	}
}

/* Events */

.mq_calendar select {
	background-image: none;
}

@media screen and (min-width: 768px) {
	.mq_calendar {
    	text-align: center;
	}
	.mq_calendar select {
	    max-width: 50%;
	}
}


/* Text Ad OFIE */
.amp .ofie_container {
    display: flex;
    flex-direction: column;
	flex-wrap: wrap;
	align-content: flex-start;
}

.amp #wide_ofie.noimage header#wide_ofie_title {
    margin-right: 0;
}
.amp header#wide_ofie_title {
    height: auto;
	max-height: 98px;
    margin: 0 30px 0 0;
    padding: 0;
    background: #b5121b;
    position: relative;
    float: unset;
}

.amp header#wide_ofie_title h3 {
	font-size: 22px;
	line-height: 1.2;
	color: #fff;
	background-color: transparent;
	margin: 0 20px;
}

.amp #ofie_content {
	width: 50%;
	max-width: 348px;
    height: 98px;
	max-height: 98px;
    border: 1px dotted #d6d6d6;
	padding: 0 20px;
}

.amp #ofie_content .button.red {
    margin: 10px 0;
}

.amp #wide_ofie.noimage form {
	margin-top: 0;
	margin-right: 0
}
.amp #ofie_content form {
    width: unset;
	margin: auto;
	float: unset;
}

@media only screen and (max-width: 640px) {
	.events article {
    	margin-top: .175em;
    	padding-top: .25em;
    	border-top: 1px dotted #d6d6d6;
	}
	.amp .ofie_container {
    	margin: 0 auto;
	}
	.amp #wide_ofie {
		display: flex;
		flex-wrap: wrap;
		height: auto;
	}

	.amp #wide_ofie.noimage header {
    	background-image: none;
    	background-color: #fff;
    	padding: 0;
	}

	.amp #wide_ofie.noimage header#wide_ofie_title {
    	margin-right: 0;
	}

	.amp header#wide_ofie_title {
	    background: #fff;
		max-width: 348px;
	}

	.amp header#wide_ofie_title h3 {
    	font-size: 16px;
    	line-height: 1.2;
    	color: #000;
    	margin: 0 auto;
	}

	.amp #wide_ofie.noimage form {
	    margin-top: 0;
	    margin-right: 0;
	}

	.amp #ofie_content {
		width: auto;
		max-width: 330px;
		height: auto;
	    border: none;
		padding: 0;
	}

	.amp #ofie_content form {
    	width: unset;
    	float: unset;
    	margin-top: 0;
	}
}

@media only screen and (max-width: 945px) {
	header#wide_ofie_title {
    	width: 100%;
	}
	.amp #ofie_content p {
    	display: none;
	}
}

.blog article {
  margin-top: .175em;
  padding-top: .25em;
  border-top: 1px dotted #d6d6d6;
}

.blog article h2 a {
  color: #333;
}
