html, body {margin: 0; padding: 0;} html {-webkit-text-size-adjust: 100%; text-size-adjust: 100%;}

:root {--body-font: 19.5px/1.5 'SFProDisplay', Arial, Helvetica, sans-serif; letter-spacing: .7px;}

/*body {font: var(--body-font);}*/

@font-face {font-family: 'SFProDisplay'; font-style: normal; font-weight: 400; font-display: block;
  src: url('fonts/sfprodisplay-400.woff2') format('woff2'), url('fonts/sfprodisplay-400.woff') format('woff');
}
@font-face {font-family: 'SFProDisplay'; font-style: normal; font-weight: 500; font-display: block;
  src: url('fonts/sfprodisplay-500.woff2') format('woff2'), url('fonts/sfprodisplay-500.woff') format('woff');
}
@font-face {font-family: 'SFProDisplay'; font-style: normal; font-weight: 600; font-display: block;
  src: url('fonts/sfprodisplay-600.woff2') format('woff2'), url('fonts/sfprodisplay-600.woff') format('woff');
}

body {font-family: 'SFProDisplay', Arial, Verdana, Geneva; font-variant-ligatures: none;}

#width {position: fixed; top: 0; z-index: 20; padding: 0 3px; font-size: 11px; line-height: 14px; font-family: Arial; background-color: #FF0;}
a, a:visited {color: #2E3FE1;}
a {text-decoration: underline; text-decoration-thickness: 1px; text-decoration-style: dotted; text-underline-offset: .1em; cursor: pointer;}
a:focus-visible {outline: 2px solid #66AFE9; outline-offset: 2px;}
* {-webkit-tap-highlight-color: transparent;} img {border: 0;}
.phlink {color: inherit !important; text-decoration: none !important; white-space: nowrap;} .phlink:hover {cursor: text;}

/*------------------------------------*/

/*HEADER*/

/*#headtopback {outline: 4px solid red} #headtop {outline: 1px solid orange}
#headerback {outline: 4px solid purple} #headertext {outline: 1px solid cyan}
header {border: 1px solid colordark;} #logo {border: 1px solid red} #logo img {border: 1px solid magenta} #phone {border: 2px solid green}*/

#headtopback, #headerback {position: fixed; left: 0; right: 0;}
#headtopback {top: 0;} #headerback {z-index: 1;}
#headtopback, #headtop {height: 40px;} #headtop {display: table;}
#headtopback, #headtop, header {display: table; width: 100%; margin: auto; z-index: 2;}
#headtopback {z-index: 1}
#headtop, header {max-width: 1300px;}
#headertext {font-size: 16px; line-height: 1; vertical-align: middle; padding-top: 0; text-align: left; white-space: nowrap; display: table-cell; vertical-align: middle;}

#headerback, header {height: 80px;}
header {position: relative; text-align: center; box-sizing: border-box;}
#headerback {box-shadow: 0 3px 7px -5px #000;}
#logo {margin-top: -32px; z-index: 20000;} #logo img {display: block;}
#logo, #logo img {width: 120px;} #logo img {height: auto /*sdf*/;}

@media (max-width: 1370px) and (min-width: 501px) {#logo {margin-left: 30px;} #headertext {padding-left: 30px;} #phone {padding-right: 30px;}}
@media (min-width: 851px) {#headerback {top: 40px;} #homepic, main {margin-top: 120px;} #headerback::before {top: -40px; height: 40px;}}
@media (max-width: 850px) {
#headertext {line-height: 1.4;} #headertext span {display: block;}
#headtopback, #headtop {height: 60px;} #headerback {top: 60px;} #homepic, #toppic {margin-top: 140px;}
#headerback::before {content: ""; position: absolute; top: -60px; left: 0; right: 0; height: 60px; background-color: #AA0000;}
}
@media (max-width: 500px) {#logo {margin-left: 20px;}}
@media (max-width: 500px) and (min-width: 461px) {#headertext {padding-left: 20px;}}
@media (max-width: 460px) {
#headertext {visibility: hidden; padding: 0; margin: 0; height: 0; line-height: 0; font-size: 0;}
#logo {margin-top: -36px;}
}

/*needed to keep headertext in front of top tail of logo*/
#headtopback {z-index: 2; background: transparent !important;}
#headtop {background: transparent !important;}
#headerback::before {content: ""; position: absolute; left: 0; right: 0; background-color: #AA0000;}
#logo {position: relative;}
@media (max-width: 640px) {#headerback::before {top: -60px; height: 60px;}}


/*----------------*/

/*Phone or Text*/

#phone {display: table-cell; vertical-align: middle; line-height: 1; padding-top: 0; text-align: right; white-space: nowrap;}
#phone span {font-size: 17px; margin-right: 6px; text-transform: uppercase;}

.phone-wrapper {display: inline-block;}
.phone-wrapper img {width: 22px; height: 22px; margin: 0 12px 3px 0; vertical-align: middle;}
.phone-link {-webkit-user-select: none; user-select: none; cursor: pointer; font-size: 20px; font-weight: 500; -webkit-tap-highlight-color: transparent;}
#phone, .phone-wrapper, #contact-toggle, .phone-link {color: #FFF !important;}

#contact-toggle, .popup {display: none;} #contact-toggle:checked ~ .popup {display: block;}

.popup {position: absolute; margin: 11px 0 0 10px; padding: 12px 12px 8px 12px; width: 125px; text-align: center; box-sizing: border-box; background-color: #FFF; box-shadow: 0 4px 16px rgba(0,0,0,0.2); z-index: 99999 !important; border-radius: 8px;}

.popup a {white-space: nowrap; display: block; padding: 11px 4px 8px 4px; font-size: 18px; font-weight: 400; text-decoration: none; box-sizing: border-box; color: #FFF; transition: .15s; border-radius: 6px;}
.popup a:first-of-type {background-color: #444; margin-bottom: 8px;}
.popup a:last-of-type {background-color: #444;}
.popup a:hover {background-color: var(--colormain);}

@media (max-width: 640px) {.phone-wrapper {display: block; margin-top: 5px; position: relative;} .popup {right: 0;} #phone span {margin: 0;}}
@media (max-width: 500px) {#phone {padding-right: 20px;}}

.dismiss-btn {display: inline-block; margin-top: 10px; padding: 4px 12px; font-size: 24px; font-weight: bold; color: #555; cursor: pointer; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none;}
.dismiss-btn:hover {color: #000;}

/*----------------*/

/*MENU*/

/*.navheader {outline: 1px solid orange} nav {outline: 1px solid red} nav div {outline: 1px solid cyan}
nav a {outline: 1px solid magenta} .ham {outline: 1px solid yellow}*/

.navheader, .navheader * {box-sizing: border-box;}
.navheader {top: 0; height: 100%; align-content: center;}

#navcheck {display: none;}
nav a.selected {cursor: text; pointer-events: none; -webkit-user-select: none; -webkit-touch-callout: none;}
nav a {display: table-cell; text-decoration: none; cursor: pointer;}

@media (max-width: 1370px) and (min-width: 821px) {.navheader {padding-right: 20px;}}

@media (min-width: 821px) {
.ham {display: none;} /* not working in old Safari: .navheader {position: absolute; right: 0;}*/
.navheader {position: absolute; right: 0; display: flex; align-items: center;}
nav {display: inline-block; text-align: right; padding-top: 1px;}
nav div {display: inline-table; vertical-align: middle; text-align: center; height: 50px;}
nav a {text-align: center; height: inherit; vertical-align: middle; padding: 5px 10px 5px 10px; font-size: 17px; font-weight: 400; line-height: 1.2; transition: .15s; border-radius: 8px;}
nav a.selected {text-decoration: underline;}
nav span {display: block;}
}

@media (max-width: 820px) {
.navheader {margin-top: 8px; left: 0; right: 0; height: 0; box-shadow: 0 3px 7px -3px #000;}

nav {position: relative; display: grid; grid-template-columns: repeat(5, 1fr); text-align: center; font-size: 0; line-height: 0; top: 0; margin: auto; padding: 5px 25px;}

nav div {display: block; /*width: 100%;*/ height: 0; overflow: hidden; transition: height .25s ease; font-size: 0; line-height: 0; padding: 0; border-radius: 8px;}
nav div:last-child {display: none;}

nav a {display: table-cell; width: 1%; vertical-align: middle; height: 62px; opacity: 0; font-size: 0; line-height: 1.3; padding-bottom: 4px; transition: .3s font-size ease, .2s opacity ease, .1s background;}

nav div:nth-child(6) span {display: block;}

.ham, .ham * {-webkit-touch-callout: none; -webkit-user-select: none; user-select: none; touch-action: manipulation;}
.ham {position: absolute; display: table; height: 50px; width: 59px; top: 0; right: 22px; margin-top: 15px; padding: 10px; box-sizing: border-box;}
.ham:hover {cursor: pointer;}
.ham span {top: 24px; left: 10px; -webkit-transition: -webkit-transform 0.35s ease-out;}
.ham span, .ham span:before, .ham span:after {position: absolute; display: block; content: ""; height: 3px; width: 38px; opacity: 1; background: #333; border-radius: 1px;}
.ham span:before {top: -10px;} .ham span:after {top: 10px;}

/*old Safari doesn't support "has": .navheader:has(#navcheck:checked) {height: auto; background-color: var(--colordark);}*/
#navcheck:checked ~ nav {background-color: var(--colordark);}

#navcheck:checked ~ nav div {height: 60px; margin: 5px;}
#navcheck:checked ~ nav a {font-size: 18px; opacity: 1;}

#navcheck:checked ~ .ham span {width: 0; transform: rotateX(180deg); transition-timing-function: ease;}
#navcheck:checked ~ .ham span:before {-webkit-transform: rotateZ(37deg); top: 0;}
#navcheck:checked ~ .ham span:after {-webkit-transform: rotateZ(-37deg); top: 0;}
}

@media (max-width: 820px) {nav span {display: block;}}

@media (max-width: 720px) and (min-width: 601px) {
nav {grid-template-columns: repeat(4, 1fr);} nav div:first-child, nav div:nth-child(10) {grid-column: 1 / -1;}
nav div:first-child a, #navcheck:checked ~ nav div:first-child {height: 50px;}
}
@media (max-width: 600px) {
nav {grid-template-columns: repeat(2, 1fr);}
nav div:first-child {grid-column: 1 / -1;}
nav span {display: inline;}
#navcheck:checked ~ nav div {margin: 4px;}
nav div:first-child a, #navcheck:checked ~ nav div:first-child {height: 45px;}
}
@media (max-width: 600px) and (min-width: 436px) {nav div, #navcheck:checked ~ nav div, nav a {height: 50px;}}

@media (max-width: 435px) {nav span {display: block;}}
@media (max-width: 500px) {.ham {right: 11px;} nav {padding: 5px 15px;}}
@media (max-width: 460px) {.navheader {margin-top: 10px;}}


/*colors*/

@media (min-width: 821px) {
nav a {color: #333 !important;}
nav a:hover:not(.selected) {background-color: var(--greylite);}
}
@media (max-width: 820px) {
nav a {background-color: #333; color: #FFF !important;}
nav .selected {background-color: #000;}
nav a:hover:not(.selected) {background-color: #E00;}
}

/*-----------------------------------------------*/

/*Top Pic*/

#toppic {position: relative; overflow: hidden; z-index: 0; background-color: #444 /*sdf*/ /*border-bottom: 4px solid #FF0;*/}
#toppic img {display: block; width: 500px; height: 300px; width: 100%; max-height: 320px; object-fit: cover; object-position: 50% 50%;}

.caption {position: absolute; display: table-cell; left: 5%; right: 5%; text-align: center; top: 47%; transform: translateY(-47%); z-index: 1; margin: 0 auto; color: #FFF;}
.caption h1 {/*font-family: 'Instrument SemiCond', Arial, Helvetica, sans-serif;*/ font-weight: 500; font-size: 5em; line-height: 1; text-shadow: 1px 1px 2px #000;}

@media (max-width: 820px) {.caption span {display: block;} .caption {padding-top: 12px;}}
@media (max-width: 760px) {.caption h1 {font-size: 10.5vw;}}
@media (min-width: 501px) {#toppic img {height: 40vw; filter: brightness(65%);}}
@media (max-width: 500px) {#toppic img, #toppic {height: 45vw;} .caption {top: 46%; transform: translateY(-46%);}}

/*-----------------------------------------------*/

/*BODY AREA*/

.bodyarea {font: var(--body-font); padding: 45px 0 35px 0; margin: auto; max-width: 1300px;}
.bodyarea, h2 {font: var(--body-font);}

@media (max-width: 1370px) {.bodyarea {margin-left: 30px; margin-right: 30px;}}
@media (max-width: 500px) {.bodyarea {margin-left: 20px; margin-right: 20px;}}

.bodyhead, .bodyhead2 {font-size: 36px; line-height: 1.15; font-weight: 500;}
.bodyhead {text-align: center; padding-bottom: 20px;} .bodyhead2 {text-align: left;}
h1, h2, h3, h4 {margin: 0;} h2 {margin-bottom: 20px;}

.divide:not(.divide:first-of-type) .bodyarea {padding-top: 50px;}
.divide:nth-of-type(even) {background-color: #EEE;}
.divide .heading {margin: 0 0 20px 0;}

/*@media (max-width: 700px) {.bodyhead {padding-bottom: 0; font-size: 1.6em;}}
@media (max-width: 360px) {.bodyarea {width: 88%;} .bodyhead {font-size: 1.5em;}}*/

.heading, .heading2, .heading3 {font-weight: 600; line-height: 1.3;} .heading {font-size: 1.45em;}
.heading2 {font-weight: 500; font-size: 1.3em;} .heading3 {font-weight: 500; font-size: 1.25em; font-style: italic;}

/*ul {margin-left: -15px;} ul li:not(ul li:last-child) {padding-bottom: 15px;} ul span {font-weight: 500;}*/

/*-----------------------------------------------*/

/*Side by Side*/

/*.sideby .bodyarea {outline: 1px solid red} .sideby div {outline: 1px solid blue}*/
.sideby * {text-align: left;}
.sideby .bodyarea {display: grid; padding: 0;}
/*.sideby div {font-size: 17px; line-height: 1.5;}*/
.sideby img {display: block; width: 600px; height: 350px; width: 100%; height: 100%; object-fit: cover; border-radius: 10px; /*object-position: 50% 50%;*/}
.sideby p {margin-bottom: 0;}

@media (min-width: 1301px) {.sideby section:first-child {margin-right: 40px;} .sideby section:last-child {margin-left: 40px;}}
@media (max-width: 1300px) and (min-width: 1101px) {.sideby section:first-child {margin-right: 5%;} .sideby section:last-child {margin-left: 5%;}}
@media (min-width: 1101px) {.sideby .bodyarea {grid-template-columns: 60% 40%; grid-auto-rows: 1fr; padding: 50px 0 70px 0;}}
@media (max-width: 1100px) {
.sideby section:first-child {padding: 40px 0 0 0;} .sideby section:last-child {margin: 40px 0 60px 0;}
.sideby img {/*height: calc(80px + 45vw); max-height: 450px;*/ max-width: 700px; margin: auto;}
}

/*-----------------------------------------------*/

/*Page Pics*/

.pagepic img {border-radius: 3px; width: 500px; height: 300px; width: 100%; height: auto; display: block;}
/*.pagepic h3, .pagepic p {font-size: .9em; line-height: 1.45; margin: 10px auto 0 auto !important; text-align: center; font-weight: 400 !important;}*/
.picwide {max-width: 500px;} .pictall {max-width: 350px;}
.picleft {float: left; margin: 10px 50px 30px 0;} .picright {float: right; margin: 10px 0 30px 50px;}
@media (max-width: 1050px) and (min-width: 871px) {.picwide {max-width: 430px;}}
@media (max-width: 870px) {.picleft, .picright {text-align: center; float: none; margin: 25px auto 35px auto;} .pictall {max-width: 400px;}}

/*--------------------------------*/

/*BOTTOM AREA*/

/*#footerinside {outline: 1px solid yellow} .footerintro img {outline: 1px solid colordark} #footerback {outline: 1px solid cyan}
.footerintro {outline: 3px solid red} .footerintro p {outline: 1px solid red}
.footercol {outline: 1px solid magenta} .contact {outline: 1px solid green} .contact img {outline: 1px solid yellow}
.servicelinks {outline: 1px solid colordark}*/

:root {--fbord: 1px solid rgba(255, 255, 255, 0.2);}

#footer {background: #222; color: #DDD; font-size: 16px; line-height: 1.5;}
#footer a {color: #DDD; text-decoration: none;}
#footer * {box-sizing: border-box;}

#footerback {max-width: 1000px; margin: auto; padding: 0 34px;}

#footerinside {display: grid; grid-template-columns: 260px 1fr 235px; /*grid-column-gap: 70px;*/ padding: 60px 0 47px 0;}

.footerintro img {display: block; width: 135px; height: auto /*sdf*/; margin: 0 auto 21px auto; filter: drop-shadow(1px 0 0 rgba(255,255,255,.8)) drop-shadow(-1px 0 0 rgba(255,255,255,.8)) drop-shadow(0 1px 0 rgba(255,255,255,.8)) drop-shadow(0 -1px 0 rgba(255,255,255,.8)); padding-left: 15px;}

.footerhead {margin: 5px 0 18px 0; font-weight: 600; font-size: 28px; letter-spacing: .5px; color: #FFF;}

.footercol a {display: block; margin: 0 0 10px 0;}

.services {width: max-content; max-width: 100%; justify-self: center;}
.servicelinks a {display: block; position: relative; margin: 0 0 10px 0; padding-left: 13px; line-height: 1.3;}
.servicelinks a:before {content: "\2022"; position: absolute; left: 0; top: 0; color: #FFF;}
.servicelinks a:hover {color: #FFF !important; text-decoration: underline !important;}

.contact p {margin: 0 0 13px 0;} .contact p a {display: inline; margin: 0;}
.contact img {width: 22px; height: 22px; margin-right: 9px; vertical-align: -6px;}
.contact .phlink {font-size: 19px;}

.contact .address {position: relative; padding-left: 30px; white-space: nowrap;}
.contact .address img {position: absolute; left: 0; top: 0;}

#footerbottom {border-top: 1px solid #000; padding: 31px 0 32px 0; font-size: 15px;}
#footerbottom p {margin: 0; color: #AAA;}

@media (max-width: 870px) {#footerinside {grid-template-columns: 200px 1fr 215px;} .servicelinks {grid-column-gap: 35px;}}

@media (max-width: 790px) {
#footerinside {grid-template-columns: 1fr; grid-row-gap: 45px;}
.footerintro {max-width: 300px; margin: 0 auto; text-align: center;} .footerintro img {margin: 0 auto 21px auto;}
.footerhead {text-align: center;}
.services, .contact {width: max-content; max-width: 100%; margin: 0 auto;}
.services {grid-column: auto;}
}
@media (min-width: 716px) {#footerbottom {display: grid; grid-template-columns: 1fr auto;} #footerbottom p:last-child {text-align: right;}}
@media (max-width: 715px) {#footerbottom {display: block; text-align: center; padding: 31px 25px 32px 25px;}}

.web {padding: 20px 25px 15px 25px; font-size: 13px; text-align: center; margin: auto; color: #AAA; background-color: #000;}
.web a {text-decoration: none; color: inherit; white-space: nowrap;} .web a:hover span {color: #F65246;}
.web img {vertical-align: top; margin: 1px 0 0 0; width: 23px; height: 15px;}

#totop {position: fixed; bottom: 25px; right: 25px; display: inline-block; z-index: 9999; opacity: .7; transition: 0.15s;}
#totop img {width: 32px; height: 32px; display: block; -webkit-filter: drop-shadow(0 0 4px rgba(0,0,0,0.55)); filter: drop-shadow(0 0 4px rgba(0,0,0,0.55)); cursor: pointer;} /*keep -webkit for old Safari*/
#totop:hover {opacity: 1;}

/*====================================================*/

/*COLORS*/

:root {--colordark: #A00; --colormain: #C00; --colorback: #EEE; --grey: #999; --greylite: #DDD;}

body {color: #333;}
#headtopback {background-color: var(--colordark);}
body, #headerback, header {background-color: #FFF;}
#headertext, #phone, #phone a {color: #FFF;}
.bodyhead {color: var(--colormain);}
