/* General Style */

/*--------------------------------------------------------------
Normalize
--------------------------------------------------------------*/

/* Render the `main` element consistently in IE. */
main {
  display: block;
}

/* Correct the font size and margin on `h1` elements within `section` and `article` contexts in Chrome, Firefox, and Safari. */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* 1. Add the correct box sizing in Firefox. 2. Show the overflow in Edge and IE. */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/* 1. Correct the inheritance and scaling of font size in all browsers. 2. Correct the odd `em` font sizing in all browsers. */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Remove the gray background on active links in IE 10. */
a {
  background-color: transparent;
}

/* 1. Remove the bottom border in Chrome 57- 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/* 1. Correct the inheritance and scaling of font size in all browsers. 2. Correct the odd `em` font sizing in all browsers. */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Add the correct font size in all browsers. */
small {
  font-size: 80%;
}

/* Prevent `sub` and `sup` elements from affecting the line height in all browsers. */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* 1. Change the font styles in all browsers. 2. Remove the margin in Firefox and Safari. */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/* Show the overflow in IE. 1. Show the overflow in Edge. */
button,
input { /* 1 */
  overflow: visible;
}

/* Remove the inheritance of text transform in Edge, Firefox, and IE. 1. Remove the inheritance of text transform in Firefox. */
button,
select { /* 1 */
  text-transform: none;
}

/* Correct the inability to style clickable types in iOS and Safari. */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/* Remove the inner border and padding in Firefox. */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/* Restore the focus styles unset by the previous rule. */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/* Correct the padding in Firefox. */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/* 1. Correct the text wrapping in Edge and IE. 2. Correct the color inheritance from `fieldset` elements in IE. Remove the padding so developers are not caught out when they zero out `fieldset` elements in all browsers. */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/* Add the correct vertical alignment in Chrome, Firefox, and Opera. */
progress {
  vertical-align: baseline;
}

/* Remove the default vertical scrollbar in IE 10+. */
textarea {
  overflow: auto;
}

/* 1. Add the correct box sizing in IE 10. 2. Remove the padding in IE 10. */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/* Correct the cursor style of increment and decrement buttons in Chrome. */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/* 1. Correct the odd appearance in Chrome and Safari. 2. Correct the outline style in Safari. */
[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/* Remove the inner padding in Chrome and Safari on macOS. */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/* 1. Correct the inability to style clickable types in iOS and Safari. 2. Change font properties to `inherit` in Safari. */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Add the correct display in Edge, IE 10+, and Firefox. */
details {
  display: block;
}

/* Add the correct display in all browsers. */
summary {
  display: list-item;
}

/* Add the correct display in IE 10+. */

template {
  display: none;
}

/* Add the correct display in IE 10. */
[hidden] {
  display: none;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/

.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;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #444;
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000; /* Above WP toolbar. */
}

/*--------------------------------------------------------------
CSS Breakpoints
--------------------------------------------------------------*/

/* mobile         = 0   - 480 */
/* mobile-tablet  = 0   - 768 */
/* tablet         = 481 - 768 */
/* tablet-desktop = 481 - --  */
/* desktop        = 769 - --  */


.tablet, .tablet-flex, .tablet-desktop, .tablet-desktop-flex, .desktop, .desktop-flex {
    display:none;
}
.mobile, .mobile-tablet {
    display:block;
}
.mobile-flex, .mobile-tablet-flex {
    display:flex;
}

@media screen and (min-width: 481px) and (max-width: 768px) {
    
    .mobile, .mobile-flex, .desktop, .desktop-flex {
        display:none;
    }
    .mobile-tablet, .tablet, .tablet-desktop {
        display:block;
    }
    .mobile-tablet-flex, .tablet-flex, .tablet-desktop-flex {
        display:flex;
    }
}

@media screen and (min-width: 769px) {
    
    .mobile, .mobile-flex, .mobile-tablet, .mobile-tablet-flex, .tablet, .tablet-flex {
        display:none;
    }
    .tablet-desktop, .desktop {
        display:block;
    }
    .tablet-desktop-flex, .desktop-flex {
        display:flex;
    }
}

/*--------------------------------------------------------------
Site
--------------------------------------------------------------*/

html {
    line-height: 1.15;
    text-size-adjust;100%;
}

body {
    background-color:var(--main-background-color);
	font-family: 'Calibri', 'Arial', sans-serif;
    font-weight: 400;
    font-size: 1.1em;
    color: var(--text-color);
    margin:0px;
    line-height: 1.5;
}

/* Make Site Flex with Sticky Footer*/
.flexsite {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    height: 100vh;
}

body.admin-bar.flexsite {
    min-height: calc(100vh - var(--footer-height));
    height: calc(100vh - var(--footer-height));
}

.flexsite-content {
    flex: 1 0 auto;
}

.contained {
    margin-left:30px;
    margin-right:30px;
}

@media screen and (min-width: 769px) and (max-width: 1399px) {
    .contained {
        margin-left:100px;
        margin-right:100px;
    }
}

@media screen and (min-width: 1400px) {
    .contained {
        max-width:var(--max-width, 1200px);
		width:var(--max-width, 1200px);
        margin-left:auto;
        margin-right:auto;
    }
}

article {
	/*
	max-width:1000px;
    margin-left:auto;
    margin-right:auto;
	*/
}

img {
    height: auto;
    max-width: 100%;
    border-style: none;
    border-radius:var(--border-radius);
    vertical-align: middle;
}

picture {
    vertical-align: middle;
}

a {
    text-decoration: none;
    font-weight: 700;
    color: var(--link-color);
}

a:hover {
    opacity: 0.7;
}

.link-color {
    color: var(--link-color) !important;
}

.text-color {
    color: var(--text-color) !important;
}

ul {
    margin-block-start: 0em;
    margin-block-end: 0em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 20px;
}

ul.indent-ul {
	margin-left:15px;
}

ul.unbulleted {
    list-style: none;
    padding-inline-start: 0px;
}

.bulleted::before {
  content: "\2022\00A0" ;
}

h1, h2, h3, h4, h5 {
    clear: both;
    font-weight: 600;
    line-height: 1;
    margin-block-start: 0;
    margin-block-end: 0;
    margin: 15px 0;
}

h1 {
    font-size: 2.0em;
}

h2 {
    font-size: 1.6em;
}

h3 {
  font-size: 1.4em;
}

h4 {
  font-size: 1.2em;
}

h5 {
  font-size: 1.0em;
}

h1,h2,h3,h4,h5 {
}

.center {
    justify-content: center;
    text-align: center;
}

.bold {
    font-weight: bold !important;
}

.italic {
    font-style: italic;
}

.block {
    display:block;
}

.flex {
    display:flex;
}

.displaynone {
    display:none;
}

.small {
    font-size:small;
}

.bordered {
    border: solid 1px var(--border-color);
}

.border-this-image {
    border: solid 1px var(--border-color);
}

.icons10 {
    height:10px;
    width:auto;
}

.icons15 {
    height:15px;
    width:auto;
}

.icons20 {
    height:20px;
    width:auto;
}

.icons25 {
    height:25px;
    width:auto;
}

.icons30 {
    height:30px;
    width:auto;
}

.serify {
	font-family: 'Lora', 'Georgia', serif;
    font-size: 0.9em;
}

hr {margin:30px 0px;}

select {
	padding:5px;
	border-radius: var(--border-radius);
	border:1px solid var(--border-color);
}

/*--------------------------------------------------------------
Search
--------------------------------------------------------------*/

form.search-form {
    display:flex;
    margin:0px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

form.search-form label {
    height:100%;
    flex-shrink:1;
    flex-grow:1;
}

form.search-form input {
    border:none;
    padding:5px;
}

form.search-form button {
    border:none;
    padding:1px 5px;
    flex-shrink:0;
    flex-grow:0;
    height:100%;
    border-radius:0px;
}
form.search-form button:hover {
    cursor:pointer; 
}

.search-form-container .search-field {
    width: 100%;
}

/*--------------------------------------------------------------
Google Translate
--------------------------------------------------------------*/

#google_translate_element { display:flex; justify-content:center; }
.goog-logo-combo { border-radius: var(--border-radius, 2px) !important; padding:7px !important;}
.skiptranslate { padding:7px; } 
@media screen and (min-width: 400px) {
    .skiptranslate { display:flex; align-items:center; }
	.goog-te-combo { border-radius: var(--border-radius, 2px) !important; padding:7px !important; margin-right:7px !important; }
	.goog-logo-link { margin-left:3px; padding:5px;}
}
