@font-face {
    font-family: 'sourcesanspro_regular';
    src: url('../f/sourcesanspro-regular-webfont.woff2') format('woff2'),
        url('../f/sourcesanspro-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'greatvibes';
    src: url('../f/greatvibes-regular-webfont.woff2') format('woff2'),
        url('../f/greatvibes-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


@font-face {
font-family: 'texgyreadventor_regular';
src: url('../f/texgyreadventor-regular-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: 'texgyreadventor_bold';
src: url('../f/texgyreadventor-bold-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}

:root {
--base:#fff;
--accent:#003540; /* teal */
--accent-2:#003D47; /* lighter teal */
--accent-3:#DDC900; /*  gold */
--width: 1040px;
}

body {
background: var(--base);
background-size: 35vw auto;
font-family:'sourcesanspro_regular', -apple-system,BlinkMacSystemFont,segoe ui,Roboto,Helvetica,Arial,sans-serif,apple color emoji,segoe ui emoji,segoe ui symbol;
font-size: 130%;
margin: 0;
padding: 0;
line-height: 1.3;
}

a:focus { outline: 2px solid #0A74A9; border-radius: 2px; }

a { 
text-decoration: underline;
color: var(--accent-2);
}

a:hover, a:focus { 
color: var(--accent);
text-decoration: underline;
}

a:active { 
color: #000;
text-decoration: underline;
}

/* header and footer */

.content, .fullwidthinner {
max-width: var(--width);
margin-left: auto;
margin-right: auto;
padding: 0 1em;
}

body.page .bannerx {
height: 1em;
}

body.headerbanner .banner, body.topbanner .banner {
min-height: 6em;
}

.banner {
background-color: var(--accent);
background: linear-gradient(90deg, rgba(0,53,64,1) 0%, rgba(0,61,71,1) 80%, rgba(0,61,71,1) 100%);
}

header {
background: var(--accent);
background: linear-gradient(90deg, rgba(0,53,64,1) 0%, rgba(0,61,71,1) 80%, rgba(0,61,71,1) 100%);
color: var(--base);
text-align: center;
margin: 0 0 3em 0;
padding: 1.5em 6em;

display: flex;
justify-content: space-between;
}

#logo img {
vertical-align: middle;
height: 3.5em;
width: auto;
margin-right: .3em;
}

footer {
text-align: center;
margin-top: 6em;
margin-bottom: 0;
padding: 6em 3em;
font-size: 70%;
color: #fff;
}

footer p, footer a, footer a:hover, footer a:focus {
color: #fff;
}

/* navigation */

nav {
margin: auto 0;
text-align: center;
}

nav ul {
margin: 0;
}

nav li {
text-align: left;
display: inline;
background: none;
vertical-align: super; /* middle on full image logo */
margin: 0; /* margin: 0 0 .5em 1em;*/
padding: 0;
}

nav li a {
font-family: 'texgyreadventor_regular', sans-serif;
font-weight: normal;
text-transform: uppercase;
color: var(--base);
font-size: 70%; /* 85% */
text-decoration: none;
padding: 0 .7em;
line-height: 3.5em;
display: inline-block;
}

nav li a:hover, nav li a:focus {
color: var(--accent-3);
text-decoration: underline;
}

nav a.active {
color: var(--base);
}

nav li a img {
vertical-align: middle;
}

nav.navbar {
background: var(--accent-2);
padding: 0 1em;
}

nav.navbar a {
color: #fff;
}

nav.navbar a:hover, nav.navbar a:focus {
text-decoration: underline;
color: #fff;
}

nav.navbar li a.active {
background: var(--accent);
}

/* general */

h1, h2, h3 {
font-family: 'texgyreadventor_bold', sans-serif;
font-weight: normal;
text-align: left;
text-transform: uppercase;
}

body.privacypage h2, body.privacypage h3 {
text-align: left;
}

h1 {
text-align: center;
font-size: 200%;
color: var(--accent-2);
margin-bottom: -.2em;
}

h2 {
margin-top: 1em;
font-size: 175%;
color: var(--accent-2);
}

h3 {
margin-top: 1em;
font-size: 120%;
color: var(--accent-2);
}

.center {
text-align: center;    
}

.noupper {
text-transform: none;
}

p {
margin: 1.2em 0;
}

.small {
font-size: 80%;
}

.lead {
font-family: 'texgyreadventor_regular', sans-serif;
font-weight: normal;
font-size: 100%;
}

#back-to-top {
z-index: 1000;
background: rgba(0,0,0,.6);
transition: all 200ms linear;
}

#back-to-top:hover, #back-to-top:focus {
background: rgba(0,0,0,9);
}

/* header in banner */

.banner header h1, .banner header h1 span, .banner header p {
color: var(--base);
}

.banner header h1 {
text-shadow: 0.05em 0.05em 0 rgba(0,0,0,.5);
}

.banner header h1 img {
filter: drop-shadow(0.05em 0.05em 0 rgb(0 0 0 / .5));
}

.banner header .lead {
text-shadow: 0.1em 0.1em 0 rgba(0,0,0,.5);
}

/* fullwidth background and panels */

.fullwidth {
margin-top: 4em;
margin-bottom: 3em;
margin-left: calc(-100vw / 2 + 100% / 2);
margin-right: calc(-100vw / 2 + 100% / 2);
max-width: 100vw;
width: auto;
padding-top: 1em;
padding-bottom: 2em;

background: #222;
color: #fff;
}

.fullwidth::after {
content: '';
background: url(../images/downarrow.svg) no-repeat top center;
background-size: 100% auto;
width: 80px;
height: 50px;
display: block;
margin: 0 auto;
}

.widewidth {
margin-top: -1em;
margin-bottom: 2em;
margin-left: -1.5em;
width: calc(90% + 8em);
}

#fullwidthback {
background:var(--accent);
background-size: cover;
box-shadow: 0 0 20px rgb(0 0 0 / 80%) inset;
}

.blackpanel {
background: rgba(0,0,0,.7);
margin: 2em 0;
padding: 1em 2em;
color: #fff;
width: 50%;
border-radius: 5px;
}

.blackpanel h2, .blackpanel h3, .blackpanel strong, .blackpanel a {
color: #fff;
margin-top: .5em;
}


/* misc */

ul {
padding-left: 0;
}

li {
margin-bottom: 1em; 
list-style: none;
background: url(../images/icon-right-chevron.svg) no-repeat 0 0;
background-size: .7em auto;
background-position: 0.25em 50%;
padding: .5em 0 .5em 1.5em;
}

p strong, li strong {
color: var(--accent-2);
}

main img, #map {
display: block;
margin: 0 auto;
max-width: 100%;
height: auto;
border-radius: 10px;
box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

main img.noshadow {
box-shadow: none;
}

main img.imgc {
display: block;
margin: auto;
}

blockquote {
background: #eee;
margin: 0;
padding: 0.1em 1em 1em 1em;
font-style: italic;
font-size: 120%;
}

blockquote cite {
font-size: 80%;
}

hr {
border: 0;
border-top: .1em solid var(--accent-3);
margin: 2em;
}


/* Features */

.features {
display: flex;
flex-wrap: wrap;
justify-content: center;
width: calc(100% + 2em);
margin: -1em 0 3em -2em;
padding: 0;
list-style: none;
}

.features li {
width: calc(50% - 2em);
margin-left: 2em;
margin-top: 3em;
padding: 0;
background: none;
text-align: center;
}

.features li:nth-child(1), .features li:nth-child(2), .features li:nth-child(3) {
margin-top: 0;
}

.features li > :last-child {
margin-bottom: 0;
}

.features li img {
width: 50%;
border-radius: 0;
box-shadow: none;
}

.features li h3 {
font-family: 'greatvibes', sans-serif;
text-transform: none;
text-align: center;
font-size: 210%;
margin: 0.5em 0 -0.3em 0;
}

.features li p {
font-size: 90%;
}

/* gallery */

.gallery {
display: flex;
flex-wrap: wrap;
margin: 2em 0 0 -1.25rem;
width: calc(100% + 1.25rem);
list-style: none;
}

.gallery li {
display: block;
margin: 1.25rem 0 0 1.25rem;
width: calc(50% - 1.25rem);
background: none;
padding: 0;
}

.gallery.threeimages li {
width: calc(33.3% - 1.25rem);
}

/* infobox */

.infobox {
display: flex;
flex-flow: row wrap;
align-items: center;
margin-top: 2em;
margin-bottom: 2em;
}

.imgarea {
flex: 3;
}

.imgarea.imgsml {
flex: 2;
}

.imgarea.imgxsml {
flex: 1;
}

.infoarea {
flex: 4;
margin: auto auto auto 2em;
}

.infoarea.infowide {
flex: 5;
}

.infoarea h2 {
text-align: left;
margin-top: 0;
font-size: 130%;
line-height: 1.1;
}

.infoarea h3 {
text-align: left;
margin-top: 0;
}

.infoarea.sml p {
font-size: 90%;
}



/* tables */

table {
width: 100%;
border-collapse: collapse;
border-width: 0px;
border-color: var(--accent-2);
border-style: solid;
}

table thead {
background-color: var(--accent-2);
color: var(--base);
text-align: left;
font-family: 'texgyreadventor_regular', sans-serif;
font-weight: normal;
text-transform: uppercase;
}

table td, table th {
border-width: 0px;
border-color: var(--accent);
border-style: solid;
padding: .8rem;
}

table th {
font-weight: normal;
padding-top: .8rem;
font-size: 90%;
}

tr:nth-child(even) {
background-color: #efefef;
}


/* form */

button, input, select, textarea {
font-family: inherit;
}

label {
margin:0 0 3px 0;
padding:0px;
display:block;
color: var(--accent-2)!important;
font-family: 'texgyreadventor_bold', sans-serif!important;
font-weight: normal;
text-transform: uppercase;
}
input[type=text], 
input[type=date],
input[type=datetime],
input[type=number],
input[type=search],
input[type=time],
input[type=url],
input[type=email],
textarea, select{
box-sizing: border-box;
border: 0;
background: var(--base);
color: #111;
padding: 10px 15px;
margin:0px;
border: 1px solid var(--accent);
outline: none;	
font-size: inherit;
}
input[type=text]:focus, 
input[type=date]:focus,
input[type=datetime]:focus,
input[type=number]:focus,
input[type=search]:focus,
input[type=time]:focus,
input[type=url]:focus,
input[type=email]:focus,
textarea:focus, 
select:focus{
border: 1px solid var(--accent-2);
}
input[type="checkbox"],input[type='radio'] {
width: 1.5em;
height: 1.5em;
margin-right: 0.5em;
vertical-align: text-top;
}
select{
width: 100%;
}
textarea{
min-height: 150px!important;
}
button, input[type=submit], input[type=button], .button{
font-family: 'texgyreadventor_bold', sans-serif!important;
font-weight: normal;
text-transform: uppercase;
background: var(--accent-2);
color: #fff;
padding: 10px 18px 12px 18px;
border: none;
font-size: inherit;
text-decoration: none;
border-radius: 0;
}
button:hover, input[type=submit]:hover, input[type=button]:hover, .button:hover, button:focus, input[type=submit]:focus, input[type=button]:focus, .button:focus {
background: var(--accent);
color: #fff;
text-decoration: none;
}

a.button {
display: inline-block;
}

.cog-abuse {display: none;}
.cog-abuse li {
background: none;
padding: auto;
}

/* mailchimp */

.mc-field-group input {
width: 100%;
}

.mc-field-group {
margin: .5em 0;
}

.mc_embed_shell .nope {
display: none!important;
}

.blackpanel label {
color: #fff!important;
}


/* media queries */

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

.widewidth {
margin-left: 0;
margin-right: 0;
width: 100%;
}

body.page header {
display: block;
margin-bottom: 1em;
padding-bottom: 1em;
}

h1 {
text-align: center;
margin-bottom: .5em;
font-size: 180%;
}

}


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

header, footer, .content, .fullwidthinner {
max-width: 85%;
}

}

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

.banner, body.topbanner .banner {
min-height: 3em;
}

header {
margin-bottom: 1.5em;
}

.banner header {
margin-top: 0;
padding-top: 2.5em;
padding-bottom: 2.5em;
}

body.page #logo img {
height: 3em;
}

nav li a {
line-height: 3em;
}

footer {
margin-top: 4em;
margin-bottom: 4em;
}

h1 {
font-size: 200%;
}

h2 {
font-size: 150%;
}

h3 {
font-size: 120%;
}

.features {
width: 100%;
margin: 0 0 2em 0;
}

.features li {
width: 100%;
margin-left: 0;
margin-top: 2em;
}

.features li:nth-child(2), .features li:nth-child(3) {
margin-top: 2em;
}

.gallery {
margin-top: -1em;
}

.gallery img {
display: block;
margin: 1em 0 0 0;
width: 100%;
}

.imgarea, .imgarea.imgsml, .imgarea.imgxsml {
flex: 1 100%;
}

.infoarea, .infoarea.infowide {
flex: 1 100%;
margin-top: 1.5em;
margin-left: 0;
}

.infoarea h3 {
text-align: center;
margin-top: 1em;
}

.blackpanel {
width: auto;
}

}


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

.banner, body.topbanner .banner {
min-height: 2.5em;
}

header {
margin-bottom: 1.25em;
}

nav.navbar {
padding: 0;
}

body.page nav {
margin-left: calc(-100vw / 2 + 100% / 2);
margin-right: calc(-100vw / 2 + 100% / 2);
max-width: 100vw;
width: auto;
}

body.page #logo img {
height: 2em;
}

h1 {
font-size: 120%;
}

h2 {
text-align: left;
font-size: 110%;
}

h3 {
text-align: left;
font-size: 90%;
}

.lead {
font-size: 105%;
}

.blackpanel {
margin: 1em 0;
padding: 1em 1.5em;
}

blockquote {
font-size: 100%;
}

.widewidth {
max-width: auto;
}

.gallery {
display: block;
width: 100%;
margin-left: 0;
}

.gallery li {
margin: 1.25rem 0 0 0;
width: 100%;
}

.gallery.threeimages li {
width: 100%;
}

.gallery img {
display: block;
margin: 2em 0 0 0;
width: 100%;
}

table {
font-size: 75%;
}

}


html {
scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {
html {
scroll-behavior: auto;
}
}