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;}

#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: .1em; 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 {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; white-space: nowrap;}

@media (max-width: 1070px) {#phosoc {width: 120px;}}
@media (min-width: 961px) {#logo, #logo img, #phosoc {width: 280px;} #logo img {height: 99px;}}
@media (max-width: 960px) {#logo, #logo img, #phosoc {width: 240px;} #logo img {height: 85px;}}
@media (min-width: 891px) {#headtext h1 {font-size: 20px;} #headtext h1 span {display: block;}}
@media (max-width: 890px) {#headtext h1 {font-size: 2.2vw;}}
@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; border: 0px solid #000}
#phone {text-align: right;}
}
@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; width: 280px; height: 99px;}
#logo, #phosoc {width: auto; text-align: center;} #logo a {display: inline-block;} #phone {margin: 15px auto; font-size: 24px;}
}
@media (max-width: 380px) {#logo img {width: 240px; height: 85px}}

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

/*MENU*/

.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: 721px) {
.ham {display: none;} nav {display: table; text-align: center; margin: auto;}
nav div, nav a {display: table-cell; vertical-align: middle; white-space: nowrap;}
nav a {padding: 2px 22px 4px 22px; transition: .2s;}
}
@media (min-width: 966px) {nav a {height: 50px;}}
@media (max-width: 965px) and (min-width: 721px) {nav a {height: 60px; font-size: 19px; padding: 2px 18px 4px 18px;} nav span {display: block;}}

@media (max-width: 720px) {
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: 33.33%; 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: 20px; 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: 640px) {nav span {display: block;} #navcheck:checked ~ nav a {height: 75px;}}
@media (max-width: 500px) {.navback {margin-top: 2px;}} /*always stays 500px*/
@media (max-width: 360px) {nav div {width: 50%;}}


:root {--menuline: #5D74C6; --menuback: #253485; --menuhover: #3A51A6; --menuselect: #172258}
.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: #525961;}
#homepic img {width: 500px; height: 300px; width: 100%; height: 40vw; max-height: 420px; object-fit: cover; object-position: 50% 50%; display: block;}

.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: 1031px) {.homecap h1 {font-size: 80px;}}
@media (max-width: 1030px) {.homecap {margin: 0 3%} .homecap h1 {font-size: 7.5vw;}}
@media (min-width: 501px) {#homepic img {filter: brightness(55%);} .homecap span {display: block;}}
@media (max-width: 500px) {.homecap h1 {font-size: 9.5vw;} #homepic img {height: 52vw;}}

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

/*BODY AREA*/

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

.bodyarea {position: relative; 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.6em; line-height: 1.25; text-align: center;}
h1, h2, h3 {margin: 0 !important;}

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

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

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

/*Service list on home page*/

#list0 {display: table; max-width: 1100px; margin: 30px auto; background-color: #E5E5E5; border-radius: 3px;}
#list0 ul {display: table-cell; vertical-align: top;} #list0 li {margin: 0 0 15px 35px; line-height: 1.5;}
#list0 a {text-decoration: none;}
@media (min-width: 601px) {
#list0 ul {padding: 15px 15px 15px 5px;} #list0 ul:first-child {width: 50%;} #list0 ul:last-child {width: 50%;}
#list0 li:last-child {margin-bottom: 0;}
}
@media (max-width: 700px) {#list0 li {font-size: .95em;}}
@media (max-width: 600px) {
#list0 {max-width: 400px;} #list0 ul {display: block; padding: 0 15px 0 5px;}
#list0 ul:first-child {margin-bottom: 0;} #list0 ul:last-child {margin-top: 0;}
}

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

/*Page Pics*/

.pagepic img {border-radius: 3px; width: 500px; height: 300px; width: 100%; height: auto; display: block;}
.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;}}

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

/*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;}

#bottomarea {font-size: 14px; line-height: 1.6; padding: 25px 25px 22px 25px; text-align: center; clear: both;}
#bottomarea a {white-space: nowrap;} .btmph {font-size: 20px; margin: 5px auto;} #lic {margin-top: 5px; font-size: 13px;}
.web, .web a {font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #BBB !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 {color: #333; background-color: #FFF;} #headtext {color: inherit;}
#phone, #phone a, .bodyhead {color: #CA0000;} .heading {color: var(--menuhover);}
#bottomarea {background-color: #111;} #bottomarea, #bottomarea a {color: #FFF;}
