figure,
form {
  max-width: 100%;
}

a.post-edit-link {
  background: #016c68;
  color: #fff;
  padding: 3px 5px;
  border-radius: 3px; 
  font-size: 12px;
  margin-left: 10px;
}

time.published + time.updated { display: none; }
.feature-entry-home + .layout-has-sidebar .sidebar-container {
  margin-top: 2rem;
}

.navigation.pagination {
	/* float: right; */
	text-align: right;
	padding-top: 0.25em;
}
.navigation.pagination .page-numbers {
	box-sizing: border-box;
	display: inline-block;
	min-width: 1.5em;
	padding: 0.5em 1em;
	margin-left: 2px;
	text-align: center;
	text-decoration: none !important;
	cursor: pointer;
	*cursor: hand;
	color: #333 !important;
	border: 1px solid transparent;
	border-radius: 2px;
}

.navigation.pagination .page-numbers.current, .navigation.pagination .page-numbers:active  {
	background: #006b68;
	color: #fff !important;
	border: 0;
	font-weight: bold;
}
.navigation.pagination .page-numbers.current:hover { border: 1px solid #006b68;}

.navigation.pagination .page-numbers.disabled, .navigation.pagination .page-numbers.disabled:hover, .navigation.pagination .page-numbers.disabled:active {
	cursor: default;
	color: #666 !important;
	border: 1px solid transparent;
	background: transparent;
	box-shadow: none;
}
svg.icon {
  width: 1em;
  height: 1em;
  margin-left: 5px;
  margin-right: 5px;
  fill: #757575;
}

/* Image captions
.wp-caption { border: 1px solid #ccc;  background-color: #DCDCDC;  -moz-border-radius: 3px; -khtml-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px;  text-align:center; max-width: 100% !important;  margin:0 0 10px; }
.wp-caption img { margin: 0; border: 0 none; padding:4px 0; max-width:98%;  width:auto; height:auto;}
.wp-caption p.wp-caption-text { font-size: 11px; line-height: 14px; padding: 0 3px 5px; margin: 0; font-style: italic; text-align:center;} */


.pt-2rem { padding-top: 2rem; }

/* Single page next/prev article */
@media (min-width: 600px) {
.nav-links .nav-previous, .nav-links .nav-next {
    flex-basis: 33%;
  }
}

@media (max-width: 599px) {
  .nav-links {flex-direction: column;}
  .nav-links .nav-previous { margin-bottom: 1rem; }
}

.single-post .news-row + hr { display: none; }
.single-post .nav-links {
  margin-top: 1.5rem; 
  border-top: 1px solid rgba(0,0,0,.1);
  border-bottom: 1px solid rgba(0,0,0,.1);
  padding: 1rem 4rem;
  display: flex;
  justify-content: space-between;
}

span.nav-title-icon-wrapper {
  position: absolute;
  padding: 1rem 1rem;
  left: -4rem;
  right: auto;
  top: 0; 
  width: 4rem;

}
.nav-next span.nav-title-icon-wrapper {
  left: auto;
  right: -4rem;
}

span.nav-title {
  position: relative; 
  display: block;
  font-size: 1rem;
}

span.nav-subtitle {
  display: none;
}
/* End Single page next/prev article */

.navbar .textwidget.custom-html-widget .btn {
  color: #fff;
}

.navbar .textwidget.custom-html-widget {
  display: inherit;
}

/* figcaption */
figure {
  padding: 0;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  border-radius: 5px;
  margin-bottom: 1rem;
}
figure p, figure dl, figure ol {
  font-size: 1rem;
  line-height: 1.5;
}
figure p a, figure dl a, figure ol a {
  font-size: 1rem;
}
figure h2, figure h3, figure h4, figure h5 {
  font-weight: 400;
  color: #444;
}
figure h2:first-child, figure h3:first-child, figure h4:first-child, figure h5:first-child {
  margin-top: 0;
}
figure .fa + h2, figure .fa + h3, figure .fa + h4, figure .fa + h5, figure .far + h2, figure .far + h3, figure .far + h4, figure .far + h5, figure .fas + h2, figure .fas + h3, figure .fas + h4, figure .fas + h5, figure .fab + h2, figure .fab + h3, figure .fab + h4, figure .fab + h5 {
  margin-top: 0;
}

figure {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
figure h2, figure h3, figure h4, figure h5, figure figcaption {
  color: #444;
}
figure img {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}
figure figcaption {
  padding: 1rem;
  font-size: 1rem;
  line-height: 1.5;
}


input, select, textarea {
  border-radius: 0;
  border-width: 2px;
  border: 2px solid rgba(73, 76, 78, 0.25);
}

textarea { width: 100%; padding: 1rem; margin: 1rem 0; }
label {
  position: relative;
  color: #757575;
  font-size: 1rem;
  margin-bottom: 0;
}

.wp-block-quote__citation, .wp-block-quote cite, .wp-block-quote footer {
  font-size: .9rem;
  font-style: normal;
  margin-top: .5rem;
  display: block;
  color: #444;
}
.wp-block-quote {
  border-left: 0;
  margin: 1.5rem 1rem 1.5rem 2rem;
  padding: 0;
}
@media (min-width: 768px) {
  .wp-block-quote {
    padding-left: 1rem;
  }
}

.cat-tags-links > span { margin-right: 1rem; } 


.wp-block-gallery {
  list-style-type: none;
}
.wp-block-gallery li { 
  padding-left: 0 !important; text-indent: 0 !important; 
}
.wp-block-gallery.columns-1 li, .wp-block-gallery.columns-1.wp-block-gallery.columns-1 .slick-dots { max-width: 100% !important; 
  margin-bottom: 0 !important; }
.wp-block-gallery li:before { display: none; }
.wp-block-gallery.columns-1 .blocks-gallery-image, 
.wp-block-gallery.columns-1 .blocks-gallery-item {
  width: auto;
  max-width: 100% !important; 
}
.wp-block-gallery.columns-1 .blocks-gallery-image figcaption, .wp-block-gallery.columns-1 .blocks-gallery-item figcaption {
  display: none;
}
.wp-block-gallery.columns-1 .slick-dots, .carousel-feature-caption { 
  padding-left: 0 !important; margin-left: 0 !important; } 
.carousel-feature-caption { margin-bottom: 1.5rem; }
.news-row .news-article div.slick-list { padding-left:0;padding-right:0;}
@media (min-width: 768px) {
  .wp-block-gallery.columns-1 .blocks-gallery-item { max-width: 800px !important;} 
}
@media (max-width: 991px) {
  body.logged-in .megamenu {
    top: 32px;
  }
}
@media (max-width: 781px) {
  body.logged-in .megamenu {
    top: 46px;
  }
}

.collapse > .textwidget { 
  width: 100%;
}

.screen-reader-text {
  border: 0;
  clip: rect(0,0,0,0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* Clear tags on single */
.single .news-article {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
footer.entry-footer, .news-row .news-article div.entry-content, .entry-content {
  padding-left: 0;
  width: 100%;
  clear: both;
}

h2, h3, .h2, .h3, h4, .h4 { font-weight: 700;   }

.image-container > svg.icon {
  position: absolute;
  z-index: 01;
  margin: 10px;
  fill: #006c68;
}
.news-row .news-article div.entry-meta { padding-left: 0;}
/* .entry-title a {
  text-decoration: underline;
} */

.sidebar-container .widget_search form {
  padding-left: 0;
  width: 100%;
  display: block;
}
.news-row .news-article div.category-list { padding-left: 0;}
.category-list + .posted-on {
  padding-top: 1rem;
  display:block;
}
.posted-on time { 
    color: #757575;
  font-size: 1rem;
  line-height: 1.5;
  padding-top: 11px;
  padding-bottom: 2px;
  margin-bottom: 0; 
}
/* .breadcrumb li a.active { display: inline; } */

.comment-form p label:first-child {
  width: 100px;
}
.comment-form input[type=checkbox], .comment-form input[type=radio] { margin-right: 5px; }
.comment-form span.required {
  color: #dc3545;
}

.entry-title a {
    display: block;
}
.news-article h2 a:hover, .news-article h3 a:hover, .news-article h4 a:hover {
  color: #0a4f48;   
}
#subscribe-email input {
  width: 100% !important;
}
#subscribe-blog-blog_subscription-2 input {
  border-radius: 999px;
  background-color: transparent;
  border-color: rgba(0, 0, 0, .2) !important;
  padding: .75rem 1rem;
  font-size: 1rem;
  height: auto;
  color: #495057;
}
#subscribe-blog-blog_subscription-2 button {
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  padding: .75rem 2rem;
  line-height: 1.37;
  white-space: normal;
  min-width: 100px;
  cursor: pointer;
  font-weight: 700;
  border: 0;
  border-radius: 999px;
  font-size: 1.1875rem;
  padding-left: 1.5em;
  padding-right: 1.5em;
  width: 100%; 
  background-color: transparent;
  color: #00685e;
  -webkit-box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .1);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .1);
  margin-top: 0;
  transition: box-shadow .15s ease-in-out;
}
#subscribe-blog-blog_subscription-2 button:active, 
#subscribe-blog-blog_subscription-2 button:focus, 
#subscribe-blog-blog_subscription-2 button:hover {
  background-color: inherit;
  -webkit-box-shadow: inset 0 0 0 2px #00685e;
  box-shadow: inset 0 0 0 2px #00685e;
  color: #00685e;
}

/* 2020 updates */
.news-feed .news-article, .news-row .news-article, .sidebar-container .news-article {
  padding: 0;
  margin: 0;
  border-bottom: 0;
}
.news-feed .news-article .image-container, .news-row .news-article .image-container {
  padding-bottom: 0;
} 
.megamenu.navmenu .navbar-brand img {
  width: auto;
  height: 45px;
}

/* Custom button overrides for Gutenburg */
.entry-content > div {
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.wp-block-button__link {
  font-weight: 600; 
  transition: background-color .2s ease-in-out, border-color .2s ease-in-out;
}
.wp-block-button__link:hover {
  text-decoration: none;
}
.wp-block-button__link, 
.wp-block-button__link.has-background,
.wp-block-button__link.has-background.has-text-color,
.wp-block-button__link.has-blue-background-color.has-background {
  background-color:  #0074b3;
  color: #fff;
}
.wp-block-button__link:hover, 
.wp-block-button__link.has-background:hover,
.wp-block-button__link.has-background.has-text-color:hover,
.wp-block-button__link.has-blue-background-color.has-background:hover {
  background-color: #00639a;
}
.wp-block-button__link.has-important-background-color.has-background {
  background-color: #d43c00;
}
.wp-block-button__link.has-important-background-color.has-background:hover {
  background-color: #bb3500;
}
.wp-block-button.is-style-outline .wp-block-button__link {
  background-color: #fff;
  color: #0074b3;
  border-width: 2px;
  border-style: solid;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background-color: #fff;
  color: #00639a;
} 
.wp-block-button.is-style-outline .wp-block-button__link {
  border-color: #9e9e9e;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  border-color: #0074b3;
}
.has-text-color.has-primary-color {
  color: #00685e;
}
.has-text-color.has-secondary-color {
  color: #ffb500;
}
.has-text-color.has-blue-color {
  color: #0074b3;
}
.has-text-color.has-light-gray-color {
  color: #9e9e9e;
}
.has-text-color.has-important-color {
  color: #d43c00;
} 
