html, body {margin: 0; padding: 0;}

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

body {font-family: 'OpenSans', Arial, Verdana, Geneva; font-variant-ligatures: none; font-size: 100%;}

#width {position: fixed; top: 0; z-index: 20; padding: 0 3px; font-size: 11px; line-height: 14px; font-family: Arial, Helvetica, sans-serif; background-color: #FF0;}
a, a:visited, a:hover {outline: none; color: #2E3FE1;} a {text-decoration: underline; text-decoration-thickness: 1px; text-decoration-style: dotted; text-underline-offset: .13em; cursor: pointer;}
* {-webkit-tap-highlight-color: transparent; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none;}
img {border: 0; image-rendering: -webkit-optimize-contrast;} #phone a {white-space: nowrap;}
.phlink {color: inherit !important; text-decoration: none !important; white-space: nowrap;} .phlink:hover {cursor: text;}

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

/*HEADER*/

/*header {border: 1px solid green} #headtext {border: 1px solid orange} #headtext h1 {border: 1px solid #666;} #phosoc {border: 1px solid #999;} #phosoc {border: 2px solid magenta} #phone {border: 2px solid green;} #social {border: 1px solid red} #social a {border: 1px solid #444}
#logo {border: 1px solid blue} #logo img {border: 1px solid orange} #logo a {border: 1px solid cyan}*/

header {width: 100%; margin: 0 auto; z-index: 1;}
header section:first-child {display: table; height: 100%; position: relative; margin: auto; text-align: center; width: 95%; max-width: 1650px;}
header div {display: table-cell;} header div:not(.navback div) {vertical-align: middle;}

#headtext h1 {text-align: center; margin: 0 auto; font-style: italic; font-weight: 400; line-height: 1.4; padding: 0 20px 0 20px;}
#logo img {display: block;} #phone {font-size: 22px; font-weight: 600;} #phone, #social {white-space: nowrap;}

#social img {height: 26px; width: 26px; display: inline-block; margin: 0 1px -5px 1px;}
@keyframes shake {20% {-webkit-transform: rotateZ(-8deg);} 80% {-webkit-transform: rotateZ(8deg);}}
#social img:hover {-webkit-animation: shake .16s 5;}

@media (min-width: 961px) {#logo, #logo img, #phosoc {width: 280px;} #logo img {height: auto;} /*logo ht sdf*/}
@media (max-width: 960px) {#logo, #logo img, #phosoc {width: 240px;} #logo img {height: auto;} /*logo ht sdf*/}
@media (min-width: 871px) {#headtext h1 {font-size: 20px;}}
@media (max-width: 870px) {#headtext {width: 40%;} #headtext h1 {font-size: 18px;}}
@media (min-width: 771px) {#headtext h1 span {display: block;}}
@media (max-width: 700px) {#headtext h1 {font-size: 2.5vw;} header section:first-child {width: 93%;}}
@media (max-width: 650px) {#headtext, #headtext h1 {visibility: hidden; width: 0; padding: 0; font-size: 0;}}
@media (min-width: 501px) {
header section:first-child {padding: 0; overflow: hidden;} #logo {padding: 20px 0;} #logo a {display: table-cell;}
#phosoc > div {display: table; height: 100%; width: 100%; margin-left: 0; box-sizing: border-box;}
/*if social:*/ #phone {position: absolute; right: 0; padding-top: 13px;} /*if no social: #phone {text-align: right; padding-bottom: 3px;}*/
#social {display: table-cell; text-align: right; height: 50%; padding-bottom: 8px; vertical-align: bottom;}
}
@media (max-width: 500px) {
header {-webkit-display: flex; display: flex; -webkit-flex-direction: column; flex-direction: column; border-bottom: 6px solid var(--menuback);}
header section:first-child {-webkit-order: 2; order: 2;} header section:last-child {-webkit-order: 1; order: 1;}
header div {display: block;} #logo img {margin: 20px auto 0 auto; padding: 0 15px;}
#logo, #phosoc {width: auto; text-align: center;} #logo a {display: inline-block;} #phone {margin: 15px auto; font-size: 26px;}
#social {position: absolute; right: 0; bottom: 19px;} /*#social {margin: 20px auto 10px auto;}*/
}

/*if multiple socials:
@media (min-width: 371px) {#social img {display: inline-block; margin: 0 1px -5px 1px;}}
@media (max-width: 370px) {#social {width: 26px;} #social img {display: block; margin-top: 12px;}}
*/

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

/*MENU*/

/*.navback {border: 1px solid #DDD;} nav {border: 1px solid magenta;} nav div {border: 1px solid blue;}
nav a {border: 1px solid cyan !important;} .ham {border: 1px solid black;}*/

.navback {z-index: 1;} #navcheck {display: none;} nav, nav a {-webkit-user-select: none; user-select: none;}
nav .selected {cursor: text; pointer-events: none;} nav a {text-decoration: none; font-size: 20px; line-height: 1.3;}

@media (min-width: 1416px) {nav a {height: 50px;}}
@media (max-width: 1415px) and (min-width: 681px) {nav a {height: 60px; font-size: 19px;} nav span {display: block;}}

@media (min-width: 731px) {nav a {padding: 2px 22px 4px 22px;}}
@media (max-width: 730px) and (min-width: 681px) {nav a {padding: 2px 17px 4px 17px;}}

@media (min-width: 681px) {
.ham {display: none;} nav {display: table; text-align: center; margin: auto;} nav a {transition: .2s;}
nav div, nav a {display: table-cell; vertical-align: middle; white-space: nowrap;}
}
@media (max-width: 680px) {
nav {text-align: center; visibility: hidden; margin: 0 0 0 -1px; border-bottom: 1px solid var(--menuline); font-size: 0; line-height: 0;}
nav div {max-height: 0; display: inline-block; width: 50%; transition: .2s ease-in-out; font-size: 0; line-height: 0; padding: 0;}
nav a {width: 1%; height: 0;display: table-cell; vertical-align: middle; opacity: 0; font-size: 0; padding: 0; -webkit-transition: .15s background, .3s font-size ease-out, .2s opacity ease-out, .3s padding ease-out, .25s height; border-top: 1px solid var(--menuline); border-left: 1px solid var(--menuline);}

#navcheck:checked ~ nav {visibility: visible;}
#navcheck:checked ~ nav div {max-height: 100px;}
#navcheck:checked ~ nav a {height: 60px; font-size: 22px; opacity: 1; padding: 0 0 1px 0;}

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

.ham {position: relative; display: table; height: 30px; width: 45px; margin: auto; padding: 10px;} .ham:hover {cursor: pointer;}
.ham div {top: 23px; left: 10px; -webkit-transition: -webkit-transform 0.4s ease-out;}
.ham div, .ham div:before, .ham div:after {position: absolute; display: block; content: ""; height: 4px; width: 44px; opacity: 1; background: #FFF; border-radius: 2px;} .ham div:before {top: -11px;} .ham div:after {top: 11px;}
}

@media (max-width: 680px) and (min-width: 361px) {nav div:first-child {width: 100%;} #navcheck:checked ~ nav div:first-child a {height: 55px;}}
@media (max-width: 530px) and (min-width: 401px) {nav span {display: block;} #navcheck:checked ~ nav a {height: 75px;}}
@media (max-width: 400px) {nav div {width: 100%;}}
@media (max-width: 500px) {.navback {margin-top: 2px;}} /*always stays 500px*/

/*Last 3 divs: nth-last-of-type(-n+3) */

:root {--menuline: #F00; --menuback: #B00; --menuhover: #D00; --menuselect: #900}
.navback, nav {background-color: var(--menuback);} nav a {color: #FFF !important;}
nav .selected {background-color: var(--menuselect);} nav a:hover:not(.selected) {background-color: var(--menuhover);}

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

/*Big Pic*/

#homepic {position: relative; overflow: hidden; z-index: 0; background-color: #444 /*sdf*/;}
#homepic img {width: 500px; height: 300px; width: 100%; height: 40vw; max-height: 420px; object-fit: cover; object-position: 50% 50%; display: block;}

/*3 pics
#homepic {display: table; width: 100%;}
#homepic div:not(.homecap) {display: table-cell; box-sizing: border-box; border-left: 2px solid #FFF; border-right: 2px solid #FFF;}
@media (max-width: 750px) {#homepic div:nth-child(4) {display: none;}}
@media (max-width: 500px) {#homepic div:nth-child(3) {display: none;}}*/
/*end 3 pics*/

.homecap {position: absolute; display: table-cell; left: 0; right: 0; text-align: center; top: 47%; -webkit-transform: translateY(-47%); -ms-transform: translateY(-47%); transform: translateY(-47%); z-index: 1; margin: 0 30px;}
.homecap h1 {font-family: 'Archivo Narrow', Arial, Helvetica, sans-serif; font-weight: 700; font-size: 80px; line-height: 1.15; color: #FFF; text-shadow: 1px 1px 2px #000;}


@media (min-width: 1361px) {.homecap h1 {font-size: 80px;}}
@media (max-width: 1360px) {.homecap {margin: 0 3%} .homecap h1 {font-size: 5.7vw;}}
@media (min-width: 951px) {.homecap span {display: block;}}
@media (max-width: 950px) {.homecap h1 {font-size: 6.8vw;}}
@media (min-width: 501px) {#homepic img {filter: brightness(70%);}}
@media (max-width: 500px) {.homecap h1 {font-size: 8.5vw;} #homepic img {height: 52vw;}}


/*TWO-LINE CAPTION - Remove everything above starting with ".homecap", and replace with this. And #toppic is height: calc(80px + 45vw), max 450px.
Big pic is 1900 x 1000 and small pic is 500 x 300. And font on page is Open Sans 700, not Archivo Narrow 700.

.homecap {position: absolute; left: 5%; right: 5%; text-align: center; top: 46%; -webkit-transform: translateY(-46%); -ms-transform: translateY(-46%); transform: translateY(-46%); z-index: 1; font-size: 55px; color: #FFF;}

.homecap1 {font-size: 1.2em; line-height: 1.2; font-weight: 700 !important; text-shadow: 1px 1px 2px #000;}
.homecap2 {font-size: .6em; line-height: 1.2; padding-top: 20px; font-weight: 600 !important;}
@media (min-width: 1401px) {.homecap span {display: block;}}
@media (max-width: 1040px) {.homecap1 {font-size: calc(9px + 5.5vw);} .homecap2 {font-size: 3.5vw;}}
@media (max-width: 630px) {.homecap2 {font-size: calc(10px + 3vw);} .homecap2 span {display: block;}}
@media (min-width: 501px) {#homepic img {filter: brightness(70%);}}

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

/*BODY AREA*/

#bread {font-size: 14px; line-height: 1.4; margin-bottom: 20px;}

.bodyarea {padding: 10px 0 35px 0; margin: auto; width: 85%; max-width: 1500px;}
.bodyarea, h2 {font-size: 20px; line-height: 1.7; font-weight: 400 !important;}
.bodyhead {padding-bottom: 10px; font-weight: 600 !important; font-size: 1.75em; line-height: 1.25; text-align: center;}
h1, h2, h3 {margin: 0 !important;}

@media (max-width: 800px) {.bodyhead {font-size: 1.65em;}}
@media (max-width: 600px) {.bahome {padding-top: 0;}}
@media (max-width: 360px) {.bodyarea {width: 88%;} .bodyhead {font-size: 1.6em;}}

.heading, .heading2 {font-weight: 600; line-height: 1.35; display: table;} .heading {font-size: 1.45em;} .heading2 {font-size: 1.35em;}

/* for lists: ul {margin-left: -15px;} ul li:not(ul li:last-child) {padding-bottom: 15px;} ul span {font-weight: 600;}
or ul {margin: -10px 0 0 -15px;}
*/

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

/*Right Box*/

#rbbackback {position: relative;} #rbback, #rightbox {padding: 18px 20px 20px 15px;} .rbhead {text-align: center; font-weight: 600;}
#rightbox {border-radius: 6px; background-color: #DDD;} #rightbox ul {margin: 15px 0 0 0; text-align: left; font-size: .95em;}
#rightbox li {padding-bottom: 16px; line-height: 1.45; margin-left: -20px;} #rightbox li:last-child {padding: 0;}
#rightbox a:hover {text-decoration: underline;}

@media (min-width: 701px) {
#rbback {margin: 10px 0 15px 30px; height: 390px; /*border: 1px solid red*/} /*rbback is the only number to adjust*/
#rbback, #rightbox {top: 10px; width: 260px; float: right;} #rightbox {position: absolute; right: 0;}
}
@media (max-width: 700px) {#rbback {display: none;} #rightbox {display: table; margin: 30px auto;}}

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

/*Service list on home page - use instead of rightbox to extend page length*/

/*#svcs {display: table; margin: 30px auto; padding: 20px 35px 20px 20px; background-color: #DDD; border-radius: 3px;}
#svcs ul {margin: 0 -15px;} #svcs li {line-height: 1.4;} #svcs li:not(li:last-child) {padding-bottom: 15px;}*/

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

/*Page Pics*/

.pagepic img {border-radius: 3px; width: 500px; height: 300px; width: 100%; height: auto; display: block;}
/*.pagepic h4, .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 40px 30px 0;} .picright {float: right; margin: 10px 0 30px 40px;}
@media (max-width: 1050px) and (min-width: 871px) {.picwide {max-width: 430px;}}
@media (max-width: 870px) {.picleft, .picright {text-align: center; float: none; margin: 35px auto;} .pictall {max-width: 400px;}}

/*.twopics {display: table; margin: 40px auto 30px auto;}
.twopics div {display: table-cell; vertical-align: middle;}
.twopics img {border-radius: 3px; width: 500px; height: 300px; width: 100%; height: auto; display: block;}
.tpwide {max-width: 500px;} .tptall {max-width: 350px;} .twopics p {text-align: center; margin-top: 5px; font-size: .95em;}
@media (min-width: 701px) {.twopics div:first-child {padding-right: 2%;} .twopics div:last-child {padding-left: 2%;}}
@media (max-width: 700px) {.twopics div {display: block;} .twopics div:last-child {padding-top: 30px;}}*/

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

/*BOTTOM AREA*/

#serving {font-size: 11px; line-height: 1.4; color: #BBB; font-family: Arial, Helvetica, sans-serif;}
#serving a, .nolink {color: inherit !important; text-decoration: none !important; pointer-events: none !important; white-space: nowrap;}

#bottomarea {font-size: 15px; line-height: 1.7; padding: 25px 25px 22px 25px; text-align: center;}
#bottomarea a {white-space: nowrap;} .btmph {font-size: 20px; margin: 5px auto 7px auto;}
.web, .web a {font-size: 13px; font-family: Arial, Helvetica, sans-serif; color: #DDD !important;}
.web a {font-style: italic; text-decoration: none;} .web a:hover {text-decoration: underline;}

#totop {position: fixed; height: 18px; width: 18px; right: 14px; bottom: 12px; z-index: 100; padding: 8px 9px 8px 10px; border: 2px solid rgba(155, 155, 155, .4); background-color: rgba(80, 80, 80, 0.45); border-radius: 4px;}
#totop div {font-family: Arial, Helvetica, sans-serif; display: inline-block; -webkit-transform: rotate(90deg); transform: rotate(90deg); font-size: 32px; line-height: 18px; color: #FFF;}
#totop:hover {-webkit-transform: scale(1.05);}
@media (min-width: 481px) {#totop {-webkit-transition: .15s;}}

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

/*COLORS*/

body, #phone, #phone a {color: #333;} body {background-color: #FFF;} #headtext {color: inherit;}
.bodyhead {color: #E60000;} .heading {color: #000;} .heading2 {color: #555;}
#bottomarea {background-color: #222;} #bottomarea, #bottomarea a {color: #FFF;}
