/*!
Theme Name: Health_s
Theme URI: http://underscores.me/
Author: Geoff Struthers
Author URI: http://www.hkpr.on.ca
Description: This theme supports the web site of the Haliburton, Kawartha Pine Ridge District Health Unit.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: health_s
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Health_s is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	margin: 1em 0 0 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	margin: 0.1em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

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

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
/**
body,
button,
input,
select,
optgroup,
textarea {
	color: #3d3c39;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

@media screen and (min-width: 475px) { **/
body,
button,
input,
select,
optgroup,
textarea {
	color: #3d3c39;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 20px;
	font-size: 1.25rem;
	line-height: 1.5;
    } /**
}
**/

h1, h2, h3, h4, h5, h6 {
	clear: both;
}

header.entry-header {
    color:#474642;
}

.page h1 {
    font-family: Raleway, Arial, sans-serif;
    font-size: 2.0em;
}

.post h1 {
	font-family: "Playfair Display", Georgia, serif;
    font-size: 2.0em;
}

h2 {
    font-size: 1.8em;
}

h3 {
    font-size: 1.6em;
}

h4 {
    font-size: 1.4em;
}

h5 {
    font-size: 1.2em;
}

h6 {
    font-size: 1.0em;
}

/**p {
	margin-bottom: 1.5em;
}
**/

dfn, cite, em, i {
	font-style: italic;
}

blockquote.box {
	margin: 1 1.5em;
    text-align:center;
    font-style: oblique;
    border-top: thin solid grey;
    border-bottom: thin solid grey;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code, kbd, tt, var {
	font-family: Raleway, Arial, sans-serif;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}`  1

mark, ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

.entry-meta {
	font-family: Raleway, Arial, sans-serif;
}

div.entry-meta {
	display:none;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff;
	/* Fallback for when there is no custom background color defined. */
}

/**
@media screen and (max-width: 976px){
    body {
        background: url(http://www.hkpr.on.ca/wp-content/uploads/2017/11/HKPR-logo_140px.png) top left /390px auto no-repeat;
    }
}
**/

figure {
    max-width: 100%;
}

@media screen and (max-width: 646px){
    body {
        background: url(http://www.hkpr.on.ca/wp-content/uploads/2017/11/HKPR-logo_140px.png) center 2px /50% no-repeat;
    }
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul, ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

ol.lower-alpha {
  list-style-type:lower-alpha;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto;
	/* Make sure images are scaled correctly. */
	max-width: 100%;
	/* Adhere to container width. */
}

figure {
	margin: 2vw 0;
	/* Extra wide images within figure tags don't overflow the content area. */
}

@media screen and (min-width:1000px) {
 
    figure {
        margin: 20px 0;
        /* Extra wide images within figure tags don't overflow the content area. */
    }

}


table {
	margin: 0;
	width: 100%;
}

#site-navigation {
    font-size:16px;
}

div.leaflet-map {
    height:10em;
    width:10em;
}



div.wp-block-image figure {
    max-width:540px;
    min-width:360px;
}

div.wp-block-image figure.alignleft {
    margin-left:1em;
}

div.wp-block-image figure.alignright {
    margin-right:1em;
}

@media screen and (max-width: 499px){

    div.wp-block-image figure {
    width:100%;
    }
    
    div.wp-block-image figure.alignleft {
    margin-left:0;
    margin-right:0;
    float:none;
    display:inline;
    }

    div.wp-block-image figure.alignright {
    margin-left:0;
    margin-right:0;
    float:none;
    display:inline;
    }
    
}

ul.no_buttons {
    list-style:none;
}

ul.wide_rows {
    line-height:2.0;
}

ul.no-margin, ol.no-margin {
    margin: 0 0 1.5em 0;
}

ul.no-margin-bottom {
    margin-bottom: 0;
}

ul.background_square {
    background-color:#F6F6F5;
    padding: 1em;
    border:thin solid grey;
    margin-right:20%;
    color:#3d3c39;
}

ul.background_square_centre {
    background-color:#F6F6F5;
    padding: 1em;
    border:thin solid grey;
    margin-right:15%;
    margin-left:15%;
    color:#3d3c39;
}

@media screen and (max-width: 499px){
    
ul.background_square {
    background-color:#F6F6F5;
    padding: 1em;
    border:thin solid grey;
    margin-right:5%;
    color:#3d3c39;
    }

ul.background_square_centre {
    background-color:#F6F6F5;
    padding: 1em;
    border:thin solid grey;
    margin-right:5%;
    margin-left:5%;
    color:#3d3c39;
    }    
}



p.back_to_top_link {
    text-align:right;
    margin-right:1em;
    background-color:#f5f5f4;
    font-size:medium;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 2px solid;
	border-color: black;
	border-radius: 0px;
	background: transparent;
	color: black;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1;
	padding: .5em 1em;
}

button:hover,:active, button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
    background:white;
    color:black;}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

textarea.name_address {
	height: 132px;
	width:inherit;
}

span.wpcf7-list-item {
    display: block;
}

p.full-width-form {
    width:100%;
    padding: .4em 0 .5em 0;
    text-align:center;
    color:#35586A;
    background-color:#f3f7f9;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #3d3c39;
/** text-decoration: none; **/
}

nav a {
    text-decoration: none;
}

a:hover, a:focus, a:active, {
	color: #5b5a55;
    text-decoration:underline;
}

a:visited {
	color: #5b5a55;
}

p.Front_Page-Content-Widget_1 {
	text-align: right;
    margin: 0 0.5em 1.5em 0;
    padding:0;
}

a.Front_Page-Content-Widget_1 {

}

#custom_html-9 {
    float: left;
    clear: both;
    width:100%;
}

p.Front_Page-Content-Widget_1-lower {
	text-align: center;
    margin: 0;
    padding:0.5em;
    background-color:#f3f7f9;
}

hr.Front_Page-Content-Widget_1_hr-upper {
    margin-bottom: 0.5em;
	color: #5b5a55;
}

hr.Front_Page-Content-Widget_1_hr-lower {
	color: #5b5a55;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
/**--------------------------------------------------------------
### General
-------------------------------------------------------------**/

nav {
    z-index:1;
}

/**
.current_page_item >a,
.current-menu-item >a,
.current_page_ancestor >a,
.current-menu-ancestor >a {
}
**/

.menu-item-has-children,
.page-item-has-children {
    min-width: 218px;
}

.menu-item-has-children >a,
.page-item-has-children >a {
    padding-right: 2em;
}

/**--------------------------------------------------------------
### Header
-------------------------------------------------------------**/
/***--------------------------------------------------------------
#### General
------------------------------------------------------------***/


/**--------------------------------------------------------------
### Header
-------------------------------------------------------------**/
/***--------------------------------------------------------------
#### Responsive Button/Bar Style
------------------------------------------------------------***/
/****-------------------------------------------------------------
##### General
-----------------------------------------------------------****/

nav.main-navigation {
    display:block;
    float:right;
	min-width:504px;
    margin-top:.8em;
    margin-right:2em;
}
    
.header_button-bar_navigation {
	display: flex;
    flex-wrap: nowrap;
	font-family: Raleway, Arial, sans-serif;
	font-weight: 400;
}

.header_button-bar_navigation ul {
	display: none;
	list-style: none;
}

.header_button-bar_navigation ul li{
	padding: .4em .6em;
	background-color: #F6F6F5;
}

.header_button-bar_navigation li {
	position: relative;
}

.header_button-bar_navigation a {
	display: inline-block;
	width: 100%;
	text-decoration: none;
	padding: .1em .3em .1em .3em;
	color:#3d3c39;
}

.header_button-bar_navigation a:hover,
.header_button-bar_navigation a:focus {
	text-decoration: underline;
	border-color: white;
	background-color:#ECECEB;
}

.menu-toggle {
        display:none;
    }
    
   
.header_button-bar_navigation.main-navigation ul{
        display:block;
        display:flex;
        flex-wrap:nowrap;
        justify-content: flex-end;
        padding-top: 0;
    }   

ul.no_buttons {
        list-style-type: none;
    }

ul.no_indent {
        margin-left: 0;
    }  

ul.no_padding {
        padding-left: 0;
    }  

/****-------------------------------------------------------------
##### Audience (top-most) Navigation
-----------------------------------------------------------****/

.main-navigation ul {
		margin: 0;
		padding-left: 0;
	}

	.main-navigation li {
		border-bottom: 1px solid #f0f0f0;
		border-top: 1px solid #acacac;
	}

	.main-navigation a:hover,
	.main-navigation a:focus {
		-moz-box-shadow: 0px 1px 4px 5px #ECECEB;
		-webkit-box-shadow: 0px 1px 4px 5px #ECECEB;
		box-shadow: 0px 1px 4px 5px #ECECEB;
		border-radius: 0px 0px 5px 5px;
	}

	.main-navigation li:hover {
		border-top: 1px solid #a31621;
	}


/****-------------------------------------------------------------
##### Object (secondary) Navigation
-----------------------------------------------------------****/
/**
@media screen and (min-width:500px) {
**/
	.secondary-navigation {
		float:right;
		margin: 6px 0 0 0;
		padding: 0;
		z-index: 1;
	}

	.secondary-navigation ul {
		display: flex;
        flex-wrap: nowrap;
		justify-content: flex-start;
        white-space: nowrap;
        margin: 0;
		padding: 0;
	}

	.secondary-navigation li {
		border-top: 1px solid #f0f0f0;
		border-bottom: 1px solid transparent;
	}

	.secondary-navigation a:hover,
	.secondary-navigation a:focus {
		-moz-box-shadow: 0px -1px 4px 5px #ECECEB;
		-webkit-box-shadow: 0px -1px 4px 5px #ECECEB;
		box-shadow: 0px -1px 4px 5px #ECECEB;
		border-radius: 5px 5px 0px 0px;
	}

	.secondary-navigation li:hover {
	    border-bottom: 1px solid #a62d00;
	}
/**
}
**/

/***--------------------------------------------------------------
#### Social Navigation
------------------------------------------------------------***/

.social-navigation {
	display: block;
    float:right;
    padding: 0 0 0 0;
    margin-top:11px;
    margin-left:24px;
}

.social-navigation ul {
	display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
	list-style: none;
	margin: 0;
    padding: 0;
    background-color: #F6F6F5;
}

.social-navigation li {
    border-bottom: 1px solid transparent;
}

.social-navigation a {
    color:#51504c;
}

.social-navigation ul a {
	display:block;
    width: 100%;
    padding: 0;
	text-decoration: none;
}

.social-navigation a:hover,
.social-navigation a:focus {
    -moz-box-shadow: inset 0px 0px 4px 5px #dfdfdf;
	-webkit-box-shadow: inset 0px 0px 4px 5px #dfdfdf;
	box-shadow: inset 0px 0px 4px 5px #dfdfdf;
    padding-bottom: -1px;
}

.social-navigation i {
    padding: 2px 0 0 6px;
    min-height:28px;
}

#menu-social-icons-menu li:nth-child(1) {
    display:none;  
/*  background-color:bisque;  */
    border-right:3px solid white;
}

.social-navigation i+span {
    display:none;
}


/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 3vw;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 3vw;
}

@media screen and (min-width:1000px) {
 
    .alignleft {
        display: inline;
        float: left;
        margin-right: 30px;
    }

    .alignright {
        display: inline;
        float: right;
        margin-left: 30px;
    }

}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 0.5em;
	/* Make sure select elements fit in widgets. */
}

.widget select {
	max-width: 100%;
}

aside.header_menu-widgets {
    display: inline-block;
    clear:both;
    float:left;
}


/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
/*--------------------------------------------------------------
### General
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.entry-content {
	margin: 0;
    padding:0 0.5em;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}


/*--------------------------------------------------------------
### Header Areas
--------------------------------------------------------------*/

.site-header_everything {
    display:block;
    position:relative;
    float:left;
    height:146px;
    width:100%;
    margin-bottom: 2em;
    clear:both;
}

.site-header {
    display:block;
    width:100%;
    max-height:98px;
    float:left;
    z-index:0;
    clear:right;
}

.custom-logo-link img {
        display:block;
        width: 100%;
        height:auto;
        overflow:visible;
        z-index: -1;
    }
    
.site-branding {
        display:block;
        float:left;
        width:calc(100% - 504px - 2em);
        max-width:390px;
        min-width: 228px;
        z-index:-1;
    }

#subheaderstructure {
    clear:left;
    float:left;
    position:absolute;
    bottom:0;
    width:100%;
}

.line-maker {
    float:right;
    margin-right:1.6em;
    margin-left:2em;
    display:inline-block;
    border-bottom: 1px solid rgb(172,172,172);
}

/*--------------------------------------------------------------
### Content Areas
--------------------------------------------------------------*/

/**-------------------------------------------------------------
#### General
-------------------------------------------------------------**/

.site-content {
    clear:left;
    padding: 1.6em 1em 1em 1em;
}
    
@media screen and (min-width: 761px){
        .site-content {
            padding: 1.6em;
        }
}

div.action_area {
    clear:both;
    border:10px solid white;
    border-radius: 20px;
    margin: 0 14% 2.5em 14%;
    padding: 1.5em 1.5em;
	background-color: #F6F6F5;    
}

@media screen and (max-width:810px){
    div.action_area {
        margin-top:5%;
    }
}

@media screen and (max-width:810px){
    div.action_area{
        margin-left:5%;
        margin-right:5%;
    }
}

.action_area h2 {
    font-size:1.5em;
    font-family: Raleway, Arial, sans-serif;
    line-height:1;
    margin: 0;
    text-align:center;
    color:#51504c;
    padding-bottom: .5em;
    margin-bottom: .5em;
    border-bottom-width: 3px;
    border-bottom-style: double;
    border-bottom-color:  #a62d00;
}


aside.frontpage-widgets-top {
    margin: .1em;
}

.frontpage-widgets-top ul {
    margin-bottom:0.5em;
}

h2.widget-title {
    font-size:1.5em;
    font-family: Raleway, Arial, sans-serif;
    line-height:1;
    margin: 0;
}

aside.frontpage-widgets-top h2 {
    margin-left:.5em;
    color:#51504c;
}

aside.frontpage-widgets-bottom {
    border-top: 1px solid lightgrey;
}

aside.frontpage-widgets-bottom h2 {
    text-align:center;
    color:#51504c;
    padding-bottom: .5em;
    margin-bottom: .5em;
    border-bottom-width: 3px;
    border-bottom-style: double;
    border-bottom-color: #51504c;
}

.frontpage-widgets-bottom {
    display:table;
    table-layout: fixed;
    width:100%;
    clear:both;
}

.frontpage-widgets-bottom section {
    display:table-cell;
    padding:2%;
}

div#rpwe_widget_single {
    width:100%;
    margin-bottom:2em;
}

div#rpwe_widget_single ul {
    float:left;
    clear:both;
}

div#rpwe_widget_single li {
    float:left;
    clear:left;
}

.frontpage-widgets-top div.rpwe_top_widget {
    border:none;
    padding: 0 0 0 0;
    margin-top:2%;
}

.frontpage-widgets-top a.rpwe-img {
    padding: 10px;
}

.frontpage-widgets-top img.rpwe-thumb {
    max-width:calc(100% + 20px);
    margin:-10px 0 0 -10px;
    width:110%;
    height:auto;
    position:relative;
    z-index:-1;
}

.frontpage-widgets-top a.rpwe-img:hover,
.frontpage-widgets-top a.rpwe-img:focus  {
    padding:0;
    border: 10px solid #005377;
}

.frontpage-widgets-top img.rpwe-thumb:hover,
.frontpage-widgets-top img.rpwe-thumb:focus {

}
/*
.rpwe_top_widget ul li:nth-child(1) {
    padding: 1% 1% 4% 0;
}

.rpwe_top_widget ul li:nth-child(2) {
    padding: 1% .5% 4% .5%;
}

.rpwe_top_widget ul li:nth-child(3) {
    padding: 1% 0 4% 1%;
}
*/
/*
@media screen and (max-width:976px) and (min-width:937px){
    
    div.action_area {
        float:right;
        clear:right;
        margin:40px 0 0 10px;
        padding:0 0 0 0;
        background-color: white;
   
    }

    aside.frontpage-widgets-top {
        float:left;
        max-width:calc(100% - 310px);
        margin:0 0 0 0;
        padding:0 0 0 0;
        border:none;
    }
    
    .action_area h2 {
        padding-bottom:4px;
        margin-bottom:0;
        border-bottom-color:c
    }
    
    .rpwe_top_widget .rpwe-ul {
        min-width:0;
    }

    .rpwe_top_widget ul li:nth-child(3) {
        border:none;
    }
    
    section.rpwe_widget {
        margin:0 0 0 0;
    }

}
*/
@media screen and (max-width:976px){
    
    aside.frontpage-widgets-top {
        clear:both;
        margin-bottom:5%;
    }
    
    .rpwe-block.rpwe_top_widget, .rpwe-block.rpwe_top_widget ul {
        display:block;
        margin: 0 0 0 0;
        float: left;
        clear: both;
    }
    

    .rpwe_top_widget .rpwe-ul {
        min-width:0;
    }
    
    .rpwe-block.rpwe_top_widget ul li {
        display:inline-block;
        clear:left;
        float:left;
        padding: 8px 4px;
        width: 100%;
    }
    
    .rpwe_top_widget ul li:nth-child(3) {
        margin-bottom:5%;
    }
        
    .frontpage-widgets-top .rpwe_top_widget a {
        display:block;
        border:none;
        padding:0;
        margin:0;
    }
    
    h3.rpwe-title a {
        color: #005377;
        text-decoration:underline;
    }
    
    .rpwe-block.rpwe_top_widget img {
        display:block;
        float:left;
        max-width:66%;
        min-width:283px;
    }
    
    .frontpage-widgets-top img.rpwe-thumb {
        margin:0;
        position:relative;
        z-index:-1;
    }
    
    .rpwe-block.rpwe_top_widget h3,
    .rpwe-block.rpwe_top_widget div {
        display:block;
        float:left;
        max-width:30%;
        overflow:hidden;
        text-overflow:clip;
    }
    
     .rpwe-block.rpwe_top_widget h3 {
        max-height:60px;
    }
    
    .rpwe-block.rpwe_top_widget div {
        max-height:144px;
    }
    
}

@media screen and (max-width:936px) and (min-width:826px){
    
    .rpwe-block.rpwe_top_widget img {
/*        width: 480px; */
        height:auto;
    }
}

@media screen and (max-width:829px) and (orientation:landscape) {
    
    .rpwe-block.rpwe_top_widget img {
        max-height: 80vh;
        width:auto;
    }
    
}

@media screen and (max-width:760px){
    
    .frontpage-widgets-bottom, .frontpage-widgets-bottom section {
        display:block;
    }
    
}

@media screen and (max-width:496px){
    
    .rpwe-block.rpwe_top_widget ul li {
        height:auto;
    } 
    
    .rpwe-block.rpwe_top_widget h3 {
        display:block;
        clear:both;
        width:100%;
        max-width:none;
        min-width:0;
    }
    
    .rpwe-block.rpwe_top_widget img {
        width:100%;
        max-width:none;
        min-width:0;
        height:auto;
    }
    
    .rpwe-block.rpwe_top_widget div {
        display:block;
        clear:both;
        width:100%;
        max-width:none;
        min-width:0;        
    }
    
}

    div.profile_pic figure {
        max-width:180px;
        height:auto;
    }
    



/**-------------------------------------------------------------
#### Page
-------------------------------------------------------------**/

header.entry-header {
    background-color: #d0cfcc;
    padding:.2em 1em;
}

.widget-area_type-page ul {
    padding:0;
    margin:.2em 0;
}

.widget-area_type-page ul li {
    list-style: none;
}

table.boh_table {
    margin-top: .1em;
}

table.boh_table td {
    padding: .2em .3em;
}

.boh_members-header h5, h6 {
    margin: .3em 0 .2em 0;
}

#attachment_2095 {
    margin: 0px 30px 20px 30px;
}

body.post-type-archive-location li {
    list-style:none;
    padding-left: 2em;
}

div.archive-description {
    display:none;
}

table.events-table tr > td:first-of-type {
    width:12em;
}
/**
table.events-table tbody > tr {
    margin: 0 1em 1em 1em;
}
**/

table.post_ult_gut_table {
        margin:2em 0 !important;

}


@media screen and (min-width:0px) and (max-width:350px){
    table.post_ult_gut_table {
        font-size:14px !important;
}    
}

@media screen and (min-width:351px) and (max-width:500px){
    table.post_ult_gut_table {
        font-size:4vw;
}    
}

@media screen and (min-width:501px){
    table.post_ult_gut_table {
        font-size:20px;
}    
}

table.post_ult_gut_table tr, table.post_ult_gut_table td {
        display:inline-table;
        padding:0 0 .2em 0 !important;
        border:none !important;
}

table.post_ult_gut_table tr {
        width:100%;
        border-bottom:thin solid grey !important;
}

table.post_ult_gut_table td {
        width:20%;
        word-break: break-word;
}




/**-------------------------------------------------------------
#### "Parent" Page
-------------------------------------------------------------**/

.entry-content figure.wp-caption {
    width: calc(100% - 220px) !important;
    height: auto;  
}

@media screen and (max-width:496px) {
    .entry-content figure.wp-caption {
        width: calc(100% - 7vw) !important;
        min-width:232px;
        margin-left:3vw;
        margin-right:4vw;
    }
}

span.parent-link {
    border-bottom:thin solid #a31621;
    padding-bottom: 4px;
}

figure.wp-caption img {
    width:100%;
}

div.type-page_all-content {
    display: inline-block;
    float:left;
    margin-top:.1em;
    padding:0 .1em;
}

div.type-page_all-content div.entry-content{
    float: left;
    padding:0 0 0 0;
    margin:0 0 0 0;
    width:71%;
    min-width:520px;
}

div.type-page_archive div.entry-archive{
    float: left;
    padding:0 0 0 0;
    margin:0 0 0 0;
    min-width:520px;
}

div.type-page_archive div{
    background-color: white;
    width:100%;
}

div.type-page_all-content aside {
    float:right;
    padding:0 0 0 0;
    margin:0 0 0 0;
    width:25%;
    min-width:184px;
}

.type-page_all-content h2.widget-title {
    padding: 24px 0 .3em 0;
    font-size: 1.2em;
    color:#a31621;
    max-width:280px;
    border-bottom: 1px solid #a31621;
}

.widget-area_type-page-page ul li{
    padding: 0 0 0 .2em;
}

.widget-area_type-page-page a {
    color:#a31621;
}

.widget-area_type-page-page a:hover,
.widget-area_type-page-page a:focus {
    text-decoration: underline;
    color: #005377;
}

/**-------------------------------------------------------------
#### "Child" Page
-------------------------------------------------------------**/

div.type-child_page_all-content {
    display: inline-block;
    float:left;
    margin-top:.1em;
    padding:0 .1em;
}

div.type-child_page_all-content div.entry-content{
    float: left;
    padding:0 0 0 0;
    margin:0 0 0 0;
    width:71%;
    min-width:520px;
}

div.type-child_page_all-content aside {
    float:right;
    padding:0 0 0 0;
    margin:0 0 0 0;
    width:25%;
    min-width:184px;
}

.type-child_page_all-content h2.widget-title {
    padding: 24px 0 .3em 0;
    font-size: 1.2em;
    color:#a62d00;
    max-width:280px;
    border-bottom: 1px solid #a62d00;
}

.widget-area_type-page-child span.parent-link {
    color:#a62d00;
    border-bottom: thin solid #a62d00;
    padding-bottom: 4px;
}

.widget-area_type-page-child ul li{
    padding: 0 0 0 .2em;
}

.widget-area_type-page-child a {
    color:#a62d00;
}

.widget-area_type-page-child a:hover,
.widget-area_type-page-child a:focus {
    text-decoration: underline;
    color: #005377;
}

span.cat-links {
    display:none;
}

div.nav-links {
    display:none;
}

/**--------------------------------------------------------------
#### Dropdown Widget
--------------------------------------------------------------**/
.fp_dropdown {
	position: relative;
	display: inline-block;
    width:100%;
}

.fp_dropdown > div.fp_dropdown_headline {
    display: block;
    padding:3px 12px 4px 12px;
	background-color:#F6F6F5;
    border: 1px dotted #a62d00;
}

div.fp_dropdown_headline > span {
    font-size: 1.05rem;
    vertical-align:top;
}

.fp_dropdown-content {
	display: none;
	position: absolute;
	background-color: #F6F6F5;
    border-bottom: none;
    border-left: 1px dotted #a62d00;
    border-right: 1px dotted #a62d00;
    border-top: 1px dotted #a62d00;
	min-width: 160px;
    width:inherit;
	padding: 0;
    max-height: 50vh;
    overflow:scroll;
	z-index: 1;
}

.fp_dropdown-content > ul{
    list-style-type: none;
    width:inherit;
    margin: 0;
    padding: 15px 5px 15px 10px;
    line-height: 1.5;
}

div.fp_dropdown_headline:hover,
div.fp_dropdown_headline:focus {
	background-color:#a62d00;
    color:white;
    font-weight:700;
    text-decoration: underline;
}

.fp_dropdown-content ul li:nth-child(odd){
    color:#51504c;
}

.fp_dropdown-content ul li:nth-child(even){
    background-color: #ECECEB;
    color:#474642;
}

.fp_dropdown:hover .fp_dropdown-content,
.fp_dropdown:focus .fp_dropdown-content,
.fp_dropdown:active .fp_dropdown-content {
	display: block;
    bottom:100%;
}

@media (pointer: none) {
	.fp_dropdown  .fp_dropdown-content {
	position:relative;
	display: block;
	background-color: #F6F6F5;
    border: 1px dotted #a62d00;
	min-width: 160px;
	padding: 0;
	z-index: 1;
	}

    .fp_dropdown:hover  .fp_dropdown-content {
	display: inherit;
	min-width: 160px;
    width:inherit;
    padding:inherit;
	bottom: 0%;
	}

	.fp_dropdown > div.fp_dropdown_headline {
	display: none;
	}
}
/*
@media screen and (max-width:976px) and (min-width:937px) {
    
	.fp_dropdown  .fp_dropdown-content {
	position:relative;
    display: block;
	background-color: white;
    border: none;
	min-width: 160px;
    max-height: none;
    overflow:visible;
	padding: 0;
	z-index: 1;
	}
    
    .fp_dropdown-content ul li:nth-child(even){
    background-color: white;
    }

    .fp_dropdown:hover  .fp_dropdown-content {
	display: inherit;
	min-width: 160px;
    width:inherit;
    padding:0;
	bottom: 0;
	}

	.fp_dropdown > div.fp_dropdown_headline {
	display: none;
	}
}
*/

/**--------------------------------------------------------------
#### Events Widget
--------------------------------------------------------------**/
/**
.frontpage-widgets-bottom section.widget tribe-events-list-widget {
    height:auto;
}

.frontpage-widgets-bottom ol.tribe-list-widget {
    margin:0;
    padding:0px 8px;   
}

.frontpage-widgets-bottom li.tribe-events-list-widget-events {
    margin:0;
    padding:8px 0 8px 0;
    border-bottom: 1px solid #005377;
}

.frontpage-widgets-bottom h4.tribe-event-title {
    font-size: 1.3rem;
    color:#51504c;
}

.frontpage-widgets-bottom h4.tribe-event-title a {
    color:#51504c;
}

.frontpage-widgets-bottom h4.tribe-event-title a:hover {
    text-decoration: underline; 
    color:#005377;
}

.frontpage-widgets-bottom .tribe-event-duration span {
    font-size: 1rem; 
    font-family: Raleway, Arial, sans-serif;
}

.frontpage-widgets-bottom p.tribe-events-widget-link {
    background-color:#edf9ff;
    border: 1px solid #006E9E;
    border-radius: 2px;
    margin:12px 25% 0px 25%;
    padding: 1px 12px 2px 12px;
    width:auto;
    text-align:center;
    font-family: Raleway, Arial, sans-serif;
}

.frontpage-widgets-bottom p.tribe-events-widget-link a {
    text-decoration: none;
    color:#005377;
    font-weight:400;
    font-size:18px;
}

.frontpage-widgets-bottom p.tribe-events-widget-link a:hover {
    text-decoration: underline;    
}

**/

h2.widget-title+ul {
    color:#51504c;
    list-style: none;
    margin: 0;
    padding: 0;
}

h2.widget-title+ul>li ul {
    color:#5b5a55;
    list-style: none;
    margin: 0 1em 1em 1em;
    padding-left: 0.1em;
    border-bottom: thin #cfcfcc solid;
}

h2.widget-title+ul>li:last-of-type ul {
    border-bottom: 0;
}

h2.widget-title+ul>li li:last-of-type {
    padding-bottom: 1em;
}


/**--------------------------------------------------------------
#### Twitter Widget
--------------------------------------------------------------**/

@media (max-width: 977px) {
    aside.frontpage-widgets-bottom section.widget_weblizar_twitter {
    display:none;
    }
}

@media (pointer: none) {
    aside.frontpage-widgets-bottom section.widget_weblizar_twitter {
    display:none;
    }
}

/**--------------------------------------------------------------
#### Search Widget
--------------------------------------------------------------**/

section.widget_search form.search-form {
	float:left;
    width:100%;
}

form.search-form input.search-field {
	float:left;
    width:calc(100% - 110px);
    min-width: 248px;
    margin-left:2%;
    margin-right:2%;
}

form.search-form input.search-submit {
    clear:both;
	float:right;
}


.frontpage-widgets-bottom section.widget_search input.search-field {
    color:#006E9E;
/** width:100%; **/
    border: 1px dotted #005377;
    border-radius: 0;
    padding-left:10px;
}

.frontpage-widgets-bottom section.widget_search input.search-submit {
    font-family: Raleway, Arial, sans-serif;
    color:#005377;
    background-color:#edf9ff;
    margin-top:8px;
    float:right;
    border: 2px solid #005377;
    border-radius: 6px;
}

section.widget_search input.search-submit:hover {
    text-decoration:underline;
    box-shadow: 0 0 2px 2px #b2e8ff;
}

/*--------------------------------------------------------------
### Footer Areas
--------------------------------------------------------------*/
.site-footer {
    position: relative;
    padding: 1em;
    font-family: Raleway, Arial, sans-serif;
    color: #fff;
    background-color: #005377;
    text-align:center;
}

@media screen and (min-width: 500px){
        .site-footer {
            padding: 1em 2em;
        }
}

div.site-info {
    display: none;
}

@media screen and (max-width: 657px){
    aside#footer_widgets section {
        clear: both;
    }
}

aside#footer_widgets section {
    float:right;
}

aside#footer_widgets section:last-child {
    clear: left;
    text-align: center;
    width:100%;
    padding-top:.5em;
    border-top: 1px dotted #ffffff;
}

aside#footer_widgets section:last-child p {
    margin: 0;
    padding: 0;
}

aside#footer_widgets section.widget_nav_menu ul.menu {
    text-align: right;
    margin: .5em;
    padding: .5em;
    list-style-type: none;
}

aside#footer_widgets section.widget_nav_menu a {
    color: #FFFFFF;
}



/*--------------------------------------------------------------
### Media Queries
--------------------------------------------------------------*/
/**--------------------------------------------------------------
#### Header
--------------------------------------------------------------**/

@media screen and (max-width: 810px){
  
    .site-header_everything {
        position:relative;
        height:200px;
        margin-bottom:5%;
    }
    
    .site-branding {
        position:absolute;
        bottom:36px;
        width:39%;
        min-width: 276px;
        padding-left:.5em;
    }
    
    .line-maker {
        border-bottom:none;
    }
    
    .secondary-navigation {
		border-bottom:1px solid rgb(172,172,172);
        
    }
    
    #menu-social-icons-menu li:nth-child(1) {
        display:flex;
    }
    
}


@media screen and (max-width: 760px){

    .line-maker {
        margin: 0 1em;
    }
    
    .social-navigation {
        margin-right:0;
    }
    
    .social-navigation ul {
        background-color: #F6F6F5;
    }

    .secondary-navigation {
		margin: 6px 0 0 0;
        
    }

    nav.main-navigation {
        margin-right:1em;
    }
    
}


@media screen and (max-width: 646px){
    
    .site-header_everything {
        position:relative;
        height:19vw;
        min-height:100px;
        margin-top:0;
        margin-left:0;
        margin-right:0;
        padding: 0;
    }
    
    #subheaderstructure {
        width:100%;
        margin: 0;
        padding: 0;
        border-bottom:1px solid rgb(172,172,172);
    }
    
    .line-maker {
        width:100%;
        margin:0;
        padding: 0;
    }

    .social-navigation {
        display:block;
        margin:0 25% 0 0;
        font-size:1.25rem;
    }
    

    
}

/*--------------------------------------------------------------
### Media Queries
--------------------------------------------------------------*/
/**--------------------------------------------------------------
#### Main Content
--------------------------------------------------------------**/
/***-------------------------------------------------------------
##### Front-Page
-------------------------------------------------------------***/
/***-------------------------------------------------------------
##### "Parent" Page
-------------------------------------------------------------***/

@media screen and (max-width: 810px){

    div.type-page_all-content div.entry-content{
        width:100%;
        min-width:0;
    }

    div.type-page_all-content aside {
        width:100%;
    }
    
    div.type-page_all-content nav>ul {
        background-color: #a31621;
    }    

    div.type-page_all-content span {
        display:none;
    }
    
    .widget-area_type-page-page section {
        max-width:80%;
        float:right;
        padding: .2em;
        margin:0;
        background-color:#a31621;
        border-top: 2px solid white;
        border-left: 2px solid white;
        position:relative;
        top:-2vw;
        right:-.1em;
        display:flex;
    }

    .widget-area_type-page-page h2.widget-title {
        display:none;
    }
    
/*    
    .widget-area_type-page-page h2.widget-title {
        display:flex;
        border: none;
        color:white;
        font-size:.8em;
        padding:0;
        margin-right:-53px;
        width:53px;
        white-space: nowrap;
        overflow:hidden;
        text-overflow:clip;
        direction:rtl;
    }
*/
    
    .widget-area_type-page-page div.menu-children-container {
        display:flex;
    }
    
    .widget-area_type-page-page ul {
		display: flex;
        flex-wrap:wrap;
		justify-content: flex-end;
        margin: 0;
		padding: 0;
        list-style: none;
    	font-family: Raleway, Arial, sans-serif;
        font-size:.8em;
    }

    .widget-area_type-page-page ul li{
        padding: 0 .5em;
    }
    
    .widget-area_type-page-page ul li:first-child {
        margin-left:53px;
    }

    .widget-area_type-page-page li {
        position: relative;
        color:white;
    }

    .widget-area_type-page-page a {
        display: inline-block;
        width: 100%;
        text-decoration: none;
        padding: 0 .2em;
        color:white;
    }
    
    .widget-area_type-page-page a:hover,
    .widget-area_type-page-page a:focus {
        text-decoration: underline;
        color: #3d3c39;
        border-color: white;
        background-color:#ECECEB;
    }
}


@media screen and (max-width: 499px){

    .widget-area_type-page-page h2.widget-title {
        margin-right:-40px;
        width:40px;
    }
    
    .widget-area_type-page-page ul li:first-child {
        margin-left:40px;
    }

}

div.Front_Page-Content-Widget_1-middle {
	background-color:#f5e7e8;
	padding: 2vw;
	margin: 1vw 2vw 2vw 2vw;
	border:thin solid #ecd0d2;
}

div.Front_Page-Content-Widget_1-middle p, div.Front_Page-Content-Widget_1-middle ul {
}

div.Front_Page-Content-Widget_1-middle h2 {
    font-size:24px;
    text-align: center;
	background-color:#ffffff;
	border:thin solid #daa1a6;
	border-bottom:medium solid #daa1a6;
	padding: 2vw;
	margin: 0 0 2vw 0;
}

div.Front_Page-Content-Widget_1-middle_body {
	background-color:#ffffff;
	padding: .5vw 2vw 2vw 2vw;
}

@media screen and (max-width: 810px){
section.jetpack_subscription_widget{
   display:none;
    }
}


section.jetpack_subscription_widget h2.widget-title{
    padding: 24px 0 .3em 0;
    font-size: 20px;
    color: #a31621;
    max-width: 280px;
    border-bottom: this solid #a31621;
    }

section.jetpack_subscription_widget div>p {
    margin: 10px 0;
    }
    
p#subscribe-submit button {
    border: 1px solid #474642;
    border-radius: 1px;
    background: #d0cfcc;
    color: #3d3c39;
    font-size: 16px;
    font-size: 1rem;
    line-height: 1;
    padding: .5em 1em;
}

div.entry-content p#subscribe-email input {
    width:calc(70% - 2vw);
    max-width:360px;
    float:left;
    margin-right:2vw;
}

div.entry-content div.jetpack_subscription_widget {
    margin-left:100px;
    margin-bottom:2em;
}

div.entry-content div.jetpack_subscription_widget>h2.widgettitle{
    display:none;
}

div.entry-content div#subscribe-text>p{
    margin:4px 0 0 0;
}

/***-------------------------------------------------------------
##### "Child" Page
-------------------------------------------------------------***/


@media screen and (max-width: 810px){

    div.type-child_page_all-content div.entry-content{
        width:100%;
        min-width:0;
    }

    div.type-child_page_all-content aside {
        width:100%;
    }
    
    div.type-child_page_all-content nav>ul {
        background-color: #a62d00;
    } 

    div.type-child_page_all-content span {
        display:none;
    }

    .widget-area_type-page-child section {
        max-width:80%;
        float:right;
        padding: .2em;
        margin:0;
        background-color:#a62d00;
        border-top: 2px solid white;
        border-left: 2px solid white;
        position:relative;
        top:-2vw;
        right:-.1em;
        display:flex;
    }

    .widget-area_type-page-child section.widget_nav_menu {
        display:none;
    }    

    .widget-area_type-page-child h2.widget-title {
        display:flex;
        border: none;
        color:white;
        font-size:.8em;
        padding:0;
        margin-right:-77px;
        white-space: nowrap;
    }
    
    .widget-area_type-page-child div.tagcloud {
        display:flex;
        flex-wrap:wrap;
		justify-content: flex-end;
    }

    div.tagcloud a {
    	font-family: Raleway, Arial, sans-serif;
        font-size:.8em;
    }    

    .widget-area_type-page-child a {
		display: flex;
        flex-wrap:wrap;
		justify-content: flex-end;
        margin: 0;
		padding: 0;
        list-style: none;
    	font-family: Raleway, Arial, sans-serif;
        font-size:.8em;
    }

    
    .widget-area_type-page-child ul {
		display: flex;
        flex-wrap:wrap;
		justify-content: flex-end;
        margin: 0;
		padding: 0;
        list-style: none;
    	font-family: Raleway, Arial, sans-serif;
/*      font-size:.8em; */
    }
    
    .widget-area_type-page-child ul li{
        padding: 0 .5em;
    }
    
    .widget-area_type-page-child div a:first-child {
        margin-left:77px;
        font-size:16px;
    }

    .widget-area_type-page-child a {
        position: relative;
        color:white;
    }

    .widget-area_type-page-child a {
        text-decoration: none;
        padding: 0 .2em;
        color:white;
    }
    
    .widget-area_type-page-child a:hover,
    .widget-area_type-page-child a:focus {
        text-decoration: underline;
        color: #3d3c39;
        border-color: white;
        background-color:#ECECEB;
    }
}


@media screen and (max-width: 499px){

    .widget-area_type-page-child h2.widget-title {
        margin-right:-62px;
    }
    
    .widget-area_type-page-child div a:first-child {
        margin-left:62px;
    }

}




/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	/* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

.custom-logo-link {
    display: inline-block;
    }

img.size-wide-feature {
    object-fit: cover;
    object-position: center center;
    max-height: 45vh;
}

figure.decorative_theme_break {
    object-fit: cover;
    object-position: center center;
    width:calc(100% - 1em) !important;
    height:auto
}




figure.img_column_flex_basis_no_excerpt {
    width:100% !important;
}

figure.img_column_flex_basis_no_excerpt img {
    object-fit: cover;
    object-position: center center;
    width:100%;
    height:auto;
/*  max-height:120px;*/
}

@media screen and (max-width: 781px){

figure.img_column_flex_basis_no_excerpt {
    margin-bottom:0;
}
figure.img_column_flex_basis_no_excerpt img {
    display:block;
    object-fit: cover;
    object-position: center center;
    width:100%;
    height:auto;
    margin-bottom:0;
}

}

@media screen and (max-width: 599px){

figure.img_column_flex_basis_no_excerpt {
    margin-bottom:0;
}
figure.img_column_flex_basis_no_excerpt img {
    display:block;
    object-fit: cover;
    object-position: center center;
    width:100%;
    max-height:12vh;
    margin-bottom:0;
}

}





figure.img_column_flex_basis {
    width:100% !important;
}

figure.img_column_flex_basis img {
    object-fit: cover;
    object-position: center center;
    width:100%;
    height:auto;
/*  max-height:120px;*/
}

@media screen and (max-width: 781px){

figure.img_column_flex_basis {
    margin-bottom:0;
}

figure.img_column_flex_basis img {
    display:block;
    object-fit: cover;
    object-position: center center;
    width:100%;
    height:auto;
    margin-bottom:0;
}

div.img_column_flex_basis {

}

}



/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 2vw;
	max-width: 100%;
/*  background-color:#F6F6F5; */
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 1vw 0 1vw 0;
}

@media screen and (min-width:1000px) {

    .wp-caption {
        margin-bottom: 20px;
    }

    .wp-caption .wp-caption-text {
	   margin: 20px 0 20px 0;
    }

}

.wp-caption-text {
	text-align: center;
    color:#51504c;
    font-family: Raleway, Arial, sans-serif;
    font-size; 14pt;
    
}

figure.yt-embed-full_width {
    height: auto;
    width: 100% !important;
}


/*--------------------------------------------------------------
## Captions_Gutenberg
--------------------------------------------------------------*/
div figure {
	margin-bottom: 2vw;
    width: calc(100% - 220px) !important;
    background-color:#F6F6F5;
}

div figure img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

div figure {
	margin: 1vw 0 1vw 0;
}

@media screen and (min-width:1000px) {

    div figure {
        margin-bottom: 20px;
    }

    div figure {
	   margin: 20px 0 20px 0;
    }

}

    div figure  {
	text-align: center;
    color:#51504c;
    font-family: Raleway, Arial, sans-serif;
    font-size: 14pt;
    
}

figcaption {
    display: none;
}

.wp-block-image .aligncenter>figcaption,
.wp-block-image .alignleft>figcaption,
.wp-block-image .alignright>figcaption,
.wp-block-image.is-resized>figcaption {
 display:none;
}

div.showcaption > figure.aligncenter > figcaption,
div.showcaption > figure.alignleft > figcaption,
div.showcaption > figure.alignright > figcaption,
div.showcaption > figure.is-resized > figcaption {
    display:table-caption;
    caption-side:bottom
}


/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

@media screen and (max-width:976px){
       
section#rpwe_widget-7 div.rpwe-block.rpwe_top_widget ul li {
	clear:none;
    }
    
section#rpwe_widget-7 div.rpwe_top_widget ul li:nth-child(3) {
    margin-bottom: inherit;
}
    
section#rpwe_widget-10 div.rpwe-block.rpwe_top_widget ul li {
	clear:none;
    }

section#rpwe_widget-10 div.rpwe_top_widget ul li:nth-child(3) {
    margin-bottom: inherit;
}

section#rpwe_widget-7 div.rpwe-block.rpwe_top_widget img {
	width:100%;
    }
    
section#rpwe_widget-10 div.rpwe-block.rpwe_top_widget img {
	width:100%;
    }

}

div.profile_pic figure {

    min-width:180px;

}

div.btn-group {
    width:100%;
    margin:auto;
    margin-top:1em;
    margin-bottom:1.5em;
}

.btn-group button {

    background-color: #005377;
    border-left: 1px solid #ffffff;
    border-right: 1px solid  #ffffff;
    border-top: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    border-radius: 5px;
    font-size:20px;
    color: white; /* White text */
/*    padding: 10px 24px; */
    cursor: pointer; /* Pointer/hand icon */
    float: left; /* Float the buttons side by side */
    width: calc(25% - 2px);
    min-width:148px;
  
}

/*
.btn-group button:not(:last-child) {
    border-right: none;
}
 */


/* Clear floats (clearfix hack) */
.btn-group:after {
  content: "";
  clear: both;
  display: table;
}

/* Add a background color on hover */
.btn-group button:hover {
  background-color: #a31621;
}

@media screen and (max-width:680px) {
	div.btn-group {
		clear: both;
		margin:auto;
		width:50%			
	}

	.btn-group button {
		clear: both;
		margin:3px 10px;
        width: calc(100% - 20px);
        min-width:220px;
        border-color:#284b63;
	}
}

@media screen and (min-width:810px) and (max-width:920px) {
	div.entry-content div.btn-group {
		clear: both;
		margin:auto;
		width:50%			
	}

	div.entry-content div.btn-group button {
		clear: both;
		margin:3px 10px;
        width: calc(100% - 20px);
        min-width:220px;
        border-color:#284b63;
	}
}


aside.widget-area_type-page-child section:last-of-type {
    margin-bottom:24px;
}

.widget-area_type-page section.widget_search input.search-field {
    color: #006E9E;
    border: 1px dotted #005377;
    border-radius: 0;
    padding-left: 10px;
    margin-top:10px;
}

.widget-area_type-page form.search-form input.search-field {
    width:100%;
    min-width:0 !important;
    max-width:265px;
}


.widget-area_type-page section.widget_search input.search-submit {
    font-family: Raleway, Arial, sans-serif;
    color: #005377;
    background-color: #edf9ff;
    margin-top: 8px;
    float: right;
    border: 2px solid #005377;
    border-radius: 6px;
}

@media screen and (max-width: 810px){
	.widget-area_type-page section.widget_search {
		display:none;
	}
}

.cvp-responsive-image[style*="background-image"] {
    max-width: 640px !important;
    width: 100% !important;
}

@media screen and (min-width:0\0) and (min-resolution: +72dpi) {
    .ie9up i { 
        display: none;
    }
}

	
@media \0screen\,screen\9 {
    .ie678 i {
        display: none;
    }
}


_:-ms-fullscreen, :root .ie11up i {
        display: none;
    }
    
    
.wp-block-advgb-table td, .wp-block-advgb-table tr {
    word-break: break-word;
}

    
#post-5123 .wp-block-advgb-table td, .wp-block-advgb-table tr {
    word-break: normal;
}


@media screen and (min-width:0px) and (max-width:350px){
    .wp-block-advgb-table td {
        font-size:14px !important;
}    
}

@media screen and (min-width:351px) and (max-width:500px){
    .wp-block-advgb-table td {
        font-size:4vw;
}    
}

@media screen and (min-width:501px){
    .wp-block-advgb-table td {
        font-size:20px;
}    
}

