* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
select,
textarea {
  color: #444;
  font-family: Arial, Helvetica, Tahoma, sans-serif;
  font-size: 14px;
  font-weight: normal;
  line-height: 22px;
  margin: 0;
  padding: 0;
  text-decoration: none;
}

body {
  background: url("images/bg.jpg");
  margin: 0;
}

a,
a:visited {
  color: #2d5a9b;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  border: 0;
  display: block;
  height: auto;
  max-width: 100%;
}

#wrap {
  background: url("images/wrap.jpg") top repeat-x;
  margin: 0 auto;
  min-height: 100vh;
}

.wrap {
  margin: 0 auto;
  width: 960px;
}

#nav {
  clear: both;
  color: #6c788a;
  font-family: Georgia, Times, "Times New Roman", serif;
  font-style: italic;
  min-height: 35px;
  text-shadow: 1px 1px #222;
}

#nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#nav .menu {
  display: flex;
  align-items: flex-start;
}

#nav li {
  position: relative;
}

#nav li a {
  color: #6c788a;
  display: block;
  font-size: 15px;
  padding: 7px 15px 6px;
  position: relative;
  text-decoration: none;
}

#nav li a:hover,
#nav li:hover > a,
#nav .current > a {
  color: #fff;
}

#nav .sub-menu {
  background: url("images/bg-dark.jpg");
  display: none;
  left: 0;
  padding: 0 10px;
  position: absolute;
  top: 35px;
  width: 160px;
  z-index: 20;
}

#nav li:hover > .sub-menu,
#nav li:focus-within > .sub-menu {
  display: block;
}

#nav .sub-menu a {
  border-bottom: 1px solid #293546;
  color: #6c788a;
  font-size: 12px;
  padding: 7px 5px;
  text-shadow: 1px 1px #222;
}

#nav .sub-menu li:last-child a {
  border-bottom: 0;
}

#header {
  color: #fff;
  margin: 0 auto;
  min-height: 120px;
  overflow: hidden;
  text-shadow: 1px 1px #222;
  width: 960px;
}

#title-area {
  float: left;
  overflow: hidden;
  padding: 25px 0 0;
  width: 490px;
}

#title {
  font-family: Arial, Helvetica, Tahoma, sans-serif;
  font-size: 36px;
  font-weight: bold;
  line-height: 48px;
  text-transform: uppercase;
}

#title a,
#title a:hover {
  color: #fff;
  text-decoration: none;
}

#description {
  color: #6c788a;
  font-family: Georgia, Times, "Times New Roman", serif;
  font-size: 16px;
  font-style: italic;
}

#header .widget-area {
  float: right;
  padding: 30px 0 0;
  width: 468px;
}

#header .textwidget {
  padding-left: 250px;
  padding-top: 40px;
}

#header .textwidget p {
  color: #fff;
  font-size: 20px;
}

#inner {
  background-color: #fff;
  box-shadow: 0 1px 3px #999;
  margin: 0 auto 20px;
  overflow: hidden;
  padding: 20px 25px;
  width: 960px;
}

#home-top {
  margin-bottom: 30px;
  padding-top: 5px;
}

.hero-frame {
  border: 2px solid #eee;
  margin: 0 auto;
  padding: 9px;
  width: 910px;
}

.hero-frame img {
  height: auto;
  width: 890px;
}

.content-sidebar-wrap {
  display: flex;
  gap: 20px;
  width: 910px;
}

.content-sidebar-wrap.sidebar-left {
  flex-direction: row;
}

.content-sidebar-wrap.sidebar-right {
  flex-direction: row;
}

.content {
  padding: 10px 10px 20px;
  width: 590px;
}

.sidebar {
  flex: 0 0 300px;
  font-size: 12px;
  line-height: 20px;
  padding-top: 0;
}

.sidebar img {
  width: 314px;
}

h1 {
  color: #2d5a9b;
  font-family: Arial, Helvetica, Tahoma, sans-serif;
  font-size: 24px;
  line-height: 30px;
  margin: 0 0 30px;
}

.entry-content {
  overflow: hidden;
}

.entry-content p {
  padding: 0 0 15px;
}

.entry-content strong {
  font-weight: bold;
}

.entry-content ul {
  margin: 0 0 17px 30px;
  padding: 0;
}

.entry-content li {
  list-style-type: square;
  margin: 0 0 2px;
}

.logos {
  align-items: flex-end;
  display: flex;
  gap: 0;
  margin-top: 12px;
}

.logos img {
  flex: 0 0 auto;
}

.logos .gas-safe {
  height: 130px;
  margin-right: 28px;
  width: 100px;
}

.logos .frigoboat {
  height: 90px;
  margin-right: 4px;
  width: 243px;
}

.logos .refcom {
  height: 90px;
  width: 139px;
}

.service-image {
  float: right;
  margin: -4px 0 12px 28px;
  width: 205px;
}

.contact-form {
  margin-top: 22px;
}

.contact-form label {
  color: #444;
  display: block;
  font-weight: bold;
  margin: 0 0 5px;
}

.contact-form .required {
  color: #e47600;
}

.contact-form input,
.contact-form textarea {
  background: url("images/bg.jpg");
  border: 1px solid #ddd;
  box-shadow: 0 0 1px 1px #eee inset;
  color: #444;
  display: block;
  font-family: Arial, Helvetica, Tahoma, sans-serif;
  font-size: 14px;
  margin: 0 0 18px;
  padding: 8px;
}

.contact-form input {
  height: 38px;
  width: 342px;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
  width: 570px;
}

.contact-form button {
  background: #eee;
  border: 1px solid #ddd;
  color: #333;
  cursor: pointer;
  font-family: Arial, Helvetica, Tahoma, sans-serif;
  font-size: 14px;
  padding: 10px 16px;
}

.contact-form button:hover {
  color: #2d5a9b;
}

.page-plumbing #inner,
.page-lpg #inner {
  min-height: 557px;
}

#footer {
  background: url("images/footer.jpg") top repeat-x;
  clear: both;
  overflow: hidden;
  padding: 30px 0 20px;
}

#footer .wrap {
  font-size: 12px;
}

#footer p {
  color: #6c788a;
  font-size: 12px;
}

#footer a,
#footer a:visited {
  color: #6c788a;
}

#footer a:hover {
  color: #333;
  text-decoration: none;
}

#footer .gototop {
  float: left;
  width: 200px;
}

#footer .creds {
  float: right;
  text-align: right;
  width: 755px;
}

@media (max-width: 980px) {
  .wrap,
  #header,
  #inner {
    width: min(960px, calc(100vw - 32px));
  }

  #inner {
    padding: 20px;
  }

  .hero-frame,
  .content-sidebar-wrap {
    width: 100%;
  }

  .hero-frame img {
    width: 100%;
  }

  #title-area,
  #header .widget-area {
    float: none;
    width: auto;
  }

  #header .widget-area {
    padding-top: 0;
  }

  #header .textwidget {
    padding: 12px 0 20px;
  }
}

@media (max-width: 760px) {
  #nav .menu {
    flex-wrap: wrap;
  }

  #nav .sub-menu {
    position: static;
    width: 190px;
  }

  #title {
    font-size: 30px;
    line-height: 38px;
  }

  .content-sidebar-wrap,
  .content-sidebar-wrap.sidebar-left,
  .content-sidebar-wrap.sidebar-right {
    flex-direction: column;
  }

  .content,
  .sidebar {
    flex: 0 1 auto;
    width: 100%;
  }

  .content-sidebar-wrap.sidebar-left .content {
    order: 1;
  }

  .content-sidebar-wrap.sidebar-left .sidebar {
    order: 2;
  }

  .sidebar img {
    width: min(314px, 100%);
  }

  .logos {
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .service-image {
    float: none;
    margin: 0 0 18px;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
  }

  #footer .gototop,
  #footer .creds {
    float: none;
    text-align: left;
    width: auto;
  }
}

@media (max-width: 430px) {
  #title {
    font-size: 26px;
    line-height: 34px;
  }
}
